Index
ConnectionService
(interface)AwsAccessRole
(message)AwsProperties
(message)AzureProperties
(message)CloudResourceProperties
(message)CloudSpannerProperties
(message)CloudSqlCredential
(message)CloudSqlProperties
(message)CloudSqlProperties.DatabaseType
(enum)Connection
(message)ConnectorConfiguration
(message)ConnectorConfiguration.Asset
(message)ConnectorConfiguration.Authentication
(message)ConnectorConfiguration.Endpoint
(message)ConnectorConfiguration.Network
(message)ConnectorConfiguration.PrivateServiceConnect
(message)ConnectorConfiguration.Secret
(message)ConnectorConfiguration.Secret.SecretType
(enum)ConnectorConfiguration.UsernamePassword
(message)CreateConnectionRequest
(message)DeleteConnectionRequest
(message)GetConnectionRequest
(message)ListConnectionsRequest
(message)ListConnectionsResponse
(message)MetastoreServiceConfig
(message)SalesforceDataCloudProperties
(message)SparkHistoryServerConfig
(message)SparkProperties
(message)UpdateConnectionRequest
(message)
ConnectionService
Manages external data source connections and credentials.
CreateConnection |
---|
Creates a new connection.
|
DeleteConnection |
---|
Deletes connection and associated credential.
|
GetConnection |
---|
Returns specified connection.
|
GetIamPolicy |
---|
Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
|
ListConnections |
---|
Returns a list of connections in the given project.
|
SetIamPolicy |
---|
Sets the access control policy on the specified resource. Replaces any existing policy. Can return
|
TestIamPermissions |
---|
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 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.
|
UpdateConnection |
---|
Updates the specified connection. For security reasons, also resets credential if connection properties are in the update field mask.
|
AwsAccessRole
Authentication method for Amazon Web Services (AWS) that uses Google owned Google service account to assume into customer's AWS IAM Role.
Fields | |
---|---|
iam_ |
The user’s AWS IAM Role that trusts the Google-owned AWS IAM user Connection. |
identity |
A unique Google-owned and Google-generated identity for the Connection. This identity will be used to access the user's AWS IAM Role. |
AwsProperties
Connection properties specific to Amazon Web Services (AWS).
Fields | |
---|---|
Union field authentication_method . Authentication method chosen at connection creation. authentication_method can be only one of the following: |
|
access_ |
Authentication using Google owned service account to assume into customer's AWS IAM Role. |
AzureProperties
Container for connection properties specific to Azure.
Fields | |
---|---|
application |
Output only. The name of the Azure Active Directory Application. |
client_ |
Output only. The client id of the Azure Active Directory Application. |
object_ |
Output only. The object id of the Azure Active Directory Application. |
customer_ |
The id of customer's directory that host the data. |
redirect_ |
The URL user will be redirected to after granting consent during connection setup. |
federated_ |
The client ID of the user's Azure Active Directory Application used for a federated connection. |
identity |
Output only. A unique Google-owned and Google-generated identity for the Connection. This identity will be used to access the user's Azure Active Directory Application. |
CloudResourceProperties
Container for connection properties for delegation of access to GCP resources.
Fields | |
---|---|
service_ |
Output only. The account ID of the service created for the purpose of this connection. The service account does not have any permissions associated with it when it is created. After creation, customers delegate permissions to the service account. When the connection is used in the context of an operation in BigQuery, the service account will be used to connect to the desired resources in GCP. The account ID is in the form of: |
CloudSpannerProperties
Connection properties specific to Cloud Spanner.
Fields | |
---|---|
database |
Cloud Spanner database in the form `project/instance/database' |
use_ |
If parallelism should be used when reading from Cloud Spanner |
max_ |
Allows setting max parallelism per query when executing on Spanner independent compute resources. If unspecified, default values of parallelism are chosen that are dependent on the Cloud Spanner instance configuration. REQUIRES: REQUIRES: |
use_ |
If set, the request will be executed via Spanner independent compute resources. REQUIRES: |
database_ |
Optional. Cloud Spanner database role for fine-grained access control. The Cloud Spanner admin should have provisioned the database role with appropriate permissions, such as For more details, see About fine-grained access control. REQUIRES: The database role name must start with a letter, and can only contain letters, numbers, and underscores. |
CloudSqlCredential
Credential info for the Cloud SQL.
Fields | |
---|---|
username |
The username for the credential. |
password |
The password for the credential. |
CloudSqlProperties
Connection properties specific to the Cloud SQL.
Fields | |
---|---|
instance_ |
Cloud SQL instance ID in the form |
database |
Database name. |
type |
Type of the Cloud SQL database. |
credential |
Input only. Cloud SQL credential. |
service_ |
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 |
Output only. The resource name of the connection in the form of: |
friendly_ |
User provided display name for the connection. |
description |
User provided description. |
configuration |
Optional. Connector configuration. |
creation_ |
Output only. The creation timestamp of the connection. |
last_ |
Output only. The last update timestamp of the connection. |
has_ |
Output only. True, if credential is configured for this connection. |
kms_ |
Optional. The Cloud KMS key that is used for credentials encryption. If omitted, internal Google owned encryption keys are used. Example: |
Union field properties . Properties specific to the underlying data source. properties can be only one of the following: |
|
cloud_ |
Cloud SQL properties. |
aws |
Amazon Web Services (AWS) properties. |
azure |
Azure properties. |
cloud_ |
Cloud Spanner properties. |
cloud_ |
Cloud Resource properties. |
spark |
Spark properties. |
salesforce_ |
Optional. Salesforce DataCloud properties. This field is intended for use only by Salesforce partner projects. This field contains properties for your Salesforce DataCloud connection. |
ConnectorConfiguration
Represents concrete parameter values for Connector Configuration.
Fields | |
---|---|
connector_ |
Required. Immutable. The ID of the Connector these parameters are configured for. |
endpoint |
Specifies how to reach the remote system this connection is pointing to. |
authentication |
Client authentication. |
network |
Networking configuration. |
asset |
Data asset. |
Asset
Data Asset - a resource within instance of the system, reachable under specified endpoint. For example a database name in a SQL DB.
Fields | |
---|---|
database |
Name of the database. |
google_ |
Full Google Cloud resource name - https://cloud.google.com/apis/design/resource_names#full_resource_name. Example: |
Authentication
Client authentication.
Fields | |
---|---|
username_ |
Username/password authentication. |
service_ |
Output only. Google-managed service account associated with this connection, e.g., |
Endpoint
Remote endpoint specification.
Fields | |
---|---|
Union field
|
|
host_ |
Host and port in a format of |
Network
Network related configuration.
Fields | |
---|---|
Union field
|
|
private_ |
Private Service Connect networking configuration. |
PrivateServiceConnect
Private Service Connect configuration.
Fields | |
---|---|
network_ |
Required. Network Attachment name in the format of |
Secret
Secret value parameter.
Fields | |
---|---|
secret_ |
Output only. Indicates type of secret. Can be used to check type of stored secret value even if it's |
Union field secret . Required. Secret value. secret can be only one of the following: |
|
plaintext |
Input only. Secret as plaintext. |
SecretType
Indicates type of stored secret.
Enums | |
---|---|
SECRET_TYPE_UNSPECIFIED |
|
PLAINTEXT |
UsernamePassword
Username and Password authentication.
Fields | |
---|---|
username |
Required. Username. |
password |
Required. Password. |
CreateConnectionRequest
The request for ConnectionService.CreateConnection
.
Fields | |
---|---|
parent |
Required. Parent resource name. Must be in the format Authorization requires the following IAM permission on the specified resource
|
connection_ |
Optional. Connection id that should be assigned to the created connection. |
connection |
Required. Connection to create. |
DeleteConnectionRequest
The request for [ConnectionService.DeleteConnectionRequest][].
Fields | |
---|---|
name |
Required. Name of the deleted connection, for example: Authorization requires the following IAM permission on the specified resource
|
GetConnectionRequest
The request for ConnectionService.GetConnection
.
Fields | |
---|---|
name |
Required. Name of the requested connection, for example: Authorization requires the following IAM permission on the specified resource
|
ListConnectionsRequest
The request for ConnectionService.ListConnections
.
Fields | |
---|---|
parent |
Required. Parent resource name. Must be in the form: Authorization requires the following IAM permission on the specified resource
|
page_ |
Required. Page size. |
page_ |
Page token. |
ListConnectionsResponse
The response for ConnectionService.ListConnections
.
Fields | |
---|---|
next_ |
Next page token. |
connections[] |
List of connections. |
MetastoreServiceConfig
Configuration of the Dataproc Metastore Service.
Fields | |
---|---|
metastore_ |
Optional. Resource name of an existing Dataproc Metastore service. Example:
|
SalesforceDataCloudProperties
Connection properties specific to Salesforce DataCloud. This is intended for use only by Salesforce partner projects.
Fields | |
---|---|
instance_ |
The URL to the user's Salesforce DataCloud instance. |
identity |
Output only. A unique Google-owned and Google-generated service account identity for the connection. |
tenant_ |
The ID of the user's Salesforce tenant. |
SparkHistoryServerConfig
Configuration of the Spark History Server.
Fields | |
---|---|
dataproc_ |
Optional. Resource name of an existing Dataproc Cluster to act as a Spark History Server for the connection. Example:
|
SparkProperties
Container for connection properties to execute stored procedures for Apache Spark.
Fields | |
---|---|
service_ |
Output only. The account ID of the service created for the purpose of this connection. The service account does not have any permissions associated with it when it is created. After creation, customers delegate permissions to the service account. When the connection is used in the context of a stored procedure for Apache Spark in BigQuery, the service account is used to connect to the desired resources in Google Cloud. The account ID is in the form of: bqcx- |
metastore_ |
Optional. Dataproc Metastore Service configuration for the connection. |
spark_ |
Optional. Spark History Server configuration for the connection. |
UpdateConnectionRequest
The request for ConnectionService.UpdateConnection
.
Fields | |
---|---|
name |
Required. Name of the connection to update, for example: Authorization requires the following IAM permission on the specified resource
|
connection |
Required. Connection containing the updated fields. |
update_ |
Required. Update mask for the connection fields to be updated. |