Cloud Channel API . products

Instance Methods

skus()

Returns the skus Resource.

close()

Close httplib2 connections.

list(account=None, languageCode=None, pageSize=None, pageToken=None, x__xgafv=None)

Lists the Products the reseller is authorized to sell. Possible error codes: * INVALID_ARGUMENT: Required request parameters are missing or invalid.

list_next()

Retrieves the next page of results.

Method Details

close()
Close httplib2 connections.
list(account=None, languageCode=None, pageSize=None, pageToken=None, x__xgafv=None)
Lists the Products the reseller is authorized to sell. Possible error codes: * INVALID_ARGUMENT: Required request parameters are missing or invalid.

Args:
  account: string, Required. The resource name of the reseller account. Format: accounts/{account_id}.
  languageCode: string, Optional. The BCP-47 language code. For example, "en-US". The response will localize in the corresponding language code, if specified. The default value is "en-US".
  pageSize: integer, Optional. Requested page size. Server might return fewer results than requested. If unspecified, returns at most 100 Products. The maximum value is 1000; the server will coerce values above 1000.
  pageToken: string, Optional. A token for a page of results other than the first page.
  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 ListProducts.
  "nextPageToken": "A String", # A token to retrieve the next page of results.
  "products": [ # List of Products requested.
    { # A Product is the entity a customer uses when placing an order. For example, Google Workspace, Google Voice, etc.
      "marketingInfo": { # Represents the marketing information for a Product, SKU or Offer. # Marketing information for the product.
        "defaultLogo": { # Represents media information. # Default logo.
          "content": "A String", # URL of the media.
          "title": "A String", # Title of the media.
          "type": "A String", # Type of the media.
        },
        "description": "A String", # Human readable description. Description can contain HTML.
        "displayName": "A String", # Human readable name.
      },
      "name": "A String", # Resource Name of the Product. Format: products/{product_id}
    },
  ],
}
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.