Service Client: Google::Cloud::Alloydb::V1alpha::Service::AlloyDBAdminClient

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

target

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

credentials

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

NAME

Google::Cloud::Alloydb::V1alpha::Service - Compiled Protocol Buffers messages for google/cloud/alloydb/v1alpha/service.proto

SYNOPSIS

use Google::Cloud::Alloydb::V1alpha::Service;

my $msg = Google::Cloud::Alloydb::V1alpha::Service::ListClustersRequest->new({
    parent => $parent,
    page_size => $page_size,
    page_token => $page_token,
    filter => $filter,
});

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

# Binary wire-format roundtrip
my $bytes   = $msg->serialize();
my $decoded = Google::Cloud::Alloydb::V1alpha::Service::ListClustersRequest->parse($bytes);

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

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/alloydb/v1alpha/service.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::Alloydb::V1alpha::Service::ListClustersRequest

Message for requesting list of Clusters

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The name of the parent resource. For the required format, see the comment on the Cluster.name field. Additionally, you can perform an aggregated list operation by specifying a value with the following format: * projects/{project}/locations/-

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

    Type: Int32

    Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.

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

    Type: String

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

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

    Type: String

    Optional. Filtering results

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

    Type: String

    Optional. Hint for how to order the results

Google::Cloud::Alloydb::V1alpha::Service::ListClustersResponse

Message for response to listing Clusters

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Cloud::Alloydb::V1alpha::Resources::Cluster)

    The list of Cluster

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

    Type: String

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

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

    Type: String

    Locations that could not be reached.

Google::Cloud::Alloydb::V1alpha::Service::GetClusterRequest

Message for getting a Cluster

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The name of the resource. For the required format, see the comment on the Cluster.name field.

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

    Type: Enum (Google::Cloud::Alloydb::V1alpha::ClusterView)

    Optional. The view of the cluster to return. Returns all default fields if not set.

Google::Cloud::Alloydb::V1alpha::Service::CreateSecondaryClusterRequest

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The location of the new cluster. For the required format, see the comment on the Cluster.name field.

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

    Type: String

    Required. ID of the requesting object (the secondary cluster).

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

    Type: Message (Google::Cloud::Alloydb::V1alpha::Resources::Cluster)

    Required. Configuration of the requesting object (the secondary cluster).

  • $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 ignores the request if it has already been completed. The server guarantees that for at least 60 minutes since the first request.

    For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if the original operation with the same request ID was received, and if so, ignores 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->validate_only() / $msg->validate_only($value)

    Type: Bool

    Optional. If set, performs request validation, for example, permission checks and any other type of validation, but does not actually execute the create request.

Google::Cloud::Alloydb::V1alpha::Service::CreateClusterRequest

Message for creating a Cluster

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The location of the new cluster. For the required format, see the comment on the Cluster.name field.

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

    Type: String

    Required. ID of the requesting object.

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

    Type: Message (Google::Cloud::Alloydb::V1alpha::Resources::Cluster)

    Required. The resource being created

  • $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 ignores the request if it has already been completed. The server guarantees that for at least 60 minutes since the first request.

    For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if the original operation with the same request ID was received, and if so, ignores 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->validate_only() / $msg->validate_only($value)

    Type: Bool

    Optional. If set, performs request validation, for example, permission checks and any other type of validation, but does not actually execute the create request.

Google::Cloud::Alloydb::V1alpha::Service::UpdateClusterRequest

Message for updating a Cluster

Inherits from Protobuf::Message.

Accessors

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

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

    Optional. Field mask is used to specify the fields to be overwritten in the Cluster resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

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

    Type: Message (Google::Cloud::Alloydb::V1alpha::Resources::Cluster)

    Required. The resource being updated

  • $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 ignores the request if it has already been completed. The server guarantees that for at least 60 minutes since the first request.

    For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if the original operation with the same request ID was received, and if so, ignores 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->validate_only() / $msg->validate_only($value)

    Type: Bool

    Optional. If set, performs request validation, for example, permission checks and any other type of validation, but does not actually execute the create request.

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

    Type: Bool

    Optional. If set to true, update succeeds even if cluster is not found. In that case, a new cluster is created and `update_mask` is ignored.

Google::Cloud::Alloydb::V1alpha::Service::GcsDestination

Destination for Export. Export will be done to cloud storage.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The path to the file in Google Cloud Storage where the export will be stored. The URI is in the form `gs://bucketName/fileName`.

Google::Cloud::Alloydb::V1alpha::Service::ExportClusterRequest

Export cluster request.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Alloydb::V1alpha::Service::ExportClusterResponse

Response of export cluster rpc.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Alloydb::V1alpha::Service::ImportClusterRequest

Import cluster request.

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Cloud::Alloydb::V1alpha::Service::ImportClusterRequest::SqlImportOptions)

    Options for importing data in SQL format.

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

    Type: Message (Google::Cloud::Alloydb::V1alpha::Service::ImportClusterRequest::CsvImportOptions)

    Options for importing data in CSV format.

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

    Type: String

    Required. The resource name of the cluster.

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

    Type: String

    Required. The path to the file in Google Cloud Storage where the source file for import will be stored. The URI is in the form `gs://bucketName/fileName`.

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

    Type: String

    Optional. Name of the database to which the import will be done. For import from SQL file, this is required only if the file does not specify a database. Note - Value provided should be the same as expected from `SELECT current_database();` and NOT as a resource reference.

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

    Type: String

    Optional. Database user to be used for importing the data. Note - Value provided should be the same as expected from `SELECT current_user;` and NOT as a resource reference.

Google::Cloud::Alloydb::V1alpha::Service::ImportClusterResponse

Response of import rpc.

Inherits from Protobuf::Message.

Accessors

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

    Type: Int64

    Required. Size of the object downloaded from Google Cloud Storage in bytes.

Google::Cloud::Alloydb::V1alpha::Service::UpgradeClusterRequest

Upgrades a cluster.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The resource name of the cluster.

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

    Type: Enum (Google::Cloud::Alloydb::V1alpha::DatabaseVersion)

    Required. The version the cluster is going to be upgraded to.

  • $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 ignores the request if it has already been completed. The server guarantees that for at least 60 minutes since the first request.

    For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if the original operation with the same request ID was received, and if so, ignores 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->validate_only() / $msg->validate_only($value)

    Type: Bool

    Optional. If set, performs request validation, for example, permission checks and any other type of validation, but does not actually execute the create request.

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

    Type: String

    Optional. The current etag of the Cluster. If an etag is provided and does not match the current etag of the Cluster, upgrade will be blocked and an ABORTED error will be returned.

Google::Cloud::Alloydb::V1alpha::Service::UpgradeClusterResponse

UpgradeClusterResponse contains the response for upgrade cluster operation.

Inherits from Protobuf::Message.

Accessors

Enum: UpgradeClusterResponse::Status

  • STATUS_UNSPECIFIED => 0

  • NOT_STARTED => 4

  • IN_PROGRESS => 5

  • SUCCESS => 1

  • FAILED => 2

  • PARTIAL_SUCCESS => 3

  • CANCEL_IN_PROGRESS => 6

  • CANCELLED => 7

Enum: UpgradeClusterResponse::Stage

  • STAGE_UNSPECIFIED => 0

  • ALLOYDB_PRECHECK => 1

  • PG_UPGRADE_CHECK => 2

  • PREPARE_FOR_UPGRADE => 5

  • PRIMARY_INSTANCE_UPGRADE => 3

  • READ_POOL_INSTANCES_UPGRADE => 4

  • ROLLBACK => 6

  • CLEANUP => 7

Google::Cloud::Alloydb::V1alpha::Service::DeleteClusterRequest

Message for deleting a Cluster

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The name of the resource. For the required format, see the comment on the Cluster.name field.

  • $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 ignores the request if it has already been completed. The server guarantees that for at least 60 minutes since the first request.

    For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if the original operation with the same request ID was received, and if so, ignores 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->etag() / $msg->etag($value)

    Type: String

    Optional. The current etag of the Cluster. If an etag is provided and does not match the current etag of the Cluster, deletion will be blocked and an ABORTED error will be returned.

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

    Type: Bool

    Optional. If set, performs request validation, for example, permission checks and any other type of validation, but does not actually execute the create request.

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

    Type: Bool

    Optional. Whether to cascade delete child instances for given cluster.

Google::Cloud::Alloydb::V1alpha::Service::SwitchoverClusterRequest

Message for switching over to a cluster

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The name of the resource. For the required format, see the comment on the Cluster.name field

  • $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 ignores the request if it has already been completed. The server guarantees that for at least 60 minutes since the first request.

    For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if the original operation with the same request ID was received, and if so, ignores 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->validate_only() / $msg->validate_only($value)

    Type: Bool

    Optional. If set, performs request validation, for example, permission checks and any other type of validation, but does not actually execute the create request.

Google::Cloud::Alloydb::V1alpha::Service::PromoteClusterRequest

Message for promoting a Cluster

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The name of the resource. For the required format, see the comment on the Cluster.name field

  • $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 ignores the request if it has already been completed. The server guarantees that for at least 60 minutes since the first request.

    For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.

    The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

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

    Type: String

    Optional. The current etag of the Cluster. If an etag is provided and does not match the current etag of the Cluster, deletion will be blocked and an ABORTED error will be returned.

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

    Type: Bool

    Optional. If set, performs request validation, for example, permission checks and any other type of validation, but does not actually execute the create request.

Google::Cloud::Alloydb::V1alpha::Service::RestoreClusterRequest

Message for restoring a Cluster from a backup or another cluster at a given point in time. NEXT_ID: 11

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Cloud::Alloydb::V1alpha::Resources::BackupSource)

    Backup source.

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

    Type: Message (Google::Cloud::Alloydb::V1alpha::Resources::ContinuousBackupSource)

    ContinuousBackup source. Continuous backup needs to be enabled in the source cluster for this operation to succeed.

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

    Type: String

    Required. The name of the parent resource. For the required format, see the comment on the Cluster.name field.

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

    Type: String

    Required. ID of the requesting object.

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

    Type: Message (Google::Cloud::Alloydb::V1alpha::Resources::Cluster)

    Required. The resource being created

  • $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 ignores the request if it has already been completed. The server guarantees that for at least 60 minutes since the first request.

    For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if the original operation with the same request ID was received, and if so, ignores 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->validate_only() / $msg->validate_only($value)

    Type: Bool

    Optional. If set, performs request validation, for example, permission checks and any other type of validation, but does not actually execute the create request.

Google::Cloud::Alloydb::V1alpha::Service::ListInstancesRequest

Message for requesting list of Instances

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The name of the parent resource. For the required format, see the comment on the Instance.name field. Additionally, you can perform an aggregated list operation by specifying a value with one of the following formats: * projects/{project}/locations/-/clusters/- * projects/{project}/locations/{region}/clusters/-

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

    Type: Int32

    Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.

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

    Type: String

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

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

    Type: String

    Optional. Filtering results

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

    Type: String

    Optional. Hint for how to order the results

Google::Cloud::Alloydb::V1alpha::Service::ListInstancesResponse

Message for response to listing Instances

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Cloud::Alloydb::V1alpha::Resources::Instance)

    The list of Instance

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

    Type: String

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

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

    Type: String

    Locations that could not be reached.

Google::Cloud::Alloydb::V1alpha::Service::GetInstanceRequest

Message for getting a Instance

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The name of the resource. For the required format, see the comment on the Instance.name field.

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

    Type: Enum (Google::Cloud::Alloydb::V1alpha::InstanceView)

    The view of the instance to return.

Google::Cloud::Alloydb::V1alpha::Service::CreateInstanceRequest

Message for creating a Instance

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The name of the parent resource. For the required format, see the comment on the Instance.name field.

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

    Type: String

    Required. ID of the requesting object.

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

    Type: Message (Google::Cloud::Alloydb::V1alpha::Resources::Instance)

    Required. The resource being created

  • $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 ignores the request if it has already been completed. The server guarantees that for at least 60 minutes since the first request.

    For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if the original operation with the same request ID was received, and if so, ignores 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->validate_only() / $msg->validate_only($value)

    Type: Bool

    Optional. If set, performs request validation, for example, permission checks and any other type of validation, but does not actually execute the create request.

