Service Client: Google::Cloud::Memorystore::V1beta::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::V1beta::Memorystore - Compiled Protocol Buffers messages for google/cloud/memorystore/v1beta/memorystore.proto

SYNOPSIS

use Google::Cloud::Memorystore::V1beta::Memorystore;

my $msg = Google::Cloud::Memorystore::V1beta::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::V1beta::Memorystore::Instance->parse($bytes);

# Canonical ProtoJSON
my $json = $msg->to_json();

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/memorystore/v1beta/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::V1beta::Memorystore::Instance

A Memorystore instance.

Inherits from Protobuf::Message.

Accessors

  • $msg->gcs_source() / $msg->gcs_source($value)

    Type: Message (Google::Cloud::Memorystore::V1beta::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::V1beta::Memorystore::Instance::ManagedBackupSource)

    Optional. Immutable. Backups that generated and managed by memorystore service.

  • $msg->name() / $msg->name($value)

    Type: String

    Identifier. 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::V1beta::Memorystore::Instance::LabelsEntry)

    Optional. Labels to represent user-provided metadata.

  • $msg->state() / $msg->state($value)

    Type: Enum (Google::Cloud::Memorystore::V1beta::Instance::State)

    Output only. Current state of the instance.

  • $msg->state_info() / $msg->state_info($value)

    Type: Message (Google::Cloud::Memorystore::V1beta::Memorystore::Instance::StateInfo)

    Output only. Additional information about the state of the instance.

  • $msg->uid() / $msg->uid($value)

    Type: String

    Output only. System assigned, unique identifier for the instance.

  • $msg->replica_count() / $msg->replica_count($value)

    Type: Int32

    Optional. 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::V1beta::Instance::AuthorizationMode)

    Optional. Immutable. Authorization mode of the instance.

  • $msg->transit_encryption_mode() / $msg->transit_encryption_mode($value)

    Type: Enum (Google::Cloud::Memorystore::V1beta::Instance::TransitEncryptionMode)

    Optional. Immutable. In-transit encryption mode of the instance.

  • $msg->shard_count() / $msg->shard_count($value)

    Type: Int32

    Optional. Number of shards for the instance.

  • $msg->discovery_endpoints() / $msg->discovery_endpoints($value)

    Type: Message (Google::Cloud::Memorystore::V1beta::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::V1beta::Instance::NodeType)

    Optional. Machine type for individual nodes of the instance.

  • $msg->persistence_config() / $msg->persistence_config($value)

    Type: Message (Google::Cloud::Memorystore::V1beta::Memorystore::PersistenceConfig)

    Optional. Persistence configuration of the instance.

  • $msg->engine_version() / $msg->engine_version($value)

    Type: String

    Optional. Engine version of the instance.

  • $msg->engine_configs() / $msg->engine_configs($value)

    Type: Message (Google::Cloud::Memorystore::V1beta::Memorystore::Instance::EngineConfigsEntry)

    Optional. User-provided engine configurations for the instance.

  • $msg->node_config() / $msg->node_config($value)

    Type: Message (Google::Cloud::Memorystore::V1beta::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::V1beta::Memorystore::ZoneDistributionConfig)

    Optional. Immutable. Zone distribution configuration of the instance for node allocation.

  • $msg->deletion_protection_enabled() / $msg->deletion_protection_enabled($value)

    Type: Bool

    Optional. If set to true deletion of the instance will fail.

  • $msg->psc_auto_connections() / $msg->psc_auto_connections($value)

    Type: Message (Google::Cloud::Memorystore::V1beta::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::V1beta::Memorystore::PscAttachmentDetail)

    Output only. Service attachment details to configure PSC connections.

  • $msg->endpoints() / $msg->endpoints($value)

    Type: Message (Google::Cloud::Memorystore::V1beta::Memorystore::Instance::InstanceEndpoint)

    Optional. Endpoints for the instance.

  • $msg->mode() / $msg->mode($value)

    Type: Enum (Google::Cloud::Memorystore::V1beta::Instance::Mode)

    Optional. Immutable. The mode config for the instance.

  • $msg->simulate_maintenance_event() / $msg->simulate_maintenance_event($value)

    Type: Bool

    Optional. Input only. Simulate a maintenance event.

  • $msg->ondemand_maintenance() / $msg->ondemand_maintenance($value)

    Type: Bool

    Optional. Input only. Ondemand maintenance for the instance.

  • $msg->satisfies_pzs() / $msg->satisfies_pzs($value)

    Type: Bool

    Optional. Output only. Reserved for future use.

  • $msg->satisfies_pzi() / $msg->satisfies_pzi($value)

    Type: Bool

    Optional. Output only. Reserved for future use.

  • $msg->maintenance_policy() / $msg->maintenance_policy($value)

    Type: Message (Google::Cloud::Memorystore::V1beta::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::V1beta::Memorystore::MaintenanceSchedule)

    Output only. Published maintenance schedule.

  • $msg->cross_instance_replication_config() / $msg->cross_instance_replication_config($value)

    Type: Message (Google::Cloud::Memorystore::V1beta::Memorystore::CrossInstanceReplicationConfig)

    Optional. The config for cross instance replication.

  • $msg->async_instance_endpoints_deletion_enabled() / $msg->async_instance_endpoints_deletion_enabled($value)

    Type: Bool

    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.

  • $msg->kms_key() / $msg->kms_key($value)

    Type: String

    Optional. 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::V1beta::Memorystore::EncryptionInfo)

    Output only. Encryption information of the data at rest of the cluster.

  • $msg->backup_collection() / $msg->backup_collection($value)

    Type: String

    Output 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::V1beta::Memorystore::AutomatedBackupConfig)

    Optional. The automated backup config for the instance.

  • $msg->maintenance_version() / $msg->maintenance_version($value)

    Type: String

    Optional. 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: String

    Output only. This field represents the actual maintenance version of the instance.

  • $msg->available_maintenance_versions() / $msg->available_maintenance_versions($value)

    Type: String

    Output 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: Bool

    Optional. Immutable. Deprecated, do not use.

  • $msg->server_ca_mode() / $msg->server_ca_mode($value)

    Type: Enum (Google::Cloud::Memorystore::V1beta::Instance::ServerCaMode)

    Optional. Immutable. The Server CA mode for the instance.

  • $msg->server_ca_pool() / $msg->server_ca_pool($value)

    Type: String

    Optional. 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: Bool

    Optional. Input only. Rotate the server certificates.

  • $msg->migration_config() / $msg->migration_config($value)

    Type: Message (Google::Cloud::Memorystore::V1beta::Memorystore::MigrationConfig)

    Output only. Migration config for the instance.

  • $msg->acl_policy() / $msg->acl_policy($value)

    Type: String

    Optional. 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::V1beta::Memorystore::AclPolicyInfo)

    Output only. Details of the applied ACL policy.

