Assign variables

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

Documentation pages that include this code sample

To view the code sample used in context, see the following documentation:

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.