Class FutureReservationsResource
The "futureReservations" collection of methods.
Inherited Members
Namespace: Google.Apis.Compute.beta
Assembly: Google.Apis.Compute.beta.dll
Syntax
public class FutureReservationsResource
Constructors
FutureReservationsResource(IClientService)
Constructs a new resource.
Declaration
public FutureReservationsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
AggregatedList(string)
Retrieves an aggregated list of future reservations. To prevent failure, Google recommends that you set the
returnPartialSuccess
parameter to true
.
Declaration
public virtual FutureReservationsResource.AggregatedListRequest AggregatedList(string project)
Parameters
Type | Name | Description |
---|---|---|
string | project | Project ID for this request. |
Returns
Type | Description |
---|---|
FutureReservationsResource.AggregatedListRequest |
Cancel(string, string, string)
Cancel the specified future reservation.
Declaration
public virtual FutureReservationsResource.CancelRequest Cancel(string project, string zone, string futureReservation)
Parameters
Type | Name | Description |
---|---|---|
string | project | Project ID for this request. |
string | zone | Name of the zone for this request. Name should conform to RFC1035. |
string | futureReservation | Name of the future reservation to retrieve. Name should conform to RFC1035. |
Returns
Type | Description |
---|---|
FutureReservationsResource.CancelRequest |
Delete(string, string, string)
Deletes the specified future reservation.
Declaration
public virtual FutureReservationsResource.DeleteRequest Delete(string project, string zone, string futureReservation)
Parameters
Type | Name | Description |
---|---|---|
string | project | Project ID for this request. |
string | zone | Name of the zone for this request. Name should conform to RFC1035. |
string | futureReservation | Name of the future reservation to retrieve. Name should conform to RFC1035. |
Returns
Type | Description |
---|---|
FutureReservationsResource.DeleteRequest |
Get(string, string, string)
Retrieves information about the specified future reservation.
Declaration
public virtual FutureReservationsResource.GetRequest Get(string project, string zone, string futureReservation)
Parameters
Type | Name | Description |
---|---|---|
string | project | Project ID for this request. |
string | zone | Name of the zone for this request. Name should conform to RFC1035. |
string | futureReservation | Name of the future reservation to retrieve. Name should conform to RFC1035. |
Returns
Type | Description |
---|---|
FutureReservationsResource.GetRequest |
Insert(FutureReservation, string, string)
Creates a new Future Reservation.
Declaration
public virtual FutureReservationsResource.InsertRequest Insert(FutureReservation body, string project, string zone)
Parameters
Type | Name | Description |
---|---|---|
FutureReservation | body | The body of the request. |
string | project | Project ID for this request. |
string | zone | Name of the zone for this request. Name should conform to RFC1035. |
Returns
Type | Description |
---|---|
FutureReservationsResource.InsertRequest |
List(string, string)
A list of all the future reservations that have been configured for the specified project in specified zone.
Declaration
public virtual FutureReservationsResource.ListRequest List(string project, string zone)
Parameters
Type | Name | Description |
---|---|---|
string | project | Project ID for this request. |
string | zone | Name of the zone for this request. Name should conform to RFC1035. |
Returns
Type | Description |
---|---|
FutureReservationsResource.ListRequest |
Update(FutureReservation, string, string, string)
Updates the specified future reservation.
Declaration
public virtual FutureReservationsResource.UpdateRequest Update(FutureReservation body, string project, string zone, string futureReservation)
Parameters
Type | Name | Description |
---|---|---|
FutureReservation | body | The body of the request. |
string | project | Project ID for this request. |
string | zone | Name of the zone for this request. Name should conform to RFC1035. |
string | futureReservation | Name of the reservation to update. Name should conform to RFC1035. |
Returns
Type | Description |
---|---|
FutureReservationsResource.UpdateRequest |