Google Cloud Memorystore for Redis V1 API - Class Google::Cloud::Redis::V1::FailoverInstanceRequest (v0.12.0)

Reference documentation and code samples for the Google Cloud Memorystore for Redis V1 API class Google::Cloud::Redis::V1::FailoverInstanceRequest.

Request for Failover.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#data_protection_mode

def data_protection_mode() -> ::Google::Cloud::Redis::V1::FailoverInstanceRequest::DataProtectionMode
Returns

#data_protection_mode=

def data_protection_mode=(value) -> ::Google::Cloud::Redis::V1::FailoverInstanceRequest::DataProtectionMode
Parameter
Returns

#name

def name() -> ::String
Returns
  • (::String) — Required. Redis instance resource name using the form: projects/{project_id}/locations/{location_id}/instances/{instance_id} where location_id refers to a GCP region.

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — Required. Redis instance resource name using the form: projects/{project_id}/locations/{location_id}/instances/{instance_id} where location_id refers to a GCP region.
Returns
  • (::String) — Required. Redis instance resource name using the form: projects/{project_id}/locations/{location_id}/instances/{instance_id} where location_id refers to a GCP region.