Google::Cloud::Alloydb::V1alpha::Service::CreateSecondaryInstanceRequest

Message for creating a Secondary Instance

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The name of the parent resource. For the required format, see the comment on the Instance.name field.

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

    Type: String

    Required. ID of the requesting object.

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

    Type: Message (Google::Cloud::Alloydb::V1alpha::Resources::Instance)

    Required. The resource being created

  • $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 ignores the request if it has already been completed. The server guarantees that for at least 60 minutes since the first request.

    For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if the original operation with the same request ID was received, and if so, ignores 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->validate_only() / $msg->validate_only($value)

    Type: Bool

    Optional. If set, performs request validation, for example, permission checks and any other type of validation, but does not actually execute the create request.

Google::Cloud::Alloydb::V1alpha::Service::CreateInstanceRequests

See usage below for notes.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Alloydb::V1alpha::Service::BatchCreateInstancesRequest

Message for creating a batch of instances under the specified cluster.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The name of the parent resource.

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

    Type: Message (Google::Cloud::Alloydb::V1alpha::Service::CreateInstanceRequests)

    Required. Resources being created.

  • $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 ignores the request if it has already been completed. The server guarantees that for at least 60 minutes since the first request.

    For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if the original operation with the same request ID was received, and if so, ignores the second request. This prevents clients from accidentally creating duplicate commitments.

    The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

Google::Cloud::Alloydb::V1alpha::Service::BatchCreateInstancesResponse

Message for creating batches of instances in a cluster.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Alloydb::V1alpha::Service::BatchCreateInstancesMetadata

Message for metadata that is specific to BatchCreateInstances API. NEXT_ID: 3

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    The instances being created in the API call. Each string in this list is the server defined resource path for target instances in the request and for the format of each string, see the comment on the Instance.name field.

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

    Type: Message (Google::Cloud::Alloydb::V1alpha::Service::BatchCreateInstancesMetadata::InstanceStatusesEntry)

    A map representing state of the instances involved in the BatchCreateInstances operation during the operation execution. The instance state will be in STATE_UNSPECIFIED state if the instance has not yet been picked up for processing. The key of the map is the name of the instance resource. For the format, see the comment on the Instance.name field.

Google::Cloud::Alloydb::V1alpha::Service::BatchCreateInstanceStatus

Message for current status of an instance in the BatchCreateInstances operation. For example, lets say a BatchCreateInstances workflow has 4 instances, Instance1 through Instance4. Lets also assume that 2 instances succeeded but the third failed to create and the 4th was never picked up for creation because of failure of the previous one. Then, resulting states would look something like: 1. Instance1 = ROLLED_BACK 2. Instance2 = ROLLED_BACK 3. Instance3 = FAILED 4. Instance4 = FAILED

However, while the operation is running, the instance might be in other states including PENDING_CREATE, ACTIVE, DELETING and CREATING. The states / do not get further updated once the operation is done.

Inherits from Protobuf::Message.

Accessors

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

    Type: Enum (Google::Cloud::Alloydb::V1alpha::BatchCreateInstanceStatus::State)

    The current state of an instance involved in the batch create operation. Once the operation is complete, the final state of the instances in the LRO can be one of: 1. ACTIVE, indicating that instances were created successfully 2. FAILED, indicating that a particular instance failed creation 3. ROLLED_BACK indicating that although the instance was created successfully, it had to be rolled back and deleted due to failure in other steps of the workflow.

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

    Type: String

    DEPRECATED - Use the error field instead. Error, if any error occurred and is available, during instance creation.

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

    Type: Message (Google::Rpc::Status::Status)

    The RPC status of the instance creation operation. This field will be present if an error happened during the instance creation.

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

    Type: Enum (Google::Cloud::Alloydb::V1alpha::Instance::InstanceType)

Enum: BatchCreateInstanceStatus::State

  • STATE_UNSPECIFIED => 0

  • PENDING_CREATE => 1

  • READY => 2

  • CREATING => 3

  • DELETING => 4

  • FAILED => 5

  • ROLLED_BACK => 6

Google::Cloud::Alloydb::V1alpha::Service::UpdateInstanceRequest

Message for updating a Instance

Inherits from Protobuf::Message.

