Class ReservationSlotsResource.UpdateRequest
Update a reservation slot in the specified sub-block.
Inheritance
ReservationSlotsResource.UpdateRequest
Inherited Members
Namespace: Google.Apis.Compute.beta
Assembly: Google.Apis.Compute.beta.dll
Syntax
public class ReservationSlotsResource.UpdateRequest : ComputeBaseServiceRequest<Operation>, IClientServiceRequest<Operation>, IClientServiceRequest
Constructors
UpdateRequest(IClientService, ReservationSlot, string, string, string, string)
Constructs a new Update request.
Declaration
public UpdateRequest(IClientService service, ReservationSlot body, string project, string zone, string parentName, string reservationSlot)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| ReservationSlot | body | |
| 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 sub-block resource.
Declaration
[RequestParameter("parentName", RequestParameterType.Path)]
public virtual string ParentName { get; }
Property Value
| Type | Description |
|---|---|
| string |
Project
The 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 slot resource.
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
UpdateMask
The fields to be updated as part of this request.
Declaration
[RequestParameter("updateMask", RequestParameterType.Query)]
public virtual object UpdateMask { get; set; }
Property Value
| Type | Description |
|---|---|
| object |
Zone
The name of the zone for this request, formatted as RFC1035.
Declaration
[RequestParameter("zone", RequestParameterType.Path)]
public virtual string Zone { get; }
Property Value
| Type | Description |
|---|---|
| string |
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
| Type | Description |
|---|---|
| object |
Overrides
InitParameters()
Initializes Update parameter list.
Declaration
protected override void InitParameters()