acl_config
Creates, updates, deletes, gets or lists an acl_config resource.
Overview
| Name | acl_config |
| Type | Resource |
| Id | google.discoveryengine.acl_config |
Fields
The following fields are returned by SELECT queries:
- projects_locations_get_acl_config
| Name | Datatype | Description |
|---|---|---|
name | string | Immutable. 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. |
idpConfig | object | Identity provider config. (id: GoogleCloudDiscoveryengineV1IdpConfig) |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
projects_locations_get_acl_config | select | projectsId, locationsId | Gets the AclConfig. | |
projects_locations_update_acl_config | update | projectsId, locationsId | 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. |
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.
| Name | Datatype | Description |
|---|---|---|
locationsId | string | |
projectsId | string |
SELECT examples
- projects_locations_get_acl_config
Gets the AclConfig.
SELECT
name,
idpConfig
FROM google.discoveryengine.acl_config
WHERE projectsId = '{{ projectsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required
;
UPDATE examples
- projects_locations_update_acl_config
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;