google-apis-tpu_v2alpha1 0.20.0 → 0.22.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4b36ba0be3961cbb15b8ba7af75366c0963dd3ace6d4dce5d922d2e114247fcf
4
- data.tar.gz: 8067a2b3c918309b0e342745095f1d31b0479a70a8ee1c45813c59c0604fd976
3
+ metadata.gz: 688d5e7e4789a5229d9cfdf2949b2db85ec6e003b3273cc5f5bfc32c01499369
4
+ data.tar.gz: 6ea17b872d21b6d8fb8d39ccac356961bcf9628a6ebddbf817fc143db4da2ea2
5
5
  SHA512:
6
- metadata.gz: 151780e6454dcb304e9f5bdd1adae9a25179a3bab23972c554096af3c1ec7be61dacce4eb8c653a9821a71e821117dcbadaccdba3b92119128f9e5cc3d7a3566
7
- data.tar.gz: c4ff1fbe43b5294de37ae932612feca8887fe7503a43be8e61775d24005bc3ab05390f0400d3c278b6732cdf45a8f9a47614a77f67607d112ec935dc611be44a
6
+ metadata.gz: aede3ac6f06d5e19004287cc48c98211e3cf8d9ee33287b7cc23172542ffca88b69dd4a037595e37aea0adb18a9cc031aab599e007ff4b6c573956de6f72640e
7
+ data.tar.gz: e04f5348cccb26b45671418165656349e6bb924deb9213bce4371ad2684e08c06b069f51f470040d03cd19803daba2f32723c03abfe4f0b118194dd87c2c2bf3
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-tpu_v2alpha1
2
2
 
3
+ ### v0.22.0 (2023-07-23)
4
+
5
+ * Regenerated from discovery document revision 20230717
6
+
7
+ ### v0.21.0 (2023-07-16)
8
+
9
+ * Regenerated from discovery document revision 20230707
10
+
3
11
  ### v0.20.0 (2023-05-14)
4
12
 
5
13
  * Regenerated from discovery document revision 20230508
@@ -1105,6 +1105,11 @@ module Google
1105
1105
  # @return [String]
1106
1106
  attr_accessor :reservation_name
1107
1107
 
1108
+ # Spot tier definition.
1109
+ # Corresponds to the JSON property `spot`
1110
+ # @return [Google::Apis::TpuV2alpha1::Spot]
1111
+ attr_accessor :spot
1112
+
1108
1113
  # QueuedResourceState defines the details of the QueuedResource request.
1109
1114
  # Corresponds to the JSON property `state`
1110
1115
  # @return [Google::Apis::TpuV2alpha1::QueuedResourceState]
@@ -1126,6 +1131,7 @@ module Google
1126
1131
  @name = args[:name] if args.key?(:name)
1127
1132
  @queueing_policy = args[:queueing_policy] if args.key?(:queueing_policy)
1128
1133
  @reservation_name = args[:reservation_name] if args.key?(:reservation_name)
1134
+ @spot = args[:spot] if args.key?(:spot)
1129
1135
  @state = args[:state] if args.key?(:state)
1130
1136
  @tpu = args[:tpu] if args.key?(:tpu)
1131
1137
  end
@@ -1170,6 +1176,11 @@ module Google
1170
1176
  # @return [String]
1171
1177
  attr_accessor :state
1172
1178
 
1179
+ # Output only. The initiator of the QueuedResources's current state.
1180
+ # Corresponds to the JSON property `stateInitiator`
1181
+ # @return [String]
1182
+ attr_accessor :state_initiator
1183
+
1173
1184
  # Further data for the suspended state.
1174
1185
  # Corresponds to the JSON property `suspendedData`
1175
1186
  # @return [Google::Apis::TpuV2alpha1::SuspendedData]
@@ -1193,6 +1204,7 @@ module Google
1193
1204
  @failed_data = args[:failed_data] if args.key?(:failed_data)
1194
1205
  @provisioning_data = args[:provisioning_data] if args.key?(:provisioning_data)
1195
1206
  @state = args[:state] if args.key?(:state)
1207
+ @state_initiator = args[:state_initiator] if args.key?(:state_initiator)
1196
1208
  @suspended_data = args[:suspended_data] if args.key?(:suspended_data)
1197
1209
  @suspending_data = args[:suspending_data] if args.key?(:suspending_data)
1198
1210
  end
@@ -1386,6 +1398,19 @@ module Google
1386
1398
  end
1387
1399
  end
1388
1400
 
1401
+ # Spot tier definition.
1402
+ class Spot
1403
+ include Google::Apis::Core::Hashable
1404
+
1405
+ def initialize(**args)
1406
+ update!(**args)
1407
+ end
1408
+
1409
+ # Update properties of this object
1410
+ def update!(**args)
1411
+ end
1412
+ end
1413
+
1389
1414
  # Request for StartNode.
1390
1415
  class StartNodeRequest
1391
1416
  include Google::Apis::Core::Hashable
@@ -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.20.0"
19
+ GEM_VERSION = "0.22.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230508"
25
+ REVISION = "20230717"
26
26
  end
27
27
  end
28
28
  end
@@ -280,6 +280,12 @@ module Google
280
280
  include Google::Apis::Core::JsonObjectSupport
281
281
  end
282
282
 
283
+ class Spot
284
+ class Representation < Google::Apis::Core::JsonRepresentation; end
285
+
286
+ include Google::Apis::Core::JsonObjectSupport
287
+ end
288
+
283
289
  class StartNodeRequest
284
290
  class Representation < Google::Apis::Core::JsonRepresentation; end
285
291
 
@@ -650,6 +656,8 @@ module Google
650
656
  property :queueing_policy, as: 'queueingPolicy', class: Google::Apis::TpuV2alpha1::QueueingPolicy, decorator: Google::Apis::TpuV2alpha1::QueueingPolicy::Representation
651
657
 
652
658
  property :reservation_name, as: 'reservationName'
659
+ property :spot, as: 'spot', class: Google::Apis::TpuV2alpha1::Spot, decorator: Google::Apis::TpuV2alpha1::Spot::Representation
660
+
653
661
  property :state, as: 'state', class: Google::Apis::TpuV2alpha1::QueuedResourceState, decorator: Google::Apis::TpuV2alpha1::QueuedResourceState::Representation
654
662
 
655
663
  property :tpu, as: 'tpu', class: Google::Apis::TpuV2alpha1::Tpu, decorator: Google::Apis::TpuV2alpha1::Tpu::Representation
@@ -673,6 +681,7 @@ module Google
673
681
  property :provisioning_data, as: 'provisioningData', class: Google::Apis::TpuV2alpha1::ProvisioningData, decorator: Google::Apis::TpuV2alpha1::ProvisioningData::Representation
674
682
 
675
683
  property :state, as: 'state'
684
+ property :state_initiator, as: 'stateInitiator'
676
685
  property :suspended_data, as: 'suspendedData', class: Google::Apis::TpuV2alpha1::SuspendedData, decorator: Google::Apis::TpuV2alpha1::SuspendedData::Representation
677
686
 
678
687
  property :suspending_data, as: 'suspendingData', class: Google::Apis::TpuV2alpha1::SuspendingData, decorator: Google::Apis::TpuV2alpha1::SuspendingData::Representation
@@ -737,6 +746,12 @@ module Google
737
746
  end
738
747
  end
739
748
 
749
+ class Spot
750
+ # @private
751
+ class Representation < Google::Apis::Core::JsonRepresentation
752
+ end
753
+ end
754
+
740
755
  class StartNodeRequest
741
756
  # @private
742
757
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-tpu_v2alpha1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.20.0
4
+ version: 0.22.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-05-14 00:00:00.000000000 Z
11
+ date: 2023-07-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-tpu_v2alpha1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-tpu_v2alpha1/v0.20.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-tpu_v2alpha1/v0.22.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-tpu_v2alpha1
63
63
  post_install_message:
64
64
  rdoc_options: []