Cloud TPU API . projects . locations . tensorflowVersions

Instance Methods

close()

Close httplib2 connections.

get(name, x__xgafv=None)

Gets TensorFlow Version.

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

List TensorFlow versions supported by this API.

list_next()

Retrieves the next page of results.

Method Details

close()
Close httplib2 connections.
get(name, x__xgafv=None)
Gets TensorFlow Version.

Args:
  name: string, Required. The resource name. (required)
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # A tensorflow version that a Node can be configured with.
  "name": "A String", # The resource name.
  "version": "A String", # the tensorflow version.
}
list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)
List TensorFlow versions supported by this API.

Args:
  parent: string, Required. The parent resource name. (required)
  filter: string, List filter.
  orderBy: string, Sort results.
  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 ListTensorFlowVersions.
  "nextPageToken": "A String", # The next page token or empty if none.
  "tensorflowVersions": [ # The listed nodes.
    { # A tensorflow version that a Node can be configured with.
      "name": "A String", # The resource name.
      "version": "A String", # the tensorflow version.
    },
  ],
  "unreachable": [ # Locations that could not be reached.
    "A String",
  ],
}
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.