Bare Metal Solution API . projects . provisioningQuotas

Instance Methods

close()

Close httplib2 connections.

list(parent, pageSize=None, pageToken=None, x__xgafv=None)

List the budget details to provision resources on a given project.

list_next(previous_request, previous_response)

Retrieves the next page of results.

Method Details

close()
Close httplib2 connections.
list(parent, pageSize=None, pageToken=None, x__xgafv=None)
List the budget details to provision resources on a given project.

Args:
  parent: string, Required. The parent project containing the provisioning quotas. (required)
  pageSize: integer, The maximum number of items to return.
  pageToken: string, The next_page_token value returned from a previous List request, if any.
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # Response for ListProvisioningQuotas.
  "nextPageToken": "A String", # Token to retrieve the next page of results, or empty if there are no more results in the list.
  "provisioningQuotas": [ # The provisioning quotas registered in this project.
    { # A provisioning quota for a given project.
      "instanceQuota": { # A resource budget. # Instance quota.
        "availableMachineCount": 42, # Number of machines than can be created for the given location and instance_type.
        "instanceType": "A String", # Instance type.
        "location": "A String", # Location where the quota applies.
      },
    },
  ],
}
list_next(previous_request, previous_response)
Retrieves the next page of results.

Args:
  previous_request: The request for the previous page. (required)
  previous_response: The response from the request for the previous page. (required)

Returns:
  A request object that you can call 'execute()' on to request the next
  page. Returns None if there are no more items in the collection.