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

View Source

Request to update the CopyMode of the given Label. Changes to this policy are not revisioned, do not require publishing, and take effect immediately. \

Attributes

  • copyMode (type: String.t, default: nil) - Required. Indicates how the applied Label, and Field values should be copied when a Drive item is copied.
  • 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.
  • view (type: String.t, default: nil) - When specified, only certain fields belonging to the indicated view will be returned.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() ::
  %GoogleApi.DriveLabels.V2.Model.GoogleAppsDriveLabelsV2UpdateLabelCopyModeRequest{
    copyMode: String.t() | nil,
    languageCode: String.t() | nil,
    useAdminAccess: boolean() | nil,
    view: String.t() | nil
  }

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.