Service Client: Google::Cloud::Sql::V1beta4::CloudSql::SqlBackupRunsServiceClient

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

target

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

credentials

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

Service Client: Google::Cloud::Sql::V1beta4::CloudSql::SqlDatabasesServiceClient

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

target

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

credentials

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

Service Client: Google::Cloud::Sql::V1beta4::CloudSql::SqlFlagsServiceClient

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

target

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

credentials

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

Service Client: Google::Cloud::Sql::V1beta4::CloudSql::SqlInstancesServiceClient

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

target

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

credentials

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

Service Client: Google::Cloud::Sql::V1beta4::CloudSql::SqlOperationsServiceClient

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

target

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

credentials

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

Service Client: Google::Cloud::Sql::V1beta4::CloudSql::SqlSslCertsServiceClient

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

target

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

credentials

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

Service Client: Google::Cloud::Sql::V1beta4::CloudSql::SqlBackupsServiceClient

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

target

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

credentials

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

NAME

Google::Cloud::Sql::V1beta4::CloudSql - Compiled Protocol Buffers messages for google/cloud/sql/v1beta4/cloud_sql.proto

SYNOPSIS

use Google::Cloud::Sql::V1beta4::CloudSql;

my $msg = Google::Cloud::Sql::V1beta4::CloudSql::CreateBackupRequest->new({
    parent => $parent,
    backup => $backup,
});

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

# Binary wire-format roundtrip
my $bytes   = $msg->serialize();
my $decoded = Google::Cloud::Sql::V1beta4::CloudSql::CreateBackupRequest->parse($bytes);

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

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/sql/v1beta4/cloud_sql.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::Sql::V1beta4::CloudSql::CreateBackupRequest

The request payload to create the backup

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The parent resource where this backup is created. Format: projects/{project}

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

    Type: Message (Google::Cloud::Sql::V1beta4::CloudSqlResources::Backup)

    Required. The Backup to create.

Google::Cloud::Sql::V1beta4::CloudSql::GetBackupRequest

The request payload to get the backup.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The name of the backup to retrieve. Format: projects/{project}/backups/{backup}

Google::Cloud::Sql::V1beta4::CloudSql::ListBackupsRequest

The request payload to list the backups.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The parent that owns this collection of backups. Format: projects/{project}

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

    Type: Int32

    The maximum number of backups to return per response. The service might return fewer backups than this value. If a value for this parameter isn't specified, then, at most, 500 backups are returned. The maximum value is 2,000. Any values that you set, which are greater than 2,000, are changed to 2,000.

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

    Type: String

    A page token, received from a previous `ListBackups` call. Provide this to retrieve the subsequent page.

    When paginating, all other parameters provided to `ListBackups` must match the call that provided the page token.

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

    Type: String

    Multiple filter queries are separated by spaces. For example, 'instance:abc AND type:FINAL, 'location:us', 'backupInterval.startTime>=1950-01-01T01:01:25.771Z'. You can filter by type, instance, backupInterval.startTime (creation time), or location.

Google::Cloud::Sql::V1beta4::CloudSql::ListBackupsResponse

The response payload containing a list of the backups.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Sql::V1beta4::CloudSql::UpdateBackupRequest

The request payload to update the backup.

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Cloud::Sql::V1beta4::CloudSqlResources::Backup)

    Required. The backup to update. The backup’s `name` field is used to identify the backup to update. Format: projects/{project}/backups/{backup}

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

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

    The list of fields that you can update. You can update only the description and retention period of the final backup.

Google::Cloud::Sql::V1beta4::CloudSql::DeleteBackupRequest

The request payload to delete the backup.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The name of the backup to delete. Format: projects/{project}/backups/{backup}

Google::Cloud::Sql::V1beta4::CloudSql::SqlBackupRunsDeleteRequest

Inherits from Protobuf::Message.

