Service Client: Google::Cloud::Bigquery::Connection::V1beta1::Connection::ConnectionServiceClient
Client stub representing the remote ConnectionService gRPC service. Delegates call dispatching to Google::gRPC::Client.
target
The endpoint target address. Defaults to bigquery.googleapis.com:443.
credentials
The authentication credentials provider. Defaults to application default credentials via Google::Auth.
NAME
Google::Cloud::Bigquery::Connection::V1beta1::Connection - Compiled Protocol Buffers messages for google/cloud/bigquery/connection/v1beta1/connection.proto
SYNOPSIS
use Google::Cloud::Bigquery::Connection::V1beta1::Connection;
my $msg = Google::Cloud::Bigquery::Connection::V1beta1::Connection::CreateConnectionRequest->new({
parent => $parent,
connection_id => $connection_id,
connection => $connection,
});
# Read or update a field
my $val = $msg->parent();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Cloud::Bigquery::Connection::V1beta1::Connection::CreateConnectionRequest->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/cloud/bigquery/connection/v1beta1/connection.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::Bigquery::Connection::V1beta1::Connection::CreateConnectionRequest
The request for [ConnectionService.CreateConnection][google.cloud.bigquery.connection.v1beta1.ConnectionService.CreateConnection].
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. Parent resource name. Must be in the format `projects/{project_id}/locations/{location_id}`
$msg->connection_id()/$msg->connection_id($value)Type:
StringOptional. Connection id that should be assigned to the created connection.
$msg->connection()/$msg->connection($value)Type:
Message(Google::Cloud::Bigquery::Connection::V1beta1::Connection::Connection)Required. Connection to create.
Google::Cloud::Bigquery::Connection::V1beta1::Connection::GetConnectionRequest
The request for [ConnectionService.GetConnection][google.cloud.bigquery.connection.v1beta1.ConnectionService.GetConnection].
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. Name of the requested connection, for example: `projects/{project_id}/locations/{location_id}/connections/{connection_id}`
Google::Cloud::Bigquery::Connection::V1beta1::Connection::ListConnectionsRequest
The request for [ConnectionService.ListConnections][google.cloud.bigquery.connection.v1beta1.ConnectionService.ListConnections].
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. Parent resource name. Must be in the form: `projects/{project_id}/locations/{location_id}`
$msg->max_results()/$msg->max_results($value)Type:
Message(Google::Protobuf::Wrappers::UInt32Value)Required. Maximum number of results per page.
$msg->page_token()/$msg->page_token($value)Type:
StringPage token.
Google::Cloud::Bigquery::Connection::V1beta1::Connection::ListConnectionsResponse
The response for [ConnectionService.ListConnections][google.cloud.bigquery.connection.v1beta1.ConnectionService.ListConnections].
Inherits from Protobuf::Message.
Accessors
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringNext page token.
$msg->connections()/$msg->connections($value)Type:
Message(Google::Cloud::Bigquery::Connection::V1beta1::Connection::Connection)List of connections.
Google::Cloud::Bigquery::Connection::V1beta1::Connection::UpdateConnectionRequest
The request for [ConnectionService.UpdateConnection][google.cloud.bigquery.connection.v1beta1.ConnectionService.UpdateConnection].
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. Name of the connection to update, for example: `projects/{project_id}/locations/{location_id}/connections/{connection_id}`
$msg->connection()/$msg->connection($value)Type:
Message(Google::Cloud::Bigquery::Connection::V1beta1::Connection::Connection)Required. Connection containing the updated fields.
$msg->update_mask()/$msg->update_mask($value)Type:
Message(Google::Protobuf::FieldMask::FieldMask)Required. Update mask for the connection fields to be updated.
Google::Cloud::Bigquery::Connection::V1beta1::Connection::UpdateConnectionCredentialRequest
The request for [ConnectionService.UpdateConnectionCredential][google.cloud.bigquery.connection.v1beta1.ConnectionService.UpdateConnectionCredential].
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. Name of the connection, for example: `projects/{project_id}/locations/{location_id}/connections/{connection_id}/credential`
$msg->credential()/$msg->credential($value)Type:
Message(Google::Cloud::Bigquery::Connection::V1beta1::Connection::ConnectionCredential)Required. Credential to use with the connection.
Google::Cloud::Bigquery::Connection::V1beta1::Connection::DeleteConnectionRequest
The request for [ConnectionService.DeleteConnectionRequest][].
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. Name of the deleted connection, for example: `projects/{project_id}/locations/{location_id}/connections/{connection_id}`
Google::Cloud::Bigquery::Connection::V1beta1::Connection::Connection
Configuration parameters to establish connection with an external data source, except the credential attributes.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringThe resource name of the connection in the form of: `projects/{project_id}/locations/{location_id}/connections/{connection_id}`
$msg->friendly_name()/$msg->friendly_name($value)Type:
StringUser provided display name for the connection.
$msg->description()/$msg->description($value)Type:
StringUser provided description.
$msg->cloud_sql()/$msg->cloud_sql($value)Type:
Message(Google::Cloud::Bigquery::Connection::V1beta1::Connection::CloudSqlProperties)Cloud SQL properties.
$msg->creation_time()/$msg->creation_time($value)Type:
Int64Output only. The creation timestamp of the connection.
$msg->last_modified_time()/$msg->last_modified_time($value)Type:
Int64Output only. The last update timestamp of the connection.
$msg->has_credential()/$msg->has_credential($value)Type:
BoolOutput only. True, if credential is configured for this connection.
Google::Cloud::Bigquery::Connection::V1beta1::Connection::ConnectionCredential
Credential to use with a connection.
Inherits from Protobuf::Message.
Accessors
$msg->cloud_sql()/$msg->cloud_sql($value)Type:
Message(Google::Cloud::Bigquery::Connection::V1beta1::Connection::CloudSqlCredential)Credential for Cloud SQL database.
Google::Cloud::Bigquery::Connection::V1beta1::Connection::CloudSqlProperties
Connection properties specific to the Cloud SQL.
Inherits from Protobuf::Message.
Accessors
$msg->instance_id()/$msg->instance_id($value)Type:
StringCloud SQL instance ID in the form `project:location:instance`.
$msg->database()/$msg->database($value)Type:
StringDatabase name.
$msg->type()/$msg->type($value)Type:
Enum(Google::Cloud::Bigquery::Connection::V1beta1::CloudSqlProperties::DatabaseType)Type of the Cloud SQL database.
$msg->credential()/$msg->credential($value)Type:
Message(Google::Cloud::Bigquery::Connection::V1beta1::Connection::CloudSqlCredential)Input only. Cloud SQL credential.
$msg->service_account_id()/$msg->service_account_id($value)Type:
StringOutput only. The account ID of the service used for the purpose of this connection.
When the connection is used in the context of an operation in BigQuery, this service account will serve as the identity being used for connecting to the CloudSQL instance specified in this connection.
Enum: CloudSqlProperties::DatabaseType
DATABASE_TYPE_UNSPECIFIED=>0POSTGRES=>1MYSQL=>2
Google::Cloud::Bigquery::Connection::V1beta1::Connection::CloudSqlCredential
Credential info for the Cloud SQL.
Inherits from Protobuf::Message.
Accessors
$msg->username()/$msg->username($value)Type:
StringThe username for the credential.
$msg->password()/$msg->password($value)Type:
StringThe password for the credential.
SEE ALSO
Protobuf, Protobuf::Message, Google::Cloud::Bigquery::Connection::V1beta1::Connection::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.