Skip to content

Commit

Permalink
feat: [google-cloud-container] new AddonsConfig field stateful_ha_con…
Browse files Browse the repository at this point in the history
…fig (#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>
  • Loading branch information
gcf-owl-bot[bot] and gcf-owl-bot[bot] committed Feb 2, 2024
1 parent 6dd0a9a commit e5788c2
Show file tree
Hide file tree
Showing 8 changed files with 35 additions and 6 deletions.
Expand Up @@ -13,4 +13,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
__version__ = "2.39.0" # {x-release-please-version}
__version__ = "0.0.0" # {x-release-please-version}
Expand Up @@ -13,4 +13,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
__version__ = "2.39.0" # {x-release-please-version}
__version__ = "0.0.0" # {x-release-please-version}
Expand Up @@ -180,6 +180,7 @@
SoleTenantConfig,
StackType,
StartIPRotationRequest,
StatefulHAConfig,
StatusCondition,
TimeWindow,
TpuConfig,
Expand Down Expand Up @@ -366,6 +367,7 @@
"SoleTenantConfig",
"StackType",
"StartIPRotationRequest",
"StatefulHAConfig",
"StatusCondition",
"TimeWindow",
"TpuConfig",
Expand Down
Expand Up @@ -13,4 +13,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
__version__ = "2.39.0" # {x-release-please-version}
__version__ = "0.0.0" # {x-release-please-version}
Expand Up @@ -174,6 +174,7 @@
SoleTenantConfig,
StackType,
StartIPRotationRequest,
StatefulHAConfig,
StatusCondition,
TimeWindow,
TpuConfig,
Expand Down Expand Up @@ -353,6 +354,7 @@
"ShieldedNodes",
"SoleTenantConfig",
"StartIPRotationRequest",
"StatefulHAConfig",
"StatusCondition",
"TimeWindow",
"TpuConfig",
Expand Down
Expand Up @@ -66,6 +66,7 @@
"DnsCacheConfig",
"KalmConfig",
"GkeBackupAgentConfig",
"StatefulHAConfig",
"ConfigConnectorConfig",
"GcePersistentDiskCsiDriverConfig",
"GcpFilestoreCsiDriverConfig",
Expand Down Expand Up @@ -1850,6 +1851,9 @@ class AddonsConfig(proto.Message):
gcs_fuse_csi_driver_config (google.cloud.container_v1beta1.types.GcsFuseCsiDriverConfig):
Configuration for the Cloud Storage Fuse CSI
driver.
stateful_ha_config (google.cloud.container_v1beta1.types.StatefulHAConfig):
Optional. Configuration for the StatefulHA
add-on.
"""

http_load_balancing: "HttpLoadBalancing" = proto.Field(
Expand Down Expand Up @@ -1919,6 +1923,11 @@ class AddonsConfig(proto.Message):
number=17,
message="GcsFuseCsiDriverConfig",
)
stateful_ha_config: "StatefulHAConfig" = proto.Field(
proto.MESSAGE,
number=18,
message="StatefulHAConfig",
)


class HttpLoadBalancing(proto.Message):
Expand Down Expand Up @@ -2036,6 +2045,21 @@ class GkeBackupAgentConfig(proto.Message):
)


class StatefulHAConfig(proto.Message):
r"""Configuration for the Stateful HA add-on.
Attributes:
enabled (bool):
Whether the Stateful HA add-on is enabled for
this cluster.
"""

enabled: bool = proto.Field(
proto.BOOL,
number=1,
)


class ConfigConnectorConfig(proto.Message):
r"""Configuration options for the Config Connector add-on.
Expand Down Expand Up @@ -9673,7 +9697,8 @@ class Autopilot(proto.Message):
workload_policy_config (google.cloud.container_v1beta1.types.WorkloadPolicyConfig):
Workload policy configuration for Autopilot.
conversion_status (google.cloud.container_v1beta1.types.AutopilotConversionStatus):
ConversionStatus shows conversion status.
Output only. ConversionStatus shows
conversion status.
"""

enabled: bool = proto.Field(
Expand Down
Expand Up @@ -8,7 +8,7 @@
],
"language": "PYTHON",
"name": "google-cloud-container",
"version": "2.39.0"
"version": "0.1.0"
},
"snippets": [
{
Expand Down
Expand Up @@ -8,7 +8,7 @@
],
"language": "PYTHON",
"name": "google-cloud-container",
"version": "2.39.0"
"version": "0.1.0"
},
"snippets": [
{
Expand Down

0 comments on commit e5788c2

Please sign in to comment.