Show / Hide Table of Contents

Class GoogleAppsDriveLabelsV2betaLabel

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.

Inheritance
object
GoogleAppsDriveLabelsV2betaLabel
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.DriveLabels.v2beta.Data
Assembly: Google.Apis.DriveLabels.v2beta.dll
Syntax
public class GoogleAppsDriveLabelsV2betaLabel : IDirectResponseSchema

Properties

AppliedCapabilities

Output only. The capabilities related to this label on applied metadata.

Declaration
[JsonProperty("appliedCapabilities")]
public virtual GoogleAppsDriveLabelsV2betaLabelAppliedCapabilities AppliedCapabilities { get; set; }
Property Value
Type Description
GoogleAppsDriveLabelsV2betaLabelAppliedCapabilities

AppliedLabelPolicy

Output only. Behavior of this label when it's applied to Drive items.

Declaration
[JsonProperty("appliedLabelPolicy")]
public virtual GoogleAppsDriveLabelsV2betaLabelAppliedLabelPolicy AppliedLabelPolicy { get; set; }
Property Value
Type Description
GoogleAppsDriveLabelsV2betaLabelAppliedLabelPolicy

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 GoogleAppsDriveLabelsV2betaUserInfo Creator { get; set; }
Property Value
Type Description
GoogleAppsDriveLabelsV2betaUserInfo

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 GoogleAppsDriveLabelsV2betaUserInfo Disabler { get; set; }
Property Value
Type Description
GoogleAppsDriveLabelsV2betaUserInfo

DisplayHints

Output only. UI display hints for rendering the label.

Declaration
[JsonProperty("displayHints")]
public virtual GoogleAppsDriveLabelsV2betaLabelDisplayHints DisplayHints { get; set; }
Property Value
Type Description
GoogleAppsDriveLabelsV2betaLabelDisplayHints

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<GoogleAppsDriveLabelsV2betaField> Fields { get; set; }
Property Value
Type Description
IList<GoogleAppsDriveLabelsV2betaField>

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 GoogleAppsDriveLabelsV2betaLifecycle Lifecycle { get; set; }
Property Value
Type Description
GoogleAppsDriveLabelsV2betaLifecycle

LockStatus

Output only. The LockStatus of this label.

Declaration
[JsonProperty("lockStatus")]
public virtual GoogleAppsDriveLabelsV2betaLockStatus LockStatus { get; set; }
Property Value
Type Description
GoogleAppsDriveLabelsV2betaLockStatus

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 GoogleAppsDriveLabelsV2betaLabelProperties Properties { get; set; }
Property Value
Type Description
GoogleAppsDriveLabelsV2betaLabelProperties

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 GoogleAppsDriveLabelsV2betaUserInfo Publisher { get; set; }
Property Value
Type Description
GoogleAppsDriveLabelsV2betaUserInfo

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 GoogleAppsDriveLabelsV2betaUserInfo RevisionCreator { get; set; }
Property Value
Type Description
GoogleAppsDriveLabelsV2betaUserInfo

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 GoogleAppsDriveLabelsV2betaLabelSchemaCapabilities SchemaCapabilities { get; set; }
Property Value
Type Description
GoogleAppsDriveLabelsV2betaLabelSchemaCapabilities

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX