## Index

- `https://docs.cloud.google.com/bigquery/docs/reference/bigqueryconnection/rpc/google.cloud.bigquery.connection.v1#google.cloud.bigquery.connection.v1.ConnectionService` (interface)
- `https://docs.cloud.google.com/bigquery/docs/reference/bigqueryconnection/rpc/google.cloud.bigquery.connection.v1#google.cloud.bigquery.connection.v1.AwsAccessRole` (message)
- `https://docs.cloud.google.com/bigquery/docs/reference/bigqueryconnection/rpc/google.cloud.bigquery.connection.v1#google.cloud.bigquery.connection.v1.AwsProperties` (message)
- `https://docs.cloud.google.com/bigquery/docs/reference/bigqueryconnection/rpc/google.cloud.bigquery.connection.v1#google.cloud.bigquery.connection.v1.AzureProperties` (message)
- `https://docs.cloud.google.com/bigquery/docs/reference/bigqueryconnection/rpc/google.cloud.bigquery.connection.v1#google.cloud.bigquery.connection.v1.CloudResourceProperties` (message)
- `https://docs.cloud.google.com/bigquery/docs/reference/bigqueryconnection/rpc/google.cloud.bigquery.connection.v1#google.cloud.bigquery.connection.v1.CloudSpannerProperties` (message)
- `https://docs.cloud.google.com/bigquery/docs/reference/bigqueryconnection/rpc/google.cloud.bigquery.connection.v1#google.cloud.bigquery.connection.v1.CloudSqlCredential` (message)
- `https://docs.cloud.google.com/bigquery/docs/reference/bigqueryconnection/rpc/google.cloud.bigquery.connection.v1#google.cloud.bigquery.connection.v1.CloudSqlProperties` (message)
- `https://docs.cloud.google.com/bigquery/docs/reference/bigqueryconnection/rpc/google.cloud.bigquery.connection.v1#google.cloud.bigquery.connection.v1.CloudSqlProperties.DatabaseType` (enum)
- `https://docs.cloud.google.com/bigquery/docs/reference/bigqueryconnection/rpc/google.cloud.bigquery.connection.v1#google.cloud.bigquery.connection.v1.Connection` (message)
- `https://docs.cloud.google.com/bigquery/docs/reference/bigqueryconnection/rpc/google.cloud.bigquery.connection.v1#google.cloud.bigquery.connection.v1.ConnectorConfiguration` (message)
- `https://docs.cloud.google.com/bigquery/docs/reference/bigqueryconnection/rpc/google.cloud.bigquery.connection.v1#google.cloud.bigquery.connection.v1.ConnectorConfiguration.Asset` (message)
- `https://docs.cloud.google.com/bigquery/docs/reference/bigqueryconnection/rpc/google.cloud.bigquery.connection.v1#google.cloud.bigquery.connection.v1.ConnectorConfiguration.Authentication` (message)
- `https://docs.cloud.google.com/bigquery/docs/reference/bigqueryconnection/rpc/google.cloud.bigquery.connection.v1#google.cloud.bigquery.connection.v1.ConnectorConfiguration.Endpoint` (message)
- `https://docs.cloud.google.com/bigquery/docs/reference/bigqueryconnection/rpc/google.cloud.bigquery.connection.v1#google.cloud.bigquery.connection.v1.ConnectorConfiguration.Network` (message)
- `https://docs.cloud.google.com/bigquery/docs/reference/bigqueryconnection/rpc/google.cloud.bigquery.connection.v1#google.cloud.bigquery.connection.v1.ConnectorConfiguration.ParameterValue` (message)
- `https://docs.cloud.google.com/bigquery/docs/reference/bigqueryconnection/rpc/google.cloud.bigquery.connection.v1#google.cloud.bigquery.connection.v1.ConnectorConfiguration.PrivateServiceConnect` (message)
- `https://docs.cloud.google.com/bigquery/docs/reference/bigqueryconnection/rpc/google.cloud.bigquery.connection.v1#google.cloud.bigquery.connection.v1.ConnectorConfiguration.Secret` (message)
- `https://docs.cloud.google.com/bigquery/docs/reference/bigqueryconnection/rpc/google.cloud.bigquery.connection.v1#google.cloud.bigquery.connection.v1.ConnectorConfiguration.Secret.SecretType` (enum)
- `https://docs.cloud.google.com/bigquery/docs/reference/bigqueryconnection/rpc/google.cloud.bigquery.connection.v1#google.cloud.bigquery.connection.v1.ConnectorConfiguration.UsernamePassword` (message)
- `https://docs.cloud.google.com/bigquery/docs/reference/bigqueryconnection/rpc/google.cloud.bigquery.connection.v1#google.cloud.bigquery.connection.v1.CreateConnectionRequest` (message)
- `https://docs.cloud.google.com/bigquery/docs/reference/bigqueryconnection/rpc/google.cloud.bigquery.connection.v1#google.cloud.bigquery.connection.v1.DeleteConnectionRequest` (message)
- `https://docs.cloud.google.com/bigquery/docs/reference/bigqueryconnection/rpc/google.cloud.bigquery.connection.v1#google.cloud.bigquery.connection.v1.GetConnectionRequest` (message)
- `https://docs.cloud.google.com/bigquery/docs/reference/bigqueryconnection/rpc/google.cloud.bigquery.connection.v1#google.cloud.bigquery.connection.v1.ListConnectionsRequest` (message)
- `https://docs.cloud.google.com/bigquery/docs/reference/bigqueryconnection/rpc/google.cloud.bigquery.connection.v1#google.cloud.bigquery.connection.v1.ListConnectionsResponse` (message)
- `https://docs.cloud.google.com/bigquery/docs/reference/bigqueryconnection/rpc/google.cloud.bigquery.connection.v1#google.cloud.bigquery.connection.v1.MetastoreServiceConfig` (message)
- `https://docs.cloud.google.com/bigquery/docs/reference/bigqueryconnection/rpc/google.cloud.bigquery.connection.v1#google.cloud.bigquery.connection.v1.SalesforceDataCloudProperties` (message)
- `https://docs.cloud.google.com/bigquery/docs/reference/bigqueryconnection/rpc/google.cloud.bigquery.connection.v1#google.cloud.bigquery.connection.v1.SparkHistoryServerConfig` (message)
- `https://docs.cloud.google.com/bigquery/docs/reference/bigqueryconnection/rpc/google.cloud.bigquery.connection.v1#google.cloud.bigquery.connection.v1.SparkProperties` (message)
- `https://docs.cloud.google.com/bigquery/docs/reference/bigqueryconnection/rpc/google.cloud.bigquery.connection.v1#google.cloud.bigquery.connection.v1.UpdateConnectionRequest` (message)

