Service Client: Google::Cloud::Redis::Cluster::V1::CloudRedisCluster::CloudRedisClusterClient

Client stub representing the remote CloudRedisCluster gRPC service. Delegates call dispatching to Google::gRPC::Client.

target

The endpoint target address. Defaults to redis.googleapis.com:443.

credentials

The authentication credentials provider. Defaults to application default credentials via Google::Auth.

NAME

Google::Cloud::Redis::Cluster::V1::CloudRedisCluster - Compiled Protocol Buffers messages for google/cloud/redis/cluster/v1/cloud_redis_cluster.proto

SYNOPSIS

use Google::Cloud::Redis::Cluster::V1::CloudRedisCluster;

my $msg = Google::Cloud::Redis::Cluster::V1::CloudRedisCluster::CreateClusterRequest->new({
    parent => $parent,
    cluster_id => $cluster_id,
    cluster => $cluster,
    request_id => $request_id,
});

# Read or update a field
my $val = $msg->parent();

# Binary wire-format roundtrip
my $bytes   = $msg->serialize();
my $decoded = Google::Cloud::Redis::Cluster::V1::CloudRedisCluster::CreateClusterRequest->parse($bytes);

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

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/redis/cluster/v1/cloud_redis_cluster.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::Redis::Cluster::V1::CloudRedisCluster::CreateClusterRequest

Request for [CreateCluster][CloudRedis.CreateCluster].

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The resource name of the cluster location using the form: `projects/{project_id}/locations/{location_id}` where `location_id` refers to a GCP region.

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

    Type: String

    Required. The logical name of the Redis cluster 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->cluster() / $msg->cluster($value)

    Type: Message (Google::Cloud::Redis::Cluster::V1::CloudRedisCluster::Cluster)

    Required. The cluster that is to be created.

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

    Type: String

    Idempotent request UUID.

Google::Cloud::Redis::Cluster::V1::CloudRedisCluster::CreateAclPolicyRequest

Request for `CreateAclPolicy`.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The resource name of the cluster location using the form: `projects/{project_id}/locations/{location_id}` where `location_id` 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::Redis::Cluster::V1::CloudRedisCluster::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::Redis::Cluster::V1::CloudRedisCluster::ListClustersRequest

Request for [ListClusters][CloudRedis.ListClusters].

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The resource name of the cluster location using the form: `projects/{project_id}/locations/{location_id}` where `location_id` refers to a GCP region.

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

    Type: Int32

    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`][google.cloud.redis.cluster.v1.ListClustersResponse.next_page_token] to determine if there are more clusters left to be queried.

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

    Type: String

    The `next_page_token` value returned from a previous [ListClusters][CloudRedis.ListClusters] request, if any.

Google::Cloud::Redis::Cluster::V1::CloudRedisCluster::ListClustersResponse

Response for [ListClusters][CloudRedis.ListClusters].

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Cloud::Redis::Cluster::V1::CloudRedisCluster::Cluster)

    A list of Redis clusters in the project in the specified location, or across all locations.

    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 Redis entry is included in the response with the `name` field set to a value of the form `projects/{project_id}/locations/{location_id}/clusters/`- and the `status` field set to ERROR and `status_message` field set to "location not available for ListClusters".

  • $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::Redis::Cluster::V1::CloudRedisCluster::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_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`][google.cloud.redis.cluster.v1.ListAclPoliciesResponse.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::Redis::Cluster::V1::CloudRedisCluster::ListAclPoliciesResponse

Response for `ListAclPolicies`.

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Cloud::Redis::Cluster::V1::CloudRedisCluster::AclPolicy)

    A list of ACL policies in the project in the specified location, or across all locations.

    If the `location_id` 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::Redis::Cluster::V1::CloudRedisCluster::ListAclPolicyRevisionsRequest

Request for `ListAclPolicyRevisions`.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The name of the ACL policy to list revisions for. Format: "projects/{project_id}/locations/{location_id}/aclPolicies/{acl_policy_id}"

  • $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::Redis::Cluster::V1::CloudRedisCluster::ListAclPolicyRevisionsResponse

Response for `ListAclPolicyRevisions`.

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Cloud::Redis::Cluster::V1::CloudRedisCluster::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::Redis::Cluster::V1::CloudRedisCluster::UpdateClusterRequest

Request for [UpdateCluster][CloudRedis.UpdateCluster].

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Protobuf::FieldMask::FieldMask)

    Required. Mask of fields to update. At least one path must be supplied in this field. The elements of the repeated paths field may only include these fields from [Cluster][google.cloud.redis.cluster.v1.Cluster]:

    *   `size_gb`
    *   `replica_count`
  • $msg->cluster() / $msg->cluster($value)

    Type: Message (Google::Cloud::Redis::Cluster::V1::CloudRedisCluster::Cluster)

    Required. Update description. Only fields specified in update_mask are updated.

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

    Type: String

    Idempotent request UUID.

Google::Cloud::Redis::Cluster::V1::CloudRedisCluster::UpdateAclPolicyRequest

Request for `UpdateAclPolicy`.

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Cloud::Redis::Cluster::V1::CloudRedisCluster::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::Redis::Cluster::V1::CloudRedisCluster::GetClusterRequest

Request for [GetCluster][CloudRedis.GetCluster].

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Redis cluster resource name using the form: `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}` where `location_id` refers to a GCP region.

Google::Cloud::Redis::Cluster::V1::CloudRedisCluster::GetAclPolicyRequest

Request for `GetAclPolicy`.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Redis ACL policy resource name using the form: `projects/{project_id}/locations/{location_id}/aclPolicies/{acl_policy_id}` where `location_id` refers to a Google Cloud region.

Google::Cloud::Redis::Cluster::V1::CloudRedisCluster::GetAclPolicyRevisionRequest

Request for `GetAclPolicyRevision`.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Redis ACL policy revision resource name using the form: `projects/{project_id}/locations/{location_id}/aclPolicies/{acl_policy_id}/revisions/{revision_id}` where `location_id` refers to a Google Cloud region.

Google::Cloud::Redis::Cluster::V1::CloudRedisCluster::DeleteClusterRequest

Request for [DeleteCluster][CloudRedis.DeleteCluster].

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Redis cluster resource name using the form: `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}` where `location_id` refers to a GCP region.

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

    Type: String

    Idempotent request UUID.

Google::Cloud::Redis::Cluster::V1::CloudRedisCluster::DeleteAclPolicyRequest

Request for `DeleteAclPolicy`.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Redis ACL policy resource name using the form: `projects/{project_id}/locations/{location_id}/aclPolicies/{acl_policy_id}` where `location_id` 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::Redis::Cluster::V1::CloudRedisCluster::GetClusterCertificateAuthorityRequest

Request for [GetClusterCertificateAuthorityRequest][CloudRedis.GetClusterCertificateAuthorityRequest].

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Redis cluster certificate authority resource name using the form: `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}/certificateAuthority` where `location_id` refers to a GCP region.

Google::Cloud::Redis::Cluster::V1::CloudRedisCluster::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 GCP 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`][google.cloud.redis.cluster.v1.ListBackupCollectionsResponse.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::Redis::Cluster::V1::CloudRedisCluster::ListBackupCollectionsResponse

Response for [ListBackupCollections].

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Cloud::Redis::Cluster::V1::CloudRedisCluster::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::Redis::Cluster::V1::CloudRedisCluster::GetBackupCollectionRequest

Request for [GetBackupCollection].

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Redis backupCollection resource name using the form: `projects/{project_id}/locations/{location_id}/backupCollections/{backup_collection_id}` where `location_id` refers to a GCP region.

Google::Cloud::Redis::Cluster::V1::CloudRedisCluster::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`][google.cloud.redis.cluster.v1.ListBackupsResponse.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::Redis::Cluster::V1::CloudRedisCluster::ListBackupsResponse

Response for [ListBackups].

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Cloud::Redis::Cluster::V1::CloudRedisCluster::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::Redis::Cluster::V1::CloudRedisCluster::GetBackupRequest

Request for [GetBackup].

Inherits from Protobuf::Message.

Accessors

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

    Type: String

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

Google::Cloud::Redis::Cluster::V1::CloudRedisCluster::DeleteBackupRequest

Request for [DeleteBackup].

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Redis 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::Redis::Cluster::V1::CloudRedisCluster::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. Redis backup resource name using the form: `projects/{project_id}/locations/{location_id}/backupCollections/{backup_collection_id}/backups/{backup_id}`

Google::Cloud::Redis::Cluster::V1::CloudRedisCluster::BackupClusterRequest

Request for [BackupCluster].

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Redis cluster resource name using the form: `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}` where `location_id` refers to a GCP 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 Cluster UID] is used.

