ReservationsResourceApi class

Constructors

ReservationsResourceApi(ApiRequester client)

Properties

hashCode → int
The hash code for this object.
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

aggregatedList(String project, {String filter, int maxResults, String orderBy, String pageToken, String $fields}) → Future<ReservationAggregatedList>
Retrieves an aggregated list of reservations. [...]
delete(String project, String zone, String reservation, {String requestId, String $fields}) → Future<Operation>
Deletes the specified reservation. [...]
get(String project, String zone, String reservation, {String $fields}) → Future<Reservation>
Retrieves all information of the specified reservation. [...]
getIamPolicy(String project, String zone, String resource, {String $fields}) → Future<Policy>
Gets the access control policy for a resource. May be empty if no such policy or resource exists. [...]
insert(Reservation request, String project, String zone, {String requestId, String $fields}) → Future<Operation>
Creates a new reservation. For more information, read Reserving zonal resources. [...]
list(String project, String zone, {String filter, int maxResults, String orderBy, String pageToken, String $fields}) → Future<ReservationList>
A list all the reservations that have been configured for the specified project in specified zone. [...]
resize(ReservationsResizeRequest request, String project, String zone, String reservation, {String requestId, String $fields}) → Future<Operation>
Resizes the reservation (applicable to standalone reservations only) [...]
setIamPolicy(ZoneSetPolicyRequest request, String project, String zone, String resource, {String $fields}) → Future<Policy>
Sets the access control policy on the specified resource. Replaces any existing policy. [...]
testIamPermissions(TestPermissionsRequest request, String project, String zone, String resource, {String $fields}) → Future<TestPermissionsResponse>
Returns permissions that a caller has on the specified resource. [...]
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) → bool
The equality operator.
inherited