GetQueuedResourceResult class
Result data returned by getQueuedResource.
Constructors
-
GetQueuedResourceResult({required Map<
String, dynamic> bestEffort, required String createTime, required GuaranteedResponse guaranteed, required String name, required QueueingPolicyResponse queueingPolicy, required String reservationName, required Map<String, dynamic> spot, required QueuedResourceStateResponse state, required TpuResponse tpu}) -
Creates a new GetQueuedResourceResult.
bestEffortThe BestEffort tier.createTimeThe time when the QueuedResource was created.guaranteedThe Guaranteed tier.nameImmutable. The name of the QueuedResource.queueingPolicyThe queueing policy of the QueuedRequest.reservationNameName of the reservation in which the resource should be provisioned. Format: projects/{project}/locations/{zone}/reservations/{reservation}spotOptional. The Spot tier.stateState of the QueuedResource request.tpuDefines a TPU resource.const -
GetQueuedResourceResult.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
bestEffort
→ Map<
String, dynamic> -
The BestEffort tier.
final
- createTime → String
-
The time when the QueuedResource was created.
final
- guaranteed → GuaranteedResponse
-
The Guaranteed tier.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String
-
Immutable. The name of the QueuedResource.
final
- queueingPolicy → QueueingPolicyResponse
-
The queueing policy of the QueuedRequest.
final
- reservationName → String
-
Name of the reservation in which the resource should be provisioned. Format: projects/{project}/locations/{zone}/reservations/{reservation}
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
spot
→ Map<
String, dynamic> -
Optional. The Spot tier.
final
- state → QueuedResourceStateResponse
-
State of the QueuedResource request.
final
- tpu → TpuResponse
-
Defines a TPU resource.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited