public sealed class CreateCapacityCommitmentRequest : IMessage<CreateCapacityCommitmentRequest>, IEquatable<CreateCapacityCommitmentRequest>, IDeepCloneable<CreateCapacityCommitmentRequest>, IBufferMessage, IMessage
The request for [ReservationService.CreateCapacityCommitment][google.cloud.bigquery.reservation.v1.ReservationService.CreateCapacityCommitment].
Implements
IMessage<CreateCapacityCommitmentRequest>, IEquatable<CreateCapacityCommitmentRequest>, IDeepCloneable<CreateCapacityCommitmentRequest>, IBufferMessage, IMessageNamespace
Google.Cloud.BigQuery.Reservation.V1Assembly
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 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 |
Boolean |
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 |