google-apis-tpu_v2 0.8.0 → 0.10.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: ce2c355c739486f3012db5b12639367bb2a0ce2c61acbdc61b65db17587ca756
4
- data.tar.gz: a7ae6c0777d274918ee798085c595b7a2fd975a556ab421e43dca596fbe6087c
3
+ metadata.gz: 4840e7135ff68e140c1bebaad8b13516bfa48db456044307536874fca2237431
4
+ data.tar.gz: ff31c324bf4b54ac06ccfa522625ca3662dbabcdfb363aeb7928aa98975e2fd8
5
5
  SHA512:
6
- metadata.gz: 957a9f1c1cbf1023d7a2bbe7746829c7aa14e7230c95e94cc5629cacd254ceaa2045780bd31e470a534590d5bf67324c8379bfc4c7f828fedb6c25da0061e3d2
7
- data.tar.gz: 4cab452a78f739bef4aa281466117acdb52a5f4ac2deaa074e0fa76aeabe4f5105694b4fa0db026197a1c6b6999fad215bf38c7f98b9f924e4419070fb98e4a4
6
+ metadata.gz: 69f4ae23f5ab4e80e0cbe1b25cb3287a628eb109eee0fd7eecc65458febaa7483b8ca38b563d469c9a2578d16de2ac1bb3c7632b300882b4a889403f143d7254
7
+ data.tar.gz: 76d19b42a52835ddc4d3dc8cd657678afe3bc005808796544e3d7094b11eeda9e0c2f06a7a3936b7cad0b76232703b20f981a5c78da18b8ec3a68fe06a55206d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # Release history for google-apis-tpu_v2
2
2
 
3
+ ### v0.10.0 (2024-02-23)
4
+
5
+ * Regenerated from discovery document revision 20240205
6
+ * Regenerated using generator version 0.14.0
7
+
8
+ ### v0.9.0 (2024-01-23)
9
+
10
+ * Regenerated from discovery document revision 20240111
11
+ * Regenerated using generator version 0.13.0
12
+
3
13
  ### v0.8.0 (2023-08-13)
4
14
 
5
15
  * Regenerated from discovery document revision 20230803
