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.
Implements
Inherited Members
Namespace: Google.Apis.Drive.v3.Data
Assembly: Google.Apis.Drive.v3.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? |