ReservationsResource class

Constructors

ReservationsResource(ApiRequester client)

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

aggregatedList(String project, {String? filter, bool? includeAllScopes, int? maxResults, String? orderBy, String? pageToken, bool? returnPartialSuccess, String? serviceProjectNumber, 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 information about the specified reservation.
getIamPolicy(String project, String zone, String resource, {int? optionsRequestedPolicyVersion, String? $fields}) Future<Policy>
Gets the access control policy for a resource.
insert(Reservation request, String project, String zone, {String? requestId, String? $fields}) Future<Operation>
Creates a new reservation.
list(String project, String zone, {String? filter, int? maxResults, String? orderBy, String? pageToken, bool? returnPartialSuccess, String? $fields}) Future<ReservationList>
A list of all the reservations that have been configured for the specified project in specified zone.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
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.
testIamPermissions(TestPermissionsRequest request, String project, String zone, String resource, {String? $fields}) Future<TestPermissionsResponse>
Returns permissions that a caller has on the specified resource.
toString() String
A string representation of this object.
inherited
update(Reservation request, String project, String zone, String reservation, {List<String>? paths, String? requestId, String? updateMask, String? $fields}) Future<Operation>
Update share settings of the reservation.

Operators

operator ==(Object other) bool
The equality operator.
inherited