google-apis-tpu_v2alpha1 0.13.0 → 0.15.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '03263289f4b0ad32b5c8d5e84662ef194534df0355ca0ad15dfc2f2805a7cc03'
|
4
|
+
data.tar.gz: 7e3f840fa4d49d144a6688d7cf0b34b4c1527eac9cf37c73af16c74dcd1ad731
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e339476ee08f6d90c2375145958900560420bc3319fc99692487771f16df85393da04669001c233ae3422700ba692cf849f0240035d4a4f4f79ff21416f20524
|
7
|
+
data.tar.gz: cb5df9e16cece5c80061ee127ac8f6ebcdb64b0e7b1c8f1329995616dd3c70e80205848031beadeb64e44b65b15bfe0abdf643250eaa97e6683b6ae60f15efe6
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-tpu_v2alpha1
|
2
2
|
|
3
|
+
### v0.15.0 (2023-02-19)
|
4
|
+
|
5
|
+
* Regenerated using generator version 0.12.0
|
6
|
+
|
7
|
+
### v0.14.0 (2023-01-29)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230125
|
10
|
+
|
3
11
|
### v0.13.0 (2023-01-15)
|
4
12
|
|
5
13
|
* 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.
|
19
|
+
GEM_VERSION = "0.15.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.12.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
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.
|
4
|
+
version: 0.15.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-
|
11
|
+
date: 2023-02-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.
|
19
|
+
version: 0.11.0
|
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.
|
29
|
+
version: 0.11.0
|
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-tpu_v2alpha1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-tpu_v2alpha1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-tpu_v2alpha1/v0.15.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: []
|