Reference documentation and code samples for the Google Cloud Filestore V1 Client class PromoteReplicaRequest.
PromoteReplicaRequest promotes a Filestore standby instance (replica).
Generated from protobuf message google.cloud.filestore.v1.PromoteReplicaRequest
Namespace
Google \ Cloud \ Filestore \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Required. The resource name of the instance, in the format projects/{project_id}/locations/{location_id}/instances/{instance_id}
.
↳ peer_instance
string
Optional. The resource name of the peer instance to promote, in the format projects/{project_id}/locations/{location_id}/instances/{instance_id}
. The peer instance is required if the operation is called on an active instance.
getName
Required. The resource name of the instance, in the format projects/{project_id}/locations/{location_id}/instances/{instance_id}
.
string
setName
Required. The resource name of the instance, in the format projects/{project_id}/locations/{location_id}/instances/{instance_id}
.
var
string
$this
getPeerInstance
Optional. The resource name of the peer instance to promote, in the format projects/{project_id}/locations/{location_id}/instances/{instance_id}
.
The peer instance is required if the operation is called on an active instance.
string
setPeerInstance
Optional. The resource name of the peer instance to promote, in the format projects/{project_id}/locations/{location_id}/instances/{instance_id}
.
The peer instance is required if the operation is called on an active instance.
var
string
$this