Google Anthos Multi Cloud V1 Client - Class DeleteAttachedClusterRequest (0.2.3)

Reference documentation and code samples for the Google Anthos Multi Cloud V1 Client class DeleteAttachedClusterRequest.

Request message for AttachedClusters.DeleteAttachedCluster method.

Generated from protobuf message google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

Required. The resource name the AttachedCluster to delete. AttachedCluster names are formatted as projects/<project-id>/locations/<region>/attachedClusters/<cluster-id>. See Resource Names for more details on Google Cloud Platform resource names.

↳ validate_only bool

If set, only validate the request, but do not actually delete the resource.

↳ allow_missing bool

If set to true, and the AttachedCluster resource is not found, the request will succeed but no action will be taken on the server and a completed Operation will be returned. Useful for idempotent deletion.

↳ ignore_errors bool

If set to true, the deletion of AttachedCluster resource will succeed even if errors occur during deleting in cluster resources. Using this parameter may result in orphaned resources in the cluster.

↳ etag string

The current etag of the AttachedCluster. Allows clients to perform deletions through optimistic concurrency control. If the provided etag does not match the current etag of the cluster, the request will fail and an ABORTED error will be returned.

getName

Required. The resource name the AttachedCluster to delete.

AttachedCluster names are formatted as projects/<project-id>/locations/<region>/attachedClusters/<cluster-id>. See Resource Names for more details on Google Cloud Platform resource names.

Returns
TypeDescription
string

setName

Required. The resource name the AttachedCluster to delete.

AttachedCluster names are formatted as projects/<project-id>/locations/<region>/attachedClusters/<cluster-id>. See Resource Names for more details on Google Cloud Platform resource names.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getValidateOnly

If set, only validate the request, but do not actually delete the resource.

Returns
TypeDescription
bool

setValidateOnly

If set, only validate the request, but do not actually delete the resource.

Parameter
NameDescription
var bool
Returns
TypeDescription
$this

getAllowMissing

If set to true, and the AttachedCluster resource is not found, the request will succeed but no action will be taken on the server and a completed Operation will be returned.

Useful for idempotent deletion.

Returns
TypeDescription
bool

setAllowMissing

If set to true, and the AttachedCluster resource is not found, the request will succeed but no action will be taken on the server and a completed Operation will be returned.

Useful for idempotent deletion.

Parameter
NameDescription
var bool
Returns
TypeDescription
$this

getIgnoreErrors

If set to true, the deletion of AttachedCluster resource will succeed even if errors occur during deleting in cluster resources.

Using this parameter may result in orphaned resources in the cluster.

Returns
TypeDescription
bool

setIgnoreErrors

If set to true, the deletion of AttachedCluster resource will succeed even if errors occur during deleting in cluster resources.

Using this parameter may result in orphaned resources in the cluster.

Parameter
NameDescription
var bool
Returns
TypeDescription
$this

getEtag

The current etag of the AttachedCluster.

Allows clients to perform deletions through optimistic concurrency control. If the provided etag does not match the current etag of the cluster, the request will fail and an ABORTED error will be returned.

Returns
TypeDescription
string

setEtag

The current etag of the AttachedCluster.

Allows clients to perform deletions through optimistic concurrency control. If the provided etag does not match the current etag of the cluster, the request will fail and an ABORTED error will be returned.

Parameter
NameDescription
var string
Returns
TypeDescription
$this