0.2.0 (latest) 0.1.1 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 \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ alias` | `string` 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. |
| `↳ label_properties_pattern` | `https://docs.cloud.google.com/php/docs/reference/cloud-apptopology/latest/V1.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** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-apptopology/latest/V1.LabelPropertiesPattern|null` |   |

### hasLabelPropertiesPattern

### clearLabelPropertiesPattern

### setLabelPropertiesPattern

Optional. Matcher for labels/properties.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-apptopology/latest/V1.LabelPropertiesPattern` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |