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
System.Object
Google.Apis.Requests.ClientServiceRequest
Google.Apis.Requests.ClientServiceRequest<CapacityCommitment>
ProjectsResource.LocationsResource.CapacityCommitmentsResource.MergeRequest
Implements
Google.Apis.Requests.IClientServiceRequest<CapacityCommitment>
Google.Apis.Requests.IClientServiceRequest
Inherited Members
Google.Apis.Requests.ClientServiceRequest<Google.Apis.BigQueryReservation.v1beta1.Data.CapacityCommitment>.Execute()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.BigQueryReservation.v1beta1.Data.CapacityCommitment>.ExecuteAsStream()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.BigQueryReservation.v1beta1.Data.CapacityCommitment>.ExecuteAsync()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.BigQueryReservation.v1beta1.Data.CapacityCommitment>.ExecuteAsync(System.Threading.CancellationToken)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.BigQueryReservation.v1beta1.Data.CapacityCommitment>.ExecuteAsStreamAsync()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.BigQueryReservation.v1beta1.Data.CapacityCommitment>.ExecuteAsStreamAsync(System.Threading.CancellationToken)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.BigQueryReservation.v1beta1.Data.CapacityCommitment>.CreateRequest(System.Nullable<System.Boolean>)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.BigQueryReservation.v1beta1.Data.CapacityCommitment>.GenerateRequestUri()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.BigQueryReservation.v1beta1.Data.CapacityCommitment>.GetDefaultETagAction(System.String)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.BigQueryReservation.v1beta1.Data.CapacityCommitment>.ETagAction
Google.Apis.Requests.ClientServiceRequest<Google.Apis.BigQueryReservation.v1beta1.Data.CapacityCommitment>.ModifyRequest
Google.Apis.Requests.ClientServiceRequest<Google.Apis.BigQueryReservation.v1beta1.Data.CapacityCommitment>.ValidateParameters
Google.Apis.Requests.ClientServiceRequest<Google.Apis.BigQueryReservation.v1beta1.Data.CapacityCommitment>.RequestParameters
Google.Apis.Requests.ClientServiceRequest<Google.Apis.BigQueryReservation.v1beta1.Data.CapacityCommitment>.Service
Google.Apis.Requests.ClientServiceRequest._unsuccessfulResponseHandlers
Google.Apis.Requests.ClientServiceRequest._exceptionHandlers
Google.Apis.Requests.ClientServiceRequest._executeInterceptors
Google.Apis.Requests.ClientServiceRequest.AddUnsuccessfulResponseHandler(Google.Apis.Http.IHttpUnsuccessfulResponseHandler)
Google.Apis.Requests.ClientServiceRequest.AddExceptionHandler(Google.Apis.Http.IHttpExceptionHandler)
Google.Apis.Requests.ClientServiceRequest.AddExecuteInterceptor(Google.Apis.Http.IHttpExecuteInterceptor)
Google.Apis.Requests.ClientServiceRequest.Credential
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.BigQueryReservation.v1beta1
Assembly: Google.Apis.BigQueryReservation.v1beta1.dll
Syntax
public class 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 |
---|---|---|
Google.Apis.Services.IClientService | service | |
MergeCapacityCommitmentsRequest | body | |
System.String | parent |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.BigQueryReservation.v1beta1.Data.CapacityCommitment>.HttpMethod
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.BigQueryReservation.v1beta1.Data.CapacityCommitment>.MethodName
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 |
---|---|
System.String |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.BigQueryReservation.v1beta1.Data.CapacityCommitment>.RestPath
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
System.Object |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.BigQueryReservation.v1beta1.Data.CapacityCommitment>.GetBody()
InitParameters()
Initializes Merge parameter list.
Declaration
protected override void InitParameters()
Overrides
Google.Apis.BigQueryReservation.v1beta1.BigQueryReservationBaseServiceRequest<Google.Apis.BigQueryReservation.v1beta1.Data.CapacityCommitment>.InitParameters()
Implements
Google.Apis.Requests.IClientServiceRequest<TResponse>
Google.Apis.Requests.IClientServiceRequest