google-apis-container_v1 0.30.0 → 0.31.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: 1a5a145f98fa36c9468f84d86d782b104501378fc8cb7aa5a0e34e617061fd28
4
- data.tar.gz: a12bc9b3af9cdccffd8629c81f7c267d66d1abc427d7e34fa24b94993d441615
3
+ metadata.gz: 2dad562040d38bb6d76f9befca43c76b0ed5d70aed534607224963d2d20e5eec
4
+ data.tar.gz: bb450f1a726508916d8ac35276d4503bc88ef1e4b348fe28fdb46185df5582b4
5
5
  SHA512:
6
- metadata.gz: da8702aad31aa584c1eaccc31ec18f22eeea98afeb07b9dd28e6fa062b81e5a055dd9e687dda87fb35d33854be52c7c605a75f0b711fc6f9e649306917ae03ab
7
- data.tar.gz: 5f8ba1111197e9c13479044ecbca679a54b44b152906dcfb1c4c1583e106a3dcbc9c7ba0220e567d9eae8d917e43981b45cc5500dd94d287771c5057059cc551
6
+ metadata.gz: 6dd1f9b3e304418277a189e234425b27513790d6c20dfd826d1f4b87fc8c426de232a335eecb754214e225396947f5db1a1781f3e5cd424d4a4d386483b1d4d0
7
+ data.tar.gz: 5e628d504478edd9d703e8e67c6b95ab205ea7383d221e731195f981ab0436c42ca37b85985e4756c1e40d32ae95d3c53f65822d8d785e6094119a3490aa2c95
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-container_v1
2
2
 
3
+ ### v0.31.0 (2022-06-05)
4
+
5
+ * Regenerated from discovery document revision 20220518
6
+ * Regenerated using generator version 0.5.0
7
+
3
8
  ### v0.30.0 (2022-05-10)
4
9
 
5
10
  * Regenerated from discovery document revision 20220420
@@ -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
 
@@ -770,9 +777,9 @@ module Google
770
777
  # @return [Google::Apis::ContainerV1::NetworkPolicy]
771
778
  attr_accessor :network_policy
772
779
 
773
- # Parameters that describe the nodes in a cluster. *Note: *GKE Autopilot
774
- # clusters do not recognize parameters in `NodeConfig`. Use
775
- # 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.
776
783
  # Corresponds to the JSON property `nodeConfig`
777
784
  # @return [Google::Apis::ContainerV1::NodeConfig]
778
785
  attr_accessor :node_config
@@ -1643,6 +1650,32 @@ module Google
1643
1650
  end
1644
1651
  end
1645
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
+
1646
1679
  # Configuration for the Compute Engine PD CSI driver.
1647
1680
  class GcePersistentDiskCsiDriverConfig
1648
1681
  include Google::Apis::Core::Hashable
@@ -2822,9 +2855,9 @@ module Google
2822
2855
  end
2823
2856
  end
2824
2857
 
2825
- # Parameters that describe the nodes in a cluster. *Note: *GKE Autopilot
2826
- # clusters do not recognize parameters in `NodeConfig`. Use
2827
- # 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.
2828
2861
  class NodeConfig
2829
2862
  include Google::Apis::Core::Hashable
2830
2863
 
@@ -2848,6 +2881,12 @@ module Google
2848
2881
  # @return [String]
2849
2882
  attr_accessor :boot_disk_kms_key
2850
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
+
2851
2890
  # Size of the disk attached to each node, specified in GB. The smallest allowed
2852
2891
  # disk size is 10GB. If unspecified, the default disk size is 100GB.
2853
2892
  # Corresponds to the JSON property `diskSizeGb`
@@ -3030,6 +3069,7 @@ module Google
3030
3069
  @accelerators = args[:accelerators] if args.key?(:accelerators)
3031
3070
  @advanced_machine_features = args[:advanced_machine_features] if args.key?(:advanced_machine_features)
3032
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)
3033
3073
  @disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb)
3034
3074
  @disk_type = args[:disk_type] if args.key?(:disk_type)
3035
3075
  @gcfs_config = args[:gcfs_config] if args.key?(:gcfs_config)
@@ -3264,9 +3304,9 @@ module Google
3264
3304
  # @return [Array<Google::Apis::ContainerV1::StatusCondition>]
3265
3305
  attr_accessor :conditions
3266
3306
 
3267
- # Parameters that describe the nodes in a cluster. *Note: *GKE Autopilot
3268
- # clusters do not recognize parameters in `NodeConfig`. Use
3269
- # 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.
3270
3310
  # Corresponds to the JSON property `config`
3271
3311
  # @return [Google::Apis::ContainerV1::NodeConfig]
3272
3312
  attr_accessor :config
@@ -5209,6 +5249,12 @@ module Google
5209
5249
  # @return [String]
5210
5250
  attr_accessor :cluster_id
5211
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
+
5212
5258
  # GcfsConfig contains configurations of Google Container File System (image
5213
5259
  # streaming).
5214
5260
  # Corresponds to the JSON property `gcfsConfig`
@@ -5330,6 +5376,7 @@ module Google
5330
5376
  # Update properties of this object
5331
5377
  def update!(**args)
5332
5378
  @cluster_id = args[:cluster_id] if args.key?(:cluster_id)
5379
+ @confidential_nodes = args[:confidential_nodes] if args.key?(:confidential_nodes)
5333
5380
  @gcfs_config = args[:gcfs_config] if args.key?(:gcfs_config)
5334
5381
  @gvnic = args[:gvnic] if args.key?(:gvnic)
5335
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.30.0"
19
+ GEM_VERSION = "0.31.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.5.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220420"
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
 
@@ -1190,6 +1198,14 @@ module Google
1190
1198
  end
1191
1199
  end
1192
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
+
1193
1209
  class GcePersistentDiskCsiDriverConfig
1194
1210
  # @private
1195
1211
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1538,6 +1554,8 @@ module Google
1538
1554
  property :advanced_machine_features, as: 'advancedMachineFeatures', class: Google::Apis::ContainerV1::AdvancedMachineFeatures, decorator: Google::Apis::ContainerV1::AdvancedMachineFeatures::Representation
1539
1555
 
1540
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
+
1541
1559
  property :disk_size_gb, as: 'diskSizeGb'
1542
1560
  property :disk_type, as: 'diskType'
1543
1561
  property :gcfs_config, as: 'gcfsConfig', class: Google::Apis::ContainerV1::GcfsConfig, decorator: Google::Apis::ContainerV1::GcfsConfig::Representation
@@ -2099,6 +2117,8 @@ module Google
2099
2117
  # @private
2100
2118
  class Representation < Google::Apis::Core::JsonRepresentation
2101
2119
  property :cluster_id, as: 'clusterId'
2120
+ property :confidential_nodes, as: 'confidentialNodes', class: Google::Apis::ContainerV1::ConfidentialNodes, decorator: Google::Apis::ContainerV1::ConfidentialNodes::Representation
2121
+
2102
2122
  property :gcfs_config, as: 'gcfsConfig', class: Google::Apis::ContainerV1::GcfsConfig, decorator: Google::Apis::ContainerV1::GcfsConfig::Representation
2103
2123
 
2104
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.30.0
4
+ version: 0.31.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-16 00:00:00.000000000 Z
11
+ date: 2022-06-13 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.5'
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.5'
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.30.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-container_v1/v0.31.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