google-apis-tpu_v1alpha1 0.31.0 → 0.33.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: dc6ca87fe28e74bb59c005432bfd05b233e4714058add8db6be4a1a8a0c850a9
4
- data.tar.gz: 179ea1455016d4b27c77b3152dbe066a4bf67eddaa3fedcc30437931d3f08206
3
+ metadata.gz: d2e9206571c4c5c602a4248280fdaf4c92cddb2369bf845fd1582acf10896af9
4
+ data.tar.gz: 7aedadc092f5aa40fc0e4a6b55e7823cd2104442345e9ebdfdd006c3e2037bd3
5
5
  SHA512:
6
- metadata.gz: c57439e056589b294cd5c11f87846b4bd4065cd8ae0c77e6d03881ef08bdc9e4080ac664aeb4b59e863b41d3124742d62599d9a63bc135f9eff113f08f705862
7
- data.tar.gz: '08ac83a94e769b8885aa4fd37dbccca845dad32132d9251e8c194b999755454b3c5762cc2b6cf8e95109794a23ecb0a4454215c6ac73cf3d2b37f0183a796d86'
6
+ metadata.gz: 0d469afe247a5773324b72972a6bff5fd2932ecbc58b1a5da3da5302c07df543f8229ccb015bed6eee7dff9081b6c13dff856585c7f1f31647ef27c2640541c4
7
+ data.tar.gz: 21f2e39eebd4e21d20ac5711246c98b25c8a2cc622e4cffbd825c3bd55b0dd3cad5b1dd008b2b6bd23018efae468a62119572bbd82649dbfaca98356fd8abd73
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-tpu_v1alpha1
2
2
 
3
+ ### v0.33.0 (2025-12-07)
4
+
5
+ * Regenerated from discovery document revision 20251130
6
+
7
+ ### v0.32.0 (2025-10-12)
8
+
9
+ * Regenerated from discovery document revision 20251005
10
+
3
11
  ### v0.31.0 (2025-09-14)
4
12
 
5
13
  * Regenerated from discovery document revision 20250903
@@ -22,7 +22,8 @@ module Google
22
22
  module Apis
23
23
  module TpuV1alpha1
24
24
 
25
- # A accelerator type that a Node can be configured with.
25
+ # DEPRECATED: Please use TPU API v2alpha1 instead. A accelerator type that a
26
+ # Node can be configured with.
26
27
  class AcceleratorType
27
28
  include Google::Apis::Core::Hashable
28
29
 
@@ -63,7 +64,8 @@ module Google
63
64
  end
64
65
  end
65
66
 
66
- # Response for ListAcceleratorTypes.
67
+ # DEPRECATED: Please use TPU API v2alpha1 instead. Response for
68
+ # ListAcceleratorTypes.
67
69
  class ListAcceleratorTypesResponse
68
70
  include Google::Apis::Core::Hashable
69
71
 
@@ -119,7 +121,7 @@ module Google
119
121
  end
120
122
  end
121
123
 
122
- # Response for ListNodes.
124
+ # DEPRECATED: Please use TPU API v2alpha1 instead. Response for ListNodes.
123
125
  class ListNodesResponse
124
126
  include Google::Apis::Core::Hashable
125
127
 
@@ -164,6 +166,14 @@ module Google
164
166
  # @return [Array<Google::Apis::TpuV1alpha1::Operation>]
165
167
  attr_accessor :operations
166
168
 
169
+ # Unordered list. Unreachable resources. Populated when the request sets `
170
+ # ListOperationsRequest.return_partial_success` and reads across collections.
171
+ # For example, when attempting to list all resources across all supported
172
+ # locations.
173
+ # Corresponds to the JSON property `unreachable`
174
+ # @return [Array<String>]
175
+ attr_accessor :unreachable
176
+
167
177
  def initialize(**args)
168
178
  update!(**args)
169
179
  end
@@ -172,10 +182,12 @@ module Google
172
182
  def update!(**args)
173
183
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
174
184
  @operations = args[:operations] if args.key?(:operations)
185
+ @unreachable = args[:unreachable] if args.key?(:unreachable)
175
186
  end
176
187
  end
177
188
 
178
- # Response for ListTensorFlowVersions.
189
+ # DEPRECATED: Please use TPU API v2alpha1 instead. Response for
190
+ # ListTensorFlowVersions.
179
191
  class ListTensorFlowVersionsResponse
180
192
  include Google::Apis::Core::Hashable
181
193
 
@@ -253,7 +265,8 @@ module Google
253
265
  end
254
266
  end
255
267
 
256
- # A network endpoint over which a TPU worker can be reached.
268
+ # DEPRECATED: Please use TPU API v2alpha1 instead. A network endpoint over which
269
+ # a TPU worker can be reached.
257
270
  class NetworkEndpoint
258
271
  include Google::Apis::Core::Hashable
259
272
 
@@ -278,7 +291,7 @@ module Google
278
291
  end
279
292
  end
280
293
 
281
- # A TPU instance.
294
+ # DEPRECATED: Please use TPU API v2alpha1 instead. A TPU instance.
282
295
  class Node
283
296
  include Google::Apis::Core::Hashable
284
297
 
@@ -360,7 +373,8 @@ module Google
360
373
  # @return [String]
361
374
  attr_accessor :port
362
375
 
363
- # Sets the scheduling options for this node.
376
+ # DEPRECATED: Please use TPU API v2alpha1 instead. Sets the scheduling options
377
+ # for this node.
364
378
  # Corresponds to the JSON property `schedulingConfig`
365
379
  # @return [Google::Apis::TpuV1alpha1::SchedulingConfig]
366
380
  attr_accessor :scheduling_config
@@ -488,7 +502,8 @@ module Google
488
502
  end
489
503
  end
490
504
 