data/OVERVIEW.md CHANGED
@@ -83,9 +83,9 @@ The [product documentation](https://cloud.google.com/tpu/) may provide guidance
83
83
 
84
84
  ## Supported Ruby versions
85
85
 
86
- This library is supported on Ruby 2.5+.
86
+ This library is supported on Ruby 2.7+.
87
87
 
88
- Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Currently, this means Ruby 2.5 and later. Older versions of Ruby _may_ still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule.
88
+ Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Older versions of Ruby _may_ still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule.
89
89
 
90
90
  ## License
91
91
 
@@ -78,6 +78,19 @@ module Google
78
78
  end
79
79
  end
80
80
 
81
+ # Further data for the accepted state.
82
+ class AcceptedData
83
+ include Google::Apis::Core::Hashable
84
+
85
+ def initialize(**args)
86
+ update!(**args)
87
+ end
88
+
89
+ # Update properties of this object
90
+ def update!(**args)
91
+ end
92
+ end
93
+
81
94
  # An access config attached to the TPU worker.
82
95
  class AccessConfig
83
96
  include Google::Apis::Core::Hashable
@@ -97,6 +110,19 @@ module Google
97
110
  end
98
111
  end
99
112
 
113
+ # Further data for the active state.
114
+ class ActiveData
115
+ include Google::Apis::Core::Hashable
116
+
117
+ def initialize(**args)
118
+ update!(**args)
119
+ end
120
+
121
+ # Update properties of this object
122
+ def update!(**args)
123
+ end
124
+ end
125
+
100
126
  # A node-attached disk resource. Next ID: 8;
101
127
  class AttachedDisk
102
128
  include Google::Apis::Core::Hashable
@@ -124,6 +150,32 @@ module Google
124
150
  end
125
151
  end
126
152
 
153
+ # Further data for the creating state.
154
+ class CreatingData
155
+ include Google::Apis::Core::Hashable
156
+
157
+ def initialize(**args)
158
+ update!(**args)
159
+ end
160
+
161
+ # Update properties of this object
162
+ def update!(**args)
163
+ end
164
+ end
165
+
166
+ # Further data for the deleting state.
167
+ class DeletingData
168
+ include Google::Apis::Core::Hashable
169
+
170
+ def initialize(**args)
171
+ update!(**args)
172
+ end
173
+
174
+ # Update properties of this object
175
+ def update!(**args)
176
+ end
177
+ end
178
+
127
179
  # A generic empty message that you can re-use to avoid defining duplicated empty
128
180
  # messages in your APIs. A typical example is to use it as the request or the
129
181
  # response type of an API method. For instance: service Foo ` rpc Bar(google.
@@ -140,6 +192,30 @@ module Google
140
192
  end
141
193
  end
142
194
 
195
+ # Further data for the failed state.
196
+ class FailedData
197
+ include Google::Apis::Core::Hashable
198
+
199
+ # The `Status` type defines a logical error model that is suitable for different
200
+ # programming environments, including REST APIs and RPC APIs. It is used by [
201
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
202
+ # data: error code, error message, and error details. You can find out more
203
+ # about this error model and how to work with it in the [API Design Guide](https:
204
+ # //cloud.google.com/apis/design/errors).
205
+ # Corresponds to the JSON property `error`
206
+ # @return [Google::Apis::TpuV2::Status]
207
+ attr_accessor :error
208
+
209
+ def initialize(**args)
210
+ update!(**args)
211
+ end
212
+
213
+ # Update properties of this object
214
+ def update!(**args)
215
+ @error = args[:error] if args.key?(:error)
216
+ end
217
+ end
218
+
143
219
  # Request for GenerateServiceIdentity.
144
220
  class GenerateServiceIdentityRequest
145
221
  include Google::Apis::Core::Hashable
@@ -217,6 +293,27 @@ module Google
217
293
  end
218
294
  end
219
295
 
296
+ # Guaranteed tier definition.
297
+ class Guaranteed
298
+ include Google::Apis::Core::Hashable
299
+
300
+ # Optional. Defines the minimum duration of the guarantee. If specified, the
301
+ # requested resources will only be provisioned if they can be allocated for at
302
+ # least the given duration.
303
+ # Corresponds to the JSON property `minDuration`
304
+ # @return [String]
305
+ attr_accessor :min_duration
306
+
307
+ def initialize(**args)
308
+ update!(**args)
309
+ end
310
+
311
+ # Update properties of this object
312
+ def update!(**args)
313
+ @min_duration = args[:min_duration] if args.key?(:min_duration)
314
+ end
315
+ end
316
+
220
317
  # A guest attributes.
221
318
  class GuestAttributes
222
319
  include Google::Apis::Core::Hashable
@@ -293,6 +390,36 @@ module Google
293
390
  end
294
391
  end
295
392
 
393
+ # Represents a time interval, encoded as a Timestamp start (inclusive) and a
394
+ # Timestamp end (exclusive). The start must be less than or equal to the end.
395
+ # When the start equals the end, the interval is empty (matches no time). When
396
+ # both start and end are unspecified, the interval matches any time.
397
+ class Interval
398
+ include Google::Apis::Core::Hashable
399
+
400
+ # Optional. Exclusive end of the interval. If specified, a Timestamp matching
401
+ # this interval will have to be before the end.
402
+ # Corresponds to the JSON property `endTime`
403
+ # @return [String]
404
+ attr_accessor :end_time
405
+
406
+ # Optional. Inclusive start of the interval. If specified, a Timestamp matching
407
+ # this interval will have to be the same or after the start.
408
+ # Corresponds to the JSON property `startTime`
409
+ # @return [String]
410
+ attr_accessor :start_time
411
+
412
+ def initialize(**args)
413
+ update!(**args)
414
+ end
415
+
416
+ # Update properties of this object
417
+ def update!(**args)
418
+ @end_time = args[:end_time] if args.key?(:end_time)
419
+ @start_time = args[:start_time] if args.key?(:start_time)
420
+ end
421
+ end
422
+
296
423
  # Response for ListAcceleratorTypes.
297
424
  class ListAcceleratorTypesResponse
298
425
  include Google::Apis::Core::Hashable
@@ -405,6 +532,37 @@ module Google
405
532
  end
406
533
  end
407
534
 
535
+ # Response for ListQueuedResources.
536
+ class ListQueuedResourcesResponse
537
+ include Google::Apis::Core::Hashable
538
+
539
+ # The next page token or empty if none.
540
+ # Corresponds to the JSON property `nextPageToken`
541
+ # @return [String]
542
+ attr_accessor :next_page_token
543
+
544
+ # The listed queued resources.
545
+ # Corresponds to the JSON property `queuedResources`
546
+ # @return [Array<Google::Apis::TpuV2::QueuedResource>]
547
+ attr_accessor :queued_resources
548
+
549
+ # Locations that could not be reached.
550
+ # Corresponds to the JSON property `unreachable`
551
+ # @return [Array<String>]
552
+ attr_accessor :unreachable
553
+
554
+ def initialize(**args)
555
+ update!(**args)
556
+ end
557
+
558
+ # Update properties of this object
559
+ def update!(**args)
560
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
561
+ @queued_resources = args[:queued_resources] if args.key?(:queued_resources)
562
+ @unreachable = args[:unreachable] if args.key?(:unreachable)
563
+ end
564
+ end
565
+
408
566
  # Response for ListRuntimeVersions.
409
567
  class ListRuntimeVersionsResponse
410
568
  include Google::Apis::Core::Hashable
@@ -483,6 +641,36 @@ module Google
483
641
  end
484
642
  end
485
643
 
644
+ # Parameters to specify for multislice QueuedResource requests. This message
645
+ # must be populated in case of multislice requests instead of node_id.
646
+ class MultisliceParams
647
+ include Google::Apis::Core::Hashable
648
+
649
+ # Required. Number of nodes with this spec. The system will attempt to provison "
650
+ # node_count" nodes as part of the request. This needs to be > 1.
651
+ # Corresponds to the JSON property `nodeCount`
652
+ # @return [Fixnum]
653
+ attr_accessor :node_count
654
+
655
+ # Optional. Prefix of node_ids in case of multislice request. Should follow the `
656
+ # ^[A-Za-z0-9_.~+%-]+$` regex format. If node_count = 3 and node_id_prefix = "np"
657
+ # , node ids of nodes created will be "np-0", "np-1", "np-2". If this field is
658
+ # not provided we use queued_resource_id as the node_id_prefix.
659
+ # Corresponds to the JSON property `nodeIdPrefix`
660
+ # @return [String]
661
+ attr_accessor :node_id_prefix
662
+
663
+ def initialize(**args)
664
+ update!(**args)
665
+ end
666
+
667
+ # Update properties of this object
668
+ def update!(**args)
669
+ @node_count = args[:node_count] if args.key?(:node_count)
670
+ @node_id_prefix = args[:node_id_prefix] if args.key?(:node_id_prefix)
671
+ end
672
+ end
673
+
486
674
  # Network related configurations.
487
675
  class NetworkConfig
488
676
  include Google::Apis::Core::Hashable
@@ -509,6 +697,12 @@ module Google
509
697
  # @return [String]
510
698
  attr_accessor :network
511
699
 
700
+ # Optional. Specifies networking queue count for TPU VM instance's network
701
+ # interface.
702
+ # Corresponds to the JSON property `queueCount`
703
+ # @return [Fixnum]
704
+ attr_accessor :queue_count
705
+
512
706
  # The name of the subnetwork for the TPU node. It must be a preexisting Google
513
707
  # Compute Engine subnetwork. If none is provided, "default" will be used.
514
708
  # Corresponds to the JSON property `subnetwork`
@@ -524,6 +718,7 @@ module Google
524
718
  @can_ip_forward = args[:can_ip_forward] if args.key?(:can_ip_forward)
525
719
  @enable_external_ips = args[:enable_external_ips] if args.key?(:enable_external_ips)
526
720
  @network = args[:network] if args.key?(:network)
721
+ @queue_count = args[:queue_count] if args.key?(:queue_count)
527
722
  @subnetwork = args[:subnetwork] if args.key?(:subnetwork)
528
723
  end
529
724
  end
@@ -728,6 +923,48 @@ module Google
728
923
  end
729
924
  end
730
925
 
926
+ # Details of the TPU node(s) being requested. Users can request either a single
927
+ # node or multiple nodes. NodeSpec provides the specification for node(s) to be
928
+ # created.
929
+ class NodeSpec
930
+ include Google::Apis::Core::Hashable
931
+
932
+ # Parameters to specify for multislice QueuedResource requests. This message
933
+ # must be populated in case of multislice requests instead of node_id.
934
+ # Corresponds to the JSON property `multisliceParams`
935
+ # @return [Google::Apis::TpuV2::MultisliceParams]
936
+ attr_accessor :multislice_params
937
+
938
+ # A TPU instance.
939
+ # Corresponds to the JSON property `node`
940
+ # @return [Google::Apis::TpuV2::Node]
941
+ attr_accessor :node
942
+
943
+ # Optional. The unqualified resource name. Should follow the `^[A-Za-z0-9_.~+%-]+
944
+ # $` regex format. This is only specified when requesting a single node. In case
945
+ # of multislice requests, multislice_params must be populated instead.
946
+ # Corresponds to the JSON property `nodeId`
947
+ # @return [String]
948
+ attr_accessor :node_id
949
+
950
+ # Required. The parent resource name.
951
+ # Corresponds to the JSON property `parent`
952
+ # @return [String]
953
+ attr_accessor :parent
954
+
955
+ def initialize(**args)
956
+ update!(**args)
957
+ end
958
+
959
+ # Update properties of this object
960
+ def update!(**args)
961
+ @multislice_params = args[:multislice_params] if args.key?(:multislice_params)
962
+ @node = args[:node] if args.key?(:node)
963
+ @node_id = args[:node_id] if args.key?(:node_id)
964
+ @parent = args[:parent] if args.key?(:parent)
965
+ end
966
+ end
967
+
731
968
  # This resource represents a long-running operation that is the result of a
732
969
  # network API call.
733
970
  class Operation
@@ -847,6 +1084,218 @@ module Google
847
1084
  end
848
1085
  end
849
1086
 
1087
+ # Further data for the provisioning state.
1088
+ class ProvisioningData
1089
+ include Google::Apis::Core::Hashable
1090
+
1091
+ def initialize(**args)
1092
+ update!(**args)
1093
+ end
1094
+
1095
+ # Update properties of this object
1096
+ def update!(**args)
1097
+ end
1098
+ end
1099
+
1100
+ # A QueuedResource represents a request for resources that will be placed in a
1101
+ # queue and fulfilled when the necessary resources are available.
1102
+ class QueuedResource
1103
+ include Google::Apis::Core::Hashable
1104
+
1105
+ # Output only. The time when the QueuedResource was created.
1106
+ # Corresponds to the JSON property `createTime`
1107
+ # @return [String]
1108
+ attr_accessor :create_time
1109
+
1110
+ # Guaranteed tier definition.
1111
+ # Corresponds to the JSON property `guaranteed`
1112
+ # @return [Google::Apis::TpuV2::Guaranteed]
1113
+ attr_accessor :guaranteed
1114
+
1115
+ # Output only. Immutable. The name of the QueuedResource.
1116
+ # Corresponds to the JSON property `name`
1117
+ # @return [String]
1118
+ attr_accessor :name
1119
+
1120
+ # Defines the policy of the QueuedRequest.
1121
+ # Corresponds to the JSON property `queueingPolicy`
1122
+ # @return [Google::Apis::TpuV2::QueueingPolicy]
1123
+ attr_accessor :queueing_policy
1124
+
1125
+ # Optional. Name of the reservation in which the resource should be provisioned.
1126
+ # Format: projects/`project`/locations/`zone`/reservations/`reservation`
1127
+ # Corresponds to the JSON property `reservationName`
1128
+ # @return [String]
1129
+ attr_accessor :reservation_name
1130
+
1131
+ # Spot tier definition.
1132
+ # Corresponds to the JSON property `spot`
1133
+ # @return [Google::Apis::TpuV2::Spot]
1134
+ attr_accessor :spot
1135
+
1136
+ # QueuedResourceState defines the details of the QueuedResource request.
1137
+ # Corresponds to the JSON property `state`
1138
+ # @return [Google::Apis::TpuV2::QueuedResourceState]
1139
+ attr_accessor :state
1140
+
1141
+ # Details of the TPU resource(s) being requested.
1142
+ # Corresponds to the JSON property `tpu`
1143
+ # @return [Google::Apis::TpuV2::Tpu]
1144
+ attr_accessor :tpu
1145
+
1146
+ def initialize(**args)
1147
+ update!(**args)
1148
+ end
1149
+
1150
+ # Update properties of this object
1151
+ def update!(**args)
1152
+ @create_time = args[:create_time] if args.key?(:create_time)
1153
+ @guaranteed = args[:guaranteed] if args.key?(:guaranteed)
1154
+ @name = args[:name] if args.key?(:name)
1155
+ @queueing_policy = args[:queueing_policy] if args.key?(:queueing_policy)
1156
+ @reservation_name = args[:reservation_name] if args.key?(:reservation_name)
1157
+ @spot = args[:spot] if args.key?(:spot)
1158
+ @state = args[:state] if args.key?(:state)
1159
+ @tpu = args[:tpu] if args.key?(:tpu)
1160
+ end
1161
+ end
1162
+
1163
+ # QueuedResourceState defines the details of the QueuedResource request.
1164
+ class QueuedResourceState
1165
+ include Google::Apis::Core::Hashable
1166
+
1167
+ # Further data for the accepted state.
1168
+ # Corresponds to the JSON property `acceptedData`
1169
+ # @return [Google::Apis::TpuV2::AcceptedData]
1170
+ attr_accessor :accepted_data
1171
+
1172
+ # Further data for the active state.
1173
+ # Corresponds to the JSON property `activeData`
1174
+ # @return [Google::Apis::TpuV2::ActiveData]
1175
+ attr_accessor :active_data
1176
+
1177
+ # Further data for the creating state.
1178
+ # Corresponds to the JSON property `creatingData`
1179
+ # @return [Google::Apis::TpuV2::CreatingData]
1180
+ attr_accessor :creating_data
1181
+
1182
+ # Further data for the deleting state.
1183
+ # Corresponds to the JSON property `deletingData`
1184
+ # @return [Google::Apis::TpuV2::DeletingData]
1185
+ attr_accessor :deleting_data
1186
+
1187
+ # Further data for the failed state.
1188
+ # Corresponds to the JSON property `failedData`
1189
+ # @return [Google::Apis::TpuV2::FailedData]
1190
+ attr_accessor :failed_data
1191
+
1192
+ # Further data for the provisioning state.
1193
+ # Corresponds to the JSON property `provisioningData`
1194
+ # @return [Google::Apis::TpuV2::ProvisioningData]
1195
+ attr_accessor :provisioning_data
1196
+
1197
+ # Output only. State of the QueuedResource request.
1198
+ # Corresponds to the JSON property `state`
1199
+ # @return [String]
1200
+ attr_accessor :state
1201
+
1202
+ # Output only. The initiator of the QueuedResources's current state. Used to
1203
+ # indicate whether the SUSPENDING/SUSPENDED state was initiated by the user or
1204
+ # the service.
1205
+ # Corresponds to the JSON property `stateInitiator`
1206
+ # @return [String]
1207
+ attr_accessor :state_initiator
1208
+
1209
+ # Further data for the suspended state.
1210
+ # Corresponds to the JSON property `suspendedData`
1211
+ # @return [Google::Apis::TpuV2::SuspendedData]
1212
+ attr_accessor :suspended_data
1213
+
1214
+ # Further data for the suspending state.
1215
+ # Corresponds to the JSON property `suspendingData`
1216
+ # @return [Google::Apis::TpuV2::SuspendingData]
1217
+ attr_accessor :suspending_data
1218
+
1219
+ def initialize(**args)
1220
+ update!(**args)
1221
+ end
1222
+
1223
+ # Update properties of this object
1224
+ def update!(**args)
1225
+ @accepted_data = args[:accepted_data] if args.key?(:accepted_data)
1226
+ @active_data = args[:active_data] if args.key?(:active_data)
1227
+ @creating_data = args[:creating_data] if args.key?(:creating_data)
1228
+ @deleting_data = args[:deleting_data] if args.key?(:deleting_data)
1229
+ @failed_data = args[:failed_data] if args.key?(:failed_data)
1230
+ @provisioning_data = args[:provisioning_data] if args.key?(:provisioning_data)
1231
+ @state = args[:state] if args.key?(:state)
1232
+ @state_initiator = args[:state_initiator] if args.key?(:state_initiator)
1233
+ @suspended_data = args[:suspended_data] if args.key?(:suspended_data)
1234
+ @suspending_data = args[:suspending_data] if args.key?(:suspending_data)
1235
+ end
1236
+ end
1237
+
1238
+ # Defines the policy of the QueuedRequest.
1239
+ class QueueingPolicy
1240
+ include Google::Apis::Core::Hashable
1241
+
1242
+ # Optional. A relative time after which resources may be created.
1243
+ # Corresponds to the JSON property `validAfterDuration`
1244
+ # @return [String]
1245
+ attr_accessor :valid_after_duration
1246
+
1247
+ # Optional. An absolute time after which resources may be created.
1248
+ # Corresponds to the JSON property `validAfterTime`
1249
+ # @return [String]
1250
+ attr_accessor :valid_after_time
1251
+
1252
+ # Represents a time interval, encoded as a Timestamp start (inclusive) and a
1253
+ # Timestamp end (exclusive). The start must be less than or equal to the end.
1254
+ # When the start equals the end, the interval is empty (matches no time). When
1255
+ # both start and end are unspecified, the interval matches any time.
1256
+ # Corresponds to the JSON property `validInterval`
1257
+ # @return [Google::Apis::TpuV2::Interval]
1258
+ attr_accessor :valid_interval
1259
+
1260
+ # Optional. A relative time after which resources should not be created. If the
1261
+ # request cannot be fulfilled by this time the request will be failed.
1262
+ # Corresponds to the JSON property `validUntilDuration`
1263
+ # @return [String]
1264
+ attr_accessor :valid_until_duration
1265
+
1266
+ # Optional. An absolute time after which resources should not be created. If the
1267
+ # request cannot be fulfilled by this time the request will be failed.
1268
+ # Corresponds to the JSON property `validUntilTime`
1269
+ # @return [String]
1270
+ attr_accessor :valid_until_time
1271
+
1272
+ def initialize(**args)
1273
+ update!(**args)
1274
+ end
1275
+
1276
+ # Update properties of this object
1277
+ def update!(**args)
1278
+ @valid_after_duration = args[:valid_after_duration] if args.key?(:valid_after_duration)
1279
+ @valid_after_time = args[:valid_after_time] if args.key?(:valid_after_time)
1280
+ @valid_interval = args[:valid_interval] if args.key?(:valid_interval)
1281
+ @valid_until_duration = args[:valid_until_duration] if args.key?(:valid_until_duration)
1282
+ @valid_until_time = args[:valid_until_time] if args.key?(:valid_until_time)
1283
+ end
1284
+ end
1285
+
1286
+ # Request for ResetQueuedResource.
1287
+ class ResetQueuedResourceRequest
1288
+ include Google::Apis::Core::Hashable
1289
+
1290
+ def initialize(**args)
1291
+ update!(**args)
1292
+ end
1293
+
1294
+ # Update properties of this object
1295
+ def update!(**args)
1296
+ end
1297
+ end
1298
+
850
1299
  # A runtime version that a Node can be configured with.
851
1300
  class RuntimeVersion
852
1301
  include Google::Apis::Core::Hashable
@@ -888,6 +1337,12 @@ module Google
888
1337
  attr_accessor :reserved
889
1338
  alias_method :reserved?, :reserved
890
1339
 
1340
+ # Optional. Defines whether the node is Spot VM.
1341
+ # Corresponds to the JSON property `spot`
1342
+ # @return [Boolean]
1343
+ attr_accessor :spot
1344
+ alias_method :spot?, :spot
1345
+
891
1346
  def initialize(**args)
892
1347
  update!(**args)
893
1348
  end
@@ -896,6 +1351,7 @@ module Google
896
1351
  def update!(**args)
897
1352
  @preemptible = args[:preemptible] if args.key?(:preemptible)
898
1353
  @reserved = args[:reserved] if args.key?(:reserved)
1354
+ @spot = args[:spot] if args.key?(:spot)
899
1355
  end
900
1356
  end
901
1357
 
@@ -965,6 +1421,19 @@ module Google
965
1421
  end
966
1422
  end
967
1423
 
1424
+ # Spot tier definition.
1425
+ class Spot
1426
+ include Google::Apis::Core::Hashable
1427
+
1428
+ def initialize(**args)
1429
+ update!(**args)
1430
+ end
1431
+
1432
+ # Update properties of this object
1433
+ def update!(**args)
1434
+ end
1435
+ end
1436
+
968
1437
  # Request for StartNode.
969
1438
  class StartNodeRequest
970
1439
  include Google::Apis::Core::Hashable
@@ -1030,6 +1499,32 @@ module Google
1030
1499
  end
1031
1500
  end
1032
1501
 
1502
+ # Further data for the suspended state.
1503
+ class SuspendedData
1504
+ include Google::Apis::Core::Hashable
1505
+
1506
+ def initialize(**args)
1507
+ update!(**args)
1508
+ end
1509
+
1510
+ # Update properties of this object
1511
+ def update!(**args)
1512
+ end
1513
+ end
1514
+
1515
+ # Further data for the suspending state.
1516
+ class SuspendingData
1517
+ include Google::Apis::Core::Hashable
1518
+
1519
+ def initialize(**args)
1520
+ update!(**args)
1521
+ end
1522
+
1523
+ # Update properties of this object
1524
+ def update!(**args)
1525
+ end
1526
+ end
1527
+
1033
1528
  # A Symptom instance.
1034
1529
  class Symptom
1035
1530
  include Google::Apis::Core::Hashable
@@ -1066,6 +1561,25 @@ module Google
1066
1561
  @worker_id = args[:worker_id] if args.key?(:worker_id)
1067
1562
  end
1068
1563
  end
1564
+
1565
+ # Details of the TPU resource(s) being requested.
1566
+ class Tpu
1567
+ include Google::Apis::Core::Hashable
1568
+
1569
+ # Optional. The TPU node(s) being requested.
1570
+ # Corresponds to the JSON property `nodeSpec`
1571
+ # @return [Array<Google::Apis::TpuV2::NodeSpec>]
1572
+ attr_accessor :node_spec
1573
+
1574
+ def initialize(**args)
1575
+ update!(**args)
1576
+ end
1577
+
1578
+ # Update properties of this object
1579
+ def update!(**args)
1580
+ @node_spec = args[:node_spec] if args.key?(:node_spec)
1581
+ end
1582
+ end
1069
1583
  end
1070
1584
  end
1071
1585
  end
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module TpuV2
18
18
  # Version of the google-apis-tpu_v2 gem
19
- GEM_VERSION = "0.8.0"
19
+ GEM_VERSION = "0.10.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.12.0"
22
+ GENERATOR_VERSION = "0.14.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230803"
25
+ REVISION = "20240205"
26
26
  end
27
27
  end
28
28
  end