Class CreateCapacityCommitmentRequest (1.4.0)

public sealed class CreateCapacityCommitmentRequest : IMessage<CreateCapacityCommitmentRequest>, IEquatable<CreateCapacityCommitmentRequest>, IDeepCloneable<CreateCapacityCommitmentRequest>, IBufferMessage, IMessage

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
NameDescription
otherCreateCapacityCommitmentRequest

Properties

CapacityCommitment

public CapacityCommitment CapacityCommitment { get; set; }

Content of the capacity commitment to create.

Property Value
TypeDescription
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 dash. Max length is 64 characters. NOTE: this ID won't be kept if the capacity commitment is split or merged.

Property Value
TypeDescription
String

EnforceSingleAdminProjectPerOrg

public bool EnforceSingleAdminProjectPerOrg { get; set; }

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

Property Value
TypeDescription
Boolean

Parent

public string Parent { get; set; }

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

Property Value
TypeDescription
String

ParentAsLocationName

public LocationName ParentAsLocationName { get; set; }

LocationName-typed view over the Parent resource name property.

Property Value
TypeDescription
LocationName