projects

POST /v1/projects/{projectsId}/locations/{locationsId}/connections

Changed on

Creates a new connection.

Request

  • Base URL
    https://bigqueryconnection.googleapis.com
  • Auth
    • OAuth 2 and OAuth 2
      Implicit: https://accounts.google.com/o/oauth2/auth
      Scopes: https://www.googleapis.com/auth/bigquery
      Authorization code: https://accounts.google.com/o/oauth2/auth
      Token URL: https://accounts.google.com/o/oauth2/token scopes: https://www.googleapis.com/auth/bigquery
    • or OAuth 2 and OAuth 2
      Implicit: https://accounts.google.com/o/oauth2/auth
      Scopes: https://www.googleapis.com/auth/cloud-platform
      Authorization code: https://accounts.google.com/o/oauth2/auth
      Token URL: https://accounts.google.com/o/oauth2/token scopes: https://www.googleapis.com/auth/cloud-platform

Path parameters

projectsIdstring required
locationsIdstring required

Query parameters

connectionIdstring

Optional. Connection id that should be assigned to the created connection.

Request body

creationTimestring int64

Output only. The creation timestamp of the connection.

descriptionstring

User provided description.

friendlyNamestring

User provided display name for the connection.

hasCredentialboolean

Output only. True, if credential is configured for this connection.

kmsKeyNamestring

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]

lastModifiedTimestring int64

Output only. The last update timestamp of the connection.

namestring

Output only. The resource name of the connection in the form of: projects/{project_id}/locations/{location_id}/connections/{connection_id}

Response

Successful response

creationTimestring int64

Output only. The creation timestamp of the connection.

descriptionstring

User provided description.

friendlyNamestring

User provided display name for the connection.

hasCredentialboolean

Output only. True, if credential is configured for this connection.

kmsKeyNamestring

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]

lastModifiedTimestring int64

Output only. The last update timestamp of the connection.

namestring

Output only. The resource name of the connection in the form of: projects/{project_id}/locations/{location_id}/connections/{connection_id}

Changes

    • info

      the security scope https://www.googleapis.com/auth/bigquery was added to the endpoint's security scheme Oauth2

    • info

      the security scope https://www.googleapis.com/auth/bigquery was added to the endpoint's security scheme Oauth2c

    • info

      the security scope https://www.googleapis.com/auth/cloud-platform was removed from the endpoint's security scheme Oauth2

    • info

      the security scope https://www.googleapis.com/auth/cloud-platform was removed from the endpoint's security scheme Oauth2c