Google Cloud Backup Dr V1beta Client - Class CreateAutoProtectionPolicyBindingRequest (0.15.1)

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

Request message for creating an AutoProtectionPolicyBinding.

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

Namespace

Google \ Cloud \ BackupDR \ V1beta

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The parent resource where this binding will be created. Format: projects/{project}/locations/{location}/autoProtectionPolicies/{auto_protection_policy}

↳ auto_protection_policy_binding_id string

Required. The ID to use for the binding. This will become the final component of the binding's resource name.

↳ auto_protection_policy_binding AutoProtectionPolicyBinding

Required. The AutoProtectionPolicyBinding resource to create.

getParent

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

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

Returns
Type Description
string

setParent

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

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

Parameter
Name Description
var string
Returns
Type Description
$this

getAutoProtectionPolicyBindingId

Required. The ID to use for the binding.

This will become the final component of the binding's resource name.

Returns
Type Description
string

setAutoProtectionPolicyBindingId

Required. The ID to use for the binding.

This will become the final component of the binding's resource name.

Parameter
Name Description
var string
Returns
Type Description
$this

getAutoProtectionPolicyBinding

Required. The AutoProtectionPolicyBinding resource to create.

Returns
Type Description
AutoProtectionPolicyBinding|null

hasAutoProtectionPolicyBinding

clearAutoProtectionPolicyBinding

setAutoProtectionPolicyBinding

Required. The AutoProtectionPolicyBinding resource to create.

Parameter
Name Description
var AutoProtectionPolicyBinding
Returns
Type Description
$this

static::build

Parameters
Name Description
parent string

Required. The parent resource where this binding will be created. Format: projects/{project}/locations/{location}/autoProtectionPolicies/{auto_protection_policy} Please see BackupDRClient::autoProtectionPolicyName() for help formatting this field.

autoProtectionPolicyBinding AutoProtectionPolicyBinding

Required. The AutoProtectionPolicyBinding resource to create.

autoProtectionPolicyBindingId string

Required. The ID to use for the binding. This will become the final component of the binding's resource name.

Returns
Type Description
CreateAutoProtectionPolicyBindingRequest