Enum: Instance::State

  • STATE_UNSPECIFIED => 0

  • CREATING => 1

  • ACTIVE => 2

  • UPDATING => 3

  • DELETING => 4

  • MIGRATING => 6

Enum: Instance::AuthorizationMode

  • AUTHORIZATION_MODE_UNSPECIFIED => 0

  • AUTH_DISABLED => 1

  • IAM_AUTH => 2

  • TOKEN_AUTH => 3

Enum: Instance::TransitEncryptionMode

  • TRANSIT_ENCRYPTION_MODE_UNSPECIFIED => 0

  • TRANSIT_ENCRYPTION_DISABLED => 1

  • SERVER_AUTHENTICATION => 2

Enum: Instance::NodeType

  • NODE_TYPE_UNSPECIFIED => 0

  • SHARED_CORE_NANO => 1

  • HIGHMEM_MEDIUM => 2

  • HIGHMEM_XLARGE => 3

  • STANDARD_SMALL => 4

  • CUSTOM_MICRO => 5

  • CUSTOM_MINI => 6

  • HIGHCPU_MEDIUM => 7

  • STANDARD_LARGE => 8

  • HIGHMEM_2XLARGE => 9

  • CUSTOM_PICO => 10

Enum: Instance::Mode

  • MODE_UNSPECIFIED => 0

  • STANDALONE => 1

  • CLUSTER => 2

  • CLUSTER_DISABLED => 4

Enum: Instance::ServerCaMode

  • SERVER_CA_MODE_UNSPECIFIED => 0

  • GOOGLE_MANAGED_PER_INSTANCE_CA => 1

  • GOOGLE_MANAGED_SHARED_CA => 2

  • CUSTOMER_MANAGED_CAS_CA => 3

  • SERVER_CA_MODE_GOOGLE_MANAGED_PER_INSTANCE_CA => 1

  • SERVER_CA_MODE_GOOGLE_MANAGED_SHARED_CA => 2

  • SERVER_CA_MODE_CUSTOMER_MANAGED_CAS_CA => 3

Google::Cloud::Memorystore::V1beta::Memorystore::AclPolicyInfo

Details of the applied ACL policy.

Inherits from Protobuf::Message.

