Service Client: Google::Cloud::Sql::V1::CloudSqlOperations::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.

NAME

Google::Cloud::Sql::V1::CloudSqlOperations - Compiled Protocol Buffers messages for google/cloud/sql/v1/cloud_sql_operations.proto

SYNOPSIS

use Google::Cloud::Sql::V1::CloudSqlOperations;

my $msg = Google::Cloud::Sql::V1::CloudSqlOperations::SqlOperationsGetRequest->new({
    operation => $operation,
    project => $project,
    location => $location,
});

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

# Binary wire-format roundtrip
my $bytes   = $msg->serialize();
my $decoded = Google::Cloud::Sql::V1::CloudSqlOperations::SqlOperationsGetRequest->parse($bytes);

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

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/sql/v1/cloud_sql_operations.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::V1::CloudSqlOperations::SqlOperationsGetRequest

Operations get request.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Instance operation 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::V1::CloudSqlOperations::SqlOperationsListRequest

Operations list 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->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::V1::CloudSqlOperations::OperationsListResponse

Operations list response.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    This is always `sql#operationsList`.

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

    Type: Message (Google::Cloud::Sql::V1::CloudSqlResources::Operation)

    List of operation resources.

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

    Type: String

    The continuation token, used to page through large result sets. Provide this value in a subsequent request to return the next page of results.

Google::Cloud::Sql::V1::CloudSqlOperations::SqlOperationsCancelRequest

Operations cancel request.

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.

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Sql::V1::CloudSqlOperations::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.