Close httplib2 connections.
create(parent, body=None, x__xgafv=None)
Creates a new deployment.
list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)
Lists deployments.
list_next(previous_request, previous_response)
Retrieves the next page of results.
close()
Close httplib2 connections.
create(parent, body=None, x__xgafv=None)
Creates a new deployment. Args: parent: string, Required. The parent resource name where the deployment is to be created. (required) body: object, The request body. The object takes the form of: { # The Deployment. "allowedBillingModes": [ # The allowed billing modes under this deployment. "A String", ], "defaultBillingMode": "A String", # Default billing mode for the deployment and devices under it. "displayName": "A String", # The deployment's display name. "frns": [ # Output only. The FRNs copied from its direct parent. "A String", ], "name": "A String", # Output only. Resource name. "sasUserIds": [ # User ID used by the devices belonging to this deployment. Each deployment should be associated with one unique user ID. "A String", ], } x__xgafv: string, V1 error format. Allowed values 1 - v1 error format 2 - v2 error format Returns: An object of the form: { # The Deployment. "allowedBillingModes": [ # The allowed billing modes under this deployment. "A String", ], "defaultBillingMode": "A String", # Default billing mode for the deployment and devices under it. "displayName": "A String", # The deployment's display name. "frns": [ # Output only. The FRNs copied from its direct parent. "A String", ], "name": "A String", # Output only. Resource name. "sasUserIds": [ # User ID used by the devices belonging to this deployment. Each deployment should be associated with one unique user ID. "A String", ], }
list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)
Lists deployments. Args: parent: string, Required. The parent resource name, for example, "nodes/1", customer/1/nodes/2. (required) filter: string, The filter expression. The filter should have the following format: "DIRECT_CHILDREN" or format: "direct_children". The filter is case insensitive. If empty, then no deployments are filtered. pageSize: integer, The maximum number of deployments to return in the response. pageToken: string, A pagination token returned from a previous call to ListDeployments that indicates where this listing should continue from. x__xgafv: string, V1 error format. Allowed values 1 - v1 error format 2 - v2 error format Returns: An object of the form: { # Response for ListDeployments. "deployments": [ # The deployments that match the request. { # The Deployment. "allowedBillingModes": [ # The allowed billing modes under this deployment. "A String", ], "defaultBillingMode": "A String", # Default billing mode for the deployment and devices under it. "displayName": "A String", # The deployment's display name. "frns": [ # Output only. The FRNs copied from its direct parent. "A String", ], "name": "A String", # Output only. Resource name. "sasUserIds": [ # User ID used by the devices belonging to this deployment. Each deployment should be associated with one unique user ID. "A String", ], }, ], "nextPageToken": "A String", # A pagination token returned from a previous call to ListDeployments that indicates from where listing should continue. If the field is missing or empty, it means there are no more deployments. }
list_next(previous_request, previous_response)
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.