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. bestEffort The BestEffort tier. createTime The time when the QueuedResource was created. guaranteed The Guaranteed tier. name Immutable. The name of the QueuedResource. queueingPolicy The queueing policy of the QueuedRequest. reservationName Name of the reservation in which the resource should be provisioned. Format: projects/{project}/locations/{zone}/reservations/{reservation} spot Optional. The Spot tier. state State of the QueuedResource request. tpu Defines 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