google-apis-container_v1 0.33.0 → 0.35.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 53e65603d9bdaa55f70003cea60cd1a04635edd633a0782ff0435da9e05d0eb6
4
- data.tar.gz: 40cba5b2f834d2ee698fb93b318b64d38bcf89c7d254fc8212bdea657ba6aa7f
3
+ metadata.gz: 443607980971cc7809b27acae0aa0a0ccb4eefd684c8c1f17fc253f547841cc5
4
+ data.tar.gz: 100ee9b357525732d25d6cddff39342f05f18e445574e90ff69b7b2b971ef720
5
5
  SHA512:
6
- metadata.gz: 1876d21d647e3ba84a28476ce982d4b60749fbde5cf73887dd34fe4b82eef5c4bfba016d38beacba7fd28b9f0e7d8c76ddefb5f09e56ed984abff522d38ea63e
7
- data.tar.gz: af52b8a480b4bf48d360694e6a3197cb05881cfd6f29582c42c69aa72ab8ccadefe28add2135cf7a07fdf605b433662ede8368b36127ef567ba65d7063fc48b8
6
+ metadata.gz: f4099ca70b0d5834212d629c6fb8f3d8f643e3ce7ca637f1973adb9b30b817e7cc8d01637d34cc75dedc3594832f55cc498faf154f4c8c439b64d7286af0ac05
7
+ data.tar.gz: 853aa1d42a4d0f82621a6876ac9ac70bb9f418ace909db5de5b0372d6f88d285f4b175ef3387c457cae6ed4be965c81e7199d7ab3d32dc15b6491f8245142d92
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-container_v1
2
2
 
3
+ ### v0.35.0 (2022-09-17)
4
+
5
+ * Regenerated from discovery document revision 20220826
6
+
7
+ ### v0.34.0 (2022-08-09)
8
+
9
+ * Regenerated from discovery document revision 20220727
10
+ * Regenerated using generator version 0.9.0
11
+
3
12
  ### v0.33.0 (2022-06-30)
4
13
 
5
14
  * Regenerated using generator version 0.8.0
@@ -276,9 +276,10 @@ module Google
276
276
  # values are the friendly names of CPU platforms, such as minCpuPlatform: Intel
277
277
  # Haswell or minCpuPlatform: Intel Sandy Bridge. For more information, read [how
278
278
  # to specify min CPU platform](https://cloud.google.com/compute/docs/instances/
279
- # specify-min-cpu-platform) This field is deprecated, min_cpu_platform should be
280
- # specified using cloud.google.com/requested-min-cpu-platform label selector on
281
- # the pod. To unset the min cpu platform field pass "automatic" as field value.
279
+ # specify-min-cpu-platform). This field is deprecated, min_cpu_platform should
280
+ # be specified using https://cloud.google.com/requested-min-cpu-platform label
281
+ # selector on the pod. To unset the min cpu platform field pass "automatic" as
282
+ # field value.
282
283
  # Corresponds to the JSON property `minCpuPlatform`
283
284
  # @return [String]
284
285
  attr_accessor :min_cpu_platform
@@ -375,8 +376,9 @@ module Google
375
376
  class BinaryAuthorization
376
377
  include Google::Apis::Core::Hashable
377
378
 
378
- # Enable Binary Authorization for this cluster. If enabled, all container images
379
- # will be validated by Binary Authorization.
379
+ # This field is deprecated. Leave this unset and instead configure
380
+ # BinaryAuthorization using evaluation_mode. If evaluation_mode is set to
381
+ # anything other than EVALUATION_MODE_UNSPECIFIED, this field is ignored.
380
382
  # Corresponds to the JSON property `enabled`
381
383
  # @return [Boolean]
382
384
  attr_accessor :enabled
@@ -1269,6 +1271,11 @@ module Google
1269
1271
  # @return [String]
1270
1272
  attr_accessor :desired_node_pool_id
1271
1273
 
1274
+ # NodePoolLoggingConfig specifies logging configuration for nodepools.
1275
+ # Corresponds to the JSON property `desiredNodePoolLoggingConfig`
1276
+ # @return [Google::Apis::ContainerV1::NodePoolLoggingConfig]
1277
+ attr_accessor :desired_node_pool_logging_config
1278
+
1272
1279
  # The Kubernetes version to change the nodes to (typically an upgrade). Users
1273
1280
  # may specify either explicit versions offered by Kubernetes Engine or version
1274
1281
  # aliases, which have the following behavior: - "latest": picks the highest
@@ -1360,6 +1367,7 @@ module Google
1360
1367
  @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)
1361
1368
  @desired_node_pool_autoscaling = args[:desired_node_pool_autoscaling] if args.key?(:desired_node_pool_autoscaling)
1362
1369
  @desired_node_pool_id = args[:desired_node_pool_id] if args.key?(:desired_node_pool_id)
1370
+ @desired_node_pool_logging_config = args[:desired_node_pool_logging_config] if args.key?(:desired_node_pool_logging_config)
1363
1371
  @desired_node_version = args[:desired_node_version] if args.key?(:desired_node_version)
1364
1372
  @desired_notification_config = args[:desired_notification_config] if args.key?(:desired_notification_config)
1365
1373
  @desired_private_cluster_config = args[:desired_private_cluster_config] if args.key?(:desired_private_cluster_config)
@@ -2471,6 +2479,25 @@ module Google
2471
2479
  end
2472
2480
  end
2473
2481
 
2482
+ # LoggingVariantConfig specifies the behaviour of the logging component.
2483
+ class LoggingVariantConfig
2484
+ include Google::Apis::Core::Hashable
2485
+
2486
+ # Logging variant deployed on nodes.
2487
+ # Corresponds to the JSON property `variant`
2488
+ # @return [String]
2489
+ attr_accessor :variant
2490
+
2491
+ def initialize(**args)
2492
+ update!(**args)
2493
+ end
2494
+
2495
+ # Update properties of this object
2496
+ def update!(**args)
2497
+ @variant = args[:variant] if args.key?(:variant)
2498
+ end
2499
+ end
2500
+
2474
2501
  # Represents the Maintenance exclusion option.
2475
2502
  class MaintenanceExclusionOptions
2476
2503
  include Google::Apis::Core::Hashable
@@ -3048,6 +3075,11 @@ module Google
3048
3075
  # @return [Fixnum]
3049
3076
  attr_accessor :local_ssd_count
3050
3077
 
3078
+ # NodePoolLoggingConfig specifies logging configuration for nodepools.
3079
+ # Corresponds to the JSON property `loggingConfig`
3080
+ # @return [Google::Apis::ContainerV1::NodePoolLoggingConfig]
3081
+ attr_accessor :logging_config
3082
+
3051
3083
  # The name of a Google Compute Engine [machine type](https://cloud.google.com/
3052
3084
  # compute/docs/machine-types) If unspecified, the default machine type is `e2-
3053
3085
  # medium`.
@@ -3182,6 +3214,7 @@ module Google
3182
3214
  @labels = args[:labels] if args.key?(:labels)
3183
3215
  @linux_node_config = args[:linux_node_config] if args.key?(:linux_node_config)
3184
3216
  @local_ssd_count = args[:local_ssd_count] if args.key?(:local_ssd_count)
3217
+ @logging_config = args[:logging_config] if args.key?(:logging_config)
3185
3218
  @machine_type = args[:machine_type] if args.key?(:machine_type)
3186
3219
  @metadata = args[:metadata] if args.key?(:metadata)
3187
3220
  @min_cpu_platform = args[:min_cpu_platform] if args.key?(:min_cpu_platform)
@@ -3209,6 +3242,11 @@ module Google
3209
3242
  # @return [Google::Apis::ContainerV1::GcfsConfig]
3210
3243
  attr_accessor :gcfs_config
3211
3244
 
3245
+ # NodePoolLoggingConfig specifies logging configuration for nodepools.
3246
+ # Corresponds to the JSON property `loggingConfig`
3247
+ # @return [Google::Apis::ContainerV1::NodePoolLoggingConfig]
3248
+ attr_accessor :logging_config
3249
+
3212
3250
  def initialize(**args)
3213
3251
  update!(**args)
3214
3252
  end
@@ -3216,6 +3254,7 @@ module Google
3216
3254
  # Update properties of this object
3217
3255
  def update!(**args)
3218
3256
  @gcfs_config = args[:gcfs_config] if args.key?(:gcfs_config)
3257
+ @logging_config = args[:logging_config] if args.key?(:logging_config)
3219
3258
  end
3220
3259
  end
3221
3260
 
@@ -3659,6 +3698,25 @@ module Google
3659
3698
  end
3660
3699
  end
3661
3700
 
3701
+ # NodePoolLoggingConfig specifies logging configuration for nodepools.
3702
+ class NodePoolLoggingConfig
3703
+ include Google::Apis::Core::Hashable
3704
+
3705
+ # LoggingVariantConfig specifies the behaviour of the logging component.
3706
+ # Corresponds to the JSON property `variantConfig`
3707
+ # @return [Google::Apis::ContainerV1::LoggingVariantConfig]
3708
+ attr_accessor :variant_config
3709
+
3710
+ def initialize(**args)
3711
+ update!(**args)
3712
+ end
3713
+
3714
+ # Update properties of this object
3715
+ def update!(**args)
3716
+ @variant_config = args[:variant_config] if args.key?(:variant_config)
3717
+ end
3718
+ end
3719
+
3662
3720
  # Kubernetes taint is comprised of three fields: key, value, and effect. Effect
3663
3721
  # can only be one of three types: NoSchedule, PreferNoSchedule or NoExecute. See
3664
3722
  # [here](https://kubernetes.io/docs/concepts/configuration/taint-and-toleration)
@@ -4113,8 +4171,8 @@ module Google
4113
4171
  attr_accessor :consume_reservation_type
4114
4172
 
4115
4173
  # Corresponds to the label key of a reservation resource. To target a
4116
- # SPECIFIC_RESERVATION by name, specify "googleapis.com/reservation-name" as the
4117
- # key and specify the name of your reservation as its value.
4174
+ # SPECIFIC_RESERVATION by name, specify "compute.googleapis.com/reservation-name"
4175
+ # as the key and specify the name of your reservation as its value.
4118
4176
  # Corresponds to the JSON property `key`
4119
4177
  # @return [String]
4120
4178
  attr_accessor :key
@@ -5506,6 +5564,11 @@ module Google
5506
5564
  # @return [Array<String>]
5507
5565
  attr_accessor :locations
5508
5566
 
5567
+ # NodePoolLoggingConfig specifies logging configuration for nodepools.
5568
+ # Corresponds to the JSON property `loggingConfig`
5569
+ # @return [Google::Apis::ContainerV1::NodePoolLoggingConfig]
5570
+ attr_accessor :logging_config
5571
+
5509
5572
  # The name (project, location, cluster, node pool) of the node pool to update.
5510
5573
  # Specified in the format `projects/*/locations/*/clusters/*/nodePools/*`.
5511
5574
  # Corresponds to the JSON property `name`
@@ -5616,6 +5679,7 @@ module Google
5616
5679
  @labels = args[:labels] if args.key?(:labels)
5617
5680
  @linux_node_config = args[:linux_node_config] if args.key?(:linux_node_config)
5618
5681
  @locations = args[:locations] if args.key?(:locations)
5682
+ @logging_config = args[:logging_config] if args.key?(:logging_config)
5619
5683
  @name = args[:name] if args.key?(:name)
5620
5684
  @node_network_config = args[:node_network_config] if args.key?(:node_network_config)
5621
5685
  @node_pool_id = args[:node_pool_id] if args.key?(:node_pool_id)
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ContainerV1
18
18
  # Version of the google-apis-container_v1 gem
19
- GEM_VERSION = "0.33.0"
19
+ GEM_VERSION = "0.35.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.8.0"
22
+ GENERATOR_VERSION = "0.9.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220615"
25
+ REVISION = "20220826"
26
26
  end
27
27
  end
28
28
  end
@@ -352,6 +352,12 @@ module Google
352
352
  include Google::Apis::Core::JsonObjectSupport
353
353
  end
354
354
 
355
+ class LoggingVariantConfig
356
+ class Representation < Google::Apis::Core::JsonRepresentation; end
357
+
358
+ include Google::Apis::Core::JsonObjectSupport
359
+ end
360
+
355
361
  class MaintenanceExclusionOptions
356
362
  class Representation < Google::Apis::Core::JsonRepresentation; end
357
363
 
@@ -508,6 +514,12 @@ module Google
508
514
  include Google::Apis::Core::JsonObjectSupport
509
515
  end
510
516
 
517
+ class NodePoolLoggingConfig
518
+ class Representation < Google::Apis::Core::JsonRepresentation; end
519
+
520
+ include Google::Apis::Core::JsonObjectSupport
521
+ end
522
+
511
523
  class NodeTaint
512
524
  class Representation < Google::Apis::Core::JsonRepresentation; end
513
525
 
@@ -1121,6 +1133,8 @@ module Google
1121
1133
  property :desired_node_pool_autoscaling, as: 'desiredNodePoolAutoscaling', class: Google::Apis::ContainerV1::NodePoolAutoscaling, decorator: Google::Apis::ContainerV1::NodePoolAutoscaling::Representation
1122
1134
 
1123
1135
  property :desired_node_pool_id, as: 'desiredNodePoolId'
1136
+ property :desired_node_pool_logging_config, as: 'desiredNodePoolLoggingConfig', class: Google::Apis::ContainerV1::NodePoolLoggingConfig, decorator: Google::Apis::ContainerV1::NodePoolLoggingConfig::Representation
1137
+
1124
1138
  property :desired_node_version, as: 'desiredNodeVersion'
1125
1139
  property :desired_notification_config, as: 'desiredNotificationConfig', class: Google::Apis::ContainerV1::NotificationConfig, decorator: Google::Apis::ContainerV1::NotificationConfig::Representation
1126
1140
 
@@ -1457,6 +1471,13 @@ module Google
1457
1471
  end
1458
1472
  end
1459
1473
 
1474
+ class LoggingVariantConfig
1475
+ # @private
1476
+ class Representation < Google::Apis::Core::JsonRepresentation
1477
+ property :variant, as: 'variant'
1478
+ end
1479
+ end
1480
+
1460
1481
  class MaintenanceExclusionOptions
1461
1482
  # @private
1462
1483
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1625,6 +1646,8 @@ module Google
1625
1646
  property :linux_node_config, as: 'linuxNodeConfig', class: Google::Apis::ContainerV1::LinuxNodeConfig, decorator: Google::Apis::ContainerV1::LinuxNodeConfig::Representation
1626
1647
 
1627
1648
  property :local_ssd_count, as: 'localSsdCount'
1649
+ property :logging_config, as: 'loggingConfig', class: Google::Apis::ContainerV1::NodePoolLoggingConfig, decorator: Google::Apis::ContainerV1::NodePoolLoggingConfig::Representation
1650
+
1628
1651
  property :machine_type, as: 'machineType'
1629
1652
  hash :metadata, as: 'metadata'
1630
1653
  property :min_cpu_platform, as: 'minCpuPlatform'
@@ -1652,6 +1675,8 @@ module Google
1652
1675
  class Representation < Google::Apis::Core::JsonRepresentation
1653
1676
  property :gcfs_config, as: 'gcfsConfig', class: Google::Apis::ContainerV1::GcfsConfig, decorator: Google::Apis::ContainerV1::GcfsConfig::Representation
1654
1677
 
1678
+ property :logging_config, as: 'loggingConfig', class: Google::Apis::ContainerV1::NodePoolLoggingConfig, decorator: Google::Apis::ContainerV1::NodePoolLoggingConfig::Representation
1679
+
1655
1680
  end
1656
1681
  end
1657
1682
 
@@ -1753,6 +1778,14 @@ module Google
1753
1778
  end
1754
1779
  end
1755
1780
 
1781
+ class NodePoolLoggingConfig
1782
+ # @private
1783
+ class Representation < Google::Apis::Core::JsonRepresentation
1784
+ property :variant_config, as: 'variantConfig', class: Google::Apis::ContainerV1::LoggingVariantConfig, decorator: Google::Apis::ContainerV1::LoggingVariantConfig::Representation
1785
+
1786
+ end
1787
+ end
1788
+
1756
1789
  class NodeTaint
1757
1790
  # @private
1758
1791
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2210,6 +2243,8 @@ module Google
2210
2243
  property :linux_node_config, as: 'linuxNodeConfig', class: Google::Apis::ContainerV1::LinuxNodeConfig, decorator: Google::Apis::ContainerV1::LinuxNodeConfig::Representation
2211
2244
 
2212
2245
  collection :locations, as: 'locations'
2246
+ property :logging_config, as: 'loggingConfig', class: Google::Apis::ContainerV1::NodePoolLoggingConfig, decorator: Google::Apis::ContainerV1::NodePoolLoggingConfig::Representation
2247
+
2213
2248
  property :name, as: 'name'
2214
2249
  property :node_network_config, as: 'nodeNetworkConfig', class: Google::Apis::ContainerV1::NodeNetworkConfig, decorator: Google::Apis::ContainerV1::NodeNetworkConfig::Representation
2215
2250
 
@@ -798,8 +798,8 @@ module Google
798
798
  # CompleteNodePoolUpgrade will signal an on-going node pool upgrade to complete.
799
799
  # @param [String] name
800
800
  # The name (project, location, cluster, node pool id) of the node pool to
801
- # complete upgrade. Specified in the format 'projects/*/locations/*/clusters/*/
802
- # nodePools/*'.
801
+ # complete upgrade. Specified in the format `projects/*/locations/*/clusters/*/
802
+ # nodePools/*`.
803
803
  # @param [Google::Apis::ContainerV1::CompleteNodePoolUpgradeRequest] complete_node_pool_upgrade_request_object
804
804
  # @param [String] fields
805
805
  # Selector specifying which fields to include in a partial response.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-container_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.33.0
4
+ version: 0.35.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-07-04 00:00:00.000000000 Z
11
+ date: 2022-09-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0.7'
19
+ version: 0.7.2
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: '0.7'
29
+ version: 0.7.2
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-container_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-container_v1/v0.33.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-container_v1/v0.35.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-container_v1
63
63
  post_install_message:
64
64
  rdoc_options: []