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

StringValue represents a property that has a string value type.

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

## Namespace

Google \\ Cloud \\ AppTopology \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ repeated` | `bool` OPTIONAL Whether the property is repeated. |
| `↳ allowed_values` | `string[]` OPTIONAL Allowed values for the property. If provided, the property value must be one of the allowed values. |

### getRepeated

OPTIONAL
Whether the property is repeated.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### setRepeated

OPTIONAL
Whether the property is repeated.

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

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

### getAllowedValues

OPTIONAL
Allowed values for the property. If provided, the property value must be
one of the allowed values.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Google\Protobuf\RepeatedField<string>` |   |

### setAllowedValues

OPTIONAL
Allowed values for the property. If provided, the property value must be
one of the allowed values.

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

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