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::V1beta1::FailoverInstanceRequest::DataProtectionMode
Returns
- (::Google::Cloud::Redis::V1beta1::FailoverInstanceRequest::DataProtectionMode) — Optional. Available data protection modes that the user can choose. If it's unspecified, data protection mode will be LIMITED_DATA_LOSS by default.
#data_protection_mode=
def data_protection_mode=(value) -> ::Google::Cloud::Redis::V1beta1::FailoverInstanceRequest::DataProtectionMode
Parameter
- value (::Google::Cloud::Redis::V1beta1::FailoverInstanceRequest::DataProtectionMode) — Optional. Available data protection modes that the user can choose. If it's unspecified, data protection mode will be LIMITED_DATA_LOSS by default.
Returns
- (::Google::Cloud::Redis::V1beta1::FailoverInstanceRequest::DataProtectionMode) — Optional. Available data protection modes that the user can choose. If it's unspecified, data protection mode will be LIMITED_DATA_LOSS by default.
#name
def name() -> ::String
Returns
-
(::String) — Required. Redis instance resource name using the form:
projects/{project_id}/locations/{location_id}/instances/{instance_id}
wherelocation_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}
wherelocation_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}
wherelocation_id
refers to a GCP region.