Skip to content

Commit

Permalink
feat: Add capabilities field to SdkHarnessContainerImage (#84)
Browse files Browse the repository at this point in the history
* feat: Add the ability to plumb environment capabilities through v1beta3 protos.

PiperOrigin-RevId: 434899727

Source-Link: googleapis/googleapis@392ae91

Source-Link: googleapis/googleapis-gen@febf173
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZmViZjE3MzE3MjQ4M2ZjZWJkNTY2OGRkMzJmM2Q3MzUyYTQ0MjBjZSJ9

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
  • Loading branch information
gcf-owl-bot[bot] and gcf-owl-bot[bot] authored Mar 16, 2022
1 parent 05c4852 commit 1ffb447
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -486,11 +486,16 @@ class SdkHarnessContainerImage(proto.Message):
Environment ID for the Beam runner API proto
Environment that corresponds to the current SDK
Harness.
capabilities (Sequence[str]):
The set of capabilities enumerated in the above Environment
proto. See also
https://github.com/apache/beam/blob/master/model/pipeline/src/main/proto/beam_runner_api.proto
"""

container_image = proto.Field(proto.STRING, number=1,)
use_single_core_per_container = proto.Field(proto.BOOL, number=2,)
environment_id = proto.Field(proto.STRING, number=3,)
capabilities = proto.RepeatedField(proto.STRING, number=4,)


class WorkerPool(proto.Message):
Expand Down

0 comments on commit 1ffb447

Please sign in to comment.