Google Cloud Net App V1 Client - Class EstablishPeeringRequest (1.2.0)

Reference documentation and code samples for the Google Cloud Net App V1 Client class EstablishPeeringRequest.

EstablishPeeringRequest establishes cluster and svm peerings between the source and the destination replications.

Generated from protobuf message google.cloud.netapp.v1.EstablishPeeringRequest

Namespace

Google \ Cloud \ NetApp \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Required. The resource name of the replication, in the format of projects/{project_id}/locations/{location}/volumes/{volume_id}/replications/{replication_id}.

↳ peer_cluster_name string

Required. Name of the user's local source cluster to be peered with the destination cluster.

↳ peer_svm_name string

Required. Name of the user's local source vserver svm to be peered with the destination vserver svm.

↳ peer_ip_addresses array

Optional. List of IPv4 ip addresses to be used for peering.

↳ peer_volume_name string

Required. Name of the user's local source volume to be peered with the destination volume.

getName

Required. The resource name of the replication, in the format of projects/{project_id}/locations/{location}/volumes/{volume_id}/replications/{replication_id}.

Returns
Type Description
string

setName

Required. The resource name of the replication, in the format of projects/{project_id}/locations/{location}/volumes/{volume_id}/replications/{replication_id}.

Parameter
Name Description
var string
Returns
Type Description
$this

getPeerClusterName

Required. Name of the user's local source cluster to be peered with the destination cluster.

Returns
Type Description
string

setPeerClusterName

Required. Name of the user's local source cluster to be peered with the destination cluster.

Parameter
Name Description
var string
Returns
Type Description
$this

getPeerSvmName

Required. Name of the user's local source vserver svm to be peered with the destination vserver svm.

Returns
Type Description
string

setPeerSvmName

Required. Name of the user's local source vserver svm to be peered with the destination vserver svm.

Parameter
Name Description
var string
Returns
Type Description
$this

getPeerIpAddresses

Optional. List of IPv4 ip addresses to be used for peering.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setPeerIpAddresses

Optional. List of IPv4 ip addresses to be used for peering.

Parameter
Name Description
var string[]
Returns
Type Description
$this

getPeerVolumeName

Required. Name of the user's local source volume to be peered with the destination volume.

Returns
Type Description
string

setPeerVolumeName

Required. Name of the user's local source volume to be peered with the destination volume.

Parameter
Name Description
var string
Returns
Type Description
$this