AI Platform Notebooks v1 API - Class ReservationAffinity (2.2.0-beta01)

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

Reference documentation and code samples for the AI Platform Notebooks v1 API class ReservationAffinity.

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>