labels_label_enabled_app_settings
Creates, updates, deletes, gets or lists a labels_label_enabled_app_settings resource.
Overview
| Name | labels_label_enabled_app_settings |
| Type | Resource |
| Id | googleworkspace.drivelabelsv2.labels_label_enabled_app_settings |
Fields
The following fields are returned by SELECT queries:
SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
update_label_enabled_app_settings | update | labelsId | Updates a label's EnabledAppSettings. Enabling a label in a Google Workspace app allows it to be used in that app. This change isn't revisioned, doesn't require publishing, and takes effect immediately. |
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 |
|---|---|---|
labelsId | string |
UPDATE examples
- update_label_enabled_app_settings
Updates a label's EnabledAppSettings. Enabling a label in a Google Workspace app allows it to be used in that app. This change isn't revisioned, doesn't require publishing, and takes effect immediately.
UPDATE googleworkspace.drivelabelsv2.labels_label_enabled_app_settings
SET
data__enabledAppSettings = '{{ enabledAppSettings }}',
data__useAdminAccess = {{ useAdminAccess }},
data__languageCode = '{{ languageCode }}',
data__view = '{{ view }}'
WHERE
labelsId = '{{ labelsId }}' --required
RETURNING
id,
name,
appliedCapabilities,
appliedLabelPolicy,
createTime,
creator,
customer,
disableTime,
disabler,
displayHints,
enabledAppSettings,
fields,
labelType,
learnMoreUri,
lifecycle,
lockStatus,
properties,
publishTime,
publisher,
revisionCreateTime,
revisionCreator,
revisionId,
schemaCapabilities;