Assign variables

Assigns string and number values to variables. Variable assignments are executed sequentially.

Explore further

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

Code sample

YAML

- first_step:
    assign:
      - SomeName: "Sherlock"
      - AnotherName: "Ada"
      - SomeIntegerNumber: 27
      - SomeDoubleNumber: 4.1

What's next

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