google-apis-tpu_v2alpha1 0.2.0 → 0.5.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: a3427b5f60a7f817087502886535206c29f0675fcb0039b9d86b207412a8a0ed
4
- data.tar.gz: 1720c899de985ea777526723f3576ed76e9cf7a983d5a092200bde6d00ce132f
3
+ metadata.gz: 9a73ee8ff304611ae9723a46f7da7efcb92d1abf2b62a1063ee4c7ba794d3805
4
+ data.tar.gz: 0a050876dc26db5cd5c13f6093aa152530160f9eee7b25009b1a22449d9b0d41
5
5
  SHA512:
6
- metadata.gz: 411ef08fd714da516b0d03a31294e9ec95b7a0285b62f3ff11d1d57b979399be1ed57bd7cc4d7c961836998f3de391a35727beb80d7490c32567c0cf431720fb
7
- data.tar.gz: f78505fdedb20f4cda402b519ea7caca6810b948059fc1db841ae10a1175d5c0428322c0215becb96140fa1c6d3c056a949800e86e84108bac07ae092eb83771
6
+ metadata.gz: f558c497c171a1a6ff21c7882e333e1eb22c70bbf2933b7a453150afb7d9c6bd49e901559dd37ea5b3267e0a2b94f57b16c3442db146ef0dec23a71a7dc0fe43
7
+ data.tar.gz: c845fd22937a581ee4d5ab07e78b2052b9b06e95f5150c482d588bf773226513611a5ebdad84607c44762aa57d4d9a10a1dbe32b322728ef0f8cfd85e822f20a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # Release history for google-apis-tpu_v2alpha1
2
2
 
3
+ ### v0.5.0 (2022-04-17)
4
+
5
+ * Regenerated from discovery document revision 20220412
6
+
7
+ ### v0.4.0 (2022-03-06)
8
+
9
+ * Regenerated from discovery document revision 20220301
10
+ * Regenerated using generator version 0.4.1
11
+
12
+ ### v0.3.0 (2021-12-14)
13
+
14
+ * Unspecified changes
15
+
3
16
  ### v0.2.0 (2021-11-13)
4
17
 
5
18
  * Regenerated from discovery document revision 20211108
data/OVERVIEW.md CHANGED
@@ -51,7 +51,7 @@ require "google/apis/tpu_v2alpha1"
51
51
  client = Google::Apis::TpuV2alpha1::TPUService.new
52
52
 
53
53
  # Authenticate calls
54
- client.authentication = # ... use the googleauth gem to create credentials
54
+ client.authorization = # ... use the googleauth gem to create credentials
55
55
  ```
56
56
 
57
57
  See the class reference docs for information on the methods you can call from a client.
@@ -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); ` The JSON representation for
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
- # Required. The type of hardware accelerators associated with this node.
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
- # Represents the metadata of the long-running operation.
737
+ # Metadata describing an Operation
739
738
  class OperationMetadata
740
739
  include Google::Apis::Core::Hashable
741
740
 
742
- # Output only. API version used to start the operation.
741
+ # API version.
743
742
  # Corresponds to the JSON property `apiVersion`
744
743
  # @return [String]
745
744
  attr_accessor :api_version
746
745
 
747
- # Output only. Identifies whether the user has requested cancellation of the
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
- # Output only. The time the operation was created.
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
- # Output only. The time the operation finished running.
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
- # Output only. Human-readable status of the operation, if any.
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
- # Output only. Server-defined resource path for the target of the operation.
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
- # Output only. Name of the verb executed by the operation.
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.2.0"
19
+ GEM_VERSION = "0.5.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.4.0"
22
+ GENERATOR_VERSION = "0.4.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20211108"
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", and is documented in more detail in [
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.2.0
4
+ version: 0.5.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: 2021-11-15 00:00:00.000000000 Z
11
+ date: 2022-04-18 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.2.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-tpu_v2alpha1/v0.5.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.2.17
78
+ rubygems_version: 3.3.5
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Cloud TPU API V2alpha1