Kubernetes Engine V1beta1 API - Class Google::Cloud::Container::V1beta1::SoleTenantConfig::NodeAffinity (v0.39.0)

Reference documentation and code samples for the Kubernetes Engine V1beta1 API class Google::Cloud::Container::V1beta1::SoleTenantConfig::NodeAffinity.

Specifies the NodeAffinity key, values, and affinity operator according to shared sole tenant node group affinities.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#key

def key() -> ::String
Returns
  • (::String) — Key for NodeAffinity.

#key=

def key=(value) -> ::String
Parameter
  • value (::String) — Key for NodeAffinity.
Returns
  • (::String) — Key for NodeAffinity.

#operator

def operator() -> ::Google::Cloud::Container::V1beta1::SoleTenantConfig::NodeAffinity::Operator

#operator=

def operator=(value) -> ::Google::Cloud::Container::V1beta1::SoleTenantConfig::NodeAffinity::Operator

#values

def values() -> ::Array<::String>
Returns
  • (::Array<::String>) — Values for NodeAffinity.

#values=

def values=(value) -> ::Array<::String>
Parameter
  • value (::Array<::String>) — Values for NodeAffinity.
Returns
  • (::Array<::String>) — Values for NodeAffinity.