Resource: CustomField
This service is available for customers who migrated SOAR to a customer managed project and have the Chronicle API enabled. Represents a Custom Field definition.
JSON representation |
---|
{ "name": string, "displayName": string, "type": enum ( |
Fields | |
---|---|
name |
Identifier. The unique name(ID) of the CustomField. Format: projects/{project}/locations/{location}/instances/{instance}/customFields/{customField} |
displayName |
Required. A unique display name for the custom field. Maximum length of 255 characters. |
type |
Required. The type of the custom field. |
scopes |
Required. Array of allowed scopes for the custom field. |
description |
Optional. Optional description of the custom field. Maximum length of 1024 characters. |
Union field type_options . Options specific to certain field types. type_options can be only one of the following: |
|
radioButtonOptions |
Options for RADIO_BUTTON type. |
multipleOptions |
Options for LIST or MULTIPLE_CHOICE_LIST types. |
RadioButtonOptions
Options for RadioButton type custom fields.
JSON representation |
---|
{ "firstOption": string, "secondOption": string } |
Fields | |
---|---|
firstOption |
Required. The label for the first radio button option. |
secondOption |
Required. The label for the second radio button option. |
MultipleOptions
Options for List and MultipleChoiceList type custom fields.
JSON representation |
---|
{ "values": [ string ] } |
Fields | |
---|---|
values[] |
Required. The list of available options. |
CustomFieldType
Enum representing the type of the custom field.
Enums | |
---|---|
CUSTOM_FIELD_TYPE_UNSPECIFIED |
Unspecified custom field type. |
FREE_TEXT |
Free text input. |
RADIO_BUTTON |
Radio button selection (binary choice). |
LIST |
Dropdown list selection (single choice). |
MULTIPLE_CHOICE_LIST |
Multiple choice list selection. |
DATE_TIME |
Date and time input. |
Methods |
|
---|---|
|
Batch gets multiple CustomFields. |
|
Create a CustomField. |
|
Delete a CustomField. |
|
Get a CustomField. |
|
Lists custom fields. |
|
Update a CustomField. |