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

Property defines the schema of a property in the graph.

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

## Namespace

Google \\ Cloud \\ AppTopology \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ string_value` | `https://docs.cloud.google.com/php/docs/reference/cloud-apptopology/latest/V1.StringValue` StringValue represents a property that has a string value type. |
| `↳ int_value` | `https://docs.cloud.google.com/php/docs/reference/cloud-apptopology/latest/V1.IntValue` IntValue represents a property that has an integer value type. |
| `↳ bool_value` | `https://docs.cloud.google.com/php/docs/reference/cloud-apptopology/latest/V1.BoolValue` BoolValue represents a property that has a boolean value type. |
| `↳ double_value` | `https://docs.cloud.google.com/php/docs/reference/cloud-apptopology/latest/V1.DoubleValue` DoubleValue represents a property that has a double value type. |
| `↳ name` | `string` `name` is the key string to identify the property in `Node`s \& `Edge`s. Examples: `ProjectId`, `Base/displayName` etc. |
| `↳ description` | `string` A human-readable description of the `PropertyType`, explaining its meaning, purpose, and any constraints or expectations on its value. |

### getStringValue

StringValue represents a property that has a string value type.

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

### hasStringValue

### setStringValue

StringValue represents a property that has a string value type.

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

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

### getIntValue

IntValue represents a property that has an integer value type.

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

### hasIntValue

### setIntValue

IntValue represents a property that has an integer value type.

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

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

### getBoolValue

BoolValue represents a property that has a boolean value type.

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

### hasBoolValue

### setBoolValue

BoolValue represents a property that has a boolean value type.

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

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

### getDoubleValue

DoubleValue represents a property that has a double value type.

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

### hasDoubleValue

### setDoubleValue

DoubleValue represents a property that has a double value type.

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

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

### getName

`name` is the key string to identify the property in `Node`s \& `Edge`s.

Examples: `ProjectId`, `Base/displayName` etc.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setName

`name` is the key string to identify the property in `Node`s \& `Edge`s.

Examples: `ProjectId`, `Base/displayName` etc.

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

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

### getDescription

A human-readable description of the `PropertyType`, explaining its meaning,
purpose, and any constraints or expectations on its value.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setDescription

A human-readable description of the `PropertyType`, explaining its meaning,
purpose, and any constraints or expectations on its value.

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

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

### getValue

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |