Close httplib2 connections.
Gets a specific resource.
list(parent, pageSize=None, pageToken=None, x__xgafv=None)
Lists all available resources.
Retrieves the next page of results.
close()
Close httplib2 connections.
get(name, x__xgafv=None)
Gets a specific resource.
Args:
name: string, Required. Resource name of the Resource. Format: projects/{project}/locations/{location}/connections/{connection}/resources/{resource} (required)
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format
Returns:
An object of the form:
{
"data": "A String", # The content of the resource.
"metadata": { # Metadata like service latency, etc.
"a_key": {
"a_key": "", # Properties of the object. Contains field @type with type URL.
},
},
"mimeType": "A String", # The MIME type of the resource.
}
list(parent, pageSize=None, pageToken=None, x__xgafv=None)
Lists all available resources.
Args:
parent: string, Required. Resource name of the connection. Format: projects/{project}/locations/{location}/connections/{connection} (required)
pageSize: integer, Optional. Page size for the request.
pageToken: string, Optional. Page token for the request.
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format
Returns:
An object of the form:
{
"metadata": { # Metadata like service latency, etc.
"a_key": {
"a_key": "", # Properties of the object. Contains field @type with type URL.
},
},
"nextPageToken": "A String", # Next page token if more resources available.
"resources": [ # List of available resources.
{
"description": "A String", # A description of what this resource represents.
"mimeType": "A String", # The MIME type of this resource, if known.
"name": "A String", # A human-readable name for this resource.
"size": "A String", # The size of the raw resource content, in bytes, if known.
"uri": "A String", # The URI of this resource.
},
],
}
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.