Skip to content

Commit

Permalink
feat: [google-cloud-container] add enable_relay field to AdvancedData…
Browse files Browse the repository at this point in the history
…pathObservabilityConfig (#12046)

- [ ] Regenerate this pull request now.

BEGIN_COMMIT_OVERRIDE
feat: Add enable_relay field to AdvancedDatapathObservabilityConfig
feat: Enable Enterprise Flag to allow configuring Advanced Vuln Insights
END_COMMIT_OVERRIDE

---

PiperOrigin-RevId: 584402755

Source-Link:
googleapis/googleapis@d6ac5d8

Source-Link:
googleapis/googleapis-gen@62528b5
Copy-Tag:
eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWNvbnRhaW5lci8uT3dsQm90LnlhbWwiLCJoIjoiNjI1MjhiNWIwZGNkODQxMjlhMTgxMjI5Y2JmOGFmZThmZjgyYzY2MCJ9

---------

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] committed Nov 22, 2023
1 parent 27239dd commit a12d82f
Showing 1 changed file with 16 additions and 0 deletions.
Expand Up @@ -3090,10 +3090,14 @@ class VulnerabilityMode(proto.Enum):
VULNERABILITY_BASIC (2):
Applies basic vulnerability scanning on the
cluster.
VULNERABILITY_ENTERPRISE (3):
Applies the Security Posture's vulnerability
on cluster Enterprise level features.
"""
VULNERABILITY_MODE_UNSPECIFIED = 0
VULNERABILITY_DISABLED = 1
VULNERABILITY_BASIC = 2
VULNERABILITY_ENTERPRISE = 3

mode: Mode = proto.Field(
proto.ENUM,
Expand Down Expand Up @@ -8924,11 +8928,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_v1.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 @@ -8958,6 +8969,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

0 comments on commit a12d82f

Please sign in to comment.