Class ProjectsResource.LocationsResource.CapacityCommitmentsResource.MergeRequest
Merges capacity commitments of the same plan into a single commitment. The resulting capacity
commitment has the greater commitment_end_time out of the to-be-merged capacity commitments.
Attempting to merge capacity commitments of different plan will fail with the error code
google.rpc.Code.FAILED_PRECONDITION
.
Inheritance
ProjectsResource.LocationsResource.CapacityCommitmentsResource.MergeRequest
Inherited Members
Namespace: Google.Apis.BigQueryReservation.v1
Assembly: Google.Apis.BigQueryReservation.v1.dll
Syntax
public class ProjectsResource.LocationsResource.CapacityCommitmentsResource.MergeRequest : BigQueryReservationBaseServiceRequest<CapacityCommitment>, IClientServiceRequest<CapacityCommitment>, IClientServiceRequest
Constructors
MergeRequest(IClientService, MergeCapacityCommitmentsRequest, string)
Constructs a new Merge request.
Declaration
public MergeRequest(IClientService service, MergeCapacityCommitmentsRequest body, string parent)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
MergeCapacityCommitmentsRequest | body | |
string | parent |
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
Parent
Parent resource that identifies admin project and location e.g.,
projects/myproject/locations/us
Declaration
[RequestParameter("parent", RequestParameterType.Path)]
public virtual string Parent { get; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes Merge parameter list.
Declaration
protected override void InitParameters()