0.5.3 (latest) 0.4.4 0.3.0 0.2.1 0.1.4 Reference documentation and code samples for the Google Cloud Api Hub V1 Client class AttributeValues.

The attribute values associated with resource.

Generated from protobuf message `google.cloud.apihub.v1.AttributeValues`

## Namespace

Google \\ Cloud \\ ApiHub \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ enum_values` | `https://docs.cloud.google.com/php/docs/reference/cloud-apihub/latest/V1.AttributeValues.EnumAttributeValues` The attribute values associated with a resource in case attribute data type is enum. |
| `↳ string_values` | `https://docs.cloud.google.com/php/docs/reference/cloud-apihub/latest/V1.AttributeValues.StringAttributeValues` The attribute values associated with a resource in case attribute data type is string. |
| `↳ json_values` | `https://docs.cloud.google.com/php/docs/reference/cloud-apihub/latest/V1.AttributeValues.StringAttributeValues` The attribute values associated with a resource in case attribute data type is JSON. |
| `↳ uri_values` | `https://docs.cloud.google.com/php/docs/reference/cloud-apihub/latest/V1.AttributeValues.StringAttributeValues` The attribute values associated with a resource in case attribute data type is URL, URI or IP, like gs://bucket-name/object-name. |
| `↳ attribute` | `string` Output only. The name of the attribute. Format: projects/{project}/locations/{location}/attributes/{attribute} |

### getEnumValues

The attribute values associated with a resource in case attribute data
type is enum.

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

### hasEnumValues

### setEnumValues

The attribute values associated with a resource in case attribute data
type is enum.

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

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

### getStringValues

The attribute values associated with a resource in case attribute data
type is string.

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

### hasStringValues

### setStringValues

The attribute values associated with a resource in case attribute data
type is string.

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

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

### getJsonValues

The attribute values associated with a resource in case attribute data
type is JSON.

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

### hasJsonValues

### setJsonValues

The attribute values associated with a resource in case attribute data
type is JSON.

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

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

### getUriValues

The attribute values associated with a resource in case attribute data
type is URL, URI or IP, like gs://bucket-name/object-name.

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

### hasUriValues

### setUriValues

The attribute values associated with a resource in case attribute data
type is URL, URI or IP, like gs://bucket-name/object-name.

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

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

### getAttribute

Output only. The name of the attribute.

Format: projects/{project}/locations/{location}/attributes/{attribute}

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

### setAttribute

Output only. The name of the attribute.

Format: projects/{project}/locations/{location}/attributes/{attribute}

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

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

### getValue

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