GoogleApi.DriveLabels.V2.Model.GoogleAppsDriveLabelsV2EnableLabelRequest (google_api_drive_labels v0.3.0)

View Source

Request to enable a label.

Attributes

  • languageCode (type: String.t, default: nil) - The BCP-47 language code to use for evaluating localized field labels. When not specified, values in the default configured language will be used.
  • useAdminAccess (type: boolean(), default: nil) - 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.
  • writeControl (type: GoogleApi.DriveLabels.V2.Model.GoogleAppsDriveLabelsV2WriteControl.t, default: nil) - Provides control over how write requests are executed. Defaults to unset, which means last write wins.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() ::
  %GoogleApi.DriveLabels.V2.Model.GoogleAppsDriveLabelsV2EnableLabelRequest{
    languageCode: String.t() | nil,
    useAdminAccess: boolean() | nil,
    writeControl:
      GoogleApi.DriveLabels.V2.Model.GoogleAppsDriveLabelsV2WriteControl.t()
      | nil
  }

Functions

decode(value, options)

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.