google-cloud-tpu-v1 0.7.0 → 1.0.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: d33b59ac87142efd34871bf3e282465a9d3509e0d1d9f74c44c3e31e6a40c8ed
|
4
|
+
data.tar.gz: c663e2381c2b026a264b32435650d32b1a5f7b021ee69b4a838a208dc66d55de
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d288363c89362e3397a7a8c145348128537e0f0b0bd1d9d939f2b549f4daa165e82c2957fe67c043f9ea9d34706c5255bb795d6c9e75e4ab149883345d2c45e9
|
7
|
+
data.tar.gz: 3a1a535088211abf2bcd9ad474e0b955f9f30875358c8b874e58f1f5e58a9403c8dd745e19ebbccbac89a1a2da1e0fa540d02b8c1e2cdbb402170818f3111422
|
@@ -33,6 +33,9 @@ module Google
|
|
33
33
|
# TPU API v1
|
34
34
|
#
|
35
35
|
class Client
|
36
|
+
# @private
|
37
|
+
API_VERSION = ""
|
38
|
+
|
36
39
|
# @private
|
37
40
|
DEFAULT_ENDPOINT_TEMPLATE = "tpu.$UNIVERSE_DOMAIN$"
|
38
41
|
|
@@ -256,10 +259,11 @@ module Google
|
|
256
259
|
# Customize the options with defaults
|
257
260
|
metadata = @config.rpcs.list_nodes.metadata.to_h
|
258
261
|
|
259
|
-
# Set x-goog-api-client
|
262
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
260
263
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
261
264
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
262
265
|
gapic_version: ::Google::Cloud::Tpu::V1::VERSION
|
266
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
263
267
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
264
268
|
|
265
269
|
header_params = {}
|
@@ -342,10 +346,11 @@ module Google
|
|
342
346
|
# Customize the options with defaults
|
343
347
|
metadata = @config.rpcs.get_node.metadata.to_h
|
344
348
|
|
345
|
-
# Set x-goog-api-client
|
349
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
346
350
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
347
351
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
348
352
|
gapic_version: ::Google::Cloud::Tpu::V1::VERSION
|
353
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
349
354
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
350
355
|
|
351
356
|
header_params = {}
|
@@ -438,10 +443,11 @@ module Google
|
|
438
443
|
# Customize the options with defaults
|
439
444
|
metadata = @config.rpcs.create_node.metadata.to_h
|
440
445
|
|
441
|
-
# Set x-goog-api-client
|
446
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
442
447
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
443
448
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
444
449
|
gapic_version: ::Google::Cloud::Tpu::V1::VERSION
|
450
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
445
451
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
446
452
|
|
447
453
|
header_params = {}
|
@@ -531,10 +537,11 @@ module Google
|
|
531
537
|
# Customize the options with defaults
|
532
538
|
metadata = @config.rpcs.delete_node.metadata.to_h
|
533
539
|
|
534
|
-
# Set x-goog-api-client
|
540
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
535
541
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
536
542
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
537
543
|
gapic_version: ::Google::Cloud::Tpu::V1::VERSION
|
544
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
538
545
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
539
546
|
|
540
547
|
header_params = {}
|
@@ -626,10 +633,11 @@ module Google
|
|
626
633
|
# Customize the options with defaults
|
627
634
|
metadata = @config.rpcs.reimage_node.metadata.to_h
|
628
635
|
|
629
|
-
# Set x-goog-api-client
|
636
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
630
637
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
631
638
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
632
639
|
gapic_version: ::Google::Cloud::Tpu::V1::VERSION
|
640
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
633
641
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
634
642
|
|
635
643
|
header_params = {}
|
@@ -719,10 +727,11 @@ module Google
|
|
719
727
|
# Customize the options with defaults
|
720
728
|
metadata = @config.rpcs.stop_node.metadata.to_h
|
721
729
|
|
722
|
-
# Set x-goog-api-client
|
730
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
723
731
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
724
732
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
725
733
|
gapic_version: ::Google::Cloud::Tpu::V1::VERSION
|
734
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
726
735
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
727
736
|
|
728
737
|
header_params = {}
|
@@ -812,10 +821,11 @@ module Google
|
|
812
821
|
# Customize the options with defaults
|
813
822
|
metadata = @config.rpcs.start_node.metadata.to_h
|
814
823
|
|
815
|
-
# Set x-goog-api-client
|
824
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
816
825
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
817
826
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
818
827
|
gapic_version: ::Google::Cloud::Tpu::V1::VERSION
|
828
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
819
829
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
820
830
|
|
821
831
|
header_params = {}
|
@@ -910,10 +920,11 @@ module Google
|
|
910
920
|
# Customize the options with defaults
|
911
921
|
metadata = @config.rpcs.list_tensor_flow_versions.metadata.to_h
|
912
922
|
|
913
|
-
# Set x-goog-api-client
|
923
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
914
924
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
915
925
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
916
926
|
gapic_version: ::Google::Cloud::Tpu::V1::VERSION
|
927
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
917
928
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
918
929
|
|
919
930
|
header_params = {}
|
@@ -996,10 +1007,11 @@ module Google
|
|
996
1007
|
# Customize the options with defaults
|
997
1008
|
metadata = @config.rpcs.get_tensor_flow_version.metadata.to_h
|
998
1009
|
|
999
|
-
# Set x-goog-api-client
|
1010
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1000
1011
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1001
1012
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1002
1013
|
gapic_version: ::Google::Cloud::Tpu::V1::VERSION
|
1014
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1003
1015
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1004
1016
|
|
1005
1017
|
header_params = {}
|
@@ -1093,10 +1105,11 @@ module Google
|
|
1093
1105
|
# Customize the options with defaults
|
1094
1106
|
metadata = @config.rpcs.list_accelerator_types.metadata.to_h
|
1095
1107
|
|
1096
|
-
# Set x-goog-api-client
|
1108
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1097
1109
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1098
1110
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1099
1111
|
gapic_version: ::Google::Cloud::Tpu::V1::VERSION
|
1112
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1100
1113
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1101
1114
|
|
1102
1115
|
header_params = {}
|
@@ -1179,10 +1192,11 @@ module Google
|
|
1179
1192
|
# Customize the options with defaults
|
1180
1193
|
metadata = @config.rpcs.get_accelerator_type.metadata.to_h
|
1181
1194
|
|
1182
|
-
# Set x-goog-api-client
|
1195
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1183
1196
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1184
1197
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1185
1198
|
gapic_version: ::Google::Cloud::Tpu::V1::VERSION
|
1199
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1186
1200
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1187
1201
|
|
1188
1202
|
header_params = {}
|
@@ -26,6 +26,9 @@ module Google
|
|
26
26
|
module Tpu
|
27
27
|
# Service that implements Longrunning Operations API.
|
28
28
|
class Operations
|
29
|
+
# @private
|
30
|
+
API_VERSION = ""
|
31
|
+
|
29
32
|
# @private
|
30
33
|
DEFAULT_ENDPOINT_TEMPLATE = "tpu.$UNIVERSE_DOMAIN$"
|
31
34
|
|
@@ -191,10 +194,11 @@ module Google
|
|
191
194
|
# Customize the options with defaults
|
192
195
|
metadata = @config.rpcs.list_operations.metadata.to_h
|
193
196
|
|
194
|
-
# Set x-goog-api-client
|
197
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
195
198
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
196
199
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
197
200
|
gapic_version: ::Google::Cloud::Tpu::V1::VERSION
|
201
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
198
202
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
199
203
|
|
200
204
|
header_params = {}
|
@@ -287,10 +291,11 @@ module Google
|
|
287
291
|
# Customize the options with defaults
|
288
292
|
metadata = @config.rpcs.get_operation.metadata.to_h
|
289
293
|
|
290
|
-
# Set x-goog-api-client
|
294
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
291
295
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
292
296
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
293
297
|
gapic_version: ::Google::Cloud::Tpu::V1::VERSION
|
298
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
294
299
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
295
300
|
|
296
301
|
header_params = {}
|
@@ -376,10 +381,11 @@ module Google
|
|
376
381
|
# Customize the options with defaults
|
377
382
|
metadata = @config.rpcs.delete_operation.metadata.to_h
|
378
383
|
|
379
|
-
# Set x-goog-api-client
|
384
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
380
385
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
381
386
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
382
387
|
gapic_version: ::Google::Cloud::Tpu::V1::VERSION
|
388
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
383
389
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
384
390
|
|
385
391
|
header_params = {}
|
@@ -470,10 +476,11 @@ module Google
|
|
470
476
|
# Customize the options with defaults
|
471
477
|
metadata = @config.rpcs.cancel_operation.metadata.to_h
|
472
478
|
|
473
|
-
# Set x-goog-api-client
|
479
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
474
480
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
475
481
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
476
482
|
gapic_version: ::Google::Cloud::Tpu::V1::VERSION
|
483
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
477
484
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
478
485
|
|
479
486
|
header_params = {}
|
@@ -574,10 +581,11 @@ module Google
|
|
574
581
|
# Customize the options with defaults
|
575
582
|
metadata = @config.rpcs.wait_operation.metadata.to_h
|
576
583
|
|
577
|
-
# Set x-goog-api-client
|
584
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
578
585
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
579
586
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
580
587
|
gapic_version: ::Google::Cloud::Tpu::V1::VERSION
|
588
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
581
589
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
582
590
|
|
583
591
|
options.apply_defaults timeout: @config.rpcs.wait_operation.timeout,
|
@@ -118,6 +118,10 @@ module Google
|
|
118
118
|
# @return [::String]
|
119
119
|
# Optional link to proto reference documentation. Example:
|
120
120
|
# https://cloud.google.com/pubsub/lite/docs/reference/rpc
|
121
|
+
# @!attribute [rw] rest_reference_documentation_uri
|
122
|
+
# @return [::String]
|
123
|
+
# Optional link to REST reference documentation. Example:
|
124
|
+
# https://cloud.google.com/pubsub/lite/docs/reference/rest
|
121
125
|
class Publishing
|
122
126
|
include ::Google::Protobuf::MessageExts
|
123
127
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-tpu-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 1.0.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: 2024-
|
11
|
+
date: 2024-07-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|