Service Client: Google::Cloud::Redis::Cluster::V1beta1::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::V1beta1::CloudRedisCluster - Compiled Protocol Buffers messages for google/cloud/redis/cluster/v1beta1/cloud_redis_cluster.proto
SYNOPSIS
use Google::Cloud::Redis::Cluster::V1beta1::CloudRedisCluster;
my $msg = Google::Cloud::Redis::Cluster::V1beta1::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::V1beta1::CloudRedisCluster::CreateClusterRequest->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/cloud/redis/cluster/v1beta1/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::V1beta1::CloudRedisCluster::CreateClusterRequest
Request for [CreateCluster][CloudRedis.CreateCluster].
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. 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:
StringRequired. 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::V1beta1::CloudRedisCluster::Cluster)Required. The cluster that is to be created.
$msg->request_id()/$msg->request_id($value)Type:
StringIdempotent request UUID.
Google::Cloud::Redis::Cluster::V1beta1::CloudRedisCluster::CreateAclPolicyRequest
Request for `CreateAclPolicy`.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. 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:
StringRequired. The logical name of the ACL policy in the customer project with the following restrictions:
* Must contain only lowercase letters, numbers, and hyphens. * Must start with a letter. * Must be between 1-63 characters. * Must end with a number or a letter. * Must be unique within the customer project / location
$msg->acl_policy()/$msg->acl_policy($value)Type:
Message(Google::Cloud::Redis::Cluster::V1beta1::CloudRedisCluster::AclPolicy)Required. The ACL policy that is to be created.
$msg->request_id()/$msg->request_id($value)Type:
StringOptional. Idempotent request UUID. .
Google::Cloud::Redis::Cluster::V1beta1::CloudRedisCluster::ListClustersRequest
Request for [ListClusters][CloudRedis.ListClusters].
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. 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:
Int32The 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.v1beta1.ListClustersResponse.next_page_token] to determine if there are more clusters left to be queried.
$msg->page_token()/$msg->page_token($value)Type:
StringThe `next_page_token` value returned from a previous [ListClusters][CloudRedis.ListClusters] request, if any.
Google::Cloud::Redis::Cluster::V1beta1::CloudRedisCluster::ListClustersResponse
Response for [ListClusters][CloudRedis.ListClusters].
Inherits from Protobuf::Message.
Accessors
$msg->clusters()/$msg->clusters($value)Type:
Message(Google::Cloud::Redis::Cluster::V1beta1::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:
StringToken to retrieve the next page of results, or empty if there are no more results in the list.
$msg->unreachable()/$msg->unreachable($value)Type:
StringLocations that could not be reached.
Google::Cloud::Redis::Cluster::V1beta1::CloudRedisCluster::ListAclPoliciesRequest
Request for `ListAclPolicies`.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The resource name of the ACL policy location using the form: `projects/{project_id}/locations/{location_id}` where `location_id` refers to a Google Cloud region.
$msg->page_size()/$msg->page_size($value)Type:
Int32Optional. The maximum number of items to return.
If not specified, a default value of 1000 will be used by the service. Regardless of the page_size value, the response may include a partial list and a caller should only rely on response's [`next_page_token`][google.cloud.redis.cluster.v1beta1.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:
StringOptional. The `next_page_token` value returned from a previous `ListAclPolicies` request, if any.
Google::Cloud::Redis::Cluster::V1beta1::CloudRedisCluster::ListAclPoliciesResponse
Response for `ListAclPolicies`.
Inherits from Protobuf::Message.
Accessors
$msg->acl_policies()/$msg->acl_policies($value)Type:
Message(Google::Cloud::Redis::Cluster::V1beta1::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:
StringToken to retrieve the next page of results, or empty if there are no more results in the list.
$msg->unreachable()/$msg->unreachable($value)Type:
StringUnordered list. Locations that could not be reached.
Google::Cloud::Redis::Cluster::V1beta1::CloudRedisCluster::ListAclPolicyRevisionsRequest
Request for `ListAclPolicyRevisions`.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. 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:
Int32Optional. The maximum number of items to return.
$msg->page_token()/$msg->page_token($value)Type:
StringOptional. The `next_page_token` value returned from a previous `ListAclPolicyRevisions` request, if any.
Google::Cloud::Redis::Cluster::V1beta1::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::V1beta1::CloudRedisCluster::AclPolicyRevision)A list of ACL policy revisions.
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringToken to retrieve the next page of results, or empty if there are no more results in the list.
$msg->unreachable()/$msg->unreachable($value)Type:
StringUnordered list. Locations that could not be reached.
Google::Cloud::Redis::Cluster::V1beta1::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.v1beta1.Cluster]:
* `size_gb` * `replica_count`$msg->cluster()/$msg->cluster($value)Type:
Message(Google::Cloud::Redis::Cluster::V1beta1::CloudRedisCluster::Cluster)Required. Update description. Only fields specified in update_mask are updated.
$msg->request_id()/$msg->request_id($value)Type:
StringIdempotent request UUID.
Google::Cloud::Redis::Cluster::V1beta1::CloudRedisCluster::UpdateAclPolicyRequest
Request for `UpdateAclPolicy`.
Inherits from Protobuf::Message.
Accessors
$msg->acl_policy()/$msg->acl_policy($value)Type:
Message(Google::Cloud::Redis::Cluster::V1beta1::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:
StringOptional. Idempotent request UUID.
Google::Cloud::Redis::Cluster::V1beta1::CloudRedisCluster::GetClusterRequest
Request for [GetCluster][CloudRedis.GetCluster].
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. 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::V1beta1::CloudRedisCluster::GetAclPolicyRequest
Request for `GetAclPolicy`.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. 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::V1beta1::CloudRedisCluster::GetAclPolicyRevisionRequest
Request for `GetAclPolicyRevision`.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. 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::V1beta1::CloudRedisCluster::DeleteClusterRequest
Request for [DeleteCluster][CloudRedis.DeleteCluster].
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. 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:
StringIdempotent request UUID.
Google::Cloud::Redis::Cluster::V1beta1::CloudRedisCluster::DeleteAclPolicyRequest
Request for `DeleteAclPolicy`.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. 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:
StringOptional. Idempotent request UUID.
$msg->etag()/$msg->etag($value)Type:
StringOptional. Etag of the ACL policy. If this is different from the server's etag, the request will fail with an ABORTED error.
Google::Cloud::Redis::Cluster::V1beta1::CloudRedisCluster::GetClusterCertificateAuthorityRequest
Request for [GetClusterCertificateAuthorityRequest][CloudRedis.GetClusterCertificateAuthorityRequest].
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. 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::V1beta1::CloudRedisCluster::ListBackupCollectionsRequest
Request for [ListBackupCollections]
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The resource name of the backupCollection location using the form: `projects/{project_id}/locations/{location_id}` where `location_id` refers to a GCP region.
$msg->page_size()/$msg->page_size($value)Type:
Int32Optional. The maximum number of items to return.
If not specified, a default value of 1000 will be used by the service. Regardless of the page_size value, the response may include a partial list and a caller should only rely on response's [`next_page_token`][google.cloud.redis.cluster.v1beta1.ListBackupCollectionsResponse.next_page_token] to determine if there are more clusters left to be queried.
$msg->page_token()/$msg->page_token($value)Type:
StringOptional. The `next_page_token` value returned from a previous [ListBackupCollections] request, if any.
Google::Cloud::Redis::Cluster::V1beta1::CloudRedisCluster::ListBackupCollectionsResponse
Response for [ListBackupCollections].
Inherits from Protobuf::Message.
Accessors
$msg->backup_collections()/$msg->backup_collections($value)Type:
Message(Google::Cloud::Redis::Cluster::V1beta1::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:
StringToken to retrieve the next page of results, or empty if there are no more results in the list.
$msg->unreachable()/$msg->unreachable($value)Type:
StringLocations that could not be reached.
Google::Cloud::Redis::Cluster::V1beta1::CloudRedisCluster::GetBackupCollectionRequest
Request for [GetBackupCollection].
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. 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::V1beta1::CloudRedisCluster::ListBackupsRequest
Request for [ListBackups].
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The resource name of the backupCollection using the form: `projects/{project_id}/locations/{location_id}/backupCollections/{backup_collection_id}`
$msg->page_size()/$msg->page_size($value)Type:
Int32Optional. The maximum number of items to return.
If not specified, a default value of 1000 will be used by the service. Regardless of the page_size value, the response may include a partial list and a caller should only rely on response's [`next_page_token`][google.cloud.redis.cluster.v1beta1.ListBackupsResponse.next_page_token] to determine if there are more clusters left to be queried.
$msg->page_token()/$msg->page_token($value)Type:
StringOptional. The `next_page_token` value returned from a previous [ListBackupCollections] request, if any.
Google::Cloud::Redis::Cluster::V1beta1::CloudRedisCluster::ListBackupsResponse
Response for [ListBackups].
Inherits from Protobuf::Message.
Accessors
$msg->backups()/$msg->backups($value)Type:
Message(Google::Cloud::Redis::Cluster::V1beta1::CloudRedisCluster::Backup)A list of backups in the project.
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringToken to retrieve the next page of results, or empty if there are no more results in the list.
$msg->unreachable()/$msg->unreachable($value)Type:
StringBackups that could not be reached.
Google::Cloud::Redis::Cluster::V1beta1::CloudRedisCluster::GetBackupRequest
Request for [GetBackup].
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. Redis backup resource name using the form: `projects/{project_id}/locations/{location_id}/backupCollections/{backup_collection_id}/backups/{backup_id}`
Google::Cloud::Redis::Cluster::V1beta1::CloudRedisCluster::DeleteBackupRequest
Request for [DeleteBackup].
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. 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:
StringOptional. Idempotent request UUID.
Google::Cloud::Redis::Cluster::V1beta1::CloudRedisCluster::ExportBackupRequest
Request for [ExportBackup].
Inherits from Protobuf::Message.
Accessors
$msg->gcs_bucket()/$msg->gcs_bucket($value)Type:
StringGoogle Cloud Storage bucket, like "my-bucket".
$msg->name()/$msg->name($value)Type:
StringRequired. Redis backup resource name using the form: `projects/{project_id}/locations/{location_id}/backupCollections/{backup_collection_id}/backups/{backup_id}`
Google::Cloud::Redis::Cluster::V1beta1::CloudRedisCluster::BackupClusterRequest
Request for [BackupCluster].
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. 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:
StringOptional. The id of the backup to be created. If not specified, the default value ([YYYYMMDDHHMMSS]_[Shortened Cluster UID] is used.
Google::Cloud::Redis::Cluster::V1beta1::CloudRedisCluster::ListTokenAuthUsersRequest
Request message for [ListTokenAuthUsers][].
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. 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:
Int32Optional. The maximum number of items to return.
If not specified, a default value of 1000 will be used by the service. Regardless of the page_size value, the response may include a partial list and a caller should only rely on response's The maximum value is 1000; values above 1000 will be coerced to 1000. [`next_page_token`][google.cloud.redis.cluster.v1beta1.ListTokenAuthUsersResponse.next_page_token] to determine if there are more clusters left to be queried.
$msg->page_token()/$msg->page_token($value)Type:
StringOptional. The `next_page_token` value returned from a previous [ListTokenAuthUsers] request, if any.
$msg->filter()/$msg->filter($value)Type:
StringOptional. Expression for filtering results.
$msg->order_by()/$msg->order_by($value)Type:
StringOptional. Sort results by a defined order.
Google::Cloud::Redis::Cluster::V1beta1::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::V1beta1::CloudRedisCluster::TokenAuthUser)A list of token auth users in the project.
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringToken to retrieve the next page of results, or empty if there are no more results in the list.
$msg->unreachable()/$msg->unreachable($value)Type:
StringUnordered list. Token auth users that could not be reached.
Google::Cloud::Redis::Cluster::V1beta1::CloudRedisCluster::GetTokenAuthUserRequest
Request message for [GetTokenAuthUser][].
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The name of token auth user for a token based auth enabled cluster. Format: projects/{project}/locations/{location}/clusters/{cluster}/tokenAuthUsers/{token_auth_user}
Google::Cloud::Redis::Cluster::V1beta1::CloudRedisCluster::ListAuthTokensRequest
Request message for [ListAuthTokens][].
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. 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:
Int32Optional. The maximum number of items to return. The maximum value is 1000; values above 1000 will be coerced to 1000. If not specified, a default value of 1000 will be used by the service. Regardless of the page_size value, the response may include a partial list and a caller should only rely on response's [`next_page_token`][google.cloud.redis.cluster.v1beta1.ListTokenAuthUsersResponse.next_page_token] to determine if there are more clusters left to be queried.
$msg->page_token()/$msg->page_token($value)Type:
StringOptional. The `next_page_token` value returned from a previous [ListTokenAuthUsers] request, if any.
$msg->filter()/$msg->filter($value)Type:
StringOptional. Expression for filtering results.
$msg->order_by()/$msg->order_by($value)Type:
StringOptional. Sort results by a defined order.
Google::Cloud::Redis::Cluster::V1beta1::CloudRedisCluster::ListAuthTokensResponse
Response message for [ListAuthTokens][].
Inherits from Protobuf::Message.
Accessors
$msg->auth_tokens()/$msg->auth_tokens($value)Type:
Message(Google::Cloud::Redis::Cluster::V1beta1::CloudRedisCluster::AuthToken)A list of auth tokens in the project.
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringToken to retrieve the next page of results, or empty if there are no more results in the list.
$msg->unreachable()/$msg->unreachable($value)Type:
StringUnordered list. Auth tokens that could not be reached.
Google::Cloud::Redis::Cluster::V1beta1::CloudRedisCluster::GetAuthTokenRequest
Request message for [GetAuthToken][].
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. 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::V1beta1::CloudRedisCluster::AddTokenAuthUserRequest
Request message for [AddTokenAuthUser][].
Inherits from Protobuf::Message.
Accessors
$msg->cluster()/$msg->cluster($value)Type:
StringRequired. 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:
StringRequired. The id of the token auth user to add.
Google::Cloud::Redis::Cluster::V1beta1::CloudRedisCluster::DeleteTokenAuthUserRequest
Request message for [DeleteTokenAuthUser][].
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The name of the token auth user to delete. Format: projects/{project}/locations/{location}/clusters/{cluster}/tokenAuthUsers/{token_auth_user}
$msg->request_id()/$msg->request_id($value)Type:
StringOptional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
$msg->force()/$msg->force($value)Type:
BoolOptional. If set to true, any 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::V1beta1::CloudRedisCluster::AddAuthTokenRequest
Request message for [AddAuthToken][].
Inherits from Protobuf::Message.
Accessors
$msg->token_auth_user()/$msg->token_auth_user($value)Type:
StringRequired. The name of the token auth user resource that this 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::V1beta1::CloudRedisCluster::AuthToken)Required. The auth token to add.
Google::Cloud::Redis::Cluster::V1beta1::CloudRedisCluster::DeleteAuthTokenRequest
Request message for [DeleteAuthToken][].
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The name of the token auth user resource that this auth token will be deleted from. Format: projects/{project}/locations/{location}/clusters/{cluster}/tokenAuthUsers/{token_auth_user}/authTokens/{auth_token}
Google::Cloud::Redis::Cluster::V1beta1::CloudRedisCluster::Cluster
A cluster instance.
Inherits from Protobuf::Message.
Accessors
$msg->gcs_source()/$msg->gcs_source($value)Type:
Message(Google::Cloud::Redis::Cluster::V1beta1::CloudRedisCluster::Cluster::GcsBackupSource)Optional. Backups stored in Cloud Storage buckets. The Cloud Storage buckets need to be the same region as the clusters. 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::Redis::Cluster::V1beta1::CloudRedisCluster::Cluster::ManagedBackupSource)Optional. Backups generated and managed by memorystore service.
$msg->name()/$msg->name($value)Type:
StringRequired. Identifier. Unique name of the resource in this scope including project and location using the form: `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}`
$msg->create_time()/$msg->create_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The timestamp associated with the cluster creation request.
$msg->state()/$msg->state($value)Type:
Enum(Google::Cloud::Redis::Cluster::V1beta1::Cluster::State)Output only. The current state of this cluster. Can be CREATING, READY, UPDATING, DELETING and SUSPENDED
$msg->uid()/$msg->uid($value)Type:
StringOutput only. System assigned, unique identifier for the cluster.
$msg->replica_count()/$msg->replica_count($value)Type:
Int32Optional. The number of replica nodes per shard.
$msg->authorization_mode()/$msg->authorization_mode($value)Type:
Enum(Google::Cloud::Redis::Cluster::V1beta1::AuthorizationMode)Optional. The authorization mode of the Redis cluster. If not provided, auth feature is disabled for the cluster.
$msg->transit_encryption_mode()/$msg->transit_encryption_mode($value)Type:
Enum(Google::Cloud::Redis::Cluster::V1beta1::TransitEncryptionMode)Optional. The in-transit encryption for the Redis cluster. If not provided, encryption is disabled for the cluster.
$msg->size_gb()/$msg->size_gb($value)Type:
Int32Output only. Redis memory size in GB for the entire cluster rounded up to the next integer.
$msg->shard_count()/$msg->shard_count($value)Type:
Int32Optional. Number of shards for the Redis cluster.
$msg->psc_configs()/$msg->psc_configs($value)Type:
Message(Google::Cloud::Redis::Cluster::V1beta1::CloudRedisCluster::PscConfig)Optional. Each PscConfig configures the consumer network where IPs will be designated to the cluster for client access through Private Service Connect Automation. Currently, only one PscConfig is supported.
$msg->discovery_endpoints()/$msg->discovery_endpoints($value)Type:
Message(Google::Cloud::Redis::Cluster::V1beta1::CloudRedisCluster::DiscoveryEndpoint)Output only. Endpoints created on each given network, for Redis clients to connect to the cluster. Currently only one discovery endpoint is supported.
$msg->psc_connections()/$msg->psc_connections($value)Type:
Message(Google::Cloud::Redis::Cluster::V1beta1::CloudRedisCluster::PscConnection)Output only. The list of PSC connections that are auto-created through service connectivity automation.
$msg->state_info()/$msg->state_info($value)Type:
Message(Google::Cloud::Redis::Cluster::V1beta1::CloudRedisCluster::Cluster::StateInfo)Output only. Additional information about the current state of the cluster.
$msg->node_type()/$msg->node_type($value)Type:
Enum(Google::Cloud::Redis::Cluster::V1beta1::NodeType)Optional. The type of a redis node in the cluster. NodeType determines the underlying machine-type of a redis node.
$msg->persistence_config()/$msg->persistence_config($value)Type:
Message(Google::Cloud::Redis::Cluster::V1beta1::CloudRedisCluster::ClusterPersistenceConfig)Optional. Persistence config (RDB, AOF) for the cluster.
$msg->redis_configs()/$msg->redis_configs($value)Type:
Message(Google::Cloud::Redis::Cluster::V1beta1::CloudRedisCluster::Cluster::RedisConfigsEntry)Optional. Key/Value pairs of customer overrides for mutable Redis Configs
$msg->precise_size_gb()/$msg->precise_size_gb($value)Type:
DoubleOutput only. Precise value of redis memory size in GB for the entire cluster.
$msg->zone_distribution_config()/$msg->zone_distribution_config($value)Type:
Message(Google::Cloud::Redis::Cluster::V1beta1::CloudRedisCluster::ZoneDistributionConfig)Optional. This config will be used to determine how the customer wants us to distribute cluster resources within the region.
$msg->cross_cluster_replication_config()/$msg->cross_cluster_replication_config($value)Type:
Message(Google::Cloud::Redis::Cluster::V1beta1::CloudRedisCluster::CrossClusterReplicationConfig)Optional. Cross cluster replication config.
$msg->deletion_protection_enabled()/$msg->deletion_protection_enabled($value)Type:
BoolOptional. The delete operation will fail when the value is set to true.
$msg->maintenance_policy()/$msg->maintenance_policy($value)Type:
Message(Google::Cloud::Redis::Cluster::V1beta1::CloudRedisCluster::ClusterMaintenancePolicy)Optional. ClusterMaintenancePolicy determines when to allow or deny updates.
$msg->maintenance_schedule()/$msg->maintenance_schedule($value)Type:
Message(Google::Cloud::Redis::Cluster::V1beta1::CloudRedisCluster::ClusterMaintenanceSchedule)Output only. ClusterMaintenanceSchedule Output only Published maintenance schedule.
$msg->psc_service_attachments()/$msg->psc_service_attachments($value)Type:
Message(Google::Cloud::Redis::Cluster::V1beta1::CloudRedisCluster::PscServiceAttachment)Output only. Service attachment details to configure Psc connections
$msg->cluster_endpoints()/$msg->cluster_endpoints($value)Type:
Message(Google::Cloud::Redis::Cluster::V1beta1::CloudRedisCluster::ClusterEndpoint)Optional. A list of cluster enpoints.
$msg->backup_collection()/$msg->backup_collection($value)Type:
StringOptional. Output only. The backup collection full resource name. Example: projects/{project}/locations/{location}/backupCollections/{collection}
$msg->kms_key()/$msg->kms_key($value)Type:
StringOptional. The KMS key used to encrypt the at-rest data of the cluster.
$msg->automated_backup_config()/$msg->automated_backup_config($value)Type:
Message(Google::Cloud::Redis::Cluster::V1beta1::CloudRedisCluster::AutomatedBackupConfig)Optional. The automated backup config for the cluster.
$msg->encryption_info()/$msg->encryption_info($value)Type:
Message(Google::Cloud::Redis::Cluster::V1beta1::CloudRedisCluster::EncryptionInfo)Output only. Encryption information of the data at rest of the cluster.
$msg->async_cluster_endpoints_deletion_enabled()/$msg->async_cluster_endpoints_deletion_enabled($value)Type:
BoolOptional. If true, cluster endpoints that are created and registered by customers can be deleted asynchronously. That is, such a cluster endpoint can be de-registered before the forwarding rules in the cluster endpoint are deleted.
$msg->server_ca_mode()/$msg->server_ca_mode($value)Type:
Enum(Google::Cloud::Redis::Cluster::V1beta1::ServerCaMode)Optional. Server CA mode for the cluster.
$msg->server_ca_pool()/$msg->server_ca_pool($value)Type:
StringOptional. Customer-managed CA pool for the cluster. Only applicable for BYOCA i.e. if server_ca_mode is SERVER_CA_MODE_CUSTOMER_MANAGED_CAS_CA. Format: "projects/{project}/locations/{region}/caPools/{ca_pool}".
$msg->rotate_server_certificate()/$msg->rotate_server_certificate($value)Type:
BoolOptional. Input only. Rotate the server certificates.
$msg->acl_policy()/$msg->acl_policy($value)Type:
StringOptional. The ACL policy to be applied to the cluster.
$msg->acl_policy_info()/$msg->acl_policy_info($value)Type:
Message(Google::Cloud::Redis::Cluster::V1beta1::CloudRedisCluster::AclPolicyInfo)Output only. Details of the applied ACL policy.
Enum: Cluster::State
STATE_UNSPECIFIED=>0CREATING=>1ACTIVE=>2UPDATING=>3DELETING=>4
Google::Cloud::Redis::Cluster::V1beta1::CloudRedisCluster::AclPolicyInfo
Details of the applied ACL policy.
Inherits from Protobuf::Message.
Accessors
$msg->applied_acl_policy()/$msg->applied_acl_policy($value)Type:
StringOutput only. The resource name of the applied ACL policy. Format: "projects/{project}/locations/{location}/aclPolicies/{acl_policy}"
$msg->applied_acl_policy_revision()/$msg->applied_acl_policy_revision($value)Type:
StringOutput only. The resource name of the applied ACL policy revision. Format: "projects/{project}/locations/{location}/aclPolicies/{acl_policy}/revisions/{revision}"
$msg->applied_acl_policy_revision_number()/$msg->applied_acl_policy_revision_number($value)Type:
Int64Output only. The revision number of the applied ACL policy revision.
$msg->acl_policy_revision_statuses()/$msg->acl_policy_revision_statuses($value)Type:
Message(Google::Cloud::Redis::Cluster::V1beta1::CloudRedisCluster::AclPolicyRevisionStatus)Output only. A list of status for various revisions of this ACL policy on the cluster.
Google::Cloud::Redis::Cluster::V1beta1::CloudRedisCluster::AclPolicy
The ACL policy resource.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringIdentifier. Full resource path of the ACL policy.
$msg->rules()/$msg->rules($value)Type:
Message(Google::Cloud::Redis::Cluster::V1beta1::CloudRedisCluster::AclRule)Required. The ACL rules within the ACL policy.
$msg->state()/$msg->state($value)Type:
Enum(Google::Cloud::Redis::Cluster::V1beta1::AclPolicy::State)Output only. The state of the ACL policy.
$msg->etag()/$msg->etag($value)Type:
StringOutput only. Etag for the ACL policy.
$msg->cluster_acl_policy_attachments()/$msg->cluster_acl_policy_attachments($value)Type:
Message(Google::Cloud::Redis::Cluster::V1beta1::CloudRedisCluster::ClusterAclPolicyAttachment)Output only. The ACL policy attachment status for each attached cluster.
$msg->create_time()/$msg->create_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The timestamp that the ACL policy was created.
$msg->update_time()/$msg->update_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The timestamp that the ACL policy was last updated.
Enum: AclPolicy::State
STATE_UNSPECIFIED=>0ACTIVE=>1UPDATING=>2DELETING=>3
Google::Cloud::Redis::Cluster::V1beta1::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:
StringOutput only. The resource name of the ACL policy revision this status refers to. Format: "projects/{project}/locations/{location}/aclPolicies/{acl_policy}/revisions/{revision}"
$msg->acl_policy_revision_number()/$msg->acl_policy_revision_number($value)Type:
Int64Output only. The revision number of the ACL policy revision this status refers to.
$msg->state()/$msg->state($value)Type:
Enum(Google::Cloud::Redis::Cluster::V1beta1::AclPolicyRevisionStatus::State)Output only. AclPolicyRevision state.
$msg->error_message()/$msg->error_message($value)Type:
StringOutput only. Human-readable error message providing more details for FAILED states.
Enum: AclPolicyRevisionStatus::State
STATE_UNSPECIFIED=>0APPLYING=>1APPLIED=>2FAILED=>3
Google::Cloud::Redis::Cluster::V1beta1::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:
StringOutput 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::V1beta1::CloudRedisCluster::AclPolicyRevisionStatus)Output only. A list of status for various revisions of this ACL policy on the cluster.
Google::Cloud::Redis::Cluster::V1beta1::CloudRedisCluster::AclPolicyRevision
The ACL policy revision resource.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringIdentifier. The name of the ACL policy revision. Format: "projects/{project}/locations/{location}/aclPolicies/{acl_policy}/revisions/{revision}"
$msg->revision_number()/$msg->revision_number($value)Type:
Int64Output only. The revision number of the ACL policy revision.
$msg->snapshot()/$msg->snapshot($value)Type:
Message(Google::Cloud::Redis::Cluster::V1beta1::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:
StringOutput only. A list of clusters that are attached to this ACL policy revision.
Google::Cloud::Redis::Cluster::V1beta1::CloudRedisCluster::AclRule
A single ACL rule which defines the policy for a user.
Inherits from Protobuf::Message.
Accessors
$msg->username()/$msg->username($value)Type:
StringRequired. Specifies the IAM user or service account to be added to the ACL policy. This username will be directly set on the Redis OSS.
$msg->rule()/$msg->rule($value)Type:
StringRequired. The rule to be applied to the username. Ex: "on >password123 ~* +@all" The format of the rule is defined by Redis OSS: https://redis.io/docs/latest/operate/oss_and_stack/management/security/acl/
Google::Cloud::Redis::Cluster::V1beta1::CloudRedisCluster::AutomatedBackupConfig
The automated backup config for a cluster.
Inherits from Protobuf::Message.
Accessors
$msg->fixed_frequency_schedule()/$msg->fixed_frequency_schedule($value)Type:
Message(Google::Cloud::Redis::Cluster::V1beta1::CloudRedisCluster::AutomatedBackupConfig::FixedFrequencySchedule)Optional. Trigger automated backups at a fixed frequency.
$msg->automated_backup_mode()/$msg->automated_backup_mode($value)Type:
Enum(Google::Cloud::Redis::Cluster::V1beta1::AutomatedBackupConfig::AutomatedBackupMode)Optional. The automated backup mode. If the mode is disabled, the other fields will be ignored.
$msg->retention()/$msg->retention($value)Type:
Message(Google::Protobuf::Duration::Duration)Optional. How long to keep automated backups before the backups are deleted. The value should be between 1 day and 365 days. If not specified, the default value is 35 days.
Enum: AutomatedBackupConfig::AutomatedBackupMode
AUTOMATED_BACKUP_MODE_UNSPECIFIED=>0DISABLED=>1ENABLED=>2
Google::Cloud::Redis::Cluster::V1beta1::CloudRedisCluster::BackupCollection
BackupCollection of a cluster.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringIdentifier. Full resource path of the backup collection.
$msg->cluster_uid()/$msg->cluster_uid($value)Type:
StringOutput only. The cluster uid of the backup collection.
$msg->cluster()/$msg->cluster($value)Type:
StringOutput 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:
StringOutput only. The KMS key used to encrypt the backups under this backup collection.
$msg->uid()/$msg->uid($value)Type:
StringOutput only. System assigned unique identifier of the backup collection.
Google::Cloud::Redis::Cluster::V1beta1::CloudRedisCluster::Backup
Backup of a cluster.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringIdentifier. Full resource path of the backup. the last part of the name is the backup id with the following format: [YYYYMMDDHHMMSS]_[Shorted 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:
StringOutput only. Cluster resource path of this backup.
$msg->cluster_uid()/$msg->cluster_uid($value)Type:
StringOutput only. Cluster uid of this backup.
$msg->total_size_bytes()/$msg->total_size_bytes($value)Type:
Int64Output only. Total size of the backup in bytes.
$msg->expire_time()/$msg->expire_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The time when the backup will expire.
$msg->engine_version()/$msg->engine_version($value)Type:
StringOutput only. redis-7.2, valkey-7.5
$msg->backup_files()/$msg->backup_files($value)Type:
Message(Google::Cloud::Redis::Cluster::V1beta1::CloudRedisCluster::BackupFile)Output only. List of backup files of the backup.
$msg->node_type()/$msg->node_type($value)Type:
Enum(Google::Cloud::Redis::Cluster::V1beta1::NodeType)Output only. Node type of the cluster.
$msg->replica_count()/$msg->replica_count($value)Type:
Int32Output only. Number of replicas for the cluster.
$msg->shard_count()/$msg->shard_count($value)Type:
Int32Output only. Number of shards for the cluster.
$msg->backup_type()/$msg->backup_type($value)Type:
Enum(Google::Cloud::Redis::Cluster::V1beta1::Backup::BackupType)Output only. Type of the backup.
$msg->state()/$msg->state($value)Type:
Enum(Google::Cloud::Redis::Cluster::V1beta1::Backup::State)Output only. State of the backup.
$msg->encryption_info()/$msg->encryption_info($value)Type:
Message(Google::Cloud::Redis::Cluster::V1beta1::CloudRedisCluster::EncryptionInfo)Output only. Encryption information of the backup.
$msg->uid()/$msg->uid($value)Type:
StringOutput only. System assigned unique identifier of the backup.
Enum: Backup::BackupType
BACKUP_TYPE_UNSPECIFIED=>0ON_DEMAND=>1AUTOMATED=>2
Enum: Backup::State
STATE_UNSPECIFIED=>0CREATING=>1ACTIVE=>2DELETING=>3SUSPENDED=>4
Google::Cloud::Redis::Cluster::V1beta1::CloudRedisCluster::BackupFile
Backup is consisted of multiple backup files.
Inherits from Protobuf::Message.
Accessors
$msg->file_name()/$msg->file_name($value)Type:
StringOutput only. e.g: <shard-id>.rdb
$msg->size_bytes()/$msg->size_bytes($value)Type:
Int64Output only. Size of the backup file in bytes.
$msg->create_time()/$msg->create_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The time when the backup file was created.
Google::Cloud::Redis::Cluster::V1beta1::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:
StringOutput only. Service attachment URI which your self-created PscConnection should use as target
$msg->connection_type()/$msg->connection_type($value)Type:
Enum(Google::Cloud::Redis::Cluster::V1beta1::ConnectionType)Output only. Type of a PSC connection targeting this service attachment.
Google::Cloud::Redis::Cluster::V1beta1::CloudRedisCluster::CrossClusterReplicationConfig
Cross cluster replication config.
Inherits from Protobuf::Message.
Accessors
$msg->cluster_role()/$msg->cluster_role($value)Type:
Enum(Google::Cloud::Redis::Cluster::V1beta1::CrossClusterReplicationConfig::ClusterRole)The role of the cluster in cross cluster replication.
$msg->primary_cluster()/$msg->primary_cluster($value)Type:
Message(Google::Cloud::Redis::Cluster::V1beta1::CloudRedisCluster::CrossClusterReplicationConfig::RemoteCluster)Details of the primary cluster that is used as the replication source for this secondary cluster.
This field is only set for a secondary cluster.
$msg->secondary_clusters()/$msg->secondary_clusters($value)Type:
Message(Google::Cloud::Redis::Cluster::V1beta1::CloudRedisCluster::CrossClusterReplicationConfig::RemoteCluster)List of secondary clusters that are replicating from this primary cluster.
This field is only set for a primary cluster.
$msg->update_time()/$msg->update_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The last time cross cluster replication config was updated.
$msg->membership()/$msg->membership($value)Type:
Message(Google::Cloud::Redis::Cluster::V1beta1::CloudRedisCluster::CrossClusterReplicationConfig::Membership)Output only. An output only view of all the member clusters participating in the cross cluster replication. This view will be provided by every member cluster irrespective of its cluster role(primary or secondary).
A primary cluster can provide information about all the secondary clusters replicating from it. However, a secondary cluster only knows about the primary cluster from which it is replicating. However, for scenarios, where the primary cluster is unavailable(e.g. regional outage), a GetCluster request can be sent to any other member cluster and this field will list all the member clusters participating in cross cluster replication.
Enum: CrossClusterReplicationConfig::ClusterRole
CLUSTER_ROLE_UNSPECIFIED=>0NONE=>1PRIMARY=>2SECONDARY=>3
Google::Cloud::Redis::Cluster::V1beta1::CloudRedisCluster::ClusterMaintenancePolicy
Maintenance policy per cluster.
Inherits from Protobuf::Message.
Accessors
$msg->create_time()/$msg->create_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The time when the policy was created i.e. Maintenance Window or Deny Period was assigned.
$msg->update_time()/$msg->update_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The time when the policy was updated i.e. Maintenance Window or Deny Period was updated.
$msg->weekly_maintenance_window()/$msg->weekly_maintenance_window($value)Type:
Message(Google::Cloud::Redis::Cluster::V1beta1::CloudRedisCluster::ClusterWeeklyMaintenanceWindow)Optional. Maintenance window that is applied to resources covered by this policy. Minimum 1. For the current version, the maximum number of weekly_maintenance_window is expected to be one.
Google::Cloud::Redis::Cluster::V1beta1::CloudRedisCluster::ClusterWeeklyMaintenanceWindow
Time window specified for weekly operations.
Inherits from Protobuf::Message.
Accessors
$msg->day()/$msg->day($value)Type:
Enum(Google::Type::DayOfWeek)Allows to define schedule that runs specified day of the week.
$msg->start_time()/$msg->start_time($value)Type:
Message(Google::Type::Timeofday::TimeOfDay)Start time of the window in UTC.
Google::Cloud::Redis::Cluster::V1beta1::CloudRedisCluster::ClusterMaintenanceSchedule
Upcoming maitenance schedule.
Inherits from Protobuf::Message.
Accessors
$msg->start_time()/$msg->start_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The start time of any upcoming scheduled maintenance for this instance.
$msg->end_time()/$msg->end_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The end time of any upcoming scheduled maintenance for this instance.
Google::Cloud::Redis::Cluster::V1beta1::CloudRedisCluster::PscConfig
Inherits from Protobuf::Message.
Accessors
$msg->network()/$msg->network($value)Type:
StringRequired. 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::V1beta1::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:
StringOutput 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:
Int32Output only. The port number of the exposed Redis endpoint.
$msg->psc_config()/$msg->psc_config($value)Type:
Message(Google::Cloud::Redis::Cluster::V1beta1::CloudRedisCluster::PscConfig)Output only. Customer configuration for where the endpoint is created and accessed from.
Google::Cloud::Redis::Cluster::V1beta1::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:
StringRequired. The PSC connection id of the forwarding rule connected to the service attachment.
$msg->address()/$msg->address($value)Type:
StringRequired. The IP allocated on the consumer network for the PSC forwarding rule.
$msg->forwarding_rule()/$msg->forwarding_rule($value)Type:
StringRequired. The URI of the consumer side forwarding rule. Example: projects/{projectNumOrId}/regions/us-east1/forwardingRules/{resourceId}.
$msg->project_id()/$msg->project_id($value)Type:
StringOptional. Project ID of the consumer project where the forwarding rule is created in.
$msg->network()/$msg->network($value)Type:
StringRequired. The consumer network where the IP address resides, in the form of projects/{project_id}/global/networks/{network_id}.
$msg->service_attachment()/$msg->service_attachment($value)Type:
StringRequired. The service attachment which is the target of the PSC connection, in the form of projects/{project-id}/regions/{region}/serviceAttachments/{service-attachment-id}.
$msg->psc_connection_status()/$msg->psc_connection_status($value)Type:
Enum(Google::Cloud::Redis::Cluster::V1beta1::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::V1beta1::ConnectionType)Output only. Type of the PSC connection.
Google::Cloud::Redis::Cluster::V1beta1::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
$msg->connections()/$msg->connections($value)Type:
Message(Google::Cloud::Redis::Cluster::V1beta1::CloudRedisCluster::ConnectionDetail)A group of PSC connections. They are created in the same VPC network, one for each service attachment in the cluster.
Google::Cloud::Redis::Cluster::V1beta1::CloudRedisCluster::ConnectionDetail
Detailed information of each PSC connection.
Inherits from Protobuf::Message.
Accessors
$msg->psc_auto_connection()/$msg->psc_auto_connection($value)Type:
Message(Google::Cloud::Redis::Cluster::V1beta1::CloudRedisCluster::PscAutoConnection)Detailed information of a PSC connection that is created through service connectivity automation.
$msg->psc_connection()/$msg->psc_connection($value)Type:
Message(Google::Cloud::Redis::Cluster::V1beta1::CloudRedisCluster::PscConnection)Detailed information of a PSC connection that is created by the customer who owns the cluster.
Google::Cloud::Redis::Cluster::V1beta1::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:
StringOutput only. The PSC connection id of the forwarding rule connected to the service attachment.
$msg->address()/$msg->address($value)Type:
StringOutput only. The IP allocated on the consumer network for the PSC forwarding rule.
$msg->forwarding_rule()/$msg->forwarding_rule($value)Type:
StringOutput only. The URI of the consumer side forwarding rule. Example: projects/{projectNumOrId}/regions/us-east1/forwardingRules/{resourceId}.
$msg->project_id()/$msg->project_id($value)Type:
StringRequired. The consumer project_id where the forwarding rule is created from.
$msg->network()/$msg->network($value)Type:
StringRequired. The consumer network where the IP address resides, in the form of projects/{project_id}/global/networks/{network_id}.
$msg->service_attachment()/$msg->service_attachment($value)Type:
StringOutput only. The service attachment which is the target of the PSC connection, in the form of projects/{project-id}/regions/{region}/serviceAttachments/{service-attachment-id}.
$msg->psc_connection_status()/$msg->psc_connection_status($value)Type:
Enum(Google::Cloud::Redis::Cluster::V1beta1::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::V1beta1::ConnectionType)Output only. Type of the PSC connection.
Google::Cloud::Redis::Cluster::V1beta1::CloudRedisCluster::SharedRegionalCertificateAuthority
Shared regional certificate authority
Inherits from Protobuf::Message.
Accessors
$msg->managed_server_ca()/$msg->managed_server_ca($value)Type:
Message(Google::Cloud::Redis::Cluster::V1beta1::CloudRedisCluster::SharedRegionalCertificateAuthority::RegionalManagedCertificateAuthority)CA certificate chains for redis managed server authentication.
$msg->name()/$msg->name($value)Type:
StringIdentifier. Unique name of the resource in this scope including project and location using the form: `projects/{project}/locations/{location}/sharedRegionalCertificateAuthority`
Google::Cloud::Redis::Cluster::V1beta1::CloudRedisCluster::GetSharedRegionalCertificateAuthorityRequest
Request for [GetSharedRegionalCertificateAuthority][CloudRedis.GetSharedRegionalCertificateAuthority].
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. 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::V1beta1::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:
StringOutput only. Server-defined resource path for the target of the operation.
$msg->verb()/$msg->verb($value)Type:
StringOutput only. Name of the verb executed by the operation.
$msg->status_message()/$msg->status_message($value)Type:
StringOutput only. Human-readable status of the operation, if any.
$msg->requested_cancellation()/$msg->requested_cancellation($value)Type:
BoolOutput only. Identifies whether the user has requested cancellation of the operation. Operations that have 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:
StringOutput only. API version used to start the operation.
Google::Cloud::Redis::Cluster::V1beta1::CloudRedisCluster::TokenAuthUser
Represents a token based auth user for the cluster.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringIdentifier. 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::V1beta1::TokenAuthUser::State)Output only. The state of the token based auth user.
Enum: TokenAuthUser::State
STATE_UNSPECIFIED=>0ACTIVE=>1CREATING=>2UPDATING=>3DELETING=>4
Google::Cloud::Redis::Cluster::V1beta1::CloudRedisCluster::AuthToken
Auth token for the cluster.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringIdentifier. 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:
StringOutput 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::V1beta1::AuthToken::State)Output only. State of the auth token.
Enum: AuthToken::State
STATE_UNSPECIFIED=>0ACTIVE=>1CREATING=>2DELETING=>3
Google::Cloud::Redis::Cluster::V1beta1::CloudRedisCluster::CertificateAuthority
Redis cluster certificate authority
Inherits from Protobuf::Message.
Accessors
$msg->managed_server_ca()/$msg->managed_server_ca($value)Type:
Message(Google::Cloud::Redis::Cluster::V1beta1::CloudRedisCluster::CertificateAuthority::ManagedCertificateAuthority)$msg->name()/$msg->name($value)Type:
StringIdentifier. Unique name of the resource in this scope including project, location and cluster using the form: `projects/{project}/locations/{location}/clusters/{cluster}/certificateAuthority`
Google::Cloud::Redis::Cluster::V1beta1::CloudRedisCluster::ClusterPersistenceConfig
Configuration of the persistence functionality.
Inherits from Protobuf::Message.
Accessors
$msg->mode()/$msg->mode($value)Type:
Enum(Google::Cloud::Redis::Cluster::V1beta1::ClusterPersistenceConfig::PersistenceMode)Optional. The mode of persistence.
$msg->rdb_config()/$msg->rdb_config($value)Type:
Message(Google::Cloud::Redis::Cluster::V1beta1::CloudRedisCluster::ClusterPersistenceConfig::RDBConfig)Optional. RDB configuration. This field will be ignored if mode is not RDB.
$msg->aof_config()/$msg->aof_config($value)Type:
Message(Google::Cloud::Redis::Cluster::V1beta1::CloudRedisCluster::ClusterPersistenceConfig::AOFConfig)Optional. AOF configuration. This field will be ignored if mode is not AOF.
Enum: ClusterPersistenceConfig::PersistenceMode
PERSISTENCE_MODE_UNSPECIFIED=>0DISABLED=>1RDB=>2AOF=>3
Google::Cloud::Redis::Cluster::V1beta1::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::V1beta1::ZoneDistributionConfig::ZoneDistributionMode)Optional. The mode of zone distribution. Defaults to MULTI_ZONE, when not specified.
$msg->zone()/$msg->zone($value)Type:
StringOptional. 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:
StringOptional. 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:
StringOutput only. The exact list of zones where the cluster currently has active VMs.
Enum: ZoneDistributionConfig::ZoneDistributionMode
ZONE_DISTRIBUTION_MODE_UNSPECIFIED=>0MULTI_ZONE=>1SINGLE_ZONE=>2
Google::Cloud::Redis::Cluster::V1beta1::CloudRedisCluster::RescheduleClusterMaintenanceRequest
Request for rescheduling a cluster maintenance.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. 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::V1beta1::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=>0IMMEDIATE=>1SPECIFIC_TIME=>3
Google::Cloud::Redis::Cluster::V1beta1::CloudRedisCluster::EncryptionInfo
EncryptionInfo describes the encryption information of a cluster or a backup.
Inherits from Protobuf::Message.
Accessors
$msg->encryption_type()/$msg->encryption_type($value)Type:
Enum(Google::Cloud::Redis::Cluster::V1beta1::EncryptionInfo::Type)Output only. Type of encryption.
$msg->kms_key_versions()/$msg->kms_key_versions($value)Type:
StringOutput only. KMS key versions that are being used to protect the data at-rest.
$msg->kms_key_primary_state()/$msg->kms_key_primary_state($value)Type:
Enum(Google::Cloud::Redis::Cluster::V1beta1::EncryptionInfo::KmsKeyState)Output only. The state of the primary version of the KMS key perceived by the system. This field is not populated in backups.
$msg->last_update_time()/$msg->last_update_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The most recent time when the encryption info was updated.
Enum: EncryptionInfo::Type
TYPE_UNSPECIFIED=>0GOOGLE_DEFAULT_ENCRYPTION=>1CUSTOMER_MANAGED_ENCRYPTION=>2
Enum: EncryptionInfo::KmsKeyState
KMS_KEY_STATE_UNSPECIFIED=>0ENABLED=>1PERMISSION_DENIED=>2DISABLED=>3DESTROYED=>4DESTROY_SCHEDULED=>5EKM_KEY_UNREACHABLE_DETECTED=>6BILLING_DISABLED=>7UNKNOWN_FAILURE=>8
SEE ALSO
Protobuf, Protobuf::Message, Google::Cloud::Redis::Cluster::V1beta1::CloudRedisCluster::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.