ReservationArgs class
The set of arguments for Reservation. The set of arguments for Reservation.
Constructors
-
ReservationArgs({Input<
String> ? location, Input<String> ? name, Input<String> ? project, required Input<String> reservationId, Input<String> ? throughputCapacity}) -
Creates a new ReservationArgs.
locationOptional.nameThe name of the reservation. Structured like: projects/{project_number}/locations/{location}/reservations/{reservation_id}projectOptional.reservationIdRequired. The ID to use for the reservation, which will become the final component of the reservation's name. This value is structured like:my-reservation-name.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 -
ReservationArgs.fromMap(Map<
String, dynamic> map) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
location
→ Input<
String> ? -
final
-
name
→ Input<
String> ? -
The name of the reservation. Structured like: projects/{project_number}/locations/{location}/reservations/{reservation_id}
final
-
project
→ Input<
String> ? -
final
-
reservationId
→ Input<
String> -
Required. The ID to use for the reservation, which will become the final component of the reservation's name. This value is structured like:
my-reservation-name.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
throughputCapacity
→ Input<
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