Class GoogleAppsDriveLabelsV2betaLifecycle
The lifecycle state of an object, such as label, field, or choice. For more information, see Label
lifecycle. 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 aren't 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.v2beta.Data
Assembly: Google.Apis.DriveLabels.v2beta.dll
Syntax
public class GoogleAppsDriveLabelsV2betaLifecycle : IDirectResponseSchema
Properties
DisabledPolicy
The policy that governs how to show a disabled label, field, or selection choice.
Declaration
[JsonProperty("disabledPolicy")]
public virtual GoogleAppsDriveLabelsV2betaLifecycleDisabledPolicy DisabledPolicy { get; set; }
Property Value
| Type | Description |
|---|---|
| GoogleAppsDriveLabelsV2betaLifecycleDisabledPolicy |
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 |