versionhistory.googleapis.com API . platforms . channels

Instance Methods

versions()

Returns the versions Resource.

close()

Close httplib2 connections.

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

Returns list of channels that are available for a given platform.

list_next()

Retrieves the next page of results.

Method Details

close()
Close httplib2 connections.
list(parent, pageSize=None, pageToken=None, x__xgafv=None)
Returns list of channels that are available for a given platform.

Args:
  parent: string, Required. The platform, which owns this collection of channels. Format: {product}/platforms/{platform} (required)
  pageSize: integer, Optional. Optional limit on the number of channels to include in the response. If unspecified, the server will pick an appropriate default.
  pageToken: string, Optional. A page token, received from a previous `ListChannels` call. Provide this to retrieve the subsequent 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 ListChannels.
  "channels": [ # The list of channels.
    { # Each Channel is owned by a Platform and owns a collection of versions. Possible Channels are listed in the Channel enum below. Not all Channels are available for every Platform (e.g. CANARY does not exist for LINUX).
      "channelType": "A String", # Type of channel.
      "name": "A String", # Channel name. Format is "{product}/platforms/{platform}/channels/{channel}"
    },
  ],
  "nextPageToken": "A String", # A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
}
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.