Class GoogleAppsDriveLabelsV2Label
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.
Implements
Inherited Members
Namespace: Google.Apis.DriveLabels.v2.Data
Assembly: Google.Apis.DriveLabels.v2.dll
Syntax
public class GoogleAppsDriveLabelsV2Label : IDirectResponseSchema
Properties
AppliedCapabilities
Output only. The capabilities related to this label on applied metadata.
Declaration
[JsonProperty("appliedCapabilities")]
public virtual GoogleAppsDriveLabelsV2LabelAppliedCapabilities AppliedCapabilities { get; set; }
Property Value
| Type | Description |
|---|---|
| GoogleAppsDriveLabelsV2LabelAppliedCapabilities |
AppliedLabelPolicy
Output only. Behavior of this label when it's applied to Drive items.
Declaration
[JsonProperty("appliedLabelPolicy")]
public virtual GoogleAppsDriveLabelsV2LabelAppliedLabelPolicy AppliedLabelPolicy { get; set; }
Property Value
| Type | Description |
|---|---|
| GoogleAppsDriveLabelsV2LabelAppliedLabelPolicy |
CreateTime
object representation of CreateTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use CreateTimeDateTimeOffset instead.")]
public virtual object CreateTime { get; set; }
Property Value
| Type | Description |
|---|---|
| object |
CreateTimeDateTimeOffset
DateTimeOffset representation of CreateTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? CreateTimeDateTimeOffset { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTimeOffset? |
CreateTimeRaw
Output only. The time this label was created.
Declaration
[JsonProperty("createTime")]
public virtual string CreateTimeRaw { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Creator
Output only. The user who created this label.
Declaration
[JsonProperty("creator")]
public virtual GoogleAppsDriveLabelsV2UserInfo Creator { get; set; }
Property Value
| Type | Description |
|---|---|
| GoogleAppsDriveLabelsV2UserInfo |
Customer
Output only. The customer this label belongs to. For example: "customers/123abc789."
Declaration
[JsonProperty("customer")]
public virtual string Customer { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
DisableTime
object representation of DisableTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use DisableTimeDateTimeOffset instead.")]
public virtual object DisableTime { get; set; }
Property Value
| Type | Description |
|---|---|
| object |
DisableTimeDateTimeOffset
DateTimeOffset representation of DisableTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? DisableTimeDateTimeOffset { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTimeOffset? |
DisableTimeRaw
Output only. The time this label was disabled. This value has no meaning when the label is not disabled.
Declaration
[JsonProperty("disableTime")]
public virtual string DisableTimeRaw { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Disabler
Output only. The user who disabled this label. This value has no meaning when the label is not disabled.
Declaration
[JsonProperty("disabler")]
public virtual GoogleAppsDriveLabelsV2UserInfo Disabler { get; set; }
Property Value
| Type | Description |
|---|---|
| GoogleAppsDriveLabelsV2UserInfo |
DisplayHints
Output only. UI display hints for rendering the label.
Declaration
[JsonProperty("displayHints")]
public virtual GoogleAppsDriveLabelsV2LabelDisplayHints DisplayHints { get; set; }
Property Value
| Type | Description |
|---|---|
| GoogleAppsDriveLabelsV2LabelDisplayHints |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Fields
List of fields in descending priority order.
Declaration
[JsonProperty("fields")]
public virtual IList<GoogleAppsDriveLabelsV2Field> Fields { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<GoogleAppsDriveLabelsV2Field> |
Id
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])+
Declaration
[JsonProperty("id")]
public virtual string Id { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
LabelType
Required. The type of label.
Declaration
[JsonProperty("labelType")]
public virtual string LabelType { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
LearnMoreUri
Custom URL to present to users to allow them to learn more about this label and how it should be used.
Declaration
[JsonProperty("learnMoreUri")]
public virtual string LearnMoreUri { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Lifecycle
Output only. The lifecycle state of the label including whether it's published, deprecated, and has draft changes.
Declaration
[JsonProperty("lifecycle")]
public virtual GoogleAppsDriveLabelsV2Lifecycle Lifecycle { get; set; }
Property Value
| Type | Description |
|---|---|
| GoogleAppsDriveLabelsV2Lifecycle |
LockStatus
Output only. The LockStatus of this label.
Declaration
[JsonProperty("lockStatus")]
public virtual GoogleAppsDriveLabelsV2LockStatus LockStatus { get; set; }
Property Value
| Type | Description |
|---|---|
| GoogleAppsDriveLabelsV2LockStatus |
Name
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.
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Properties
Required. The basic properties of the label.
Declaration
[JsonProperty("properties")]
public virtual GoogleAppsDriveLabelsV2LabelProperties Properties { get; set; }
Property Value
| Type | Description |
|---|---|
| GoogleAppsDriveLabelsV2LabelProperties |
PublishTime
object representation of PublishTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use PublishTimeDateTimeOffset instead.")]
public virtual object PublishTime { get; set; }
Property Value
| Type | Description |
|---|---|
| object |
PublishTimeDateTimeOffset
DateTimeOffset representation of PublishTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? PublishTimeDateTimeOffset { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTimeOffset? |
PublishTimeRaw
Output only. The time this label was published. This value has no meaning when the label is not published.
Declaration
[JsonProperty("publishTime")]
public virtual string PublishTimeRaw { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Publisher
Output only. The user who published this label. This value has no meaning when the label is not published.
Declaration
[JsonProperty("publisher")]
public virtual GoogleAppsDriveLabelsV2UserInfo Publisher { get; set; }
Property Value
| Type | Description |
|---|---|
| GoogleAppsDriveLabelsV2UserInfo |
RevisionCreateTime
object representation of RevisionCreateTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use RevisionCreateTimeDateTimeOffset instead.")]
public virtual object RevisionCreateTime { get; set; }
Property Value
| Type | Description |
|---|---|
| object |
RevisionCreateTimeDateTimeOffset
DateTimeOffset representation of RevisionCreateTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? RevisionCreateTimeDateTimeOffset { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTimeOffset? |
RevisionCreateTimeRaw
Output only. The time this label revision was created.
Declaration
[JsonProperty("revisionCreateTime")]
public virtual string RevisionCreateTimeRaw { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
RevisionCreator
Output only. The user who created this label revision.
Declaration
[JsonProperty("revisionCreator")]
public virtual GoogleAppsDriveLabelsV2UserInfo RevisionCreator { get; set; }
Property Value
| Type | Description |
|---|---|
| GoogleAppsDriveLabelsV2UserInfo |
RevisionId
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])+
Declaration
[JsonProperty("revisionId")]
public virtual string RevisionId { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
SchemaCapabilities
Output only. The capabilities the user has on this label.
Declaration
[JsonProperty("schemaCapabilities")]
public virtual GoogleAppsDriveLabelsV2LabelSchemaCapabilities SchemaCapabilities { get; set; }
Property Value
| Type | Description |
|---|---|
| GoogleAppsDriveLabelsV2LabelSchemaCapabilities |