Skip to content

Commit 17dee2c

Browse files
feat: Automated regeneration of container v1beta1 client (#11657)
Auto-created at 2022-09-15 11:12:57 +0000 using the toys pull request generator.
1 parent 78fd506 commit 17dee2c

File tree

5 files changed

+116
-7
lines changed

5 files changed

+116
-7
lines changed

api_names_out.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77603,6 +77603,7 @@
7760377603
"/container:v1beta1/ClusterUpdate/desiredNodePoolAutoConfigNetworkTags": desired_node_pool_auto_config_network_tags
7760477604
"/container:v1beta1/ClusterUpdate/desiredNodePoolAutoscaling": desired_node_pool_autoscaling
7760577605
"/container:v1beta1/ClusterUpdate/desiredNodePoolId": desired_node_pool_id
77606+
"/container:v1beta1/ClusterUpdate/desiredNodePoolLoggingConfig": desired_node_pool_logging_config
7760677607
"/container:v1beta1/ClusterUpdate/desiredNodeVersion": desired_node_version
7760777608
"/container:v1beta1/ClusterUpdate/desiredNotificationConfig": desired_notification_config
7760877609
"/container:v1beta1/ClusterUpdate/desiredPodSecurityPolicyConfig": desired_pod_security_policy_config
@@ -77800,6 +77801,8 @@
7780077801
"/container:v1beta1/LoggingComponentConfig/enableComponents/enable_component": enable_component
7780177802
"/container:v1beta1/LoggingConfig": logging_config
7780277803
"/container:v1beta1/LoggingConfig/componentConfig": component_config
77804+
"/container:v1beta1/LoggingVariantConfig": logging_variant_config
77805+
"/container:v1beta1/LoggingVariantConfig/variant": variant
7780377806
"/container:v1beta1/MaintenanceExclusionOptions": maintenance_exclusion_options
7780477807
"/container:v1beta1/MaintenanceExclusionOptions/scope": scope
7780577808
"/container:v1beta1/MaintenancePolicy": maintenance_policy
@@ -77877,6 +77880,7 @@
7787777880
"/container:v1beta1/NodeConfig/labels/label": label
7787877881
"/container:v1beta1/NodeConfig/linuxNodeConfig": linux_node_config
7787977882
"/container:v1beta1/NodeConfig/localSsdCount": local_ssd_count
77883+
"/container:v1beta1/NodeConfig/loggingConfig": logging_config
7788077884
"/container:v1beta1/NodeConfig/machineType": machine_type
7788177885
"/container:v1beta1/NodeConfig/metadata": metadata
7788277886
"/container:v1beta1/NodeConfig/metadata/metadatum": metadatum
@@ -77897,6 +77901,7 @@
7789777901
"/container:v1beta1/NodeConfig/workloadMetadataConfig": workload_metadata_config
7789877902
"/container:v1beta1/NodeConfigDefaults": node_config_defaults
7789977903
"/container:v1beta1/NodeConfigDefaults/gcfsConfig": gcfs_config
77904+
"/container:v1beta1/NodeConfigDefaults/loggingConfig": logging_config
7790077905
"/container:v1beta1/NodeKubeletConfig": node_kubelet_config
7790177906
"/container:v1beta1/NodeKubeletConfig/cpuCfsQuota": cpu_cfs_quota
7790277907
"/container:v1beta1/NodeKubeletConfig/cpuCfsQuotaPeriod": cpu_cfs_quota_period
@@ -77948,6 +77953,8 @@
7794877953
"/container:v1beta1/NodePoolAutoscaling/totalMinNodeCount": total_min_node_count
7794977954
"/container:v1beta1/NodePoolDefaults": node_pool_defaults
7795077955
"/container:v1beta1/NodePoolDefaults/nodeConfigDefaults": node_config_defaults
77956+
"/container:v1beta1/NodePoolLoggingConfig": node_pool_logging_config
77957+
"/container:v1beta1/NodePoolLoggingConfig/variantConfig": variant_config
7795177958
"/container:v1beta1/NodeTaint": node_taint
7795277959
"/container:v1beta1/NodeTaint/effect": effect
7795377960
"/container:v1beta1/NodeTaint/key": key
@@ -78203,6 +78210,7 @@
7820378210
"/container:v1beta1/UpdateNodePoolRequest/linuxNodeConfig": linux_node_config
7820478211
"/container:v1beta1/UpdateNodePoolRequest/locations": locations
7820578212
"/container:v1beta1/UpdateNodePoolRequest/locations/location": location
78213+
"/container:v1beta1/UpdateNodePoolRequest/loggingConfig": logging_config
7820678214
"/container:v1beta1/UpdateNodePoolRequest/name": name
7820778215
"/container:v1beta1/UpdateNodePoolRequest/nodeNetworkConfig": node_network_config
7820878216
"/container:v1beta1/UpdateNodePoolRequest/nodePoolId": node_pool_id

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.37.0 (2022-09-15)
4+
5+
* Regenerated from discovery document revision 20220826
6+
37
### v0.36.0 (2022-08-08)
48

59
* Regenerated from discovery document revision 20220727

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

Lines changed: 67 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -300,8 +300,8 @@ class AutoprovisioningNodePoolDefaults
300300
# values are the friendly names of CPU platforms, such as minCpuPlatform: Intel
301301
# Haswell or minCpuPlatform: Intel Sandy Bridge. For more information, read [how
302302
# to specify min CPU platform](https://cloud.google.com/compute/docs/instances/
303-
# specify-min-cpu-platform) This field is deprecated, min_cpu_platform should be
304-
# specified using https://cloud.google.com/requested-min-cpu-platform label
303+
# specify-min-cpu-platform). This field is deprecated, min_cpu_platform should
304+
# be specified using https://cloud.google.com/requested-min-cpu-platform label
305305
# selector on the pod. To unset the min cpu platform field pass "automatic" as
306306
# field value.
307307
# Corresponds to the JSON property `minCpuPlatform`
@@ -1422,6 +1422,11 @@ class ClusterUpdate
14221422
# @return [String]
14231423
attr_accessor :desired_node_pool_id
14241424

1425+
# NodePoolLoggingConfig specifies logging configuration for nodepools.
1426+
# Corresponds to the JSON property `desiredNodePoolLoggingConfig`
1427+
# @return [Google::Apis::ContainerV1beta1::NodePoolLoggingConfig]
1428+
attr_accessor :desired_node_pool_logging_config
1429+
14251430
# The Kubernetes version to change the nodes to (typically an upgrade). Users
14261431
# may specify either explicit versions offered by Kubernetes Engine or version
14271432
# aliases, which have the following behavior: - "latest": picks the highest
@@ -1542,6 +1547,7 @@ def update!(**args)
15421547
@desired_node_pool_auto_config_network_tags = args[:desired_node_pool_auto_config_network_tags] if args.key?(:desired_node_pool_auto_config_network_tags)
15431548
@desired_node_pool_autoscaling = args[:desired_node_pool_autoscaling] if args.key?(:desired_node_pool_autoscaling)
15441549
@desired_node_pool_id = args[:desired_node_pool_id] if args.key?(:desired_node_pool_id)
1550+
@desired_node_pool_logging_config = args[:desired_node_pool_logging_config] if args.key?(:desired_node_pool_logging_config)
15451551
@desired_node_version = args[:desired_node_version] if args.key?(:desired_node_version)
15461552
@desired_notification_config = args[:desired_notification_config] if args.key?(:desired_notification_config)
15471553
@desired_pod_security_policy_config = args[:desired_pod_security_policy_config] if args.key?(:desired_pod_security_policy_config)
@@ -2926,6 +2932,25 @@ def update!(**args)
29262932
end
29272933
end
29282934

2935+
# LoggingVariantConfig specifies the behaviour of the logging component.
2936+
class LoggingVariantConfig
2937+
include Google::Apis::Core::Hashable
2938+
2939+
# Logging variant deployed on nodes.
2940+
# Corresponds to the JSON property `variant`
2941+
# @return [String]
2942+
attr_accessor :variant
2943+
2944+
def initialize(**args)
2945+
update!(**args)
2946+
end
2947+
2948+
# Update properties of this object
2949+
def update!(**args)
2950+
@variant = args[:variant] if args.key?(:variant)
2951+
end
2952+
end
2953+
29292954
# Represents the Maintenance exclusion option.
29302955
class MaintenanceExclusionOptions
29312956
include Google::Apis::Core::Hashable
@@ -3528,6 +3553,11 @@ class NodeConfig
35283553
# @return [Fixnum]
35293554
attr_accessor :local_ssd_count
35303555

3556+
# NodePoolLoggingConfig specifies logging configuration for nodepools.
3557+
# Corresponds to the JSON property `loggingConfig`
3558+
# @return [Google::Apis::ContainerV1beta1::NodePoolLoggingConfig]
3559+
attr_accessor :logging_config
3560+
35313561
# The name of a Google Compute Engine [machine type](https://cloud.google.com/
35323562
# compute/docs/machine-types). If unspecified, the default machine type is `e2-
35333563
# medium`.
@@ -3558,7 +3588,7 @@ class NodeConfig
35583588
# friendly names of CPU platforms, such as `minCpuPlatform: "Intel Haswell"` or `
35593589
# minCpuPlatform: "Intel Sandy Bridge"`. For more information, read [how to
35603590
# specify min CPU platform](https://cloud.google.com/compute/docs/instances/
3561-
# specify-min-cpu-platform)
3591+
# specify-min-cpu-platform).
35623592
# Corresponds to the JSON property `minCpuPlatform`
35633593
# @return [String]
35643594
attr_accessor :min_cpu_platform
@@ -3663,6 +3693,7 @@ def update!(**args)
36633693
@labels = args[:labels] if args.key?(:labels)
36643694
@linux_node_config = args[:linux_node_config] if args.key?(:linux_node_config)
36653695
@local_ssd_count = args[:local_ssd_count] if args.key?(:local_ssd_count)
3696+
@logging_config = args[:logging_config] if args.key?(:logging_config)
36663697
@machine_type = args[:machine_type] if args.key?(:machine_type)
36673698
@metadata = args[:metadata] if args.key?(:metadata)
36683699
@min_cpu_platform = args[:min_cpu_platform] if args.key?(:min_cpu_platform)
@@ -3689,13 +3720,19 @@ class NodeConfigDefaults
36893720
# @return [Google::Apis::ContainerV1beta1::GcfsConfig]
36903721
attr_accessor :gcfs_config
36913722

3723+
# NodePoolLoggingConfig specifies logging configuration for nodepools.
3724+
# Corresponds to the JSON property `loggingConfig`
3725+
# @return [Google::Apis::ContainerV1beta1::NodePoolLoggingConfig]
3726+
attr_accessor :logging_config
3727+
36923728
def initialize(**args)
36933729
update!(**args)
36943730
end
36953731

36963732
# Update properties of this object
36973733
def update!(**args)
36983734
@gcfs_config = args[:gcfs_config] if args.key?(:gcfs_config)
3735+
@logging_config = args[:logging_config] if args.key?(:logging_config)
36993736
end
37003737
end
37013738

@@ -4140,6 +4177,25 @@ def update!(**args)
41404177
end
41414178
end
41424179

4180+
# NodePoolLoggingConfig specifies logging configuration for nodepools.
4181+
class NodePoolLoggingConfig
4182+
include Google::Apis::Core::Hashable
4183+
4184+
# LoggingVariantConfig specifies the behaviour of the logging component.
4185+
# Corresponds to the JSON property `variantConfig`
4186+
# @return [Google::Apis::ContainerV1beta1::LoggingVariantConfig]
4187+
attr_accessor :variant_config
4188+
4189+
def initialize(**args)
4190+
update!(**args)
4191+
end
4192+
4193+
# Update properties of this object
4194+
def update!(**args)
4195+
@variant_config = args[:variant_config] if args.key?(:variant_config)
4196+
end
4197+
end
4198+
41434199
# Kubernetes taint is comprised of three fields: key, value, and effect. Effect
41444200
# can only be one of three types: NoSchedule, PreferNoSchedule or NoExecute. See
41454201
# [here](https://kubernetes.io/docs/concepts/configuration/taint-and-toleration)
@@ -4662,8 +4718,8 @@ class ReservationAffinity
46624718
attr_accessor :consume_reservation_type
46634719

46644720
# Corresponds to the label key of a reservation resource. To target a
4665-
# SPECIFIC_RESERVATION by name, specify "googleapis.com/reservation-name" as the
4666-
# key and specify the name of your reservation as its value.
4721+
# SPECIFIC_RESERVATION by name, specify "compute.googleapis.com/reservation-name"
4722+
# as the key and specify the name of your reservation as its value.
46674723
# Corresponds to the JSON property `key`
46684724
# @return [String]
46694725
attr_accessor :key
@@ -6099,6 +6155,11 @@ class UpdateNodePoolRequest
60996155
# @return [Array<String>]
61006156
attr_accessor :locations
61016157

6158+
# NodePoolLoggingConfig specifies logging configuration for nodepools.
6159+
# Corresponds to the JSON property `loggingConfig`
6160+
# @return [Google::Apis::ContainerV1beta1::NodePoolLoggingConfig]
6161+
attr_accessor :logging_config
6162+
61026163
# The name (project, location, cluster, node pool) of the node pool to update.
61036164
# Specified in the format `projects/*/locations/*/clusters/*/nodePools/*`.
61046165
# Corresponds to the JSON property `name`
@@ -6196,6 +6257,7 @@ def update!(**args)
61966257
@labels = args[:labels] if args.key?(:labels)
61976258
@linux_node_config = args[:linux_node_config] if args.key?(:linux_node_config)
61986259
@locations = args[:locations] if args.key?(:locations)
6260+
@logging_config = args[:logging_config] if args.key?(:logging_config)
61996261
@name = args[:name] if args.key?(:name)
62006262
@node_network_config = args[:node_network_config] if args.key?(:node_network_config)
62016263
@node_pool_id = args[:node_pool_id] if args.key?(:node_pool_id)

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.36.0"
19+
GEM_VERSION = "0.37.0"
2020

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

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

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

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -412,6 +412,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
412412
include Google::Apis::Core::JsonObjectSupport
413413
end
414414

415+
class LoggingVariantConfig
416+
class Representation < Google::Apis::Core::JsonRepresentation; end
417+
418+
include Google::Apis::Core::JsonObjectSupport
419+
end
420+
415421
class MaintenanceExclusionOptions
416422
class Representation < Google::Apis::Core::JsonRepresentation; end
417423

@@ -574,6 +580,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
574580
include Google::Apis::Core::JsonObjectSupport
575581
end
576582

583+
class NodePoolLoggingConfig
584+
class Representation < Google::Apis::Core::JsonRepresentation; end
585+
586+
include Google::Apis::Core::JsonObjectSupport
587+
end
588+
577589
class NodeTaint
578590
class Representation < Google::Apis::Core::JsonRepresentation; end
579591

@@ -1287,6 +1299,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
12871299
property :desired_node_pool_autoscaling, as: 'desiredNodePoolAutoscaling', class: Google::Apis::ContainerV1beta1::NodePoolAutoscaling, decorator: Google::Apis::ContainerV1beta1::NodePoolAutoscaling::Representation
12881300

12891301
property :desired_node_pool_id, as: 'desiredNodePoolId'
1302+
property :desired_node_pool_logging_config, as: 'desiredNodePoolLoggingConfig', class: Google::Apis::ContainerV1beta1::NodePoolLoggingConfig, decorator: Google::Apis::ContainerV1beta1::NodePoolLoggingConfig::Representation
1303+
12901304
property :desired_node_version, as: 'desiredNodeVersion'
12911305
property :desired_notification_config, as: 'desiredNotificationConfig', class: Google::Apis::ContainerV1beta1::NotificationConfig, decorator: Google::Apis::ContainerV1beta1::NotificationConfig::Representation
12921306

@@ -1702,6 +1716,13 @@ class Representation < Google::Apis::Core::JsonRepresentation
17021716
end
17031717
end
17041718

1719+
class LoggingVariantConfig
1720+
# @private
1721+
class Representation < Google::Apis::Core::JsonRepresentation
1722+
property :variant, as: 'variant'
1723+
end
1724+
end
1725+
17051726
class MaintenanceExclusionOptions
17061727
# @private
17071728
class Representation < Google::Apis::Core::JsonRepresentation
@@ -1879,6 +1900,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
18791900
property :linux_node_config, as: 'linuxNodeConfig', class: Google::Apis::ContainerV1beta1::LinuxNodeConfig, decorator: Google::Apis::ContainerV1beta1::LinuxNodeConfig::Representation
18801901

18811902
property :local_ssd_count, as: 'localSsdCount'
1903+
property :logging_config, as: 'loggingConfig', class: Google::Apis::ContainerV1beta1::NodePoolLoggingConfig, decorator: Google::Apis::ContainerV1beta1::NodePoolLoggingConfig::Representation
1904+
18821905
property :machine_type, as: 'machineType'
18831906
hash :metadata, as: 'metadata'
18841907
property :min_cpu_platform, as: 'minCpuPlatform'
@@ -1906,6 +1929,8 @@ class NodeConfigDefaults
19061929
class Representation < Google::Apis::Core::JsonRepresentation
19071930
property :gcfs_config, as: 'gcfsConfig', class: Google::Apis::ContainerV1beta1::GcfsConfig, decorator: Google::Apis::ContainerV1beta1::GcfsConfig::Representation
19081931

1932+
property :logging_config, as: 'loggingConfig', class: Google::Apis::ContainerV1beta1::NodePoolLoggingConfig, decorator: Google::Apis::ContainerV1beta1::NodePoolLoggingConfig::Representation
1933+
19091934
end
19101935
end
19111936

@@ -2009,6 +2034,14 @@ class Representation < Google::Apis::Core::JsonRepresentation
20092034
end
20102035
end
20112036

2037+
class NodePoolLoggingConfig
2038+
# @private
2039+
class Representation < Google::Apis::Core::JsonRepresentation
2040+
property :variant_config, as: 'variantConfig', class: Google::Apis::ContainerV1beta1::LoggingVariantConfig, decorator: Google::Apis::ContainerV1beta1::LoggingVariantConfig::Representation
2041+
2042+
end
2043+
end
2044+
20122045
class NodeTaint
20132046
# @private
20142047
class Representation < Google::Apis::Core::JsonRepresentation
@@ -2502,6 +2535,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
25022535
property :linux_node_config, as: 'linuxNodeConfig', class: Google::Apis::ContainerV1beta1::LinuxNodeConfig, decorator: Google::Apis::ContainerV1beta1::LinuxNodeConfig::Representation
25032536

25042537
collection :locations, as: 'locations'
2538+
property :logging_config, as: 'loggingConfig', class: Google::Apis::ContainerV1beta1::NodePoolLoggingConfig, decorator: Google::Apis::ContainerV1beta1::NodePoolLoggingConfig::Representation
2539+
25052540
property :name, as: 'name'
25062541
property :node_network_config, as: 'nodeNetworkConfig', class: Google::Apis::ContainerV1beta1::NodeNetworkConfig, decorator: Google::Apis::ContainerV1beta1::NodeNetworkConfig::Representation
25072542

0 commit comments

Comments
 (0)