Class GoogleAppsDriveLabelsV2Lifecycle
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.
Implements
Inherited Members
Namespace: Google.Apis.DriveLabels.v2.Data
Assembly: Google.Apis.DriveLabels.v2.dll
Syntax
public class GoogleAppsDriveLabelsV2Lifecycle : IDirectResponseSchema
Properties
DisabledPolicy
The policy that governs how to show a disabled label, field, or selection choice.
Declaration
[JsonProperty("disabledPolicy")]
public virtual GoogleAppsDriveLabelsV2LifecycleDisabledPolicy DisabledPolicy { get; set; }
Property Value
Type | Description |
---|---|
GoogleAppsDriveLabelsV2LifecycleDisabledPolicy |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
HasUnpublishedChanges
Output only. Whether the object associated with this lifecycle has unpublished changes.
Declaration
[JsonProperty("hasUnpublishedChanges")]
public virtual bool? HasUnpublishedChanges { get; set; }
Property Value
Type | Description |
---|---|
bool? |
State
Output only. The state of the object associated with this lifecycle.
Declaration
[JsonProperty("state")]
public virtual string State { get; set; }
Property Value
Type | Description |
---|---|
string |