Class ProjectsResource.LocationsResource.CapacityCommitmentsResource.SplitRequest
Splits capacity commitment to two commitments of the same plan and commitment_end_time
. A common
use case is to enable downgrading commitments. For example, in order to downgrade from 10000 slots
to 8000, you might split a 10000 capacity commitment into commitments of 2000 and 8000. Then, you
delete the first one after the commitment end time passes.
Inheritance
System.Object
Google.Apis.Requests.ClientServiceRequest
Google.Apis.Requests.ClientServiceRequest<SplitCapacityCommitmentResponse>
ProjectsResource.LocationsResource.CapacityCommitmentsResource.SplitRequest
Implements
Google.Apis.Requests.IClientServiceRequest<SplitCapacityCommitmentResponse>
Google.Apis.Requests.IClientServiceRequest
Inherited Members
Google.Apis.Requests.ClientServiceRequest<Google.Apis.BigQueryReservation.v1beta1.Data.SplitCapacityCommitmentResponse>.Execute()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.BigQueryReservation.v1beta1.Data.SplitCapacityCommitmentResponse>.ExecuteAsStream()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.BigQueryReservation.v1beta1.Data.SplitCapacityCommitmentResponse>.ExecuteAsync()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.BigQueryReservation.v1beta1.Data.SplitCapacityCommitmentResponse>.ExecuteAsync(System.Threading.CancellationToken)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.BigQueryReservation.v1beta1.Data.SplitCapacityCommitmentResponse>.ExecuteAsStreamAsync()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.BigQueryReservation.v1beta1.Data.SplitCapacityCommitmentResponse>.ExecuteAsStreamAsync(System.Threading.CancellationToken)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.BigQueryReservation.v1beta1.Data.SplitCapacityCommitmentResponse>.CreateRequest(System.Nullable<System.Boolean>)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.BigQueryReservation.v1beta1.Data.SplitCapacityCommitmentResponse>.GenerateRequestUri()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.BigQueryReservation.v1beta1.Data.SplitCapacityCommitmentResponse>.GetDefaultETagAction(System.String)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.BigQueryReservation.v1beta1.Data.SplitCapacityCommitmentResponse>.ETagAction
Google.Apis.Requests.ClientServiceRequest<Google.Apis.BigQueryReservation.v1beta1.Data.SplitCapacityCommitmentResponse>.ModifyRequest
Google.Apis.Requests.ClientServiceRequest<Google.Apis.BigQueryReservation.v1beta1.Data.SplitCapacityCommitmentResponse>.ValidateParameters
Google.Apis.Requests.ClientServiceRequest<Google.Apis.BigQueryReservation.v1beta1.Data.SplitCapacityCommitmentResponse>.RequestParameters
Google.Apis.Requests.ClientServiceRequest<Google.Apis.BigQueryReservation.v1beta1.Data.SplitCapacityCommitmentResponse>.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 SplitRequest : BigQueryReservationBaseServiceRequest<SplitCapacityCommitmentResponse>, IClientServiceRequest<SplitCapacityCommitmentResponse>, IClientServiceRequest
Constructors
SplitRequest(IClientService, SplitCapacityCommitmentRequest, String)
Constructs a new Split request.
Declaration
public SplitRequest(IClientService service, SplitCapacityCommitmentRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
Google.Apis.Services.IClientService | service | |
SplitCapacityCommitmentRequest | body | |
System.String | name |
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.SplitCapacityCommitmentResponse>.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.SplitCapacityCommitmentResponse>.MethodName
Name
Required. The resource name e.g.,: projects/myproject/locations/US/capacityCommitments/123
Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { 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.SplitCapacityCommitmentResponse>.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.SplitCapacityCommitmentResponse>.GetBody()
InitParameters()
Initializes Split parameter list.
Declaration
protected override void InitParameters()
Overrides
Google.Apis.BigQueryReservation.v1beta1.BigQueryReservationBaseServiceRequest<Google.Apis.BigQueryReservation.v1beta1.Data.SplitCapacityCommitmentResponse>.InitParameters()
Implements
Google.Apis.Requests.IClientServiceRequest<TResponse>
Google.Apis.Requests.IClientServiceRequest