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.
Implements
IMessage<ReservationAffinity>, IEquatable<ReservationAffinity>, IDeepCloneable<ReservationAffinity>, IBufferMessage, IMessageNamespace
Google.Cloud.Notebooks.V1Assembly
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 |
ReservationAffinity.Types.Type |
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 |
RepeatedField<String> |