Accessors

  • $msg->applied_acl_policy() / $msg->applied_acl_policy($value)

    Type: String

    Output 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: String

    Output 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: Int64

    Output 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::V1beta::Memorystore::AclPolicyRevisionStatus)

    Output only. A list of status for various revisions of this ACL policy on the instance.

Google::Cloud::Memorystore::V1beta::Memorystore::StartMigrationRequest

Request for `StartMigration`.

Inherits from Protobuf::Message.

Accessors

  • $msg->self_managed_source() / $msg->self_managed_source($value)

    Type: Message (Google::Cloud::Memorystore::V1beta::Memorystore::SelfManagedSource)

    Required. Configuration for migrating from a self-managed Valkey/Redis instance

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The resource name of the instance to start migration on. Format: projects/{project}/locations/{location}/instances/{instance}

Google::Cloud::Memorystore::V1beta::Memorystore::FinishMigrationRequest

Request for `FinishMigration`.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The resource name of the instance to finalize migration on. Format: projects/{project}/locations/{location}/instances/{instance}

  • $msg->force() / $msg->force($value)

    Type: Bool

    Optional. 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::V1beta::Memorystore::SelfManagedSource

Details of the self-managed source instance.

Inherits from Protobuf::Message.

Accessors

  • $msg->ip_address() / $msg->ip_address($value)

    Type: String

    Required. 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: Int32

    Required. 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: String

    Required. 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::V1beta::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::V1beta::Memorystore::SelfManagedSource)

    Output only. Configuration for migrating from a self-managed Valkey/Redis instance

  • $msg->state() / $msg->state($value)

    Type: Enum (Google::Cloud::Memorystore::V1beta::MigrationConfig::State)

    Output only. Migration state of the instance.

  • $msg->force_finish_migration() / $msg->force_finish_migration($value)

    Type: Bool

    Output 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 => 0

  • ROLLED_BACK => 1

  • ROLLING_BACK => 5

  • REPLICATION_ESTABLISHED => 6

  • MIGRATED => 4

Google::Cloud::Memorystore::V1beta::Memorystore::AclPolicy

The ACL policy resource.

Inherits from Protobuf::Message.

Accessors

Enum: AclPolicy::State

  • STATE_UNSPECIFIED => 0

  • ACTIVE => 1

  • UPDATING => 2

  • DELETING => 3

Google::Cloud::Memorystore::V1beta::Memorystore::AclPolicyRevision

The ACL policy revision resource.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Identifier. 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: Int64

    Output only. The revision number of the ACL policy revision.

  • $msg->snapshot() / $msg->snapshot($value)

    Type: Message (Google::Cloud::Memorystore::V1beta::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: String

    Output only. A list of instances that are attached to this ACL policy revision.

Google::Cloud::Memorystore::V1beta::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: String

    Output 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: Int64

    Output only. The revision number of the ACL policy revision this status refers to.

  • $msg->state() / $msg->state($value)

    Type: Enum (Google::Cloud::Memorystore::V1beta::AclPolicyRevisionStatus::State)

    Output only. AclPolicyRevision state.

  • $msg->error_message() / $msg->error_message($value)

    Type: String

    Output only. Human-readable error message providing more details for FAILED states.

Enum: AclPolicyRevisionStatus::State

  • STATE_UNSPECIFIED => 0

  • APPLYING => 1

  • APPLIED => 2

  • FAILED => 3

Google::Cloud::Memorystore::V1beta::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: String

    Output 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::V1beta::Memorystore::AclPolicyRevisionStatus)

    Output only. A list of status for various revisions of this ACL policy on the instance.

Google::Cloud::Memorystore::V1beta::Memorystore::AclRule

A single ACL rule which defines the policy for a user.

Inherits from Protobuf::Message.

Accessors

  • $msg->username() / $msg->username($value)

    Type: String

    Required. 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: String

    Required. 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::V1beta::Memorystore::AutomatedBackupConfig

The automated backup config for an instance.

Inherits from Protobuf::Message.

Accessors

Enum: AutomatedBackupConfig::AutomatedBackupMode

  • AUTOMATED_BACKUP_MODE_UNSPECIFIED => 0

  • DISABLED => 1

  • ENABLED => 2

Google::Cloud::Memorystore::V1beta::Memorystore::BackupCollection