Accessors

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

    Type: Int64

    The ID of the backup run to delete. To find a backup run ID, use the [list](https://cloud.google.com/sql/docs/mysql/admin-api/rest/v1beta4/backupRuns/list) method.

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

    Type: String

    Cloud SQL instance ID. This does not include the project ID.

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

    Type: String

    Project ID of the project that contains the instance.

Google::Cloud::Sql::V1beta4::CloudSql::SqlBackupRunsGetRequest

Inherits from Protobuf::Message.

Accessors

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

    Type: Int64

    The ID of this backup run.

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

    Type: String

    Cloud SQL instance ID. This does not include the project ID.

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

    Type: String

    Project ID of the project that contains the instance.

Google::Cloud::Sql::V1beta4::CloudSql::SqlBackupRunsInsertRequest

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Cloud SQL instance ID. This does not include the project ID.

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

    Type: String

    Project ID of the project that contains the instance.

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

    Type: Message (Google::Cloud::Sql::V1beta4::CloudSqlResources::BackupRun)

Google::Cloud::Sql::V1beta4::CloudSql::SqlBackupRunsListRequest

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Cloud SQL instance ID, or "-" for all instances. This does not include the project ID.

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

    Type: Int32

    Maximum number of backup runs per response.

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

    Type: String

    A previously-returned page token representing part of the larger set of results to view.

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

    Type: String

    Project ID of the project that contains the instance.

Google::Cloud::Sql::V1beta4::CloudSql::SqlDatabasesDeleteRequest

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Name of the database to be deleted in the instance.

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

    Type: String

    Database instance ID. This does not include the project ID.

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

    Type: String

    Project ID of the project that contains the instance.

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

    Type: String

    Optional. Region of the Cloud SQL instance.

Google::Cloud::Sql::V1beta4::CloudSql::SqlDatabasesGetRequest

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Name of the database in the instance.

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

    Type: String

    Database instance ID. This does not include the project ID.

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

    Type: String

    Project ID of the project that contains the instance.

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

    Type: String

    Optional. Region of the Cloud SQL instance.

Google::Cloud::Sql::V1beta4::CloudSql::SqlDatabasesInsertRequest

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Database instance ID. This does not include the project ID.

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

    Type: String

    Project ID of the project that contains the instance.

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

    Type: Message (Google::Cloud::Sql::V1beta4::CloudSqlResources::Database)

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

    Type: String

    Optional. Region of the Cloud SQL instance.

Google::Cloud::Sql::V1beta4::CloudSql::SqlDatabasesListRequest

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Cloud SQL instance ID. This does not include the project ID.

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

    Type: String

    Project ID of the project that contains the instance.

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

    Type: String

    Optional. Region of the Cloud SQL instance.

Google::Cloud::Sql::V1beta4::CloudSql::SqlDatabasesUpdateRequest

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Name of the database to be updated in the instance.

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

    Type: String

    Database instance ID. This does not include the project ID.

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

    Type: String

    Project ID of the project that contains the instance.

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

    Type: Message (Google::Cloud::Sql::V1beta4::CloudSqlResources::Database)

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

    Type: String

    Optional. Region of the Cloud SQL instance.

Google::Cloud::Sql::V1beta4::CloudSql::SqlFlagsListRequest

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Database type and version you want to retrieve flags for. By default, this method returns flags for all database types and versions.

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

    Type: Enum (Google::Cloud::Sql::V1beta4::SqlFlagScope)

    Optional. Specify the scope of flags to be returned by SqlFlagsListService. Return list of database flags if unspecified.

Google::Cloud::Sql::V1beta4::CloudSql::SqlInstancesAddServerCaRequest

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Cloud SQL instance ID. This does not include the project ID.

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

    Type: String

    Project ID of the project that contains the instance.

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

    Type: String

    Optional. Region of the Cloud SQL instance.

Google::Cloud::Sql::V1beta4::CloudSql::SqlInstancesAddServerCertificateRequest

Request for AddServerCertificate RPC.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Cloud SQL instance ID. This does not include the project ID.

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

    Type: String

    Required. Project ID of the project that contains the instance.

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

    Type: String

    Optional. Region of the Cloud SQL instance.

Google::Cloud::Sql::V1beta4::CloudSql::SqlInstancesAddEntraIdCertificateRequest

Request for AddEntraIdCertificate RPC.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Cloud SQL instance ID. This does not include the project ID.

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

    Type: String

    Required. Project ID of the project that contains the instance.

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

    Type: String

    Optional. Region of the Cloud SQL instance.

Google::Cloud::Sql::V1beta4::CloudSql::UpdateCustomerManagedCertificateRequest

Request message for SqlSslCertsService.UpdateCustomerManagedCertificate.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Cloud SQL instance ID. This does not include the project ID.

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

    Type: String

    Required. Project ID of the project that contains the instance.

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

    Type: Message (Google::Cloud::Sql::V1beta4::CloudSqlResources::CustomerManagedCertificateConfig)

    Required. The customer managed certificate bundle SSL configuration to update.

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

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

    Optional. The list of fields to be updated.

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

    Type: Bool

    Optional. If set to true, and the customer managed certificate bundle configuration is not found, a new customer managed certificate bundle configuration will be created. In this situation, `update_mask` is ignored.

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

    Type: String

    Required. Name tag of the customer managed certificate bundle to update. It must be alphanumeric and have a maximum length of 10 characters.

Google::Cloud::Sql::V1beta4::CloudSql::DeleteCustomerManagedCertificateRequest

Request message for SqlSslCertsService.DeleteCustomerManagedCertificate.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Cloud SQL instance ID. This does not include the project ID.

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

    Type: String

    Required. Project ID of the project that contains the instance.

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

    Type: String

    Required. Name tag of the customer managed certificate bundle to delete. It must be alphanumeric and have a maximum length of 10 characters.

Google::Cloud::Sql::V1beta4::CloudSql::ListCustomerManagedCertificatesRequest

Request message for SqlSslCertsService.ListCustomerManagedCertificates.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Cloud SQL instance ID. This does not include the project ID.

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

    Type: String

    Required. Project ID of the project that contains the instance.

Google::Cloud::Sql::V1beta4::CloudSql::ListCustomerManagedCertificatesResponse

Response message for SqlSslCertsService.ListCustomerManagedCertificates.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Sql::V1beta4::CloudSql::SqlInstancesCloneRequest

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    The ID of the Cloud SQL instance to be cloned (source). This does not include the project ID.

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

    Type: String

    Project ID of the source Cloud SQL instance.

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

    Type: Message (Google::Cloud::Sql::V1beta4::CloudSqlResources::InstancesCloneRequest)

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

    Type: String

    Optional. Region of the Cloud SQL instance.

Google::Cloud::Sql::V1beta4::CloudSql::SqlInstancesDeleteRequest

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Cloud SQL instance ID. This does not include the project ID.

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

    Type: String

    Project ID of the project that contains the instance to be deleted.

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

    Type: Bool

    Flag to opt-in for final backup. By default, it is turned off.

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

    Type: Int64

    Optional. Retention period of the final backup.

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

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Optional. Final Backup expiration time. Timestamp in UTC of when this resource is considered expired.

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

    Type: String

    Optional. The description of the final backup.

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

    Type: String

    Optional. Region of the Cloud SQL instance.

Google::Cloud::Sql::V1beta4::CloudSql::SqlInstancesDemoteMasterRequest

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Cloud SQL instance name.

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

    Type: String

    ID of the project that contains the instance.

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

    Type: Message (Google::Cloud::Sql::V1beta4::CloudSqlResources::InstancesDemoteMasterRequest)

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

    Type: String

    Optional. Region of the Cloud SQL instance.

Google::Cloud::Sql::V1beta4::CloudSql::SqlInstancesDemoteRequest

Instance demote request.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The name of the Cloud SQL instance.

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

    Type: String

    Required. The project ID of the project that contains the instance.

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

    Type: Message (Google::Cloud::Sql::V1beta4::CloudSqlResources::InstancesDemoteRequest)

    The request body.

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

    Type: String

    Optional. Region of the Cloud SQL instance.

Google::Cloud::Sql::V1beta4::CloudSql::SqlInstancesExportRequest

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    The Cloud SQL instance ID. This doesn't include the project ID.

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

    Type: String

    Project ID of the project that contains the instance to be exported.

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

    Type: Message (Google::Cloud::Sql::V1beta4::CloudSqlResources::InstancesExportRequest)

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

    Type: String

    Optional. Region of the Cloud SQL instance.

Google::Cloud::Sql::V1beta4::CloudSql::SqlInstancesFailoverRequest

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Cloud SQL instance ID. This does not include the project ID.

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

    Type: String

    ID of the project that contains the read replica.

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

    Type: Message (Google::Cloud::Sql::V1beta4::CloudSqlResources::InstancesFailoverRequest)

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

    Type: String

    Optional. Region of the Cloud SQL instance.

Google::Cloud::Sql::V1beta4::CloudSql::SqlInstancesGetRequest

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Database instance ID. This does not include the project ID.

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

    Type: String

    Project ID of the project that contains the instance.

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

    Type: String

    Optional. Region of the Cloud SQL instance.

Google::Cloud::Sql::V1beta4::CloudSql::SqlInstancesImportRequest

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Cloud SQL instance ID. This does not include the project ID.

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

    Type: String

    Project ID of the project that contains the instance.

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

    Type: Message (Google::Cloud::Sql::V1beta4::CloudSqlResources::InstancesImportRequest)

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

    Type: String

    Optional. Region of the Cloud SQL instance.

Google::Cloud::Sql::V1beta4::CloudSql::SqlInstancesInsertRequest

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Project ID of the project to which the newly created Cloud SQL instances should belong.

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

    Type: Message (Google::Cloud::Sql::V1beta4::CloudSqlResources::DatabaseInstance)

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

    Type: String

    Optional. Region of the Cloud SQL instance.

Google::Cloud::Sql::V1beta4::CloudSql::SqlInstancesListRequest

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    A filter expression that filters resources listed in the response. The expression is in the form of field:value. For example, 'instanceType:CLOUD_SQL_INSTANCE'. Fields can be nested as needed as per their JSON representation, such as 'settings.userLabels.auto_start:true'.

    Multiple filter queries are space-separated. For example. 'state:RUNNABLE instanceType:CLOUD_SQL_INSTANCE'. By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly.

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

    Type: UInt32

    The maximum number of instances to return. The service may return fewer than this value. If unspecified, at most 500 instances are returned. The maximum value is 1000; values above 1000 are coerced to 1000.

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

    Type: String

    A previously-returned page token representing part of the larger set of results to view.

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

    Type: String

    Project ID of the project for which to list Cloud SQL instances.

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

    Type: String

    Optional. Region of the Cloud SQL instance.

Google::Cloud::Sql::V1beta4::CloudSql::SqlInstancesListServerCasRequest

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Cloud SQL instance ID. This does not include the project ID.

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

    Type: String

    Project ID of the project that contains the instance.

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

    Type: String

    Optional. Region of the Cloud SQL instance.

Google::Cloud::Sql::V1beta4::CloudSql::SqlInstancesListServerCertificatesRequest

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Cloud SQL instance ID. This does not include the project ID.

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

    Type: String

    Required. Project ID of the project that contains the instance.

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

    Type: String

    Optional. Region of the Cloud SQL instance.

Google::Cloud::Sql::V1beta4::CloudSql::SqlInstancesListEntraIdCertificatesRequest

Request message for SqlInstancesService.ListEntraIdCertificates.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Cloud SQL instance ID. This does not include the project ID.

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

    Type: String

    Required. Project ID of the project that contains the instance.

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

    Type: String

    Optional. Region of the Cloud SQL instance.

Google::Cloud::Sql::V1beta4::CloudSql::SqlInstancesPatchRequest

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Cloud SQL instance ID. This does not include the project ID.

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

    Type: String

    Project ID of the project that contains the instance.

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

    Type: Bool

    Optional. Set PSC config to the same value as the existing config to reconcile the PSC networking.

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

    Type: Bool

    Optional. Set PSC config to the same value as the existing config and force reconcile the PSC networking.

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

    Type: Message (Google::Cloud::Sql::V1beta4::CloudSqlResources::DatabaseInstance)

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

    Type: String

    Optional. Region of the Cloud SQL instance.

Google::Cloud::Sql::V1beta4::CloudSql::SqlInstancesPromoteReplicaRequest

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Cloud SQL read replica instance name.

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

    Type: String

    ID of the project that contains the read replica.

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

    Type: Bool

    Set to true to invoke a replica failover to the DR replica. As part of replica failover, the promote operation attempts to add the original primary instance as a replica of the promoted DR replica when the original primary instance comes back online. If set to false or not specified, then the original primary instance becomes an independent Cloud SQL primary instance.

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

    Type: String

    Optional. Region of the Cloud SQL instance.

Google::Cloud::Sql::V1beta4::CloudSql::SqlInstancesSwitchoverRequest

Instance switchover request.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Cloud SQL read replica instance name.

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

    Type: String

    ID of the project that contains the replica.

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

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

    Optional. (MySQL and PostgreSQL only) Cloud SQL instance operations timeout, which is a sum of all database operations. Default value is 10 minutes and can be modified to a maximum value of 24 hours.

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

    Type: String

    Optional. Region of the Cloud SQL instance.

Google::Cloud::Sql::V1beta4::CloudSql::SqlInstancesResetSslConfigRequest

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Cloud SQL instance ID. This does not include the project ID.

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

    Type: String

    Project ID of the project that contains the instance.

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

    Type: Enum (Google::Cloud::Sql::V1beta4::SqlInstancesResetSslConfigRequest::ResetSslMode)

    Optional. Reset SSL mode to use.

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

    Type: String

    Optional. Region of the Cloud SQL instance.

Enum: SqlInstancesResetSslConfigRequest::ResetSslMode

  • RESET_SSL_MODE_UNSPECIFIED => 0

  • ALL => 1

  • SYNC_FROM_PRIMARY => 2

Google::Cloud::Sql::V1beta4::CloudSql::SqlInstancesRestartRequest

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Cloud SQL instance ID. This does not include the project ID.

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

    Type: String

    Project ID of the project that contains the instance to be restarted.

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

    Type: String

    Optional. Region of the Cloud SQL instance.

Google::Cloud::Sql::V1beta4::CloudSql::SqlInstancesStartRequest

Instance start request.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Cloud SQL instance ID. This does not include the project ID.

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

    Type: String

    Required. Project ID of the project that contains the instance to be started.

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

    Type: String

    Optional. The region of the Cloud SQL instance, for example `us-central1`. If omitted, the region is determined from the instance.

Google::Cloud::Sql::V1beta4::CloudSql::SqlInstancesStopRequest

Instance stop request.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Cloud SQL instance ID. This does not include the project ID.

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

    Type: String

    Required. Project ID of the project that contains the instance to be stopped.

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

    Type: String

    Optional. The region of the Cloud SQL instance, for example `us-central1`. If omitted, the region is determined from the instance.

Google::Cloud::Sql::V1beta4::CloudSql::SqlInstancesRestoreBackupRequest

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Cloud SQL instance ID. This does not include the project ID.

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

    Type: String

    Project ID of the project that contains the instance.

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

    Type: Message (Google::Cloud::Sql::V1beta4::CloudSqlResources::InstancesRestoreBackupRequest)

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

    Type: String

    Optional. Region of the Cloud SQL instance.

Google::Cloud::Sql::V1beta4::CloudSql::SqlInstancesRotateServerCaRequest

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Cloud SQL instance ID. This does not include the project ID.

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

    Type: String

    Project ID of the project that contains the instance.

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

    Type: Message (Google::Cloud::Sql::V1beta4::CloudSqlResources::InstancesRotateServerCaRequest)

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

    Type: String

    Optional. Region of the Cloud SQL instance.

Google::Cloud::Sql::V1beta4::CloudSql::SqlInstancesRotateServerCertificateRequest

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Cloud SQL instance ID. This does not include the project ID.

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

    Type: String

    Required. Project ID of the project that contains the instance.

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

    Type: Message (Google::Cloud::Sql::V1beta4::CloudSqlResources::InstancesRotateServerCertificateRequest)

    Required. Rotate server certificate request body.

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

    Type: String

    Optional. Region of the Cloud SQL instance.

Google::Cloud::Sql::V1beta4::CloudSql::SqlInstancesRotateEntraIdCertificateRequest

Request message for SqlInstancesService.RotateEntraIdCertificate.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Cloud SQL instance ID. This does not include the project ID.

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

    Type: String

    Required. Project ID of the project that contains the instance.

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

    Type: Message (Google::Cloud::Sql::V1beta4::CloudSqlResources::InstancesRotateEntraIdCertificateRequest)

    Required. Rotate Entra ID certificate request body.

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

    Type: String

    Optional. Region of the Cloud SQL instance.

Google::Cloud::Sql::V1beta4::CloudSql::SqlInstancesStartReplicaRequest

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Cloud SQL read replica instance name.

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

    Type: String

    ID of the project that contains the read replica.

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

    Type: String

    Optional. Region of the Cloud SQL instance.

Google::Cloud::Sql::V1beta4::CloudSql::SqlInstancesStopReplicaRequest

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Cloud SQL read replica instance name.

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

    Type: String

    ID of the project that contains the read replica.

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

    Type: String

    Optional. Region of the Cloud SQL instance.

Google::Cloud::Sql::V1beta4::CloudSql::SqlInstancesTruncateLogRequest

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Cloud SQL instance ID. This does not include the project ID.

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

    Type: String

    Project ID of the Cloud SQL project.

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

    Type: Message (Google::Cloud::Sql::V1beta4::CloudSqlResources::InstancesTruncateLogRequest)

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

    Type: String

    Optional. Region of the Cloud SQL instance.

Google::Cloud::Sql::V1beta4::CloudSql::SqlInstancesUpdateRequest

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Cloud SQL instance ID. This does not include the project ID.

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

    Type: String

    Project ID of the project that contains the instance.

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

    Type: Message (Google::Cloud::Sql::V1beta4::CloudSqlResources::DatabaseInstance)

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

    Type: String

    Optional. Region of the Cloud SQL instance.

Google::Cloud::Sql::V1beta4::CloudSql::SqlInstancesReencryptRequest

Instance reencrypt request.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Cloud SQL instance ID. This does not include the project ID.

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

    Type: String

    ID of the project that contains the instance.

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

    Type: Message (Google::Cloud::Sql::V1beta4::CloudSql::InstancesReencryptRequest)

    Reencrypt body that users request

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

    Type: String

    Optional. Region of the Cloud SQL instance.

Google::Cloud::Sql::V1beta4::CloudSql::InstancesReencryptRequest

Database Instance reencrypt request.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Sql::V1beta4::CloudSql::BackupReencryptionConfig

Backup Reencryption Config

Inherits from Protobuf::Message.

Accessors

Enum: BackupReencryptionConfig::BackupType

  • BACKUP_TYPE_UNSPECIFIED => 0

  • AUTOMATED => 1

  • ON_DEMAND => 2

Google::Cloud::Sql::V1beta4::CloudSql::SqlInstancesRescheduleMaintenanceRequest

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Sql::V1beta4::CloudSql::SqlInstancesPerformDiskShrinkRequest

Instance perform disk shrink request.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Cloud SQL instance ID. This does not include the project ID.

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

    Type: String

    Project ID of the project that contains the instance.

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

    Type: Message (Google::Cloud::Sql::V1beta4::CloudSqlResources::PerformDiskShrinkContext)

    Perform disk shrink context.

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

    Type: String

    Optional. Region of the Cloud SQL instance.

Google::Cloud::Sql::V1beta4::CloudSql::ExternalSyncSelectedObject

The selected object that Cloud SQL migrates.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    The name of the database that Cloud SQL migrates.

Google::Cloud::Sql::V1beta4::CloudSql::SqlInstancesVerifyExternalSyncSettingsRequest

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Cloud SQL instance ID. This does not include the project ID.

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

    Type: String

    Project ID of the project that contains the instance.

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

    Type: Bool

    Flag to enable verifying connection only

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

    Type: Enum (Google::Cloud::Sql::V1beta4::SqlInstancesVerifyExternalSyncSettingsRequest::ExternalSyncMode)

    External sync mode

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

    Type: Bool

    Optional. Flag to verify settings required by replication setup only

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

    Type: Message (Google::Cloud::Sql::V1beta4::CloudSqlResources::MySqlSyncConfig)

    Optional. MySQL-specific settings for start external sync.

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

    Type: Enum (Google::Cloud::Sql::V1beta4::SqlInstancesVerifyExternalSyncSettingsRequest::MigrationType)

    Optional. MigrationType configures the migration to use physical files or logical dump files. If not set, then the logical dump file configuration is used. Valid values are `LOGICAL` or `PHYSICAL`. Only applicable to MySQL.

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

    Type: Enum (Google::Cloud::Sql::V1beta4::ExternalSyncParallelLevel)

    Optional. Parallel level for initial data sync. Only applicable for PostgreSQL.

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

    Type: Message (Google::Cloud::Sql::V1beta4::CloudSql::ExternalSyncSelectedObject)

    Optional. Migrate only the specified objects from the source instance. If this field is empty, then migrate all objects.

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

    Type: String

    Optional. Region of the Cloud SQL instance.

Enum: SqlInstancesVerifyExternalSyncSettingsRequest::ExternalSyncMode

  • EXTERNAL_SYNC_MODE_UNSPECIFIED => 0

  • ONLINE => 1

  • OFFLINE => 2

Enum: SqlInstancesVerifyExternalSyncSettingsRequest::MigrationType

  • MIGRATION_TYPE_UNSPECIFIED => 0

  • LOGICAL => 1

  • PHYSICAL => 2

Google::Cloud::Sql::V1beta4::CloudSql::SqlInstancesStartExternalSyncRequest

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Cloud SQL instance ID. This does not include the project ID.

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

    Type: String

    ID of the project that contains the instance.

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

    Type: Enum (Google::Cloud::Sql::V1beta4::SqlInstancesVerifyExternalSyncSettingsRequest::ExternalSyncMode)

    External sync mode.

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

    Type: Bool

    Whether to skip the verification step (VESS).

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

    Type: Message (Google::Cloud::Sql::V1beta4::CloudSqlResources::MySqlSyncConfig)

    MySQL-specific settings for start external sync.

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

    Type: Enum (Google::Cloud::Sql::V1beta4::ExternalSyncParallelLevel)

    Optional. Parallel level for initial data sync. Currently only applicable for MySQL.

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

    Type: Enum (Google::Cloud::Sql::V1beta4::SqlInstancesVerifyExternalSyncSettingsRequest::MigrationType)

    Optional. MigrationType configures the migration to use physical files or logical dump files. If not set, then the logical dump file configuration is used. Valid values are `LOGICAL` or `PHYSICAL`. Only applicable to MySQL.

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

    Type: Bool

    Optional. MySQL only. True if end-user has confirmed that this SES call will wipe replica databases overlapping with the proposed selected_objects. If this field is not set and there are both overlapping and additional databases proposed, an error will be returned.

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

    Type: String

    Optional. Region of the Cloud SQL instance.

Google::Cloud::Sql::V1beta4::CloudSql::SqlInstancesResetReplicaSizeRequest

Instance reset replica size request.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Cloud SQL read replica instance name.

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

    Type: String

    ID of the project that contains the read replica.

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

    Type: String

    Optional. Region of the Cloud SQL instance.

Google::Cloud::Sql::V1beta4::CloudSql::SqlOperationsGetRequest

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Instance operation ID.

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

    Type: String

    Project ID of the project that contains the instance.

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

    Type: String

    Optional. Region of the Cloud SQL instance.

Google::Cloud::Sql::V1beta4::CloudSql::SqlOperationsListRequest

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Cloud SQL instance ID. This does not include the project ID.

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

    Type: UInt32

    Maximum number of operations per response.

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

    Type: String

    A previously-returned page token representing part of the larger set of results to view.

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

    Type: String

    Project ID of the project that contains the instance.

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

    Type: String

    Optional. Region of the Cloud SQL instance.

Google::Cloud::Sql::V1beta4::CloudSql::SqlOperationsCancelRequest

The request payload to cancel an operation.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Instance operation ID.

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

    Type: String

    Project ID of the project that contains the instance.

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

    Type: String

    Optional. Region of the Cloud SQL instance.

Google::Cloud::Sql::V1beta4::CloudSql::SqlInstancesCreateEphemeralCertRequest

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Cloud SQL instance ID. This does not include the project ID.

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

    Type: String

    Project ID of the Cloud SQL project.

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

    Type: Message (Google::Cloud::Sql::V1beta4::CloudSqlResources::SslCertsCreateEphemeralRequest)

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

    Type: String

    Optional. Region of the Cloud SQL instance.

Google::Cloud::Sql::V1beta4::CloudSql::SqlSslCertsDeleteRequest

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Cloud SQL instance ID. This does not include the project ID.

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

    Type: String

    Project ID of the project that contains the instance.

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

    Type: String

    Sha1 FingerPrint.

Google::Cloud::Sql::V1beta4::CloudSql::SqlSslCertsGetRequest

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Cloud SQL instance ID. This does not include the project ID.

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

    Type: String

    Project ID of the project that contains the instance.

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

    Type: String

    Sha1 FingerPrint.

Google::Cloud::Sql::V1beta4::CloudSql::SqlSslCertsInsertRequest

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Sql::V1beta4::CloudSql::SqlSslCertsListRequest

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Cloud SQL instance ID. This does not include the project ID.

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

    Type: String

    Project ID of the project that contains the instance.

Google::Cloud::Sql::V1beta4::CloudSql::SqlInstancesGetDiskShrinkConfigRequest

Instance get disk shrink config request.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Cloud SQL instance ID. This does not include the project ID.

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

    Type: String

    Project ID of the project that contains the instance.

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

    Type: String

    Optional. Region of the Cloud SQL instance.

Google::Cloud::Sql::V1beta4::CloudSql::SqlInstancesGetLatestRecoveryTimeRequest

Instance get latest recovery time request.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Cloud SQL instance ID. This does not include the project ID.

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

    Type: String

    Project ID of the project that contains the instance.

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

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    The timestamp used to identify the time when the source instance is deleted. If this instance is deleted, then you must set the timestamp.

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

    Type: String

    Optional. Region of the Cloud SQL instance.

Google::Cloud::Sql::V1beta4::CloudSql::SqlInstancesGetLatestRecoveryTimeResponse

Instance get latest recovery time response.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    This is always `sql#getLatestRecoveryTime`.

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

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Timestamp, identifies the latest recovery time of the source instance.

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

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Timestamp, identifies the earliest recovery time of the source instance.

Google::Cloud::Sql::V1beta4::CloudSql::SqlInstancesExecuteSqlReadOnlyRequest

Execute read only SQL statements request. Execute SQL statements in read-only mode request.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Database instance ID. This does not include the project ID.

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

    Type: String

    Required. Project ID of the project that contains the instance.

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

    Type: Message (Google::Cloud::Sql::V1beta4::CloudSql::ExecuteSqlReadOnlyPayload)

    Required. The request body.

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

    Type: String

    Optional. Region of the Cloud SQL instance.

Google::Cloud::Sql::V1beta4::CloudSql::SqlInstancesExecuteSqlRequest

Execute SQL statements request.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Database instance ID. This does not include the project ID.

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

    Type: String

    Required. Project ID of the project that contains the instance.

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

    Type: Message (Google::Cloud::Sql::V1beta4::CloudSql::ExecuteSqlPayload)

    The request body.

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

    Type: String

    Optional. Region of the Cloud SQL instance.

Google::Cloud::Sql::V1beta4::CloudSql::SqlInstancesReleaseSsrsLeaseRequest

Request to release a lease for SSRS.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The Cloud SQL instance ID. This doesn't include the project ID. It's composed of lowercase letters, numbers, and hyphens, and it must start with a letter. The total length must be 98 characters or less (Example: instance-id).

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

    Type: String

    Required. The ID of the project that contains the instance (Example: project-id).

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

    Type: String

    Optional. Region of the Cloud SQL instance.

Google::Cloud::Sql::V1beta4::CloudSql::SqlInstancesReleaseSsrsLeaseResponse

The response for the release of the SSRS lease.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    The operation ID.

Google::Cloud::Sql::V1beta4::CloudSql::ExecuteSqlReadOnlyPayload

The request payload used to execute SQL statements in read-only mode.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Optional. The name of an existing database user to connect to the database. When `auto_iam_authn` is set to true, this field is ignored and the API caller's IAM user is used.

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

    Type: String

    Required. SQL statements to run on the database. It can be a single statement or a sequence of statements separated by semicolons.

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

    Type: String

    Optional. Name of the database on which the statement will be executed. For Postgres and SQL Server it's required, for MySQL it's optional.

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

    Type: String

    Optional. The resource name of the Secret Manager secret holding the password for the user to log into the database. The secret should be created using the regional endpoint (for API) or from the Regional Secrets page (for UI), and stored in the same region as the Cloud SQL instance. The expected resource name format is `projects/{project}/locations/{location}/secrets/{secret}/versions/{secret_version}`. This field is used together with the `user` field. The secret resource name will not be stored.

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

    Type: Bool

    Optional. When set to true, the API caller identity associated with the request is used for database authentication. The API caller must be an IAM user in the database.

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

    Type: Int64

    Optional. The maximum number of rows returned per SQL statement.

Google::Cloud::Sql::V1beta4::CloudSql::ExecuteSqlPayload

The request payload used to execute SQL statements.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Optional. The name of an existing database user to connect to the database. When `auto_iam_authn` is set to true, this field is ignored and the API caller's IAM user is used.

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

    Type: String

    Required. SQL statements to run on the database. It can be a single statement or a sequence of statements separated by semicolons.

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

    Type: String

    Optional. Name of the database on which the statement will be executed. For Postgres and SQL Server it's required, for MySQL it's optional.

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

    Type: String

    Optional. The resource name of the Secret Manager secret holding the password for the user to log into the database. The secret should be created using the regional endpoint (for API) or from the Regional Secrets page (for UI), and stored in the same region as the Cloud SQL instance. The expected resource name format is `projects/{project}/locations/{location}/secrets/{secret}/versions/{secret_version}`. This field is used together with the `user` field. The secret resource name will not be stored.

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

    Type: Bool

    Optional. When set to true, the API caller identity associated with the request is used for database authentication. The API caller must be an IAM user in the database.

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

    Type: Int64

    Optional. The maximum number of rows returned per SQL statement.

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

    Type: Enum (Google::Cloud::Sql::V1beta4::ExecuteSqlPayload::PartialResultMode)

    Optional. Controls how the API should respond when the SQL execution result is incomplete due to the size limit or another error. The default mode is to throw an error.

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

    Type: String

    Optional. Specifies the name of the application that is making the request. This field is used for telemetry. Only alphanumeric characters, dashes, and underscores are allowed. The maximum length is 32 characters.

Enum: ExecuteSqlPayload::PartialResultMode

  • PARTIAL_RESULT_MODE_UNSPECIFIED => 0

  • FAIL_PARTIAL_RESULT => 1

  • ALLOW_PARTIAL_RESULT => 2

Google::Cloud::Sql::V1beta4::CloudSql::SqlInstancesExecuteSqlReadOnlyResponse

Execute SQL statements response. Execute SQL statements in read-only mode response.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Sql::V1beta4::CloudSql::SqlInstancesExecuteSqlResponse

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Sql::V1beta4::CloudSql::QueryResult

QueryResult contains the result of executing a single SQL statement.

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Cloud::Sql::V1beta4::CloudSql::Column)

    List of columns included in the result. This also includes the data type of the column.

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

    Type: Message (Google::Cloud::Sql::V1beta4::CloudSql::Row)

    Rows returned by the SQL statement.

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

    Type: String

    Message related to the SQL execution result.

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

    Type: Bool

    Set to true if the SQL execution's result is truncated due to size limits or an error retrieving results.

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

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

    If results were truncated due to an error, details of that error.

Google::Cloud::Sql::V1beta4::CloudSql::Column

Contains the name and datatype of a column.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Name of the column.

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

    Type: String

    Datatype of the column.

Google::Cloud::Sql::V1beta4::CloudSql::Row

Contains the values for a row.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Sql::V1beta4::CloudSql::Value

The cell value of the table.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    The cell value represented in string format.

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

    Type: Bool

    If cell value is null, then this flag will be set to true.

Google::Cloud::Sql::V1beta4::CloudSql::Metadata

The additional metadata information regarding the execution of the SQL statements.

Inherits from Protobuf::Message.

Accessors

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

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

    The time taken to execute the SQL statements.

Google::Cloud::Sql::V1beta4::CloudSql::SqlInstancesAcquireSsrsLeaseRequest

Request to acquire a lease for SSRS.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Cloud SQL instance ID. This doesn't include the project ID. It's composed of lowercase letters, numbers, and hyphens, and it must start with a letter. The total length must be 98 characters or less (Example: instance-id).

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

    Type: String

    Required. ID of the project that contains the instance (Example: project-id).

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

    Type: Message (Google::Cloud::Sql::V1beta4::CloudSqlResources::InstancesAcquireSsrsLeaseRequest)

    The body for request to acquire an SSRS lease.

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

    Type: String

    Optional. Region of the Cloud SQL instance.

