google-apis-tpu_v2alpha1 0.13.0 → 0.14.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: c9b06da2945438a1242e94b47bc60119043822379a1a5ae6d9f54a4685762248
4
- data.tar.gz: d0ecc71a02f6b85009bef690f3c17c491175eaa08f61da0ebb66e6afa787dbf8
3
+ metadata.gz: 43cd46d69cf8594d86b655ec78d50ee87d1f3c6ce1fc696710f1bd7b0c2289e1
4
+ data.tar.gz: 5258379013872baa509b967fad028921b4617d0922948b89a89fdb22cb2ddcba
5
5
  SHA512:
6
- metadata.gz: 5fb3f5ec5ee4c58c35dc2f28afda529ef15f60c93cbd6884340909125efd3eda0e174f14ada37fa5df97a89a7a087c185b6ca4e551f3ec0253c55ebb7d62a7b9
7
- data.tar.gz: 16556e00caf8a7e10708ae233ad17ce891032d499a3b7d6cc7cf5ca70aedf66a0f786069221709941ddbeb19e3a2e25c992140e9afd383da356cec2b2ea33360
6
+ metadata.gz: a07beaf109198c58c9f6e683eafbec47b67bd26d0dff0a308db40fa49598e526a6f32b946d82dba660b915c2ae92440fb8a16768435259c84c0720839a2a0d19
7
+ data.tar.gz: 5622611ebf59dedfc7b4478057d891475977ee01f038d4fd7d5f5d927e976af55ff6e044e171782043426b0e01279d63528066c628c8e909c7bd8f7479d61044
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-tpu_v2alpha1
2
2
 
3
+ ### v0.14.0 (2023-01-29)
4
+
5
+ * Regenerated from discovery document revision 20230125
6
+
3
7
  ### v0.13.0 (2023-01-15)
4
8
 
5
9
  * Regenerated from discovery document revision 20230105
@@ -22,10 +22,40 @@ module Google
22
22
  module Apis
23
23
  module TpuV2alpha1
24
24
 
25
+ # A TPU accelerator configuration.
26
+ class AcceleratorConfig
27
+ include Google::Apis::Core::Hashable
28
+
29
+ # Required. Topology of TPU in chips.
30
+ # Corresponds to the JSON property `topology`
31
+ # @return [String]
32
+ attr_accessor :topology
33
+
34
+ # Required. Type of TPU.
35
+ # Corresponds to the JSON property `type`
36
+ # @return [String]
37
+ attr_accessor :type
38
+
39
+ def initialize(**args)
40
+ update!(**args)
41
+ end
42
+
43
+ # Update properties of this object
44
+ def update!(**args)
45
+ @topology = args[:topology] if args.key?(:topology)
46
+ @type = args[:type] if args.key?(:type)
47
+ end
48
+ end
49
+
25
50
  # A accelerator type that a Node can be configured with.
26
51
  class AcceleratorType
27
52
  include Google::Apis::Core::Hashable
28
53
 
54
+ # The accelerator config.
55
+ # Corresponds to the JSON property `acceleratorConfigs`
56
+ # @return [Array<Google::Apis::TpuV2alpha1::AcceleratorConfig>]
57
+ attr_accessor :accelerator_configs
58
+
29
59
  # The resource name.
30
60
  # Corresponds to the JSON property `name`
31
61
  # @return [String]
@@ -42,6 +72,7 @@ module Google
42
72
 
43
73
  # Update properties of this object
44
74
  def update!(**args)
75
+ @accelerator_configs = args[:accelerator_configs] if args.key?(:accelerator_configs)
45
76
  @name = args[:name] if args.key?(:name)
46
77
  @type = args[:type] if args.key?(:type)
47
78
  end
@@ -710,6 +741,11 @@ module Google
710
741
  class Node
711
742
  include Google::Apis::Core::Hashable
712
743
 
744
+ # A TPU accelerator configuration.
745
+ # Corresponds to the JSON property `acceleratorConfig`
746
+ # @return [Google::Apis::TpuV2alpha1::AcceleratorConfig]
747
+ attr_accessor :accelerator_config
748
+
713
749
  # The type of hardware accelerators associated with this node.
714
750
  # Corresponds to the JSON property `acceleratorType`
715
751
  # @return [String]
@@ -837,6 +873,7 @@ module Google
837
873
 
838
874
  # Update properties of this object
839
875
  def update!(**args)
876
+ @accelerator_config = args[:accelerator_config] if args.key?(:accelerator_config)
840
877
  @accelerator_type = args[:accelerator_type] if args.key?(:accelerator_type)
841
878
  @api_version = args[:api_version] if args.key?(:api_version)
842
879
  @cidr_block = args[:cidr_block] if args.key?(:cidr_block)
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module TpuV2alpha1
18
18
  # Version of the google-apis-tpu_v2alpha1 gem
19
- GEM_VERSION = "0.13.0"
19
+ GEM_VERSION = "0.14.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.11.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230105"
25
+ REVISION = "20230125"
26
26
  end
27
27
  end
28
28
  end
@@ -22,6 +22,12 @@ module Google
22
22
  module Apis
23
23
  module TpuV2alpha1
24
24
 
25
+ class AcceleratorConfig
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
25
31
  class AcceleratorType
26
32
  class Representation < Google::Apis::Core::JsonRepresentation; end
27
33
 
@@ -316,9 +322,19 @@ module Google
316
322
  include Google::Apis::Core::JsonObjectSupport
317
323
  end
318
324
 
325
+ class AcceleratorConfig
326
+ # @private
327
+ class Representation < Google::Apis::Core::JsonRepresentation
328
+ property :topology, as: 'topology'
329
+ property :type, as: 'type'
330
+ end
331
+ end
332
+
319
333
  class AcceleratorType
320
334
  # @private
321
335
  class Representation < Google::Apis::Core::JsonRepresentation
336
+ collection :accelerator_configs, as: 'acceleratorConfigs', class: Google::Apis::TpuV2alpha1::AcceleratorConfig, decorator: Google::Apis::TpuV2alpha1::AcceleratorConfig::Representation
337
+
322
338
  property :name, as: 'name'
323
339
  property :type, as: 'type'
324
340
  end
@@ -547,6 +563,8 @@ module Google
547
563
  class Node
548
564
  # @private
549
565
  class Representation < Google::Apis::Core::JsonRepresentation
566
+ property :accelerator_config, as: 'acceleratorConfig', class: Google::Apis::TpuV2alpha1::AcceleratorConfig, decorator: Google::Apis::TpuV2alpha1::AcceleratorConfig::Representation
567
+
550
568
  property :accelerator_type, as: 'acceleratorType'
551
569
  property :api_version, as: 'apiVersion'
552
570
  property :cidr_block, as: 'cidrBlock'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-tpu_v2alpha1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.13.0
4
+ version: 0.14.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: 2023-01-15 00:00:00.000000000 Z
11
+ date: 2023-01-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -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-tpu_v2alpha1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-tpu_v2alpha1/v0.13.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-tpu_v2alpha1/v0.14.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-tpu_v2alpha1
63
63
  post_install_message:
64
64
  rdoc_options: []