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
{

  // Union field _field_id can be only one of the following:
  "fieldId": string
  // End of list of possible types for union field _field_id.

  // Union field _old_value can be only one of the following:
  "oldValue": {
    object (FieldValue)
  }
  // End of list of possible types for union field _old_value.

  // Union field _new_value can be only one of the following:
  "newValue": {
    object (FieldValue)
  }
  // End of list of possible types for union field _new_value.

  // Union field _display_name can be only one of the following:
  "displayName": string
  // End of list of possible types for union field _display_name.
}
Fields

Union field _field_id .

_field_id can be only one of the following:

fieldId

string

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

Union field _old_value .

_old_value can be only one of the following:

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.

Union field _new_value .

_new_value can be only one of the following:

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.

Union field _display_name .

_display_name can be only one of the following:

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
{

  // Union field _value can be only one of the following:
  "value": string
  // End of list of possible types for union field _value.
}
Fields

Union field _value .

_value can be only one of the following:

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
{

  // Union field _value can be only one of the following:
  "value": string
  // End of list of possible types for union field _value.

  // Union field _display_name can be only one of the following:
  "displayName": string
  // End of list of possible types for union field _display_name.
}
Fields

Union field _value .

_value can be only one of the following:

value

string

Selection value as Field Choice ID.

Union field _display_name .

_display_name can be only one of the following:

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
{

  // Union field _value can be only one of the following:
  "value": string
  // End of list of possible types for union field _value.
}
Fields

Union field _value .

_value can be only one of the following:

value

string ( int64 format)

Integer value.

SingleUser

Wrapper for User Field value.

JSON representation
{

  // Union field _value can be only one of the following:
  "value": string
  // End of list of possible types for union field _value.
}
Fields

Union field _value .

_value can be only one of the following:

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
{

  // Union field _value can be only one of the following:
  "value": string
  // End of list of possible types for union field _value.
}
Fields

Union field _value .

_value can be only one of the following:

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" .