Skip to main content

clients

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

Overview

Nameclients
TypeResource
Idgoogle.integrations.clients

Fields

The following fields are returned by SELECT queries:

Successful response

NameDatatypeDescription
clientobjectRequired. Required: The client configuration that was requested (id: GoogleCloudIntegrationsV1alphaClientConfig)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
projects_locations_get_clientsselectprojectsId, locationsIdGets the client configuration for the given project and location resource name
projects_locations_clients_replacereplaceprojectsId, locationsIdUpdate run-as service account for provisioned client
projects_locations_clients_provisionexecprojectsId, locationsIdPerform the provisioning steps to enable a user GCP project to use IP. If GCP project already registered on IP end via Apigee Integration, provisioning will fail.
projects_locations_clients_provision_client_post_processorexecprojectsId, locationsIdPerform post provisioning steps after client is provisioned.
projects_locations_clients_deprovisionexecprojectsId, locationsIdPerform the deprovisioning steps to disable a user GCP project to use IP and purge all related data in a wipeout-compliant way.
projects_locations_clients_change_configexecprojectsId, locationsIdUpdates the client customer configuration for the given project and location resource name
projects_locations_clients_switchexecprojectsId, locationsIdUpdate client from GMEK to CMEK
projects_locations_clients_switch_variable_maskingexecprojectsId, locationsIdUpdate variable masking for provisioned client
projects_locations_clients_toggle_httpexecprojectsId, locationsIdEnable/Disable http call for provisioned client

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

SELECT examples

Gets the client configuration for the given project and location resource name

SELECT
client
FROM google.integrations.clients
WHERE projectsId = '{{ projectsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required;

REPLACE examples

Update run-as service account for provisioned client

REPLACE google.integrations.clients
SET
data__runAsServiceAccount = '{{ runAsServiceAccount }}'
WHERE
projectsId = '{{ projectsId }}' --required
AND locationsId = '{{ locationsId }}' --required;

Lifecycle Methods

Perform the provisioning steps to enable a user GCP project to use IP. If GCP project already registered on IP end via Apigee Integration, provisioning will fail.

EXEC google.integrations.clients.projects_locations_clients_provision 
@projectsId='{{ projectsId }}' --required,
@locationsId='{{ locationsId }}' --required
@@json=
'{
"cloudKmsConfig": "{{ cloudKmsConfig }}",
"createSampleWorkflows": {{ createSampleWorkflows }},
"provisionGmek": {{ provisionGmek }},
"runAsServiceAccount": "{{ runAsServiceAccount }}",
"skipCpProvision": {{ skipCpProvision }},
"enableHttpCall": {{ enableHttpCall }},
"enableManagedAiFeatures": {{ enableManagedAiFeatures }}
}';