BackupCollection of an instance.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Identifier. Full resource path of the backup collection.

  • $msg->instance_uid() / $msg->instance_uid($value)

    Type: String

    Output only. The instance uid of the backup collection.

  • $msg->instance() / $msg->instance($value)

    Type: String

    Output 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: String

    Output only. The KMS key used to encrypt the backups under this backup collection.

  • $msg->uid() / $msg->uid($value)

    Type: String

    Output 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: Int64

    Output only. Total size of all backups in the backup collection.

  • $msg->total_backup_count() / $msg->total_backup_count($value)

    Type: Int64

    Output 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::V1beta::Memorystore::Backup

Backup of an instance.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Identifier. 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: String

    Output only. Instance resource path of this backup.

  • $msg->instance_uid() / $msg->instance_uid($value)

    Type: String

    Output only. Instance uid of this backup.

  • $msg->total_size_bytes() / $msg->total_size_bytes($value)

    Type: Int64

    Output 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: String

    Output only. valkey-7.5/valkey-8.0, etc.

  • $msg->backup_files() / $msg->backup_files($value)

    Type: Message (Google::Cloud::Memorystore::V1beta::Memorystore::BackupFile)

    Output only. List of backup files of the backup.

  • $msg->node_type() / $msg->node_type($value)

    Type: Enum (Google::Cloud::Memorystore::V1beta::Instance::NodeType)

    Output only. Node type of the instance.

  • $msg->replica_count() / $msg->replica_count($value)

    Type: Int32

    Output only. Number of replicas for the instance.

  • $msg->shard_count() / $msg->shard_count($value)

    Type: Int32

    Output only. Number of shards for the instance.

  • $msg->backup_type() / $msg->backup_type($value)

    Type: Enum (Google::Cloud::Memorystore::V1beta::Backup::BackupType)

    Output only. Type of the backup.

  • $msg->state() / $msg->state($value)

    Type: Enum (Google::Cloud::Memorystore::V1beta::Backup::State)

    Output only. State of the backup.

  • $msg->encryption_info() / $msg->encryption_info($value)

    Type: Message (Google::Cloud::Memorystore::V1beta::Memorystore::EncryptionInfo)

    Output only. Encryption information of the backup.

  • $msg->uid() / $msg->uid($value)

    Type: String

    Output only. System assigned unique identifier of the backup.

Enum: Backup::BackupType

  • BACKUP_TYPE_UNSPECIFIED => 0

  • ON_DEMAND => 1

  • AUTOMATED => 2

Enum: Backup::State

  • STATE_UNSPECIFIED => 0

  • CREATING => 1

  • ACTIVE => 2

  • DELETING => 3

  • SUSPENDED => 4

Google::Cloud::Memorystore::V1beta::Memorystore::BackupFile

Backup is consisted of multiple backup files.

Inherits from Protobuf::Message.

Accessors

  • $msg->file_name() / $msg->file_name($value)

    Type: String

    Output only. e.g: <shard-id>.rdb

  • $msg->size_bytes() / $msg->size_bytes($value)

    Type: Int64

    Output 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::V1beta::Memorystore::CrossInstanceReplicationConfig

Cross instance replication config.

Inherits from Protobuf::Message.

Accessors

Enum: CrossInstanceReplicationConfig::InstanceRole

  • INSTANCE_ROLE_UNSPECIFIED => 0

  • NONE => 1

  • PRIMARY => 2

  • SECONDARY => 3

Google::Cloud::Memorystore::V1beta::Memorystore::TokenAuthUser

Token based auth user for the instance.

Inherits from Protobuf::Message.

Accessors

Enum: TokenAuthUser::State

  • STATE_UNSPECIFIED => 0

  • ACTIVE => 1

  • CREATING => 2

  • UPDATING => 3

  • DELETING => 4

Google::Cloud::Memorystore::V1beta::Memorystore::AuthToken

Auth token for the instance.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Identifier. Name of the auth token.

  • $msg->token() / $msg->token($value)

    Type: String

    Output 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::V1beta::AuthToken::State)

    Output only. The state of the auth token.

Enum: AuthToken::State

  • STATE_UNSPECIFIED => 0

  • ACTIVE => 1

  • CREATING => 2

  • DELETING => 3

Google::Cloud::Memorystore::V1beta::Memorystore::MaintenancePolicy

Maintenance policy per instance.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Memorystore::V1beta::Memorystore::WeeklyMaintenanceWindow

Time window specified for weekly operations.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Memorystore::V1beta::Memorystore::MaintenanceSchedule

Upcoming maintenance schedule.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Memorystore::V1beta::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: String

    Output 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::V1beta::ConnectionType)

    Output only. Type of Psc endpoint.

Google::Cloud::Memorystore::V1beta::Memorystore::PscAutoConnection

Details of consumer resources in a PSC connection.

