GetReservationResult class
Result data returned by getReservation.
Constructors
- GetReservationResult({required String name, required String throughputCapacity})
-
Creates a new GetReservationResult.
nameThe name of the reservation. Structured like: projects/{project_number}/locations/{location}/reservations/{reservation_id}throughputCapacityThe reserved throughput capacity. Every unit of throughput capacity is equivalent to 1 MiB/s of published messages or 2 MiB/s of subscribed messages. Any topics which are declared as using capacity from a Reservation will consume resources from this reservation instead of being charged individually.const -
GetReservationResult.fromMap(Map<
String, dynamic> map) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String
-
The name of the reservation. Structured like: projects/{project_number}/locations/{location}/reservations/{reservation_id}
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- throughputCapacity → String
-
The reserved throughput capacity. Every unit of throughput capacity is equivalent to 1 MiB/s of published messages or 2 MiB/s of subscribed messages. Any topics which are declared as using capacity from a Reservation will consume resources from this reservation instead of being charged individually.
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