Class CreateCapacityCommitmentRequest (1.14.1)

CreateCapacityCommitmentRequest(
    mapping=None, *, ignore_unknown_fields=False, **kwargs
)

The request for ReservationService.CreateCapacityCommitment.

Attributes

Name Description
parent str
Required. Resource name of the parent reservation. E.g., projects/myproject/locations/US
capacity_commitment google.cloud.bigquery_reservation_v1.types.CapacityCommitment
Content of the capacity commitment to create.
enforce_single_admin_project_per_org bool
If true, fail the request if another project in the organization has a capacity commitment.
capacity_commitment_id str
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.