Class ReservationAffinity

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

Reservation Affinity for consuming Zonal reservation.

Inheritance

Object > ReservationAffinity

Namespace

Google.Cloud.Notebooks.V1

Assembly

Google.Cloud.Notebooks.V1.dll

Constructors

ReservationAffinity()

public ReservationAffinity()

ReservationAffinity(ReservationAffinity)

public ReservationAffinity(ReservationAffinity other)
Parameter
NameDescription
otherReservationAffinity

Properties

ConsumeReservationType

public ReservationAffinity.Types.Type ConsumeReservationType { get; set; }

Optional. Type of reservation to consume

Property Value
TypeDescription
ReservationAffinity.Types.Type

Key

public string Key { get; set; }

Optional. Corresponds to the label key of reservation resource.

Property Value
TypeDescription
String

Values

public RepeatedField<string> Values { get; }

Optional. Corresponds to the label values of reservation resource.

Property Value
TypeDescription
RepeatedField<String>