/// 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.
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.
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 .
pub async fn split_capacity_commitment(
            &mut self,
            request: impl tonic::IntoRequest<super::SplitCapacityCommitmentRequest>,
        ) -> Result<
            tonic::Response<super::SplitCapacityCommitmentResponse>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::new(
                        tonic::Code::Unknown,
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.bigquery.reservation.v1.ReservationService/SplitCapacityCommitment",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
pub async fn split_capacity_commitment ( & mut self , request : impl tonic :: IntoRequest < super :: SplitCapacityCommitmentRequest > , ) -> Result < tonic :: Response < super :: SplitCapacityCommitmentResponse > , tonic :: Status , > { self . inner . ready ( ) . await . map_err ( | e | { tonic :: Status :: new ( tonic :: Code :: Unknown , format ! ( " " e into ( ) ) , ) } ) ? ; let codec = tonic :: codec :: ProstCodec :: default ( ) ; let path = http :: uri :: PathAndQuery :: from_static ( " " , ) ; self . inner . unary ( request . into_request ( ) , path , codec ) . await }
Splits capacity commitment to two commitments of the same plan and
`commitment_end_time`.
Splits capacity commitment to two commitments of the same plan and ` commitment_end_time ` .
&mut self
request
impl tonic::IntoRequest<super::SplitCapacityCommitmentRequest>