google-apis-container_v1beta1 0.32.0 → 0.33.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: c1218ccf043703a632cdacda57a87208295f8c156b3c8c589ab030934a78645e
4
- data.tar.gz: f87acc7ce36d01d362c81eec3b87089f484cec3761e2a03307fffac9d8e2491e
3
+ metadata.gz: 5ca72c3962973b23eda7a808a7c1a6f13e8a6fa0b932393fc31570662ee7d7d2
4
+ data.tar.gz: 29d2bfae6fedeb457ba70f72fa1f7ec208467ebdee6a59f4cd9a265ca8e89248
5
5
  SHA512:
6
- metadata.gz: ff1440f3fe25b736d7cfde7651f160808bd67b3b19b7e335e2707658f762f392d48b27a839f66ada04370b978c3694a8cc2739a81d9fef27549758600893b969
7
- data.tar.gz: dbcf6b3198f77c6c6f100715cb0f71d88c55c25487b759d6d93c8c68559470b4a4fee2c0f211194372845b3bd0a213c3146de49f61fbf4fe241d63de55f4326a
6
+ metadata.gz: e06bdec62f7155afc9a0d3a2a78f483499b6827c217dfb0cf1a64983f6128249a292abf22d878aa0154a1fc039b68d3be4a5b6c8a05e43c204c773c410c88fd5
7
+ data.tar.gz: ba6b90a85a3ef3490396d1e1c22a5ce0352a0113a44fd9f3a2bf0c8eaa0227f91d5be96acd3e60cb4581a077f07f20600a65a125074e685e9728faa7942fef5f
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-container_v1beta1
2
2
 
3
+ ### v0.33.0 (2022-06-04)
4
+
5
+ * Regenerated from discovery document revision 20220518
6
+ * Regenerated using generator version 0.5.0
7
+
3
8
  ### v0.32.0 (2022-05-17)
4
9
 
5
10
  * Regenerated from discovery document revision 20220429
@@ -44,6 +44,17 @@ 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::ContainerV1beta1::GpuSharingConfig]
51
+ attr_accessor :gpu_sharing_config
52
+
53
+ # The number of time-shared GPU resources to expose for each physical GPU.
54
+ # Corresponds to the JSON property `maxTimeSharedClientsPerGpu`
55
+ # @return [Fixnum]
56
+ attr_accessor :max_time_shared_clients_per_gpu
57
+
47
58
  def initialize(**args)
48
59
  update!(**args)
49
60
  end
@@ -53,6 +64,8 @@ module Google
53
64
  @accelerator_count = args[:accelerator_count] if args.key?(:accelerator_count)
54
65
  @accelerator_type = args[:accelerator_type] if args.key?(:accelerator_type)
55
66
  @gpu_partition_size = args[:gpu_partition_size] if args.key?(:gpu_partition_size)
67
+ @gpu_sharing_config = args[:gpu_sharing_config] if args.key?(:gpu_sharing_config)
68
+ @max_time_shared_clients_per_gpu = args[:max_time_shared_clients_per_gpu] if args.key?(:max_time_shared_clients_per_gpu)
56
69
  end
57
70
  end
58
71
 
@@ -830,9 +843,9 @@ module Google
830
843
  # @return [Google::Apis::ContainerV1beta1::NetworkPolicy]
831
844
  attr_accessor :network_policy
832
845
 
833
- # Parameters that describe the nodes in a cluster. *Note:* GKE Autopilot
834
- # clusters do not recognize parameters in `NodeConfig`. Use
835
- # AutoprovisioningNodePoolDefaults instead.
846
+ # Parameters that describe the nodes in a cluster. GKE Autopilot clusters do not
847
+ # recognize parameters in `NodeConfig`. Use AutoprovisioningNodePoolDefaults
848
+ # instead.
836
849
  # Corresponds to the JSON property `nodeConfig`
837
850
  # @return [Google::Apis::ContainerV1beta1::NodeConfig]
838
851
  attr_accessor :node_config
@@ -1885,6 +1898,32 @@ module Google
1885
1898
  end
1886
1899
  end
1887
1900
 
