GoogleAppsDriveLabelsV2Lifecycle class
The 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.
Constructors
- GoogleAppsDriveLabelsV2Lifecycle({GoogleAppsDriveLabelsV2LifecycleDisabledPolicy? disabledPolicy, bool? hasUnpublishedChanges, String? state})
- GoogleAppsDriveLabelsV2Lifecycle.fromJson(Map json_)
Properties
- disabledPolicy ↔ GoogleAppsDriveLabelsV2LifecycleDisabledPolicy?
-
The policy that governs how to show a disabled label, field, or selection
choice.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- hasUnpublishedChanges ↔ bool?
-
Whether the object associated with this lifecycle has unpublished changes.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- state ↔ String?
-
The state of the object associated with this lifecycle.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited