google-apis-tpu_v2alpha1 0.16.0 → 0.18.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2c087a3d600f8cc597428bb21162381de5a2f3894cac2dd8b61085ae1ec48219
4
- data.tar.gz: b7f8c83c77e6616893573b9e291dabcce4b4ed8ddb9fc6cb5e39c97519e8ccf0
3
+ metadata.gz: 4d5f0f4e183de6ff19ee92a657a889db0891138b8a2a1272edea8223328f334b
4
+ data.tar.gz: 318688823a37ef8ad2870f9f3d2033b55ca83e318b9b67597a6080d4a40dc71a
5
5
  SHA512:
6
- metadata.gz: f58bccad9722f6c0c4aa8cdfa78fca822ab9b775ac89684f326dcc7b29319d37e23020ae8e54c4ca2814960d6c3fbffa184858dfd7498592faf3e45e2b4ba68a
7
- data.tar.gz: 0a951077fcd4a982e63d6958120001411d8e03dac4e865db6b8266ee03a91694bd8b5aeec8e9e1076987ea0dd4553d40f1ce1a49f3840a13939e2e04e00fc93f
6
+ metadata.gz: 51e6a04b13afb02ecc383804404955d5b26f491df8cb5259089cbe522ccda1f85834b456f3b24642ddb60e99eaa7d83aee1c94455f4cb4a810fb39b2a63fb9d3
7
+ data.tar.gz: d1bbe950b586aa449169b2956173aaa12c319306326d8500c86422249861586d04db13522df159391319b5e98967f5974c43a57bf25767f4d188229e6ff3df66
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-tpu_v2alpha1
2
2
 
3
+ ### v0.18.0 (2023-04-16)
4
+
5
+ * Regenerated from discovery document revision 20230410
6
+
7
+ ### v0.17.0 (2023-04-02)
8
+
9
+ * Regenerated from discovery document revision 20230330
10
+
3
11
  ### v0.16.0 (2023-03-26)
4
12
 
5
13
  * Regenerated from discovery document revision 20230316
@@ -1092,6 +1092,12 @@ module Google
1092
1092
  # @return [Google::Apis::TpuV2alpha1::QueueingPolicy]
1093
1093
  attr_accessor :queueing_policy
1094
1094
 
1095
+ # Name of the reservation in which the resource should be provisioned. Format:
1096
+ # projects/`project`/locations/`zone`/reservations/`reservation`
1097
+ # Corresponds to the JSON property `reservationName`
1098
+ # @return [String]
1099
+ attr_accessor :reservation_name
1100
+
1095
1101
  # QueuedResourceState defines the details of the QueuedResource request.
1096
1102
  # Corresponds to the JSON property `state`
1097
1103
  # @return [Google::Apis::TpuV2alpha1::QueuedResourceState]
@@ -1112,6 +1118,7 @@ module Google
1112
1118
  @guaranteed = args[:guaranteed] if args.key?(:guaranteed)
1113
1119
  @name = args[:name] if args.key?(:name)
1114
1120
  @queueing_policy = args[:queueing_policy] if args.key?(:queueing_policy)
1121
+ @reservation_name = args[:reservation_name] if args.key?(:reservation_name)
1115
1122
  @state = args[:state] if args.key?(:state)
1116
1123
  @tpu = args[:tpu] if args.key?(:tpu)
1117
1124
  end
@@ -1232,19 +1239,6 @@ module Google
1232
1239
  end
1233
1240
  end
1234
1241
 
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
-
1248
1242
  # A runtime version that a Node can be configured with.
1249
1243
  class RuntimeVersion
1250
1244
  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.16.0"
19
+ GEM_VERSION = "0.18.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230316"
25
+ REVISION = "20230410"
26
26
  end
27
27
  end
28
28
  end
@@ -244,12 +244,6 @@ 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
-
253
247
  class RuntimeVersion
254
248
  class Representation < Google::Apis::Core::JsonRepresentation; end
255
249
 
@@ -654,6 +648,7 @@ module Google
654
648
  property :name, as: 'name'
655
649
  property :queueing_policy, as: 'queueingPolicy', class: Google::Apis::TpuV2alpha1::QueueingPolicy, decorator: Google::Apis::TpuV2alpha1::QueueingPolicy::Representation
656
650
 
651
+ property :reservation_name, as: 'reservationName'
657
652
  property :state, as: 'state', class: Google::Apis::TpuV2alpha1::QueuedResourceState, decorator: Google::Apis::TpuV2alpha1::QueuedResourceState::Representation
658
653
 
659
654
  property :tpu, as: 'tpu', class: Google::Apis::TpuV2alpha1::Tpu, decorator: Google::Apis::TpuV2alpha1::Tpu::Representation
@@ -696,12 +691,6 @@ module Google
696
691
  end
697
692
  end
698
693
 
699
- class ResetQueuedResourceRequest
700
- # @private
701
- class Representation < Google::Apis::Core::JsonRepresentation
702
- end
703
- end
704
-
705
694
  class RuntimeVersion
706
695
  # @private
707
696
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -680,7 +680,7 @@ module Google
680
680
  # Required. The parent resource name.
681
681
  # @param [Google::Apis::TpuV2alpha1::QueuedResource] queued_resource_object
682
682
  # @param [String] queued_resource_id
683
- # The unqualified resource name. Should follow the ^[A-Za-z0-9_.~+%-]+$ regex
683
+ # The unqualified resource name. Should follow the `^[A-Za-z0-9_.~+%-]+$` regex
684
684
  # format.
685
685
  # @param [String] request_id
686
686
  # Idempotent request UUID.
@@ -814,39 +814,6 @@ module Google
814
814
  execute_or_queue_command(command, &block)
815
815
  end
816
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
-
850
817
  # Gets a runtime version.
851
818
  # @param [String] name
852
819
  # 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.16.0
4
+ version: 0.18.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-03-26 00:00:00.000000000 Z
11
+ date: 2023-04-16 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.16.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-tpu_v2alpha1/v0.18.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: []