Skip to content

Commit df49dbf

Browse files
feat: Automated regeneration of container v1beta1 client (#27177)
Auto-created at 2026-06-21 12:21:26 +0000 using the toys pull request generator.
1 parent db5beb8 commit df49dbf

5 files changed

Lines changed: 58 additions & 9 deletions

File tree

api_names_out.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153523,6 +153523,8 @@
153523153523
"/container:v1beta1/CustomImageConfig/image": image
153524153524
"/container:v1beta1/CustomImageConfig/imageFamily": image_family
153525153525
"/container:v1beta1/CustomImageConfig/imageProject": image_project
153526+
"/container:v1beta1/CustomImageInfo": custom_image_info
153527+
"/container:v1beta1/CustomImageInfo/upgradeMessage": upgrade_message
153526153528
"/container:v1beta1/CustomNodeInit": custom_node_init
153527153529
"/container:v1beta1/CustomNodeInit/initScript": init_script
153528153530
"/container:v1beta1/DNSConfig": dns_config
@@ -154094,6 +154096,7 @@
154094154096
"/container:v1beta1/NodePoolUpgradeInfo": node_pool_upgrade_info
154095154097
"/container:v1beta1/NodePoolUpgradeInfo/autoUpgradeStatus": auto_upgrade_status
154096154098
"/container:v1beta1/NodePoolUpgradeInfo/autoUpgradeStatus/auto_upgrade_status": auto_upgrade_status
154099+
"/container:v1beta1/NodePoolUpgradeInfo/customImageInfo": custom_image_info
154097154100
"/container:v1beta1/NodePoolUpgradeInfo/endOfExtendedSupportTimestamp": end_of_extended_support_timestamp
154098154101
"/container:v1beta1/NodePoolUpgradeInfo/endOfStandardSupportTimestamp": end_of_standard_support_timestamp
154099154102
"/container:v1beta1/NodePoolUpgradeInfo/minorTargetVersion": minor_target_version
@@ -154500,6 +154503,7 @@
154500154503
"/container:v1beta1/UpdateNodePoolRequest/locations/location": location
154501154504
"/container:v1beta1/UpdateNodePoolRequest/loggingConfig": logging_config
154502154505
"/container:v1beta1/UpdateNodePoolRequest/machineType": machine_type
154506+
"/container:v1beta1/UpdateNodePoolRequest/maintenancePolicy": maintenance_policy
154503154507
"/container:v1beta1/UpdateNodePoolRequest/maxRunDuration": max_run_duration
154504154508
"/container:v1beta1/UpdateNodePoolRequest/name": name
154505154509
"/container:v1beta1/UpdateNodePoolRequest/nodeDrainConfig": node_drain_config

generated/google-apis-container_v1beta1/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Release history for google-apis-container_v1beta1
22

3+
### v0.104.0 (2026-06-21)
4+
5+
* Regenerated from discovery document revision 20260609
6+
37
### v0.103.0 (2026-06-10)
48

59
* Regenerated from discovery document revision 20260519

generated/google-apis-container_v1beta1/lib/google/apis/container_v1beta1/classes.rb

Lines changed: 31 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3403,11 +3403,6 @@ class CustomImageConfig
34033403
# @return [String]
34043404
attr_accessor :image
34053405

3406-
# The name of the image family to use for this node.
3407-
# Corresponds to the JSON property `imageFamily`
3408-
# @return [String]
3409-
attr_accessor :image_family
3410-
34113406
# The project containing the image to use for this node.
34123407
# Corresponds to the JSON property `imageProject`
34133408
# @return [String]
@@ -3420,11 +3415,29 @@ def initialize(**args)
34203415
# Update properties of this object
34213416
def update!(**args)
34223417
@image = args[:image] if args.key?(:image)
3423-
@image_family = args[:image_family] if args.key?(:image_family)
34243418
@image_project = args[:image_project] if args.key?(:image_project)
34253419
end
34263420
end
34273421

3422+
# Contains the custom image info for a node pool.
3423+
class CustomImageInfo
3424+
include Google::Apis::Core::Hashable
3425+
3426+
# Output only. The human-readable upgrade message for the custom image.
3427+
# Corresponds to the JSON property `upgradeMessage`
3428+
# @return [String]
3429+
attr_accessor :upgrade_message
3430+
3431+
def initialize(**args)
3432+
update!(**args)
3433+
end
3434+
3435+
# Update properties of this object
3436+
def update!(**args)
3437+
@upgrade_message = args[:upgrade_message] if args.key?(:upgrade_message)
3438+
end
3439+
end
3440+
34283441
# Support for running custom init code while bootstrapping nodes.
34293442
class CustomNodeInit
34303443
include Google::Apis::Core::Hashable
@@ -7922,6 +7935,11 @@ class NodePoolUpgradeInfo
79227935
# @return [Array<String>]
79237936
attr_accessor :auto_upgrade_status
79247937

7938+
# Contains the custom image info for a node pool.
7939+
# Corresponds to the JSON property `customImageInfo`
7940+
# @return [Google::Apis::ContainerV1beta1::CustomImageInfo]
7941+
attr_accessor :custom_image_info
7942+
79257943
# The node pool's current minor version's end of extended support timestamp.
79267944
# Corresponds to the JSON property `endOfExtendedSupportTimestamp`
79277945
# @return [String]
@@ -7959,6 +7977,7 @@ def initialize(**args)
79597977
# Update properties of this object
79607978
def update!(**args)
79617979
@auto_upgrade_status = args[:auto_upgrade_status] if args.key?(:auto_upgrade_status)
7980+
@custom_image_info = args[:custom_image_info] if args.key?(:custom_image_info)
79627981
@end_of_extended_support_timestamp = args[:end_of_extended_support_timestamp] if args.key?(:end_of_extended_support_timestamp)
79637982
@end_of_standard_support_timestamp = args[:end_of_standard_support_timestamp] if args.key?(:end_of_standard_support_timestamp)
79647983
@minor_target_version = args[:minor_target_version] if args.key?(:minor_target_version)
@@ -11153,6 +11172,11 @@ class UpdateNodePoolRequest
1115311172
# @return [String]
1115411173
attr_accessor :machine_type
1115511174

11175+
# Defines the maintenance policy for the node pool.
11176+
# Corresponds to the JSON property `maintenancePolicy`
11177+
# @return [Google::Apis::ContainerV1beta1::NodePoolMaintenancePolicy]
11178+
attr_accessor :maintenance_policy
11179+
1115611180
# The maximum duration for the nodes to exist. If unspecified, the nodes can
1115711181
# exist indefinitely.
1115811182
# Corresponds to the JSON property `maxRunDuration`
@@ -11327,6 +11351,7 @@ def update!(**args)
1132711351
@locations = args[:locations] if args.key?(:locations)
1132811352
@logging_config = args[:logging_config] if args.key?(:logging_config)
1132911353
@machine_type = args[:machine_type] if args.key?(:machine_type)
11354+
@maintenance_policy = args[:maintenance_policy] if args.key?(:maintenance_policy)
1133011355
@max_run_duration = args[:max_run_duration] if args.key?(:max_run_duration)
1133111356
@name = args[:name] if args.key?(:name)
1133211357
@node_drain_config = args[:node_drain_config] if args.key?(:node_drain_config)

generated/google-apis-container_v1beta1/lib/google/apis/container_v1beta1/gem_version.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module ContainerV1beta1
1818
# Version of the google-apis-container_v1beta1 gem
19-
GEM_VERSION = "0.103.0"
19+
GEM_VERSION = "0.104.0"
2020

2121
# Version of the code generator used to generate this client
2222
GENERATOR_VERSION = "0.19.0"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20260519"
25+
REVISION = "20260609"
2626
end
2727
end
2828
end

generated/google-apis-container_v1beta1/lib/google/apis/container_v1beta1/representations.rb

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -388,6 +388,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
388388
include Google::Apis::Core::JsonObjectSupport
389389
end
390390

391+
class CustomImageInfo
392+
class Representation < Google::Apis::Core::JsonRepresentation; end
393+
394+
include Google::Apis::Core::JsonObjectSupport
395+
end
396+
391397
class CustomNodeInit
392398
class Representation < Google::Apis::Core::JsonRepresentation; end
393399

@@ -2609,11 +2615,17 @@ class CustomImageConfig
26092615
# @private
26102616
class Representation < Google::Apis::Core::JsonRepresentation
26112617
property :image, as: 'image'
2612-
property :image_family, as: 'imageFamily'
26132618
property :image_project, as: 'imageProject'
26142619
end
26152620
end
26162621

2622+
class CustomImageInfo
2623+
# @private
2624+
class Representation < Google::Apis::Core::JsonRepresentation
2625+
property :upgrade_message, as: 'upgradeMessage'
2626+
end
2627+
end
2628+
26172629
class CustomNodeInit
26182630
# @private
26192631
class Representation < Google::Apis::Core::JsonRepresentation
@@ -3783,6 +3795,8 @@ class NodePoolUpgradeInfo
37833795
# @private
37843796
class Representation < Google::Apis::Core::JsonRepresentation
37853797
collection :auto_upgrade_status, as: 'autoUpgradeStatus'
3798+
property :custom_image_info, as: 'customImageInfo', class: Google::Apis::ContainerV1beta1::CustomImageInfo, decorator: Google::Apis::ContainerV1beta1::CustomImageInfo::Representation
3799+
37863800
property :end_of_extended_support_timestamp, as: 'endOfExtendedSupportTimestamp'
37873801
property :end_of_standard_support_timestamp, as: 'endOfStandardSupportTimestamp'
37883802
property :minor_target_version, as: 'minorTargetVersion'
@@ -4642,6 +4656,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
46424656
property :logging_config, as: 'loggingConfig', class: Google::Apis::ContainerV1beta1::NodePoolLoggingConfig, decorator: Google::Apis::ContainerV1beta1::NodePoolLoggingConfig::Representation
46434657

46444658
property :machine_type, as: 'machineType'
4659+
property :maintenance_policy, as: 'maintenancePolicy', class: Google::Apis::ContainerV1beta1::NodePoolMaintenancePolicy, decorator: Google::Apis::ContainerV1beta1::NodePoolMaintenancePolicy::Representation
4660+
46454661
property :max_run_duration, as: 'maxRunDuration'
46464662
property :name, as: 'name'
46474663
property :node_drain_config, as: 'nodeDrainConfig', class: Google::Apis::ContainerV1beta1::NodeDrainConfig, decorator: Google::Apis::ContainerV1beta1::NodeDrainConfig::Representation

0 commit comments

Comments
 (0)