google-apis-tpu_v2alpha1 0.14.0 → 0.16.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: 43cd46d69cf8594d86b655ec78d50ee87d1f3c6ce1fc696710f1bd7b0c2289e1
4
- data.tar.gz: 5258379013872baa509b967fad028921b4617d0922948b89a89fdb22cb2ddcba
3
+ metadata.gz: 2c087a3d600f8cc597428bb21162381de5a2f3894cac2dd8b61085ae1ec48219
4
+ data.tar.gz: b7f8c83c77e6616893573b9e291dabcce4b4ed8ddb9fc6cb5e39c97519e8ccf0
5
5
  SHA512:
6
- metadata.gz: a07beaf109198c58c9f6e683eafbec47b67bd26d0dff0a308db40fa49598e526a6f32b946d82dba660b915c2ae92440fb8a16768435259c84c0720839a2a0d19
7
- data.tar.gz: 5622611ebf59dedfc7b4478057d891475977ee01f038d4fd7d5f5d927e976af55ff6e044e171782043426b0e01279d63528066c628c8e909c7bd8f7479d61044
6
+ metadata.gz: f58bccad9722f6c0c4aa8cdfa78fca822ab9b775ac89684f326dcc7b29319d37e23020ae8e54c4ca2814960d6c3fbffa184858dfd7498592faf3e45e2b4ba68a
7
+ data.tar.gz: 0a951077fcd4a982e63d6958120001411d8e03dac4e865db6b8266ee03a91694bd8b5aeec8e9e1076987ea0dd4553d40f1ce1a49f3840a13939e2e04e00fc93f
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-tpu_v2alpha1
2
2
 
3
+ ### v0.16.0 (2023-03-26)
4
+
5
+ * Regenerated from discovery document revision 20230316
6
+
7
+ ### v0.15.0 (2023-02-19)
8
+
9
+ * Regenerated using generator version 0.12.0
10
+
3
11
  ### v0.14.0 (2023-01-29)
4
12
 
5
13
  * Regenerated from discovery document revision 20230125
@@ -1232,6 +1232,19 @@ module Google
1232
1232
  end
1233
1233
  end
1234
1234
 
1235
+ # Request for ResetQueuedResource.
1236
+ class ResetQueuedResourceRequest
1237
+ include Google::Apis::Core::Hashable
1238
+
1239
+ def initialize(**args)
1240
+ update!(**args)
1241
+ end
1242
+
1243
+ # Update properties of this object
1244
+ def update!(**args)
1245
+ end
1246
+ end
1247
+
1235
1248
  # A runtime version that a Node can be configured with.
1236
1249
  class RuntimeVersion
1237
1250
  include Google::Apis::Core::Hashable
@@ -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.14.0"
19
+ GEM_VERSION = "0.16.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.11.1"
22
+ GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230125"
25
+ REVISION = "20230316"
26
26
  end
27
27
  end
28
28
  end
@@ -244,6 +244,12 @@ module Google
244
244
  include Google::Apis::Core::JsonObjectSupport
245
245
  end
246
246
 
247
+ class ResetQueuedResourceRequest
248
+ class Representation < Google::Apis::Core::JsonRepresentation; end
249
+
250
+ include Google::Apis::Core::JsonObjectSupport
251
+ end
252
+
247
253
  class RuntimeVersion
248
254
  class Representation < Google::Apis::Core::JsonRepresentation; end
249
255
 
@@ -690,6 +696,12 @@ module Google
690
696
  end
691
697
  end
692
698
 
699
+ class ResetQueuedResourceRequest
700
+ # @private
701
+ class Representation < Google::Apis::Core::JsonRepresentation
702
+ end
703
+ end
704
+
693
705
  class RuntimeVersion
694
706
  # @private
695
707
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -636,13 +636,7 @@ module Google
636
636
  end
637
637
 
638
638
  # Lists operations that match the specified filter in the request. If the server
639
- # doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name`
640
- # binding allows API services to override the binding to use different resource
641
- # name schemes, such as `users/*/operations`. To override the binding, API
642
- # services can add a binding such as `"/v1/`name=users/*`/operations"` to their
643
- # service configuration. For backwards compatibility, the default name includes
644
- # the operations collection id, however overriding users must ensure the name
645
- # binding is the parent resource, without the operations collection id.
639
+ # doesn't support this method, it returns `UNIMPLEMENTED`.
646
640
  # @param [String] name
647
641
  # The name of the operation's parent resource.
648
642
  # @param [String] filter
@@ -820,6 +814,39 @@ module Google
820
814
  execute_or_queue_command(command, &block)
821
815
  end
822
816
 
817
+ # Resets a QueuedResource TPU instance
818
+ # @param [String] name
819
+ # Required. The name of the queued resource.
820
+ # @param [Google::Apis::TpuV2alpha1::ResetQueuedResourceRequest] reset_queued_resource_request_object
821
+ # @param [String] fields
822
+ # Selector specifying which fields to include in a partial response.
823
+ # @param [String] quota_user
824
+ # Available to use for quota purposes for server-side applications. Can be any
825
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
826
+ # @param [Google::Apis::RequestOptions] options
827
+ # Request-specific options
828
+ #
829
+ # @yield [result, err] Result & error if block supplied
830
+ # @yieldparam result [Google::Apis::TpuV2alpha1::Operation] parsed result object
831
+ # @yieldparam err [StandardError] error object if request failed
832
+ #
833
+ # @return [Google::Apis::TpuV2alpha1::Operation]
834
+ #
835
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
836
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
837
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
838
+ def reset_queued_resource(name, reset_queued_resource_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
839
+ command = make_simple_command(:post, 'v2alpha1/{+name}:reset', options)
840
+ command.request_representation = Google::Apis::TpuV2alpha1::ResetQueuedResourceRequest::Representation
841
+ command.request_object = reset_queued_resource_request_object
842
+ command.response_representation = Google::Apis::TpuV2alpha1::Operation::Representation
843
+ command.response_class = Google::Apis::TpuV2alpha1::Operation
844
+ command.params['name'] = name unless name.nil?
845
+ command.query['fields'] = fields unless fields.nil?
846
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
847
+ execute_or_queue_command(command, &block)
848
+ end
849
+
823
850
  # Gets a runtime version.
824
851
  # @param [String] name
825
852
  # Required. The resource name.
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.14.0
4
+ version: 0.16.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: 2023-01-29 00:00:00.000000000 Z
11
+ date: 2023-03-26 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.9.1
19
+ version: 0.11.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.9.1
29
+ version: 0.11.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.14.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-tpu_v2alpha1/v0.16.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: []