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:

- [Variables](https://docs.cloud.google.com/workflows/docs/reference/syntax/variables)

## 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](https://docs.cloud.google.com/docs/samples?product=workflows).