Connector for Transcoder

Workflows connector that defines the built-in function used to access Transcoder within a workflow.

Explore further

For detailed documentation that includes this code sample, see the following:

Code sample

YAML

# This workflow demonstrates how to use the Transcoder API connector.
# This workflow sends a List request to Transcoder API.
main:
  steps:
    - init:
        assign:
          - project: ${sys.get_env("GOOGLE_CLOUD_PROJECT_ID")}
          - location: ${sys.get_env("GOOGLE_CLOUD_LOCATION")}
    - get_list:
        call: googleapis.transcoder.v1.projects.locations.jobs.list
        args:
          parent: ${"projects/" + project + "/locations/" + location}
        result: response
    - the_end:
        return: ${response}

What's next

To search and filter code samples for other Google Cloud products, see the Google Cloud sample browser.