Inherits from Protobuf::Message.

Accessors

  • $msg->port() / $msg->port($value)

    Type: Int32

    Optional. port will only be set for Primary/Reader or Discovery endpoint.

  • $msg->psc_connection_id() / $msg->psc_connection_id($value)

    Type: String

    Output only. The PSC connection id of the forwarding rule connected to the service attachment.

  • $msg->ip_address() / $msg->ip_address($value)

    Type: String

    Output only. The IP allocated on the consumer network for the PSC forwarding rule.

  • $msg->forwarding_rule() / $msg->forwarding_rule($value)

    Type: String

    Output 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: String

    Required. 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: String

    Required. 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: String

    Output 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::V1beta::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::V1beta::ConnectionType)

    Output only. Type of the PSC connection.

  • $msg->ip_version() / $msg->ip_version($value)

    Type: Enum (Google::Cloud::Memorystore::V1beta::IpVersion)

    Optional. Immutable. The IP version used for the PSC auto-created endpoint. If not specified, defaults to IPV4.

Google::Cloud::Memorystore::V1beta::Memorystore::PscConnection

User created Psc connection configuration.

Inherits from Protobuf::Message.

Accessors

  • $msg->port() / $msg->port($value)

    Type: Int32

    Optional. port will only be set for Primary/Reader or Discovery endpoint.

  • $msg->psc_connection_id() / $msg->psc_connection_id($value)

    Type: String

    Required. The PSC connection id of the forwarding rule connected to the service attachment.

  • $msg->ip_address() / $msg->ip_address($value)

    Type: String

    Required. The IP allocated on the consumer network for the PSC forwarding rule.

  • $msg->forwarding_rule() / $msg->forwarding_rule($value)

    Type: String

    Required. The URI of the consumer side forwarding rule. Format: projects/{project}/regions/{region}/forwardingRules/{forwarding_rule}

  • $msg->project_id() / $msg->project_id($value)

    Type: String

    Output only. The consumer project_id where the forwarding rule is created from.

  • $msg->network() / $msg->network($value)

    Type: String

    Required. 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: String

    Required. 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::V1beta::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::V1beta::ConnectionType)

    Output only. Type of the PSC connection.

Google::Cloud::Memorystore::V1beta::Memorystore::DiscoveryEndpoint

Represents an endpoint for clients to connect to the instance.

Inherits from Protobuf::Message.

Accessors

  • $msg->address() / $msg->address($value)

    Type: String

    Output only. IP address of the exposed endpoint clients connect to.

  • $msg->port() / $msg->port($value)

    Type: Int32

    Output only. The port number of the exposed endpoint.

  • $msg->network() / $msg->network($value)

    Type: String

    Output 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::V1beta::Memorystore::PersistenceConfig

Represents persistence configuration for a instance.

Inherits from Protobuf::Message.

Accessors

Enum: PersistenceConfig::PersistenceMode

  • PERSISTENCE_MODE_UNSPECIFIED => 0

  • DISABLED => 1

  • RDB => 2

  • AOF => 3

Google::Cloud::Memorystore::V1beta::Memorystore::NodeConfig

Represents configuration for nodes of the instance.

Inherits from Protobuf::Message.

Accessors

  • $msg->size_gb() / $msg->size_gb($value)

    Type: Double

    Output only. Memory size in GB of the node.

Google::Cloud::Memorystore::V1beta::Memorystore::ZoneDistributionConfig

Zone distribution configuration for allocation of instance resources.

Inherits from Protobuf::Message.

Accessors

  • $msg->zone() / $msg->zone($value)

    Type: String

    Optional. Defines zone where all resources will be allocated with SINGLE_ZONE mode. Ignored for MULTI_ZONE mode.

  • $msg->zones() / $msg->zones($value)

    Type: String

    Optional. 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: String

    Output only. The exact list of zones where the instance currently has active VMs.

  • $msg->mode() / $msg->mode($value)

    Type: Enum (Google::Cloud::Memorystore::V1beta::ZoneDistributionConfig::ZoneDistributionMode)

    Optional. Current zone distribution mode. Defaults to MULTI_ZONE.

Enum: ZoneDistributionConfig::ZoneDistributionMode

  • ZONE_DISTRIBUTION_MODE_UNSPECIFIED => 0

  • MULTI_ZONE => 1

  • SINGLE_ZONE => 2

Google::Cloud::Memorystore::V1beta::Memorystore::RescheduleMaintenanceRequest

Request for rescheduling instance maintenance.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. 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::V1beta::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 => 0

  • IMMEDIATE => 1

  • SPECIFIC_TIME => 3

