google-apis-tpu_v2alpha1 0.3.0 → 0.6.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 +4 -4
- data/CHANGELOG.md +13 -0
- data/lib/google/apis/tpu_v2alpha1/classes.rb +11 -14
- data/lib/google/apis/tpu_v2alpha1/gem_version.rb +3 -3
- data/lib/google/apis/tpu_v2alpha1/service.rb +10 -4
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b53b30cf5207b479b93fc2b0d4d498fb663fe7a807d8a35fae802734e133e6b9
|
4
|
+
data.tar.gz: f5f402dd81cdb4195a57996aeaddb2bfc5e178ef703ddc50d09c214e0b013f55
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6668da5d89c4464b715c335bd5d00c9823d9ade572c5ab998f70f3e56eb152fe0312a377feddfbeebb2203d9491958fe58d104fe1fbe320a14bd2e199efdedb7
|
7
|
+
data.tar.gz: 5a46a70e2942d477b44002d54f1f1589ac8e070bc8d2ee63c16b3417ec00cf7860f18f3c3a9250ed0470bff5d95bdf0ceee97bdeccef9872d8bac145bf628bda
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,18 @@
|
|
1
1
|
# Release history for google-apis-tpu_v2alpha1
|
2
2
|
|
3
|
+
### v0.6.0 (2022-06-17)
|
4
|
+
|
5
|
+
* Regenerated using generator version 0.6.0
|
6
|
+
|
7
|
+
### v0.5.0 (2022-04-17)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20220412
|
10
|
+
|
11
|
+
### v0.4.0 (2022-03-06)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20220301
|
14
|
+
* Regenerated using generator version 0.4.1
|
15
|
+
|
3
16
|
### v0.3.0 (2021-12-14)
|
4
17
|
|
5
18
|
* Unspecified changes
|
@@ -96,8 +96,7 @@ module Google
|
|
96
96
|
# A generic empty message that you can re-use to avoid defining duplicated empty
|
97
97
|
# messages in your APIs. A typical example is to use it as the request or the
|
98
98
|
# response type of an API method. For instance: service Foo ` rpc Bar(google.
|
99
|
-
# protobuf.Empty) returns (google.protobuf.Empty); `
|
100
|
-
# `Empty` is empty JSON object ````.
|
99
|
+
# protobuf.Empty) returns (google.protobuf.Empty); `
|
101
100
|
class Empty
|
102
101
|
include Google::Apis::Core::Hashable
|
103
102
|
|
@@ -533,7 +532,7 @@ module Google
|
|
533
532
|
class Node
|
534
533
|
include Google::Apis::Core::Hashable
|
535
534
|
|
536
|
-
#
|
535
|
+
# The type of hardware accelerators associated with this node.
|
537
536
|
# Corresponds to the JSON property `acceleratorType`
|
538
537
|
# @return [String]
|
539
538
|
attr_accessor :accelerator_type
|
@@ -735,45 +734,43 @@ module Google
|
|
735
734
|
end
|
736
735
|
end
|
737
736
|
|
738
|
-
#
|
737
|
+
# Metadata describing an Operation
|
739
738
|
class OperationMetadata
|
740
739
|
include Google::Apis::Core::Hashable
|
741
740
|
|
742
|
-
#
|
741
|
+
# API version.
|
743
742
|
# Corresponds to the JSON property `apiVersion`
|
744
743
|
# @return [String]
|
745
744
|
attr_accessor :api_version
|
746
745
|
|
747
|
-
#
|
748
|
-
# operation. Operations that have been cancelled successfully have Operation.
|
749
|
-
# error value with a google.rpc.Status.code of 1, corresponding to `Code.
|
750
|
-
# CANCELLED`.
|
746
|
+
# Specifies if cancellation was requested for the operation.
|
751
747
|
# Corresponds to the JSON property `cancelRequested`
|
752
748
|
# @return [Boolean]
|
753
749
|
attr_accessor :cancel_requested
|
754
750
|
alias_method :cancel_requested?, :cancel_requested
|
755
751
|
|
756
|
-
#
|
752
|
+
# The time the operation was created.
|
757
753
|
# Corresponds to the JSON property `createTime`
|
758
754
|
# @return [String]
|
759
755
|
attr_accessor :create_time
|
760
756
|
|
761
|
-
#
|
757
|
+
# The time the operation finished running.
|
762
758
|
# Corresponds to the JSON property `endTime`
|
763
759
|
# @return [String]
|
764
760
|
attr_accessor :end_time
|
765
761
|
|
766
|
-
#
|
762
|
+
# Human-readable status of the operation, if any.
|
767
763
|
# Corresponds to the JSON property `statusDetail`
|
768
764
|
# @return [String]
|
769
765
|
attr_accessor :status_detail
|
770
766
|
|
771
|
-
#
|
767
|
+
# Target of the operation - for example projects/project-1/connectivityTests/
|
768
|
+
# test-1
|
772
769
|
# Corresponds to the JSON property `target`
|
773
770
|
# @return [String]
|
774
771
|
attr_accessor :target
|
775
772
|
|
776
|
-
#
|
773
|
+
# Name of the verb executed by the operation.
|
777
774
|
# Corresponds to the JSON property `verb`
|
778
775
|
# @return [String]
|
779
776
|
attr_accessor :verb
|
@@ -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.6.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.6.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220412"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -117,8 +117,8 @@ module Google
|
|
117
117
|
# The resource that owns the locations collection, if applicable.
|
118
118
|
# @param [String] filter
|
119
119
|
# A filter to narrow down results to a preferred subset. The filtering language
|
120
|
-
# accepts strings like "displayName=tokyo"
|
121
|
-
# AIP-160](https://google.aip.dev/160).
|
120
|
+
# accepts strings like `"displayName=tokyo"`, and is documented in more detail
|
121
|
+
# in [AIP-160](https://google.aip.dev/160).
|
122
122
|
# @param [Fixnum] page_size
|
123
123
|
# The maximum number of results to return. If not set, the service selects a
|
124
124
|
# default.
|
@@ -233,6 +233,8 @@ module Google
|
|
233
233
|
# @param [Google::Apis::TpuV2alpha1::Node] node_object
|
234
234
|
# @param [String] node_id
|
235
235
|
# The unqualified resource name.
|
236
|
+
# @param [String] request_id
|
237
|
+
# Idempotent request UUID.
|
236
238
|
# @param [String] fields
|
237
239
|
# Selector specifying which fields to include in a partial response.
|
238
240
|
# @param [String] quota_user
|
@@ -250,7 +252,7 @@ module Google
|
|
250
252
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
251
253
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
252
254
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
253
|
-
def create_project_location_node(parent, node_object = nil, node_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
255
|
+
def create_project_location_node(parent, node_object = nil, node_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
254
256
|
command = make_simple_command(:post, 'v2alpha1/{+parent}/nodes', options)
|
255
257
|
command.request_representation = Google::Apis::TpuV2alpha1::Node::Representation
|
256
258
|
command.request_object = node_object
|
@@ -258,6 +260,7 @@ module Google
|
|
258
260
|
command.response_class = Google::Apis::TpuV2alpha1::Operation
|
259
261
|
command.params['parent'] = parent unless parent.nil?
|
260
262
|
command.query['nodeId'] = node_id unless node_id.nil?
|
263
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
261
264
|
command.query['fields'] = fields unless fields.nil?
|
262
265
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
263
266
|
execute_or_queue_command(command, &block)
|
@@ -266,6 +269,8 @@ module Google
|
|
266
269
|
# Deletes a node.
|
267
270
|
# @param [String] name
|
268
271
|
# Required. The resource name.
|
272
|
+
# @param [String] request_id
|
273
|
+
# Idempotent request UUID.
|
269
274
|
# @param [String] fields
|
270
275
|
# Selector specifying which fields to include in a partial response.
|
271
276
|
# @param [String] quota_user
|
@@ -283,11 +288,12 @@ module Google
|
|
283
288
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
284
289
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
285
290
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
286
|
-
def delete_project_location_node(name, fields: nil, quota_user: nil, options: nil, &block)
|
291
|
+
def delete_project_location_node(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
287
292
|
command = make_simple_command(:delete, 'v2alpha1/{+name}', options)
|
288
293
|
command.response_representation = Google::Apis::TpuV2alpha1::Operation::Representation
|
289
294
|
command.response_class = Google::Apis::TpuV2alpha1::Operation
|
290
295
|
command.params['name'] = name unless name.nil?
|
296
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
291
297
|
command.query['fields'] = fields unless fields.nil?
|
292
298
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
293
299
|
execute_or_queue_command(command, &block)
|
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.6.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-
|
11
|
+
date: 2022-06-20 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.6'
|
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.6'
|
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.6.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.3.
|
78
|
+
rubygems_version: 3.3.14
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Cloud TPU API V2alpha1
|