CustomFieldValue

A value for a CustomField on a resource.

JSON representation
{
  "customField": string,
  "value": {
    object (Value)
  }
}
Fields
customField

string

Required. The custom field for which this is a value. Format: "networks/{networkCode}/customFields/{customFieldId}"

value

object (Value)

Required. A typed value representation of the value.

Value

Represent custom field value type.

JSON representation
{

  // The following is a list of mutually exclusive fields. At most one of the
  // fields will be set in a response:
  "dropdownValue": string,
  "stringValue": string,
  "numberValue": number,
  "toggleValue": boolean
  // End of mutually exclusive fields.
}
Fields
The value of this field. The following is a list of mutually exclusive fields. At most one of the fields will be set in a response:
dropdownValue

string (int64 format)

The customFieldOptionId, if the CustomFieldDataType is DROPDOWN.

stringValue

string

The value, if the CustomFieldDataType is STRING.

numberValue

number

The value, if the CustomFieldDataType is NUMBER.

toggleValue

boolean

The value, if the CustomFieldDataType is TOGGLE.

End of mutually exclusive fields.