Class ProjectsResource.LocationsResource.UpdateBiReservationRequest
Updates a BI reservation. Only fields specified in the field_mask
are updated. A singleton BI
reservation always exists with default size 0. In order to reserve BI capacity it needs to be updated to
an amount greater than 0. In order to release BI capacity reservation size must be set to 0.
Inheritance
ProjectsResource.LocationsResource.UpdateBiReservationRequest
Inherited Members
Namespace: Google.Apis.BigQueryReservation.v1
Assembly: Google.Apis.BigQueryReservation.v1.dll
Syntax
public class ProjectsResource.LocationsResource.UpdateBiReservationRequest : BigQueryReservationBaseServiceRequest<BiReservation>, IClientServiceRequest<BiReservation>, IClientServiceRequest
Constructors
UpdateBiReservationRequest(IClientService, BiReservation, string)
Constructs a new UpdateBiReservation request.
Declaration
public UpdateBiReservationRequest(IClientService service, BiReservation body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
BiReservation | body | |
string | name |
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
Name
The resource name of the singleton BI reservation. Reservation names have the form
projects/{project_id}/locations/{location_id}/biReservation
.
Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
UpdateMask
A list of fields to be updated in this request.
Declaration
[RequestParameter("updateMask", RequestParameterType.Query)]
public virtual object UpdateMask { get; set; }
Property Value
Type | Description |
---|---|
object |
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes UpdateBiReservation parameter list.
Declaration
protected override void InitParameters()