Reference documentation and code samples for the Google Cloud App Topology V1 Client class 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.
Generated from protobuf message google.cloud.apptopology.v1.NodeGroup
Namespace
Google \ Cloud \ AppTopology \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ any_labels |
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. |
getAnyLabels
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 | |
|---|---|
| Type | Description |
Google\Protobuf\RepeatedField<string> |
|
setAnyLabels
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.
| Parameter | |
|---|---|
| Name | Description |
var |
string[]
|
| Returns | |
|---|---|
| Type | Description |
$this |
|