Reference documentation and code samples for the Backup and DR Service V1 API class Google::Cloud::BackupDR::V1::Scheduling::NodeAffinity.
Node Affinity: the configuration of desired nodes onto which this Instance could be scheduled.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#key
def key() -> ::String
Returns
- (::String) — Optional. Corresponds to the label key of Node resource.
#key=
def key=(value) -> ::String
Parameter
- value (::String) — Optional. Corresponds to the label key of Node resource.
Returns
- (::String) — Optional. Corresponds to the label key of Node resource.
#operator
def operator() -> ::Google::Cloud::BackupDR::V1::Scheduling::NodeAffinity::Operator
Returns
- (::Google::Cloud::BackupDR::V1::Scheduling::NodeAffinity::Operator) — Optional. Defines the operation of node selection.
#operator=
def operator=(value) -> ::Google::Cloud::BackupDR::V1::Scheduling::NodeAffinity::Operator
Parameter
- value (::Google::Cloud::BackupDR::V1::Scheduling::NodeAffinity::Operator) — Optional. Defines the operation of node selection.
Returns
- (::Google::Cloud::BackupDR::V1::Scheduling::NodeAffinity::Operator) — Optional. Defines the operation of node selection.
#values
def values() -> ::Array<::String>
Returns
- (::Array<::String>) — Optional. Corresponds to the label values of Node resource.
#values=
def values=(value) -> ::Array<::String>
Parameter
- value (::Array<::String>) — Optional. Corresponds to the label values of Node resource.
Returns
- (::Array<::String>) — Optional. Corresponds to the label values of Node resource.