Reference documentation and code samples for the Google Cloud App Topology V1 Client class NodePattern.
Node pattern matcher to match the node id, labels and properties.
Generated from protobuf message google.cloud.apptopology.v1.NodePattern
Namespace
Google \ Cloud \ AppTopology \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ alias |
string
Optional. Represents an identifier to be referenced in |
↳ label_properties_pattern |
LabelPropertiesPattern
Optional. Matcher for labels/properties. |
getAlias
Optional. Represents an identifier to be referenced in
property_matcher_expr. For example, an alias for app can be referenced
as app.Base/location="us-central1". alias must be unique within the
query, otherwise an error will be returned.
| Returns | |
|---|---|
| Type | Description |
string |
|
setAlias
Optional. Represents an identifier to be referenced in
property_matcher_expr. For example, an alias for app can be referenced
as app.Base/location="us-central1". alias must be unique within the
query, otherwise an error will be returned.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getLabelPropertiesPattern
Optional. Matcher for labels/properties.
| Returns | |
|---|---|
| Type | Description |
LabelPropertiesPattern|null |
|
hasLabelPropertiesPattern
clearLabelPropertiesPattern
setLabelPropertiesPattern
Optional. Matcher for labels/properties.
| Parameter | |
|---|---|
| Name | Description |
var |
LabelPropertiesPattern
|
| Returns | |
|---|---|
| Type | Description |
$this |
|