Method: labels.updateLabelEnabledAppSettings

Updates a Label's EabledAppSettings. Enabling a Label in a Workspace Application allows it to be used in that application. This change is not revisioned, does not require publishing, and takes effect immediately.

HTTP request

POST https://drivelabels.googleapis.com/v2/{name=labels/*}:updateLabelEnabledAppSettings

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. The resource name of the Label to update. The resource name of the Label to update.

Request body

The request body contains data with the following structure:

JSON representation
{
  "enabledAppSettings": {
    object (EnabledAppSettings)
  },
  "useAdminAccess": boolean,
  "languageCode": string,
  "view": enum (LabelView)
}
Fields
enabledAppSettings

object (EnabledAppSettings)

Required. The new EnabledAppSettings value for the Label.

useAdminAccess

boolean

Optional. Set to true in order to use the user's admin credentials. The server will verify the user is an admin for the Label before allowing access.

languageCode

string

Optional. The BCP-47 language code to use for evaluating localized field labels. When not specified, values in the default configured language will be used.

view

enum (LabelView)

Optional. When specified, only certain fields belonging to the indicated view will be returned.

Response body

If successful, the response body contains an instance of Label.