ReservationAffinityResponse

data class ReservationAffinityResponse(val consumeReservationType: String, val key: String, val values: List<String>)

ReservationAffinity is the configuration of desired reservation which instances could take capacity from.

Constructors

Link copied to clipboard
fun ReservationAffinityResponse(consumeReservationType: String, key: String, values: List<String>)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Corresponds to the type of reservation consumption.

Link copied to clipboard
val key: String

Corresponds to the label key of a reservation resource. To target a SPECIFIC_RESERVATION by name, specify "compute.googleapis.com/reservation-name" as the key and specify the name of your reservation as its value.

Link copied to clipboard

Corresponds to the label value(s) of reservation resource(s).