create(parent, body=None, x__xgafv=None)
Creates a new deployment.
Deletes a deployment.
Returns a requested deployment.
list(parent, pageToken=None, pageSize=None, x__xgafv=None)
Lists deployments.
list_next(previous_request, previous_response)
Retrieves the next page of results.
patch(name, body=None, updateMask=None, x__xgafv=None)
Updates an existing deployment.
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.
"defaultBillingMode": "A String", # Default billing mode for the deployment and devices under it.
"allowedBillingModes": [ # The allowed billing modes under this deployment.
"A String",
],
"name": "A String", # Output only. Resource name.
"displayName": "A String", # The deployment's display 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.
"defaultBillingMode": "A String", # Default billing mode for the deployment and devices under it.
"allowedBillingModes": [ # The allowed billing modes under this deployment.
"A String",
],
"name": "A String", # Output only. Resource name.
"displayName": "A String", # The deployment's display name.
"sasUserIds": [ # User id used by the devices belonging to this deployment. Each deployment
# should be associated with one unique user_id.
"A String",
],
}
delete(name, x__xgafv=None)
Deletes a deployment.
Args:
name: string, Required. The name of the deployment. (required)
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format
Returns:
An object of the form:
{ # A generic empty message that you can re-use to avoid defining duplicated
# empty messages in your APIs. A typical example is to use it as the request
# or the response type of an API method. For instance:
#
# service Foo {
# rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
# }
#
# The JSON representation for `Empty` is empty JSON object `{}`.
}
get(name, x__xgafv=None)
Returns a requested deployment.
Args:
name: string, Required. The name of the deployment. (required)
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format
Returns:
An object of the form:
{ # The Deployment.
"defaultBillingMode": "A String", # Default billing mode for the deployment and devices under it.
"allowedBillingModes": [ # The allowed billing modes under this deployment.
"A String",
],
"name": "A String", # Output only. Resource name.
"displayName": "A String", # The deployment's display 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, pageToken=None, pageSize=None, x__xgafv=None)
Lists deployments.
Args:
parent: string, Required. The parent resource name, for example, "nodes/1",
customer/1/nodes/2. (required)
pageToken: string, A pagination token returned from a previous call to ListDeployments
method that
indicates where this listing should continue from.
pageSize: integer, The maximum number of deployments to return in the response.
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 method.
"deployments": [ # The deployments that match the
# request.
{ # The Deployment.
"defaultBillingMode": "A String", # Default billing mode for the deployment and devices under it.
"allowedBillingModes": [ # The allowed billing modes under this deployment.
"A String",
],
"name": "A String", # Output only. Resource name.
"displayName": "A String", # The deployment's display 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 method that indicates
# from where listing should continue. If the field is missing or empty, it
# means there is 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.
patch(name, body=None, updateMask=None, x__xgafv=None)
Updates an existing deployment.
Args:
name: string, Output only. Resource name. (required)
body: object, The request body.
The object takes the form of:
{ # The Deployment.
"defaultBillingMode": "A String", # Default billing mode for the deployment and devices under it.
"allowedBillingModes": [ # The allowed billing modes under this deployment.
"A String",
],
"name": "A String", # Output only. Resource name.
"displayName": "A String", # The deployment's display name.
"sasUserIds": [ # User id used by the devices belonging to this deployment. Each deployment
# should be associated with one unique user_id.
"A String",
],
}
updateMask: string, Fields to be updated.
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format
Returns:
An object of the form:
{ # The Deployment.
"defaultBillingMode": "A String", # Default billing mode for the deployment and devices under it.
"allowedBillingModes": [ # The allowed billing modes under this deployment.
"A String",
],
"name": "A String", # Output only. Resource name.
"displayName": "A String", # The deployment's display name.
"sasUserIds": [ # User id used by the devices belonging to this deployment. Each deployment
# should be associated with one unique user_id.
"A String",
],
}