1901
+ # GPUSharingConfig represents the GPU sharing configuration for Hardware
1902
+ # Accelerators.
1903
+ class GpuSharingConfig
1904
+ include Google::Apis::Core::Hashable
1905
+
1906
+ # The type of GPU sharing strategy to enable on the GPU node.
1907
+ # Corresponds to the JSON property `gpuSharingStrategy`
1908
+ # @return [String]
1909
+ attr_accessor :gpu_sharing_strategy
1910
+
1911
+ # The max number of containers that can share a physical GPU.
1912
+ # Corresponds to the JSON property `maxSharedClientsPerGpu`
1913
+ # @return [Fixnum]
1914
+ attr_accessor :max_shared_clients_per_gpu
1915
+
1916
+ def initialize(**args)
1917
+ update!(**args)
1918
+ end
1919
+
1920
+ # Update properties of this object
1921
+ def update!(**args)
1922
+ @gpu_sharing_strategy = args[:gpu_sharing_strategy] if args.key?(:gpu_sharing_strategy)
1923
+ @max_shared_clients_per_gpu = args[:max_shared_clients_per_gpu] if args.key?(:max_shared_clients_per_gpu)
1924
+ end
1925
+ end
1926
+
1888
1927
  # Configuration for the Compute Engine PD CSI driver.
1889
1928
  class GcePersistentDiskCsiDriverConfig
1890
1929
  include Google::Apis::Core::Hashable
@@ -3240,9 +3279,9 @@ module Google
3240
3279
  end
3241
3280
  end
3242
3281
 
3243
- # Parameters that describe the nodes in a cluster. *Note:* GKE Autopilot
3244
- # clusters do not recognize parameters in `NodeConfig`. Use
3245
- # AutoprovisioningNodePoolDefaults instead.
3282
+ # Parameters that describe the nodes in a cluster. GKE Autopilot clusters do not
3283
+ # recognize parameters in `NodeConfig`. Use AutoprovisioningNodePoolDefaults
3284
+ # instead.
3246
3285
  class NodeConfig
3247
3286
  include Google::Apis::Core::Hashable
3248
3287
 
@@ -3702,9 +3741,9 @@ module Google
3702
3741
  # @return [Array<Google::Apis::ContainerV1beta1::StatusCondition>]
3703
3742
  attr_accessor :conditions
3704
3743
 
3705
- # Parameters that describe the nodes in a cluster. *Note:* GKE Autopilot
3706
- # clusters do not recognize parameters in `NodeConfig`. Use
3707
- # AutoprovisioningNodePoolDefaults instead.
3744
+ # Parameters that describe the nodes in a cluster. GKE Autopilot clusters do not
3745
+ # recognize parameters in `NodeConfig`. Use AutoprovisioningNodePoolDefaults
3746
+ # instead.
3708
3747
  # Corresponds to the JSON property `config`
3709
3748
  # @return [Google::Apis::ContainerV1beta1::NodeConfig]
3710
3749
  attr_accessor :config
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ContainerV1beta1
18
18
  # Version of the google-apis-container_v1beta1 gem
19
- GEM_VERSION = "0.32.0"
19
+ GEM_VERSION = "0.33.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 = "20220429"
25
+ REVISION = "20220518"
26
26
  end
27
27
  end
28
28
  end
@@ -220,6 +220,12 @@ module Google
220
220
  include Google::Apis::Core::JsonObjectSupport
221
221
  end
222
222
 
223
+ class GpuSharingConfig
224
+ class Representation < Google::Apis::Core::JsonRepresentation; end
225
+
226
+ include Google::Apis::Core::JsonObjectSupport
227
+ end
228
+
223
229
  class GcePersistentDiskCsiDriverConfig
224
230
  class Representation < Google::Apis::Core::JsonRepresentation; end
225
231
 
@@ -898,6 +904,9 @@ module Google
898
904
  property :accelerator_count, :numeric_string => true, as: 'acceleratorCount'
899
905
  property :accelerator_type, as: 'acceleratorType'
900
906
  property :gpu_partition_size, as: 'gpuPartitionSize'
907
+ property :gpu_sharing_config, as: 'gpuSharingConfig', class: Google::Apis::ContainerV1beta1::GpuSharingConfig, decorator: Google::Apis::ContainerV1beta1::GpuSharingConfig::Representation
908
+
909
+ property :max_time_shared_clients_per_gpu, :numeric_string => true, as: 'maxTimeSharedClientsPerGpu'
901
910
  end
902
911
  end
903
912
 
@@ -1371,6 +1380,14 @@ module Google
1371
1380
  end
1372
1381
  end
1373
1382
 
1383
+ class GpuSharingConfig
1384
+ # @private
1385
+ class Representation < Google::Apis::Core::JsonRepresentation
1386
+ property :gpu_sharing_strategy, as: 'gpuSharingStrategy'
1387
+ property :max_shared_clients_per_gpu, :numeric_string => true, as: 'maxSharedClientsPerGpu'
1388
+ end
1389
+ end
1390
+
1374
1391
  class GcePersistentDiskCsiDriverConfig
1375
1392
  # @private
1376
1393
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-container_v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.32.0
4
+ version: 0.33.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-23 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_v1beta1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-container_v1beta1/v0.32.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-container_v1beta1/v0.33.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-container_v1beta1
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 V1beta1