Close httplib2 connections.
getServiceAccount(projectId, x__xgafv=None)
RPC to get the service account for a project used for interactions with Google Cloud KMS
list(maxResults=None, pageToken=None, x__xgafv=None)
RPC to list projects to which the user has been granted any project role. Users of this method are encouraged to consider the [Resource Manager](https://cloud.google.com/resource-manager/docs/) API, which provides the underlying data for this method and has more capabilities.
Retrieves the next page of results.
close()
Close httplib2 connections.
getServiceAccount(projectId, x__xgafv=None)
RPC to get the service account for a project used for interactions with Google Cloud KMS
Args:
projectId: string, Required. ID of the project. (required)
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format
Returns:
An object of the form:
{ # Response object of GetServiceAccount
"email": "A String", # The service account email address.
"kind": "bigquery#getServiceAccountResponse", # The resource type of the response.
}
list(maxResults=None, pageToken=None, x__xgafv=None)
RPC to list projects to which the user has been granted any project role. Users of this method are encouraged to consider the [Resource Manager](https://cloud.google.com/resource-manager/docs/) API, which provides the underlying data for this method and has more capabilities.
Args:
maxResults: integer, `maxResults` unset returns all results, up to 50 per page. Additionally, the number of projects in a page may be fewer than `maxResults` because projects are retrieved and then filtered to only projects with the BigQuery API enabled.
pageToken: string, Page token, returned by a previous call, to request the next page of results. If not present, no further pages are present.
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format
Returns:
An object of the form:
{ # Response object of ListProjects
"etag": "A String", # A hash of the page of results.
"kind": "bigquery#projectList", # The resource type of the response.
"nextPageToken": "A String", # Use this token to request the next page of results.
"projects": [ # Projects to which the user has at least READ access.
{ # Information about a single project.
"friendlyName": "A String", # A descriptive name for this project. A wrapper is used here because friendlyName can be set to the empty string.
"id": "A String", # An opaque ID of this project.
"kind": "A String", # The resource type.
"numericId": "A String", # The numeric ID of this project.
"projectReference": { # A unique reference to a project. # A unique reference to this project.
"projectId": "A String", # Required. ID of the project. Can be either the numeric ID or the assigned ID of the project.
},
},
],
"totalItems": 42, # The total number of projects in the page. A wrapper is used here because the field should still be in the response when the value is 0.
}
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.