Skip to content

Commit d27c342

Browse files
feat: Automated regeneration of container v1 client (googleapis#20467)
Auto-created at 2024-10-27 09:46:53 +0000 using the toys pull request generator.
1 parent 6709e2e commit d27c342

File tree

5 files changed

+58
-2
lines changed

5 files changed

+58
-2
lines changed

api_names_out.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115935,6 +115935,7 @@
115935115935
"/container:v1/AddonsConfig/httpLoadBalancing": http_load_balancing
115936115936
"/container:v1/AddonsConfig/kubernetesDashboard": kubernetes_dashboard
115937115937
"/container:v1/AddonsConfig/networkPolicyConfig": network_policy_config
115938+
"/container:v1/AddonsConfig/parallelstoreCsiDriverConfig": parallelstore_csi_driver_config
115938115939
"/container:v1/AddonsConfig/rayOperatorConfig": ray_operator_config
115939115940
"/container:v1/AddonsConfig/statefulHaConfig": stateful_ha_config
115940115941
"/container:v1/AdvancedDatapathObservabilityConfig": advanced_datapath_observability_config
@@ -116608,6 +116609,8 @@
116608116609
"/container:v1/OperationProgress/stages": stages
116609116610
"/container:v1/OperationProgress/stages/stage": stage
116610116611
"/container:v1/OperationProgress/status": status
116612+
"/container:v1/ParallelstoreCsiDriverConfig": parallelstore_csi_driver_config
116613+
"/container:v1/ParallelstoreCsiDriverConfig/enabled": enabled
116611116614
"/container:v1/ParentProductConfig": parent_product_config
116612116615
"/container:v1/ParentProductConfig/labels": labels
116613116616
"/container:v1/ParentProductConfig/labels/label": label
@@ -116661,6 +116664,7 @@
116661116664
"/container:v1/ReleaseChannelConfig": release_channel_config
116662116665
"/container:v1/ReleaseChannelConfig/channel": channel
116663116666
"/container:v1/ReleaseChannelConfig/defaultVersion": default_version
116667+
"/container:v1/ReleaseChannelConfig/upgradeTargetVersion": upgrade_target_version
116664116668
"/container:v1/ReleaseChannelConfig/validVersions": valid_versions
116665116669
"/container:v1/ReleaseChannelConfig/validVersions/valid_version": valid_version
116666116670
"/container:v1/ReservationAffinity": reservation_affinity

generated/google-apis-container_v1/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_v1
22

3+
### v0.83.0 (2024-10-27)
4+
5+
* Regenerated from discovery document revision 20241008
6+
37
### v0.82.0 (2024-10-13)
48

59
* Regenerated from discovery document revision 20240923

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

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,11 @@ class AddonsConfig
227227
# @return [Google::Apis::ContainerV1::NetworkPolicyConfig]
228228
attr_accessor :network_policy_config
229229

230+
# Configuration for the Cloud Storage Parallelstore CSI driver.
231+
# Corresponds to the JSON property `parallelstoreCsiDriverConfig`
232+
# @return [Google::Apis::ContainerV1::ParallelstoreCsiDriverConfig]
233+
attr_accessor :parallelstore_csi_driver_config
234+
230235
# Configuration options for the Ray Operator add-on.
231236
# Corresponds to the JSON property `rayOperatorConfig`
232237
# @return [Google::Apis::ContainerV1::RayOperatorConfig]
@@ -254,6 +259,7 @@ def update!(**args)
254259
@http_load_balancing = args[:http_load_balancing] if args.key?(:http_load_balancing)
255260
@kubernetes_dashboard = args[:kubernetes_dashboard] if args.key?(:kubernetes_dashboard)
256261
@network_policy_config = args[:network_policy_config] if args.key?(:network_policy_config)
262+
@parallelstore_csi_driver_config = args[:parallelstore_csi_driver_config] if args.key?(:parallelstore_csi_driver_config)
257263
@ray_operator_config = args[:ray_operator_config] if args.key?(:ray_operator_config)
258264
@stateful_ha_config = args[:stateful_ha_config] if args.key?(:stateful_ha_config)
259265
end
@@ -5481,6 +5487,26 @@ def update!(**args)
54815487
end
54825488
end
54835489

5490+
# Configuration for the Cloud Storage Parallelstore CSI driver.
5491+
class ParallelstoreCsiDriverConfig
5492+
include Google::Apis::Core::Hashable
5493+
5494+
# Whether the Cloud Storage Parallelstore CSI driver is enabled for this cluster.
5495+
# Corresponds to the JSON property `enabled`
5496+
# @return [Boolean]
5497+
attr_accessor :enabled
5498+
alias_method :enabled?, :enabled
5499+
5500+
def initialize(**args)
5501+
update!(**args)
5502+
end
5503+
5504+
# Update properties of this object
5505+
def update!(**args)
5506+
@enabled = args[:enabled] if args.key?(:enabled)
5507+
end
5508+
end
5509+
54845510
# ParentProductConfig is the configuration of the parent product of the cluster.
54855511
# This field is used by Google internal products that are built on top of a GKE
54865512
# cluster and take the ownership of the cluster.
@@ -5948,6 +5974,11 @@ class ReleaseChannelConfig
59485974
# @return [String]
59495975
attr_accessor :default_version
59505976

5977+
# The auto upgrade target version for clusters on the channel.
5978+
# Corresponds to the JSON property `upgradeTargetVersion`
5979+
# @return [String]
5980+
attr_accessor :upgrade_target_version
5981+
59515982
# List of valid versions for the channel.
59525983
# Corresponds to the JSON property `validVersions`
59535984
# @return [Array<String>]
@@ -5961,6 +5992,7 @@ def initialize(**args)
59615992
def update!(**args)
59625993
@channel = args[:channel] if args.key?(:channel)
59635994
@default_version = args[:default_version] if args.key?(:default_version)
5995+
@upgrade_target_version = args[:upgrade_target_version] if args.key?(:upgrade_target_version)
59645996
@valid_versions = args[:valid_versions] if args.key?(:valid_versions)
59655997
end
59665998
end

generated/google-apis-container_v1/lib/google/apis/container_v1/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 ContainerV1
1818
# Version of the google-apis-container_v1 gem
19-
GEM_VERSION = "0.82.0"
19+
GEM_VERSION = "0.83.0"
2020

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

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

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

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -730,6 +730,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
730730
include Google::Apis::Core::JsonObjectSupport
731731
end
732732

733+
class ParallelstoreCsiDriverConfig
734+
class Representation < Google::Apis::Core::JsonRepresentation; end
735+
736+
include Google::Apis::Core::JsonObjectSupport
737+
end
738+
733739
class ParentProductConfig
734740
class Representation < Google::Apis::Core::JsonRepresentation; end
735741

@@ -1198,6 +1204,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
11981204

11991205
property :network_policy_config, as: 'networkPolicyConfig', class: Google::Apis::ContainerV1::NetworkPolicyConfig, decorator: Google::Apis::ContainerV1::NetworkPolicyConfig::Representation
12001206

1207+
property :parallelstore_csi_driver_config, as: 'parallelstoreCsiDriverConfig', class: Google::Apis::ContainerV1::ParallelstoreCsiDriverConfig, decorator: Google::Apis::ContainerV1::ParallelstoreCsiDriverConfig::Representation
1208+
12011209
property :ray_operator_config, as: 'rayOperatorConfig', class: Google::Apis::ContainerV1::RayOperatorConfig, decorator: Google::Apis::ContainerV1::RayOperatorConfig::Representation
12021210

12031211
property :stateful_ha_config, as: 'statefulHaConfig', class: Google::Apis::ContainerV1::StatefulHaConfig, decorator: Google::Apis::ContainerV1::StatefulHaConfig::Representation
@@ -2567,6 +2575,13 @@ class Representation < Google::Apis::Core::JsonRepresentation
25672575
end
25682576
end
25692577

2578+
class ParallelstoreCsiDriverConfig
2579+
# @private
2580+
class Representation < Google::Apis::Core::JsonRepresentation
2581+
property :enabled, as: 'enabled'
2582+
end
2583+
end
2584+
25702585
class ParentProductConfig
25712586
# @private
25722587
class Representation < Google::Apis::Core::JsonRepresentation
@@ -2701,6 +2716,7 @@ class ReleaseChannelConfig
27012716
class Representation < Google::Apis::Core::JsonRepresentation
27022717
property :channel, as: 'channel'
27032718
property :default_version, as: 'defaultVersion'
2719+
property :upgrade_target_version, as: 'upgradeTargetVersion'
27042720
collection :valid_versions, as: 'validVersions'
27052721
end
27062722
end

0 commit comments

Comments
 (0)