google-apis-tpu_v2alpha1 0.45.0 → 0.47.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: c00fdc1b926949369c9e9fa903b8421e3b4bd300393ed7bea0c95512ac3132f4
4
+ data.tar.gz: 14628a69baece67839b16a0c84c1a7a14df312b8e8454d40393e6b47332925be
5
5
  SHA512:
6
- metadata.gz: 70af3b3e4607da0133b399ff55bf7fb11dc40cb976806854ac82d87c87a017e2e6dc28135d2eaa0e7c5c62bb1c365e21d005d314a7b41c9bc9c5b0d2a5e5bac4
7
- data.tar.gz: 01de1803f8374012dc8c49f6b337237f8c51bd80927af02b41d6fc5bcbee2dea8d58da06fc3689439b4c5ac17da2cc1076418c55dbb31ed40d30f48166f6b07f
6
+ metadata.gz: 1fb70810ef0f7c0771333fa81b63d766ed1f925fb774443b309d97fb09d7d9c35d96d521080949cec042257fb9b3c038a84c814637ba788e615c509fd2ceeb47
7
+ data.tar.gz: a248c5449a270234c9dd939b4414501bdf48166fa0398219b5e16005f2a482d5aafa58f74a61dd9513a621ea4754b9aace4c4ac6c247ffb2b4517da9bdf399ce
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-tpu_v2alpha1
2
2
 
3
+ ### v0.47.0 (2025-10-12)
4
+
5
+ * Regenerated from discovery document revision 20251005
6
+
7
+ ### v0.46.0 (2025-09-28)
8
+
9
+ * Regenerated from discovery document revision 20250918
10
+
3
11
  ### v0.45.0 (2025-09-14)
4
12
 
5
13
  * 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
@@ -634,6 +653,13 @@ module Google
634
653
  # @return [Array<Google::Apis::TpuV2alpha1::Operation>]
635
654
  attr_accessor :operations
636
655
 
656
+ # Unordered list. Unreachable resources. Populated when the request sets `
657
+ # ListOperationsRequest.return_partial_success` and reads across collections e.g.
658
+ # when attempting to list all resources across all supported locations.
659
+ # Corresponds to the JSON property `unreachable`
660
+ # @return [Array<String>]
661
+ attr_accessor :unreachable
662
+
637
663
  def initialize(**args)
638
664
  update!(**args)
639
665
  end
@@ -642,6 +668,7 @@ module Google
642
668
  def update!(**args)
643
669
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
644
670
  @operations = args[:operations] if args.key?(:operations)
671
+ @unreachable = args[:unreachable] if args.key?(:unreachable)
645
672
  end
646
673
  end
647
674
 
@@ -1140,6 +1167,37 @@ module Google
1140
1167
  end
1141
1168
  end
1142
1169
 
1170
+ # A tuple containing node name / ID and maintenance info.
1171
+ class NodeUpcomingMaintenanceInfo
1172
+ include Google::Apis::Core::Hashable
1173
+
1174
+ # Unqualified node name.
1175
+ # Corresponds to the JSON property `nodeName`
1176
+ # @return [String]
1177
+ attr_accessor :node_name
1178
+
1179
+ # UID of this node.
1180
+ # Corresponds to the JSON property `nodeUid`
1181
+ # @return [Fixnum]
1182
+ attr_accessor :node_uid
1183
+
1184
+ # Upcoming Maintenance notification information.
1185
+ # Corresponds to the JSON property `upcomingMaintenance`
1186
+ # @return [Google::Apis::TpuV2alpha1::UpcomingMaintenance]
1187
+ attr_accessor :upcoming_maintenance
1188
+
1189
+ def initialize(**args)
1190
+ update!(**args)
1191
+ end
1192
+
1193
+ # Update properties of this object
1194
+ def update!(**args)
1195
+ @node_name = args[:node_name] if args.key?(:node_name)
1196
+ @node_uid = args[:node_uid] if args.key?(:node_uid)
1197
+ @upcoming_maintenance = args[:upcoming_maintenance] if args.key?(:upcoming_maintenance)
1198
+ end
1199
+ end
1200
+
1143
1201
  # This resource represents a long-running operation that is the result of a
1144
1202
  # network API call.
1145
1203
  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.47.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 = "20251005"
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
@@ -606,6 +626,7 @@ module Google
606
626
  property :next_page_token, as: 'nextPageToken'
