Class: Google::Apis::TpuV2alpha1::QueuedResourceState
- Inherits:
-
Object
- Object
- Google::Apis::TpuV2alpha1::QueuedResourceState
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/tpu_v2alpha1/classes.rb,
lib/google/apis/tpu_v2alpha1/representations.rb,
lib/google/apis/tpu_v2alpha1/representations.rb
Overview
QueuedResourceState defines the details of the QueuedResource request.
Instance Attribute Summary collapse
-
#accepted_data ⇒ Google::Apis::TpuV2alpha1::AcceptedData
Further data for the accepted state.
-
#active_data ⇒ Google::Apis::TpuV2alpha1::ActiveData
Further data for the active state.
-
#creating_data ⇒ Google::Apis::TpuV2alpha1::CreatingData
Further data for the creating state.
-
#deleting_data ⇒ Google::Apis::TpuV2alpha1::DeletingData
Further data for the deleting state.
-
#failed_data ⇒ Google::Apis::TpuV2alpha1::FailedData
Further data for the failed state.
-
#provisioning_data ⇒ Google::Apis::TpuV2alpha1::ProvisioningData
Further data for the provisioning state.
-
#state ⇒ String
State of the QueuedResource request.
-
#state_initiator ⇒ String
Output only.
-
#suspended_data ⇒ Google::Apis::TpuV2alpha1::SuspendedData
Further data for the suspended state.
-
#suspending_data ⇒ Google::Apis::TpuV2alpha1::SuspendingData
Further data for the suspending state.
Instance Method Summary collapse
-
#initialize(**args) ⇒ QueuedResourceState
constructor
A new instance of QueuedResourceState.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ QueuedResourceState
Returns a new instance of QueuedResourceState.
1385 1386 1387 |
# File 'lib/google/apis/tpu_v2alpha1/classes.rb', line 1385 def initialize(**args) update!(**args) end |
Instance Attribute Details
#accepted_data ⇒ Google::Apis::TpuV2alpha1::AcceptedData
Further data for the accepted state.
Corresponds to the JSON property acceptedData
1336 1337 1338 |
# File 'lib/google/apis/tpu_v2alpha1/classes.rb', line 1336 def accepted_data @accepted_data end |
#active_data ⇒ Google::Apis::TpuV2alpha1::ActiveData
Further data for the active state.
Corresponds to the JSON property activeData
1341 1342 1343 |
# File 'lib/google/apis/tpu_v2alpha1/classes.rb', line 1341 def active_data @active_data end |
#creating_data ⇒ Google::Apis::TpuV2alpha1::CreatingData
Further data for the creating state.
Corresponds to the JSON property creatingData
1346 1347 1348 |
# File 'lib/google/apis/tpu_v2alpha1/classes.rb', line 1346 def creating_data @creating_data end |
#deleting_data ⇒ Google::Apis::TpuV2alpha1::DeletingData
Further data for the deleting state.
Corresponds to the JSON property deletingData
1351 1352 1353 |
# File 'lib/google/apis/tpu_v2alpha1/classes.rb', line 1351 def deleting_data @deleting_data end |
#failed_data ⇒ Google::Apis::TpuV2alpha1::FailedData
Further data for the failed state.
Corresponds to the JSON property failedData
1356 1357 1358 |
# File 'lib/google/apis/tpu_v2alpha1/classes.rb', line 1356 def failed_data @failed_data end |
#provisioning_data ⇒ Google::Apis::TpuV2alpha1::ProvisioningData
Further data for the provisioning state.
Corresponds to the JSON property provisioningData
1361 1362 1363 |
# File 'lib/google/apis/tpu_v2alpha1/classes.rb', line 1361 def provisioning_data @provisioning_data end |
#state ⇒ String
State of the QueuedResource request.
Corresponds to the JSON property state
1366 1367 1368 |
# File 'lib/google/apis/tpu_v2alpha1/classes.rb', line 1366 def state @state end |
#state_initiator ⇒ String
Output only. The initiator of the QueuedResources's current state. Used to
indicate whether the SUSPENDING/SUSPENDED state was initiated by the user or
the service.
Corresponds to the JSON property stateInitiator
1373 1374 1375 |
# File 'lib/google/apis/tpu_v2alpha1/classes.rb', line 1373 def state_initiator @state_initiator end |
#suspended_data ⇒ Google::Apis::TpuV2alpha1::SuspendedData
Further data for the suspended state.
Corresponds to the JSON property suspendedData
1378 1379 1380 |
# File 'lib/google/apis/tpu_v2alpha1/classes.rb', line 1378 def suspended_data @suspended_data end |
#suspending_data ⇒ Google::Apis::TpuV2alpha1::SuspendingData
Further data for the suspending state.
Corresponds to the JSON property suspendingData
1383 1384 1385 |
# File 'lib/google/apis/tpu_v2alpha1/classes.rb', line 1383 def suspending_data @suspending_data end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 |
# File 'lib/google/apis/tpu_v2alpha1/classes.rb', line 1390 def update!(**args) @accepted_data = args[:accepted_data] if args.key?(:accepted_data) @active_data = args[:active_data] if args.key?(:active_data) @creating_data = args[:creating_data] if args.key?(:creating_data) @deleting_data = args[:deleting_data] if args.key?(:deleting_data) @failed_data = args[:failed_data] if args.key?(:failed_data) @provisioning_data = args[:provisioning_data] if args.key?(:provisioning_data) @state = args[:state] if args.key?(:state) @state_initiator = args[:state_initiator] if args.key?(:state_initiator) @suspended_data = args[:suspended_data] if args.key?(:suspended_data) @suspending_data = args[:suspending_data] if args.key?(:suspending_data) end |