## ConnectionService

Manages external data source connections and credentials.

| CreateConnection |
|---|
| `` rpc CreateConnection(`https://docs.cloud.google.com/bigquery/docs/reference/bigqueryconnection/rpc/google.cloud.bigquery.connection.v1#google.cloud.bigquery.connection.v1.CreateConnectionRequest`) returns (`https://docs.cloud.google.com/bigquery/docs/reference/bigqueryconnection/rpc/google.cloud.bigquery.connection.v1#google.cloud.bigquery.connection.v1.Connection`) `` Creates a new connection. Authorization scopes :   Requires one of the following OAuth scopes: - `https://www.googleapis.com/auth/bigquery` - `https://www.googleapis.com/auth/cloud-platform` For more information, see the [Authentication Overview](https://docs.cloud.google.com/docs/authentication#authorization-gcp). |

| DeleteConnection |
|---|
| `` rpc DeleteConnection(`https://docs.cloud.google.com/bigquery/docs/reference/bigqueryconnection/rpc/google.cloud.bigquery.connection.v1#google.cloud.bigquery.connection.v1.DeleteConnectionRequest`) returns (`https://protobuf.dev/reference/protobuf/google.protobuf#empty`) `` Deletes connection and associated credential. Authorization scopes :   Requires one of the following OAuth scopes: - `https://www.googleapis.com/auth/bigquery` - `https://www.googleapis.com/auth/cloud-platform` For more information, see the [Authentication Overview](https://docs.cloud.google.com/docs/authentication#authorization-gcp). |

| GetConnection |
|---|
| `` rpc GetConnection(`https://docs.cloud.google.com/bigquery/docs/reference/bigqueryconnection/rpc/google.cloud.bigquery.connection.v1#google.cloud.bigquery.connection.v1.GetConnectionRequest`) returns (`https://docs.cloud.google.com/bigquery/docs/reference/bigqueryconnection/rpc/google.cloud.bigquery.connection.v1#google.cloud.bigquery.connection.v1.Connection`) `` Returns specified connection. Authorization scopes :   Requires one of the following OAuth scopes: - `https://www.googleapis.com/auth/bigquery` - `https://www.googleapis.com/auth/cloud-platform` For more information, see the [Authentication Overview](https://docs.cloud.google.com/docs/authentication#authorization-gcp). |

| GetIamPolicy |
|---|
| `` rpc GetIamPolicy(`https://docs.cloud.google.com/bigquery/docs/reference/bigqueryconnection/rpc/google.iam.v1#google.iam.v1.GetIamPolicyRequest`) returns (`https://docs.cloud.google.com/bigquery/docs/reference/bigqueryconnection/rpc/google.iam.v1#google.iam.v1.Policy`) `` Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. Authorization scopes :   Requires one of the following OAuth scopes: - `https://www.googleapis.com/auth/bigquery` - `https://www.googleapis.com/auth/cloud-platform` For more information, see the [Authentication Overview](https://docs.cloud.google.com/docs/authentication#authorization-gcp). |

| ListConnections |
|---|
| `` rpc ListConnections(`https://docs.cloud.google.com/bigquery/docs/reference/bigqueryconnection/rpc/google.cloud.bigquery.connection.v1#google.cloud.bigquery.connection.v1.ListConnectionsRequest`) returns (`https://docs.cloud.google.com/bigquery/docs/reference/bigqueryconnection/rpc/google.cloud.bigquery.connection.v1#google.cloud.bigquery.connection.v1.ListConnectionsResponse`) `` Returns a list of connections in the given project. Authorization scopes :   Requires one of the following OAuth scopes: - `https://www.googleapis.com/auth/bigquery` - `https://www.googleapis.com/auth/cloud-platform` For more information, see the [Authentication Overview](https://docs.cloud.google.com/docs/authentication#authorization-gcp). |

| SetIamPolicy |
|---|
| `` rpc SetIamPolicy(`https://docs.cloud.google.com/bigquery/docs/reference/bigqueryconnection/rpc/google.iam.v1#google.iam.v1.SetIamPolicyRequest`) returns (`https://docs.cloud.google.com/bigquery/docs/reference/bigqueryconnection/rpc/google.iam.v1#google.iam.v1.Policy`) `` Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. Authorization scopes :   Requires one of the following OAuth scopes: - `https://www.googleapis.com/auth/bigquery` - `https://www.googleapis.com/auth/cloud-platform` For more information, see the [Authentication Overview](https://docs.cloud.google.com/docs/authentication#authorization-gcp). |

| TestIamPermissions |
|---|
| `` rpc TestIamPermissions(`https://docs.cloud.google.com/bigquery/docs/reference/bigqueryconnection/rpc/google.iam.v1#google.iam.v1.TestIamPermissionsRequest`) returns (`https://docs.cloud.google.com/bigquery/docs/reference/bigqueryconnection/rpc/google.iam.v1#google.iam.v1.TestIamPermissionsResponse`) `` 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. Authorization scopes :   Requires one of the following OAuth scopes: - `https://www.googleapis.com/auth/bigquery` - `https://www.googleapis.com/auth/cloud-platform` For more information, see the [Authentication Overview](https://docs.cloud.google.com/docs/authentication#authorization-gcp). |

| UpdateConnection |
|---|
| `` rpc UpdateConnection(`https://docs.cloud.google.com/bigquery/docs/reference/bigqueryconnection/rpc/google.cloud.bigquery.connection.v1#google.cloud.bigquery.connection.v1.UpdateConnectionRequest`) returns (`https://docs.cloud.google.com/bigquery/docs/reference/bigqueryconnection/rpc/google.cloud.bigquery.connection.v1#google.cloud.bigquery.connection.v1.Connection`) `` Updates the specified connection. For security reasons, also resets credential if connection properties are in the update field mask. Authorization scopes :   Requires one of the following OAuth scopes: - `https://www.googleapis.com/auth/bigquery` - `https://www.googleapis.com/auth/cloud-platform` For more information, see the [Authentication Overview](https://docs.cloud.google.com/docs/authentication#authorization-gcp). |

## 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_role_id` | `string` The user's AWS IAM Role that trusts the Google-owned AWS IAM user Connection. |
| `identity` | `string` 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_role` | `https://docs.cloud.google.com/bigquery/docs/reference/bigqueryconnection/rpc/google.cloud.bigquery.connection.v1#google.cloud.bigquery.connection.v1.AwsAccessRole` Authentication using Google owned service account to assume into customer's AWS IAM Role. |

## AzureProperties

Container for connection properties specific to Azure.

| Fields ||
|---|---|
| `application` | `string` Output only. The name of the Azure Active Directory Application. |
| `client_id` | `string` Output only. The client id of the Azure Active Directory Application. |
| `object_id` | `string` Output only. The object id of the Azure Active Directory Application. |
| `customer_tenant_id` | `string` The id of customer's directory that host the data. |
| `redirect_uri` | `string` The URL user will be redirected to after granting consent during connection setup. |
| `federated_application_client_id` | `string` The client ID of the user's Azure Active Directory Application used for a federated connection. |
| `identity` | `string` 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_account_id` | `string` 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: @gcp-sa-bigquery-cloudresource.iam.gserviceaccount.com |

## CloudSpannerProperties

Connection properties specific to Cloud Spanner.

| Fields ||
|---|---|
| `database` | `string` Cloud Spanner database in the form \`project/instance/database' |
| `use_parallelism` | `bool` If parallelism should be used when reading from Cloud Spanner |
| `max_parallelism` | `int32` 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: `use_parallelism` must be set. REQUIRES: `use_data_boost` must be set. |
| `use_data_boost` | `bool` If set, the request will be executed via Spanner independent compute resources. REQUIRES: `use_parallelism` must be set. |
| `database_role` | `string` 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 `SELECT` and `INSERT`. Other users should only use roles provided by their Cloud Spanner admins. For more details, see [About fine-grained access control](https://cloud.google.com/spanner/docs/fgac-about). 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` | `string` The username for the credential. |
| `password` | `string` The password for the credential. |

## CloudSqlProperties

Connection properties specific to the Cloud SQL.

| Fields ||
|---|---|
| `instance_id` | `string` Cloud SQL instance ID in the form `project:location:instance`. |
| `database` | `string` Database name. |
| `type` | `https://docs.cloud.google.com/bigquery/docs/reference/bigqueryconnection/rpc/google.cloud.bigquery.connection.v1#google.cloud.bigquery.connection.v1.CloudSqlProperties.DatabaseType` Type of the Cloud SQL database. |
| `credential` | `https://docs.cloud.google.com/bigquery/docs/reference/bigqueryconnection/rpc/google.cloud.bigquery.connection.v1#google.cloud.bigquery.connection.v1.CloudSqlCredential` Input only. Cloud SQL credential. |
| `service_account_id` | `string` 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` Output only. 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. |
| `configuration` | `https://docs.cloud.google.com/bigquery/docs/reference/bigqueryconnection/rpc/google.cloud.bigquery.connection.v1#google.cloud.bigquery.connection.v1.ConnectorConfiguration` Optional. Connector configuration. |
| `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. |
| `kms_key_name` | `string` Optional. The Cloud KMS key that is used for credentials encryption. If omitted, internal Google owned encryption keys are used. Example: `projects/[kms_project_id]/locations/[region]/keyRings/[key_region]/cryptoKeys/[key]` |
| Union field `properties`. Properties specific to the underlying data source. `properties` can be only one of the following: ||
| `cloud_sql` | `https://docs.cloud.google.com/bigquery/docs/reference/bigqueryconnection/rpc/google.cloud.bigquery.connection.v1#google.cloud.bigquery.connection.v1.CloudSqlProperties` Cloud SQL properties. |
| `aws` | `https://docs.cloud.google.com/bigquery/docs/reference/bigqueryconnection/rpc/google.cloud.bigquery.connection.v1#google.cloud.bigquery.connection.v1.AwsProperties` Amazon Web Services (AWS) properties. |
| `azure` | `https://docs.cloud.google.com/bigquery/docs/reference/bigqueryconnection/rpc/google.cloud.bigquery.connection.v1#google.cloud.bigquery.connection.v1.AzureProperties` Azure properties. |
| `cloud_spanner` | `https://docs.cloud.google.com/bigquery/docs/reference/bigqueryconnection/rpc/google.cloud.bigquery.connection.v1#google.cloud.bigquery.connection.v1.CloudSpannerProperties` Cloud Spanner properties. |
| `cloud_resource` | `https://docs.cloud.google.com/bigquery/docs/reference/bigqueryconnection/rpc/google.cloud.bigquery.connection.v1#google.cloud.bigquery.connection.v1.CloudResourceProperties` Cloud Resource properties. |
| `spark` | `https://docs.cloud.google.com/bigquery/docs/reference/bigqueryconnection/rpc/google.cloud.bigquery.connection.v1#google.cloud.bigquery.connection.v1.SparkProperties` Spark properties. |
| `salesforce_data_cloud` | `https://docs.cloud.google.com/bigquery/docs/reference/bigqueryconnection/rpc/google.cloud.bigquery.connection.v1#google.cloud.bigquery.connection.v1.SalesforceDataCloudProperties` 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_id` | `string` Required. Immutable. The ID of the Connector these parameters are configured for. |
| `endpoint` | `https://docs.cloud.google.com/bigquery/docs/reference/bigqueryconnection/rpc/google.cloud.bigquery.connection.v1#google.cloud.bigquery.connection.v1.ConnectorConfiguration.Endpoint` Specifies how to reach the remote system this connection is pointing to. |
| `authentication` | `https://docs.cloud.google.com/bigquery/docs/reference/bigqueryconnection/rpc/google.cloud.bigquery.connection.v1#google.cloud.bigquery.connection.v1.ConnectorConfiguration.Authentication` Client authentication. |
| `network` | `https://docs.cloud.google.com/bigquery/docs/reference/bigqueryconnection/rpc/google.cloud.bigquery.connection.v1#google.cloud.bigquery.connection.v1.ConnectorConfiguration.Network` Networking configuration. |
| `asset` | `https://docs.cloud.google.com/bigquery/docs/reference/bigqueryconnection/rpc/google.cloud.bigquery.connection.v1#google.cloud.bigquery.connection.v1.ConnectorConfiguration.Asset` Data asset. |
| `parameters` | ``map<string, `https://docs.cloud.google.com/bigquery/docs/reference/bigqueryconnection/rpc/google.cloud.bigquery.connection.v1#google.cloud.bigquery.connection.v1.ConnectorConfiguration.ParameterValue`>`` Optional. A map of name-value pairs for connector-specific parameters. These extra configuration parameters aren't standardized in the configuration sections. To update a single parameter value, call `https://docs.cloud.google.com/bigquery/docs/reference/bigqueryconnection/rpc/google.cloud.bigquery.connection.v1#google.cloud.bigquery.connection.v1.ConnectionService.UpdateConnection` with `update_mask` set to `configuration.parameters.parameter_id`. If `parameter_id` doesn't fit the `[a-zA-Z0-9_]+` pattern, `parameter_id` should be escaped with backticks---for example, `` configuration.parameters.`parameter id` ``. |

## 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` | `string` Name of the database. |
| `google_cloud_resource` | `string` Full Google Cloud resource name - <https://cloud.google.com/apis/design/resource_names#full_resource_name>. Example: `//library.googleapis.com/shelves/shelf1/books/book2` |

## Authentication

Client authentication.

| Fields ||
|---|---|
| `username_password` | `https://docs.cloud.google.com/bigquery/docs/reference/bigqueryconnection/rpc/google.cloud.bigquery.connection.v1#google.cloud.bigquery.connection.v1.ConnectorConfiguration.UsernamePassword` Username/password authentication. |
| `service_account` | `string` Output only. Google-managed service account associated with this connection, e.g., `service-{project_number}@gcp-sa-bigqueryconnection.iam.gserviceaccount.com`. BigQuery jobs using this connection will act as `service_account` identity while connecting to the datasource. |
| `parameters` | ``map<string, `https://docs.cloud.google.com/bigquery/docs/reference/bigqueryconnection/rpc/google.cloud.bigquery.connection.v1#google.cloud.bigquery.connection.v1.ConnectorConfiguration.ParameterValue`>`` Optional. A map of name-value pairs for connector-specific parameters. These extra configuration parameters aren't standardized in the configuration sections. To update a single parameter value, call `https://docs.cloud.google.com/bigquery/docs/reference/bigqueryconnection/rpc/google.cloud.bigquery.connection.v1#google.cloud.bigquery.connection.v1.ConnectionService.UpdateConnection` with `update_mask` set to `configuration.parameters.parameter_id`. If `parameter_id` doesn't fit the `[a-zA-Z0-9_]+` pattern, `parameter_id` should be escaped with backticks---for example, `` configuration.parameters.`parameter id` ``. |

## Endpoint

Remote endpoint specification.

| Fields ||
|---|---|
| Union field `endpoint`. `endpoint` can be only one of the following: ||
| `host_port` | `string` Host and port in a format of `hostname:port` as defined in <https://www.ietf.org/rfc/rfc3986.html#section-3.2.2> and <https://www.ietf.org/rfc/rfc3986.html#section-3.2.3>. |

## Network

Network related configuration.

| Fields ||
|---|---|
| Union field `network`. `network` can be only one of the following: ||
| `private_service_connect` | `https://docs.cloud.google.com/bigquery/docs/reference/bigqueryconnection/rpc/google.cloud.bigquery.connection.v1#google.cloud.bigquery.connection.v1.ConnectorConfiguration.PrivateServiceConnect` Private Service Connect networking configuration. |

## ParameterValue

Represents a value for a connector parameter.

| Fields ||
|---|---|
| Union field `kind`. `kind` can be only one of the following: ||
| `string_value` | `string` A string parameter value. |
| `bool_value` | `bool` A boolean parameter value. |
| `int32_value` | `int32` An int32 parameter value. |
| `double_value` | `double` A double parameter value. |
| `secret_value` | `https://docs.cloud.google.com/bigquery/docs/reference/bigqueryconnection/rpc/google.cloud.bigquery.connection.v1#google.cloud.bigquery.connection.v1.ConnectorConfiguration.Secret` A secret parameter value. Allowed only for Authentication parameters. |

## PrivateServiceConnect

Private Service Connect configuration.

| Fields ||
|---|---|
| `network_attachment` | `string` Required. Network Attachment name in the format of `projects/{project}/regions/{region}/networkAttachments/{networkattachment}`. |

## Secret

Secret value parameter.

| Fields ||
|---|---|
| `secret_type` | `https://docs.cloud.google.com/bigquery/docs/reference/bigqueryconnection/rpc/google.cloud.bigquery.connection.v1#google.cloud.bigquery.connection.v1.ConnectorConfiguration.Secret.SecretType` Output only. Indicates type of secret. Can be used to check type of stored secret value even if it's `INPUT_ONLY`. |
| Union field `secret`. Required. Secret value. `secret` can be only one of the following: ||
| `plaintext` | `string` Input only. Secret as plaintext. |

## SecretType

Indicates type of stored secret.

| Enums ||
|---|---|
| `SECRET_TYPE_UNSPECIFIED` |   |
| `PLAINTEXT` |   |

## UsernamePassword

Username and Password authentication.

| Fields ||
|---|---|
| `username` | `string` Required. Username. |
| `password` | `https://docs.cloud.google.com/bigquery/docs/reference/bigqueryconnection/rpc/google.cloud.bigquery.connection.v1#google.cloud.bigquery.connection.v1.ConnectorConfiguration.Secret` Required. Password. |

## CreateConnectionRequest

The request for `https://docs.cloud.google.com/bigquery/docs/reference/bigqueryconnection/rpc/google.cloud.bigquery.connection.v1#google.cloud.bigquery.connection.v1.ConnectionService.CreateConnection`.

| Fields ||
|---|---|
| `parent` | `string` Required. Parent resource name. Must be in the format `projects/{project_id}/locations/{location_id}` Authorization requires the following [IAM](https://cloud.google.com/iam/docs/) permission on the specified resource `parent`: - `bigquery.connections.create` |
| `connection_id` | `string` Optional. Connection id that should be assigned to the created connection. |
| `connection` | `https://docs.cloud.google.com/bigquery/docs/reference/bigqueryconnection/rpc/google.cloud.bigquery.connection.v1#google.cloud.bigquery.connection.v1.Connection` Required. Connection to create. |

## DeleteConnectionRequest

The request for \[ConnectionService.DeleteConnectionRequest\]\[\].

| Fields ||
|---|---|
| `name` | `string` Required. Name of the deleted connection, for example: `projects/{project_id}/locations/{location_id}/connections/{connection_id}` Authorization requires the following [IAM](https://cloud.google.com/iam/docs/) permission on the specified resource `name`: - `bigquery.connections.delete` |

## GetConnectionRequest

The request for `https://docs.cloud.google.com/bigquery/docs/reference/bigqueryconnection/rpc/google.cloud.bigquery.connection.v1#google.cloud.bigquery.connection.v1.ConnectionService.GetConnection`.

| Fields ||
|---|---|
| `name` | `string` Required. Name of the requested connection, for example: `projects/{project_id}/locations/{location_id}/connections/{connection_id}` Authorization requires the following [IAM](https://cloud.google.com/iam/docs/) permission on the specified resource `name`: - `bigquery.connections.get` |

## ListConnectionsRequest

The request for `https://docs.cloud.google.com/bigquery/docs/reference/bigqueryconnection/rpc/google.cloud.bigquery.connection.v1#google.cloud.bigquery.connection.v1.ConnectionService.ListConnections`.

| Fields ||
|---|---|
| `parent` | `string` Required. Parent resource name. Must be in the form: `projects/{project_id}/locations/{location_id}` Authorization requires the following [IAM](https://cloud.google.com/iam/docs/) permission on the specified resource `parent`: - `bigquery.connections.list` |
| `page_size` | `int32` Required. Page size. |
| `page_token` | `string` Page token. |

## ListConnectionsResponse

The response for `https://docs.cloud.google.com/bigquery/docs/reference/bigqueryconnection/rpc/google.cloud.bigquery.connection.v1#google.cloud.bigquery.connection.v1.ConnectionService.ListConnections`.

| Fields ||
|---|---|
| `next_page_token` | `string` Next page token. |
| `connections[]` | `https://docs.cloud.google.com/bigquery/docs/reference/bigqueryconnection/rpc/google.cloud.bigquery.connection.v1#google.cloud.bigquery.connection.v1.Connection` List of connections. |

## MetastoreServiceConfig

Configuration of the Dataproc Metastore Service.

| Fields ||
|---|---|
| `metastore_service` | `string` Optional. Resource name of an existing Dataproc Metastore service. Example: - `projects/[project_id]/locations/[region]/services/[service_id]` |

## SalesforceDataCloudProperties

Connection properties specific to Salesforce DataCloud. This is intended for use only by Salesforce partner projects.

| Fields ||
|---|---|
| `instance_uri` | `string` The URL to the user's Salesforce DataCloud instance. |
| `identity` | `string` Output only. A unique Google-owned and Google-generated service account identity for the connection. |
| `tenant_id` | `string` The ID of the user's Salesforce tenant. |

## SparkHistoryServerConfig

Configuration of the Spark History Server.

| Fields ||
|---|---|
| `dataproc_cluster` | `string` Optional. Resource name of an existing Dataproc Cluster to act as a Spark History Server for the connection. Example: - `projects/[project_id]/regions/[region]/clusters/[cluster_name]` |

## SparkProperties

Container for connection properties to execute stored procedures for Apache Spark.

| Fields ||
|---|---|
| `service_account_id` | `string` 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--@gcp-sa-bigquery-consp.iam.gserviceaccount.com |
| `metastore_service_config` | `https://docs.cloud.google.com/bigquery/docs/reference/bigqueryconnection/rpc/google.cloud.bigquery.connection.v1#google.cloud.bigquery.connection.v1.MetastoreServiceConfig` Optional. Dataproc Metastore Service configuration for the connection. |
| `spark_history_server_config` | `https://docs.cloud.google.com/bigquery/docs/reference/bigqueryconnection/rpc/google.cloud.bigquery.connection.v1#google.cloud.bigquery.connection.v1.SparkHistoryServerConfig` Optional. Spark History Server configuration for the connection. |

## UpdateConnectionRequest

The request for `https://docs.cloud.google.com/bigquery/docs/reference/bigqueryconnection/rpc/google.cloud.bigquery.connection.v1#google.cloud.bigquery.connection.v1.ConnectionService.UpdateConnection`.

| Fields ||
|---|---|
| `name` | `string` Required. Name of the connection to update, for example: `projects/{project_id}/locations/{location_id}/connections/{connection_id}` Authorization requires the following [IAM](https://cloud.google.com/iam/docs/) permission on the specified resource `name`: - `bigquery.connections.update` |
| `connection` | `https://docs.cloud.google.com/bigquery/docs/reference/bigqueryconnection/rpc/google.cloud.bigquery.connection.v1#google.cloud.bigquery.connection.v1.Connection` Required. Connection containing the updated fields. |
| `update_mask` | `https://protobuf.dev/reference/protobuf/google.protobuf#field-mask` Required. Update mask for the connection fields to be updated. |