Class ReservationSlotsResource
The "reservationSlots" collection of methods.
Inherited Members
Namespace: Google.Apis.Compute.alpha
Assembly: Google.Apis.Compute.alpha.dll
Syntax
public class ReservationSlotsResource
Constructors
ReservationSlotsResource(IClientService)
Constructs a new resource.
Declaration
public ReservationSlotsResource(IClientService service)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service |
Methods
Get(string, string, string, string)
Retrieves information about the specified reservation slot.
Declaration
public virtual ReservationSlotsResource.GetRequest Get(string project, string zone, string parentName, string reservationSlot)
Parameters
| Type | Name | Description |
|---|---|---|
| string | project | Project ID for this request. |
| string | zone | Name of the zone for this request. Zone name should conform to RFC1035. |
| string | parentName | The name of the parent reservation and parent block. In the format of reservations/{reservation_name}/reservationBlocks/{reservation_block_name}/reservationSubBlocks/{reservation_sub_block_name} |
| string | reservationSlot | The name of the reservation slot. Name should conform to RFC1035 or be a resource ID. |
Returns
| Type | Description |
|---|---|
| ReservationSlotsResource.GetRequest |
List(string, string, string)
Retrieves a list of reservation slots under a single reservation.
Declaration
public virtual ReservationSlotsResource.ListRequest List(string project, string zone, string parentName)
Parameters
| Type | Name | Description |
|---|---|---|
| string | project | Project ID for this request. |
| string | zone | Name of the zone for this request. Zone name should conform to RFC1035. |
| string | parentName | The name of the parent reservation and parent block. In the format of reservations/{reservation_name}/reservationBlocks/{reservation_block_name}/reservationSubBlocks/{reservation_sub_block_name} |
Returns
| Type | Description |
|---|---|
| ReservationSlotsResource.ListRequest |