google-apis-container_v1 0.29.0 → 0.32.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6fe960edfb457cf97ff98eb9d10114f47d8977465956464576f11c1b00ca6978
4
- data.tar.gz: 752c4da35890af9a2a9ae5b00e96a6146abf33bb1c889756c2b1b8bc5adba529
3
+ metadata.gz: 7fc8bed12815937ac19122fdfe16b3a1a465953a1f73273b46ff413b82e59a8b
4
+ data.tar.gz: 72232d4ce9794db86ff6e4fe5ef38efcbda910868ced3245d7df8805aaeb4274
5
5
  SHA512:
6
- metadata.gz: ee11bfda6588bfb46767473ca7dbf92a0c03cdf2d5e2f20a2cb0c184579bf21763a66ea2fb5547d3762b74ced695906aab38ae8355cb272063083a9fbda2cd86
7
- data.tar.gz: a0682413784869063fcb294daa299ef155c7c8072a8e521bf611dd171e83ea4e1bb64a845009415040760418ab6493601a45ea16207dc145a29890cd8ee74baa
6
+ metadata.gz: f8b12b45ac727504183c02d7e427b891da86eaa440d32785fc7c90793ff6b06bd61cf23e60a87886f6ea63c6852be2f1a2a6a81207592a5cb6dc7e46d0285e5c
7
+ data.tar.gz: 8d52f05f7b3c14b6188abb245318cdc7a93339aa5c260cb8d1a1684f7e37189b52776bf986ed0a1516182d89be88b2a11164b01a64708097ede37840216ad6c8
data/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # Release history for google-apis-container_v1
2
2
 
3
+ ### v0.32.0 (2022-06-18)
4
+
5
+ * Regenerated using generator version 0.7.0
6
+
7
+ ### v0.31.0 (2022-06-05)
8
+
9
+ * Regenerated from discovery document revision 20220518
10
+ * Regenerated using generator version 0.5.0
11
+
12
+ ### v0.30.0 (2022-05-10)
13
+
14
+ * Regenerated from discovery document revision 20220420
15
+
3
16
  ### v0.29.0 (2022-05-03)
4
17
 
5
18
  * Regenerated from discovery document revision 20220419
@@ -44,6 +44,12 @@ module Google
44
44
  # @return [String]
45
45
  attr_accessor :gpu_partition_size
46
46
 
47
+ # GPUSharingConfig represents the GPU sharing configuration for Hardware
48
+ # Accelerators.
49
+ # Corresponds to the JSON property `gpuSharingConfig`
50
+ # @return [Google::Apis::ContainerV1::GpuSharingConfig]
51
+ attr_accessor :gpu_sharing_config
52
+
47
53
  def initialize(**args)
48
54
  update!(**args)
49
55
  end
@@ -53,6 +59,7 @@ module Google
53
59
  @accelerator_count = args[:accelerator_count] if args.key?(:accelerator_count)
54
60
  @accelerator_type = args[:accelerator_type] if args.key?(:accelerator_type)
55
61
  @gpu_partition_size = args[:gpu_partition_size] if args.key?(:gpu_partition_size)
62
+ @gpu_sharing_config = args[:gpu_sharing_config] if args.key?(:gpu_sharing_config)
56
63
  end
57
64
  end
58
65
 
@@ -358,6 +365,12 @@ module Google
358
365
  attr_accessor :enabled
359
366
  alias_method :enabled?, :enabled
360
367
 
368
+ # Mode of operation for binauthz policy evaluation. Currently the only options
369
+ # are equivalent to enable/disable. If unspecified, defaults to DISABLED.
370
+ # Corresponds to the JSON property `evaluationMode`
371
+ # @return [String]
372
+ attr_accessor :evaluation_mode
373
+
361
374
  def initialize(**args)
362
375
  update!(**args)
363
376
  end
@@ -365,6 +378,7 @@ module Google
365
378
  # Update properties of this object
366
379
  def update!(**args)
367
380
  @enabled = args[:enabled] if args.key?(:enabled)
381
+ @evaluation_mode = args[:evaluation_mode] if args.key?(:evaluation_mode)
368
382
  end
369
383
  end
370
384
 
@@ -763,9 +777,9 @@ module Google
763
777
  # @return [Google::Apis::ContainerV1::NetworkPolicy]
764
778
  attr_accessor :network_policy
765
779
 
766
- # Parameters that describe the nodes in a cluster. *Note: *GKE Autopilot
767
- # clusters do not recognize parameters in `NodeConfig`. Use
768
- # AutoprovisioningNodePoolDefaults instead.
780
+ # Parameters that describe the nodes in a cluster. GKE Autopilot clusters do not
781
+ # recognize parameters in `NodeConfig`. Use AutoprovisioningNodePoolDefaults
782
+ # instead.
769
783
  # Corresponds to the JSON property `nodeConfig`
770
784
  # @return [Google::Apis::ContainerV1::NodeConfig]
771
785
  attr_accessor :node_config
@@ -1636,6 +1650,32 @@ module Google
1636
1650
  end
1637
1651
  end
1638
1652
 
1653
+ # GPUSharingConfig represents the GPU sharing configuration for Hardware
1654
+ # Accelerators.
1655
+ class GpuSharingConfig
1656
+ include Google::Apis::Core::Hashable
1657
+
1658
+ # The type of GPU sharing strategy to enable on the GPU node.
1659
+ # Corresponds to the JSON property `gpuSharingStrategy`
1660
+ # @return [String]
1661
+ attr_accessor :gpu_sharing_strategy
1662
+
1663
+ # The max number of containers that can share a physical GPU.
1664
+ # Corresponds to the JSON property `maxSharedClientsPerGpu`
1665
+ # @return [Fixnum]
1666
+ attr_accessor :max_shared_clients_per_gpu
1667
+
1668
+ def initialize(**args)
1669
+ update!(**args)
1670
+ end
1671
+
1672
+ # Update properties of this object
1673
+ def update!(**args)
1674
+ @gpu_sharing_strategy = args[:gpu_sharing_strategy] if args.key?(:gpu_sharing_strategy)
1675
+ @max_shared_clients_per_gpu = args[:max_shared_clients_per_gpu] if args.key?(:max_shared_clients_per_gpu)
1676
+ end
1677
+ end
1678
+
1639
1679
  # Configuration for the Compute Engine PD CSI driver.
1640
1680
  class GcePersistentDiskCsiDriverConfig
1641
1681
  include Google::Apis::Core::Hashable
@@ -2815,9 +2855,9 @@ module Google
2815
2855
  end
2816
2856
  end
2817
2857
 
2818
- # Parameters that describe the nodes in a cluster. *Note: *GKE Autopilot
2819
- # clusters do not recognize parameters in `NodeConfig`. Use
2820
- # AutoprovisioningNodePoolDefaults instead.
2858
+ # Parameters that describe the nodes in a cluster. GKE Autopilot clusters do not
2859
+ # recognize parameters in `NodeConfig`. Use AutoprovisioningNodePoolDefaults
2860
+ # instead.
2821
2861
  class NodeConfig
2822
2862
  include Google::Apis::Core::Hashable
2823
2863
 
@@ -2841,6 +2881,12 @@ module Google
2841
2881
  # @return [String]
2842
2882
  attr_accessor :boot_disk_kms_key
2843
2883
 
2884
+ # ConfidentialNodes is configuration for the confidential nodes feature, which
2885
+ # makes nodes run on confidential VMs.
2886
+ # Corresponds to the JSON property `confidentialNodes`
2887
+ # @return [Google::Apis::ContainerV1::ConfidentialNodes]
2888
+ attr_accessor :confidential_nodes
2889
+
2844
2890
  # Size of the disk attached to each node, specified in GB. The smallest allowed
2845
2891
  # disk size is 10GB. If unspecified, the default disk size is 100GB.
2846
2892
  # Corresponds to the JSON property `diskSizeGb`
@@ -3023,6 +3069,7 @@ module Google
3023
3069
  @accelerators = args[:accelerators] if args.key?(:accelerators)
3024
3070
  @advanced_machine_features = args[:advanced_machine_features] if args.key?(:advanced_machine_features)
3025
3071
  @boot_disk_kms_key = args[:boot_disk_kms_key] if args.key?(:boot_disk_kms_key)
3072
+ @confidential_nodes = args[:confidential_nodes] if args.key?(:confidential_nodes)
3026
3073
  @disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb)
3027
3074
  @disk_type = args[:disk_type] if args.key?(:disk_type)
3028
3075
  @gcfs_config = args[:gcfs_config] if args.key?(:gcfs_config)
@@ -3257,9 +3304,9 @@ module Google
3257
3304
  # @return [Array<Google::Apis::ContainerV1::StatusCondition>]
3258
3305
  attr_accessor :conditions
3259
3306
 
3260
- # Parameters that describe the nodes in a cluster. *Note: *GKE Autopilot
3261
- # clusters do not recognize parameters in `NodeConfig`. Use
3262
- # AutoprovisioningNodePoolDefaults instead.
3307
+ # Parameters that describe the nodes in a cluster. GKE Autopilot clusters do not
3308
+ # recognize parameters in `NodeConfig`. Use AutoprovisioningNodePoolDefaults
3309
+ # instead.
3263
3310
  # Corresponds to the JSON property `config`
3264
3311
  # @return [Google::Apis::ContainerV1::NodeConfig]
3265
3312
  attr_accessor :config
@@ -5202,6 +5249,12 @@ module Google
5202
5249
  # @return [String]
5203
5250
  attr_accessor :cluster_id
5204
5251
 
5252
+ # ConfidentialNodes is configuration for the confidential nodes feature, which
5253
+ # makes nodes run on confidential VMs.
5254
+ # Corresponds to the JSON property `confidentialNodes`
5255
+ # @return [Google::Apis::ContainerV1::ConfidentialNodes]
5256
+ attr_accessor :confidential_nodes
5257
+
5205
5258
  # GcfsConfig contains configurations of Google Container File System (image
5206
5259
  # streaming).