Google::Cloud::Memorystore::V1beta::Memorystore::ListAclPoliciesRequest

Request for `ListAclPolicies`.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. 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: Int32

    Optional. 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: String

    Optional. The `next_page_token` value returned from a previous `ListAclPolicies` request, if any.

Google::Cloud::Memorystore::V1beta::Memorystore::ListAclPoliciesResponse

Response for `ListAclPolicies`.

Inherits from Protobuf::Message.

Accessors

  • $msg->acl_policies() / $msg->acl_policies($value)

    Type: Message (Google::Cloud::Memorystore::V1beta::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: String

    Token to retrieve the next page of results, or empty if there are no more results in the list.

  • $msg->unreachable() / $msg->unreachable($value)

    Type: String

    Unordered list. Locations that could not be reached.

Google::Cloud::Memorystore::V1beta::Memorystore::ListAclPolicyRevisionsRequest

Request for `ListAclPolicyRevisions`.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. 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: Int32

    Optional. The maximum number of items to return.

  • $msg->page_token() / $msg->page_token($value)

    Type: String

    Optional. The `next_page_token` value returned from a previous `ListAclPolicyRevisions` request, if any.

Google::Cloud::Memorystore::V1beta::Memorystore::ListAclPolicyRevisionsResponse

Response for `ListAclPolicyRevisions`.

Inherits from Protobuf::Message.

Accessors

  • $msg->acl_policy_revisions() / $msg->acl_policy_revisions($value)

    Type: Message (Google::Cloud::Memorystore::V1beta::Memorystore::AclPolicyRevision)

    A list of ACL policy revisions.

  • $msg->next_page_token() / $msg->next_page_token($value)

    Type: String

    Token to retrieve the next page of results, or empty if there are no more results in the list.

  • $msg->unreachable() / $msg->unreachable($value)

    Type: String

    Unordered list. Locations that could not be reached.

Google::Cloud::Memorystore::V1beta::Memorystore::ListInstancesRequest

Request message for `ListInstances`.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. The parent to list instances from. Format: projects/{project}/locations/{location}

  • $msg->page_size() / $msg->page_size($value)

    Type: Int32

    Optional. 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: String

    Optional. A token identifying a page of results the server should return.

  • $msg->filter() / $msg->filter($value)

    Type: String

    Optional. Expression for filtering results.

  • $msg->order_by() / $msg->order_by($value)

    Type: String

    Optional. Sort results by a defined order. Supported values: "name", "create_time".

Google::Cloud::Memorystore::V1beta::Memorystore::ListInstancesResponse

Response message for `ListInstances`.

Inherits from Protobuf::Message.

Accessors

  • $msg->instances() / $msg->instances($value)

    Type: Message (Google::Cloud::Memorystore::V1beta::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: String

    A 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: String

    Locations that could not be reached.

Google::Cloud::Memorystore::V1beta::Memorystore::GetAclPolicyRequest

Request for `GetAclPolicy`.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. 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::V1beta::Memorystore::GetAclPolicyRevisionRequest

Request for `GetAclPolicyRevision`.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. 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::V1beta::Memorystore::GetInstanceRequest

Request message for `GetInstance`.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The name of the instance to retrieve. Format: projects/{project}/locations/{location}/instances/{instance}

Google::Cloud::Memorystore::V1beta::Memorystore::CreateAclPolicyRequest

Request for `CreateAclPolicy`.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. 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: String

    Required. 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::V1beta::Memorystore::AclPolicy)

    Required. The ACL policy that is to be created.

  • $msg->request_id() / $msg->request_id($value)

    Type: String

    Optional. Idempotent request UUID. .

Google::Cloud::Memorystore::V1beta::Memorystore::CreateInstanceRequest

Request message for [CreateInstance][].

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. The parent resource where this instance will be created. Format: projects/{project}/locations/{location}

  • $msg->instance_id() / $msg->instance_id($value)

    Type: String

    Required. 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::V1beta::Memorystore::Instance)

    Required. The instance to create.

  • $msg->request_id() / $msg->request_id($value)

    Type: String

    Optional. 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::V1beta::Memorystore::UpdateAclPolicyRequest

Request for `UpdateAclPolicy`.

Inherits from Protobuf::Message.

Accessors

  • $msg->acl_policy() / $msg->acl_policy($value)

    Type: Message (Google::Cloud::Memorystore::V1beta::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: String

    Optional. Idempotent request UUID.

Google::Cloud::Memorystore::V1beta::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::V1beta::Memorystore::Instance)

    Required. The instance to update.

  • $msg->request_id() / $msg->request_id($value)

    Type: String

    Optional. 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::V1beta::Memorystore::DeleteAclPolicyRequest