Accessors

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

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

    Optional. Field mask is used to specify the fields to be overwritten in the Instance resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

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

    Type: Message (Google::Cloud::Alloydb::V1alpha::Resources::Instance)

    Required. The resource being updated

  • $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 ignores the request if it has already been completed. The server guarantees that for at least 60 minutes since the first request.

    For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if the original operation with the same request ID was received, and if so, ignores 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->validate_only() / $msg->validate_only($value)

    Type: Bool

    Optional. If set, performs request validation, for example, permission checks and any other type of validation, but does not actually execute the create request.

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

    Type: Bool

    Optional. If set to true, update succeeds even if instance is not found. In that case, a new instance is created and `update_mask` is ignored.

Google::Cloud::Alloydb::V1alpha::Service::DeleteInstanceRequest

Message for deleting a Instance

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The name of the resource. For the required format, see the comment on the Instance.name field.

  • $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 ignores the request if it has already been completed. The server guarantees that for at least 60 minutes since the first request.

    For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if the original operation with the same request ID was received, and if so, ignores 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->etag() / $msg->etag($value)

    Type: String

    Optional. The current etag of the Instance. If an etag is provided and does not match the current etag of the Instance, deletion will be blocked and an ABORTED error will be returned.

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

    Type: Bool

    Optional. If set, performs request validation, for example, permission checks and any other type of validation, but does not actually execute the create request.

Google::Cloud::Alloydb::V1alpha::Service::FailoverInstanceRequest

Message for triggering failover on an Instance

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The name of the resource. For the required format, see the comment on the Instance.name field.

  • $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 ignores the request if it has already been completed. The server guarantees that for at least 60 minutes since the first request.

    For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if the original operation with the same request ID was received, and if so, ignores 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->validate_only() / $msg->validate_only($value)

    Type: Bool

    Optional. If set, performs request validation, for example, permission checks and any other type of validation, but does not actually execute the create request.

Google::Cloud::Alloydb::V1alpha::Service::InjectFaultRequest

Message for triggering fault injection on an instance

Inherits from Protobuf::Message.

Accessors

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

    Type: Enum (Google::Cloud::Alloydb::V1alpha::InjectFaultRequest::FaultType)

    Required. The type of fault to be injected in an instance.

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

    Type: String

    Required. The name of the resource. For the required format, see the comment on the Instance.name field.

  • $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 ignores the request if it has already been completed. The server guarantees that for at least 60 minutes since the first request.

    For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if the original operation with the same request ID was received, and if so, ignores 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->validate_only() / $msg->validate_only($value)

    Type: Bool

    Optional. If set, performs request validation, for example, permission checks and any other type of validation, but does not actually execute the create request.

Enum: InjectFaultRequest::FaultType

  • FAULT_TYPE_UNSPECIFIED => 0

  • STOP_VM => 1

Google::Cloud::Alloydb::V1alpha::Service::RestartInstanceRequest

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The name of the resource. For the required format, see the comment on the Instance.name field.

  • $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 ignores the request if it has already been completed. The server guarantees that for at least 60 minutes since the first request.

    For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if the original operation with the same request ID was received, and if so, ignores 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->validate_only() / $msg->validate_only($value)

    Type: Bool

    Optional. If set, performs request validation, for example, permission checks and any other type of validation, but does not actually execute the create request.

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

    Type: String

    Optional. Full name of the nodes as obtained from INSTANCE_VIEW_FULL to restart upon. Applicable only to read instances.

Google::Cloud::Alloydb::V1alpha::Service::ExecuteSqlRequest

Request for ExecuteSql rpc.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Optional. The database native user’s password.

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

    Type: String

    Required. The instance where the SQL will be executed. For the required format, see the comment on the Instance.name field.

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

    Type: String

    Required. Name of the database where the query will be executed. Note - Value provided should be the same as expected from `SELECT current_database();` and NOT as a resource reference.

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

    Type: String

    Required. Database user to be used for executing the SQL. Note - Value provided should be the same as expected from `SELECT current_user;` and NOT as a resource reference.

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

    Type: String

    Required. SQL statement to execute on database. Any valid statement is permitted, including DDL, DML, DQL statements.

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

    Type: Bool

    Optional. If set, validates the sql statement by performing syntax and semantic validation and doesn't execute the query.

