Connector Cloud Resource Manager

Stay organized with collections Save and categorize content based on your preferences.

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

Explore further

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

Code sample


# This workflow expects following item to be provided through the input argument for execution:
# - projectNumber (string)
#   - The project number.
# Expected successful output: "SUCCESS"
  params: [args]
    - init:
          - project_number: ${args.projectNumber}
    - get_project:
        call: googleapis.cloudresourcemanager.v3.projects.get
          name: ${"projects/" + project_number}
    - the_end:
        return: "SUCCESS"

What's next

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