Skip to content

Commit a12d82f

Browse files
feat: [google-cloud-container] add enable_relay field to AdvancedDatapathObservabilityConfig (#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>
1 parent 27239dd commit a12d82f

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

packages/google-cloud-container/google/cloud/container_v1/types/cluster_service.py

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3090,10 +3090,14 @@ class VulnerabilityMode(proto.Enum):
30903090
VULNERABILITY_BASIC (2):
30913091
Applies basic vulnerability scanning on the
30923092
cluster.
3093+
VULNERABILITY_ENTERPRISE (3):
3094+
Applies the Security Posture's vulnerability
3095+
on cluster Enterprise level features.
30933096
"""
30943097
VULNERABILITY_MODE_UNSPECIFIED = 0
30953098
VULNERABILITY_DISABLED = 1
30963099
VULNERABILITY_BASIC = 2
3100+
VULNERABILITY_ENTERPRISE = 3
30973101

30983102
mode: Mode = proto.Field(
30993103
proto.ENUM,
@@ -8924,11 +8928,18 @@ class AdvancedDatapathObservabilityConfig(proto.Message):
89248928
r"""AdvancedDatapathObservabilityConfig specifies configuration
89258929
of observability features of advanced datapath.
89268930
8931+
8932+
.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
8933+
89278934
Attributes:
89288935
enable_metrics (bool):
89298936
Expose flow metrics on nodes
89308937
relay_mode (google.cloud.container_v1.types.AdvancedDatapathObservabilityConfig.RelayMode):
89318938
Method used to make Relay available
8939+
enable_relay (bool):
8940+
Enable Relay component
8941+
8942+
This field is a member of `oneof`_ ``_enable_relay``.
89328943
"""
89338944

89348945
class RelayMode(proto.Enum):
@@ -8958,6 +8969,11 @@ class RelayMode(proto.Enum):
89588969
number=2,
89598970
enum=RelayMode,
89608971
)
8972+
enable_relay: bool = proto.Field(
8973+
proto.BOOL,
8974+
number=3,
8975+
optional=True,
8976+
)
89618977

89628978

89638979
class NodePoolLoggingConfig(proto.Message):

0 commit comments

Comments
 (0)