Class: Google::Cloud::Compute::V1::SchedulingNodeAffinity
- Inherits:
-
Object
- Object
- Google::Cloud::Compute::V1::SchedulingNodeAffinity
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/compute/v1/compute.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
-
#key ⇒ ::String
Corresponds to the label key of Node resource.
-
#operator ⇒ ::String
Defines the operation of node selection.
-
#values ⇒ ::Array<::String>
Corresponds to the label values of Node resource.
Instance Attribute Details
#key ⇒ ::String
Returns Corresponds to the label key of Node resource.
23776 23777 23778 23779 23780 23781 23782 23783 23784 23785 23786 23787 23788 23789 23790 23791 23792 23793 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 23776 class SchedulingNodeAffinity include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Defines the operation of node selection. Valid operators are IN for affinity and NOT_IN for anti-affinity. module Operator # A value indicating that the enum field is not set. UNDEFINED_OPERATOR = 0 # Requires Compute Engine to seek for matched nodes. IN = 2341 # Requires Compute Engine to avoid certain nodes. NOT_IN = 161144369 OPERATOR_UNSPECIFIED = 128892924 end end |
#operator ⇒ ::String
Returns Defines the operation of node selection. Valid operators are IN for affinity and NOT_IN for anti-affinity. Check the Operator enum for the list of possible values.
23776 23777 23778 23779 23780 23781 23782 23783 23784 23785 23786 23787 23788 23789 23790 23791 23792 23793 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 23776 class SchedulingNodeAffinity include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Defines the operation of node selection. Valid operators are IN for affinity and NOT_IN for anti-affinity. module Operator # A value indicating that the enum field is not set. UNDEFINED_OPERATOR = 0 # Requires Compute Engine to seek for matched nodes. IN = 2341 # Requires Compute Engine to avoid certain nodes. NOT_IN = 161144369 OPERATOR_UNSPECIFIED = 128892924 end end |
#values ⇒ ::Array<::String>
Returns Corresponds to the label values of Node resource.
23776 23777 23778 23779 23780 23781 23782 23783 23784 23785 23786 23787 23788 23789 23790 23791 23792 23793 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 23776 class SchedulingNodeAffinity include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Defines the operation of node selection. Valid operators are IN for affinity and NOT_IN for anti-affinity. module Operator # A value indicating that the enum field is not set. UNDEFINED_OPERATOR = 0 # Requires Compute Engine to seek for matched nodes. IN = 2341 # Requires Compute Engine to avoid certain nodes. NOT_IN = 161144369 OPERATOR_UNSPECIFIED = 128892924 end end |