Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
This repository was archived by the owner on Nov 29, 2023. It is now read-only.

feat: Add service_account_id output field to CloudSQL properties #237

Merged
merged 2 commits into from
Jul 27, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions 12 google/cloud/bigquery_connection_v1/types/connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -294,6 +294,14 @@ class CloudSqlProperties(proto.Message):
Type of the Cloud SQL database.
credential (google.cloud.bigquery_connection_v1.types.CloudSqlCredential):
Input only. Cloud SQL credential.
service_account_id (str):
Output 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 identity being used for connecting to
the CloudSQL instance specified in this
connection.
"""

class DatabaseType(proto.Enum):
Expand All @@ -320,6 +328,10 @@ class DatabaseType(proto.Enum):
number=4,
message="CloudSqlCredential",
)
service_account_id = proto.Field(
proto.STRING,
number=5,
)


class CloudSqlCredential(proto.Message):
Expand Down
Morty Proxy This is a proxified and sanitized view of the page, visit original site.