Class: Google::Cloud::BackupDR::V1::Scheduling::NodeAffinity

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/backupdr/v1/backupvault_gce.rb

Overview

Node Affinity: the configuration of desired nodes onto which this Instance could be scheduled.

Defined Under Namespace

Modules: Operator

Instance Attribute Summary collapse

Instance Attribute Details

#key::String

Returns Optional. Corresponds to the label key of Node resource.

Returns:

  • (::String)

    Optional. Corresponds to the label key of Node resource.



686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
# File 'proto_docs/google/cloud/backupdr/v1/backupvault_gce.rb', line 686

class NodeAffinity
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Defines the type of node selections.
  module Operator
    # Default value. This value is unused.
    OPERATOR_UNSPECIFIED = 0

    # Requires Compute Engine to seek for matched nodes.
    IN = 1

    # Requires Compute Engine to avoid certain nodes.
    NOT_IN = 2
  end
end

#operator::Google::Cloud::BackupDR::V1::Scheduling::NodeAffinity::Operator

Returns Optional. Defines the operation of node selection.

Returns:



686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
# File 'proto_docs/google/cloud/backupdr/v1/backupvault_gce.rb', line 686

class NodeAffinity
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Defines the type of node selections.
  module Operator
    # Default value. This value is unused.
    OPERATOR_UNSPECIFIED = 0

    # Requires Compute Engine to seek for matched nodes.
    IN = 1

    # Requires Compute Engine to avoid certain nodes.
    NOT_IN = 2
  end
end

#values::Array<::String>

Returns Optional. Corresponds to the label values of Node resource.

Returns:

  • (::Array<::String>)

    Optional. Corresponds to the label values of Node resource.



686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
# File 'proto_docs/google/cloud/backupdr/v1/backupvault_gce.rb', line 686

class NodeAffinity
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Defines the type of node selections.
  module Operator
    # Default value. This value is unused.
    OPERATOR_UNSPECIFIED = 0

    # Requires Compute Engine to seek for matched nodes.
    IN = 1

    # Requires Compute Engine to avoid certain nodes.
    NOT_IN = 2
  end
end