Application Integration API . projects . locations . products . integrations

Instance Methods

executions()

Returns the executions Resource.

versions()

Returns the versions Resource.

close()

Close httplib2 connections.

execute(name, body=None, x__xgafv=None)

Executes integrations synchronously by passing the trigger id in the request body. The request is not returned until the requested executions are either fulfilled or experienced an error. If the integration name is not specified (passing `-`), all of the associated integration under the given trigger_id will be executed. Otherwise only the specified integration for the given `trigger_id` is executed. This is helpful for execution the integration from UI.

list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)

Returns the list of all integrations in the specified project.

list_next()

Retrieves the next page of results.

schedule(name, body=None, x__xgafv=None)

Schedules an integration for execution by passing the trigger id and the scheduled time in the request body.

test(name, body=None, x__xgafv=None)

Execute the integration in draft state

Method Details

close()
Close httplib2 connections.
execute(name, body=None, x__xgafv=None)
Executes integrations synchronously by passing the trigger id in the request body. The request is not returned until the requested executions are either fulfilled or experienced an error. If the integration name is not specified (passing `-`), all of the associated integration under the given trigger_id will be executed. Otherwise only the specified integration for the given `trigger_id` is executed. This is helpful for execution the integration from UI.

Args:
  name: string, Required. The integration resource name. (required)
  body: object, The request body.
    The object takes the form of:

{ # The request for executing an integration.
  "doNotPropagateError": True or False, # Optional. Flag to determine how to should propagate errors. If this flag is set to be true, it will not throw an exception. Instead, it will return a {@link ExecuteIntegrationsResponse} with an execution id and error messages as PostWithTriggerIdExecutionException in {@link EventParameters}. The flag is set to be false by default.
  "executionId": "A String", # Optional. The id of the ON_HOLD execution to be resumed.
  "inputParameters": { # Optional. Input parameters used by integration execution.
    "a_key": { # The type of the parameter.
      "booleanArray": { # This message only contains a field of boolean array. # Boolean Array.
        "booleanValues": [ # Boolean array.
          True or False,
        ],
      },
      "booleanValue": True or False, # Boolean.
      "doubleArray": { # This message only contains a field of double number array. # Double Number Array.
        "doubleValues": [ # Double number array.
          3.14,
        ],
      },
      "doubleValue": 3.14, # Double Number.
      "intArray": { # This message only contains a field of integer array. # Integer Array.
        "intValues": [ # Integer array.
          "A String",
        ],
      },
      "intValue": "A String", # Integer.
      "jsonValue": "A String", # Json.
      "stringArray": { # This message only contains a field of string array. # String Array.
        "stringValues": [ # String array.
          "A String",
        ],
      },
      "stringValue": "A String", # String.
    },
  },
  "parameterEntries": [ # Optional. Parameters are a part of Event and can be used to communicate between different tasks that are part of the same integration execution.
    { # Key-value pair of EventBus parameters.
      "dataType": "A String", # Explicitly getting the type of the parameter.
      "key": "A String", # Key is used to retrieve the corresponding parameter value. This should be unique for a given fired event. These parameters must be predefined in the workflow definition.
      "masked": True or False, # True if this parameter should be masked in the logs
      "value": { # To support various types of parameter values. Next available id: 14 # Values for the defined keys. Each value can either be string, int, double or any proto message.
        "booleanArray": {
          "booleanValues": [
            True or False,
          ],
        },
        "booleanValue": True or False,
        "doubleArray": {
          "doubleValues": [
            3.14,
          ],
        },
        "doubleValue": 3.14,
        "intArray": {
          "intValues": [
            "A String",
          ],
        },
        "intValue": "A String",
        "jsonValue": "A String",
        "protoArray": {
          "protoValues": [
            {
              "a_key": "", # Properties of the object. Contains field @type with type URL.
            },
          ],
        },
        "protoValue": {
          "a_key": "", # Properties of the object. Contains field @type with type URL.
        },
        "serializedObjectValue": {
          "objectValue": "A String",
        },
        "stringArray": {
          "stringValues": [
            "A String",
          ],
        },
        "stringValue": "A String",
      },
    },
  ],
  "parameters": { # LINT.IfChange This message is used for processing and persisting (when applicable) key value pair parameters for each event in the event bus. Please see # Optional. Passed in as parameters to each integration execution. Redacted
    "parameters": [ # Parameters are a part of Event and can be used to communicate between different tasks that are part of the same workflow execution.
      { # Key-value pair of EventBus parameters.
        "dataType": "A String", # Explicitly getting the type of the parameter.
        "key": "A String", # Key is used to retrieve the corresponding parameter value. This should be unique for a given fired event. These parameters must be predefined in the workflow definition.
        "masked": True or False, # True if this parameter should be masked in the logs
        "value": { # To support various types of parameter values. Next available id: 14 # Values for the defined keys. Each value can either be string, int, double or any proto message.
          "booleanArray": {
            "booleanValues": [
              True or False,
            ],
          },
          "booleanValue": True or False,
          "doubleArray": {
            "doubleValues": [
              3.14,
            ],
          },
          "doubleValue": 3.14,
          "intArray": {
            "intValues": [
              "A String",
            ],
          },
          "intValue": "A String",
          "jsonValue": "A String",
          "protoArray": {
            "protoValues": [
              {
                "a_key": "", # Properties of the object. Contains field @type with type URL.
              },
            ],
          },
          "protoValue": {
            "a_key": "", # Properties of the object. Contains field @type with type URL.
          },
          "serializedObjectValue": {
            "objectValue": "A String",
          },
          "stringArray": {
            "stringValues": [
              "A String",
            ],
          },
          "stringValue": "A String",
        },
      },
    ],
  },
  "requestId": "A String", # Optional. This is used to de-dup incoming request: if the duplicate request was detected, the response from the previous execution is returned.
  "triggerId": "A String", # Required. Matched against all {@link TriggerConfig}s across all integrations. i.e. TriggerConfig.trigger_id.equals(trigger_id). The trigger_id is in the format of `api_trigger/TRIGGER_NAME`.
}

  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # The response for executing an integration.
  "eventParameters": { # LINT.IfChange This message is used for processing and persisting (when applicable) key value pair parameters for each event in the event bus. Please see # Details for the integration that were executed.
    "parameters": [ # Parameters are a part of Event and can be used to communicate between different tasks that are part of the same workflow execution.
      { # Key-value pair of EventBus parameters.
        "dataType": "A String", # Explicitly getting the type of the parameter.
        "key": "A String", # Key is used to retrieve the corresponding parameter value. This should be unique for a given fired event. These parameters must be predefined in the workflow definition.
        "masked": True or False, # True if this parameter should be masked in the logs
        "value": { # To support various types of parameter values. Next available id: 14 # Values for the defined keys. Each value can either be string, int, double or any proto message.
          "booleanArray": {
            "booleanValues": [
              True or False,
            ],
          },
          "booleanValue": True or False,
          "doubleArray": {
            "doubleValues": [
              3.14,
            ],
          },
          "doubleValue": 3.14,
          "intArray": {
            "intValues": [
              "A String",
            ],
          },
          "intValue": "A String",
          "jsonValue": "A String",
          "protoArray": {
            "protoValues": [
              {
                "a_key": "", # Properties of the object. Contains field @type with type URL.
              },
            ],
          },
          "protoValue": {
            "a_key": "", # Properties of the object. Contains field @type with type URL.
          },
          "serializedObjectValue": {
            "objectValue": "A String",
          },
          "stringArray": {
            "stringValues": [
              "A String",
            ],
          },
          "stringValue": "A String",
        },
      },
    ],
  },
  "executionFailed": True or False, # Is true if any execution in the integration failed. False otherwise.
  "executionId": "A String", # The id of the execution corresponding to this run of integration.
  "outputParameters": { # OUTPUT parameters in format of Map. Where Key is the name of the parameter. Note: Name of the system generated parameters are wrapped by backtick(`) to distinguish them from the user defined parameters.
    "a_key": "", # Properties of the object.
  },
  "parameterEntries": [ # Parameters are a part of Event and can be used to communicate between different tasks that are part of the same integration execution.
    { # Key-value pair of EventBus parameters.
      "dataType": "A String", # Explicitly getting the type of the parameter.
      "key": "A String", # Key is used to retrieve the corresponding parameter value. This should be unique for a given fired event. These parameters must be predefined in the workflow definition.
      "masked": True or False, # True if this parameter should be masked in the logs
      "value": { # To support various types of parameter values. Next available id: 14 # Values for the defined keys. Each value can either be string, int, double or any proto message.
        "booleanArray": {
          "booleanValues": [
            True or False,
          ],
        },
        "booleanValue": True or False,
        "doubleArray": {
          "doubleValues": [
            3.14,
          ],
        },
        "doubleValue": 3.14,
        "intArray": {
          "intValues": [
            "A String",
          ],
        },
        "intValue": "A String",
        "jsonValue": "A String",
        "protoArray": {
          "protoValues": [
            {
              "a_key": "", # Properties of the object. Contains field @type with type URL.
            },
          ],
        },
        "protoValue": {
          "a_key": "", # Properties of the object. Contains field @type with type URL.
        },
        "serializedObjectValue": {
          "objectValue": "A String",
        },
        "stringArray": {
          "stringValues": [
            "A String",
          ],
        },
        "stringValue": "A String",
      },
    },
  ],
}
list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)
Returns the list of all integrations in the specified project.

Args:
  parent: string, Required. Project and location from which the integrations should be listed. Format: projects/{project} (required)
  filter: string, Filter on fields of IntegrationVersion. Fields can be compared with literal values by use of ":" (containment), "=" (equality), ">" (greater), "<" (less than), >=" (greater than or equal to), "<=" (less than or equal to), and "!=" (inequality) operators. Negation, conjunction, and disjunction are written using NOT, AND, and OR keywords. For example, organization_id=\"1\" AND state=ACTIVE AND description:"test". Filtering cannot be performed on repeated fields like `task_config`.
  orderBy: string, The results would be returned in order you specified here. Supported sort keys are: Descending sort order by "last_modified_time", "created_time", "snapshot_number". Ascending sort order by the integration name.
  pageSize: integer, The page size for the resquest.
  pageToken: string, The page token for the resquest.
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # Response for ListIntegrations.
  "integrations": [ # The integrations which match the request.
    { # The integration definition.
      "active": True or False, # Required. If any integration version is published.
      "createTime": "A String", # Required. Output only. Auto-generated.
      "creatorEmail": "A String", # Output only. The creator's email address. Generated based on the End User Credentials/LOAS role of the user making the call.
      "description": "A String", # Optional.
      "lastModifierEmail": "A String", # Required. The last modifier of this integration
      "name": "A String", # Required. The resource name of the integration.
      "updateTime": "A String", # Output only. Auto-generated.
    },
  ],
  "nextPageToken": "A String", # The next page token for the response.
}
list_next()
Retrieves the next page of results.

        Args:
          previous_request: The request for the previous page. (required)
          previous_response: The response from the request for the previous page. (required)

        Returns:
          A request object that you can call 'execute()' on to request the next
          page. Returns None if there are no more items in the collection.
        
schedule(name, body=None, x__xgafv=None)
Schedules an integration for execution by passing the trigger id and the scheduled time in the request body.

Args:
  name: string, The integration resource name. (required)
  body: object, The request body.
    The object takes the form of:

{ # The request for scheduling an integration. Next available id: 11
  "inputParameters": { # Optional. Input parameters used by integration execution.
    "a_key": { # The type of the parameter.
      "booleanArray": { # This message only contains a field of boolean array. # Boolean Array.
        "booleanValues": [ # Boolean array.
          True or False,
        ],
      },
      "booleanValue": True or False, # Boolean.
      "doubleArray": { # This message only contains a field of double number array. # Double Number Array.
        "doubleValues": [ # Double number array.
          3.14,
        ],
      },
      "doubleValue": 3.14, # Double Number.
      "intArray": { # This message only contains a field of integer array. # Integer Array.
        "intValues": [ # Integer array.
          "A String",
        ],
      },
      "intValue": "A String", # Integer.
      "jsonValue": "A String", # Json.
      "stringArray": { # This message only contains a field of string array. # String Array.
        "stringValues": [ # String array.
          "A String",
        ],
      },
      "stringValue": "A String", # String.
    },
  },
  "parameterEntries": [ # Parameters are a part of Event and can be used to communicate between different tasks that are part of the same integration execution.
    { # Key-value pair of EventBus parameters.
      "dataType": "A String", # Explicitly getting the type of the parameter.
      "key": "A String", # Key is used to retrieve the corresponding parameter value. This should be unique for a given fired event. These parameters must be predefined in the workflow definition.
      "masked": True or False, # True if this parameter should be masked in the logs
      "value": { # To support various types of parameter values. Next available id: 14 # Values for the defined keys. Each value can either be string, int, double or any proto message.
        "booleanArray": {
          "booleanValues": [
            True or False,
          ],
        },
        "booleanValue": True or False,
        "doubleArray": {
          "doubleValues": [
            3.14,
          ],
        },
        "doubleValue": 3.14,
        "intArray": {
          "intValues": [
            "A String",
          ],
        },
        "intValue": "A String",
        "jsonValue": "A String",
        "protoArray": {
          "protoValues": [
            {
              "a_key": "", # Properties of the object. Contains field @type with type URL.
            },
          ],
        },
        "protoValue": {
          "a_key": "", # Properties of the object. Contains field @type with type URL.
        },
        "serializedObjectValue": {
          "objectValue": "A String",
        },
        "stringArray": {
          "stringValues": [
            "A String",
          ],
        },
        "stringValue": "A String",
      },
    },
  ],
  "parameters": { # LINT.IfChange This message is used for processing and persisting (when applicable) key value pair parameters for each event in the event bus. Please see # Passed in as parameters to each integration execution.
    "parameters": [ # Parameters are a part of Event and can be used to communicate between different tasks that are part of the same integration execution.
      { # Key-value pair of EventBus parameters.
        "key": "A String", # Key is used to retrieve the corresponding parameter value. This should be unique for a given fired event. These parameters must be predefined in the integration definition.
        "masked": True or False, # True if this parameter should be masked in the logs
        "value": { # LINT.IfChange To support various types of parameter values. Next available id: 14 # Values for the defined keys. Each value can either be string, int, double or any proto message.
          "booleanArray": {
            "booleanValues": [
              True or False,
            ],
          },
          "booleanValue": True or False,
          "doubleArray": {
            "doubleValues": [
              3.14,
            ],
          },
          "doubleValue": 3.14,
          "intArray": {
            "intValues": [
              "A String",
            ],
          },
          "intValue": "A String",
          "protoArray": {
            "protoValues": [
              {
                "a_key": "", # Properties of the object. Contains field @type with type URL.
              },
            ],
          },
          "protoValue": {
            "a_key": "", # Properties of the object. Contains field @type with type URL.
          },
          "serializedObjectValue": {
            "objectValue": "A String",
          },
          "stringArray": {
            "stringValues": [
              "A String",
            ],
          },
          "stringValue": "A String",
        },
      },
    ],
  },
  "requestId": "A String", # This is used to de-dup incoming request: if the duplicate request was detected, the response from the previous execution is returned.
  "scheduleTime": "A String", # The time that the integration should be executed. If the time is less or equal to the current time, the integration is executed immediately.
  "triggerId": "A String", # Required. Matched against all {@link TriggerConfig}s across all integrations. i.e. TriggerConfig.trigger_id.equals(trigger_id)
  "userGeneratedExecutionId": "A String", # Optional. This is a unique id provided by the method caller. If provided this will be used as the execution_id when a new execution info is created. This is a string representation of a UUID. Must have no more than 36 characters and contain only alphanumeric characters and hyphens.
}

  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # The response for executing an integration.
  "executionInfoIds": [ # The execution info id for the executed integrations.
    "A String",
  ],
}
test(name, body=None, x__xgafv=None)
Execute the integration in draft state

Args:
  name: string, Output only. Auto-generated primary key. (required)
  body: object, The request body.
    The object takes the form of:

