Google Cloud Backup Dr V1beta Client - Class InitiateDeleteAutoProtectionPolicyBindingRequest (0.17.0)

Reference documentation and code samples for the Google Cloud Backup Dr V1beta Client class InitiateDeleteAutoProtectionPolicyBindingRequest.

Request message for initiating delete of an AutoProtectionPolicyBinding.

Generated from protobuf message google.cloud.backupdr.v1beta.InitiateDeleteAutoProtectionPolicyBindingRequest

Namespace

Google \ Cloud \ BackupDR \ V1beta

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Required. The name of the binding to delete. Format: projects/{project}/locations/{location}/autoProtectionPolicies/{auto_protection_policy}/bindings/{binding}

↳ etag string

Optional. The current etag of the AutoProtectionPolicyBinding. If an etag is provided and does not match the current etag of the binding, deletion will be blocked and an ABORTED error will be returned.

↳ request_id string

Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

getName

Required. The name of the binding to delete.

Format: projects/{project}/locations/{location}/autoProtectionPolicies/{auto_protection_policy}/bindings/{binding}

Returns
Type Description
string

setName

Required. The name of the binding to delete.

Format: projects/{project}/locations/{location}/autoProtectionPolicies/{auto_protection_policy}/bindings/{binding}

Parameter
Name Description
var string
Returns
Type Description
$this

getEtag

Optional. The current etag of the AutoProtectionPolicyBinding.

If an etag is provided and does not match the current etag of the binding, deletion will be blocked and an ABORTED error will be returned.

Returns
Type Description
string

setEtag

Optional. The current etag of the AutoProtectionPolicyBinding.

If an etag is provided and does not match the current etag of the binding, deletion will be blocked and an ABORTED error will be returned.

Parameter
Name Description
var string
Returns
Type Description
$this

getRequestId

Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.

The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

Returns
Type Description
string

setRequestId

Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.

The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
name string

Required. The name of the binding to delete. Format: projects/{project}/locations/{location}/autoProtectionPolicies/{auto_protection_policy}/bindings/{binding} Please see BackupDRClient::autoProtectionPolicyBindingName() for help formatting this field.

Returns
Type Description
InitiateDeleteAutoProtectionPolicyBindingRequest