google-apis-tpu_v2alpha1 0.26.0 → 0.28.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0a904ca7085dd3555b7c8123bd5cbe78e6c37b416f4133852354a116382479ca
|
4
|
+
data.tar.gz: a44c84d437f040e77e4b5318f1b7386ae5f33590c8d087a4124adff018adc38f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0df8255c5eaea968cc06196832fc70cf766e4a8c08ee18e4b7114f95bd101b9f86d02e336b7e7705611c0de0279e05e3b4e06f056dc92fcbcbc80288e4e98c5a
|
7
|
+
data.tar.gz: 0c8d9e0c217e09caa1b8f337b39e0de047f74cca126f66cc6dd60ec2d625948c3311fc1baff54097fc41112e6182121f4ae062f9b8222a80cba78a4a30f2e6df
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,15 @@
|
|
1
1
|
# Release history for google-apis-tpu_v2alpha1
|
2
2
|
|
3
|
+
### v0.28.0 (2024-02-04)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20240126
|
6
|
+
* Regenerated using generator version 0.13.1
|
7
|
+
|
8
|
+
### v0.27.0 (2024-01-22)
|
9
|
+
|
10
|
+
* Regenerated from discovery document revision 20240111
|
11
|
+
* Regenerated using generator version 0.13.0
|
12
|
+
|
3
13
|
### v0.26.0 (2023-11-12)
|
4
14
|
|
5
15
|
* Regenerated from discovery document revision 20231102
|
@@ -792,6 +792,12 @@ module Google
|
|
792
792
|
# @return [String]
|
793
793
|
attr_accessor :network
|
794
794
|
|
795
|
+
# Optional. Specifies networking queue count for TPU VM instance's network
|
796
|
+
# interface.
|
797
|
+
# Corresponds to the JSON property `queueCount`
|
798
|
+
# @return [Fixnum]
|
799
|
+
attr_accessor :queue_count
|
800
|
+
|
795
801
|
# The name of the subnetwork for the TPU node. It must be a preexisting Google
|
796
802
|
# Compute Engine subnetwork. If none is provided, "default" will be used.
|
797
803
|
# Corresponds to the JSON property `subnetwork`
|
@@ -807,6 +813,7 @@ module Google
|
|
807
813
|
@can_ip_forward = args[:can_ip_forward] if args.key?(:can_ip_forward)
|
808
814
|
@enable_external_ips = args[:enable_external_ips] if args.key?(:enable_external_ips)
|
809
815
|
@network = args[:network] if args.key?(:network)
|
816
|
+
@queue_count = args[:queue_count] if args.key?(:queue_count)
|
810
817
|
@subnetwork = args[:subnetwork] if args.key?(:subnetwork)
|
811
818
|
end
|
812
819
|
end
|
@@ -1471,6 +1478,12 @@ module Google
|
|
1471
1478
|
attr_accessor :reserved
|
1472
1479
|
alias_method :reserved?, :reserved
|
1473
1480
|
|
1481
|
+
# Optional. Defines whether the node is Spot VM.
|
1482
|
+
# Corresponds to the JSON property `spot`
|
1483
|
+
# @return [Boolean]
|
1484
|
+
attr_accessor :spot
|
1485
|
+
alias_method :spot?, :spot
|
1486
|
+
|
1474
1487
|
def initialize(**args)
|
1475
1488
|
update!(**args)
|
1476
1489
|
end
|
@@ -1479,6 +1492,7 @@ module Google
|
|
1479
1492
|
def update!(**args)
|
1480
1493
|
@preemptible = args[:preemptible] if args.key?(:preemptible)
|
1481
1494
|
@reserved = args[:reserved] if args.key?(:reserved)
|
1495
|
+
@spot = args[:spot] if args.key?(:spot)
|
1482
1496
|
end
|
1483
1497
|
end
|
1484
1498
|
|
@@ -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.28.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.13.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20240126"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -633,6 +633,7 @@ module Google
|
|
633
633
|
property :can_ip_forward, as: 'canIpForward'
|
634
634
|
property :enable_external_ips, as: 'enableExternalIps'
|
635
635
|
property :network, as: 'network'
|
636
|
+
property :queue_count, as: 'queueCount'
|
636
637
|
property :subnetwork, as: 'subnetwork'
|
637
638
|
end
|
638
639
|
end
|
@@ -816,6 +817,7 @@ module Google
|
|
816
817
|
class Representation < Google::Apis::Core::JsonRepresentation
|
817
818
|
property :preemptible, as: 'preemptible'
|
818
819
|
property :reserved, as: 'reserved'
|
820
|
+
property :spot, as: 'spot'
|
819
821
|
end
|
820
822
|
end
|
821
823
|
|
@@ -32,6 +32,8 @@ module Google
|
|
32
32
|
#
|
33
33
|
# @see https://cloud.google.com/tpu/
|
34
34
|
class TPUService < Google::Apis::Core::BaseService
|
35
|
+
DEFAULT_ENDPOINT_TEMPLATE = "https://tpu.$UNIVERSE_DOMAIN$/"
|
36
|
+
|
35
37
|
# @return [String]
|
36
38
|
# API key. Your API key identifies your project and provides you with API access,
|
37
39
|
# quota, and reports. Required unless you provide an OAuth 2.0 token.
|
@@ -43,7 +45,7 @@ module Google
|
|
43
45
|
attr_accessor :quota_user
|
44
46
|
|
45
47
|
def initialize
|
46
|
-
super(
|
48
|
+
super(DEFAULT_ENDPOINT_TEMPLATE, '',
|
47
49
|
client_name: 'google-apis-tpu_v2alpha1',
|
48
50
|
client_version: Google::Apis::TpuV2alpha1::GEM_VERSION)
|
49
51
|
@batch_path = 'batch'
|
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.28.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:
|
11
|
+
date: 2024-02-04 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.12.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.12.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.28.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: []
|
@@ -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.
|
78
|
+
rubygems_version: 3.5.3
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Cloud TPU API V2alpha1
|