Workflows publishes connectors to make it easier to access other Google Cloud products within a workflow. This reference section shows the correct workflows syntax for the available connectors.
For workflow samples that demonstrate how to use a connector, see each connector's overview page.
To learn more about authentication, and behavior during retries and long-running operations, see Understand connectors.
Invoke a connector call
Similar to invoking an HTTP endpoint,
a connector call requires call and args fields. You can specify a timeout
value and polling policy using the connector_params field.
- STEP_NAME:
call: googleapis.gcp_service.version.resource.operation
args:
[ARG1: VALUE1]
...
[body:
KEY:VALUE
...]
[connector_params:
timeout: TIMEOUT_IN_SECONDS
polling_policy:
initial_delay: INITIAL_DELAY_IN_SECONDS
multiplier: MULTIPLIER_VALUE
max_delay: MAX_DELAY_IN_SECONDS]
[result: RESPONSE_VALUE]
call: Required. For example,googleapis.bigquery.v2.tables.get.args: Required. Each connector call requires different arguments.ARG1, ...,body: Fields to supply input to the API.connector_params: Optional. Connector-specific parameters.timeout: Optional. Time in seconds. The end-to-end duration the connector call is allowed to run for before throwing a timeout exception. The default value is1800and this should be the maximum for connector methods that are not long-running operations. Otherwise, for long-running operations, the maximum timeout for a connector call is31536000seconds (one year).polling_policy: Optional. Only applies to long-running operation calls. The default values forinitial_delay,multiplier, andmax_delayare1.0,1.25, and60.0, respectively.
result: Optional. Variable name where the result of a connector call invocation step is stored.