607
627
  collection :operations, as: 'operations', class: Google::Apis::TpuV2alpha1::Operation, decorator: Google::Apis::TpuV2alpha1::Operation::Representation
608
628
 
629
+ collection :unreachable, as: 'unreachable'
609
630
  end
610
631
  end
611
632
 
@@ -736,6 +757,16 @@ module Google
736
757
  end
737
758
  end
738
759
 
760
+ class NodeUpcomingMaintenanceInfo
761
+ # @private
762
+ class Representation < Google::Apis::Core::JsonRepresentation
763
+ property :node_name, as: 'nodeName'
764
+ property :node_uid, :numeric_string => true, as: 'nodeUid'
765
+ property :upcoming_maintenance, as: 'upcomingMaintenance', class: Google::Apis::TpuV2alpha1::UpcomingMaintenance, decorator: Google::Apis::TpuV2alpha1::UpcomingMaintenance::Representation
766
+
767
+ end
768
+ end
769
+
739
770
  class Operation
740
771
  # @private
741
772
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -684,6 +684,13 @@ module Google
684
684
  # The standard list page size.
685
685
  # @param [String] page_token
686
686
  # The standard list page token.
687
+ # @param [Boolean] return_partial_success
688
+ # When set to `true`, operations that are reachable are returned as normal, and
689
+ # those that are unreachable are returned in the [ListOperationsResponse.
690
+ # unreachable] field. This can only be `true` when reading across collections e.
691
+ # g. when `parent` is set to `"projects/example/locations/-"`. This field is not
692
+ # by default supported and will result in an `UNIMPLEMENTED` error if set unless
693
+ # explicitly documented otherwise in service or product specific documentation.
687
694
  # @param [String] fields
688
695
  # Selector specifying which fields to include in a partial response.
689
696
  # @param [String] quota_user
@@ -701,7 +708,7 @@ module Google
701
708
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
702
709
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
703
710
  # @raise [Google::Apis::AuthorizationError] Authorization is required
704
- def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
711
+ def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
705
712
  command = make_simple_command(:get, 'v2alpha1/{+name}/operations', options)
706
713
  command.response_representation = Google::Apis::TpuV2alpha1::ListOperationsResponse::Representation
707
714
  command.response_class = Google::Apis::TpuV2alpha1::ListOperationsResponse
@@ -709,6 +716,7 @@ module Google
709
716
  command.query['filter'] = filter unless filter.nil?
710
717
  command.query['pageSize'] = page_size unless page_size.nil?
711
718
  command.query['pageToken'] = page_token unless page_token.nil?
719
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
712
720
  command.query['fields'] = fields unless fields.nil?
713
721
  command.query['quotaUser'] = quota_user unless quota_user.nil?
714
722
  execute_or_queue_command(command, &block)
@@ -824,6 +832,36 @@ module Google
824
832
  execute_or_queue_command(command, &block)
825
833
  end
826
834
 
835
+ # Gets the maintenance info for a queued resource.
836
+ # @param [String] name
837
+ # Required. The QueuedResource name.
838
+ # @param [String] fields
839
+ # Selector specifying which fields to include in a partial response.
840
+ # @param [String] quota_user
841
+ # Available to use for quota purposes for server-side applications. Can be any
842
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
843
+ # @param [Google::Apis::RequestOptions] options
844
+ # Request-specific options
845
+ #
846
+ # @yield [result, err] Result & error if block supplied
847
+ # @yieldparam result [Google::Apis::TpuV2alpha1::GetMaintenanceInfoResponse] parsed result object
848
+ # @yieldparam err [StandardError] error object if request failed
849
+ #
850
+ # @return [Google::Apis::TpuV2alpha1::GetMaintenanceInfoResponse]
851
+ #
852
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
853
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
854
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
855
+ def get_project_location_queued_resource_maintenance_info(name, fields: nil, quota_user: nil, options: nil, &block)
856
+ command = make_simple_command(:get, 'v2alpha1/{+name}:getMaintenanceInfo', options)
857
+ command.response_representation = Google::Apis::TpuV2alpha1::GetMaintenanceInfoResponse::Representation
858
+ command.response_class = Google::Apis::TpuV2alpha1::GetMaintenanceInfoResponse
859
+ command.params['name'] = name unless name.nil?
860
+ command.query['fields'] = fields unless fields.nil?
861
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
862
+ execute_or_queue_command(command, &block)
863
+ end
864
+
827
865
  # Lists queued resources.
828
866
  # @param [String] parent
829
867
  # 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.47.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.47.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: