Class ReservationAffinity
ReservationAffinity is the configuration of the desired reservation from which instances can consume resources.
Implements
Inherited Members
Namespace: Google.Apis.CloudWorkstations.v1beta.Data
Assembly: Google.Apis.CloudWorkstations.v1beta.dll
Syntax
public class ReservationAffinity : IDirectResponseSchema
Properties
ConsumeReservationType
Optional. Corresponds to the type of reservation consumption.
Declaration
[JsonProperty("consumeReservationType")]
public virtual string ConsumeReservationType { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Key
Optional. Corresponds to the label key of reservation resource.
Declaration
[JsonProperty("key")]
public virtual string Key { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Values
Optional. Corresponds to the label values of reservation resources. Valid values are either the name of a reservation in the same project or "projects/{project}/reservations/{reservation}" to target a shared reservation in the same zone but in a different project.
Declaration
[JsonProperty("values")]
public virtual IList<string> Values { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<string> |