Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: [google-cloud-container] add enable_relay field to advanced_datapath_observability_config #12047

Merged
merged 2 commits into from
Nov 23, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -10081,11 +10081,18 @@ class AdvancedDatapathObservabilityConfig(proto.Message):
r"""AdvancedDatapathObservabilityConfig specifies configuration
of observability features of advanced datapath.


.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes:
enable_metrics (bool):
Expose flow metrics on nodes
relay_mode (google.cloud.container_v1beta1.types.AdvancedDatapathObservabilityConfig.RelayMode):
Method used to make Relay available
enable_relay (bool):
Enable Relay component

This field is a member of `oneof`_ ``_enable_relay``.
"""

class RelayMode(proto.Enum):
Expand Down Expand Up @@ -10115,6 +10122,11 @@ class RelayMode(proto.Enum):
number=2,
enum=RelayMode,
)
enable_relay: bool = proto.Field(
proto.BOOL,
number=3,
optional=True,
)


class NodePoolLoggingConfig(proto.Message):
Expand Down