public sealed class CreateCapacityCommitmentRequest : IMessage<CreateCapacityCommitmentRequest>, IEquatable<CreateCapacityCommitmentRequest>, IDeepCloneable<CreateCapacityCommitmentRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the BigQuery Reservation v1 API class CreateCapacityCommitmentRequest.
The request for
[ReservationService.CreateCapacityCommitment][google.cloud.bigquery.reservation.v1.ReservationService.CreateCapacityCommitment].
The optional capacity commitment ID. Capacity commitment name will be
generated automatically if this field is empty.
This field must only contain lower case alphanumeric characters or dashes.
The first and last character cannot be a dash. Max length is 64 characters.
NOTE: this ID won't be kept if the capacity commitment is split or merged.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-19 UTC."],[[["\u003cp\u003eThis documentation page covers the \u003ccode\u003eCreateCapacityCommitmentRequest\u003c/code\u003e class within the Google.Cloud.BigQuery.Reservation.V1 API, focusing on version 2.2.0 but also listing other versions for the user's reference.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCreateCapacityCommitmentRequest\u003c/code\u003e class is used to create a new capacity commitment via the \u003ccode\u003eReservationService.CreateCapacityCommitment\u003c/code\u003e API, allowing the user to specify its properties.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of \u003ccode\u003eCreateCapacityCommitmentRequest\u003c/code\u003e include \u003ccode\u003eCapacityCommitment\u003c/code\u003e to define the commitment details, \u003ccode\u003eCapacityCommitmentId\u003c/code\u003e for an optional user-defined ID, \u003ccode\u003eParent\u003c/code\u003e to define the parent reservation resource, and \u003ccode\u003eEnforceSingleAdminProjectPerOrg\u003c/code\u003e to prevent duplicate commitments.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCreateCapacityCommitmentRequest\u003c/code\u003e class inherits from \u003ccode\u003eobject\u003c/code\u003e and implements several interfaces, such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, providing a robust set of features for handling requests.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation provides constructor details for creating a new \u003ccode\u003eCreateCapacityCommitmentRequest\u003c/code\u003e instance, either as a default instance or as a copy of an existing one.\u003c/p\u003e\n"]]],[],null,[]]