NAME
Google::Cloud::Datacatalog::V1::Bigquery - Compiled Protocol Buffers messages for google/cloud/datacatalog/v1/bigquery.proto
SYNOPSIS
use Google::Cloud::Datacatalog::V1::Bigquery;
my $msg = Google::Cloud::Datacatalog::V1::Bigquery::BigQueryConnectionSpec->new({
connection_type => $connection_type,
cloud_sql => $cloud_sql,
has_credential => $has_credential,
});
# Read or update a field
my $val = $msg->connection_type();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Cloud::Datacatalog::V1::Bigquery::BigQueryConnectionSpec->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/cloud/datacatalog/v1/bigquery.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::Datacatalog::V1::Bigquery::BigQueryConnectionSpec
Specification for the BigQuery connection.
Inherits from Protobuf::Message.
Accessors
$msg->connection_type()/$msg->connection_type($value)Type:
Enum(Google::Cloud::Datacatalog::V1::BigQueryConnectionSpec::ConnectionType)The type of the BigQuery connection.
$msg->cloud_sql()/$msg->cloud_sql($value)Type:
Message(Google::Cloud::Datacatalog::V1::Bigquery::CloudSqlBigQueryConnectionSpec)Specification for the BigQuery connection to a Cloud SQL instance.
$msg->has_credential()/$msg->has_credential($value)Type:
BoolTrue if there are credentials attached to the BigQuery connection; false otherwise.
Enum: BigQueryConnectionSpec::ConnectionType
CONNECTION_TYPE_UNSPECIFIED=>0CLOUD_SQL=>1
Google::Cloud::Datacatalog::V1::Bigquery::CloudSqlBigQueryConnectionSpec
Specification for the BigQuery connection to a Cloud SQL instance.
Inherits from Protobuf::Message.
Accessors
$msg->instance_id()/$msg->instance_id($value)Type:
StringCloud SQL instance ID in the format of `project:location:instance`.
$msg->database()/$msg->database($value)Type:
StringDatabase name.
$msg->type()/$msg->type($value)Type:
Enum(Google::Cloud::Datacatalog::V1::CloudSqlBigQueryConnectionSpec::DatabaseType)Type of the Cloud SQL database.
Enum: CloudSqlBigQueryConnectionSpec::DatabaseType
DATABASE_TYPE_UNSPECIFIED=>0POSTGRES=>1MYSQL=>2
Google::Cloud::Datacatalog::V1::Bigquery::BigQueryRoutineSpec
Fields specific for BigQuery routines.
Inherits from Protobuf::Message.
Accessors
$msg->imported_libraries()/$msg->imported_libraries($value)Type:
StringPaths of the imported libraries.
SEE ALSO
Protobuf, Protobuf::Message, Google::Cloud::Datacatalog::V1::Bigquery::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.