BigQuery Reservation v1 API - Class CreateCapacityCommitmentRequest (2.5.0)

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].

Inheritance

object > CreateCapacityCommitmentRequest

Namespace

Google.Cloud.BigQuery.Reservation.V1

Assembly

Google.Cloud.BigQuery.Reservation.V1.dll

Constructors

CreateCapacityCommitmentRequest()

public CreateCapacityCommitmentRequest()

CreateCapacityCommitmentRequest(CreateCapacityCommitmentRequest)

public CreateCapacityCommitmentRequest(CreateCapacityCommitmentRequest other)
Parameter
Name Description
other CreateCapacityCommitmentRequest

Properties

CapacityCommitment

public CapacityCommitment CapacityCommitment { get; set; }

Content of the capacity commitment to create.

Property Value
Type Description
CapacityCommitment

CapacityCommitmentId

public string CapacityCommitmentId { get; set; }

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.

Property Value
Type Description
string

EnforceSingleAdminProjectPerOrg

public bool EnforceSingleAdminProjectPerOrg { get; set; }

If true, fail the request if another project in the organization has a capacity commitment.

Property Value
Type Description
bool

Parent

public string Parent { get; set; }

Required. Resource name of the parent reservation. E.g., projects/myproject/locations/US

Property Value
Type Description
string

ParentAsLocationName

public LocationName ParentAsLocationName { get; set; }

LocationName-typed view over the Parent resource name property.

Property Value
Type Description
LocationName