Filestore V1 API - Class Google::Cloud::Filestore::V1::PromoteReplicaRequest (v2.1.0)

Reference documentation and code samples for the Filestore V1 API class Google::Cloud::Filestore::V1::PromoteReplicaRequest.

PromoteReplicaRequest promotes a Filestore standby instance (replica).

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#name

def name() -> ::String
Returns
  • (::String) — Required. The resource name of the instance, in the format projects/{project_id}/locations/{location_id}/instances/{instance_id}.

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — Required. The resource name of the instance, in the format projects/{project_id}/locations/{location_id}/instances/{instance_id}.
Returns
  • (::String) — Required. The resource name of the instance, in the format projects/{project_id}/locations/{location_id}/instances/{instance_id}.

#peer_instance

def peer_instance() -> ::String
Returns
  • (::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.

#peer_instance=

def peer_instance=(value) -> ::String
Parameter
  • value (::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.
Returns
  • (::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.