Google::Cloud::Sql::V1beta4::CloudSql::SqlInstancesPreCheckMajorVersionUpgradeRequest

Request for Pre-checks for MVU

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Cloud SQL instance ID. This does not include the project ID.

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

    Type: String

    Required. Project ID of the project that contains the instance.

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

    Type: Message (Google::Cloud::Sql::V1beta4::CloudSqlResources::InstancesPreCheckMajorVersionUpgradeRequest)

    Required. The context for request to perform the pre-check major version upgrade operation.

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

    Type: String

    Optional. Region of the Cloud SQL instance.

Google::Cloud::Sql::V1beta4::CloudSql::SqlInstancesAcquireSsrsLeaseResponse

Acquire SSRS lease response.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    The unique identifier for this operation.

Google::Cloud::Sql::V1beta4::CloudSql::SqlInstancesPointInTimeRestoreRequest

Request to perform a point in time restore on a Google Cloud Backup and Disaster Recovery managed instance.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The parent resource where you created this instance. Format: projects/{project}

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

    Type: Message (Google::Cloud::Sql::V1beta4::CloudSqlResources::PointInTimeRestoreContext)

    Required. The context for request to perform a PITR on a Google Cloud Backup and Disaster Recovery managed instance.

Google::Cloud::Sql::V1beta4::CloudSql::SqlInstancesReconcileNetworkingRequest

