0.2.0 (latest) 0.1.1 Reference documentation and code samples for the Google Cloud App Topology V1 Client class EdgePattern.

Edge pattern matcher to match the edge direction, labels and properties.

Generated from protobuf message `google.cloud.apptopology.v1.EdgePattern`

## Namespace

Google \\ Cloud \\ AppTopology \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ direction` | `int` Required. The direction of the edge to match. |
| `↳ label_properties_pattern` | `https://docs.cloud.google.com/php/docs/reference/cloud-apptopology/latest/V1.LabelPropertiesPattern` Required. Matcher for labels/properties. |
| `↳ alias` | `string` Optional. Represents an identifier to be referenced in `property_matcher_expr`. For example, an alias for `edge` can be referenced as `edge.description = "value_1"`. `alias` must be unique within the query, otherwise an error will be returned. |

### getDirection

Required. The direction of the edge to match.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` | Enum of type [Direction](https://docs.cloud.google.com/php/docs/reference/cloud-apptopology/latest/V1.EdgePattern.Direction). |

### setDirection

Required. The direction of the edge to match.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` Enum of type [Direction](https://docs.cloud.google.com/php/docs/reference/cloud-apptopology/latest/V1.EdgePattern.Direction). |

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

### getLabelPropertiesPattern

Required. Matcher for labels/properties.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-apptopology/latest/V1.LabelPropertiesPattern|null` |   |

### hasLabelPropertiesPattern

### clearLabelPropertiesPattern

### setLabelPropertiesPattern

Required. 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` |   |

### getAlias

Optional. Represents an identifier to be referenced in
`property_matcher_expr`. For example, an alias for `edge` can be referenced
as `edge.description = "value_1"`. `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 `edge` can be referenced
as `edge.description = "value_1"`. `alias` must be unique within the query,
otherwise an error will be returned.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

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