491
- # Metadata describing an Operation
505
+ # DEPRECATED: Please use TPU API v2alpha1 instead. Metadata describing an
506
+ # Operation
492
507
  class OperationMetadata
493
508
  include Google::Apis::Core::Hashable
494
509
 
@@ -545,7 +560,7 @@ module Google
545
560
  end
546
561
  end
547
562
 
548
- # Request for ReimageNode.
563
+ # DEPRECATED: Please use TPU API v2alpha1 instead. Request for ReimageNode.
549
564
  class ReimageNodeRequest
550
565
  include Google::Apis::Core::Hashable
551
566
 
@@ -564,7 +579,8 @@ module Google
564
579
  end
565
580
  end
566
581
 
567
- # Sets the scheduling options for this node.
582
+ # DEPRECATED: Please use TPU API v2alpha1 instead. Sets the scheduling options
583
+ # for this node.
568
584
  class SchedulingConfig
569
585
  include Google::Apis::Core::Hashable
570
586
 
@@ -591,7 +607,7 @@ module Google
591
607
  end
592
608
  end
593
609
 
594
- # Request for StartNode.
610
+ # DEPRECATED: Please use TPU API v2alpha1 instead. Request for StartNode.
595
611
  class StartNodeRequest
596
612
  include Google::Apis::Core::Hashable
597
613
 
@@ -643,7 +659,7 @@ module Google
643
659
  end
644
660
  end
645
661
 
646
- # Request for StopNode.
662
+ # DEPRECATED: Please use TPU API v2alpha1 instead. Request for StopNode.
647
663
  class StopNodeRequest
648
664
  include Google::Apis::Core::Hashable
649
665
 
@@ -656,7 +672,7 @@ module Google
656
672
  end
657
673
  end
658
674
 
659
- # A Symptom instance.
675
+ # DEPRECATED: Please use TPU API v2alpha1 instead. A Symptom instance.
660
676
  class Symptom
661
677
  include Google::Apis::Core::Hashable
662
678
 
@@ -693,7 +709,8 @@ module Google
693
709
  end
694
710
  end
695
711
 
696
- # A tensorflow version that a Node can be configured with.
712
+ # DEPRECATED: Please use TPU API v2alpha1 instead. A tensorflow version that a
713
+ # Node can be configured with.
697
714
  class TensorFlowVersion
698
715
  include Google::Apis::Core::Hashable
699
716
 
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module TpuV1alpha1
18
18
  # Version of the google-apis-tpu_v1alpha1 gem
19
- GEM_VERSION = "0.31.0"
19
+ GEM_VERSION = "0.33.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 = "20251130"
26
26
  end
27
27
  end
28
28
  end
@@ -185,6 +185,7 @@ module Google
185
185
  property :next_page_token, as: 'nextPageToken'
186
186
  collection :operations, as: 'operations', class: Google::Apis::TpuV1alpha1::Operation, decorator: Google::Apis::TpuV1alpha1::Operation::Representation
187
187
 
188
+ collection :unreachable, as: 'unreachable'
188
189
  end
189
190
  end
190
191
 
@@ -85,8 +85,8 @@ module Google
85
85
  # @param [String] name
86
86
  # The resource that owns the locations collection, if applicable.
87
87
  # @param [Array<String>, String] extra_location_types
88
- # Optional. Unless explicitly documented otherwise, don't use this unsupported
89
- # field which is primarily intended for internal usage.
88
+ # Optional. Do not use this field. It is unsupported and is ignored unless
89
+ # explicitly documented otherwise. This is primarily for internal usage.
90
90
  # @param [String] filter
91
91
  # A filter to narrow down results to a preferred subset. The filtering language
92
92
  # accepts strings like `"displayName=tokyo"`, and is documented in more detail
@@ -548,6 +548,14 @@ module Google
548
548
  # The standard list page size.
549
549
  # @param [String] page_token
550
550
  # The standard list page token.
551
+ # @param [Boolean] return_partial_success
552
+ # When set to `true`, operations that are reachable are returned as normal, and
553
+ # those that are unreachable are returned in the ListOperationsResponse.
554
+ # unreachable field. This can only be `true` when reading across collections.
555
+ # For example, when `parent` is set to `"projects/example/locations/-"`. This
556
+ # field is not supported by default and will result in an `UNIMPLEMENTED` error
557
+ # if set unless explicitly documented otherwise in service or product specific
558
+ # documentation.
551
559
  # @param [String] fields
552
560
  # Selector specifying which fields to include in a partial response.
553
561
  # @param [String] quota_user
@@ -565,7 +573,7 @@ module Google
565
573
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
566
574
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
567
575
  # @raise [Google::Apis::AuthorizationError] Authorization is required
568
- def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
576
+ 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)
569
577
  command = make_simple_command(:get, 'v1alpha1/{+name}/operations', options)
570
578
  command.response_representation = Google::Apis::TpuV1alpha1::ListOperationsResponse::Representation
571
579
  command.response_class = Google::Apis::TpuV1alpha1::ListOperationsResponse
@@ -573,6 +581,7 @@ module Google
573
581
  command.query['filter'] = filter unless filter.nil?
574
582
  command.query['pageSize'] = page_size unless page_size.nil?
575
583
  command.query['pageToken'] = page_token unless page_token.nil?
584
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
576
585
  command.query['fields'] = fields unless fields.nil?
577
586
  command.query['quotaUser'] = quota_user unless quota_user.nil?
578
587
  execute_or_queue_command(command, &block)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-tpu_v1alpha1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.31.0
4
+ version: 0.33.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_v1alpha1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-tpu_v1alpha1/v0.31.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-tpu_v1alpha1/v0.33.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-tpu_v1alpha1
62
62
  rdoc_options: []
63
63
  require_paths: