- Resource: FormDynamicParameter
- FormType
- CustomField
- RadioButtonOptions
- MultipleOptions
- CustomFieldOption
- CustomFieldType
- Methods
Resource: FormDynamicParameter
A Form Dynamic Parameter is a parameter that can be used in a form.
| JSON representation |
|---|
{ "name": string, "relatedCustomFieldId": string, "relatedCustomField": { object ( |
| Fields | |
|---|---|
name |
Output only. Identifier. The resource name of the FormDynamicParameter. Format: projects/{project}/locations/{location}/instances/{instance}/formDynamicParameters/{formDynamicParameter} |
relatedCustomFieldId |
Required. The customer field id that this parameter is related to. |
relatedCustomField |
Output only. The custom field that this parameter is related to. |
id |
Output only. Unique numeric ID for the FormDynamicParameter. |
formType |
Required. The type of the form this parameter belongs to. |
order |
Required. The order of the parameter in the form. |
FormType
The types of forms the parameters can belong to.
| Enums | |
|---|---|
INVALID |
The form type is unspecified/invalid. |
CLOSE_CASE |
Close case form. |
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
],
"orderedValues": [
{
object ( |
| Fields | |
|---|---|
values[] |
Required. The list of available options. |
orderedValues[] |
Required. The list of available options in the order they should be displayed. |
CustomFieldOption
An option for a custom field. This is used to specify the order in which the options should be displayed in the UI.
| JSON representation |
|---|
{ "orderIndex": integer, "value": string } |
| Fields | |
|---|---|
orderIndex |
Required. The list of available options. |
value |
Required. The list of available options in the order they should be displayed. |
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 |
|
|---|---|
|
Gets a single FormDynamicParameter by its resource name. |
|
Lists all FormDynamicParameters defined in the instance. |
|
Saves the complete set of dynamic parameters for a specific form type. |