{ # The request for testing an integration.
  "clientId": "A String", # Required. This is used to identify the client on whose behalf the event will be executed.
  "configParameters": { # Optional. Config parameters used during integration execution.
    "a_key": "", # Properties of the object.
  },
  "deadlineSecondsTime": "A String", # Optional. custom deadline of the rpc
  "inputParameters": { # Optional. Input parameters used during integration execution.
    "a_key": { # The type of the parameter.
      "booleanArray": { # This message only contains a field of boolean array. # Boolean Array.
        "booleanValues": [ # Boolean array.
          True or False,
        ],
      },
      "booleanValue": True or False, # Boolean.
      "doubleArray": { # This message only contains a field of double number array. # Double Number Array.
        "doubleValues": [ # Double number array.
          3.14,
        ],
      },
      "doubleValue": 3.14, # Double Number.
      "intArray": { # This message only contains a field of integer array. # Integer Array.
        "intValues": [ # Integer array.
          "A String",
        ],
      },
      "intValue": "A String", # Integer.
      "jsonValue": "A String", # Json.
      "stringArray": { # This message only contains a field of string array. # String Array.
        "stringValues": [ # String array.
          "A String",
        ],
      },
      "stringValue": "A String", # String.
    },
  },
  "integrationVersion": { # The integration version definition. # Required. integration config to execute the workflow
    "cloudLoggingDetails": { # Cloud Logging details for execution info # Optional. Cloud Logging details for the integration version
      "cloudLoggingSeverity": "A String", # Optional. Severity selected by the customer for the logs to be sent to Cloud Logging, for the integration version getting executed.
      "enableCloudLogging": True or False, # Optional. Status of whether Cloud Logging is enabled or not for the integration version getting executed.
    },
    "createTime": "A String", # Output only. Auto-generated.
    "createdFromTemplate": "A String", # Optional. Optional. The resource name of the template from which the integration is created.
    "databasePersistencePolicy": "A String", # Optional. Flag to disable database persistence for execution data, including event execution info, execution export info, execution metadata index and execution param index.
    "description": "A String", # Optional. The integration description.
    "enableVariableMasking": True or False, # Optional. True if variable masking feature should be turned on for this version
    "errorCatcherConfigs": [ # Optional. Error Catch Task configuration for the integration. It's optional.
      { # Configuration detail of a error catch task
        "description": "A String", # Optional. User-provided description intended to give more business context about the error catcher config.
        "errorCatcherId": "A String", # Required. An error catcher id is string representation for the error catcher config. Within a workflow, error_catcher_id uniquely identifies an error catcher config among all error catcher configs for the workflow
        "errorCatcherNumber": "A String", # Required. A number to uniquely identify each error catcher config within the workflow on UI.
        "label": "A String", # Optional. The user created label for a particular error catcher. Optional.
        "position": { # Configuration detail of coordinate, it used for UI # Optional. Informs the front-end application where to draw this error catcher config on the UI.
          "x": 42, # Required. X axis of the coordinate
          "y": 42, # Required. Y axis of the coordinate
        },
        "startErrorTasks": [ # Required. The set of start tasks that are to be executed for the error catch flow
          { # The task that is next in line to be executed, if the condition specified evaluated to true.
            "condition": "A String", # Standard filter expression for this task to become an eligible next task.
            "description": "A String", # User-provided description intended to give additional business context about the task.
            "displayName": "A String", # User-provided label that is attached to this edge in the UI.
            "taskConfigId": "A String", # ID of the next task.
            "taskId": "A String", # Task number of the next task.
          },
        ],
      },
    ],
    "integrationConfigParameters": [ # Optional. Config Parameters that are expected to be passed to the integration when an integration is published. This consists of all the parameters that are expected to provide configuration in the integration execution. This gives the user the ability to provide default values, value, add information like connection url, project based configuration value and also provide data types of each parameter.
      { # Integration Config Parameter is defined in the integration config and are used to provide external configuration for integration. It provide information about data types of the expected parameters and provide any default values or value. They can also be used to add custom attributes.
        "parameter": { # Integration Parameter is defined in the integration config and are used to provide information about data types of the expected parameters and provide any default values if needed. They can also be used to add custom attributes. These are static in nature and should not be used for dynamic event definition. # Optional. Integration Parameter to provide the default value, data type and attributes required for the Integration config variables.
          "containsLargeData": True or False, # Indicates whether this variable contains large data and need to be uploaded to Cloud Storage.
          "dataType": "A String", # Type of the parameter.
          "defaultValue": { # The type of the parameter. # Default values for the defined keys. Each value can either be string, int, double or any proto message or a serialized object.
            "booleanArray": { # This message only contains a field of boolean array. # Boolean Array.
              "booleanValues": [ # Boolean array.
                True or False,
              ],
            },
            "booleanValue": True or False, # Boolean.
            "doubleArray": { # This message only contains a field of double number array. # Double Number Array.
              "doubleValues": [ # Double number array.
                3.14,
              ],
            },
            "doubleValue": 3.14, # Double Number.
            "intArray": { # This message only contains a field of integer array. # Integer Array.
              "intValues": [ # Integer array.
                "A String",
              ],
            },
            "intValue": "A String", # Integer.
            "jsonValue": "A String", # Json.
            "stringArray": { # This message only contains a field of string array. # String Array.
              "stringValues": [ # String array.
                "A String",
              ],
            },
            "stringValue": "A String", # String.
          },
          "description": "A String", # Optional. Description of the parameter.
          "displayName": "A String", # The name (without prefix) to be displayed in the UI for this parameter. E.g. if the key is "foo.bar.myName", then the name would be "myName".
          "inputOutputType": "A String", # Specifies the input/output type for the parameter.
          "isTransient": True or False, # Whether this parameter is a transient parameter.
          "jsonSchema": "A String", # This schema will be used to validate runtime JSON-typed values of this parameter.
          "key": "A String", # Key is used to retrieve the corresponding parameter value. This should be unique for a given fired event. These parameters must be predefined in the integration definition.
          "masked": True or False, # True if this parameter should be masked in the logs
          "producer": "A String", # The identifier of the node (TaskConfig/TriggerConfig) this parameter was produced by, if it is a transient param or a copy of an input param.
          "searchable": True or False, # Searchable in the execution log or not.
        },
        "value": { # The type of the parameter. # Values for the defined keys. Each value can either be string, int, double or any proto message or a serialized object.
          "booleanArray": { # This message only contains a field of boolean array. # Boolean Array.
            "booleanValues": [ # Boolean array.
              True or False,
            ],
          },
          "booleanValue": True or False, # Boolean.
          "doubleArray": { # This message only contains a field of double number array. # Double Number Array.
            "doubleValues": [ # Double number array.
              3.14,
            ],
          },
          "doubleValue": 3.14, # Double Number.
          "intArray": { # This message only contains a field of integer array. # Integer Array.
            "intValues": [ # Integer array.
              "A String",
            ],
          },
          "intValue": "A String", # Integer.
          "jsonValue": "A String", # Json.
          "stringArray": { # This message only contains a field of string array. # String Array.
            "stringValues": [ # String array.
              "A String",
            ],
          },
          "stringValue": "A String", # String.
        },
      },
    ],
    "integrationParameters": [ # Optional. Parameters that are expected to be passed to the integration when an event is triggered. This consists of all the parameters that are expected in the integration execution. This gives the user the ability to provide default values, add information like PII and also provide data types of each parameter.
      { # Integration Parameter is defined in the integration config and are used to provide information about data types of the expected parameters and provide any default values if needed. They can also be used to add custom attributes. These are static in nature and should not be used for dynamic event definition.
        "containsLargeData": True or False, # Indicates whether this variable contains large data and need to be uploaded to Cloud Storage.
        "dataType": "A String", # Type of the parameter.
        "defaultValue": { # The type of the parameter. # Default values for the defined keys. Each value can either be string, int, double or any proto message or a serialized object.
          "booleanArray": { # This message only contains a field of boolean array. # Boolean Array.
            "booleanValues": [ # Boolean array.
              True or False,
            ],
          },
          "booleanValue": True or False, # Boolean.
          "doubleArray": { # This message only contains a field of double number array. # Double Number Array.
            "doubleValues": [ # Double number array.
              3.14,
            ],
          },
          "doubleValue": 3.14, # Double Number.
          "intArray": { # This message only contains a field of integer array. # Integer Array.
            "intValues": [ # Integer array.
              "A String",
            ],
          },
          "intValue": "A String", # Integer.
          "jsonValue": "A String", # Json.
          "stringArray": { # This message only contains a field of string array. # String Array.
            "stringValues": [ # String array.
              "A String",
            ],
          },
          "stringValue": "A String", # String.
        },
        "description": "A String", # Optional. Description of the parameter.
        "displayName": "A String", # The name (without prefix) to be displayed in the UI for this parameter. E.g. if the key is "foo.bar.myName", then the name would be "myName".
        "inputOutputType": "A String", # Specifies the input/output type for the parameter.
        "isTransient": True or False, # Whether this parameter is a transient parameter.
        "jsonSchema": "A String", # This schema will be used to validate runtime JSON-typed values of this parameter.
        "key": "A String", # Key is used to retrieve the corresponding parameter value. This should be unique for a given fired event. These parameters must be predefined in the integration definition.
        "masked": True or False, # True if this parameter should be masked in the logs
        "producer": "A String", # The identifier of the node (TaskConfig/TriggerConfig) this parameter was produced by, if it is a transient param or a copy of an input param.
        "searchable": True or False, # Searchable in the execution log or not.
      },
    ],
    "integrationParametersInternal": { # LINT.IfChange This is the frontend version of WorkflowParameters. It's exactly like the backend version except that instead of flattening protobuf parameters and treating every field and subfield of a protobuf parameter as a separate parameter, the fields/subfields of a protobuf parameter will be nested as "children" (see 'children' field below) parameters of the parent parameter. Please refer to enterprise/crm/eventbus/proto/workflow_parameters.proto for more information about WorkflowParameters. # Optional. Parameters that are expected to be passed to the integration when an event is triggered. This consists of all the parameters that are expected in the integration execution. This gives the user the ability to provide default values, add information like PII and also provide data types of each parameter.
      "parameters": [ # Parameters are a part of Event and can be used to communiticate between different tasks that are part of the same workflow execution.
        {
          "attributes": { # Attributes are additional options that can be associated with each event property. For more information, see # Metadata information about the parameters.
            "dataType": "A String", # Things like URL, Email, Currency, Timestamp (rather than string, int64...)
            "defaultValue": { # Used for define type for values. Currently supported value types include int, string, double, array, and any proto message. # Used to define defaults.
              "booleanValue": True or False,
              "doubleArray": {
                "values": [
                  3.14,
                ],
              },
              "doubleValue": 3.14,
              "intArray": {
                "values": [
                  "A String",
                ],
              },
              "intValue": "A String",
              "protoValue": {
                "a_key": "", # Properties of the object. Contains field @type with type URL.
              },
              "stringArray": {
                "values": [
                  "A String",
                ],
              },
              "stringValue": "A String",
            },
            "isRequired": True or False, # Required for event execution. The validation will be done by the event bus when the event is triggered.
            "isSearchable": True or False, # Used to indicate if a ParameterEntry should be converted to ParamIndexes for ST-Spanner full-text search. DEPRECATED: use searchable.
            "logSettings": { # The LogSettings define the logging attributes for an event property. These attributes are used to map the property to the parameter in the log proto. Also used to define scrubbing/truncation behavior and PII information. # See
              "logFieldName": "A String", # The name of corresponding logging field of the event property. If omitted, assumes the same name as the event property key.
              "seedPeriod": "A String",
              "seedScope": "A String",
            },
            "masked": True or False, # True if this workflow parameter should be masked in the logs
            "readOnly": True or False, # Used to indicate if the ParameterEntry is a read only field or not.
            "searchable": "A String",
            "taskVisibility": [ # List of tasks that can view this property, if empty then all.
              "A String",
            ],
          },
          "children": [ # Child parameters nested within this parameter. This field only applies to protobuf parameters
            # Object with schema name: EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntry
          ],
          "containsLargeData": True or False, # Indicates whether this variable contains large data and need to be uploaded to Cloud Storage.
          "dataType": "A String", # The data type of the parameter.
          "defaultValue": { # To support various types of parameter values. Next available id: 14 # Default values for the defined keys. Each value can either be string, int, double or any proto message or a serialized object.
            "booleanArray": {
              "booleanValues": [
                True or False,
              ],
            },
            "booleanValue": True or False,
            "doubleArray": {
              "doubleValues": [
                3.14,
              ],
            },
            "doubleValue": 3.14,
            "intArray": {
              "intValues": [
                "A String",
              ],
            },
            "intValue": "A String",
            "jsonValue": "A String",
            "protoArray": {
              "protoValues": [
                {
                  "a_key": "", # Properties of the object. Contains field @type with type URL.
                },
              ],
            },
            "protoValue": {
              "a_key": "", # Properties of the object. Contains field @type with type URL.
            },
            "serializedObjectValue": {
              "objectValue": "A String",
            },
            "stringArray": {
              "stringValues": [
                "A String",
              ],
            },
            "stringValue": "A String",
          },
          "description": "A String", # Optional. The description about the parameter
          "inOutType": "A String", # Specifies the input/output type for the parameter.
          "isTransient": True or False, # Whether this parameter is a transient parameter.
          "jsonSchema": "A String", # This schema will be used to validate runtime JSON-typed values of this parameter.
          "key": "A String", # Key is used to retrieve the corresponding parameter value. This should be unique for a given fired event. These parameters must be predefined in the workflow definition.
          "name": "A String", # The name (without prefix) to be displayed in the UI for this parameter. E.g. if the key is "foo.bar.myName", then the name would be "myName".
          "producedBy": { # Represents a node identifier (type + id). Next highest id: 3 # The identifier of the node (TaskConfig/TriggerConfig) this parameter was produced by, if it is a transient param or a copy of an input param.
            "elementIdentifier": "A String", # Configuration of the edge.
            "elementType": "A String", # Destination node where the edge ends. It can only be a task config.
          },
          "producer": "A String",
          "protoDefName": "A String", # The name of the protobuf type if the parameter has a protobuf data type.
          "protoDefPath": "A String", # If the data type is of type proto or proto array, this field needs to be populated with the fully qualified proto name. This message, for example, would be "enterprise.crm.frontends.eventbus.proto.WorkflowParameterEntry".
          "required": True or False,
        },
      ],
    },
    "lastModifierEmail": "A String", # Optional. The last modifier's email address. Generated based on the End User Credentials/LOAS role of the user making the call.
    "lockHolder": "A String", # Optional. The edit lock holder's email address. Generated based on the End User Credentials/LOAS role of the user making the call.
    "name": "A String", # Output only. Auto-generated primary key.
    "origin": "A String", # Optional. The origin that indicates where this integration is coming from.
    "parentTemplateId": "A String", # Optional. The id of the template which was used to create this integration_version.
    "runAsServiceAccount": "A String", # Optional. The run-as service account email, if set and auth config is not configured, that will be used to generate auth token to be used in Connector task, Rest caller task and Cloud function task.
    "snapshotNumber": "A String", # Optional. An increasing sequence that is set when a new snapshot is created. The last created snapshot can be identified by [workflow_name, org_id latest(snapshot_number)]. However, last created snapshot need not be same as the HEAD. So users should always use "HEAD" tag to identify the head.
    "state": "A String", # Output only. User should not set it as an input.
    "status": "A String", # Output only. Generated by eventbus. User should not set it as an input.
    "taskConfigs": [ # Optional. Task configuration for the integration. It's optional, but the integration doesn't do anything without task_configs.
      { # The task configuration details. This is not the implementation of Task. There might be multiple TaskConfigs for the same Task.
        "conditionalFailurePolicies": { # Conditional task failur retry strategies # Optional. The list of conditional failure policies that will be applied to the task in order.
          "defaultFailurePolicy": { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied). # The default failure policy to be applied if no conditional failure policy matches.
            "condition": "A String", # Optional. The string condition that will be evaluated to determine if the task should be retried with this failure policy.
            "intervalTime": "A String", # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the initial interval in seconds for backoff.
            "maxRetries": 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
            "retryStrategy": "A String", # Defines what happens to the task upon failure.
          },
          "failurePolicies": [ # The list of failure policies that will be applied to the task in order.
            { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied).
              "condition": "A String", # Optional. The string condition that will be evaluated to determine if the task should be retried with this failure policy.
              "intervalTime": "A String", # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the initial interval in seconds for backoff.
              "maxRetries": 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
              "retryStrategy": "A String", # Defines what happens to the task upon failure.
            },
          ],
        },
        "description": "A String", # Optional. User-provided description intended to give additional business context about the task.
        "displayName": "A String", # Optional. User-provided label that is attached to this TaskConfig in the UI.
        "errorCatcherId": "A String", # Optional. Optional Error catcher id of the error catch flow which will be executed when execution error happens in the task
        "externalTaskType": "A String", # Optional. External task type of the task
        "failurePolicy": { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied). # Optional. Determines the number of times the task will be retried on failure and with what retry strategy. This is applicable for asynchronous calls to Eventbus alone (Post To Queue, Schedule etc.).
          "condition": "A String", # Optional. The string condition that will be evaluated to determine if the task should be retried with this failure policy.
          "intervalTime": "A String", # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the initial interval in seconds for backoff.
          "maxRetries": 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
          "retryStrategy": "A String", # Defines what happens to the task upon failure.
        },
        "jsonValidationOption": "A String", # Optional. If set, overrides the option configured in the Task implementation class.
        "nextTasks": [ # Optional. The set of tasks that are next in line to be executed as per the execution graph defined for the parent event, specified by `event_config_id`. Each of these next tasks are executed only if the condition associated with them evaluates to true.
          { # The task that is next in line to be executed, if the condition specified evaluated to true.
            "condition": "A String", # Standard filter expression for this task to become an eligible next task.
            "description": "A String", # User-provided description intended to give additional business context about the task.
            "displayName": "A String", # User-provided label that is attached to this edge in the UI.
            "taskConfigId": "A String", # ID of the next task.
            "taskId": "A String", # Task number of the next task.
          },
        ],
        "nextTasksExecutionPolicy": "A String", # Optional. The policy dictating the execution of the next set of tasks for the current task.
        "parameters": { # Optional. The customized parameters the user can pass to this task.
          "a_key": { # This message is used for processing and persisting (when applicable) key value pair parameters for each event in the event bus. Next available id: 4
            "key": "A String", # Key is used to retrieve the corresponding parameter value. This should be unique for a given fired event. These parameters must be predefined in the integration definition.
            "masked": True or False, # True if this parameter should be masked in the logs
            "value": { # The type of the parameter. # Values for the defined keys. Each value can either be string, int, double or any proto message.
              "booleanArray": { # This message only contains a field of boolean array. # Boolean Array.
                "booleanValues": [ # Boolean array.
                  True or False,
                ],
              },
              "booleanValue": True or False, # Boolean.
              "doubleArray": { # This message only contains a field of double number array. # Double Number Array.
                "doubleValues": [ # Double number array.
                  3.14,
                ],
              },
              "doubleValue": 3.14, # Double Number.
              "intArray": { # This message only contains a field of integer array. # Integer Array.
                "intValues": [ # Integer array.
                  "A String",
                ],
              },
              "intValue": "A String", # Integer.
              "jsonValue": "A String", # Json.
              "stringArray": { # This message only contains a field of string array. # String Array.
                "stringValues": [ # String array.
                  "A String",
                ],
              },
              "stringValue": "A String", # String.
            },
          },
        },
        "position": { # Configuration detail of coordinate, it used for UI # Optional. Informs the front-end application where to draw this error catcher config on the UI.
          "x": 42, # Required. X axis of the coordinate
          "y": 42, # Required. Y axis of the coordinate
        },
        "successPolicy": { # Policy that dictates the behavior for the task after it completes successfully. # Optional. Determines what action to take upon successful task completion.
          "finalState": "A String", # State to which the execution snapshot status will be set if the task succeeds.
        },
        "synchronousCallFailurePolicy": { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied). # Optional. Determines the number of times the task will be retried on failure and with what retry strategy. This is applicable for synchronous calls to Eventbus alone (Post).
          "condition": "A String", # Optional. The string condition that will be evaluated to determine if the task should be retried with this failure policy.
          "intervalTime": "A String", # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the initial interval in seconds for backoff.
          "maxRetries": 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
          "retryStrategy": "A String", # Defines what happens to the task upon failure.
        },
        "task": "A String", # Optional. The name for the task.
        "taskExecutionStrategy": "A String", # Optional. The policy dictating the execution strategy of this task.
        "taskId": "A String", # Required. The identifier of this task within its parent event config, specified by the client. This should be unique among all the tasks belong to the same event config. We use this field as the identifier to find next tasks (via field `next_tasks.task_id`).
        "taskTemplate": "A String", # Optional. Used to define task-template name if task is of type task-template
      },
    ],
    "taskConfigsInternal": [ # Optional. Task configuration for the integration. It's optional, but the integration doesn't do anything without task_configs.
      { # The task configuration details. This is not the implementation of Task. There might be multiple TaskConfigs for the same Task.
        "alertConfigs": [ # Alert configurations on error rate, warning rate, number of runs, durations, etc.
          { # Message to be used to configure alerting in the {@code TaskConfig} protos for tasks in an event.
            "aggregationPeriod": "A String", # The period over which the metric value should be aggregated and evaluated. Format is , where integer should be a positive integer and unit should be one of (s,m,h,d,w) meaning (second, minute, hour, day, week).
            "alertDisabled": True or False, # Set to false by default. When set to true, the metrics are not aggregated or pushed to Monarch for this workflow alert.
            "alertName": "A String", # A name to identify this alert. This will be displayed in the alert subject. If set, this name should be unique in within the scope of the containing workflow.
            "clientId": "A String", # Client associated with this alert configuration. Must be a client enabled in one of the containing workflow's triggers.
            "durationThresholdMs": "A String", # Should be specified only for TASK_AVERAGE_DURATION and TASK_PERCENTILE_DURATION metrics. This member should be used to specify what duration value the metrics should exceed for the alert to trigger.
            "errorEnumList": { # List of error enums for alerts.
              "enumStrings": [
                "A String",
              ],
              "filterType": "A String",
            },
            "metricType": "A String",
            "numAggregationPeriods": 42, # For how many contiguous aggregation periods should the expected min or max be violated for the alert to be fired.
            "onlyFinalAttempt": True or False, # Only count final task attempts, not retries.
            "playbookUrl": "A String", # Link to a playbook for resolving the issue that triggered this alert.
            "thresholdType": "A String", # The threshold type for which this alert is being configured. If value falls below expected_min or exceeds expected_max, an alert will be fired.
            "thresholdValue": { # The threshold value of the metric, above or below which the alert should be triggered. See EventAlertConfig or TaskAlertConfig for the different alert metric types in each case. For the *RATE metrics, one or both of these fields may be set. Zero is the default value and can be left at that. For *PERCENTILE_DURATION metrics, one or both of these fields may be set, and also, the duration threshold value should be specified in the threshold_duration_ms member below. For *AVERAGE_DURATION metrics, these fields should not be set at all. A different member, threshold_duration_ms, must be set in the EventAlertConfig or the TaskAlertConfig. # The metric value, above or below which the alert should be triggered.
              "absolute": "A String",
              "percentage": 42,
            },
            "warningEnumList": { # List of error enums for alerts.
              "enumStrings": [
                "A String",
              ],
              "filterType": "A String",
            },
          },
        ],
        "conditionalFailurePolicies": { # Optional. Determines the number of times the task will be retried on failure and with what retry strategy. This is applicable for synchronous calls to Eventbus alone (Post).
          "defaultFailurePolicy": { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied). # The default failure policy to be applied if no conditional failure policy matches
            "intervalInSeconds": "A String", # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the initial interval for backoff.
            "maxNumRetries": 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
            "retryCondition": "A String", # Optional. The retry condition that will be evaluated for this failure policy with the corresponding retry strategy.
            "retryStrategy": "A String", # Defines what happens to the task upon failure.
          },
          "failurePolicies": [ # The list of failure policies that will be applied to the task in order.
            { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied).
              "intervalInSeconds": "A String", # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the initial interval for backoff.
              "maxNumRetries": 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
              "retryCondition": "A String", # Optional. The retry condition that will be evaluated for this failure policy with the corresponding retry strategy.
              "retryStrategy": "A String", # Defines what happens to the task upon failure.
            },
          ],
        },
        "createTime": "A String", # Auto-generated.
        "creatorEmail": "A String", # The creator's email address. Auto-generated from the user's email.
        "description": "A String", # User-provided description intended to give more business context about the task.
        "disableStrictTypeValidation": True or False, # If this config contains a TypedTask, allow validation to succeed if an input is read from the output of another TypedTask whose output type is declared as a superclass of the requested input type. For instance, if the previous task declares an output of type Message, any task with this flag enabled will pass validation when attempting to read any proto Message type from the resultant Event parameter.
        "errorCatcherId": "A String", # Optional Error catcher id of the error catch flow which will be executed when execution error happens in the task
        "externalTaskType": "A String",
        "failurePolicy": { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied). # Optional. Determines the number of times the task will be retried on failure and with what retry strategy. This is applicable for asynchronous calls to Eventbus alone (Post To Queue, Schedule etc.).
          "intervalInSeconds": "A String", # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the initial interval for backoff.
          "maxNumRetries": 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
          "retryCondition": "A String", # Optional. The retry condition that will be evaluated for this failure policy with the corresponding retry strategy.
          "retryStrategy": "A String", # Defines what happens to the task upon failure.
        },
        "incomingEdgeCount": 42, # The number of edges leading into this TaskConfig.
        "jsonValidationOption": "A String", # If set, overrides the option configured in the Task implementation class.
        "label": "A String", # User-provided label that is attached to this TaskConfig in the UI.
        "lastModifiedTime": "A String", # Auto-generated.
        "nextTasks": [ # The set of tasks that are next in line to be executed as per the execution graph defined for the parent event, specified by `event_config_id`. Each of these next tasks are executed only if the condition associated with them evaluates to true.
          { # The task that is next in line to be executed, if the condition specified evaluated to true.
            "combinedConditions": [ # Combined condition for this task to become an eligible next task. Each of these combined_conditions are joined with logical OR. DEPRECATED: use `condition`
              { # This message recursively combines constituent conditions using logical AND.
                "conditions": [ # A set of individual constituent conditions.
                  { # Condition that uses `operator` to evaluate the key against the value.
                    "eventPropertyKey": "A String", # Key that's evaluated against the `value`. Please note the data type of the runtime value associated with the key should match the data type of `value`, else an IllegalArgumentException is thrown.
                    "operator": "A String", # Operator used to evaluate the condition. Please note that an operator with an inappropriate key/value operand will result in IllegalArgumentException, e.g. CONTAINS with boolean key/value pair.
                    "value": { # Used for define type for values. Currently supported value types include int, string, double, array, and any proto message. # Value that's checked for the key.
                      "booleanValue": True or False,
                      "doubleArray": {
                        "values": [
                          3.14,
                        ],
                      },
                      "doubleValue": 3.14,
                      "intArray": {
                        "values": [
                          "A String",
                        ],
                      },
                      "intValue": "A String",
                      "protoValue": {
                        "a_key": "", # Properties of the object. Contains field @type with type URL.
                      },
                      "stringArray": {
                        "values": [
                          "A String",
                        ],
                      },
                      "stringValue": "A String",
                    },
                  },
                ],
              },
            ],
            "condition": "A String", # Standard filter expression for this task to become an eligible next task.
            "description": "A String", # User-provided description intended to give more business context about the next task edge or condition.
            "label": "A String", # User-provided label that is attached to this edge in the UI.
            "taskConfigId": "A String", # ID of the next task.
            "taskNumber": "A String", # Task number of the next task.
          },
        ],
        "nextTasksExecutionPolicy": "A String", # The policy dictating the execution of the next set of tasks for the current task.
        "parameters": { # The customized parameters the user can pass to this task.
          "a_key": { # Key-value pair of EventBus parameters.
            "dataType": "A String", # Explicitly getting the type of the parameter.
            "key": "A String", # Key is used to retrieve the corresponding parameter value. This should be unique for a given fired event. These parameters must be predefined in the workflow definition.
            "masked": True or False, # True if this parameter should be masked in the logs
            "value": { # To support various types of parameter values. Next available id: 14 # Values for the defined keys. Each value can either be string, int, double or any proto message.
              "booleanArray": {
                "booleanValues": [
                  True or False,
                ],
              },
              "booleanValue": True or False,
              "doubleArray": {
                "doubleValues": [
                  3.14,
                ],
              },
              "doubleValue": 3.14,
              "intArray": {
                "intValues": [
                  "A String",
                ],
              },
              "intValue": "A String",
              "jsonValue": "A String",
              "protoArray": {
                "protoValues": [
                  {
                    "a_key": "", # Properties of the object. Contains field @type with type URL.
                  },
                ],
              },
              "protoValue": {
                "a_key": "", # Properties of the object. Contains field @type with type URL.
              },
              "serializedObjectValue": {
                "objectValue": "A String",
              },
              "stringArray": {
                "stringValues": [
                  "A String",
                ],
              },
              "stringValue": "A String",
            },
          },
        },
        "position": { # Represents two-dimensional positions. # Optional. Informs the front-end application where to draw this task config on the UI.
          "x": 42,
          "y": 42,
        },
        "precondition": "A String", # Optional. Standard filter expression evaluated before execution. Independent of other conditions and tasks. Can be used to enable rollout. e.g. "rollout(5)" will only allow 5% of incoming traffic to task.
        "preconditionLabel": "A String", # Optional. User-provided label that is attached to precondition in the UI.
        "rollbackStrategy": { # Next available id: 4 # Optional. Contains information about what needs to be done upon failure (either a permanent error or after it has been retried too many times).
          "parameters": { # LINT.IfChange This message is used for processing and persisting (when applicable) key value pair parameters for each event in the event bus. Please see # Optional. The customized parameters the user can pass to this task.
            "parameters": [ # Parameters are a part of Event and can be used to communicate between different tasks that are part of the same workflow execution.
              { # Key-value pair of EventBus parameters.
                "dataType": "A String", # Explicitly getting the type of the parameter.
                "key": "A String", # Key is used to retrieve the corresponding parameter value. This should be unique for a given fired event. These parameters must be predefined in the workflow definition.
                "masked": True or False, # True if this parameter should be masked in the logs
                "value": { # To support various types of parameter values. Next available id: 14 # Values for the defined keys. Each value can either be string, int, double or any proto message.
                  "booleanArray": {
                    "booleanValues": [
                      True or False,
                    ],
                  },
                  "booleanValue": True or False,
                  "doubleArray": {
                    "doubleValues": [
                      3.14,
                    ],
                  },
                  "doubleValue": 3.14,
                  "intArray": {
                    "intValues": [
                      "A String",
                    ],
                  },
                  "intValue": "A String",
                  "jsonValue": "A String",
                  "protoArray": {
                    "protoValues": [
                      {
                        "a_key": "", # Properties of the object. Contains field @type with type URL.
                      },
                    ],
                  },
                  "protoValue": {
                    "a_key": "", # Properties of the object. Contains field @type with type URL.
                  },
                  "serializedObjectValue": {
                    "objectValue": "A String",
                  },
                  "stringArray": {
                    "stringValues": [
                      "A String",
                    ],
                  },
                  "stringValue": "A String",
                },
              },
            ],
          },
          "rollbackTaskImplementationClassName": "A String", # Required. This is the name of the task that needs to be executed upon rollback of this task.
          "taskNumbersToRollback": [ # Required. These are the tasks numbers of the tasks whose `rollback_strategy.rollback_task_implementation_class_name` needs to be executed upon failure of this task.
            "A String",
          ],
        },
        "successPolicy": { # Policy that dictates the behavior for the task after it completes successfully. # Determines what action to take upon successful task completion.
          "finalState": "A String", # State to which the execution snapshot status will be set if the task succeeds.
        },
        "synchronousCallFailurePolicy": { # Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied). # Optional. Determines the number of times the task will be retried on failure and with what retry strategy. This is applicable for synchronous calls to Eventbus alone (Post).
          "intervalInSeconds": "A String", # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the initial interval for backoff.
          "maxNumRetries": 42, # Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the number of times the task will be retried if failed.
          "retryCondition": "A String", # Optional. The retry condition that will be evaluated for this failure policy with the corresponding retry strategy.
          "retryStrategy": "A String", # Defines what happens to the task upon failure.
        },
        "taskEntity": { # Contains a task's metadata and associated information. Next available id: 7 # Copy of the task entity that this task config is an instance of.
          "disabledForVpcSc": True or False, # True if the task has conflict with vpcsc
          "metadata": { # TaskMetadata are attributes that are associated to every common Task we have. # Metadata inclueds the task name, author and so on.
            "activeTaskName": "A String", # The new task name to replace the current task if it is deprecated. Otherwise, it is the same as the current task name.
            "admins": [
              { # Admins are owners of a Task, and have all permissions on a particular task identified by the task name. By default, Eventbus periodically scans all task metadata and syncs (adds) any new admins defined here to Zanzibar.
                "googleGroupEmail": "A String",
                "userEmail": "A String",
              },
            ],
            "category": "A String",
            "codeSearchLink": "A String", # The Code Search link to the Task Java file.
            "defaultJsonValidationOption": "A String", # Controls whether JSON workflow parameters are validated against provided schemas before and/or after this task's execution.
            "defaultSpec": "A String", # Contains the initial configuration of the task with default values set. For now, The string should be compatible to an ASCII-proto format.
            "description": "A String", # In a few sentences, describe the purpose and usage of the task.
            "descriptiveName": "A String", # The string name to show on the task list on the Workflow editor screen. This should be a very short, one to two words name for the task. (e.g. "Send Mail")
            "docMarkdown": "A String", # Snippet of markdown documentation to embed in the RHP for this task.
            "externalCategory": "A String",
            "externalCategorySequence": 42, # Sequence with which the task in specific category to be displayed in task discovery panel for external users.
            "externalDocHtml": "A String", # External-facing documention embedded in the RHP for this task.
            "externalDocLink": "A String", # Doc link for external-facing documentation (separate from g3doc).
            "externalDocMarkdown": "A String", # DEPRECATED: Use external_doc_html.
            "g3DocLink": "A String", # URL to the associated G3 Doc for the task if available
            "iconLink": "A String", # URL to gstatic image icon for this task. This icon shows up on the task list panel along with the task name in the Workflow Editor screen. Use the 24p, 2x, gray color icon image format.
            "isDeprecated": True or False, # The deprecation status of the current task. Default value is false;
            "name": "A String", # The actual class name or the annotated name of the task. Task Author should initialize this field with value from the getName() method of the Task class.
            "standaloneExternalDocHtml": "A String", # External-facing documention for standalone IP in pantheon embedded in the RHP for this task. Non null only if different from external_doc_html
            "status": "A String", # Allows author to indicate if the task is ready to use or not. If not set, then it will default to INACTIVE.
            "system": "A String",
            "tags": [ # A set of tags that pertain to a particular task. This can be used to improve the searchability of tasks with several names ("REST Caller" vs. "Call REST Endpoint") or to help users find tasks based on related words.
              "A String",
            ],
          },
          "paramSpecs": { # Declarations for inputs/outputs for a TypedTask. This is also associated with the METADATA mask.
            "parameters": [
              { # Key-value pair of EventBus task parameters. Next id: 13
                "className": "A String", # The FQCN of the Java object this represents. A string, for example, would be "java.lang.String". If this is "java.lang.Object", the parameter can be of any type.
                "collectionElementClassName": "A String", # If it is a collection of objects, this would be the FCQN of every individual element in the collection. If this is "java.lang.Object", the parameter is a collection of any type.
                "config": { # Optional fields, such as help text and other useful info.
                  "descriptivePhrase": "A String", # A short phrase to describe what this parameter contains.
                  "helpText": "A String", # Detailed help text for this parameter containing information not provided elsewhere. For example, instructions on how to migrate from a deprecated parameter.
                  "hideDefaultValue": True or False, # Whether the default value is hidden in the UI.
                  "inputDisplayOption": "A String",
                  "isHidden": True or False, # Whether this field is hidden in the UI.
                  "label": "A String", # A user-friendly label for the parameter.
                  "parameterNameOption": "A String",
                  "subSectionLabel": "A String", # A user-friendly label for subSection under which the parameter will be displayed.
                  "uiPlaceholderText": "A String", # Placeholder text which will appear in the UI input form for this parameter.
                },
                "dataType": "A String", # The data type of the parameter.
                "defaultValue": { # To support various types of parameter values. Next available id: 14 # Default values for the defined keys. Each value can either be string, int, double or any proto message or a serialized object.
                  "booleanArray": {
                    "booleanValues": [
                      True or False,
                    ],
                  },
                  "booleanValue": True or False,
                  "doubleArray": {
                    "doubleValues": [
                      3.14,
                    ],
                  },
                  "doubleValue": 3.14,
                  "intArray": {
                    "intValues": [
                      "A String",
                    ],
                  },
                  "intValue": "A String",
                  "jsonValue": "A String",
                  "protoArray": {
                    "protoValues": [
                      {
                        "a_key": "", # Properties of the object. Contains field @type with type URL.
                      },
                    ],
                  },
                  "protoValue": {
                    "a_key": "", # Properties of the object. Contains field @type with type URL.
                  },
                  "serializedObjectValue": {
                    "objectValue": "A String",
                  },
                  "stringArray": {
                    "stringValues": [
                      "A String",
                    ],
                  },
                  "stringValue": "A String",
                },
                "isDeprecated": True or False, # If set, this entry is deprecated, so further use of this parameter should be prohibited.
                "isOutput": True or False,
                "jsonSchema": "A String", # If the data_type is JSON_VALUE, then this will define its schema.
                "key": "A String", # Key is used to retrieve the corresponding parameter value. This should be unique for a given task. These parameters must be predefined in the workflow definition.
                "protoDef": { # Populated if this represents a proto or proto array.
                  "fullName": "A String", # The fully-qualified proto name. This message, for example, would be "enterprise.crm.eventbus.proto.ParamSpecEntry.ProtoDefinition".
                  "path": "A String", # Path to the proto file that contains the message type's definition.
                },
                "required": True or False, # If set, the user must provide an input value for this parameter.
                "validationRule": { # Rule used to validate inputs (individual values and collection elements) for this parameter.
                  "doubleRange": { # Range used to validate doubles and floats.
                    "max": 3.14, # The inclusive maximum of the acceptable range.
                    "min": 3.14, # The inclusive minimum of the acceptable range.
                  },
                  "intRange": { # Range used to validate longs and ints.
                    "max": "A String", # The inclusive maximum of the acceptable range.
                    "min": "A String", # The inclusive minimum of the acceptable range.
                  },
                  "stringRegex": { # Rule used to validate strings.
                    "exclusive": True or False, # Whether the regex matcher is applied exclusively (if true, matching values will be rejected).
                    "regex": "A String", # The regex applied to the input value(s).
                  },
                },
              },
            ],
          },
          "stats": { # Stats for the requested dimensions: QPS, duration, and error/warning rate # Deprecated - statistics from the Monarch query.
            "dimensions": { # Dimensions that these stats have been aggregated on.
              "clientId": "A String",
              "enumFilterType": "A String", # Whether to include or exclude the enums matching the regex.
              "errorEnumString": "A String",
              "retryAttempt": "A String",
              "taskName": "A String",
              "taskNumber": "A String",
              "triggerId": "A String", # Stats have been or will be aggregated on set fields for any semantically-meaningful combination.
              "warningEnumString": "A String",
              "workflowId": "A String",
              "workflowName": "A String",
            },
            "durationInSeconds": 3.14, # Average duration in seconds.
            "errorRate": 3.14, # Average error rate.
            "qps": 3.14, # Queries per second.
            "warningRate": 3.14, # Average warning rate.
          },
          "taskType": "A String", # Defines the type of the task
          "uiConfig": { # Task authors would use this type to configure the UI for a particular task by specifying what UI config modules should be included to compose the UI. Learn more about config module framework: # UI configuration for this task Also associated with the METADATA mask.
            "taskUiModuleConfigs": [ # Configurations of included config modules.
              { # Task author would use this type to configure a config module.
                "moduleId": "A String", # ID of the config module.
              },
            ],
          },
        },
        "taskExecutionStrategy": "A String", # The policy dictating the execution strategy of this task.
        "taskName": "A String", # The name for the task.
        "taskNumber": "A String", # REQUIRED: the identifier of this task within its parent event config, specified by the client. This should be unique among all the tasks belong to the same event config. We use this field as the identifier to find next tasks (via field `next_tasks.task_number`).
        "taskSpec": "A String", # A string template that allows user to configure task parameters (with either literal default values or tokens which will be resolved at execution time) for the task. It will eventually replace the old "parameters" field.
        "taskTemplateName": "A String", # Used to define task-template name if task is of type task-template
        "taskType": "A String", # Defines the type of the task
      },
    ],
    "teardown": { # Optional. Contains a graph of tasks that will be executed before putting the event in a terminal state (SUCCEEDED/FAILED/FATAL), regardless of success or failure, similar to "finally" in code.
      "teardownTaskConfigs": [ # Required.
        {
          "creatorEmail": "A String", # The creator's email address.
          "name": "A String", # Required. Unique identifier of the teardown task within this Config. We use this field as the identifier to find next teardown tasks.
          "nextTeardownTask": { # The teardown task that is next in line to be executed. We support only sequential execution of teardown tasks (i.e. no branching).
            "name": "A String", # Required. Name of the next teardown task.
          },
          "parameters": { # LINT.IfChange This message is used for processing and persisting (when applicable) key value pair parameters for each event in the event bus. Please see # The parameters the user can pass to this task.
            "parameters": [ # Parameters are a part of Event and can be used to communicate between different tasks that are part of the same integration execution.
              { # Key-value pair of EventBus parameters.
                "key": "A String", # Key is used to retrieve the corresponding parameter value. This should be unique for a given fired event. These parameters must be predefined in the integration definition.
                "masked": True or False, # True if this parameter should be masked in the logs
                "value": { # LINT.IfChange To support various types of parameter values. Next available id: 14 # Values for the defined keys. Each value can either be string, int, double or any proto message.
                  "booleanArray": {
                    "booleanValues": [
                      True or False,
                    ],
                  },
                  "booleanValue": True or False,
                  "doubleArray": {
                    "doubleValues": [
                      3.14,
                    ],
                  },
                  "doubleValue": 3.14,
                  "intArray": {
                    "intValues": [
                      "A String",
                    ],
                  },
                  "intValue": "A String",
                  "protoArray": {
                    "protoValues": [
                      {
                        "a_key": "", # Properties of the object. Contains field @type with type URL.
                      },
                    ],
                  },
                  "protoValue": {
                    "a_key": "", # Properties of the object. Contains field @type with type URL.
                  },
                  "serializedObjectValue": {
                    "objectValue": "A String",
                  },
                  "stringArray": {
                    "stringValues": [
                      "A String",
                    ],
                  },
                  "stringValue": "A String",
                },
              },
            ],
          },
          "properties": { # LINT.IfChange This message is used for storing key value pair properties for each Event / Task in the EventBus.
            "properties": [ # An unordered list of property entries.
              { # Key-value pair of EventBus property.
                "key": "A String", # Key is used to retrieve the corresponding property value. This should be unique for a given fired event. The Tasks should be aware of the keys used while firing the events for them to be able to retrieve the values.
                "value": { # Used for define type for values. Currently supported value types include int, string, double, array, and any proto message. # Values for the defined keys. Each value can either be string, int, double or any proto message.
                  "booleanValue": True or False,
                  "doubleArray": {
                    "values": [
                      3.14,
                    ],
                  },
                  "doubleValue": 3.14,
                  "intArray": {
                    "values": [
                      "A String",
                    ],
                  },
                  "intValue": "A String",
                  "protoValue": {
                    "a_key": "", # Properties of the object. Contains field @type with type URL.
                  },
                  "stringArray": {
                    "values": [
                      "A String",
                    ],
                  },
                  "stringValue": "A String",
                },
              },
            ],
          },
          "teardownTaskImplementationClassName": "A String", # Required. Implementation class name.
        },
      ],
    },
    "triggerConfigs": [ # Optional. Trigger configurations.
      { # Configuration detail of a trigger.
        "alertConfig": [ # Optional. An alert threshold configuration for the [trigger + client + integration] tuple. If these values are not specified in the trigger config, default values will be populated by the system. Note that there must be exactly one alert threshold configured per [client + trigger + integration] when published.
          { # Message to be used to configure custom alerting in the {@code EventConfig} protos for an event.
            "aggregationPeriod": "A String", # The period over which the metric value should be aggregated and evaluated. Format is , where integer should be a positive integer and unit should be one of (s,m,h,d,w) meaning (second, minute, hour, day, week). For an EXPECTED_MIN threshold, this aggregation_period must be lesser than 24 hours.
            "alertThreshold": 42, # For how many contiguous aggregation periods should the expected min or max be violated for the alert to be fired.
            "disableAlert": True or False, # Set to false by default. When set to true, the metrics are not aggregated or pushed to Monarch for this integration alert.
            "displayName": "A String", # Name of the alert. This will be displayed in the alert subject. If set, this name should be unique within the scope of the integration.
            "durationThreshold": "A String", # Should be specified only for *AVERAGE_DURATION and *PERCENTILE_DURATION metrics. This member should be used to specify what duration value the metrics should exceed for the alert to trigger.
            "metricType": "A String", # The type of metric.
            "onlyFinalAttempt": True or False, # For either events or tasks, depending on the type of alert, count only final attempts, not retries.
            "thresholdType": "A String", # The threshold type, whether lower(expected_min) or upper(expected_max), for which this alert is being configured. If value falls below expected_min or exceeds expected_max, an alert will be fired.
            "thresholdValue": { # The threshold value of the metric, above or below which the alert should be triggered. See EventAlertConfig or TaskAlertConfig for the different alert metric types in each case. For the *RATE metrics, one or both of these fields may be set. Zero is the default value and can be left at that. For *PERCENTILE_DURATION metrics, one or both of these fields may be set, and also, the duration threshold value should be specified in the threshold_duration_ms member below. For *AVERAGE_DURATION metrics, these fields should not be set at all. A different member, threshold_duration_ms, must be set in the EventAlertConfig or the TaskAlertConfig. # The metric value, above or below which the alert should be triggered.
              "absolute": "A String", # Absolute value threshold.
              "percentage": 42, # Percentage threshold.
            },
          },
        ],
        "cloudSchedulerConfig": { # Cloud Scheduler Trigger configuration # Optional. Cloud Scheduler Trigger related metadata
          "cronTab": "A String", # Required. The cron tab of cloud scheduler trigger.
          "errorMessage": "A String", # Optional. When the job was deleted from Pantheon UI, error_message will be populated when Get/List integrations
          "location": "A String", # Required. The location where associated cloud scheduler job will be created
          "serviceAccountEmail": "A String", # Required. Service account used by Cloud Scheduler to trigger the integration at scheduled time
        },
        "description": "A String", # Optional. User-provided description intended to give additional business context about the task.
        "errorCatcherId": "A String", # Optional. Optional Error catcher id of the error catch flow which will be executed when execution error happens in the task
        "inputVariables": { # Variables names mapped to api trigger. # Optional. List of input variables for the api trigger.
          "names": [ # Optional. List of variable names.
            "A String",
          ],
        },
        "label": "A String", # Optional. The user created label for a particular trigger.
        "nextTasksExecutionPolicy": "A String", # Optional. Dictates how next tasks will be executed.
        "outputVariables": { # Variables names mapped to api trigger. # Optional. List of output variables for the api trigger.
          "names": [ # Optional. List of variable names.
            "A String",
          ],
        },
        "position": { # Configuration detail of coordinate, it used for UI # Optional. Informs the front-end application where to draw this error catcher config on the UI.
          "x": 42, # Required. X axis of the coordinate
          "y": 42, # Required. Y axis of the coordinate
        },
        "properties": { # Optional. Configurable properties of the trigger, not to be confused with integration parameters. E.g. "name" is a property for API triggers and "subscription" is a property for Pub/sub triggers.
          "a_key": "A String",
        },
        "startTasks": [ # Optional. Set of tasks numbers from where the integration execution is started by this trigger. If this is empty, then integration is executed with default start tasks. In the list of start tasks, none of two tasks can have direct ancestor-descendant relationships (i.e. in a same integration execution graph).
          { # The task that is next in line to be executed, if the condition specified evaluated to true.
            "condition": "A String", # Standard filter expression for this task to become an eligible next task.
            "description": "A String", # User-provided description intended to give additional business context about the task.
            "displayName": "A String", # User-provided label that is attached to this edge in the UI.
            "taskConfigId": "A String", # ID of the next task.
            "taskId": "A String", # Task number of the next task.
          },
        ],
        "trigger": "A String", # Optional. Name of the trigger. Example: "API Trigger", "Cloud Pub Sub Trigger" When set will be sent out to monitoring dashabord for tracking purpose.
        "triggerId": "A String", # Optional. Auto-generated trigger ID. The ID is based on the properties that you define in the trigger config. For example, for an API trigger, the trigger ID follows the format: api_trigger/TRIGGER_NAME Where trigger config has properties with value {"Trigger name": TRIGGER_NAME}
        "triggerNumber": "A String", # Required. A number to uniquely identify each trigger config within the integration on UI.
        "triggerType": "A String", # Optional. Type of trigger
      },
    ],
    "triggerConfigsInternal": [ # Optional. Trigger configurations.
      { # Configuration detail of a trigger. Next available id: 22
        "alertConfig": [ # An alert threshold configuration for the [trigger + client + workflow] tuple. If these values are not specified in the trigger config, default values will be populated by the system. Note that there must be exactly one alert threshold configured per [client + trigger + workflow] when published.
          { # Message to be used to configure custom alerting in the {@code EventConfig} protos for an event.
            "aggregationPeriod": "A String", # For an EXPECTED_MIN threshold, this aggregation_period must be lesser than 24 hours.
            "alertDisabled": True or False, # Set to false by default. When set to true, the metrics are not aggregated or pushed to Monarch for this workflow alert.
            "alertName": "A String", # A name to identify this alert. This will be displayed in the alert subject. If set, this name should be unique within the scope of the workflow.
            "clientId": "A String", # Client associated with this alert configuration.
            "durationThresholdMs": "A String", # Should be specified only for *AVERAGE_DURATION and *PERCENTILE_DURATION metrics. This member should be used to specify what duration value the metrics should exceed for the alert to trigger.
            "errorEnumList": { # List of error enums for alerts.
              "enumStrings": [
                "A String",
              ],
              "filterType": "A String",
            },
            "metricType": "A String",
            "numAggregationPeriods": 42, # For how many contiguous aggregation periods should the expected min or max be violated for the alert to be fired.
            "onlyFinalAttempt": True or False, # For either events or tasks, depending on the type of alert, count only final attempts, not retries.
            "playbookUrl": "A String", # Link to a playbook for resolving the issue that triggered this alert.
            "thresholdType": "A String", # The threshold type, whether lower(expected_min) or upper(expected_max), for which this alert is being configured. If value falls below expected_min or exceeds expected_max, an alert will be fired.
            "thresholdValue": { # The threshold value of the metric, above or below which the alert should be triggered. See EventAlertConfig or TaskAlertConfig for the different alert metric types in each case. For the *RATE metrics, one or both of these fields may be set. Zero is the default value and can be left at that. For *PERCENTILE_DURATION metrics, one or both of these fields may be set, and also, the duration threshold value should be specified in the threshold_duration_ms member below. For *AVERAGE_DURATION metrics, these fields should not be set at all. A different member, threshold_duration_ms, must be set in the EventAlertConfig or the TaskAlertConfig. # The metric value, above or below which the alert should be triggered.
              "absolute": "A String",
              "percentage": 42,
            },
            "warningEnumList": { # List of error enums for alerts.
              "enumStrings": [
                "A String",
              ],
              "filterType": "A String",
            },
          },
        ],
        "cloudSchedulerConfig": { # Cloud Scheduler Trigger configuration
          "cronTab": "A String", # Required. The cron tab of cloud scheduler trigger.
          "errorMessage": "A String", # Optional. When the job was deleted from Pantheon UI, error_message will be populated when Get/List integrations
          "location": "A String", # Required. The location where associated cloud scheduler job will be created
          "serviceAccountEmail": "A String", # Required. Service account used by Cloud Scheduler to trigger the integration at scheduled time
        },
        "description": "A String", # User-provided description intended to give more business context about the task.
        "enabledClients": [ # Required. The list of client ids which are enabled to execute the workflow using this trigger. In other words, these clients have the workflow execution privledges for this trigger. For API trigger, the client id in the incoming request is validated against the list of enabled clients. For non-API triggers, one workflow execution is triggered on behalf of each enabled client.
          "A String",
        ],
        "errorCatcherId": "A String", # Optional Error catcher id of the error catch flow which will be executed when execution error happens in the task
        "inputVariables": { # Variables names mapped to api trigger. # Optional. List of input variables for the api trigger.
          "names": [ # Optional. List of variable names.
            "A String",
          ],
        },
        "label": "A String", # The user created label for a particular trigger.
        "nextTasksExecutionPolicy": "A String", # Dictates how next tasks will be executed.
        "outputVariables": { # Variables names mapped to api trigger. # Optional. List of output variables for the api trigger.
          "names": [ # Optional. List of variable names.
            "A String",
          ],
        },
        "pauseWorkflowExecutions": True or False, # Optional. If set to true, any upcoming requests for this trigger config will be paused and the executions will be resumed later when the flag is reset. The workflow to which this trigger config belongs has to be in ACTIVE status for the executions to be paused or resumed.
        "position": { # Represents two-dimensional positions. # Optional. Informs the front-end application where to draw this trigger config on the UI.
          "x": 42,
          "y": 42,
        },
        "properties": { # Configurable properties of the trigger, not to be confused with workflow parameters. E.g. "name" is a property for API triggers and "subscription" is a property for Cloud Pubsub triggers.
          "a_key": "A String",
        },
        "startTasks": [ # Set of tasks numbers from where the workflow execution is started by this trigger. If this is empty, then workflow is executed with default start tasks. In the list of start tasks, none of two tasks can have direct ancestor-descendant relationships (i.e. in a same workflow execution graph).
          { # The task that is next in line to be executed, if the condition specified evaluated to true.
            "combinedConditions": [ # Combined condition for this task to become an eligible next task. Each of these combined_conditions are joined with logical OR. DEPRECATED: use `condition`
              { # This message recursively combines constituent conditions using logical AND.
                "conditions": [ # A set of individual constituent conditions.
                  { # Condition that uses `operator` to evaluate the key against the value.
                    "eventPropertyKey": "A String", # Key that's evaluated against the `value`. Please note the data type of the runtime value associated with the key should match the data type of `value`, else an IllegalArgumentException is thrown.
                    "operator": "A String", # Operator used to evaluate the condition. Please note that an operator with an inappropriate key/value operand will result in IllegalArgumentException, e.g. CONTAINS with boolean key/value pair.
                    "value": { # Used for define type for values. Currently supported value types include int, string, double, array, and any proto message. # Value that's checked for the key.
                      "booleanValue": True or False,
                      "doubleArray": {
                        "values": [
                          3.14,
                        ],
                      },
                      "doubleValue": 3.14,
                      "intArray": {
                        "values": [
                          "A String",
                        ],
                      },
                      "intValue": "A String",
                      "protoValue": {
                        "a_key": "", # Properties of the object. Contains field @type with type URL.
                      },
                      "stringArray": {
                        "values": [
                          "A String",
                        ],
                      },
                      "stringValue": "A String",
                    },
                  },
                ],
              },
            ],
            "condition": "A String", # Standard filter expression for this task to become an eligible next task.
            "description": "A String", # User-provided description intended to give more business context about the next task edge or condition.
            "label": "A String", # User-provided label that is attached to this edge in the UI.
            "taskConfigId": "A String", # ID of the next task.
            "taskNumber": "A String", # Task number of the next task.
          },
        ],
        "triggerCriteria": { # Optional. When set, Eventbus will run the task specified in the trigger_criteria and validate the result using the trigger_criteria.condition, and only execute the workflow when result is true.
          "condition": "A String", # Required. Standard filter expression, when true the workflow will be executed. If there's no trigger_criteria_task_implementation_class_name specified, the condition will be validated directly.
          "parameters": { # LINT.IfChange This message is used for processing and persisting (when applicable) key value pair parameters for each event in the event bus. Please see # Optional. To be used in TaskConfig for the implementation class.
            "parameters": [ # Parameters are a part of Event and can be used to communicate between different tasks that are part of the same integration execution.
              { # Key-value pair of EventBus parameters.
                "key": "A String", # Key is used to retrieve the corresponding parameter value. This should be unique for a given fired event. These parameters must be predefined in the integration definition.
                "masked": True or False, # True if this parameter should be masked in the logs
                "value": { # LINT.IfChange To support various types of parameter values. Next available id: 14 # Values for the defined keys. Each value can either be string, int, double or any proto message.
                  "booleanArray": {
                    "booleanValues": [
                      True or False,
                    ],
                  },
                  "booleanValue": True or False,
                  "doubleArray": {
                    "doubleValues": [
                      3.14,
                    ],
                  },
                  "doubleValue": 3.14,
                  "intArray": {
                    "intValues": [
                      "A String",
                    ],
                  },
                  "intValue": "A String",
                  "protoArray": {
                    "protoValues": [
                      {
                        "a_key": "", # Properties of the object. Contains field @type with type URL.
                      },
                    ],
                  },
                  "protoValue": {
                    "a_key": "", # Properties of the object. Contains field @type with type URL.
                  },
                  "serializedObjectValue": {
                    "objectValue": "A String",
                  },
                  "stringArray": {
                    "stringValues": [
                      "A String",
                    ],
                  },
                  "stringValue": "A String",
                },
              },
            ],
          },
          "triggerCriteriaTaskImplementationClassName": "A String", # Optional. Implementation class name. The class should implement the “TypedTask” interface.
        },
        "triggerId": "A String", # The backend trigger ID.
        "triggerName": "A String", # Optional. Name of the trigger This is added to identify the type of trigger. This is avoid the logic on triggerId to identify the trigger_type and push the same to monitoring.
        "triggerNumber": "A String", # Required. A number to uniquely identify each trigger config within the workflow on UI.
        "triggerType": "A String",
      },
    ],
    "updateTime": "A String", # Output only. Auto-generated.
    "userLabel": "A String", # Optional. A user-defined label that annotates an integration version. Typically, this is only set when the integration version is created.
  },
  "parameters": { # LINT.IfChange This message is used for processing and persisting (when applicable) key value pair parameters for each event in the event bus. Please see # Optional. Passed in as parameters to each integration execution.
    "parameters": [ # Parameters are a part of Event and can be used to communicate between different tasks that are part of the same workflow execution.
      { # Key-value pair of EventBus parameters.
        "dataType": "A String", # Explicitly getting the type of the parameter.
        "key": "A String", # Key is used to retrieve the corresponding parameter value. This should be unique for a given fired event. These parameters must be predefined in the workflow definition.
        "masked": True or False, # True if this parameter should be masked in the logs
        "value": { # To support various types of parameter values. Next available id: 14 # Values for the defined keys. Each value can either be string, int, double or any proto message.
          "booleanArray": {
            "booleanValues": [
              True or False,
            ],
          },
          "booleanValue": True or False,
          "doubleArray": {
            "doubleValues": [
              3.14,
            ],
          },
          "doubleValue": 3.14,
          "intArray": {
            "intValues": [
              "A String",
            ],
          },
          "intValue": "A String",
          "jsonValue": "A String",
          "protoArray": {
            "protoValues": [
              {
                "a_key": "", # Properties of the object. Contains field @type with type URL.
              },
            ],
          },
          "protoValue": {
            "a_key": "", # Properties of the object. Contains field @type with type URL.
          },
          "serializedObjectValue": {
            "objectValue": "A String",
          },
          "stringArray": {
            "stringValues": [
              "A String",
            ],
          },
          "stringValue": "A String",
        },
      },
    ],
  },
  "testMode": True or False, # Optional. Can be specified in the event request, otherwise false (default). If true, enables tasks with condition "test_mode = true". If false, disables tasks with condition "test_mode = true" if global test mode (set by platform) is also false {@link EventBusConfig}.
  "triggerId": "A String", # Required. The trigger id of the integration trigger config. If both trigger_id and client_id is present, the integration is executed from the start tasks provided by the matching trigger config otherwise it is executed from the default start tasks.
}

  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # The response for testing an integration.
  "eventParameters": { # LINT.IfChange This message is used for processing and persisting (when applicable) key value pair parameters for each event in the event bus. Please see # Details for the integration that were executed.
    "parameters": [ # Parameters are a part of Event and can be used to communicate between different tasks that are part of the same workflow execution.
      { # Key-value pair of EventBus parameters.
        "dataType": "A String", # Explicitly getting the type of the parameter.
        "key": "A String", # Key is used to retrieve the corresponding parameter value. This should be unique for a given fired event. These parameters must be predefined in the workflow definition.
        "masked": True or False, # True if this parameter should be masked in the logs
        "value": { # To support various types of parameter values. Next available id: 14 # Values for the defined keys. Each value can either be string, int, double or any proto message.
          "booleanArray": {
            "booleanValues": [
              True or False,
            ],
          },
          "booleanValue": True or False,
          "doubleArray": {
            "doubleValues": [
              3.14,
            ],
          },
          "doubleValue": 3.14,
          "intArray": {
            "intValues": [
              "A String",
            ],
          },
          "intValue": "A String",
          "jsonValue": "A String",
          "protoArray": {
            "protoValues": [
              {
                "a_key": "", # Properties of the object. Contains field @type with type URL.
              },
            ],
          },
          "protoValue": {
            "a_key": "", # Properties of the object. Contains field @type with type URL.
          },
          "serializedObjectValue": {
            "objectValue": "A String",
          },
          "stringArray": {
            "stringValues": [
              "A String",
            ],
          },
          "stringValue": "A String",
        },
      },
    ],
  },
  "executionFailed": True or False, # Is true if any execution in the integration failed. False otherwise.
  "executionId": "A String", # The id of the execution corresponding to this run of integration.
  "parameterEntries": [ # Parameters are a part of Event and can be used to communicate between different tasks that are part of the same integration execution.
    { # Key-value pair of EventBus parameters.
      "dataType": "A String", # Explicitly getting the type of the parameter.
      "key": "A String", # Key is used to retrieve the corresponding parameter value. This should be unique for a given fired event. These parameters must be predefined in the workflow definition.
      "masked": True or False, # True if this parameter should be masked in the logs
      "value": { # To support various types of parameter values. Next available id: 14 # Values for the defined keys. Each value can either be string, int, double or any proto message.
        "booleanArray": {
          "booleanValues": [
            True or False,
          ],
        },
        "booleanValue": True or False,
        "doubleArray": {
          "doubleValues": [
            3.14,
          ],
        },
        "doubleValue": 3.14,
        "intArray": {
          "intValues": [
            "A String",
          ],
        },
        "intValue": "A String",
        "jsonValue": "A String",
        "protoArray": {
          "protoValues": [
            {
              "a_key": "", # Properties of the object. Contains field @type with type URL.
            },
          ],
        },
        "protoValue": {
          "a_key": "", # Properties of the object. Contains field @type with type URL.
        },
        "serializedObjectValue": {
          "objectValue": "A String",
        },
        "stringArray": {
          "stringValues": [
            "A String",
          ],
        },
        "stringValue": "A String",
      },
    },
  ],
  "parameters": { # Optional. Parameters are a part of Event and can be used to communicate between different tasks that are part of the same integration execution.
    "a_key": { # The type of the parameter.
      "booleanArray": { # This message only contains a field of boolean array. # Boolean Array.
        "booleanValues": [ # Boolean array.
          True or False,
        ],
      },
      "booleanValue": True or False, # Boolean.
      "doubleArray": { # This message only contains a field of double number array. # Double Number Array.
        "doubleValues": [ # Double number array.
          3.14,
        ],
      },
      "doubleValue": 3.14, # Double Number.
      "intArray": { # This message only contains a field of integer array. # Integer Array.
        "intValues": [ # Integer array.
          "A String",
        ],
      },
      "intValue": "A String", # Integer.
      "jsonValue": "A String", # Json.
      "stringArray": { # This message only contains a field of string array. # String Array.
        "stringValues": [ # String array.
          "A String",
        ],
      },
      "stringValue": "A String", # String.
    },
  },
}