Google::Cloud::Redis::Cluster::V1::CloudRedisCluster::ListTokenAuthUsersRequest

Request message for [ListTokenAuthUsers][].

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The parent resource that this token based auth user will be listed for. Format: projects/{project}/locations/{location}/clusters/{cluster}

  • $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 The maximum value is 1000; values above 1000 will be coerced to 1000. [`next_page_token`][google.cloud.redis.cluster.v1.ListTokenAuthUsersResponse.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 [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::Redis::Cluster::V1::CloudRedisCluster::ListTokenAuthUsersResponse

Response message for [ListTokenAuthUsers][].

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Cloud::Redis::Cluster::V1::CloudRedisCluster::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::Redis::Cluster::V1::CloudRedisCluster::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 token based auth enabled cluster. Format: projects/{project}/locations/{location}/clusters/{cluster}/tokenAuthUsers/{token_auth_user}

Google::Cloud::Redis::Cluster::V1::CloudRedisCluster::ListAuthTokensRequest

Request message for [ListAuthTokens][].

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The parent resource that this auth token will be listed for. Format: projects/{project}/locations/{location}/clusters/{cluster}/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`][google.cloud.redis.cluster.v1.ListTokenAuthUsersResponse.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 [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::Redis::Cluster::V1::CloudRedisCluster::ListAuthTokensResponse

Response message for [ListAuthTokens][].

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Cloud::Redis::Cluster::V1::CloudRedisCluster::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::Redis::Cluster::V1::CloudRedisCluster::GetAuthTokenRequest

Request message for [GetAuthToken][].

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The name of auth token for a token based auth enabled cluster. Format: projects/{project}/locations/{location}/clusters/{cluster}/tokenAuthUsers/{token_auth_user}/authTokens/{auth_token}

Google::Cloud::Redis::Cluster::V1::CloudRedisCluster::AddTokenAuthUserRequest

Request message for [AddTokenAuthUser][].

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The cluster resource that this token auth user will be added for. Format: projects/{project}/locations/{location}/clusters/{cluster}

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

    Type: String

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

Google::Cloud::Redis::Cluster::V1::CloudRedisCluster::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}/clusters/{cluster}/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 child auth tokens of this user will also be deleted. Otherwise, the request will only work if the user has no auth tokens.

Google::Cloud::Redis::Cluster::V1::CloudRedisCluster::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 auth token will be added for. Format: projects/{project}/locations/{location}/clusters/{cluster}/tokenAuthUsers/{token_auth_user}

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

    Type: Message (Google::Cloud::Redis::Cluster::V1::CloudRedisCluster::AuthToken)

    Required. The auth token to add.

Google::Cloud::Redis::Cluster::V1::CloudRedisCluster::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 auth token will be deleted from. Format: projects/{project}/locations/{location}/clusters/{cluster}/tokenAuthUsers/{token_auth_user}/authTokens/{auth_token}

Google::Cloud::Redis::Cluster::V1::CloudRedisCluster::Cluster

A cluster instance.

Inherits from Protobuf::Message.

Accessors

Enum: Cluster::State

  • STATE_UNSPECIFIED => 0

  • CREATING => 1

  • ACTIVE => 2

  • UPDATING => 3

  • DELETING => 4

Google::Cloud::Redis::Cluster::V1::CloudRedisCluster::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::Redis::Cluster::V1::CloudRedisCluster::AclPolicyRevisionStatus)

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

Google::Cloud::Redis::Cluster::V1::CloudRedisCluster::AclPolicy

The ACL policy resource.

Inherits from Protobuf::Message.

Accessors

Enum: AclPolicy::State

  • STATE_UNSPECIFIED => 0

  • ACTIVE => 1

  • UPDATING => 2

  • DELETING => 3

Google::Cloud::Redis::Cluster::V1::CloudRedisCluster::AclPolicyRevisionStatus

AclPolicyRevisionStatus stores the per-revision status for an attached cluster.

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::Redis::Cluster::V1::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::Redis::Cluster::V1::CloudRedisCluster::ClusterAclPolicyAttachment

ClusterAclPolicyAttachment stores the ACL policy status for an attached cluster for the revisions successfully applied, under application or failed.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Output only. The resource name of the attached Cluster. Format: "projects/{project}/locations/{location}/clusters/{cluster}"

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

    Type: Message (Google::Cloud::Redis::Cluster::V1::CloudRedisCluster::AclPolicyRevisionStatus)

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

Google::Cloud::Redis::Cluster::V1::CloudRedisCluster::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::Redis::Cluster::V1::CloudRedisCluster::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_clusters() / $msg->attached_clusters($value)

    Type: String

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

Google::Cloud::Redis::Cluster::V1::CloudRedisCluster::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 Redis 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 Redis OSS: https://redis.io/docs/latest/operate/oss_and_stack/management/security/acl/

Google::Cloud::Redis::Cluster::V1::CloudRedisCluster::AutomatedBackupConfig

The automated backup config for a cluster.

Inherits from Protobuf::Message.

Accessors

Enum: AutomatedBackupConfig::AutomatedBackupMode

  • AUTOMATED_BACKUP_MODE_UNSPECIFIED => 0

  • DISABLED => 1

  • ENABLED => 2

Google::Cloud::Redis::Cluster::V1::CloudRedisCluster::BackupCollection

BackupCollection of a cluster.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Identifier. Full resource path of the backup collection.

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

    Type: String

    Output only. The cluster uid of the backup collection.

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

    Type: String

    Output only. The full resource path of the cluster the backup collection belongs to. Example: projects/{project}/locations/{location}/clusters/{cluster}

  • $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.

Google::Cloud::Redis::Cluster::V1::CloudRedisCluster::Backup

Backup of a cluster.

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 Cluster UID] OR customer specified while backup cluster. 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->cluster() / $msg->cluster($value)

    Type: String

    Output only. Cluster resource path of this backup.

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

    Type: String

    Output only. Cluster 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. redis-7.2, valkey-7.5

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

    Type: Message (Google::Cloud::Redis::Cluster::V1::CloudRedisCluster::BackupFile)

    Output only. List of backup files of the backup.

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

    Type: Enum (Google::Cloud::Redis::Cluster::V1::NodeType)

    Output only. Node type of the cluster.

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

    Type: Int32

    Output only. Number of replicas for the cluster.

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

    Type: Int32

    Output only. Number of shards for the cluster.

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

    Type: Enum (Google::Cloud::Redis::Cluster::V1::Backup::BackupType)

    Output only. Type of the backup.

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

    Type: Enum (Google::Cloud::Redis::Cluster::V1::Backup::State)

    Output only. State of the backup.

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

    Type: Message (Google::Cloud::Redis::Cluster::V1::CloudRedisCluster::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::Redis::Cluster::V1::CloudRedisCluster::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::Redis::Cluster::V1::CloudRedisCluster::PscServiceAttachment

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::Redis::Cluster::V1::ConnectionType)

    Output only. Type of a PSC connection targeting this service attachment.

Google::Cloud::Redis::Cluster::V1::CloudRedisCluster::CrossClusterReplicationConfig

Cross cluster replication config.

Inherits from Protobuf::Message.

Accessors

Enum: CrossClusterReplicationConfig::ClusterRole

  • CLUSTER_ROLE_UNSPECIFIED => 0

  • NONE => 1

  • PRIMARY => 2

  • SECONDARY => 3

Google::Cloud::Redis::Cluster::V1::CloudRedisCluster::ClusterMaintenancePolicy

Maintenance policy per cluster.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Redis::Cluster::V1::CloudRedisCluster::ClusterWeeklyMaintenanceWindow

Time window specified for weekly operations.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Redis::Cluster::V1::CloudRedisCluster::ClusterMaintenanceSchedule

Upcoming maitenance schedule.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Redis::Cluster::V1::CloudRedisCluster::PscConfig

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The network where the IP address of the discovery endpoint will be reserved, in the form of projects/{network_project}/global/networks/{network_id}.

Google::Cloud::Redis::Cluster::V1::CloudRedisCluster::DiscoveryEndpoint

Endpoints on each network, for Redis clients to connect to the cluster.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Output only. Address of the exposed Redis endpoint used by clients to connect to the service. The address could be either IP or hostname.

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

    Type: Int32

    Output only. The port number of the exposed Redis endpoint.

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

    Type: Message (Google::Cloud::Redis::Cluster::V1::CloudRedisCluster::PscConfig)

    Output only. Customer configuration for where the endpoint is created and accessed from.

Google::Cloud::Redis::Cluster::V1::CloudRedisCluster::PscConnection

Details of consumer resources in a PSC connection.

Inherits from Protobuf::Message.

Accessors

  • $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->address() / $msg->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. Example: projects/{projectNumOrId}/regions/us-east1/forwardingRules/{resourceId}.

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

    Type: String

    Optional. Project ID of the consumer project where the forwarding rule is created in.

  • $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_id}.

  • $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::Redis::Cluster::V1::PscConnectionStatus)

    Output only. The status of the PSC connection. Please note that this value is updated periodically. To get the latest status of a PSC connection, follow https://cloud.google.com/vpc/docs/configure-private-service-connect-services#endpoint-details.

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

    Type: Enum (Google::Cloud::Redis::Cluster::V1::ConnectionType)

    Output only. Type of the PSC connection.

Google::Cloud::Redis::Cluster::V1::CloudRedisCluster::ClusterEndpoint

ClusterEndpoint consists of PSC connections that are created as a group in each VPC network for accessing the cluster. In each group, there shall be one connection for each service attachment in the cluster.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Redis::Cluster::V1::CloudRedisCluster::ConnectionDetail

Detailed information of each PSC connection.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Redis::Cluster::V1::CloudRedisCluster::PscAutoConnection

Details of consumer resources in a PSC connection that is created through Service Connectivity Automation.

Inherits from Protobuf::Message.

Accessors

  • $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->address() / $msg->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. Example: projects/{projectNumOrId}/regions/us-east1/forwardingRules/{resourceId}.

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

    Type: String

    Required. 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_id}.

  • $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::Redis::Cluster::V1::PscConnectionStatus)

    Output only. The status of the PSC connection. 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::Redis::Cluster::V1::ConnectionType)

    Output only. Type of the PSC connection.

Google::Cloud::Redis::Cluster::V1::CloudRedisCluster::SharedRegionalCertificateAuthority

Shared regional certificate authority

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Redis::Cluster::V1::CloudRedisCluster::GetSharedRegionalCertificateAuthorityRequest

Request for [GetSharedRegionalCertificateAuthority][CloudRedis.GetSharedRegionalCertificateAuthority].

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Regional certificate authority resource name using the form: `projects/{project_id}/locations/{location_id}/sharedRegionalCertificateAuthority` where `location_id` refers to a Google Cloud region.

Google::Cloud::Redis::Cluster::V1::CloudRedisCluster::OperationMetadata

Pre-defined metadata fields.

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 successfully been cancelled 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::Redis::Cluster::V1::CloudRedisCluster::TokenAuthUser

Represents a token based auth user for the cluster.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Identifier. The resource name of the token based auth user. Format: projects/{project}/locations/{location}/clusters/{cluster}/tokenAuthUsers/{token_auth_user}

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

    Type: Enum (Google::Cloud::Redis::Cluster::V1::TokenAuthUser::State)

    Output only. The state of the token based auth user.

Enum: TokenAuthUser::State

  • STATE_UNSPECIFIED => 0

  • ACTIVE => 1

  • CREATING => 2

  • UPDATING => 3

  • DELETING => 4

Google::Cloud::Redis::Cluster::V1::CloudRedisCluster::AuthToken

Auth token for the cluster.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Identifier. Name of the auth token. Format: projects/{project}/locations/{location}/clusters/{cluster}/tokenAuthUsers/{token_auth_user}/authTokens/{auth_token}

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

    Type: String

    Output only. The service generated authentication token used to connect to the Redis cluster.

  • $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::Redis::Cluster::V1::AuthToken::State)

    Output only. State of the auth token.

Enum: AuthToken::State

  • STATE_UNSPECIFIED => 0

  • ACTIVE => 1

  • CREATING => 2

  • DELETING => 3

Google::Cloud::Redis::Cluster::V1::CloudRedisCluster::CertificateAuthority

Redis cluster certificate authority

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Redis::Cluster::V1::CloudRedisCluster::ClusterPersistenceConfig

Configuration of the persistence functionality.

Inherits from Protobuf::Message.

Accessors

Enum: ClusterPersistenceConfig::PersistenceMode

  • PERSISTENCE_MODE_UNSPECIFIED => 0

  • DISABLED => 1

  • RDB => 2

  • AOF => 3

Google::Cloud::Redis::Cluster::V1::CloudRedisCluster::ZoneDistributionConfig

Zone distribution config for allocation of cluster resources.

Inherits from Protobuf::Message.

Accessors

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

    Type: Enum (Google::Cloud::Redis::Cluster::V1::ZoneDistributionConfig::ZoneDistributionMode)

    Optional. The mode of zone distribution. Defaults to MULTI_ZONE, when not specified.

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

    Type: String

    Optional. When SINGLE ZONE distribution is selected, zone field would be used to allocate all resources in that zone. This is not applicable to MULTI_ZONE, and would be ignored for MULTI_ZONE clusters.

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

    Type: String

    Optional. Specify the zones of a multi-zone cluster where Redis Cluster allocates resources. This flag isn't applicable for single-zone clusters.

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

    Type: String

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

Enum: ZoneDistributionConfig::ZoneDistributionMode

  • ZONE_DISTRIBUTION_MODE_UNSPECIFIED => 0

  • MULTI_ZONE => 1

  • SINGLE_ZONE => 2

Google::Cloud::Redis::Cluster::V1::CloudRedisCluster::RescheduleClusterMaintenanceRequest

Request for rescheduling a cluster maintenance.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Redis Cluster instance resource name using the form: `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}` where `location_id` refers to a GCP region.

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

    Type: Enum (Google::Cloud::Redis::Cluster::V1::RescheduleClusterMaintenanceRequest::RescheduleType)

    Required. If reschedule type is SPECIFIC_TIME, must set up schedule_time as well.

  • $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, for example `2012-11-15T16:19:00.094Z`.

Enum: RescheduleClusterMaintenanceRequest::RescheduleType

  • RESCHEDULE_TYPE_UNSPECIFIED => 0

  • IMMEDIATE => 1

  • SPECIFIC_TIME => 3

Google::Cloud::Redis::Cluster::V1::CloudRedisCluster::EncryptionInfo

EncryptionInfo describes the encryption information of a cluster or a backup.

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::Redis::Cluster::V1::CloudRedisCluster::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.