Show / Hide Table of Contents

Class ReservationSlotsResource

The "reservationSlots" collection of methods.

Inheritance
object
ReservationSlotsResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Compute.beta
Assembly: Google.Apis.Compute.beta.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

The project ID for this request.

string zone

The name of the zone for this request, formatted as RFC1035.

string parentName

The name of the parent reservation and parent block, formatted as reservations/{reservation_name}/reservationBlocks/{reservation_block_name}/reservationSubBlocks/{reservation_sub_block_name}

string reservationSlot

The name of the reservation slot, formatted as RFC1035 or a resource ID number.

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

The project ID for this request.

string zone

The name of the zone for this request, formatted as RFC1035.

string parentName

The name of the parent reservation and parent block, formatted as reservations/{reservation_name}/reservationBlocks/{reservation_block_name}/reservationSubBlocks/{reservation_sub_block_name}

Returns
Type Description
ReservationSlotsResource.ListRequest

Update(ReservationSlot, string, string, string, string)

Update a reservation slot in the specified sub-block.

Declaration
public virtual ReservationSlotsResource.UpdateRequest Update(ReservationSlot body, string project, string zone, string parentName, string reservationSlot)
Parameters
Type Name Description
ReservationSlot body

The body of the request.

string project

The project ID for this request.

string zone

The name of the zone for this request, formatted as RFC1035.

string parentName

The name of the sub-block resource.

string reservationSlot

The name of the slot resource.

Returns
Type Description
ReservationSlotsResource.UpdateRequest
In this article
Back to top Generated by DocFX