Class: Google::Cloud::Filestore::V1::PromoteReplicaRequest

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/filestore/v1/cloud_filestore_service.rb

Overview

PromoteReplicaRequest promotes a Filestore standby instance (replica).

Instance Attribute Summary collapse

Instance Attribute Details

#name::String

Returns 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}.



1037
1038
1039
1040
# File 'proto_docs/google/cloud/filestore/v1/cloud_filestore_service.rb', line 1037

class PromoteReplicaRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#peer_instance::String

Returns 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.



1037
1038
1039
1040
# File 'proto_docs/google/cloud/filestore/v1/cloud_filestore_service.rb', line 1037

class PromoteReplicaRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end