Request for `DeleteAclPolicy`.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. 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: String

    Optional. Idempotent request UUID.

  • $msg->etag() / $msg->etag($value)

    Type: String

    Optional. 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::V1beta::Memorystore::DeleteInstanceRequest

Request message for [DeleteInstance][].

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The name of the instance to delete. Format: projects/{project}/locations/{location}/instances/{instance}

  • $msg->request_id() / $msg->request_id($value)

    Type: String

    Optional. 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::V1beta::Memorystore::ListBackupCollectionsRequest

Request for `ListBackupCollections`.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. 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: Int32

    Optional. 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: String

    Optional. The `next_page_token` value returned from a previous `ListBackupCollections` request, if any.

Google::Cloud::Memorystore::V1beta::Memorystore::ListBackupCollectionsResponse

Response for `ListBackupCollections`.

Inherits from Protobuf::Message.

Accessors

  • $msg->backup_collections() / $msg->backup_collections($value)

    Type: Message (Google::Cloud::Memorystore::V1beta::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: String

    Token to retrieve the next page of results, or empty if there are no more results in the list.

  • $msg->unreachable() / $msg->unreachable($value)

    Type: String

    Locations that could not be reached.

Google::Cloud::Memorystore::V1beta::Memorystore::GetBackupCollectionRequest

Request for `GetBackupCollection`.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. 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::V1beta::Memorystore::ListBackupsRequest

Request for `ListBackups`.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. 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: Int32

    Optional. 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: String

    Optional. The `next_page_token` value returned from a previous `ListBackupCollections` request, if any.

Google::Cloud::Memorystore::V1beta::Memorystore::ListBackupsResponse

Response for `ListBackups`.

Inherits from Protobuf::Message.

Accessors

  • $msg->backups() / $msg->backups($value)

    Type: Message (Google::Cloud::Memorystore::V1beta::Memorystore::Backup)

    A list of backups in the project.

  • $msg->next_page_token() / $msg->next_page_token($value)

    Type: String

    Token to retrieve the next page of results, or empty if there are no more results in the list.

  • $msg->unreachable() / $msg->unreachable($value)

    Type: String

    Backups that could not be reached.

Google::Cloud::Memorystore::V1beta::Memorystore::GetBackupRequest

Request for `GetBackup`.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. Instance backup resource name using the form: `projects/{project_id}/locations/{location_id}/backupCollections/{backup_collection_id}/backups/{backup_id}`

Google::Cloud::Memorystore::V1beta::Memorystore::DeleteBackupRequest

Request for `DeleteBackup`.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. 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: String

    Optional. Idempotent request UUID.

Google::Cloud::Memorystore::V1beta::Memorystore::ExportBackupRequest

Request for `ExportBackup`.

Inherits from Protobuf::Message.

Accessors

  • $msg->gcs_bucket() / $msg->gcs_bucket($value)

    Type: String

    Google Cloud Storage bucket, like "my-bucket".

  • $msg->name() / $msg->name($value)

    Type: String

    Required. Instance backup resource name using the form: `projects/{project_id}/locations/{location_id}/backupCollections/{backup_collection_id}/backups/{backup_id}`

Google::Cloud::Memorystore::V1beta::Memorystore::BackupInstanceRequest

Request for `BackupInstance`.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. 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: String

    Optional. The id of the backup to be created. If not specified, the default value ([YYYYMMDDHHMMSS]_[Shortened Instance UID] is used.

Google::Cloud::Memorystore::V1beta::Memorystore::GetCertificateAuthorityRequest

Request message for `GetCertificateAuthority`.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The name of the certificate authority. Format: projects/{project}/locations/{location}/instances/{instance}/certificateAuthority

Google::Cloud::Memorystore::V1beta::Memorystore::ListTokenAuthUsersRequest

Request message for `ListTokenAuthUsers`.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. The parent to list token auth users from. Format: projects/{project}/locations/{location}/instances/{instance}

  • $msg->page_size() / $msg->page_size($value)

    Type: Int32

    Optional. 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: String

    Optional. The `next_page_token` value returned from a previous `ListTokenAuthUsers` request, if any.

  • $msg->filter() / $msg->filter($value)

    Type: String

    Optional. Expression for filtering results.

  • $msg->order_by() / $msg->order_by($value)

    Type: String

    Optional. Sort results by a defined order.

Google::Cloud::Memorystore::V1beta::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::V1beta::Memorystore::TokenAuthUser)

    A list of token auth users in the project.

  • $msg->next_page_token() / $msg->next_page_token($value)

    Type: String

    Token to retrieve the next page of results, or empty if there are no more results in the list.

  • $msg->unreachable() / $msg->unreachable($value)

    Type: String

    Unordered list. Token auth users that could not be reached.

Google::Cloud::Memorystore::V1beta::Memorystore::GetTokenAuthUserRequest

Request message for `GetTokenAuthUser`.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. 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::V1beta::Memorystore::ListAuthTokensRequest

Request message for `ListAuthTokens`.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. 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: Int32

    Optional. 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: String

    Optional. The `next_page_token` value returned from a previous `ListAuthTokens` request, if any.

  • $msg->filter() / $msg->filter($value)

    Type: String

    Optional. Expression for filtering results.

  • $msg->order_by() / $msg->order_by($value)

    Type: String

    Optional. Sort results by a defined order.

Google::Cloud::Memorystore::V1beta::Memorystore::ListAuthTokensResponse

Response message for `ListAuthTokens`.

Inherits from Protobuf::Message.

Accessors

  • $msg->auth_tokens() / $msg->auth_tokens($value)

    Type: Message (Google::Cloud::Memorystore::V1beta::Memorystore::AuthToken)

    A list of auth tokens in the project.

  • $msg->next_page_token() / $msg->next_page_token($value)

    Type: String

    Token to retrieve the next page of results, or empty if there are no more results in the list.

  • $msg->unreachable() / $msg->unreachable($value)

    Type: String

    Unordered list. Auth tokens that could not be reached.

Google::Cloud::Memorystore::V1beta::Memorystore::GetAuthTokenRequest

Request message for `GetAuthToken`.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. 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::V1beta::Memorystore::AddTokenAuthUserRequest

Request message for `AddTokenAuthUser`.

Inherits from Protobuf::Message.

Accessors

  • $msg->instance() / $msg->instance($value)

    Type: String

    Required. 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: String

    Required. The name of the token auth user to add.

Google::Cloud::Memorystore::V1beta::Memorystore::DeleteTokenAuthUserRequest

Request message for `DeleteTokenAuthUser`.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. 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: String

    Optional. 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: Bool

    Optional. 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::V1beta::Memorystore::AddAuthTokenRequest

Request message for `AddAuthToken`.

Inherits from Protobuf::Message.

Accessors

  • $msg->token_auth_user() / $msg->token_auth_user($value)

    Type: String

    Required. 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::V1beta::Memorystore::AuthToken)

    Required. The auth token to add.

