View Source GoogleApi.DriveLabels.V2.Model.GoogleAppsDriveLabelsV2Label (google_api_drive_labels v0.2.0)

A label defines a taxonomy that can be applied to Drive items in order to organize and search across items. Labels can be simple strings, or can contain fields that describe additional metadata that can be further used to organize and search Drive items.

Attributes

  • appliedCapabilities (type: GoogleApi.DriveLabels.V2.Model.GoogleAppsDriveLabelsV2LabelAppliedCapabilities.t, default: nil) - Output only. The capabilities related to this label on applied metadata.
  • appliedLabelPolicy (type: GoogleApi.DriveLabels.V2.Model.GoogleAppsDriveLabelsV2LabelAppliedLabelPolicy.t, default: nil) - Output only. Behavior of this label when it's applied to Drive items.
  • createTime (type: DateTime.t, default: nil) - Output only. The time this label was created.
  • creator (type: GoogleApi.DriveLabels.V2.Model.GoogleAppsDriveLabelsV2UserInfo.t, default: nil) - Output only. The user who created this label.
  • customer (type: String.t, default: nil) - Output only. The customer this label belongs to. For example: "customers/123abc789."
  • disableTime (type: DateTime.t, default: nil) - Output only. The time this label was disabled. This value has no meaning when the label is not disabled.
  • disabler (type: GoogleApi.DriveLabels.V2.Model.GoogleAppsDriveLabelsV2UserInfo.t, default: nil) - Output only. The user who disabled this label. This value has no meaning when the label is not disabled.
  • displayHints (type: GoogleApi.DriveLabels.V2.Model.GoogleAppsDriveLabelsV2LabelDisplayHints.t, default: nil) - Output only. UI display hints for rendering the label.
  • fields (type: list(GoogleApi.DriveLabels.V2.Model.GoogleAppsDriveLabelsV2Field.t), default: nil) - List of fields in descending priority order.
  • id (type: String.t, default: nil) - Output only. Globally unique identifier of this label. ID makes up part of the label name, but unlike name, ID is consistent between revisions. Matches the regex: ([a-zA-Z0-9])+
  • labelType (type: String.t, default: nil) - Required. The type of label.
  • learnMoreUri (type: String.t, default: nil) - Custom URL to present to users to allow them to learn more about this label and how it should be used.
  • lifecycle (type: GoogleApi.DriveLabels.V2.Model.GoogleAppsDriveLabelsV2Lifecycle.t, default: nil) - Output only. The lifecycle state of the label including whether it's published, deprecated, and has draft changes.
  • lockStatus (type: GoogleApi.DriveLabels.V2.Model.GoogleAppsDriveLabelsV2LockStatus.t, default: nil) - Output only. The LockStatus of this label.
  • name (type: String.t, default: nil) - Output only. Resource name of the label. Will be in the form of either: labels/{id} or labels/{id}@{revision_id} depending on the request. See id and revision_id below.
  • properties (type: GoogleApi.DriveLabels.V2.Model.GoogleAppsDriveLabelsV2LabelProperties.t, default: nil) - Required. The basic properties of the label.
  • publishTime (type: DateTime.t, default: nil) - Output only. The time this label was published. This value has no meaning when the label is not published.
  • publisher (type: GoogleApi.DriveLabels.V2.Model.GoogleAppsDriveLabelsV2UserInfo.t, default: nil) - Output only. The user who published this label. This value has no meaning when the label is not published.
  • revisionCreateTime (type: DateTime.t, default: nil) - Output only. The time this label revision was created.
  • revisionCreator (type: GoogleApi.DriveLabels.V2.Model.GoogleAppsDriveLabelsV2UserInfo.t, default: nil) - Output only. The user who created this label revision.
  • revisionId (type: String.t, default: nil) - Output only. Revision ID of the label. Revision ID might be part of the label name depending on the request issued. A new revision is created whenever revisioned properties of a label are changed. Matches the regex: ([a-zA-Z0-9])+
  • schemaCapabilities (type: GoogleApi.DriveLabels.V2.Model.GoogleAppsDriveLabelsV2LabelSchemaCapabilities.t, default: nil) - Output only. The capabilities the user has on this label.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

Functions

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

Unwrap a decoded JSON object into its complex fields.