Bare Metal Solution API . projects . locations . 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()

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. Parent value for ListProvisioningQuotasRequest. (required)
  pageSize: integer, Requested page size. The server might return fewer items than requested. If unspecified, server will pick an appropriate default. Notice that page_size field is not supported and won't be respected in the API request for now, will be updated when pagination is supported.
  pageToken: string, A token identifying a page of results from the server.
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # Response message for the list of provisioning quotas.
  "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.
      "assetType": "A String", # The asset type of this provisioning quota.
      "availableCount": 42, # The available count of the provisioning quota.
      "gcpService": "A String", # The gcp service of the provisioning quota.
      "instanceQuota": { # A resource budget. # Instance quota.
        "availableMachineCount": 42, # Number of machines than can be created for the given location and instance_type.
        "gcpService": "A String", # The gcp service of the provisioning quota.
        "instanceType": "A String", # Instance type. Deprecated: use gcp_service.
        "location": "A String", # Location where the quota applies.
        "name": "A String", # Output only. The name of the instance quota.
      },
      "location": "A String", # The specific location of the provisioining quota.
      "name": "A String", # Output only. The name of the provisioning quota.
      "networkBandwidth": "A String", # Network bandwidth, Gbps
      "serverCount": "A String", # Server count.
      "storageGib": "A String", # Storage size (GB).
    },
  ],
}
list_next()
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.