Google::Cloud::Alloydb::V1alpha::Service::ExecuteSqlResponse

Execute a SQL statement response.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Alloydb::V1alpha::Service::ExecuteSqlMetadata

Any additional metadata information regarding the execution of the SQL

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Message related to SQL execution. Marked as core content since it can potentially contain details related to the query or result set. This field can be used to convey messages such as "when the SQL result set exceeds the acceptable response size limits."

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

    Type: Bool

    Set to true if SQL returned a result set larger than the acceptable response size limits and the result was truncated.

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

    Type: Message (Google::Protobuf::Duration::Duration)

    The time duration taken to execute the sql statement.

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

    Type: Enum (Google::Cloud::Alloydb::V1alpha::ExecuteSqlMetadata::Status)

    Status of SQL execution.

Enum: ExecuteSqlMetadata::Status

  • STATUS_UNSPECIFIED => 0

  • OK => 1

  • PARTIAL => 2

  • ERROR => 3

Google::Cloud::Alloydb::V1alpha::Service::ListBackupsRequest

Message for requesting list of Backups

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Parent value for ListBackupsRequest

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

    Type: Int32

    Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.

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

    Type: String

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

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

    Type: String

    Filtering results

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

    Type: String

    Hint for how to order the results

Google::Cloud::Alloydb::V1alpha::Service::ListBackupsResponse

Message for response to listing Backups

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Cloud::Alloydb::V1alpha::Resources::Backup)

    The list of Backup

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

    Type: String

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

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

    Type: String

    Locations that could not be reached.

Google::Cloud::Alloydb::V1alpha::Service::GetBackupRequest

Message for getting a Backup

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Name of the resource

Google::Cloud::Alloydb::V1alpha::Service::CreateBackupRequest

Message for creating a Backup

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Value for parent.

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

    Type: String

    Required. ID of the requesting object.

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

    Type: Message (Google::Cloud::Alloydb::V1alpha::Resources::Backup)

    Required. The resource being created

  • $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 ignores the request if it has already been completed. The server guarantees that for at least 60 minutes since the first request.

    For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if the original operation with the same request ID was received, and if so, ignores 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->validate_only() / $msg->validate_only($value)

    Type: Bool

    Optional. If set, the backend validates the request, but doesn't actually execute it.

Google::Cloud::Alloydb::V1alpha::Service::UpdateBackupRequest

Message for updating a Backup

Inherits from Protobuf::Message.

Accessors

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

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

    Optional. Field mask is used to specify the fields to be overwritten in the Backup resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

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

    Type: Message (Google::Cloud::Alloydb::V1alpha::Resources::Backup)

    Required. The resource being updated

  • $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 ignores the request if it has already been completed. The server guarantees that for at least 60 minutes since the first request.

    For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if the original operation with the same request ID was received, and if so, ignores 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->validate_only() / $msg->validate_only($value)

    Type: Bool

    Optional. If set, the backend validates the request, but doesn't actually execute it.

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

    Type: Bool

    Optional. If set to true, update succeeds even if instance is not found. In that case, a new backup is created and `update_mask` is ignored.

Google::Cloud::Alloydb::V1alpha::Service::DeleteBackupRequest

Message for deleting a Backup

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Name of the resource. For the required format, see the comment on the Backup.name field.

  • $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 ignores the request if it has already been completed. The server guarantees that for at least 60 minutes since the first request.

    For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if the original operation with the same request ID was received, and if so, ignores 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->validate_only() / $msg->validate_only($value)

    Type: Bool

    Optional. If set, the backend validates the request, but doesn't actually execute it.

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

    Type: String

    Optional. The current etag of the Backup. If an etag is provided and does not match the current etag of the Backup, deletion will be blocked and an ABORTED error will be returned.

Google::Cloud::Alloydb::V1alpha::Service::ListSupportedDatabaseFlagsRequest