Request message for SqlInstancesService.ReconcileNetworking.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Cloud SQL instance ID.

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

    Type: String

    Required. Project ID of the project that contains the instance.

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

    Type: Message (Google::Cloud::Sql::V1beta4::CloudSql::PscDnsReconcileNetworkingRequest)

    Request to recreate Private Service Connect DNS write endpoints and reconcile Private Service Connect connectivity infrastructure for the instance.

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

    Type: String

    Optional. Region of the Cloud SQL instance.

Google::Cloud::Sql::V1beta4::CloudSql::PscDnsReconcileNetworkingRequest

Request parameters specific to PSC DNS networking reconciliation.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Optional. List of specific consumer VPC networks to reconcile. They must be specified as full resource names (e.g., "projects/my-consumer-project/global/networks/prod-vpc"). If empty, recreates Write Endpoints for all the consumer networks associated with this instance.

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

    Type: Bool

    Optional. Set `true` to force the reset and reapplication of Private Service Connect connectivity infrastructure if standard reconciliation does not resolve automated DNS issues. This operation might cause a brief disruption in network connectivity for connected VPC networks while settings are reapplied. Use this option only when standard reconciliation fails to resolve networking issues (for example, if connectivity resources are stuck in an updating or creating state).

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Sql::V1beta4::CloudSql::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.