GoogleApi.DriveLabels.V2.Model.GoogleAppsDriveLabelsV2Lifecycle (google_api_drive_labels v0.3.0)
View SourceThe lifecycle state of an object, such as label, field, or choice. The lifecycle enforces the following transitions: UNPUBLISHED_DRAFT
(starting state) UNPUBLISHED_DRAFT
-> PUBLISHED
UNPUBLISHED_DRAFT
-> (Deleted) PUBLISHED
-> DISABLED
DISABLED
-> PUBLISHED
DISABLED
-> (Deleted) The published and disabled states have some distinct characteristics: Published—Some kinds of changes might be made to an object in this state, in which case has_unpublished_changes
will be true. Also, some kinds of changes are not permitted. Generally, any change that would invalidate or cause new restrictions on existing metadata related to the label are rejected. Disabled—When disabled, the configured DisabledPolicy
takes effect.
Attributes
-
disabledPolicy
(type:GoogleApi.DriveLabels.V2.Model.GoogleAppsDriveLabelsV2LifecycleDisabledPolicy.t
, default:nil
) - The policy that governs how to show a disabled label, field, or selection choice. -
hasUnpublishedChanges
(type:boolean()
, default:nil
) - Output only. Whether the object associated with this lifecycle has unpublished changes. -
state
(type:String.t
, default:nil
) - Output only. The state of the object associated with this lifecycle.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.DriveLabels.V2.Model.GoogleAppsDriveLabelsV2Lifecycle{ disabledPolicy: GoogleApi.DriveLabels.V2.Model.GoogleAppsDriveLabelsV2LifecycleDisabledPolicy.t() | nil, hasUnpublishedChanges: boolean() | nil, state: String.t() | nil }