Service Client: Google::Cloud::Memorystore::V1::Memorystore::MemorystoreClient
Client stub representing the remote Memorystore gRPC service. Delegates call dispatching to Google::gRPC::Client.
target
The endpoint target address. Defaults to memorystore.googleapis.com:443.
credentials
The authentication credentials provider. Defaults to application default credentials via Google::Auth.
NAME
Google::Cloud::Memorystore::V1::Memorystore - Compiled Protocol Buffers messages for google/cloud/memorystore/v1/memorystore.proto
SYNOPSIS
use Google::Cloud::Memorystore::V1::Memorystore;
my $msg = Google::Cloud::Memorystore::V1::Memorystore::Instance->new({
gcs_source => $gcs_source,
managed_backup_source => $managed_backup_source,
name => $name,
create_time => $create_time,
});
# Read or update a field
my $val = $msg->gcs_source();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Cloud::Memorystore::V1::Memorystore::Instance->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/cloud/memorystore/v1/memorystore.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().
MESSAGES
Google::Cloud::Memorystore::V1::Memorystore::Instance
A Memorystore instance.
Inherits from Protobuf::Message.
Accessors
$msg->gcs_source()/$msg->gcs_source($value)Type:
Message(Google::Cloud::Memorystore::V1::Memorystore::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.
$msg->managed_backup_source()/$msg->managed_backup_source($value)Type:
Message(Google::Cloud::Memorystore::V1::Memorystore::Instance::ManagedBackupSource)Optional. Immutable. Backups that generated and managed by memorystore service.
$msg->name()/$msg->name($value)Type:
StringIdentifier. Unique name of the instance. Format: projects/{project}/locations/{location}/instances/{instance}
$msg->create_time()/$msg->create_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. Creation timestamp of the instance.
$msg->update_time()/$msg->update_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. Latest update timestamp of the instance.
$msg->labels()/$msg->labels($value)Type:
Message(Google::Cloud::Memorystore::V1::Memorystore::Instance::LabelsEntry)Optional. Labels to represent user-provided metadata.
$msg->state()/$msg->state($value)Type:
Enum(Google::Cloud::Memorystore::V1::Instance::State)Output only. Current state of the instance.
$msg->state_info()/$msg->state_info($value)Type:
Message(Google::Cloud::Memorystore::V1::Memorystore::Instance::StateInfo)Output only. Additional information about the state of the instance.
$msg->uid()/$msg->uid($value)Type:
StringOutput only. System assigned, unique identifier for the instance.
$msg->replica_count()/$msg->replica_count($value)Type:
Int32Optional. Number of replica nodes per shard. If omitted the default is 0 replicas.
$msg->authorization_mode()/$msg->authorization_mode($value)Type:
Enum(Google::Cloud::Memorystore::V1::Instance::AuthorizationMode)Optional. Immutable. Authorization mode of the instance.
$msg->transit_encryption_mode()/$msg->transit_encryption_mode($value)Type:
Enum(Google::Cloud::Memorystore::V1::Instance::TransitEncryptionMode)Optional. Immutable. In-transit encryption mode of the instance.
$msg->shard_count()/$msg->shard_count($value)Type:
Int32Optional. Number of shards for the instance.
$msg->discovery_endpoints()/$msg->discovery_endpoints($value)Type:
Message(Google::Cloud::Memorystore::V1::Memorystore::DiscoveryEndpoint)Output only. Deprecated: The discovery_endpoints parameter is deprecated. As a result, it will not be populated if the connections are created using endpoints parameter. Instead of this parameter, for discovery, use endpoints.connections.pscConnection and endpoints.connections.pscAutoConnection with connectionType CONNECTION_TYPE_DISCOVERY.
$msg->node_type()/$msg->node_type($value)Type:
Enum(Google::Cloud::Memorystore::V1::Instance::NodeType)Optional. Machine type for individual nodes of the instance.
$msg->persistence_config()/$msg->persistence_config($value)Type:
Message(Google::Cloud::Memorystore::V1::Memorystore::PersistenceConfig)Optional. Persistence configuration of the instance.
$msg->engine_version()/$msg->engine_version($value)Type:
StringOptional. Engine version of the instance.
$msg->engine_configs()/$msg->engine_configs($value)Type:
Message(Google::Cloud::Memorystore::V1::Memorystore::Instance::EngineConfigsEntry)Optional. User-provided engine configurations for the instance.
$msg->node_config()/$msg->node_config($value)Type:
Message(Google::Cloud::Memorystore::V1::Memorystore::NodeConfig)Output only. Configuration of individual nodes of the instance.
$msg->zone_distribution_config()/$msg->zone_distribution_config($value)Type:
Message(Google::Cloud::Memorystore::V1::Memorystore::ZoneDistributionConfig)Optional. Immutable. Zone distribution configuration of the instance for node allocation.
$msg->deletion_protection_enabled()/$msg->deletion_protection_enabled($value)Type:
BoolOptional. If set to true deletion of the instance will fail.
$msg->psc_auto_connections()/$msg->psc_auto_connections($value)Type:
Message(Google::Cloud::Memorystore::V1::Memorystore::PscAutoConnection)Optional. Immutable. Deprecated: Use the endpoints.connections.psc_auto_connection value instead.
$msg->psc_attachment_details()/$msg->psc_attachment_details($value)Type:
Message(Google::Cloud::Memorystore::V1::Memorystore::PscAttachmentDetail)Output only. Service attachment details to configure PSC connections.
$msg->endpoints()/$msg->endpoints($value)Type:
Message(Google::Cloud::Memorystore::V1::Memorystore::Instance::InstanceEndpoint)Optional. Endpoints for the instance.
$msg->mode()/$msg->mode($value)Type:
Enum(Google::Cloud::Memorystore::V1::Instance::Mode)Optional. Immutable. The mode config for the instance.
$msg->simulate_maintenance_event()/$msg->simulate_maintenance_event($value)Type:
BoolOptional. Input only. Simulate a maintenance event.
$msg->ondemand_maintenance()/$msg->ondemand_maintenance($value)Type:
BoolOptional. Input only. Ondemand maintenance for the instance.
$msg->satisfies_pzs()/$msg->satisfies_pzs($value)Type:
BoolOptional. Output only. Reserved for future use.
$msg->satisfies_pzi()/$msg->satisfies_pzi($value)Type:
BoolOptional. Output only. Reserved for future use.
$msg->maintenance_policy()/$msg->maintenance_policy($value)Type:
Message(Google::Cloud::Memorystore::V1::Memorystore::MaintenancePolicy)Optional. The maintenance policy for the instance. If not provided, the maintenance event will be performed based on Memorystore internal rollout schedule.
$msg->maintenance_schedule()/$msg->maintenance_schedule($value)Type:
Message(Google::Cloud::Memorystore::V1::Memorystore::MaintenanceSchedule)Output only. Published maintenance schedule.
$msg->cross_instance_replication_config()/$msg->cross_instance_replication_config($value)Type:
Message(Google::Cloud::Memorystore::V1::Memorystore::CrossInstanceReplicationConfig)Optional. The config for cross instance replication.
$msg->async_instance_endpoints_deletion_enabled()/$msg->async_instance_endpoints_deletion_enabled($value)Type:
BoolOptional. 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.
$msg->kms_key()/$msg->kms_key($value)Type:
StringOptional. The KMS key used to encrypt the at-rest data of the cluster.
$msg->encryption_info()/$msg->encryption_info($value)Type:
Message(Google::Cloud::Memorystore::V1::Memorystore::EncryptionInfo)Output only. Encryption information of the data at rest of the cluster.
$msg->backup_collection()/$msg->backup_collection($value)Type:
StringOutput only. The backup collection full resource name. Example: projects/{project}/locations/{location}/backupCollections/{collection}
$msg->automated_backup_config()/$msg->automated_backup_config($value)Type:
Message(Google::Cloud::Memorystore::V1::Memorystore::AutomatedBackupConfig)Optional. The automated backup config for the instance.
$msg->maintenance_version()/$msg->maintenance_version($value)Type:
StringOptional. This field can be used to trigger self service update to indicate the desired maintenance version. The input to this field can be determined by the available_maintenance_versions field.
$msg->effective_maintenance_version()/$msg->effective_maintenance_version($value)Type:
StringOutput only. This field represents the actual maintenance version of the instance.
$msg->available_maintenance_versions()/$msg->available_maintenance_versions($value)Type:
StringOutput only. This field is used to determine the available maintenance versions for the self service update.
$msg->allow_fewer_zones_deployment()/$msg->allow_fewer_zones_deployment($value)Type:
BoolOptional. Immutable. Deprecated, do not use.
$msg->server_ca_mode()/$msg->server_ca_mode($value)Type:
Enum(Google::Cloud::Memorystore::V1::Instance::ServerCaMode)Optional. Immutable. The Server CA mode for the instance.
$msg->server_ca_pool()/$msg->server_ca_pool($value)Type:
StringOptional. Immutable. The customer-managed CA pool for the instance. Only applicable if the Server CA mode is CUSTOMER_MANAGED_CAS_CA. Format: "projects/{project}/locations/{region}/caPools/{ca_pool}".
$msg->rotate_server_certificate()/$msg->rotate_server_certificate($value)Type:
BoolOptional. Input only. Rotate the server certificates.
$msg->migration_config()/$msg->migration_config($value)Type:
Message(Google::Cloud::Memorystore::V1::Memorystore::MigrationConfig)Output only. Migration config for the instance.
$msg->acl_policy()/$msg->acl_policy($value)Type:
StringOptional. The ACL policy for the instance. Format: projects/{project}/locations/{location}/aclPolicies/{acl_policy}
$msg->acl_policy_info()/$msg->acl_policy_info($value)Type:
Message(Google::Cloud::Memorystore::V1::Memorystore::AclPolicyInfo)Output only. Details of the applied ACL policy.
Enum: Instance::State
STATE_UNSPECIFIED=>0CREATING=>1ACTIVE=>2UPDATING=>3DELETING=>4MIGRATING=>6
Enum: Instance::AuthorizationMode
AUTHORIZATION_MODE_UNSPECIFIED=>0AUTH_DISABLED=>1IAM_AUTH=>2TOKEN_AUTH=>3
Enum: Instance::TransitEncryptionMode
TRANSIT_ENCRYPTION_MODE_UNSPECIFIED=>0TRANSIT_ENCRYPTION_DISABLED=>1SERVER_AUTHENTICATION=>2
Enum: Instance::NodeType
NODE_TYPE_UNSPECIFIED=>0SHARED_CORE_NANO=>1HIGHMEM_MEDIUM=>2HIGHMEM_XLARGE=>3STANDARD_SMALL=>4CUSTOM_MICRO=>5CUSTOM_MINI=>6HIGHCPU_MEDIUM=>7STANDARD_LARGE=>8HIGHMEM_2XLARGE=>9CUSTOM_PICO=>10
Enum: Instance::Mode
MODE_UNSPECIFIED=>0STANDALONE=>1CLUSTER=>2CLUSTER_DISABLED=>4
Enum: Instance::ServerCaMode
SERVER_CA_MODE_UNSPECIFIED=>0GOOGLE_MANAGED_PER_INSTANCE_CA=>1GOOGLE_MANAGED_SHARED_CA=>2CUSTOMER_MANAGED_CAS_CA=>3SERVER_CA_MODE_GOOGLE_MANAGED_PER_INSTANCE_CA=>1SERVER_CA_MODE_GOOGLE_MANAGED_SHARED_CA=>2SERVER_CA_MODE_CUSTOMER_MANAGED_CAS_CA=>3
Google::Cloud::Memorystore::V1::Memorystore::AclPolicyInfo
Details of the applied ACL policy.
Inherits from Protobuf::Message.
Accessors
$msg->applied_acl_policy()/$msg->applied_acl_policy($value)Type:
StringOutput only. The resource name of the applied ACL policy. Format: "projects/{project}/locations/{location}/aclPolicies/{acl_policy}"
$msg->applied_acl_policy_revision()/$msg->applied_acl_policy_revision($value)Type:
StringOutput only. The resource name of the applied ACL policy revision. Format: "projects/{project}/locations/{location}/aclPolicies/{acl_policy}/revisions/{revision}"
$msg->applied_acl_policy_revision_number()/$msg->applied_acl_policy_revision_number($value)Type:
Int64Output only. The revision number of the applied ACL policy revision.
$msg->acl_policy_revision_statuses()/$msg->acl_policy_revision_statuses($value)Type:
Message(Google::Cloud::Memorystore::V1::Memorystore::AclPolicyRevisionStatus)Output only. A list of status for various revisions of this ACL policy on the instance.
Google::Cloud::Memorystore::V1::Memorystore::StartMigrationRequest
Request for `StartMigration`.
Inherits from Protobuf::Message.
Accessors
$msg->self_managed_source()/$msg->self_managed_source($value)Type:
Message(Google::Cloud::Memorystore::V1::Memorystore::SelfManagedSource)Required. Configuration for migrating from a self-managed Valkey/Redis instance
$msg->name()/$msg->name($value)Type:
StringRequired. The resource name of the instance to start migration on. Format: projects/{project}/locations/{location}/instances/{instance}
Google::Cloud::Memorystore::V1::Memorystore::FinishMigrationRequest
Request for `FinishMigration`.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The resource name of the instance to finalize migration on. Format: projects/{project}/locations/{location}/instances/{instance}
$msg->force()/$msg->force($value)Type:
BoolOptional. By default, the `FinishMigration` operation ensures the target replication offset to catch up to the source offset as of the time of the call. Set this field to `true` to bypass this offset verification check.
Google::Cloud::Memorystore::V1::Memorystore::SelfManagedSource
Details of the self-managed source instance.
Inherits from Protobuf::Message.
Accessors
$msg->ip_address()/$msg->ip_address($value)Type:
StringRequired. The IP address of the source instance. This IP address should be a stable IP address that can be accessed by the Memorystore instance throughout the migration process.
$msg->port()/$msg->port($value)Type:
Int32Required. The port of the source instance. This port should be a stable port that can be accessed by the Memorystore instance throughout the migration process.
$msg->network_attachment()/$msg->network_attachment($value)Type:
StringRequired. The resource name of the Private Service Connect Network Attachment used to establish connectivity to the source instance. This network attachment has the following requirements: 1. It must be in the same project as the Memorystore instance. 2. It must be in the same region as the Memorystore instance. 3. The subnet attached to the network attachment must be in the same VPC network as the source instance nodes.
Format: projects/{project}/regions/{region}/networkAttachments/{network_attachment}
Google::Cloud::Memorystore::V1::Memorystore::MigrationConfig
Configuration for the migration of an instance.
Inherits from Protobuf::Message.
Accessors
$msg->self_managed_source()/$msg->self_managed_source($value)Type:
Message(Google::Cloud::Memorystore::V1::Memorystore::SelfManagedSource)Output only. Configuration for migrating from a self-managed Valkey/Redis instance
$msg->state()/$msg->state($value)Type:
Enum(Google::Cloud::Memorystore::V1::MigrationConfig::State)Output only. Migration state of the instance.
$msg->force_finish_migration()/$msg->force_finish_migration($value)Type:
BoolOutput only. Represents a boolean flag to force migration finalization without offset catch up validation between source and target before stopping replication.
Enum: MigrationConfig::State
STATE_UNSPECIFIED=>0ROLLED_BACK=>1ROLLING_BACK=>5REPLICATION_ESTABLISHED=>6MIGRATED=>4
Google::Cloud::Memorystore::V1::Memorystore::AclPolicy
The ACL policy resource.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringIdentifier. Full resource path of the ACL policy.
$msg->rules()/$msg->rules($value)Type:
Message(Google::Cloud::Memorystore::V1::Memorystore::AclRule)Required. The ACL rules within the ACL policy.
$msg->state()/$msg->state($value)Type:
Enum(Google::Cloud::Memorystore::V1::AclPolicy::State)Output only. The state of the ACL policy.
$msg->etag()/$msg->etag($value)Type:
StringOutput only. Etag of the ACL policy.
$msg->instance_acl_policy_attachments()/$msg->instance_acl_policy_attachments($value)Type:
Message(Google::Cloud::Memorystore::V1::Memorystore::InstanceAclPolicyAttachment)Output only. The ACL policy attachment status for each attached instance.
$msg->create_time()/$msg->create_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The timestamp that the ACL policy was created.
$msg->update_time()/$msg->update_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The timestamp that the ACL policy was last updated.
Enum: AclPolicy::State
STATE_UNSPECIFIED=>0ACTIVE=>1UPDATING=>2DELETING=>3
Google::Cloud::Memorystore::V1::Memorystore::AclPolicyRevision
The ACL policy revision resource.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringIdentifier. The name of the ACL policy revision. Format: "projects/{project}/locations/{location}/aclPolicies/{acl_policy}/revisions/{revision}"
$msg->revision_number()/$msg->revision_number($value)Type:
Int64Output only. The revision number of the ACL policy revision.
$msg->snapshot()/$msg->snapshot($value)Type:
Message(Google::Cloud::Memorystore::V1::Memorystore::AclPolicy)Output only. The snapshot of the ACL policy at the time of revision creation.
$msg->create_time()/$msg->create_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The timestamp that the revision was created.
$msg->attached_instances()/$msg->attached_instances($value)Type:
StringOutput only. A list of instances that are attached to this ACL policy revision.
Google::Cloud::Memorystore::V1::Memorystore::AclPolicyRevisionStatus
AclPolicyRevisionStatus stores the per-revision status for an attached instance.
Inherits from Protobuf::Message.
Accessors
$msg->acl_policy_revision()/$msg->acl_policy_revision($value)Type:
StringOutput only. The resource name of the ACL policy revision this status refers to. Format: "projects/{project}/locations/{location}/aclPolicies/{acl_policy}/revisions/{revision}"
$msg->acl_policy_revision_number()/$msg->acl_policy_revision_number($value)Type:
Int64Output only. The revision number of the ACL policy revision this status refers to.
$msg->state()/$msg->state($value)Type:
Enum(Google::Cloud::Memorystore::V1::AclPolicyRevisionStatus::State)Output only. AclPolicyRevision state.
$msg->error_message()/$msg->error_message($value)Type:
StringOutput only. Human-readable error message providing more details for FAILED states.
Enum: AclPolicyRevisionStatus::State
STATE_UNSPECIFIED=>0APPLYING=>1APPLIED=>2FAILED=>3
Google::Cloud::Memorystore::V1::Memorystore::InstanceAclPolicyAttachment
InstanceAclPolicyAttachment stores the ACL policy status for an attached instance for the revisions successfully applied, under application or failed.
Inherits from Protobuf::Message.
Accessors
$msg->instance()/$msg->instance($value)Type:
StringOutput only. The resource name of the attached instance. Format: "projects/{project}/locations/{location}/instances/{instance}"
$msg->acl_policy_revision_statuses()/$msg->acl_policy_revision_statuses($value)Type:
Message(Google::Cloud::Memorystore::V1::Memorystore::AclPolicyRevisionStatus)Output only. A list of status for various revisions of this ACL policy on the instance.
Google::Cloud::Memorystore::V1::Memorystore::AclRule
A single ACL rule which defines the policy for a user.
Inherits from Protobuf::Message.
Accessors
$msg->username()/$msg->username($value)Type:
StringRequired. Specifies the IAM user or service account to be added to the ACL policy. This username will be directly set on the Valkey OSS.
$msg->rule()/$msg->rule($value)Type:
StringRequired. The rule to be applied to the username. Ex: "on >password123 ~* +@all" The format of the rule is defined by Valkey OSS: https://valkey.io/topics/acl/
Google::Cloud::Memorystore::V1::Memorystore::AutomatedBackupConfig
The automated backup config for an instance.
Inherits from Protobuf::Message.
Accessors
$msg->fixed_frequency_schedule()/$msg->fixed_frequency_schedule($value)Type:
Message(Google::Cloud::Memorystore::V1::Memorystore::AutomatedBackupConfig::FixedFrequencySchedule)Optional. Trigger automated backups at a fixed frequency.
$msg->automated_backup_mode()/$msg->automated_backup_mode($value)Type:
Enum(Google::Cloud::Memorystore::V1::AutomatedBackupConfig::AutomatedBackupMode)Optional. The automated backup mode. If the mode is disabled, the other fields will be ignored.
$msg->retention()/$msg->retention($value)Type:
Message(Google::Protobuf::Duration::Duration)Optional. How long to keep automated backups before the backups are deleted. The value should be between 1 day and 365 days. If not specified, the default value is 35 days.
Enum: AutomatedBackupConfig::AutomatedBackupMode
AUTOMATED_BACKUP_MODE_UNSPECIFIED=>0DISABLED=>1ENABLED=>2
Google::Cloud::Memorystore::V1::Memorystore::BackupCollection
BackupCollection of an instance.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringIdentifier. Full resource path of the backup collection.
$msg->instance_uid()/$msg->instance_uid($value)Type:
StringOutput only. The instance uid of the backup collection.
$msg->instance()/$msg->instance($value)Type:
StringOutput only. The full resource path of the instance the backup collection belongs to. Example: projects/{project}/locations/{location}/instances/{instance}
$msg->kms_key()/$msg->kms_key($value)Type:
StringOutput only. The KMS key used to encrypt the backups under this backup collection.
$msg->uid()/$msg->uid($value)Type:
StringOutput only. System assigned unique identifier of the backup collection.
$msg->create_time()/$msg->create_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The time when the backup collection was created.
$msg->total_backup_size_bytes()/$msg->total_backup_size_bytes($value)Type:
Int64Output only. Total size of all backups in the backup collection.
$msg->total_backup_count()/$msg->total_backup_count($value)Type:
Int64Output only. Total number of backups in the backup collection.
$msg->last_backup_time()/$msg->last_backup_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The last time a backup was created in the backup collection.
Google::Cloud::Memorystore::V1::Memorystore::Backup
Backup of an instance.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringIdentifier. Full resource path of the backup. the last part of the name is the backup id with the following format: [YYYYMMDDHHMMSS]_[Shorted Instance UID] OR customer specified while backup instance. Example: 20240515123000_1234
$msg->create_time()/$msg->create_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The time when the backup was created.
$msg->instance()/$msg->instance($value)Type:
StringOutput only. Instance resource path of this backup.
$msg->instance_uid()/$msg->instance_uid($value)Type:
StringOutput only. Instance uid of this backup.
$msg->total_size_bytes()/$msg->total_size_bytes($value)Type:
Int64Output only. Total size of the backup in bytes.
$msg->expire_time()/$msg->expire_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The time when the backup will expire.
$msg->engine_version()/$msg->engine_version($value)Type:
StringOutput only. valkey-7.5/valkey-8.0, etc.
$msg->backup_files()/$msg->backup_files($value)Type:
Message(Google::Cloud::Memorystore::V1::Memorystore::BackupFile)Output only. List of backup files of the backup.
$msg->node_type()/$msg->node_type($value)Type:
Enum(Google::Cloud::Memorystore::V1::Instance::NodeType)Output only. Node type of the instance.
$msg->replica_count()/$msg->replica_count($value)Type:
Int32Output only. Number of replicas for the instance.
$msg->shard_count()/$msg->shard_count($value)Type:
Int32Output only. Number of shards for the instance.
$msg->backup_type()/$msg->backup_type($value)Type:
Enum(Google::Cloud::Memorystore::V1::Backup::BackupType)Output only. Type of the backup.
$msg->state()/$msg->state($value)Type:
Enum(Google::Cloud::Memorystore::V1::Backup::State)Output only. State of the backup.
$msg->encryption_info()/$msg->encryption_info($value)Type:
Message(Google::Cloud::Memorystore::V1::Memorystore::EncryptionInfo)Output only. Encryption information of the backup.
$msg->uid()/$msg->uid($value)Type:
StringOutput only. System assigned unique identifier of the backup.
Enum: Backup::BackupType
BACKUP_TYPE_UNSPECIFIED=>0ON_DEMAND=>1AUTOMATED=>2
Enum: Backup::State
STATE_UNSPECIFIED=>0CREATING=>1ACTIVE=>2DELETING=>3SUSPENDED=>4
Google::Cloud::Memorystore::V1::Memorystore::BackupFile
Backup is consisted of multiple backup files.
Inherits from Protobuf::Message.
Accessors
$msg->file_name()/$msg->file_name($value)Type:
StringOutput only. e.g: <shard-id>.rdb
$msg->size_bytes()/$msg->size_bytes($value)Type:
Int64Output only. Size of the backup file in bytes.
$msg->create_time()/$msg->create_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The time when the backup file was created.
Google::Cloud::Memorystore::V1::Memorystore::CrossInstanceReplicationConfig
Cross instance replication config.
Inherits from Protobuf::Message.
Accessors
$msg->instance_role()/$msg->instance_role($value)Type:
Enum(Google::Cloud::Memorystore::V1::CrossInstanceReplicationConfig::InstanceRole)Required. The role of the instance in cross instance replication.
$msg->primary_instance()/$msg->primary_instance($value)Type:
Message(Google::Cloud::Memorystore::V1::Memorystore::CrossInstanceReplicationConfig::RemoteInstance)Optional. Details of the primary instance that is used as the replication source for this secondary instance.
This field is only set for a secondary instance.
$msg->secondary_instances()/$msg->secondary_instances($value)Type:
Message(Google::Cloud::Memorystore::V1::Memorystore::CrossInstanceReplicationConfig::RemoteInstance)Optional. List of secondary instances that are replicating from this primary instance.
This field is only set for a primary instance.
$msg->update_time()/$msg->update_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The last time cross instance replication config was updated.
$msg->membership()/$msg->membership($value)Type:
Message(Google::Cloud::Memorystore::V1::Memorystore::CrossInstanceReplicationConfig::Membership)Output only. An output only view of all the member instances participating in the cross instance replication. This view will be provided by every member instance irrespective of its instance role(primary or secondary).
A primary instance can provide information about all the secondary instances replicating from it. However, a secondary instance only knows about the primary instance from which it is replicating. However, for scenarios, where the primary instance is unavailable(e.g. regional outage), a Getinstance request can be sent to any other member instance and this field will list all the member instances participating in cross instance replication.
Enum: CrossInstanceReplicationConfig::InstanceRole
INSTANCE_ROLE_UNSPECIFIED=>0NONE=>1PRIMARY=>2SECONDARY=>3
Google::Cloud::Memorystore::V1::Memorystore::TokenAuthUser
Token based auth user for the instance.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringIdentifier. Token based auth user name.
$msg->state()/$msg->state($value)Type:
Enum(Google::Cloud::Memorystore::V1::TokenAuthUser::State)Output only. The state of the token based auth user.
Enum: TokenAuthUser::State
STATE_UNSPECIFIED=>0ACTIVE=>1CREATING=>2UPDATING=>3DELETING=>4
Google::Cloud::Memorystore::V1::Memorystore::AuthToken
Auth token for the instance.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringIdentifier. Name of the auth token.
$msg->token()/$msg->token($value)Type:
StringOutput only. The auth token.
$msg->create_time()/$msg->create_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. Create time of the auth token.
$msg->state()/$msg->state($value)Type:
Enum(Google::Cloud::Memorystore::V1::AuthToken::State)Output only. The state of the auth token.
Enum: AuthToken::State
STATE_UNSPECIFIED=>0ACTIVE=>1CREATING=>2DELETING=>3
Google::Cloud::Memorystore::V1::Memorystore::MaintenancePolicy
Maintenance policy per instance.
Inherits from Protobuf::Message.
Accessors
$msg->create_time()/$msg->create_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The time when the policy was created.
$msg->update_time()/$msg->update_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The time when the policy was updated.
$msg->weekly_maintenance_window()/$msg->weekly_maintenance_window($value)Type:
Message(Google::Cloud::Memorystore::V1::Memorystore::WeeklyMaintenanceWindow)Optional. Maintenance window that is applied to resources covered by this policy. Minimum 1. For the current version, the maximum number of weekly_window is expected to be one.
Google::Cloud::Memorystore::V1::Memorystore::WeeklyMaintenanceWindow
Time window specified for weekly operations.
Inherits from Protobuf::Message.
Accessors
$msg->day()/$msg->day($value)Type:
Enum(Google::Type::DayOfWeek)Optional. Allows to define schedule that runs specified day of the week.
$msg->start_time()/$msg->start_time($value)Type:
Message(Google::Type::Timeofday::TimeOfDay)Optional. Start time of the window in UTC.
Google::Cloud::Memorystore::V1::Memorystore::MaintenanceSchedule
Upcoming maintenance schedule.
Inherits from Protobuf::Message.
Accessors
$msg->start_time()/$msg->start_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The start time of any upcoming scheduled maintenance for this instance.
$msg->end_time()/$msg->end_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The end time of any upcoming scheduled maintenance for this instance.
Google::Cloud::Memorystore::V1::Memorystore::PscAttachmentDetail
Configuration of a service attachment of the cluster, for creating PSC connections.
Inherits from Protobuf::Message.
Accessors
$msg->service_attachment()/$msg->service_attachment($value)Type:
StringOutput only. Service attachment URI which your self-created PscConnection should use as target.
$msg->connection_type()/$msg->connection_type($value)Type:
Enum(Google::Cloud::Memorystore::V1::ConnectionType)Output only. Type of Psc endpoint.
Google::Cloud::Memorystore::V1::Memorystore::PscAutoConnection
Details of consumer resources in a PSC connection.
Inherits from Protobuf::Message.
Accessors
$msg->port()/$msg->port($value)Type:
Int32Optional. port will only be set for Primary/Reader or Discovery endpoint.
$msg->psc_connection_id()/$msg->psc_connection_id($value)Type:
StringOutput only. The PSC connection id of the forwarding rule connected to the service attachment.
$msg->ip_address()/$msg->ip_address($value)Type:
StringOutput only. The IP allocated on the consumer network for the PSC forwarding rule.
$msg->forwarding_rule()/$msg->forwarding_rule($value)Type:
StringOutput only. The URI of the consumer side forwarding rule. Format: projects/{project}/regions/{region}/forwardingRules/{forwarding_rule}
$msg->project_id()/$msg->project_id($value)Type:
StringRequired. The consumer project_id where PSC connections are established. This should be the same project_id that the instance is being created in.
$msg->network()/$msg->network($value)Type:
StringRequired. The network where the PSC endpoints are created, in the form of projects/{project_id}/global/networks/{network_name}.
$msg->service_attachment()/$msg->service_attachment($value)Type:
StringOutput only. The service attachment which is the target of the PSC connection, in the form of projects/{project-id}/regions/{region}/serviceAttachments/{service-attachment-id}.
$msg->psc_connection_status()/$msg->psc_connection_status($value)Type:
Enum(Google::Cloud::Memorystore::V1::PscConnectionStatus)Output only. The status of the PSC connection: whether a connection exists and ACTIVE or it no longer exists. Please note that this value is updated periodically. Please use Private Service Connect APIs for the latest status.
$msg->connection_type()/$msg->connection_type($value)Type:
Enum(Google::Cloud::Memorystore::V1::ConnectionType)Output only. Type of the PSC connection.
$msg->ip_version()/$msg->ip_version($value)Type:
Enum(Google::Cloud::Memorystore::V1::IpVersion)Optional. Immutable. The IP version used for the PSC auto-created endpoint. If not specified, defaults to IPV4.
Google::Cloud::Memorystore::V1::Memorystore::PscConnection
User created Psc connection configuration.
Inherits from Protobuf::Message.
Accessors
$msg->port()/$msg->port($value)Type:
Int32Optional. port will only be set for Primary/Reader or Discovery endpoint.
$msg->psc_connection_id()/$msg->psc_connection_id($value)Type:
StringRequired. The PSC connection id of the forwarding rule connected to the service attachment.
$msg->ip_address()/$msg->ip_address($value)Type:
StringRequired. The IP allocated on the consumer network for the PSC forwarding rule.
$msg->forwarding_rule()/$msg->forwarding_rule($value)Type:
StringRequired. The URI of the consumer side forwarding rule. Format: projects/{project}/regions/{region}/forwardingRules/{forwarding_rule}
$msg->project_id()/$msg->project_id($value)Type:
StringOutput only. The consumer project_id where the forwarding rule is created from.
$msg->network()/$msg->network($value)Type:
StringRequired. The consumer network where the IP address resides, in the form of projects/{project_id}/global/networks/{network_name}.
$msg->service_attachment()/$msg->service_attachment($value)Type:
StringRequired. The service attachment which is the target of the PSC connection, in the form of projects/{project-id}/regions/{region}/serviceAttachments/{service-attachment-id}.
$msg->psc_connection_status()/$msg->psc_connection_status($value)Type:
Enum(Google::Cloud::Memorystore::V1::PscConnectionStatus)Output only. The status of the PSC connection: whether a connection exists and ACTIVE or it no longer exists. Please note that this value is updated periodically. Please use Private Service Connect APIs for the latest status.
$msg->connection_type()/$msg->connection_type($value)Type:
Enum(Google::Cloud::Memorystore::V1::ConnectionType)Output only. Type of the PSC connection.
Google::Cloud::Memorystore::V1::Memorystore::DiscoveryEndpoint
Represents an endpoint for clients to connect to the instance.
Inherits from Protobuf::Message.
Accessors
$msg->address()/$msg->address($value)Type:
StringOutput only. IP address of the exposed endpoint clients connect to.
$msg->port()/$msg->port($value)Type:
Int32Output only. The port number of the exposed endpoint.
$msg->network()/$msg->network($value)Type:
StringOutput only. The network where the IP address of the discovery endpoint will be reserved, in the form of projects/{network_project}/global/networks/{network_name}.
Google::Cloud::Memorystore::V1::Memorystore::PersistenceConfig
Represents persistence configuration for a instance.
Inherits from Protobuf::Message.
Accessors
$msg->mode()/$msg->mode($value)Type:
Enum(Google::Cloud::Memorystore::V1::PersistenceConfig::PersistenceMode)Optional. Current persistence mode.
$msg->rdb_config()/$msg->rdb_config($value)Type:
Message(Google::Cloud::Memorystore::V1::Memorystore::PersistenceConfig::RDBConfig)Optional. RDB configuration. This field will be ignored if mode is not RDB.
$msg->aof_config()/$msg->aof_config($value)Type:
Message(Google::Cloud::Memorystore::V1::Memorystore::PersistenceConfig::AOFConfig)Optional. AOF configuration. This field will be ignored if mode is not AOF.
Enum: PersistenceConfig::PersistenceMode
PERSISTENCE_MODE_UNSPECIFIED=>0DISABLED=>1RDB=>2AOF=>3
Google::Cloud::Memorystore::V1::Memorystore::NodeConfig
Represents configuration for nodes of the instance.
Inherits from Protobuf::Message.
Accessors
$msg->size_gb()/$msg->size_gb($value)Type:
DoubleOutput only. Memory size in GB of the node.
Google::Cloud::Memorystore::V1::Memorystore::ZoneDistributionConfig
Zone distribution configuration for allocation of instance resources.
Inherits from Protobuf::Message.
Accessors
$msg->zone()/$msg->zone($value)Type:
StringOptional. Defines zone where all resources will be allocated with SINGLE_ZONE mode. Ignored for MULTI_ZONE mode.
$msg->zones()/$msg->zones($value)Type:
StringOptional. Specify the zones of a multi-zone instance where Memorystore instance allocates resources. This flag isn't applicable for single-zone instances.
$msg->active_zones()/$msg->active_zones($value)Type:
StringOutput only. The exact list of zones where the instance currently has active VMs.
$msg->mode()/$msg->mode($value)Type:
Enum(Google::Cloud::Memorystore::V1::ZoneDistributionConfig::ZoneDistributionMode)Optional. Current zone distribution mode. Defaults to MULTI_ZONE.
Enum: ZoneDistributionConfig::ZoneDistributionMode
ZONE_DISTRIBUTION_MODE_UNSPECIFIED=>0MULTI_ZONE=>1SINGLE_ZONE=>2
Google::Cloud::Memorystore::V1::Memorystore::RescheduleMaintenanceRequest
Request for rescheduling instance maintenance.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. Name of the instance to reschedule maintenance for: `projects/{project}/locations/{location_id}/instances/{instance}`
$msg->reschedule_type()/$msg->reschedule_type($value)Type:
Enum(Google::Cloud::Memorystore::V1::RescheduleMaintenanceRequest::RescheduleType)Required. If reschedule type is SPECIFIC_TIME, schedule_time must be set.
$msg->schedule_time()/$msg->schedule_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Optional. Timestamp when the maintenance shall be rescheduled to if reschedule_type=SPECIFIC_TIME, in RFC 3339 format. Example: `2012-11-15T16:19:00.094Z`.
Enum: RescheduleMaintenanceRequest::RescheduleType
RESCHEDULE_TYPE_UNSPECIFIED=>0IMMEDIATE=>1SPECIFIC_TIME=>3
Google::Cloud::Memorystore::V1::Memorystore::ListAclPoliciesRequest
Request for `ListAclPolicies`.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The resource name of the ACL policy location using the form: `projects/{project}/locations/{location}` where `location` refers to a Google Cloud region.
$msg->page_size()/$msg->page_size($value)Type:
Int32Optional. The maximum number of items to return.
If not specified, a default value of 1000 will be used by the service. Regardless of the page_size value, the response may include a partial list and a caller should only rely on response's `next_page_token` to determine if there are more ACL policies left to be queried.
The maximum value is 1000; values above 1000 will be coerced to 1000.
$msg->page_token()/$msg->page_token($value)Type:
StringOptional. The `next_page_token` value returned from a previous `ListAclPolicies` request, if any.
Google::Cloud::Memorystore::V1::Memorystore::ListAclPoliciesResponse
Response for `ListAclPolicies`.
Inherits from Protobuf::Message.
Accessors
$msg->acl_policies()/$msg->acl_policies($value)Type:
Message(Google::Cloud::Memorystore::V1::Memorystore::AclPolicy)A list of ACL policies in the project in the specified location, or across all locations.
If the `location` in the parent field of the request is "-", all regions available to the project are queried, and the results aggregated.
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringToken to retrieve the next page of results, or empty if there are no more results in the list.
$msg->unreachable()/$msg->unreachable($value)Type:
StringUnordered list. Locations that could not be reached.
Google::Cloud::Memorystore::V1::Memorystore::ListAclPolicyRevisionsRequest
Request for `ListAclPolicyRevisions`.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The resource name of the ACL policy to list revisions for. Format: "projects/{project}/locations/{location}/aclPolicies/{acl_policy}"
$msg->page_size()/$msg->page_size($value)Type:
Int32Optional. The maximum number of items to return.
$msg->page_token()/$msg->page_token($value)Type:
StringOptional. The `next_page_token` value returned from a previous `ListAclPolicyRevisions` request, if any.
Google::Cloud::Memorystore::V1::Memorystore::ListAclPolicyRevisionsResponse
Response for `ListAclPolicyRevisions`.
Inherits from Protobuf::Message.
Accessors
$msg->acl_policy_revisions()/$msg->acl_policy_revisions($value)Type:
Message(Google::Cloud::Memorystore::V1::Memorystore::AclPolicyRevision)A list of ACL policy revisions.
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringToken to retrieve the next page of results, or empty if there are no more results in the list.
$msg->unreachable()/$msg->unreachable($value)Type:
StringUnordered list. Locations that could not be reached.
Google::Cloud::Memorystore::V1::Memorystore::ListInstancesRequest
Request message for [ListInstances][].
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The parent to list instances from. Format: projects/{project}/locations/{location}
$msg->page_size()/$msg->page_size($value)Type:
Int32Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.
$msg->page_token()/$msg->page_token($value)Type:
StringOptional. A token identifying a page of results the server should return.
$msg->filter()/$msg->filter($value)Type:
StringOptional. Expression for filtering results.
$msg->order_by()/$msg->order_by($value)Type:
StringOptional. Sort results by a defined order. Supported values: "name", "create_time".
Google::Cloud::Memorystore::V1::Memorystore::ListInstancesResponse
Response message for `ListInstances`.
Inherits from Protobuf::Message.
Accessors
$msg->instances()/$msg->instances($value)Type:
Message(Google::Cloud::Memorystore::V1::Memorystore::Instance)If the {location} requested was "-" the response contains a list of instances from all locations. Instances in unreachable locations will be omitted.
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringA token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
$msg->unreachable()/$msg->unreachable($value)Type:
StringLocations that could not be reached.
Google::Cloud::Memorystore::V1::Memorystore::GetAclPolicyRequest
Request for `GetAclPolicy`.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. Memorystore ACL policy resource name using the form: `projects/{project}/locations/{location}/aclPolicies/{acl_policy}` where `location` refers to a Google Cloud region.
Google::Cloud::Memorystore::V1::Memorystore::GetAclPolicyRevisionRequest
Request for `GetAclPolicyRevision`.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. Memorystore ACL policy revision resource name using the form: `projects/{project}/locations/{location}/aclPolicies/{acl_policy}/revisions/{revision}` where `location` refers to a Google Cloud region.
Google::Cloud::Memorystore::V1::Memorystore::GetInstanceRequest
Request message for [GetInstance][].
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The name of the instance to retrieve. Format: projects/{project}/locations/{location}/instances/{instance}
Google::Cloud::Memorystore::V1::Memorystore::CreateAclPolicyRequest
Request for `CreateAclPolicy`.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The resource name of the ACL policy location using the form: `projects/{project}/locations/{location}` where `location` refers to a Google Cloud region.
$msg->acl_policy_id()/$msg->acl_policy_id($value)Type:
StringRequired. The logical name of the ACL policy in the customer project with the following restrictions:
* Must contain only lowercase letters, numbers, and hyphens. * Must start with a letter. * Must be between 1-63 characters. * Must end with a number or a letter. * Must be unique within the customer project / location
$msg->acl_policy()/$msg->acl_policy($value)Type:
Message(Google::Cloud::Memorystore::V1::Memorystore::AclPolicy)Required. The ACL policy that is to be created.
$msg->request_id()/$msg->request_id($value)Type:
StringOptional. Idempotent request UUID. .
Google::Cloud::Memorystore::V1::Memorystore::CreateInstanceRequest
Request message for [CreateInstance][].
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The parent resource where this instance will be created. Format: projects/{project}/locations/{location}
$msg->instance_id()/$msg->instance_id($value)Type:
StringRequired. The ID to use for the instance, which will become the final component of the instance's resource name.
This value is subject to the following restrictions:
* Must be 4-63 characters in length * Must begin with a letter or digit * Must contain only lowercase letters, digits, and hyphens * Must not end with a hyphen * Must be unique within a location
$msg->instance()/$msg->instance($value)Type:
Message(Google::Cloud::Memorystore::V1::Memorystore::Instance)Required. The instance to create.
$msg->request_id()/$msg->request_id($value)Type:
StringOptional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
Google::Cloud::Memorystore::V1::Memorystore::UpdateAclPolicyRequest
Request for `UpdateAclPolicy`.
Inherits from Protobuf::Message.
Accessors
$msg->acl_policy()/$msg->acl_policy($value)Type:
Message(Google::Cloud::Memorystore::V1::Memorystore::AclPolicy)Required. The ACL policy to be updated.
$msg->update_mask()/$msg->update_mask($value)Type:
Message(Google::Protobuf::FieldMask::FieldMask)Optional. Mask of fields to be updated. At least one path must be supplied in this field. The elements of the repeated paths field may only include these fields from `AclPolicy`:
* `rules`$msg->request_id()/$msg->request_id($value)Type:
StringOptional. Idempotent request UUID.
Google::Cloud::Memorystore::V1::Memorystore::UpdateInstanceRequest
Request message for [UpdateInstance][].
Inherits from Protobuf::Message.
Accessors
$msg->update_mask()/$msg->update_mask($value)Type:
Message(Google::Protobuf::FieldMask::FieldMask)Optional. The list of fields to be updated on the instance. At least one field must be specified.
$msg->instance()/$msg->instance($value)Type:
Message(Google::Cloud::Memorystore::V1::Memorystore::Instance)Required. The instance to update.
$msg->request_id()/$msg->request_id($value)Type:
StringOptional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
Google::Cloud::Memorystore::V1::Memorystore::DeleteAclPolicyRequest
Request for `DeleteAclPolicy`.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. Memorystore ACL policy resource name using the form: `projects/{project}/locations/{location}/aclPolicies/{acl_policy_id}` where `location` refers to a Google Cloud region.
$msg->request_id()/$msg->request_id($value)Type:
StringOptional. Idempotent request UUID.
$msg->etag()/$msg->etag($value)Type:
StringOptional. Etag of the ACL policy. If this is different from the server's etag, the request will fail with an ABORTED error.
Google::Cloud::Memorystore::V1::Memorystore::DeleteInstanceRequest
Request message for [DeleteInstance][].
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The name of the instance to delete. Format: projects/{project}/locations/{location}/instances/{instance}
$msg->request_id()/$msg->request_id($value)Type:
StringOptional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
Google::Cloud::Memorystore::V1::Memorystore::ListBackupCollectionsRequest
Request for `ListBackupCollections`.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The resource name of the backupCollection location using the form: `projects/{project_id}/locations/{location_id}` where `location_id` refers to a Google Cloud region.
$msg->page_size()/$msg->page_size($value)Type:
Int32Optional. The maximum number of items to return.
If not specified, a default value of 1000 will be used by the service. Regardless of the page_size value, the response may include a partial list and a caller should only rely on response's `next_page_token` to determine if there are more clusters left to be queried.
$msg->page_token()/$msg->page_token($value)Type:
StringOptional. The `next_page_token` value returned from a previous `ListBackupCollections` request, if any.
Google::Cloud::Memorystore::V1::Memorystore::ListBackupCollectionsResponse
Response for `ListBackupCollections`.
Inherits from Protobuf::Message.
Accessors
$msg->backup_collections()/$msg->backup_collections($value)Type:
Message(Google::Cloud::Memorystore::V1::Memorystore::BackupCollection)A list of backupCollections in the project.
If the `location_id` in the parent field of the request is "-", all regions available to the project are queried, and the results aggregated. If in such an aggregated query a location is unavailable, a placeholder backupCollection entry is included in the response with the `name` field set to a value of the form `projects/{project_id}/locations/{location_id}/backupCollections/`- and the `status` field set to ERROR and `status_message` field set to "location not available for ListBackupCollections".
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringToken to retrieve the next page of results, or empty if there are no more results in the list.
$msg->unreachable()/$msg->unreachable($value)Type:
StringLocations that could not be reached.
Google::Cloud::Memorystore::V1::Memorystore::GetBackupCollectionRequest
Request for `GetBackupCollection`.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. Instance backupCollection resource name using the form: `projects/{project_id}/locations/{location_id}/backupCollections/{backup_collection_id}` where `location_id` refers to a Google Cloud region.
Google::Cloud::Memorystore::V1::Memorystore::ListBackupsRequest
Request for `ListBackups`.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The resource name of the backupCollection using the form: `projects/{project_id}/locations/{location_id}/backupCollections/{backup_collection_id}`
$msg->page_size()/$msg->page_size($value)Type:
Int32Optional. The maximum number of items to return.
If not specified, a default value of 1000 will be used by the service. Regardless of the page_size value, the response may include a partial list and a caller should only rely on response's `next_page_token` to determine if there are more clusters left to be queried.
$msg->page_token()/$msg->page_token($value)Type:
StringOptional. The `next_page_token` value returned from a previous `ListBackupCollections` request, if any.
Google::Cloud::Memorystore::V1::Memorystore::ListBackupsResponse
Response for `ListBackups`.
Inherits from Protobuf::Message.
Accessors
$msg->backups()/$msg->backups($value)Type:
Message(Google::Cloud::Memorystore::V1::Memorystore::Backup)A list of backups in the project.
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringToken to retrieve the next page of results, or empty if there are no more results in the list.
$msg->unreachable()/$msg->unreachable($value)Type:
StringBackups that could not be reached.
Google::Cloud::Memorystore::V1::Memorystore::GetBackupRequest
Request for `GetBackup`.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. Instance backup resource name using the form: `projects/{project_id}/locations/{location_id}/backupCollections/{backup_collection_id}/backups/{backup_id}`
Google::Cloud::Memorystore::V1::Memorystore::DeleteBackupRequest
Request for `DeleteBackup`.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. Instance backup resource name using the form: `projects/{project_id}/locations/{location_id}/backupCollections/{backup_collection_id}/backups/{backup_id}`
$msg->request_id()/$msg->request_id($value)Type:
StringOptional. Idempotent request UUID.
Google::Cloud::Memorystore::V1::Memorystore::ExportBackupRequest
Request for `ExportBackup`.
Inherits from Protobuf::Message.
Accessors
$msg->gcs_bucket()/$msg->gcs_bucket($value)Type:
StringGoogle Cloud Storage bucket, like "my-bucket".
$msg->name()/$msg->name($value)Type:
StringRequired. Instance backup resource name using the form: `projects/{project_id}/locations/{location_id}/backupCollections/{backup_collection_id}/backups/{backup_id}`
Google::Cloud::Memorystore::V1::Memorystore::BackupInstanceRequest
Request for `BackupInstance`.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. Instance resource name using the form: `projects/{project_id}/locations/{location_id}/instances/{instance_id}` where `location_id` refers to a Google Cloud region.
$msg->ttl()/$msg->ttl($value)Type:
Message(Google::Protobuf::Duration::Duration)Optional. TTL for the backup to expire. Value range is 1 day to 100 years. If not specified, the default value is 100 years.
$msg->backup_id()/$msg->backup_id($value)Type:
StringOptional. The id of the backup to be created. If not specified, the default value ([YYYYMMDDHHMMSS]_[Shortened Instance UID] is used.
Google::Cloud::Memorystore::V1::Memorystore::GetCertificateAuthorityRequest
Request message for `GetCertificateAuthority`.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The name of the certificate authority. Format: projects/{project}/locations/{location}/instances/{instance}/certificateAuthority
Google::Cloud::Memorystore::V1::Memorystore::ListTokenAuthUsersRequest
Request message for `ListTokenAuthUsers`.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The parent to list token auth users from. Format: projects/{project}/locations/{location}/instances/{instance}
$msg->page_size()/$msg->page_size($value)Type:
Int32Optional. The maximum number of items to return. The maximum value is 1000; values above 1000 will be coerced to 1000. If not specified, a default value of 1000 will be used by the service. Regardless of the page_size value, the response may include a partial list and a caller should only rely on response's `next_page_token` to determine if there are more token auth users left to be queried.
$msg->page_token()/$msg->page_token($value)Type:
StringOptional. The `next_page_token` value returned from a previous `ListTokenAuthUsers` request, if any.
$msg->filter()/$msg->filter($value)Type:
StringOptional. Expression for filtering results.
$msg->order_by()/$msg->order_by($value)Type:
StringOptional. Sort results by a defined order.
Google::Cloud::Memorystore::V1::Memorystore::ListTokenAuthUsersResponse
Response message for `ListTokenAuthUsers`.
Inherits from Protobuf::Message.
Accessors
$msg->token_auth_users()/$msg->token_auth_users($value)Type:
Message(Google::Cloud::Memorystore::V1::Memorystore::TokenAuthUser)A list of token auth users in the project.
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringToken to retrieve the next page of results, or empty if there are no more results in the list.
$msg->unreachable()/$msg->unreachable($value)Type:
StringUnordered list. Token auth users that could not be reached.
Google::Cloud::Memorystore::V1::Memorystore::GetTokenAuthUserRequest
Request message for `GetTokenAuthUser`.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The name of token auth user for a basic auth enabled instance. Format: projects/{project}/locations/{location}/instances/{instance}/tokenAuthUsers/{token_auth_user}
Google::Cloud::Memorystore::V1::Memorystore::ListAuthTokensRequest
Request message for `ListAuthTokens`.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The parent to list auth tokens from. Format: projects/{project}/locations/{location}/instances/{instance}/tokenAuthUsers/{token_auth_user}
$msg->page_size()/$msg->page_size($value)Type:
Int32Optional. The maximum number of items to return. The maximum value is 1000; values above 1000 will be coerced to 1000.
If not specified, a default value of 1000 will be used by the service. Regardless of the page_size value, the response may include a partial list and a caller should only rely on response's `next_page_token` to determine if there are more auth tokens left to be queried.
$msg->page_token()/$msg->page_token($value)Type:
StringOptional. The `next_page_token` value returned from a previous `ListAuthTokens` request, if any.
$msg->filter()/$msg->filter($value)Type:
StringOptional. Expression for filtering results.
$msg->order_by()/$msg->order_by($value)Type:
StringOptional. Sort results by a defined order.
Google::Cloud::Memorystore::V1::Memorystore::ListAuthTokensResponse
Response message for `ListAuthTokens`.
Inherits from Protobuf::Message.
Accessors
$msg->auth_tokens()/$msg->auth_tokens($value)Type:
Message(Google::Cloud::Memorystore::V1::Memorystore::AuthToken)A list of auth tokens in the project.
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringToken to retrieve the next page of results, or empty if there are no more results in the list.
$msg->unreachable()/$msg->unreachable($value)Type:
StringUnordered list. Auth tokens that could not be reached.
Google::Cloud::Memorystore::V1::Memorystore::GetAuthTokenRequest
Request message for `GetAuthToken`.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The name of token auth user for a token auth enabled instance. Format: projects/{project}/locations/{location}/instances/{instance}/tokenAuthUsers/{token_auth_user}/authTokens/{auth_token}
Google::Cloud::Memorystore::V1::Memorystore::AddTokenAuthUserRequest
Request message for `AddTokenAuthUser`.
Inherits from Protobuf::Message.
Accessors
$msg->instance()/$msg->instance($value)Type:
StringRequired. The instance resource that this token auth user will be added for. Format: projects/{project}/locations/{location}/instances/{instance}
$msg->token_auth_user()/$msg->token_auth_user($value)Type:
StringRequired. The name of the token auth user to add.
Google::Cloud::Memorystore::V1::Memorystore::DeleteTokenAuthUserRequest
Request message for `DeleteTokenAuthUser`.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The name of the token auth user to delete. Format: projects/{project}/locations/{location}/instances/{instance}/tokenAuthUsers/{token_auth_user}
$msg->request_id()/$msg->request_id($value)Type:
StringOptional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
$msg->force()/$msg->force($value)Type:
BoolOptional. If set to true, any auth tokens from this user will also be deleted. Otherwise, the request will only work if the user has no auth tokens.
Google::Cloud::Memorystore::V1::Memorystore::AddAuthTokenRequest
Request message for `AddAuthToken`.
Inherits from Protobuf::Message.
Accessors
$msg->token_auth_user()/$msg->token_auth_user($value)Type:
StringRequired. The name of the token auth user resource that this token will be added for.
$msg->auth_token()/$msg->auth_token($value)Type:
Message(Google::Cloud::Memorystore::V1::Memorystore::AuthToken)Required. The auth token to add.
Google::Cloud::Memorystore::V1::Memorystore::DeleteAuthTokenRequest
Request message for `DeleteAuthToken`.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The name of the token auth user resource that this token will be deleted from. Format: projects/{project}/locations/{location}/instances/{instance}/tokenAuthUsers/{token_auth_user}/authTokens/{name}
Google::Cloud::Memorystore::V1::Memorystore::CertificateAuthority
A certificate authority for an instance.
Inherits from Protobuf::Message.
Accessors
$msg->managed_server_ca()/$msg->managed_server_ca($value)Type:
Message(Google::Cloud::Memorystore::V1::Memorystore::CertificateAuthority::ManagedCertificateAuthority)A managed server certificate authority.
$msg->name()/$msg->name($value)Type:
StringIdentifier. Unique name of the certificate authority. Format: projects/{project}/locations/{location}/instances/{instance}
Google::Cloud::Memorystore::V1::Memorystore::SharedRegionalCertificateAuthority
Shared regional certificate authority for an instance.
Inherits from Protobuf::Message.
Accessors
$msg->managed_server_ca()/$msg->managed_server_ca($value)Type:
Message(Google::Cloud::Memorystore::V1::Memorystore::SharedRegionalCertificateAuthority::RegionalManagedCertificateAuthority)CA certificate chains for memorystore managed server authentication.
$msg->name()/$msg->name($value)Type:
StringIdentifier. Unique name of the resource in this scope including project and location using the form: `projects/{project}/locations/{location}/sharedRegionalCertificateAuthority`
Google::Cloud::Memorystore::V1::Memorystore::GetSharedRegionalCertificateAuthorityRequest
Request for `GetSharedRegionalCertificateAuthority`.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. Regional certificate authority resource name using the form: `projects/{project}/locations/{location}/sharedRegionalCertificateAuthority` where `location_id` refers to a Google Cloud region.
Google::Cloud::Memorystore::V1::Memorystore::OperationMetadata
Represents the metadata of a long-running operation.
Inherits from Protobuf::Message.
Accessors
$msg->create_time()/$msg->create_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The time the operation was created.
$msg->end_time()/$msg->end_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The time the operation finished running.
$msg->target()/$msg->target($value)Type:
StringOutput only. Server-defined resource path for the target of the operation.
$msg->verb()/$msg->verb($value)Type:
StringOutput only. Name of the verb executed by the operation.
$msg->status_message()/$msg->status_message($value)Type:
StringOutput only. Human-readable status of the operation, if any.
$msg->requested_cancellation()/$msg->requested_cancellation($value)Type:
BoolOutput only. Identifies whether the user has requested cancellation of the operation. Operations that have been cancelled successfully have [Operation.error][] value with a [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to `Code.CANCELLED`.
$msg->api_version()/$msg->api_version($value)Type:
StringOutput only. API version used to start the operation.
Google::Cloud::Memorystore::V1::Memorystore::EncryptionInfo
EncryptionInfo describes the encryption information of a cluster.
Inherits from Protobuf::Message.
Accessors
$msg->encryption_type()/$msg->encryption_type($value)Type:
Enum(Google::Cloud::Memorystore::V1::EncryptionInfo::Type)Output only. Type of encryption.
$msg->kms_key_versions()/$msg->kms_key_versions($value)Type:
StringOutput only. KMS key versions that are being used to protect the data at-rest.
$msg->kms_key_primary_state()/$msg->kms_key_primary_state($value)Type:
Enum(Google::Cloud::Memorystore::V1::EncryptionInfo::KmsKeyState)Output only. The state of the primary version of the KMS key perceived by the system. This field is not populated in backups.
$msg->last_update_time()/$msg->last_update_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The most recent time when the encryption info was updated.
Enum: EncryptionInfo::Type
TYPE_UNSPECIFIED=>0GOOGLE_DEFAULT_ENCRYPTION=>1CUSTOMER_MANAGED_ENCRYPTION=>2
Enum: EncryptionInfo::KmsKeyState
KMS_KEY_STATE_UNSPECIFIED=>0ENABLED=>1PERMISSION_DENIED=>2DISABLED=>3DESTROYED=>4DESTROY_SCHEDULED=>5EKM_KEY_UNREACHABLE_DETECTED=>6BILLING_DISABLED=>7UNKNOWN_FAILURE=>8
SEE ALSO
Protobuf, Protobuf::Message, Google::Cloud::Memorystore::V1::Memorystore::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.