Google Cloud Apigee Registry V1 Client - Class DeleteApiDeploymentRequest (0.3.2)

Reference documentation and code samples for the Google Cloud Apigee Registry V1 Client class DeleteApiDeploymentRequest.

Request message for DeleteApiDeployment.

Generated from protobuf message google.cloud.apigeeregistry.v1.DeleteApiDeploymentRequest

Namespace

Google \ Cloud \ ApigeeRegistry \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

Required. The name of the deployment to delete. Format: projects/*/locations/*/apis/*/deployments/*

↳ force bool

If set to true, any child resources will also be deleted. (Otherwise, the request will only work if there are no child resources.)

getName

Required. The name of the deployment to delete.

Format: projects/*/locations/*/apis/*/deployments/*

Returns
TypeDescription
string

setName

Required. The name of the deployment to delete.

Format: projects/*/locations/*/apis/*/deployments/*

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getForce

If set to true, any child resources will also be deleted.

(Otherwise, the request will only work if there are no child resources.)

Returns
TypeDescription
bool

setForce

If set to true, any child resources will also be deleted.

(Otherwise, the request will only work if there are no child resources.)

Parameter
NameDescription
var bool
Returns
TypeDescription
$this

static::build

Parameter
NameDescription
name string

Required. The name of the deployment to delete. Format: projects/*/locations/*/apis/*/deployments/* Please see Google\Cloud\ApigeeRegistry\V1\RegistryClient::apiDeploymentName() for help formatting this field.

Returns
TypeDescription
Google\Cloud\ApigeeRegistry\V1\DeleteApiDeploymentRequest