Reference documentation and code samples for the App Topology V1 API class Google::Cloud::AppTopology::V1::NodeGroup.
NodeGroup represents a dynamic collection of nodes that satisfy specific criteria. A node is considered part of this group if it matches the defined constraints.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#any_labels
def any_labels() -> ::Array<::String>
Returns
- (::Array<::String>) — Optional. A node must have at least one of these labels to be included in the group. If empty or unset, this constraint is not applied.
#any_labels=
def any_labels=(value) -> ::Array<::String>
Parameter
- value (::Array<::String>) — Optional. A node must have at least one of these labels to be included in the group. If empty or unset, this constraint is not applied.
Returns
- (::Array<::String>) — Optional. A node must have at least one of these labels to be included in the group. If empty or unset, this constraint is not applied.