5207
5260
  # Corresponds to the JSON property `gcfsConfig`
@@ -5323,6 +5376,7 @@ module Google
5323
5376
  # Update properties of this object
5324
5377
  def update!(**args)
5325
5378
  @cluster_id = args[:cluster_id] if args.key?(:cluster_id)
5379
+ @confidential_nodes = args[:confidential_nodes] if args.key?(:confidential_nodes)
5326
5380
  @gcfs_config = args[:gcfs_config] if args.key?(:gcfs_config)
5327
5381
  @gvnic = args[:gvnic] if args.key?(:gvnic)
5328
5382
  @image_type = args[:image_type] if args.key?(:image_type)
@@ -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.29.0"
19
+ GEM_VERSION = "0.32.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.4.1"
22
+ GENERATOR_VERSION = "0.7.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220419"
25
+ REVISION = "20220518"
26
26
  end
27
27
  end
28
28
  end
@@ -196,6 +196,12 @@ module Google
196
196
  include Google::Apis::Core::JsonObjectSupport
197
197
  end
198
198
 
199
+ class GpuSharingConfig
200
+ class Representation < Google::Apis::Core::JsonRepresentation; end
201
+
202
+ include Google::Apis::Core::JsonObjectSupport
203
+ end
204
+
199
205
  class GcePersistentDiskCsiDriverConfig
200
206
  class Representation < Google::Apis::Core::JsonRepresentation; end
201
207
 
@@ -784,6 +790,8 @@ module Google
784
790
  property :accelerator_count, :numeric_string => true, as: 'acceleratorCount'
785
791
  property :accelerator_type, as: 'acceleratorType'
786
792
  property :gpu_partition_size, as: 'gpuPartitionSize'
793
+ property :gpu_sharing_config, as: 'gpuSharingConfig', class: Google::Apis::ContainerV1::GpuSharingConfig, decorator: Google::Apis::ContainerV1::GpuSharingConfig::Representation
794
+
787
795
  end
788
796
  end
789
797
 
@@ -871,6 +879,7 @@ module Google
871
879
  # @private
872
880
  class Representation < Google::Apis::Core::JsonRepresentation
873
881
  property :enabled, as: 'enabled'
882
+ property :evaluation_mode, as: 'evaluationMode'
874
883
  end
875
884
  end
876
885
 
@@ -1189,6 +1198,14 @@ module Google
1189
1198
  end
1190
1199
  end
1191
1200
 
1201
+ class GpuSharingConfig
1202
+ # @private
1203
+ class Representation < Google::Apis::Core::JsonRepresentation
1204
+ property :gpu_sharing_strategy, as: 'gpuSharingStrategy'
1205
+ property :max_shared_clients_per_gpu, :numeric_string => true, as: 'maxSharedClientsPerGpu'
1206
+ end
1207
+ end
1208
+
1192
1209
  class GcePersistentDiskCsiDriverConfig
1193
1210
  # @private
1194
1211
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1537,6 +1554,8 @@ module Google
1537
1554
  property :advanced_machine_features, as: 'advancedMachineFeatures', class: Google::Apis::ContainerV1::AdvancedMachineFeatures, decorator: Google::Apis::ContainerV1::AdvancedMachineFeatures::Representation
1538
1555
 
1539
1556
  property :boot_disk_kms_key, as: 'bootDiskKmsKey'
1557
+ property :confidential_nodes, as: 'confidentialNodes', class: Google::Apis::ContainerV1::ConfidentialNodes, decorator: Google::Apis::ContainerV1::ConfidentialNodes::Representation
1558
+
1540
1559
  property :disk_size_gb, as: 'diskSizeGb'
1541
1560
  property :disk_type, as: 'diskType'
1542
1561
  property :gcfs_config, as: 'gcfsConfig', class: Google::Apis::ContainerV1::GcfsConfig, decorator: Google::Apis::ContainerV1::GcfsConfig::Representation
@@ -2098,6 +2117,8 @@ module Google
2098
2117
  # @private
2099
2118
  class Representation < Google::Apis::Core::JsonRepresentation
2100
2119
  property :cluster_id, as: 'clusterId'
2120
+ property :confidential_nodes, as: 'confidentialNodes', class: Google::Apis::ContainerV1::ConfidentialNodes, decorator: Google::Apis::ContainerV1::ConfidentialNodes::Representation
2121
+
2101
2122
  property :gcfs_config, as: 'gcfsConfig', class: Google::Apis::ContainerV1::GcfsConfig, decorator: Google::Apis::ContainerV1::GcfsConfig::Representation
2102
2123
 
2103
2124
  property :gvnic, as: 'gvnic', class: Google::Apis::ContainerV1::VirtualNic, decorator: Google::Apis::ContainerV1::VirtualNic::Representation
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.29.0
4
+ version: 0.32.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-05-09 00:00:00.000000000 Z
11
+ date: 2022-06-20 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.4'
19
+ version: '0.6'
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.4'
29
+ version: '0.6'
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.29.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-container_v1/v0.32.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: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.3.5
78
+ rubygems_version: 3.3.14
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Kubernetes Engine API V1