google-apis-tpu_v2alpha1 0.3.0 → 0.4.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: c4f30f69aeab6dc0f956f7b14179c0f1e640874946a7e603cd26de236a0e642a
4
- data.tar.gz: a0339c63f55cb58d8d5fd2c49334ce276c1f42bba2b80a2753a6237c48b6f761
3
+ metadata.gz: c372cc6fc010fca975d7ce054fb193ce8de9b1fb85c34844b5f10591d25c395d
4
+ data.tar.gz: cb60075ffcfec83137024baa41e0ee662cb77ee4b42689eb1fab48a7196ccbfc
5
5
  SHA512:
6
- metadata.gz: cc008fdc568af405b24892d741f80500e822f493a2a6f44be2b1b4d58a7c1468eee528f05d785cef775f0e0c412e844897f4f97949fb8b5363a5f3ff82d3fe46
7
- data.tar.gz: b5aed9b56d560ab48d0c3ef792bece98fe585cb865d521c23cf6a233db220225a82bb37ff1f4484e39b9b2c7929a855c0e29cabd0a93d47ac2c77df663c216f3
6
+ metadata.gz: 68d9e6d9fc966966921a315208b4027d4546f7fc1056b9238487d2ce7b248c1dccb8a95a54417256145b86b9fd2875d9d1e2241b1e7b888f03c5233981ee2464
7
+ data.tar.gz: c4b1769d5ca77954b682203f6a16df5784082ebc19a5db8ff7c12b64a898e32df318e7897363414d86c25cd4279f36348a70fb10224fe9d580de63e5030e31d5
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-tpu_v2alpha1
2
2
 
3
+ ### v0.4.0 (2022-03-06)
4
+
5
+ * Regenerated from discovery document revision 20220301
6
+ * Regenerated using generator version 0.4.1
7
+
3
8
  ### v0.3.0 (2021-12-14)
4
9
 
5
10
  * Unspecified changes
@@ -735,45 +735,43 @@ module Google
735
735
  end
736
736
  end
737
737
 
738
- # Represents the metadata of the long-running operation.
738
+ # Metadata describing an Operation
739
739
  class OperationMetadata
740
740
  include Google::Apis::Core::Hashable
741
741
 
742
- # Output only. API version used to start the operation.
742
+ # API version.
743
743
  # Corresponds to the JSON property `apiVersion`
744
744
  # @return [String]
745
745
  attr_accessor :api_version
746
746
 
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`.
747
+ # Specifies if cancellation was requested for the operation.
751
748
  # Corresponds to the JSON property `cancelRequested`
752
749
  # @return [Boolean]
753
750
  attr_accessor :cancel_requested
754
751
  alias_method :cancel_requested?, :cancel_requested
755
752
 
756
- # Output only. The time the operation was created.
753
+ # The time the operation was created.
757
754
  # Corresponds to the JSON property `createTime`
758
755
  # @return [String]
759
756
  attr_accessor :create_time
760
757
 
761
- # Output only. The time the operation finished running.
758
+ # The time the operation finished running.
762
759
  # Corresponds to the JSON property `endTime`
763
760
  # @return [String]
764
761
  attr_accessor :end_time
765
762
 
766
- # Output only. Human-readable status of the operation, if any.
763
+ # Human-readable status of the operation, if any.
767
764
  # Corresponds to the JSON property `statusDetail`
768
765
  # @return [String]
769
766
  attr_accessor :status_detail
770
767
 
771
- # Output only. Server-defined resource path for the target of the operation.
768
+ # Target of the operation - for example projects/project-1/connectivityTests/
769
+ # test-1
772
770
  # Corresponds to the JSON property `target`
773
771
  # @return [String]
774
772
  attr_accessor :target
775
773
 
776
- # Output only. Name of the verb executed by the operation.
774
+ # Name of the verb executed by the operation.
777
775
  # Corresponds to the JSON property `verb`
778
776
  # @return [String]
779
777
  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.3.0"
19
+ GEM_VERSION = "0.4.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 = "20220301"
26
26
  end
27
27
  end
28
28
  end
@@ -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.3.0
4
+ version: 0.4.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-01-10 00:00:00.000000000 Z
11
+ date: 2022-03-07 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.3.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-tpu_v2alpha1/v0.4.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.4
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