Skip to content

Commit e5788c2

Browse files
feat: [google-cloud-container] new AddonsConfig field stateful_ha_config (#12253)
BEGIN_COMMIT_OVERRIDE feat: new AddonsConfig field stateful_ha_config feat: new message StatefulHAConfig docs: Autopilot.conversion_status is now OUTPUT_ONLY docs: update Autopilot.conversion_status comment with behavior END_COMMIT_OVERRIDE - [ ] Regenerate this pull request now. feat: new message StatefulHAConfig docs: Autopilot.conversion_status is now OUTPUT_ONLY docs: update Autopilot.conversion_status comment with behavior PiperOrigin-RevId: 603382984 Source-Link: googleapis/googleapis@207beee Source-Link: googleapis/googleapis-gen@ca523c8 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWNvbnRhaW5lci8uT3dsQm90LnlhbWwiLCJoIjoiY2E1MjNjOGE0ZGY3MDg5OTBkMzAyYTNkMmI5NTExNzY5ZGM4ZThlNSJ9 --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent 6dd0a9a commit e5788c2

8 files changed

Lines changed: 35 additions & 6 deletions

File tree

packages/google-cloud-container/google/cloud/container/gapic_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16-
__version__ = "2.39.0" # {x-release-please-version}
16+
__version__ = "0.0.0" # {x-release-please-version}

packages/google-cloud-container/google/cloud/container_v1/gapic_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16-
__version__ = "2.39.0" # {x-release-please-version}
16+
__version__ = "0.0.0" # {x-release-please-version}

packages/google-cloud-container/google/cloud/container_v1beta1/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,7 @@
180180
SoleTenantConfig,
181181
StackType,
182182
StartIPRotationRequest,
183+
StatefulHAConfig,
183184
StatusCondition,
184185
TimeWindow,
185186
TpuConfig,
@@ -366,6 +367,7 @@
366367
"SoleTenantConfig",
367368
"StackType",
368369
"StartIPRotationRequest",
370+
"StatefulHAConfig",
369371
"StatusCondition",
370372
"TimeWindow",
371373
"TpuConfig",

packages/google-cloud-container/google/cloud/container_v1beta1/gapic_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16-
__version__ = "2.39.0" # {x-release-please-version}
16+
__version__ = "0.0.0" # {x-release-please-version}

packages/google-cloud-container/google/cloud/container_v1beta1/types/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,7 @@
174174
SoleTenantConfig,
175175
StackType,
176176
StartIPRotationRequest,
177+
StatefulHAConfig,
177178
StatusCondition,
178179
TimeWindow,
179180
TpuConfig,
@@ -353,6 +354,7 @@
353354
"ShieldedNodes",
354355
"SoleTenantConfig",
355356
"StartIPRotationRequest",
357+
"StatefulHAConfig",
356358
"StatusCondition",
357359
"TimeWindow",
358360
"TpuConfig",

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

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@
6666
"DnsCacheConfig",
6767
"KalmConfig",
6868
"GkeBackupAgentConfig",
69+
"StatefulHAConfig",
6970
"ConfigConnectorConfig",
7071
"GcePersistentDiskCsiDriverConfig",
7172
"GcpFilestoreCsiDriverConfig",
@@ -1850,6 +1851,9 @@ class AddonsConfig(proto.Message):
18501851
gcs_fuse_csi_driver_config (google.cloud.container_v1beta1.types.GcsFuseCsiDriverConfig):
18511852
Configuration for the Cloud Storage Fuse CSI
18521853
driver.
1854+
stateful_ha_config (google.cloud.container_v1beta1.types.StatefulHAConfig):
1855+
Optional. Configuration for the StatefulHA
1856+
add-on.
18531857
"""
18541858

18551859
http_load_balancing: "HttpLoadBalancing" = proto.Field(
@@ -1919,6 +1923,11 @@ class AddonsConfig(proto.Message):
19191923
number=17,
19201924
message="GcsFuseCsiDriverConfig",
19211925
)
1926+
stateful_ha_config: "StatefulHAConfig" = proto.Field(
1927+
proto.MESSAGE,
1928+
number=18,
1929+
message="StatefulHAConfig",
1930+
)
19221931

19231932

19241933
class HttpLoadBalancing(proto.Message):
@@ -2036,6 +2045,21 @@ class GkeBackupAgentConfig(proto.Message):
20362045
)
20372046

20382047

2048+
class StatefulHAConfig(proto.Message):
2049+
r"""Configuration for the Stateful HA add-on.
2050+
2051+
Attributes:
2052+
enabled (bool):
2053+
Whether the Stateful HA add-on is enabled for
2054+
this cluster.
2055+
"""
2056+
2057+
enabled: bool = proto.Field(
2058+
proto.BOOL,
2059+
number=1,
2060+
)
2061+
2062+
20392063
class ConfigConnectorConfig(proto.Message):
20402064
r"""Configuration options for the Config Connector add-on.
20412065
@@ -9673,7 +9697,8 @@ class Autopilot(proto.Message):
96739697
workload_policy_config (google.cloud.container_v1beta1.types.WorkloadPolicyConfig):
96749698
Workload policy configuration for Autopilot.
96759699
conversion_status (google.cloud.container_v1beta1.types.AutopilotConversionStatus):
9676-
ConversionStatus shows conversion status.
9700+
Output only. ConversionStatus shows
9701+
conversion status.
96779702
"""
96789703

96799704
enabled: bool = proto.Field(

packages/google-cloud-container/samples/generated_samples/snippet_metadata_google.container.v1.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
],
99
"language": "PYTHON",
1010
"name": "google-cloud-container",
11-
"version": "2.39.0"
11+
"version": "0.1.0"
1212
},
1313
"snippets": [
1414
{

packages/google-cloud-container/samples/generated_samples/snippet_metadata_google.container.v1beta1.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
],
99
"language": "PYTHON",
1010
"name": "google-cloud-container",
11-
"version": "2.39.0"
11+
"version": "0.1.0"
1212
},
1313
"snippets": [
1414
{

0 commit comments

Comments
 (0)