Backup and DR Service V1 API - Class Google::Cloud::BackupDR::V1::Scheduling::NodeAffinity (v0.3.0)

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

#operator=

def operator=(value) -> ::Google::Cloud::BackupDR::V1::Scheduling::NodeAffinity::Operator
Parameter
Returns

#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.