Skip to main content

connections

Creates, updates, deletes, gets or lists a connections resource.

Overview

Nameconnections
TypeResource
Idgoogle.integrations.connections

Fields

The following fields are returned by SELECT queries:

Successful response

NameDatatypeDescription
namestringOutput only. Resource name of the Connection. Format: projects/{project}/locations/{location}/connections/{connection}
asyncOperationsEnabledbooleanOptional. Async operations enabled for the connection. If Async Operations is enabled, Connection allows the customers to initiate async long running operations using the actions API.
authConfigobjectOptional. Configuration for establishing the connection's authentication with an external system. (id: GoogleCloudConnectorsV1AuthConfig)
authOverrideEnabledbooleanOptional. Auth override enabled for the connection. If Auth Override is enabled, Connection allows the backend service auth to be overridden in the entities/actions API.
billingConfigobjectOutput only. Billing config for the connection. (id: GoogleCloudConnectorsV1BillingConfig)
configVariablesarrayOptional. Configuration for configuring the connection with an external system.
connectionRevisionstring (int64)Output only. Connection revision. This field is only updated when the connection is created or updated by User.
connectorVersionstringRequired. Connector version on which the connection is created. The format is: projects//locations//providers//connectors//versions/* Only global location is supported for ConnectorVersion resource.
connectorVersionInfraConfigobjectOutput only. Infra configs supported by Connector Version. (id: GoogleCloudConnectorsV1ConnectorVersionInfraConfig)
connectorVersionLaunchStagestringOutput only. Flag to mark the version indicating the launch stage.
createTimestring (google-datetime)Output only. Created time.
descriptionstringOptional. Description of the resource.
destinationConfigsarrayOptional. Configuration of the Connector's destination. Only accepted for Connectors that accepts user defined destination(s).
envoyImageLocationstringOutput only. GCR location where the envoy image is stored. formatted like: gcr.io/{bucketName}/{imageName}
euaOauthAuthConfigobjectOptional. Additional Oauth2.0 Auth config for EUA. If the connection is configured using non-OAuth authentication but OAuth needs to be used for EUA, this field can be populated with the OAuth config. This should be a OAuth2AuthCodeFlow Auth type only. (id: GoogleCloudConnectorsV1AuthConfig)
eventingConfigobjectOptional. Eventing config of a connection (id: GoogleCloudConnectorsV1EventingConfig)
eventingEnablementTypestringOptional. Eventing enablement type. Will be nil if eventing is not enabled.
eventingRuntimeDataobjectOutput only. Eventing Runtime Data. (id: GoogleCloudConnectorsV1EventingRuntimeData)
fallbackOnAdminCredentialsbooleanOptional. Fallback on admin credentials for the connection. If this both auth_override_enabled and fallback_on_admin_credentials are set to true, the connection will use the admin credentials if the dynamic auth header is not present during auth override.
hoststringOutput only. The name of the Hostname of the Service Directory service with TLS.
imageLocationstringOutput only. GCR location where the runtime image is stored. formatted like: gcr.io/{bucketName}/{imageName}
isTrustedTesterbooleanOutput only. Is trusted tester program enabled for the project.
labelsobjectOptional. Resource labels to represent user-provided metadata. Refer to cloud documentation on labels for more details. https://cloud.google.com/compute/docs/labeling-resources
lockConfigobjectOptional. Configuration that indicates whether or not the Connection can be edited. (id: GoogleCloudConnectorsV1LockConfig)
logConfigobjectOptional. Log configuration for the connection. (id: GoogleCloudConnectorsV1LogConfig)
nodeConfigobjectOptional. Node configuration for the connection. (id: GoogleCloudConnectorsV1NodeConfig)
serviceAccountstringOptional. Service account needed for runtime plane to access Google Cloud resources.
serviceDirectorystringOutput only. The name of the Service Directory service name. Used for Private Harpoon to resolve the ILB address. e.g. "projects/cloud-connectors-e2e-testing/locations/us-central1/namespaces/istio-system/services/istio-ingressgateway-connectors"
sslConfigobjectOptional. Ssl config of a connection (id: GoogleCloudConnectorsV1SslConfig)
statusobjectOutput only. Current status of the connection. (id: GoogleCloudConnectorsV1ConnectionStatus)
subscriptionTypestringOutput only. This subscription type enum states the subscription type of the project.
suspendedbooleanOptional. Suspended indicates if a user has suspended a connection or not.
tlsServiceDirectorystringOutput only. The name of the Service Directory service with TLS.
trafficShapingConfigsarrayOptional. Traffic shaping configuration for the connection.
updateTimestring (google-datetime)Output only. Updated time.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
projects_locations_connections_listselectprojectsId, locationsIdpageSize, pageToken, filter, orderByLists Connections in a given project and location.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
locationsIdstring
projectsIdstring
filterstring
orderBystring
pageSizeinteger (int32)
pageTokenstring

SELECT examples

Lists Connections in a given project and location.

SELECT
name,
asyncOperationsEnabled,
authConfig,
authOverrideEnabled,
billingConfig,
configVariables,
connectionRevision,
connectorVersion,
connectorVersionInfraConfig,
connectorVersionLaunchStage,
createTime,
description,
destinationConfigs,
envoyImageLocation,
euaOauthAuthConfig,
eventingConfig,
eventingEnablementType,
eventingRuntimeData,
fallbackOnAdminCredentials,
host,
imageLocation,
isTrustedTester,
labels,
lockConfig,
logConfig,
nodeConfig,
serviceAccount,
serviceDirectory,
sslConfig,
status,
subscriptionType,
suspended,
tlsServiceDirectory,
trafficShapingConfigs,
updateTime
FROM google.integrations.connections
WHERE projectsId = '{{ projectsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required
AND pageSize = '{{ pageSize }}'
AND pageToken = '{{ pageToken }}'
AND filter = '{{ filter }}'
AND orderBy = '{{ orderBy }}';