public sealed class SchedulingPolicy : IMessage<SchedulingPolicy>, IEquatable<SchedulingPolicy>, IDeepCloneable<SchedulingPolicy>, IBufferMessage, IMessage
Reference documentation and code samples for the BigQuery Reservation v1 API class SchedulingPolicy.
The scheduling policy controls how a reservation's resources are distributed.
Implements
IMessageSchedulingPolicy, IEquatableSchedulingPolicy, IDeepCloneableSchedulingPolicy, IBufferMessage, IMessageNamespace
Google.Cloud.BigQuery.Reservation.V1Assembly
Google.Cloud.BigQuery.Reservation.V1.dll
Constructors
SchedulingPolicy()
public SchedulingPolicy()
SchedulingPolicy(SchedulingPolicy)
public SchedulingPolicy(SchedulingPolicy other)
Parameter | |
---|---|
Name | Description |
other |
SchedulingPolicy |
Properties
Concurrency
public long Concurrency { get; set; }
Optional. If present and > 0, the reservation will attempt to limit the concurrency of jobs running for any particular project within it to the given value.
This feature is not yet generally available.
Property Value | |
---|---|
Type | Description |
long |
HasConcurrency
public bool HasConcurrency { get; }
Gets whether the "concurrency" field is set
Property Value | |
---|---|
Type | Description |
bool |
HasMaxSlots
public bool HasMaxSlots { get; }
Gets whether the "max_slots" field is set
Property Value | |
---|---|
Type | Description |
bool |
MaxSlots
public long MaxSlots { get; set; }
Optional. If present and > 0, the reservation will attempt to limit the slot consumption of queries running for any particular project within it to the given value.
This feature is not yet generally available.
Property Value | |
---|---|
Type | Description |
long |