Show / Hide Table of Contents

Class LabelModification

A modification to a label on a file. A LabelModification can be used to apply a label to a file, update an existing label on a file, or remove a label from a file.

Inheritance
object
LabelModification
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.Drive.v2.Data
Assembly: Google.Apis.Drive.v2.dll
Syntax
public class LabelModification : IDirectResponseSchema

Properties

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

FieldModifications

The list of modifications to this label's fields.

Declaration
[JsonProperty("fieldModifications")]
public virtual IList<LabelFieldModification> FieldModifications { get; set; }
Property Value
Type Description
IList<LabelFieldModification>

Kind

This is always drive#labelModification.

Declaration
[JsonProperty("kind")]
public virtual string Kind { get; set; }
Property Value
Type Description
string

LabelId

The ID of the label to modify.

Declaration
[JsonProperty("labelId")]
public virtual string LabelId { get; set; }
Property Value
Type Description
string

RemoveLabel

If true, the label will be removed from the file.

Declaration
[JsonProperty("removeLabel")]
public virtual bool? RemoveLabel { get; set; }
Property Value
Type Description
bool?

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX