Google Workspace Add-ons V1 Client - Class DeleteDeploymentRequest (0.2.3)

Reference documentation and code samples for the Google Workspace Add-ons V1 Client class DeleteDeploymentRequest.

Request message to delete a deployment.

Generated from protobuf message google.cloud.gsuiteaddons.v1.DeleteDeploymentRequest

Namespace

Google \ Cloud \ GSuiteAddOns \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

Required. The full resource name of the deployment to delete. Example: projects/my_project/deployments/my_deployment.

↳ etag string

The etag of the deployment to delete. If this is provided, it must match the server's etag.

getName

Required. The full resource name of the deployment to delete.

Example: projects/my_project/deployments/my_deployment.

Returns
TypeDescription
string

setName

Required. The full resource name of the deployment to delete.

Example: projects/my_project/deployments/my_deployment.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getEtag

The etag of the deployment to delete.

If this is provided, it must match the server's etag.

Returns
TypeDescription
string

setEtag

The etag of the deployment to delete.

If this is provided, it must match the server's etag.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

static::build

Parameter
NameDescription
name string

Required. The full resource name of the deployment to delete.

Example: projects/my_project/deployments/my_deployment. Please see Google\Cloud\GSuiteAddOns\V1\GSuiteAddOnsClient::deploymentName() for help formatting this field.

Returns
TypeDescription
Google\Cloud\GSuiteAddOns\V1\DeleteDeploymentRequest