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
ProjectsResource.LocationsResource.CapacityCommitmentsResource.SplitRequest
Inherited Members
Namespace: Google.Apis.BigQueryReservation.v1
Assembly: Google.Apis.BigQueryReservation.v1.dll
Syntax
public class ProjectsResource.LocationsResource.CapacityCommitmentsResource.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 |
---|---|---|
IClientService | service | |
SplitCapacityCommitmentRequest | 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
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 |
---|---|
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 Split parameter list.
Declaration
protected override void InitParameters()