A value for a CustomField on a resource.
| JSON representation |
|---|
{
"customField": string,
"value": {
object ( |
| Fields | |
|---|---|
customField |
Required. The custom field for which this is a value. Format: "networks/{networkCode}/customFields/{customFieldId}" |
value |
Required. A typed value representation of the value. |
Value
Represent custom field value type.
| JSON representation |
|---|
{ // Union field |
| Fields | |
|---|---|
Union field value. The value of this field. value can be only one of the following: |
|
dropdownValue |
The customFieldOptionId, if the CustomFieldDataType is DROPDOWN. |
stringValue |
The value, if the CustomFieldDataType is STRING. |
numberValue |
The value, if the CustomFieldDataType is NUMBER. |
toggleValue |
The value, if the CustomFieldDataType is TOGGLE. |