Message for listing the information about the supported Database flags.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The name of the parent resource. The required format is: * projects/{project}/locations/{location}

    Regardless of the parent specified here, as long it is contains a valid project and location, the service will return a static list of supported flags resources. Note that we do not yet support region-specific flags.

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

    Type: Int32

    Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.

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

    Type: String

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

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

    Type: Enum (Google::Cloud::Alloydb::V1alpha::SupportedDatabaseFlag::Scope)

    Optional. The scope for which supported flags are requested. If not specified, default is DATABASE.

Google::Cloud::Alloydb::V1alpha::Service::ListSupportedDatabaseFlagsResponse

Message for response to listing SupportedDatabaseFlags.

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Cloud::Alloydb::V1alpha::Resources::SupportedDatabaseFlag)

    The list of SupportedDatabaseFlags.

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

    Type: String

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

Google::Cloud::Alloydb::V1alpha::Service::GenerateClientCertificateRequest

Message for requests to generate a client certificate signed by the Cluster CA.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The name of the parent resource. The required format is: * projects/{project}/locations/{location}/clusters/{cluster}

  • $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 ignores the request if it has already been completed. The server guarantees that for at least 60 minutes since the first request.

    For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if the original operation with the same request ID was received, and if so, ignores 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->pem_csr() / $msg->pem_csr($value)

    Type: String

    Optional. A pem-encoded X.509 certificate signing request (CSR). It is recommended to use public_key instead.

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

    Type: Message (Google::Protobuf::Duration::Duration)

    Optional. An optional hint to the endpoint to generate the client certificate with the requested duration. The duration can be from 1 hour to 24 hours. The endpoint may or may not honor the hint. If the hint is left unspecified or is not honored, then the endpoint will pick an appropriate default duration.

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

    Type: String

    Optional. The public key from the client.

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

    Type: Bool

    Optional. An optional hint to the endpoint to generate a client certificate that can be used by AlloyDB connectors to exchange additional metadata with the server after TLS handshake.

Google::Cloud::Alloydb::V1alpha::Service::GenerateClientCertificateResponse

Message returned by a GenerateClientCertificate operation.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Output only. The pem-encoded, signed X.509 certificate.

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

    Type: String

    Output only. The pem-encoded chain that may be used to verify the X.509 certificate. Expected to be in issuer-to-root order according to RFC 5246.

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

    Type: String

    Optional. The pem-encoded cluster ca X.509 certificate.

Google::Cloud::Alloydb::V1alpha::Service::GetConnectionInfoRequest

Request message for GetConnectionInfo.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The name of the parent resource. The required format is: projects/{project}/locations/{location}/clusters/{cluster}/instances/{instance}

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

    Type: String

    Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server ignores the request if it has already been completed. The server guarantees that for at least 60 minutes since the first request.

    For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if the original operation with the same request ID was received, and if so, ignores the second request. This prevents clients from accidentally creating duplicate commitments.

    The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

Google::Cloud::Alloydb::V1alpha::Service::OperationMetadata

Represents the metadata of the long-running operation.

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Cloud::Alloydb::V1alpha::Service::BatchCreateInstancesMetadata)

    Output only. BatchCreateInstances related metadata.

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

    Type: Message (Google::Cloud::Alloydb::V1alpha::Service::PromoteClusterStatus)

    Output only. PromoteClusterStatus related metadata.

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

    Type: Message (Google::Cloud::Alloydb::V1alpha::Service::UpgradeClusterStatus)

    Output only. UpgradeClusterStatus related metadata.

  • $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 [google.longrunning.Operation.error][google.longrunning.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::Alloydb::V1alpha::Service::PromoteClusterStatus

Message for current status of the database during Promote Cluster operation.

Inherits from Protobuf::Message.

Accessors

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

    Type: Enum (Google::Cloud::Alloydb::V1alpha::PromoteClusterStatus::State)

    Output only. The current state of the promoted secondary's database. Once the operation is complete, the final state of the database in the LRO can be one of: 1. PROMOTE_CLUSTER_AVAILABLE_FOR_READ, indicating that the promote operation has failed mid-way, the database is still only available for read. 2. PROMOTE_CLUSTER_COMPLETED, indicating that a promote operation completed successfully. The database is available for both read and write requests

Enum: PromoteClusterStatus::State

  • STATE_UNSPECIFIED => 0

  • PROMOTE_CLUSTER_AVAILABLE_FOR_READ => 1

  • PROMOTE_CLUSTER_AVAILABLE_FOR_WRITE => 2

  • PROMOTE_CLUSTER_COMPLETED => 3

Google::Cloud::Alloydb::V1alpha::Service::UpgradeClusterStatus

Message for current status of the Major Version Upgrade operation.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Alloydb::V1alpha::Service::ListUsersRequest

Message for requesting list of Users

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Parent value for ListUsersRequest

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

    Type: Int32

    Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.

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

    Type: String

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

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

    Type: String

    Optional. Filtering results

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

    Type: String

    Optional. Hint for how to order the results

Google::Cloud::Alloydb::V1alpha::Service::ListUsersResponse

Message for response to listing Users

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Cloud::Alloydb::V1alpha::Resources::User)

    The list of User

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

    Type: String

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

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

    Type: String

    Locations that could not be reached.

