AI Platform Notebooks v1 API - Class ReservationAffinity (2.4.0)

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
Name Description
other ReservationAffinity

Properties

ConsumeReservationType

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

Optional. Type of reservation to consume

Property Value
Type Description
ReservationAffinityTypesType

Key

public string Key { get; set; }

Optional. Corresponds to the label key of reservation resource.

Property Value
Type Description
string

Values

public RepeatedField<string> Values { get; }

Optional. Corresponds to the label values of reservation resource.

Property Value
Type Description
RepeatedFieldstring