Google::Cloud::Memorystore::V1beta::Memorystore::DeleteAuthTokenRequest

Request message for `DeleteAuthToken`.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. 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::V1beta::Memorystore::CertificateAuthority

A certificate authority for an instance.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Memorystore::V1beta::Memorystore::SharedRegionalCertificateAuthority

Shared regional certificate authority for an instance.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Memorystore::V1beta::Memorystore::GetSharedRegionalCertificateAuthorityRequest

Request for `GetSharedRegionalCertificateAuthority`.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. 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::V1beta::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: String

    Output only. Server-defined resource path for the target of the operation.

  • $msg->verb() / $msg->verb($value)

    Type: String

    Output only. Name of the verb executed by the operation.

  • $msg->status_message() / $msg->status_message($value)

    Type: String

    Output only. Human-readable status of the operation, if any.

  • $msg->requested_cancellation() / $msg->requested_cancellation($value)

    Type: Bool

    Output 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: String

    Output only. API version used to start the operation.

Google::Cloud::Memorystore::V1beta::Memorystore::EncryptionInfo

EncryptionInfo describes the encryption information of a cluster.

Inherits from Protobuf::Message.

Accessors

Enum: EncryptionInfo::Type

  • TYPE_UNSPECIFIED => 0

  • GOOGLE_DEFAULT_ENCRYPTION => 1

  • CUSTOMER_MANAGED_ENCRYPTION => 2

Enum: EncryptionInfo::KmsKeyState

  • KMS_KEY_STATE_UNSPECIFIED => 0

  • ENABLED => 1

  • PERMISSION_DENIED => 2

  • DISABLED => 3

  • DESTROYED => 4

  • DESTROY_SCHEDULED => 5

  • EKM_KEY_UNREACHABLE_DETECTED => 6

  • BILLING_DISABLED => 7

  • UNKNOWN_FAILURE => 8

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Memorystore::V1beta::Memorystore::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.