Google::Cloud::Alloydb::V1alpha::Service::GetUserRequest

Message for getting a User

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The name of the resource. For the required format, see the comment on the User.name field.

Google::Cloud::Alloydb::V1alpha::Service::CreateUserRequest

Message for creating a User

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Value for parent.

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

    Type: String

    Required. ID of the requesting object.

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

    Type: Message (Google::Cloud::Alloydb::V1alpha::Resources::User)

    Required. The resource being created

  • $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 ignores the request if it has already been completed. The server guarantees that for at least 60 minutes since the first request.

    For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if the original operation with the same request ID was received, and if so, ignores 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->validate_only() / $msg->validate_only($value)

    Type: Bool

    Optional. If set, the backend validates the request, but doesn't actually execute it.

Google::Cloud::Alloydb::V1alpha::Service::UpdateUserRequest

Message for updating a User

Inherits from Protobuf::Message.

Accessors

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

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

    Optional. Field mask is used to specify the fields to be overwritten in the User resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

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

    Type: Message (Google::Cloud::Alloydb::V1alpha::Resources::User)

    Required. The resource being updated

  • $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 ignores the request if it has already been completed. The server guarantees that for at least 60 minutes since the first request.

    For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if the original operation with the same request ID was received, and if so, ignores 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->validate_only() / $msg->validate_only($value)

    Type: Bool

    Optional. If set, the backend validates the request, but doesn't actually execute it.

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

    Type: Bool

    Optional. Allow missing fields in the update mask.

Google::Cloud::Alloydb::V1alpha::Service::DeleteUserRequest

Message for deleting a User

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The name of the resource. For the required format, see the comment on the User.name field.

  • $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 ignores the request if it has already been completed. The server guarantees that for at least 60 minutes since the first request.

    For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if the original operation with the same request ID was received, and if so, ignores 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->validate_only() / $msg->validate_only($value)

    Type: Bool

    Optional. If set, the backend validates the request, but doesn't actually execute it.

Google::Cloud::Alloydb::V1alpha::Service::ListDatabasesRequest

Message for ListDatabases request.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Parent value for ListDatabasesRequest.

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

    Type: Int32

    Optional. The maximum number of databases to return. The service may return fewer than this value. If unspecified, 2000 is the default page_size. The max value of page_size will be 4000, values above max will be coerced to max.

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

    Type: String

    Optional. A page token, received from a previous `ListDatabases` call. This should be provided to retrieve the subsequent page. This field is currently not supported, its value will be ignored if passed.

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

    Type: String

    Optional. Filtering results. This field is currently not supported, its value will be ignored if passed.

Google::Cloud::Alloydb::V1alpha::Service::ListDatabasesResponse

Message for ListDatabases response.

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Cloud::Alloydb::V1alpha::Resources::Database)

    The list of databases.

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

    Type: String

    A token identifying the next page of results the server should return. If this field is omitted, there are no subsequent pages.

Google::Cloud::Alloydb::V1alpha::Service::CreateDatabaseRequest

Message for CreateDatabase request.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Value for parent.

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

    Type: String

    Required. ID of the requesting object.

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

    Type: Message (Google::Cloud::Alloydb::V1alpha::Resources::Database)

    Required. The resource being created.

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Alloydb::V1alpha::Service::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.