Class ReservationSlotsResource.GetRequest
Retrieves information about the specified reservation slot.
Inheritance
ReservationSlotsResource.GetRequest
Inherited Members
Namespace: Google.Apis.Compute.alpha
Assembly: Google.Apis.Compute.alpha.dll
Syntax
public class ReservationSlotsResource.GetRequest : ComputeBaseServiceRequest<ReservationSlotsGetResponse>, IClientServiceRequest<ReservationSlotsGetResponse>, IClientServiceRequest
Constructors
GetRequest(IClientService, string, string, string, string)
Constructs a new Get request.
Declaration
public GetRequest(IClientService service, string project, string zone, string parentName, string reservationSlot)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| string | project | |
| string | zone | |
| string | parentName | |
| string | reservationSlot |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
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}
Declaration
[RequestParameter("parentName", RequestParameterType.Path)]
public virtual string ParentName { get; }
Property Value
| Type | Description |
|---|---|
| string |
Project
Project ID for this request.
Declaration
[RequestParameter("project", RequestParameterType.Path)]
public virtual string Project { get; }
Property Value
| Type | Description |
|---|---|
| string |
ReservationSlot
The name of the reservation slot. Name should conform to RFC1035 or be a resource ID.
Declaration
[RequestParameter("reservationSlot", RequestParameterType.Path)]
public virtual string ReservationSlot { get; }
Property Value
| Type | Description |
|---|---|
| string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Zone
Name of the zone for this request. Zone name should conform to RFC1035.
Declaration
[RequestParameter("zone", RequestParameterType.Path)]
public virtual string Zone { get; }
Property Value
| Type | Description |
|---|---|
| string |
Methods
InitParameters()
Initializes Get parameter list.
Declaration
protected override void InitParameters()