Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error.
Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.
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 the identity being used for connecting to the CloudSQL instance specified in this connection.
DatabaseType
Supported Cloud SQL database types.
Enums
DATABASE_TYPE_UNSPECIFIED
Unspecified database type.
POSTGRES
Cloud SQL for PostgreSQL.
MYSQL
Cloud SQL for MySQL.
Connection
Configuration parameters to establish connection with an external data source, except the credential attributes.
Fields
name
string
The resource name of the connection in the form of: projects/{project_id}/locations/{location_id}/connections/{connection_id}
friendly_name
string
User provided display name for the connection.
description
string
User provided description.
creation_time
int64
Output only. The creation timestamp of the connection.
last_modified_time
int64
Output only. The last update timestamp of the connection.
has_credential
bool
Output only. True, if credential is configured for this connection.
Union field properties. Properties specific to the underlying data source. properties can be only one of the following:
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-07-02 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eConnectionService\u003c/code\u003e interface manages external data source connections and credentials, enabling operations such as creating, deleting, getting, and listing connections.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eCloudSqlProperties\u003c/code\u003e defines connection details specific to Cloud SQL databases, including instance ID, database name, database type, and credential information.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eConnection\u003c/code\u003e message contains the configuration parameters required to establish a connection with an external data source, which include details like the connection's name, display name, and specific properties for the data source.\u003c/p\u003e\n"],["\u003cp\u003eVarious request messages, like \u003ccode\u003eCreateConnectionRequest\u003c/code\u003e, \u003ccode\u003eDeleteConnectionRequest\u003c/code\u003e, and \u003ccode\u003eUpdateConnectionRequest\u003c/code\u003e, are utilized to interact with the \u003ccode\u003eConnectionService\u003c/code\u003e and manage connection entities.\u003c/p\u003e\n"],["\u003cp\u003eAuthorization scopes are required for each \u003ccode\u003eConnectionService\u003c/code\u003e method, such as \u003ccode\u003eCreateConnection\u003c/code\u003e, \u003ccode\u003eDeleteConnection\u003c/code\u003e etc., necessitating either \u003ccode\u003ehttps://www.googleapis.com/auth/bigquery\u003c/code\u003e or \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e for most actions.\u003c/p\u003e\n"]]],[],null,["# Package google.cloud.bigquery.connection.v1beta1\n\nIndex\n-----\n\n- [ConnectionService](/bigquery/docs/reference/bigqueryconnection/rpc/google.cloud.bigquery.connection.v1beta1#google.cloud.bigquery.connection.v1beta1.ConnectionService) (interface)\n- [CloudSqlCredential](/bigquery/docs/reference/bigqueryconnection/rpc/google.cloud.bigquery.connection.v1beta1#google.cloud.bigquery.connection.v1beta1.CloudSqlCredential) (message)\n- [CloudSqlProperties](/bigquery/docs/reference/bigqueryconnection/rpc/google.cloud.bigquery.connection.v1beta1#google.cloud.bigquery.connection.v1beta1.CloudSqlProperties) (message)\n- [CloudSqlProperties.DatabaseType](/bigquery/docs/reference/bigqueryconnection/rpc/google.cloud.bigquery.connection.v1beta1#google.cloud.bigquery.connection.v1beta1.CloudSqlProperties.DatabaseType) (enum)\n- [Connection](/bigquery/docs/reference/bigqueryconnection/rpc/google.cloud.bigquery.connection.v1beta1#google.cloud.bigquery.connection.v1beta1.Connection) (message)\n- [ConnectionCredential](/bigquery/docs/reference/bigqueryconnection/rpc/google.cloud.bigquery.connection.v1beta1#google.cloud.bigquery.connection.v1beta1.ConnectionCredential) (message)\n- [CreateConnectionRequest](/bigquery/docs/reference/bigqueryconnection/rpc/google.cloud.bigquery.connection.v1beta1#google.cloud.bigquery.connection.v1beta1.CreateConnectionRequest) (message)\n- [DeleteConnectionRequest](/bigquery/docs/reference/bigqueryconnection/rpc/google.cloud.bigquery.connection.v1beta1#google.cloud.bigquery.connection.v1beta1.DeleteConnectionRequest) (message)\n- [GetConnectionRequest](/bigquery/docs/reference/bigqueryconnection/rpc/google.cloud.bigquery.connection.v1beta1#google.cloud.bigquery.connection.v1beta1.GetConnectionRequest) (message)\n- [ListConnectionsRequest](/bigquery/docs/reference/bigqueryconnection/rpc/google.cloud.bigquery.connection.v1beta1#google.cloud.bigquery.connection.v1beta1.ListConnectionsRequest) (message)\n- [ListConnectionsResponse](/bigquery/docs/reference/bigqueryconnection/rpc/google.cloud.bigquery.connection.v1beta1#google.cloud.bigquery.connection.v1beta1.ListConnectionsResponse) (message)\n- [UpdateConnectionCredentialRequest](/bigquery/docs/reference/bigqueryconnection/rpc/google.cloud.bigquery.connection.v1beta1#google.cloud.bigquery.connection.v1beta1.UpdateConnectionCredentialRequest) (message)\n- [UpdateConnectionRequest](/bigquery/docs/reference/bigqueryconnection/rpc/google.cloud.bigquery.connection.v1beta1#google.cloud.bigquery.connection.v1beta1.UpdateConnectionRequest) (message)\n\nConnectionService\n-----------------\n\nManages external data source connections and credentials.\n\nCloudSqlCredential\n------------------\n\nCredential info for the Cloud SQL.\n\nCloudSqlProperties\n------------------\n\nConnection properties specific to the Cloud SQL.\n\nDatabaseType\n------------\n\nSupported Cloud SQL database types.\n\nConnection\n----------\n\nConfiguration parameters to establish connection with an external data source, except the credential attributes.\n\nConnectionCredential\n--------------------\n\nCredential to use with a connection.\n\nCreateConnectionRequest\n-----------------------\n\nThe request for [ConnectionService.CreateConnection](/bigquery/docs/reference/bigqueryconnection/rpc/google.cloud.bigquery.connection.v1beta1#google.cloud.bigquery.connection.v1beta1.ConnectionService.CreateConnection).\n\nDeleteConnectionRequest\n-----------------------\n\nThe request for \\[ConnectionService.DeleteConnectionRequest\\]\\[\\].\n\nGetConnectionRequest\n--------------------\n\nThe request for [ConnectionService.GetConnection](/bigquery/docs/reference/bigqueryconnection/rpc/google.cloud.bigquery.connection.v1beta1#google.cloud.bigquery.connection.v1beta1.ConnectionService.GetConnection).\n\nListConnectionsRequest\n----------------------\n\nThe request for [ConnectionService.ListConnections](/bigquery/docs/reference/bigqueryconnection/rpc/google.cloud.bigquery.connection.v1beta1#google.cloud.bigquery.connection.v1beta1.ConnectionService.ListConnections).\n\nListConnectionsResponse\n-----------------------\n\nThe response for [ConnectionService.ListConnections](/bigquery/docs/reference/bigqueryconnection/rpc/google.cloud.bigquery.connection.v1beta1#google.cloud.bigquery.connection.v1beta1.ConnectionService.ListConnections).\n\nUpdateConnectionCredentialRequest\n---------------------------------\n\nThe request for [ConnectionService.UpdateConnectionCredential](/bigquery/docs/reference/bigqueryconnection/rpc/google.cloud.bigquery.connection.v1beta1#google.cloud.bigquery.connection.v1beta1.ConnectionService.UpdateConnectionCredential).\n\nUpdateConnectionRequest\n-----------------------\n\nThe request for [ConnectionService.UpdateConnection](/bigquery/docs/reference/bigqueryconnection/rpc/google.cloud.bigquery.connection.v1beta1#google.cloud.bigquery.connection.v1beta1.ConnectionService.UpdateConnection)."]]