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
Returns
- (::Google::Cloud::Container::V1beta1::SoleTenantConfig::NodeAffinity::Operator) — Operator for NodeAffinity.
#operator=
def operator=(value) -> ::Google::Cloud::Container::V1beta1::SoleTenantConfig::NodeAffinity::Operator
Parameter
- value (::Google::Cloud::Container::V1beta1::SoleTenantConfig::NodeAffinity::Operator) — Operator for NodeAffinity.
Returns
- (::Google::Cloud::Container::V1beta1::SoleTenantConfig::NodeAffinity::Operator) — Operator for NodeAffinity.
#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.