google-apis-tpu_v2alpha1 0.44.0 → 0.46.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: affa98e2818865cdd7c644441d560b12706010b3e0167fdce0c791172b993d84
|
4
|
+
data.tar.gz: ea4605410046cacfb0fa6bb8ed525cb4f0325e0c25ca02e9bbdcff1d2da94fba
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 12e1172948fca6e8826b490a9af24a19b102954172b3073ea044ca72a3db04fe98ccfd0bc6688f00b3eceab744b19bb755fc869b082c7e310dda7f78da87b27b
|
7
|
+
data.tar.gz: 8c3b23e974089d2f0468715ec234c8e77bf82c8f86959b75bc9274ae148f24f80b7ab887c0f3413424a54bac40ca0ec096f640b01a0f710e3a6a94da09cfb48a
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-tpu_v2alpha1
|
2
2
|
|
3
|
+
### v0.46.0 (2025-09-28)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20250918
|
6
|
+
|
7
|
+
### v0.45.0 (2025-09-14)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20250903
|
10
|
+
|
3
11
|
### v0.44.0 (2025-08-24)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20250815
|
@@ -211,6 +211,12 @@ module Google
|
|
211
211
|
# @return [String]
|
212
212
|
attr_accessor :source_image
|
213
213
|
|
214
|
+
# Optional. The storage pool in which the boot disk is created. You can provide
|
215
|
+
# this as a partial or full URL to the resource.
|
216
|
+
# Corresponds to the JSON property `storagePool`
|
217
|
+
# @return [String]
|
218
|
+
attr_accessor :storage_pool
|
219
|
+
|
214
220
|
def initialize(**args)
|
215
221
|
update!(**args)
|
216
222
|
end
|
@@ -223,6 +229,7 @@ module Google
|
|
223
229
|
@provisioned_iops = args[:provisioned_iops] if args.key?(:provisioned_iops)
|
224
230
|
@provisioned_throughput = args[:provisioned_throughput] if args.key?(:provisioned_throughput)
|
225
231
|
@source_image = args[:source_image] if args.key?(:source_image)
|
232
|
+
@storage_pool = args[:storage_pool] if args.key?(:storage_pool)
|
226
233
|
end
|
227
234
|
end
|
228
235
|
|
@@ -392,6 +399,25 @@ module Google
|
|
392
399
|
end
|
393
400
|
end
|
394
401
|
|
402
|
+
# Response for GetMaintenanceInfo.
|
403
|
+
class GetMaintenanceInfoResponse
|
404
|
+
include Google::Apis::Core::Hashable
|
405
|
+
|
406
|
+
# The list of upcoming maintenance entries.
|
407
|
+
# Corresponds to the JSON property `nodeUpcomingMaintenances`
|
408
|
+
# @return [Array<Google::Apis::TpuV2alpha1::NodeUpcomingMaintenanceInfo>]
|
409
|
+
attr_accessor :node_upcoming_maintenances
|
410
|
+
|
411
|
+
def initialize(**args)
|
412
|
+
update!(**args)
|
413
|
+
end
|
414
|
+
|
415
|
+
# Update properties of this object
|
416
|
+
def update!(**args)
|
417
|
+
@node_upcoming_maintenances = args[:node_upcoming_maintenances] if args.key?(:node_upcoming_maintenances)
|
418
|
+
end
|
419
|
+
end
|
420
|
+
|
395
421
|
# Guaranteed tier definition.
|
396
422
|
class Guaranteed
|
397
423
|
include Google::Apis::Core::Hashable
|
@@ -1133,6 +1159,37 @@ module Google
|
|
1133
1159
|
end
|
1134
1160
|
end
|
1135
1161
|
|
1162
|
+
# A tuple containing node name / ID and maintenance info.
|
1163
|
+
class NodeUpcomingMaintenanceInfo
|
1164
|
+
include Google::Apis::Core::Hashable
|
1165
|
+
|
1166
|
+
# Unqualified node name.
|
1167
|
+
# Corresponds to the JSON property `nodeName`
|
1168
|
+
# @return [String]
|
1169
|
+
attr_accessor :node_name
|
1170
|
+
|
1171
|
+
# UID of this node.
|
1172
|
+
# Corresponds to the JSON property `nodeUid`
|
1173
|
+
# @return [Fixnum]
|
1174
|
+
attr_accessor :node_uid
|
1175
|
+
|
1176
|
+
# Upcoming Maintenance notification information.
|
1177
|
+
# Corresponds to the JSON property `upcomingMaintenance`
|
1178
|
+
# @return [Google::Apis::TpuV2alpha1::UpcomingMaintenance]
|
1179
|
+
attr_accessor :upcoming_maintenance
|
1180
|
+
|
1181
|
+
def initialize(**args)
|
1182
|
+
update!(**args)
|
1183
|
+
end
|
1184
|
+
|
1185
|
+
# Update properties of this object
|
1186
|
+
def update!(**args)
|
1187
|
+
@node_name = args[:node_name] if args.key?(:node_name)
|
1188
|
+
@node_uid = args[:node_uid] if args.key?(:node_uid)
|
1189
|
+
@upcoming_maintenance = args[:upcoming_maintenance] if args.key?(:upcoming_maintenance)
|
1190
|
+
end
|
1191
|
+
end
|
1192
|
+
|
1136
1193
|
# This resource represents a long-running operation that is the result of a
|
1137
1194
|
# network API call.
|
1138
1195
|
class Operation
|
@@ -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.46.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.18.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20250918"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -124,6 +124,12 @@ module Google
|
|
124
124
|
include Google::Apis::Core::JsonObjectSupport
|
125
125
|
end
|
126
126
|
|
127
|
+
class GetMaintenanceInfoResponse
|
128
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
129
|
+
|
130
|
+
include Google::Apis::Core::JsonObjectSupport
|
131
|
+
end
|
132
|
+
|
127
133
|
class Guaranteed
|
128
134
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
129
135
|
|
@@ -232,6 +238,12 @@ module Google
|
|
232
238
|
include Google::Apis::Core::JsonObjectSupport
|
233
239
|
end
|
234
240
|
|
241
|
+
class NodeUpcomingMaintenanceInfo
|
242
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
243
|
+
|
244
|
+
include Google::Apis::Core::JsonObjectSupport
|
245
|
+
end
|
246
|
+
|
235
247
|
class Operation
|
236
248
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
237
249
|
|
@@ -462,6 +474,7 @@ module Google
|
|
462
474
|
property :provisioned_iops, :numeric_string => true, as: 'provisionedIops'
|
463
475
|
property :provisioned_throughput, :numeric_string => true, as: 'provisionedThroughput'
|
464
476
|
property :source_image, as: 'sourceImage'
|
477
|
+
property :storage_pool, as: 'storagePool'
|
465
478
|
end
|
466
479
|
end
|
467
480
|
|
@@ -528,6 +541,14 @@ module Google
|
|
528
541
|
end
|
529
542
|
end
|
530
543
|
|
544
|
+
class GetMaintenanceInfoResponse
|
545
|
+
# @private
|
546
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
547
|
+
collection :node_upcoming_maintenances, as: 'nodeUpcomingMaintenances', class: Google::Apis::TpuV2alpha1::NodeUpcomingMaintenanceInfo, decorator: Google::Apis::TpuV2alpha1::NodeUpcomingMaintenanceInfo::Representation
|
548
|
+
|
549
|
+
end
|
550
|
+
end
|
551
|
+
|
531
552
|
class Guaranteed
|
532
553
|
# @private
|
533
554
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -735,6 +756,16 @@ module Google
|
|
735
756
|
end
|
736
757
|
end
|
737
758
|
|
759
|
+
class NodeUpcomingMaintenanceInfo
|
760
|
+
# @private
|
761
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
762
|
+
property :node_name, as: 'nodeName'
|
763
|
+
property :node_uid, :numeric_string => true, as: 'nodeUid'
|
764
|
+
property :upcoming_maintenance, as: 'upcomingMaintenance', class: Google::Apis::TpuV2alpha1::UpcomingMaintenance, decorator: Google::Apis::TpuV2alpha1::UpcomingMaintenance::Representation
|
765
|
+
|
766
|
+
end
|
767
|
+
end
|
768
|
+
|
738
769
|
class Operation
|
739
770
|
# @private
|
740
771
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -118,8 +118,8 @@ module Google
|
|
118
118
|
# @param [String] name
|
119
119
|
# The resource that owns the locations collection, if applicable.
|
120
120
|
# @param [Array<String>, String] extra_location_types
|
121
|
-
# Optional.
|
122
|
-
#
|
121
|
+
# Optional. Unless explicitly documented otherwise, don't use this unsupported
|
122
|
+
# field which is primarily intended for internal usage.
|
123
123
|
# @param [String] filter
|
124
124
|
# A filter to narrow down results to a preferred subset. The filtering language
|
125
125
|
# accepts strings like `"displayName=tokyo"`, and is documented in more detail
|
@@ -824,6 +824,36 @@ module Google
|
|
824
824
|
execute_or_queue_command(command, &block)
|
825
825
|
end
|
826
826
|
|
827
|
+
# Gets the maintenance info for a queued resource.
|
828
|
+
# @param [String] name
|
829
|
+
# Required. The QueuedResource name.
|
830
|
+
# @param [String] fields
|
831
|
+
# Selector specifying which fields to include in a partial response.
|
832
|
+
# @param [String] quota_user
|
833
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
834
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
835
|
+
# @param [Google::Apis::RequestOptions] options
|
836
|
+
# Request-specific options
|
837
|
+
#
|
838
|
+
# @yield [result, err] Result & error if block supplied
|
839
|
+
# @yieldparam result [Google::Apis::TpuV2alpha1::GetMaintenanceInfoResponse] parsed result object
|
840
|
+
# @yieldparam err [StandardError] error object if request failed
|
841
|
+
#
|
842
|
+
# @return [Google::Apis::TpuV2alpha1::GetMaintenanceInfoResponse]
|
843
|
+
#
|
844
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
845
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
846
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
847
|
+
def get_project_location_queued_resource_maintenance_info(name, fields: nil, quota_user: nil, options: nil, &block)
|
848
|
+
command = make_simple_command(:get, 'v2alpha1/{+name}:getMaintenanceInfo', options)
|
849
|
+
command.response_representation = Google::Apis::TpuV2alpha1::GetMaintenanceInfoResponse::Representation
|
850
|
+
command.response_class = Google::Apis::TpuV2alpha1::GetMaintenanceInfoResponse
|
851
|
+
command.params['name'] = name unless name.nil?
|
852
|
+
command.query['fields'] = fields unless fields.nil?
|
853
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
854
|
+
execute_or_queue_command(command, &block)
|
855
|
+
end
|
856
|
+
|
827
857
|
# Lists queued resources.
|
828
858
|
# @param [String] parent
|
829
859
|
# Required. The parent resource name.
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
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.46.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
@@ -57,7 +57,7 @@ licenses:
|
|
57
57
|
metadata:
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-tpu_v2alpha1/CHANGELOG.md
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-tpu_v2alpha1/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-tpu_v2alpha1/v0.46.0
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-tpu_v2alpha1
|
62
62
|
rdoc_options: []
|
63
63
|
require_paths:
|