Skip to main content

sql_integrations

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

Overview

Namesql_integrations
TypeResource
Idgoogle.managedidentities.sql_integrations

Fields

The following fields are returned by SELECT queries:

Successful response

NameDatatypeDescription
namestringThe unique name of the SQL integration in the form of projects/{project_id}/locations/global/domains/{domain_name}/sqlIntegrations/{sql_integration}
createTimestring (google-datetime)Output only. The time the SQL integration was created.
sqlInstancestringThe full resource name of an integrated SQL instance
statestringOutput only. The current state of the SQL integration.
updateTimestring (google-datetime)Output only. The time the SQL integration was updated.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectprojectsId, domainsId, sqlIntegrationsIdGets details of a single sqlIntegration.
listselectprojectsId, domainsIdpageSize, pageToken, filter, orderByLists SqlIntegrations in a given domain.

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
domainsIdstring
projectsIdstring
sqlIntegrationsIdstring
filterstring
orderBystring
pageSizeinteger (int32)
pageTokenstring

SELECT examples

Gets details of a single sqlIntegration.

SELECT
name,
createTime,
sqlInstance,
state,
updateTime
FROM google.managedidentities.sql_integrations
WHERE projectsId = '{{ projectsId }}' -- required
AND domainsId = '{{ domainsId }}' -- required
AND sqlIntegrationsId = '{{ sqlIntegrationsId }}' -- required;