Service Client: Google::Cloud::Alloydb::V1::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::V1::Service - Compiled Protocol Buffers messages for google/cloud/alloydb/v1/service.proto
SYNOPSIS
use Google::Cloud::Alloydb::V1::Service;
my $msg = Google::Cloud::Alloydb::V1::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::V1::Service::ListClustersRequest->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/cloud/alloydb/v1/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::V1::Service::ListClustersRequest
Message for requesting list of Clusters
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. 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:
Int32Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.
$msg->page_token()/$msg->page_token($value)Type:
StringA token identifying a page of results the server should return.
$msg->filter()/$msg->filter($value)Type:
StringOptional. Filtering results
$msg->order_by()/$msg->order_by($value)Type:
StringOptional. Hint for how to order the results
Google::Cloud::Alloydb::V1::Service::ListClustersResponse
Message for response to listing Clusters
Inherits from Protobuf::Message.
Accessors
$msg->clusters()/$msg->clusters($value)Type:
Message(Google::Cloud::Alloydb::V1::Resources::Cluster)The list of Cluster
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringA token identifying a page of results the server should return.
$msg->unreachable()/$msg->unreachable($value)Type:
StringLocations that could not be reached.
Google::Cloud::Alloydb::V1::Service::GetClusterRequest
Message for getting a Cluster
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. 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::V1::ClusterView)Optional. The view of the cluster to return. Returns all default fields if not set.
Google::Cloud::Alloydb::V1::Service::CreateSecondaryClusterRequest
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. 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:
StringRequired. ID of the requesting object (the secondary cluster).
$msg->cluster()/$msg->cluster($value)Type:
Message(Google::Cloud::Alloydb::V1::Resources::Cluster)Required. Configuration of the requesting object (the secondary cluster).
$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 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:
BoolOptional. 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::V1::Service::CreateClusterRequest
Message for creating a Cluster
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. 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:
StringRequired. ID of the requesting object.
$msg->cluster()/$msg->cluster($value)Type:
Message(Google::Cloud::Alloydb::V1::Resources::Cluster)Required. The resource being created
$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 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:
BoolOptional. 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::V1::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::V1::Resources::Cluster)Required. The resource being updated
$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 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:
BoolOptional. 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:
BoolOptional. 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::V1::Service::GcsDestination
Destination for Export. Export will be done to cloud storage.
Inherits from Protobuf::Message.
Accessors
$msg->uri()/$msg->uri($value)Type:
StringRequired. 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::V1::Service::ExportClusterRequest
Export cluster request.
Inherits from Protobuf::Message.
Accessors
$msg->gcs_destination()/$msg->gcs_destination($value)Type:
Message(Google::Cloud::Alloydb::V1::Service::GcsDestination)Required. Option to export data to cloud storage.
$msg->csv_export_options()/$msg->csv_export_options($value)Type:
Message(Google::Cloud::Alloydb::V1::Service::ExportClusterRequest::CsvExportOptions)Options for exporting data in CSV format. Required field to be set for CSV file type.
$msg->sql_export_options()/$msg->sql_export_options($value)Type:
Message(Google::Cloud::Alloydb::V1::Service::ExportClusterRequest::SqlExportOptions)Options for exporting data in SQL format. Required field to be set for SQL file type.
$msg->name()/$msg->name($value)Type:
StringRequired. The resource name of the cluster.
$msg->database()/$msg->database($value)Type:
StringRequired. Name of the database where the export command will be executed. Note - Value provided should be the same as expected from `SELECT current_database();` and NOT as a resource reference.
Google::Cloud::Alloydb::V1::Service::ExportClusterResponse
Response of export cluster rpc.
Inherits from Protobuf::Message.
Accessors
$msg->gcs_destination()/$msg->gcs_destination($value)Type:
Message(Google::Cloud::Alloydb::V1::Service::GcsDestination)Required. Option to export data to cloud storage.
Google::Cloud::Alloydb::V1::Service::ImportClusterRequest
Import cluster request.
Inherits from Protobuf::Message.
Accessors
$msg->sql_import_options()/$msg->sql_import_options($value)Type:
Message(Google::Cloud::Alloydb::V1::Service::ImportClusterRequest::SqlImportOptions)Options for importing data in SQL format.
$msg->csv_import_options()/$msg->csv_import_options($value)Type:
Message(Google::Cloud::Alloydb::V1::Service::ImportClusterRequest::CsvImportOptions)Options for importing data in CSV format.
$msg->name()/$msg->name($value)Type:
StringRequired. The resource name of the cluster.
$msg->gcs_uri()/$msg->gcs_uri($value)Type:
StringRequired. 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:
StringOptional. 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:
StringOptional. 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::V1::Service::ImportClusterResponse
Response of import rpc.
Inherits from Protobuf::Message.
Accessors
$msg->bytes_downloaded()/$msg->bytes_downloaded($value)Type:
Int64Required. Size of the object downloaded from Google Cloud Storage in bytes.
Google::Cloud::Alloydb::V1::Service::UpgradeClusterRequest
Upgrades a cluster.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The resource name of the cluster.
$msg->version()/$msg->version($value)Type:
Enum(Google::Cloud::Alloydb::V1::DatabaseVersion)Required. The version the cluster is going to be upgraded to.
$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 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:
BoolOptional. 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:
StringOptional. 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::V1::Service::UpgradeClusterResponse
UpgradeClusterResponse contains the response for upgrade cluster operation.
Inherits from Protobuf::Message.
Accessors
$msg->status()/$msg->status($value)Type:
Enum(Google::Cloud::Alloydb::V1::UpgradeClusterResponse::Status)Status of upgrade operation.
$msg->message()/$msg->message($value)Type:
StringA user friendly message summarising the upgrade operation details and the next steps for the user if there is any.
$msg->cluster_upgrade_details()/$msg->cluster_upgrade_details($value)Type:
Message(Google::Cloud::Alloydb::V1::Service::UpgradeClusterResponse::ClusterUpgradeDetails)Array of upgrade details for the current cluster and all the secondary clusters associated with this cluster.
Enum: UpgradeClusterResponse::Status
STATUS_UNSPECIFIED=>0NOT_STARTED=>4IN_PROGRESS=>5SUCCESS=>1FAILED=>2PARTIAL_SUCCESS=>3CANCEL_IN_PROGRESS=>6CANCELLED=>7
Enum: UpgradeClusterResponse::Stage
STAGE_UNSPECIFIED=>0ALLOYDB_PRECHECK=>1PG_UPGRADE_CHECK=>2PREPARE_FOR_UPGRADE=>5PRIMARY_INSTANCE_UPGRADE=>3READ_POOL_INSTANCES_UPGRADE=>4ROLLBACK=>6CLEANUP=>7
Google::Cloud::Alloydb::V1::Service::DeleteClusterRequest
Message for deleting a Cluster
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. 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:
StringOptional. 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:
StringOptional. 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:
BoolOptional. 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:
BoolOptional. Whether to cascade delete child instances for given cluster.
Google::Cloud::Alloydb::V1::Service::SwitchoverClusterRequest
Message for switching over to a cluster
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. 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:
StringOptional. 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:
BoolOptional. 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::V1::Service::PromoteClusterRequest
Message for promoting a Cluster
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. 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:
StringOptional. 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:
StringOptional. 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:
BoolOptional. 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::V1::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::V1::Resources::BackupSource)Backup source.
$msg->continuous_backup_source()/$msg->continuous_backup_source($value)Type:
Message(Google::Cloud::Alloydb::V1::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:
StringRequired. 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:
StringRequired. ID of the requesting object.
$msg->cluster()/$msg->cluster($value)Type:
Message(Google::Cloud::Alloydb::V1::Resources::Cluster)Required. The resource being created
$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 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:
BoolOptional. 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::V1::Service::ListInstancesRequest
Message for requesting list of Instances
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. 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:
Int32Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.
$msg->page_token()/$msg->page_token($value)Type:
StringA token identifying a page of results the server should return.
$msg->filter()/$msg->filter($value)Type:
StringOptional. Filtering results
$msg->order_by()/$msg->order_by($value)Type:
StringOptional. Hint for how to order the results
Google::Cloud::Alloydb::V1::Service::ListInstancesResponse
Message for response to listing Instances
Inherits from Protobuf::Message.
Accessors
$msg->instances()/$msg->instances($value)Type:
Message(Google::Cloud::Alloydb::V1::Resources::Instance)The list of Instance
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringA token identifying a page of results the server should return.
$msg->unreachable()/$msg->unreachable($value)Type:
StringLocations that could not be reached.
Google::Cloud::Alloydb::V1::Service::GetInstanceRequest
Message for getting a Instance
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. 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::V1::InstanceView)The view of the instance to return.
Google::Cloud::Alloydb::V1::Service::CreateInstanceRequest
Message for creating a Instance
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. 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:
StringRequired. ID of the requesting object.
$msg->instance()/$msg->instance($value)Type:
Message(Google::Cloud::Alloydb::V1::Resources::Instance)Required. The resource being created
$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 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:
BoolOptional. 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::V1::Service::CreateSecondaryInstanceRequest
Message for creating a Secondary Instance
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. 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:
StringRequired. ID of the requesting object.
$msg->instance()/$msg->instance($value)Type:
Message(Google::Cloud::Alloydb::V1::Resources::Instance)Required. The resource being created
$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 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:
BoolOptional. 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::V1::Service::CreateInstanceRequests
See usage below for notes.
Inherits from Protobuf::Message.
Accessors
$msg->create_instance_requests()/$msg->create_instance_requests($value)Type:
Message(Google::Cloud::Alloydb::V1::Service::CreateInstanceRequest)Required. Primary and read replica instances to be created. This list should not be empty.
Google::Cloud::Alloydb::V1::Service::BatchCreateInstancesRequest
Message for creating a batch of instances under the specified cluster.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The name of the parent resource.
$msg->requests()/$msg->requests($value)Type:
Message(Google::Cloud::Alloydb::V1::Service::CreateInstanceRequests)Required. Resources being created.
$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 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::V1::Service::BatchCreateInstancesResponse
Message for creating batches of instances in a cluster.
Inherits from Protobuf::Message.
Accessors
$msg->instances()/$msg->instances($value)Type:
Message(Google::Cloud::Alloydb::V1::Resources::Instance)Created instances.
Google::Cloud::Alloydb::V1::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:
StringThe 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::V1::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::V1::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::V1::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:
StringDEPRECATED - 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::V1::Instance::InstanceType)
Enum: BatchCreateInstanceStatus::State
STATE_UNSPECIFIED=>0PENDING_CREATE=>1READY=>2CREATING=>3DELETING=>4FAILED=>5ROLLED_BACK=>6
Google::Cloud::Alloydb::V1::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::V1::Resources::Instance)Required. The resource being updated
$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 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:
BoolOptional. 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:
BoolOptional. 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::V1::Service::DeleteInstanceRequest
Message for deleting a Instance
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. 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:
StringOptional. 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:
StringOptional. 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:
BoolOptional. 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::V1::Service::FailoverInstanceRequest
Message for triggering failover on an Instance
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. 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:
StringOptional. 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:
BoolOptional. 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::V1::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::V1::InjectFaultRequest::FaultType)Required. The type of fault to be injected in an instance.
$msg->name()/$msg->name($value)Type:
StringRequired. 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:
StringOptional. 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:
BoolOptional. 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=>0STOP_VM=>1
Google::Cloud::Alloydb::V1::Service::RestartInstanceRequest
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. 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:
StringOptional. 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:
BoolOptional. 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:
StringOptional. Full name of the nodes as obtained from INSTANCE_VIEW_FULL to restart upon. Applicable only to read instances.
Google::Cloud::Alloydb::V1::Service::ExecuteSqlRequest
Request for ExecuteSql rpc.
Inherits from Protobuf::Message.
Accessors
$msg->password()/$msg->password($value)Type:
StringOptional. The database native user’s password.
$msg->instance()/$msg->instance($value)Type:
StringRequired. 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:
StringRequired. 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:
StringRequired. 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:
StringRequired. SQL statement to execute on database. Any valid statement is permitted, including DDL, DML, DQL statements.
$msg->validate_only()/$msg->validate_only($value)Type:
BoolOptional. If set, validates the sql statement by performing syntax and semantic validation and doesn't execute the query.
Google::Cloud::Alloydb::V1::Service::ExecuteSqlResponse
Execute a SQL statement response.
Inherits from Protobuf::Message.
Accessors
$msg->sql_results()/$msg->sql_results($value)Type:
Message(Google::Cloud::Alloydb::V1::DataModel::SqlResult)SqlResult represents the results for the execution of sql statements.
$msg->metadata()/$msg->metadata($value)Type:
Message(Google::Cloud::Alloydb::V1::Service::ExecuteSqlMetadata)Any additional metadata information regarding the execution of the sql statement.
Google::Cloud::Alloydb::V1::Service::ExecuteSqlMetadata
Any additional metadata information regarding the execution of the SQL
Inherits from Protobuf::Message.
Accessors
$msg->message()/$msg->message($value)Type:
StringMessage 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:
BoolSet 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::V1::ExecuteSqlMetadata::Status)Status of SQL execution.
Enum: ExecuteSqlMetadata::Status
STATUS_UNSPECIFIED=>0OK=>1PARTIAL=>2ERROR=>3
Google::Cloud::Alloydb::V1::Service::ListBackupsRequest
Message for requesting list of Backups
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. Parent value for ListBackupsRequest
$msg->page_size()/$msg->page_size($value)Type:
Int32Requested 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:
StringA token identifying a page of results the server should return.
$msg->filter()/$msg->filter($value)Type:
StringFiltering results
$msg->order_by()/$msg->order_by($value)Type:
StringHint for how to order the results
Google::Cloud::Alloydb::V1::Service::ListBackupsResponse
Message for response to listing Backups
Inherits from Protobuf::Message.
Accessors
$msg->backups()/$msg->backups($value)Type:
Message(Google::Cloud::Alloydb::V1::Resources::Backup)The list of Backup
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringA token identifying a page of results the server should return.
$msg->unreachable()/$msg->unreachable($value)Type:
StringLocations that could not be reached.
Google::Cloud::Alloydb::V1::Service::GetBackupRequest
Message for getting a Backup
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. Name of the resource
Google::Cloud::Alloydb::V1::Service::CreateBackupRequest
Message for creating a Backup
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. Value for parent.
$msg->backup_id()/$msg->backup_id($value)Type:
StringRequired. ID of the requesting object.
$msg->backup()/$msg->backup($value)Type:
Message(Google::Cloud::Alloydb::V1::Resources::Backup)Required. The resource being created
$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 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:
BoolOptional. If set, the backend validates the request, but doesn't actually execute it.
Google::Cloud::Alloydb::V1::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::V1::Resources::Backup)Required. The resource being updated
$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 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:
BoolOptional. If set, the backend validates the request, but doesn't actually execute it.
$msg->allow_missing()/$msg->allow_missing($value)Type:
BoolOptional. 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::V1::Service::DeleteBackupRequest
Message for deleting a Backup
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. Name of the resource. For the required format, see the comment on the Backup.name field.
$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 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:
BoolOptional. If set, the backend validates the request, but doesn't actually execute it.
$msg->etag()/$msg->etag($value)Type:
StringOptional. 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::V1::Service::ListSupportedDatabaseFlagsRequest
Message for listing the information about the supported Database flags.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. 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:
Int32Requested 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:
StringA token identifying a page of results the server should return.
$msg->scope()/$msg->scope($value)Type:
Enum(Google::Cloud::Alloydb::V1::SupportedDatabaseFlag::Scope)Optional. The scope for which supported flags are requested. If not specified, default is DATABASE.
Google::Cloud::Alloydb::V1::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::V1::Resources::SupportedDatabaseFlag)The list of SupportedDatabaseFlags.
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringA token identifying a page of results the server should return.
Google::Cloud::Alloydb::V1::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:
StringRequired. The name of the parent resource. The required format is: * projects/{project}/locations/{location}/clusters/{cluster}
$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 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->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:
StringOptional. The public key from the client.
$msg->use_metadata_exchange()/$msg->use_metadata_exchange($value)Type:
BoolOptional. 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::V1::Service::GenerateClientCertificateResponse
Message returned by a GenerateClientCertificate operation.
Inherits from Protobuf::Message.
Accessors
$msg->pem_certificate_chain()/$msg->pem_certificate_chain($value)Type:
StringOutput 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:
StringOptional. The pem-encoded cluster ca X.509 certificate.
Google::Cloud::Alloydb::V1::Service::GetConnectionInfoRequest
Request message for GetConnectionInfo.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. 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:
StringOptional. 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::V1::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::V1::Service::BatchCreateInstancesMetadata)Output only. BatchCreateInstances related metadata.
$msg->upgrade_cluster_status()/$msg->upgrade_cluster_status($value)Type:
Message(Google::Cloud::Alloydb::V1::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:
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 [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:
StringOutput only. API version used to start the operation.
Google::Cloud::Alloydb::V1::Service::UpgradeClusterStatus
Message for current status of the Major Version Upgrade operation.
Inherits from Protobuf::Message.
Accessors
$msg->state()/$msg->state($value)Type:
Enum(Google::Cloud::Alloydb::V1::UpgradeClusterResponse::Status)Cluster Major Version Upgrade state.
$msg->cancellable()/$msg->cancellable($value)Type:
BoolWhether the operation is cancellable.
$msg->source_version()/$msg->source_version($value)Type:
Enum(Google::Cloud::Alloydb::V1::DatabaseVersion)Source database major version.
$msg->target_version()/$msg->target_version($value)Type:
Enum(Google::Cloud::Alloydb::V1::DatabaseVersion)Target database major version.
$msg->stages()/$msg->stages($value)Type:
Message(Google::Cloud::Alloydb::V1::Service::UpgradeClusterStatus::StageStatus)Status of all upgrade stages.
Google::Cloud::Alloydb::V1::Service::ListUsersRequest
Message for requesting list of Users
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. Parent value for ListUsersRequest
$msg->page_size()/$msg->page_size($value)Type:
Int32Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.
$msg->page_token()/$msg->page_token($value)Type:
StringOptional. A token identifying a page of results the server should return.
$msg->filter()/$msg->filter($value)Type:
StringOptional. Filtering results
$msg->order_by()/$msg->order_by($value)Type:
StringOptional. Hint for how to order the results
Google::Cloud::Alloydb::V1::Service::ListUsersResponse
Message for response to listing Users
Inherits from Protobuf::Message.
Accessors
$msg->users()/$msg->users($value)Type:
Message(Google::Cloud::Alloydb::V1::Resources::User)The list of User
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringA token identifying a page of results the server should return.
$msg->unreachable()/$msg->unreachable($value)Type:
StringLocations that could not be reached.
Google::Cloud::Alloydb::V1::Service::GetUserRequest
Message for getting a User
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The name of the resource. For the required format, see the comment on the User.name field.
Google::Cloud::Alloydb::V1::Service::CreateUserRequest
Message for creating a User
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. Value for parent.
$msg->user_id()/$msg->user_id($value)Type:
StringRequired. ID of the requesting object.
$msg->user()/$msg->user($value)Type:
Message(Google::Cloud::Alloydb::V1::Resources::User)Required. The resource being created
$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 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:
BoolOptional. If set, the backend validates the request, but doesn't actually execute it.
Google::Cloud::Alloydb::V1::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::V1::Resources::User)Required. The resource being updated
$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 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:
BoolOptional. If set, the backend validates the request, but doesn't actually execute it.
$msg->allow_missing()/$msg->allow_missing($value)Type:
BoolOptional. Allow missing fields in the update mask.
Google::Cloud::Alloydb::V1::Service::DeleteUserRequest
Message for deleting a User
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. 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:
StringOptional. 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:
BoolOptional. If set, the backend validates the request, but doesn't actually execute it.
Google::Cloud::Alloydb::V1::Service::ListDatabasesRequest
Message for ListDatabases request.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. Parent value for ListDatabasesRequest.
$msg->page_size()/$msg->page_size($value)Type:
Int32Optional. 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:
StringOptional. 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:
StringOptional. Filtering results. This field is currently not supported, its value will be ignored if passed.
Google::Cloud::Alloydb::V1::Service::ListDatabasesResponse
Message for ListDatabases response.
Inherits from Protobuf::Message.
Accessors
$msg->databases()/$msg->databases($value)Type:
Message(Google::Cloud::Alloydb::V1::Resources::Database)The list of databases.
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringA token identifying the next page of results the server should return. If this field is omitted, there are no subsequent pages.
SEE ALSO
Protobuf, Protobuf::Message, Google::Cloud::Alloydb::V1::Service::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.