ProjectsLocationsReservationsResource class

Constructors

ProjectsLocationsReservationsResource.new(ApiRequester client)

Properties

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

Methods

create(Reservation request, String parent, {String? reservationId, String? $fields}) Future<Reservation>
Creates a new reservation resource.
delete(String name, {String? $fields}) Future<Empty>
Deletes a reservation.
failoverReservation(FailoverReservationRequest request, String name, {String? $fields}) Future<Reservation>
Fail over a reservation to the secondary location.
get(String name, {String? $fields}) Future<Reservation>
Returns information about the reservation.
getIamPolicy(String resource, {int? options_requestedPolicyVersion, String? $fields}) Future<Policy>
Gets the access control policy for a resource.
list(String parent, {int? pageSize, String? pageToken, String? $fields}) Future<ListReservationsResponse>
Lists all the reservations for the project in the specified location.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
patch(Reservation request, String name, {String? updateMask, String? $fields}) Future<Reservation>
Updates an existing reservation resource.
setIamPolicy(SetIamPolicyRequest request, String resource, {String? $fields}) Future<Policy>
Sets an access control policy for a resource.
testIamPermissions(TestIamPermissionsRequest request, String resource, {String? $fields}) Future<TestIamPermissionsResponse>
Gets your permissions on a resource.
toString() String
A string representation of this object.
inherited

Operators

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