Skip to main content

acl_config

Creates, updates, deletes, gets or lists an acl_config resource.

Overview

Nameacl_config
TypeResource
Idgoogle.discoveryengine.acl_config

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
namestringImmutable. The full resource name of the acl configuration. Format: projects/{project}/locations/{location}/aclConfig. This field must be a UTF-8 encoded string with a length limit of 1024 characters.
idpConfigobjectIdentity provider config. (id: GoogleCloudDiscoveryengineV1IdpConfig)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
projects_locations_get_acl_configselectprojectsId, locationsIdGets the AclConfig.
projects_locations_update_acl_configupdateprojectsId, locationsIdDefault ACL configuration for use in a location of a customer's project. Updates will only reflect to new data stores. Existing data stores will still use the old value.

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 AclConfig.

SELECT
name,
idpConfig
FROM google.discoveryengine.acl_config
WHERE projectsId = '{{ projectsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required
;

UPDATE examples

Default ACL configuration for use in a location of a customer's project. Updates will only reflect to new data stores. Existing data stores will still use the old value.

UPDATE google.discoveryengine.acl_config
SET
data__name = '{{ name }}',
data__idpConfig = '{{ idpConfig }}'
WHERE
projectsId = '{{ projectsId }}' --required
AND locationsId = '{{ locationsId }}' --required
RETURNING
name,
idpConfig;