Cloud Billing API . skuGroups . skus

Instance Methods

close()

Close httplib2 connections.

get(name, x__xgafv=None)

Gets a publicly listed SKU that is part of a publicly listed SKU group.

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

Lists all publicly listed SKUs contained by a publicly listed SKU group.

list_next()

Retrieves the next page of results.

Method Details

close()
Close httplib2 connections.
get(name, x__xgafv=None)
Gets a publicly listed SKU that is part of a publicly listed SKU group.

Args:
  name: string, Required. The name of the SKU group SKU to retrieve. Format: skuGroups/{sku_group}/skus/{sku} (required)
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # Encapsulates a publicly listed stock keeping unit (SKU) that is part of a publicly listed SKU group. A SKU group represents a collection of SKUs that are related to each other. For example, the `AI Platform APIs` SKU group includes SKUs from the Cloud Dialogflow API, the Cloud Text-to-Speech API, and additional related APIs.
  "displayName": "A String", # Description of the SkuGroupSku. Example: "A2 Instance Core running in Hong Kong".
  "geoTaxonomy": { # Encapsulates geographic metadata, such as regions and multi-regions like `us-east4` or `European Union`. # Geographic metadata that applies to the SkuGroupSku.
    "globalMetadata": { # Encapsulates a global geographic taxonomy. # Global geographic metadata with no regions.
    },
    "multiRegionalMetadata": { # Encapsulates a multi-regional geographic taxonomy. # Multi-regional geographic metadata with 2 or more regions.
      "regions": [ # Google Cloud regions associated with the multi-regional geographic taxonomy.
        { # Encapsulates a Google Cloud region.
          "region": "A String", # Description of a Google Cloud region. Example: "us-west2".
        },
      ],
    },
    "regionalMetadata": { # Encapsulates a regional geographic taxonomy. # Regional geographic metadata with 1 region.
      "region": { # Encapsulates a Google Cloud region. # Google Cloud region associated with the regional geographic taxonomy.
        "region": "A String", # Description of a Google Cloud region. Example: "us-west2".
      },
    },
    "type": "A String", # Type of geographic taxonomy associated with the SKU group SKU.
  },
  "name": "A String", # Resource name for the SkuGroupSku. Example: "skuGroups/0e6403d1-4694-44d2-a696-7a78b1a69301/skus/AA95-CD31-42FE".
  "productTaxonomy": { # Encapsulates product categories, such as `Serverless`, `Cloud Run`, `TaskQueue`, and others. # List of product categories that apply to the SkuGroupSku.
    "taxonomyCategories": [ # All product categories that the SKU group SKU belongs to.
      { # Encapsulates a product category.
        "category": "A String", # Name of the product category.
      },
    ],
  },
  "service": "A String", # Service that the SkuGroupSku belongs to.
  "skuId": "A String", # Unique identifier for the SKU. It is the string after the collection identifier "skus/" Example: "AA95-CD31-42FE".
}
list(parent, pageSize=None, pageToken=None, x__xgafv=None)
Lists all publicly listed SKUs contained by a publicly listed SKU group.

Args:
  parent: string, Required. The SkuGroup to list SkuGroupSku from. Format: skuGroups/{sku_group} (required)
  pageSize: integer, Maximum number of SKU group SKUs to return. Results may return fewer than this value. Default value is 50 and maximum value is 5000.
  pageToken: string, Page token received from a previous ListSkuGroupSkus call to retrieve the next page of results. If this field is empty, the first page is returned.
  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 ListSkuGroupSkus.
  "nextPageToken": "A String", # Token that can be sent as `page_token` in the subsequent request to retrieve the next page. If this field is empty, there are no subsequent pages.
  "skuGroupSkus": [ # The returned SKU group SKUs.
    { # Encapsulates a publicly listed stock keeping unit (SKU) that is part of a publicly listed SKU group. A SKU group represents a collection of SKUs that are related to each other. For example, the `AI Platform APIs` SKU group includes SKUs from the Cloud Dialogflow API, the Cloud Text-to-Speech API, and additional related APIs.
      "displayName": "A String", # Description of the SkuGroupSku. Example: "A2 Instance Core running in Hong Kong".
      "geoTaxonomy": { # Encapsulates geographic metadata, such as regions and multi-regions like `us-east4` or `European Union`. # Geographic metadata that applies to the SkuGroupSku.
        "globalMetadata": { # Encapsulates a global geographic taxonomy. # Global geographic metadata with no regions.
        },
        "multiRegionalMetadata": { # Encapsulates a multi-regional geographic taxonomy. # Multi-regional geographic metadata with 2 or more regions.
          "regions": [ # Google Cloud regions associated with the multi-regional geographic taxonomy.
            { # Encapsulates a Google Cloud region.
              "region": "A String", # Description of a Google Cloud region. Example: "us-west2".
            },
          ],
        },
        "regionalMetadata": { # Encapsulates a regional geographic taxonomy. # Regional geographic metadata with 1 region.
          "region": { # Encapsulates a Google Cloud region. # Google Cloud region associated with the regional geographic taxonomy.
            "region": "A String", # Description of a Google Cloud region. Example: "us-west2".
          },
        },
        "type": "A String", # Type of geographic taxonomy associated with the SKU group SKU.
      },
      "name": "A String", # Resource name for the SkuGroupSku. Example: "skuGroups/0e6403d1-4694-44d2-a696-7a78b1a69301/skus/AA95-CD31-42FE".
      "productTaxonomy": { # Encapsulates product categories, such as `Serverless`, `Cloud Run`, `TaskQueue`, and others. # List of product categories that apply to the SkuGroupSku.
        "taxonomyCategories": [ # All product categories that the SKU group SKU belongs to.
          { # Encapsulates a product category.
            "category": "A String", # Name of the product category.
          },
        ],
      },
      "service": "A String", # Service that the SkuGroupSku belongs to.
      "skuId": "A String", # Unique identifier for the SKU. It is the string after the collection identifier "skus/" Example: "AA95-CD31-42FE".
    },
  ],
}
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.