AppliedLabelChange

AppliedLabelChange

Label changes that were made on the Target.

JSON representation
{
  "changes": [
    {
      object (AppliedLabelChangeDetail)
    }
  ]
}
Fields
changes[]

object (AppliedLabelChangeDetail)

Changes that were made to the Label on the Target.

AppliedLabelChangeDetail

A change made to a Label on the Target.

JSON representation
{
  "label": string,
  "types": [
    enum (Type)
  ],
  "title": string,
  "fieldChanges": [
    {
      object (FieldValueChange)
    }
  ]
}
Fields
label

string

The Label name representing the Label that changed. This name always contains the revision of the Label that was used when this Action occurred. The format is labels/id@revision.

types[]

enum (Type)

The types of changes made to the Label on the Target.

title

string

The human-readable title of the label that changed.

fieldChanges[]

object (FieldValueChange)

Field Changes. Only present if types contains LABEL_FIELD_VALUE_CHANGED.

Type

The type of Label change

Enums
TYPE_UNSPECIFIED The type of change to this Label is not available.
LABEL_ADDED The identified Label was added to the Target.
LABEL_REMOVED The identified Label was removed from the Target.
LABEL_FIELD_VALUE_CHANGED Field values were changed on the Target.
LABEL_APPLIED_BY_ITEM_CREATE The Label was applied as a side-effect of Drive item creation.

FieldValueChange

Change to a Field value.

JSON representation
{
  "fieldId": string,
  "oldValue": {
    object (FieldValue)
  },
  "newValue": {
    object (FieldValue)
  },
  "displayName": string
}
Fields
fieldId

string

The ID of this field. Field IDs are unique within a Label.

oldValue

object (FieldValue)

The value that was previously set on the field. If not present, the field was newly set. At least one of {oldValue|newValue} is always set.

newValue

object (FieldValue)

The value that is now set on the field. If not present, the field was cleared. At least one of {oldValue|newValue} is always set.

displayName

string

The human-readable display name for this field.

FieldValue

Contains a value of a Field.

JSON representation
{

  // Union field value can be only one of the following:
  "text": {
    object (Text)
  },
  "textList": {
    object (TextList)
  },
  "selection": {
    object (Selection)
  },
  "selectionList": {
    object (SelectionList)
  },
  "integer": {
    object (Integer)
  },
  "user": {
    object (SingleUser)
  },
  "userList": {
    object (UserList)
  },
  "date": {
    object (Date)
  }
  // End of list of possible types for union field value.
}
Fields
Union field value. Field values for all Field types. value can be only one of the following:
text

object (Text)

Text Field value.

textList

object (TextList)

Text List Field value.

selection

object (Selection)

Selection Field value.

selectionList

object (SelectionList)

Selection List Field value.

integer

object (Integer)

Integer Field value.

user

object (SingleUser)

User Field value.

userList

object (UserList)

User List Field value.

date

object (Date)

Date Field value.

Text

Wrapper for Text Field value.

JSON representation
{
  "value": string
}
Fields
value

string

Value of Text Field.

TextList

Wrapper for Text List Field value.

JSON representation
{
  "values": [
    {
      object (Text)
    }
  ]
}
Fields
values[]

object (Text)

Text values.

Selection

Wrapper for Selection Field value as combined value/displayName pair for selected choice.

JSON representation
{
  "value": string,
  "displayName": string
}
Fields
value

string

Selection value as Field Choice ID.

displayName

string

Selection value as human-readable display string.

SelectionList

Wrapper for SelectionList Field value.

JSON representation
{
  "values": [
    {
      object (Selection)
    }
  ]
}
Fields
values[]

object (Selection)

Selection values.

Integer

Wrapper for Integer Field value.

JSON representation
{
  "value": string
}
Fields
value

string (int64 format)

Integer value.

SingleUser

Wrapper for User Field value.

JSON representation
{
  "value": string
}
Fields
value

string

User value as email.

UserList

Wrapper for UserList Field value.

JSON representation
{
  "values": [
    {
      object (SingleUser)
    }
  ]
}
Fields
values[]

object (SingleUser)

User values.

Date

Wrapper for Date Field value.

JSON representation
{
  "value": string
}
Fields
value

string (Timestamp format)

Date value.

A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".