google-apis-tpu_v2alpha1 0.45.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: 1ec7e11ea553a2e0eea473f3e6d8e70ecec0f76f24d9bd577e496d5a7a02fd6e
4
- data.tar.gz: f5de88f4f701d0242dd0b4a7da5827ebc6050b1794aedc9ce7a95b9c87473c79
3
+ metadata.gz: affa98e2818865cdd7c644441d560b12706010b3e0167fdce0c791172b993d84
4
+ data.tar.gz: ea4605410046cacfb0fa6bb8ed525cb4f0325e0c25ca02e9bbdcff1d2da94fba
5
5
  SHA512:
6
- metadata.gz: 70af3b3e4607da0133b399ff55bf7fb11dc40cb976806854ac82d87c87a017e2e6dc28135d2eaa0e7c5c62bb1c365e21d005d314a7b41c9bc9c5b0d2a5e5bac4
7
- data.tar.gz: 01de1803f8374012dc8c49f6b337237f8c51bd80927af02b41d6fc5bcbee2dea8d58da06fc3689439b4c5ac17da2cc1076418c55dbb31ed40d30f48166f6b07f
6
+ metadata.gz: 12e1172948fca6e8826b490a9af24a19b102954172b3073ea044ca72a3db04fe98ccfd0bc6688f00b3eceab744b19bb755fc869b082c7e310dda7f78da87b27b
7
+ data.tar.gz: 8c3b23e974089d2f0468715ec234c8e77bf82c8f86959b75bc9274ae148f24f80b7ab887c0f3413424a54bac40ca0ec096f640b01a0f710e3a6a94da09cfb48a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
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
+
3
7
  ### v0.45.0 (2025-09-14)
4
8
 
5
9
  * Regenerated from discovery document revision 20250903
@@ -399,6 +399,25 @@ module Google
399
399
  end
400
400
  end
401
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
+
402
421
  # Guaranteed tier definition.
403
422
  class Guaranteed
404
423
  include Google::Apis::Core::Hashable
@@ -1140,6 +1159,37 @@ module Google
1140
1159
  end
1141
1160
  end
1142
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
+
1143
1193
  # This resource represents a long-running operation that is the result of a
1144
1194
  # network API call.
1145
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.45.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 = "20250903"
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
 
@@ -529,6 +541,14 @@ module Google
529
541
  end
530
542
  end
531
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
+
532
552
  class Guaranteed
533
553
  # @private
534
554
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -736,6 +756,16 @@ module Google
736
756
  end
737
757
  end
738
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
+
739
769
  class Operation
740
770
  # @private
741
771
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -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.45.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.45.0
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: