Reference documentation and code samples for the Memorystore V1 API class Google::Cloud::Memorystore::V1::Instance.
A Memorystore instance.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#async_instance_endpoints_deletion_enabled
def async_instance_endpoints_deletion_enabled() -> ::Boolean
- (::Boolean) — Optional. If true, instance endpoints that are created and registered by customers can be deleted asynchronously. That is, such an instance endpoint can be de-registered before the forwarding rules in the instance endpoint are deleted.
#async_instance_endpoints_deletion_enabled=
def async_instance_endpoints_deletion_enabled=(value) -> ::Boolean
- value (::Boolean) — Optional. If true, instance endpoints that are created and registered by customers can be deleted asynchronously. That is, such an instance endpoint can be de-registered before the forwarding rules in the instance endpoint are deleted.
- (::Boolean) — Optional. If true, instance endpoints that are created and registered by customers can be deleted asynchronously. That is, such an instance endpoint can be de-registered before the forwarding rules in the instance endpoint are deleted.
#authorization_mode
def authorization_mode() -> ::Google::Cloud::Memorystore::V1::Instance::AuthorizationMode
- (::Google::Cloud::Memorystore::V1::Instance::AuthorizationMode) — Optional. Immutable. Authorization mode of the instance.
#authorization_mode=
def authorization_mode=(value) -> ::Google::Cloud::Memorystore::V1::Instance::AuthorizationMode
- value (::Google::Cloud::Memorystore::V1::Instance::AuthorizationMode) — Optional. Immutable. Authorization mode of the instance.
- (::Google::Cloud::Memorystore::V1::Instance::AuthorizationMode) — Optional. Immutable. Authorization mode of the instance.
#automated_backup_config
def automated_backup_config() -> ::Google::Cloud::Memorystore::V1::AutomatedBackupConfig
- (::Google::Cloud::Memorystore::V1::AutomatedBackupConfig) — Optional. The automated backup config for the instance.
#automated_backup_config=
def automated_backup_config=(value) -> ::Google::Cloud::Memorystore::V1::AutomatedBackupConfig
- value (::Google::Cloud::Memorystore::V1::AutomatedBackupConfig) — Optional. The automated backup config for the instance.
- (::Google::Cloud::Memorystore::V1::AutomatedBackupConfig) — Optional. The automated backup config for the instance.
#backup_collection
def backup_collection() -> ::String
- (::String) — Output only. The backup collection full resource name. Example: projects/{project}/locations/{location}/backupCollections/{collection}
#create_time
def create_time() -> ::Google::Protobuf::Timestamp
- (::Google::Protobuf::Timestamp) — Output only. Creation timestamp of the instance.
#cross_instance_replication_config
def cross_instance_replication_config() -> ::Google::Cloud::Memorystore::V1::CrossInstanceReplicationConfig
- (::Google::Cloud::Memorystore::V1::CrossInstanceReplicationConfig) — Optional. The config for cross instance replication.
#cross_instance_replication_config=
def cross_instance_replication_config=(value) -> ::Google::Cloud::Memorystore::V1::CrossInstanceReplicationConfig
- value (::Google::Cloud::Memorystore::V1::CrossInstanceReplicationConfig) — Optional. The config for cross instance replication.
- (::Google::Cloud::Memorystore::V1::CrossInstanceReplicationConfig) — Optional. The config for cross instance replication.
#deletion_protection_enabled
def deletion_protection_enabled() -> ::Boolean
- (::Boolean) — Optional. If set to true deletion of the instance will fail.
#deletion_protection_enabled=
def deletion_protection_enabled=(value) -> ::Boolean
- value (::Boolean) — Optional. If set to true deletion of the instance will fail.
- (::Boolean) — Optional. If set to true deletion of the instance will fail.
#discovery_endpoints
def discovery_endpoints() -> ::Array<::Google::Cloud::Memorystore::V1::DiscoveryEndpoint>
- (::Array<::Google::Cloud::Memorystore::V1::DiscoveryEndpoint>) — Output only. Deprecated: Use the endpoints.connections.psc_auto_connection or endpoints.connections.psc_connection values instead.
#endpoints
def endpoints() -> ::Array<::Google::Cloud::Memorystore::V1::Instance::InstanceEndpoint>
- (::Array<::Google::Cloud::Memorystore::V1::Instance::InstanceEndpoint>) — Optional. Endpoints for the instance.
#endpoints=
def endpoints=(value) -> ::Array<::Google::Cloud::Memorystore::V1::Instance::InstanceEndpoint>
- value (::Array<::Google::Cloud::Memorystore::V1::Instance::InstanceEndpoint>) — Optional. Endpoints for the instance.
- (::Array<::Google::Cloud::Memorystore::V1::Instance::InstanceEndpoint>) — Optional. Endpoints for the instance.
#engine_configs
def engine_configs() -> ::Google::Protobuf::Map{::String => ::String}
- (::Google::Protobuf::Map{::String => ::String}) — Optional. User-provided engine configurations for the instance.
#engine_configs=
def engine_configs=(value) -> ::Google::Protobuf::Map{::String => ::String}
- value (::Google::Protobuf::Map{::String => ::String}) — Optional. User-provided engine configurations for the instance.
- (::Google::Protobuf::Map{::String => ::String}) — Optional. User-provided engine configurations for the instance.
#engine_version
def engine_version() -> ::String
- (::String) — Optional. Engine version of the instance.
#engine_version=
def engine_version=(value) -> ::String
- value (::String) — Optional. Engine version of the instance.
- (::String) — Optional. Engine version of the instance.
#gcs_source
def gcs_source() -> ::Google::Cloud::Memorystore::V1::Instance::GcsBackupSource
-
(::Google::Cloud::Memorystore::V1::Instance::GcsBackupSource) — Optional. Immutable. Backups that stored in Cloud Storage buckets.
The Cloud Storage buckets need to be the same region as the instances.
Read permission is required to import from the provided Cloud Storage
Objects.
Note: The following fields are mutually exclusive:
gcs_source
,managed_backup_source
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#gcs_source=
def gcs_source=(value) -> ::Google::Cloud::Memorystore::V1::Instance::GcsBackupSource
-
value (::Google::Cloud::Memorystore::V1::Instance::GcsBackupSource) — Optional. Immutable. Backups that stored in Cloud Storage buckets.
The Cloud Storage buckets need to be the same region as the instances.
Read permission is required to import from the provided Cloud Storage
Objects.
Note: The following fields are mutually exclusive:
gcs_source
,managed_backup_source
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::Memorystore::V1::Instance::GcsBackupSource) — Optional. Immutable. Backups that stored in Cloud Storage buckets.
The Cloud Storage buckets need to be the same region as the instances.
Read permission is required to import from the provided Cloud Storage
Objects.
Note: The following fields are mutually exclusive:
gcs_source
,managed_backup_source
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#labels
def labels() -> ::Google::Protobuf::Map{::String => ::String}
- (::Google::Protobuf::Map{::String => ::String}) — Optional. Labels to represent user-provided metadata.
#labels=
def labels=(value) -> ::Google::Protobuf::Map{::String => ::String}
- value (::Google::Protobuf::Map{::String => ::String}) — Optional. Labels to represent user-provided metadata.
- (::Google::Protobuf::Map{::String => ::String}) — Optional. Labels to represent user-provided metadata.
#maintenance_policy
def maintenance_policy() -> ::Google::Cloud::Memorystore::V1::MaintenancePolicy
- (::Google::Cloud::Memorystore::V1::MaintenancePolicy) — Optional. The maintenance policy for the instance. If not provided, the maintenance event will be performed based on Memorystore internal rollout schedule.
#maintenance_policy=
def maintenance_policy=(value) -> ::Google::Cloud::Memorystore::V1::MaintenancePolicy
- value (::Google::Cloud::Memorystore::V1::MaintenancePolicy) — Optional. The maintenance policy for the instance. If not provided, the maintenance event will be performed based on Memorystore internal rollout schedule.
- (::Google::Cloud::Memorystore::V1::MaintenancePolicy) — Optional. The maintenance policy for the instance. If not provided, the maintenance event will be performed based on Memorystore internal rollout schedule.
#maintenance_schedule
def maintenance_schedule() -> ::Google::Cloud::Memorystore::V1::MaintenanceSchedule
- (::Google::Cloud::Memorystore::V1::MaintenanceSchedule) — Output only. Published maintenance schedule.
#managed_backup_source
def managed_backup_source() -> ::Google::Cloud::Memorystore::V1::Instance::ManagedBackupSource
-
(::Google::Cloud::Memorystore::V1::Instance::ManagedBackupSource) — Optional. Immutable. Backups that generated and managed by memorystore
service.
Note: The following fields are mutually exclusive:
managed_backup_source
,gcs_source
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#managed_backup_source=
def managed_backup_source=(value) -> ::Google::Cloud::Memorystore::V1::Instance::ManagedBackupSource
-
value (::Google::Cloud::Memorystore::V1::Instance::ManagedBackupSource) — Optional. Immutable. Backups that generated and managed by memorystore
service.
Note: The following fields are mutually exclusive:
managed_backup_source
,gcs_source
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::Memorystore::V1::Instance::ManagedBackupSource) — Optional. Immutable. Backups that generated and managed by memorystore
service.
Note: The following fields are mutually exclusive:
managed_backup_source
,gcs_source
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#mode
def mode() -> ::Google::Cloud::Memorystore::V1::Instance::Mode
- (::Google::Cloud::Memorystore::V1::Instance::Mode) — Optional. The mode config for the instance.
#mode=
def mode=(value) -> ::Google::Cloud::Memorystore::V1::Instance::Mode
- value (::Google::Cloud::Memorystore::V1::Instance::Mode) — Optional. The mode config for the instance.
- (::Google::Cloud::Memorystore::V1::Instance::Mode) — Optional. The mode config for the instance.
#name
def name() -> ::String
- (::String) — Identifier. Unique name of the instance. Format: projects/{project}/locations/{location}/instances/{instance}
#name=
def name=(value) -> ::String
- value (::String) — Identifier. Unique name of the instance. Format: projects/{project}/locations/{location}/instances/{instance}
- (::String) — Identifier. Unique name of the instance. Format: projects/{project}/locations/{location}/instances/{instance}
#node_config
def node_config() -> ::Google::Cloud::Memorystore::V1::NodeConfig
- (::Google::Cloud::Memorystore::V1::NodeConfig) — Output only. Configuration of individual nodes of the instance.
#node_type
def node_type() -> ::Google::Cloud::Memorystore::V1::Instance::NodeType
- (::Google::Cloud::Memorystore::V1::Instance::NodeType) — Optional. Machine type for individual nodes of the instance.
#node_type=
def node_type=(value) -> ::Google::Cloud::Memorystore::V1::Instance::NodeType
- value (::Google::Cloud::Memorystore::V1::Instance::NodeType) — Optional. Machine type for individual nodes of the instance.
- (::Google::Cloud::Memorystore::V1::Instance::NodeType) — Optional. Machine type for individual nodes of the instance.
#ondemand_maintenance
def ondemand_maintenance() -> ::Boolean
- (::Boolean) — Optional. Input only. Ondemand maintenance for the instance.
#ondemand_maintenance=
def ondemand_maintenance=(value) -> ::Boolean
- value (::Boolean) — Optional. Input only. Ondemand maintenance for the instance.
- (::Boolean) — Optional. Input only. Ondemand maintenance for the instance.
#persistence_config
def persistence_config() -> ::Google::Cloud::Memorystore::V1::PersistenceConfig
- (::Google::Cloud::Memorystore::V1::PersistenceConfig) — Optional. Persistence configuration of the instance.
#persistence_config=
def persistence_config=(value) -> ::Google::Cloud::Memorystore::V1::PersistenceConfig
- value (::Google::Cloud::Memorystore::V1::PersistenceConfig) — Optional. Persistence configuration of the instance.
- (::Google::Cloud::Memorystore::V1::PersistenceConfig) — Optional. Persistence configuration of the instance.
#psc_attachment_details
def psc_attachment_details() -> ::Array<::Google::Cloud::Memorystore::V1::PscAttachmentDetail>
- (::Array<::Google::Cloud::Memorystore::V1::PscAttachmentDetail>) — Output only. Service attachment details to configure PSC connections.
#psc_auto_connections
def psc_auto_connections() -> ::Array<::Google::Cloud::Memorystore::V1::PscAutoConnection>
- (::Array<::Google::Cloud::Memorystore::V1::PscAutoConnection>) — Optional. Immutable. Deprecated: Use the endpoints.connections.psc_auto_connection value instead.
#psc_auto_connections=
def psc_auto_connections=(value) -> ::Array<::Google::Cloud::Memorystore::V1::PscAutoConnection>
- value (::Array<::Google::Cloud::Memorystore::V1::PscAutoConnection>) — Optional. Immutable. Deprecated: Use the endpoints.connections.psc_auto_connection value instead.
- (::Array<::Google::Cloud::Memorystore::V1::PscAutoConnection>) — Optional. Immutable. Deprecated: Use the endpoints.connections.psc_auto_connection value instead.
#replica_count
def replica_count() -> ::Integer
- (::Integer) — Optional. Number of replica nodes per shard. If omitted the default is 0 replicas.
#replica_count=
def replica_count=(value) -> ::Integer
- value (::Integer) — Optional. Number of replica nodes per shard. If omitted the default is 0 replicas.
- (::Integer) — Optional. Number of replica nodes per shard. If omitted the default is 0 replicas.
#shard_count
def shard_count() -> ::Integer
- (::Integer) — Optional. Number of shards for the instance.
#shard_count=
def shard_count=(value) -> ::Integer
- value (::Integer) — Optional. Number of shards for the instance.
- (::Integer) — Optional. Number of shards for the instance.
#state
def state() -> ::Google::Cloud::Memorystore::V1::Instance::State
- (::Google::Cloud::Memorystore::V1::Instance::State) — Output only. Current state of the instance.
#state_info
def state_info() -> ::Google::Cloud::Memorystore::V1::Instance::StateInfo
- (::Google::Cloud::Memorystore::V1::Instance::StateInfo) — Output only. Additional information about the state of the instance.
#transit_encryption_mode
def transit_encryption_mode() -> ::Google::Cloud::Memorystore::V1::Instance::TransitEncryptionMode
- (::Google::Cloud::Memorystore::V1::Instance::TransitEncryptionMode) — Optional. Immutable. In-transit encryption mode of the instance.
#transit_encryption_mode=
def transit_encryption_mode=(value) -> ::Google::Cloud::Memorystore::V1::Instance::TransitEncryptionMode
- value (::Google::Cloud::Memorystore::V1::Instance::TransitEncryptionMode) — Optional. Immutable. In-transit encryption mode of the instance.
- (::Google::Cloud::Memorystore::V1::Instance::TransitEncryptionMode) — Optional. Immutable. In-transit encryption mode of the instance.
#uid
def uid() -> ::String
- (::String) — Output only. System assigned, unique identifier for the instance.
#update_time
def update_time() -> ::Google::Protobuf::Timestamp
- (::Google::Protobuf::Timestamp) — Output only. Latest update timestamp of the instance.
#zone_distribution_config
def zone_distribution_config() -> ::Google::Cloud::Memorystore::V1::ZoneDistributionConfig
- (::Google::Cloud::Memorystore::V1::ZoneDistributionConfig) — Optional. Immutable. Zone distribution configuration of the instance for node allocation.
#zone_distribution_config=
def zone_distribution_config=(value) -> ::Google::Cloud::Memorystore::V1::ZoneDistributionConfig
- value (::Google::Cloud::Memorystore::V1::ZoneDistributionConfig) — Optional. Immutable. Zone distribution configuration of the instance for node allocation.
- (::Google::Cloud::Memorystore::V1::ZoneDistributionConfig) — Optional. Immutable. Zone distribution configuration of the instance for node allocation.