Skip to main content

labels_label_enabled_app_settings

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

Overview

Namelabels_label_enabled_app_settings
TypeResource
Idgoogleworkspace.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:

NameAccessible byRequired ParamsOptional ParamsDescription
update_label_enabled_app_settingsupdatelabelsIdUpdates 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.

NameDatatypeDescription
labelsIdstring

UPDATE examples

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;