Google Cloud Backup Dr V1 Client - Class CreateRestoreVerificationPlanAssociationRequest (0.17.0)

Reference documentation and code samples for the Google Cloud Backup Dr V1 Client class CreateRestoreVerificationPlanAssociationRequest.

Request message for CreateRestoreVerificationPlanAssociation.

Generated from protobuf message google.cloud.backupdr.v1.CreateRestoreVerificationPlanAssociationRequest

Namespace

Google \ Cloud \ BackupDR \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The parent resource where this association will be created. Format: projects/{project}/locations/{location}/restoreVerificationPlans/{restore_verification_plan}

↳ restore_verification_plan_association_id string

Required. The ID to use for the association, which will become the final component of the association's resource name. This value should be 1-63 characters, and valid characters are /[a-z0-9_-]/.

↳ restore_verification_plan_association RestoreVerificationPlanAssociation

Required. The RestoreVerificationPlanAssociation resource to create.

↳ 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 that the server has already received the duplicate request and can avoid responding with an error. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

getParent

Required. The parent resource where this association will be created.

Format: projects/{project}/locations/{location}/restoreVerificationPlans/{restore_verification_plan}

Returns
Type Description
string

setParent

Required. The parent resource where this association will be created.

Format: projects/{project}/locations/{location}/restoreVerificationPlans/{restore_verification_plan}

Parameter
Name Description
var string
Returns
Type Description
$this

getRestoreVerificationPlanAssociationId

Required. The ID to use for the association, which will become the final component of the association's resource name.

This value should be 1-63 characters, and valid characters are /[a-z0-9_-]/.

Returns
Type Description
string

setRestoreVerificationPlanAssociationId

Required. The ID to use for the association, which will become the final component of the association's resource name.

This value should be 1-63 characters, and valid characters are /[a-z0-9_-]/.

Parameter
Name Description
var string
Returns
Type Description
$this

getRestoreVerificationPlanAssociation

Required. The RestoreVerificationPlanAssociation resource to create.

Returns
Type Description
RestoreVerificationPlanAssociation|null

hasRestoreVerificationPlanAssociation

clearRestoreVerificationPlanAssociation

setRestoreVerificationPlanAssociation

Required. The RestoreVerificationPlanAssociation resource to create.

Parameter
Name Description
var RestoreVerificationPlanAssociation
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 that the server has already received the duplicate request and can avoid responding with an error. 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 that the server has already received the duplicate request and can avoid responding with an error. 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

Parameters
Name Description
parent string

Required. The parent resource where this association will be created. Format: projects/{project}/locations/{location}/restoreVerificationPlans/{restore_verification_plan} Please see BackupDRClient::restoreVerificationPlanName() for help formatting this field.

restoreVerificationPlanAssociation RestoreVerificationPlanAssociation

Required. The RestoreVerificationPlanAssociation resource to create.

restoreVerificationPlanAssociationId string

Required. The ID to use for the association, which will become the final component of the association's resource name.

This value should be 1-63 characters, and valid characters are /[a-z0-9_-]/.

Returns
Type Description
CreateRestoreVerificationPlanAssociationRequest