# Google Cloud Retail V2 Client - Class SearchableOption (2.5.3)

2.5.3 (latest) 2.5.2 2.4.0 2.3.1 2.2.1 2.1.3 2.0.0 1.7.0 1.6.4 1.5.0 1.4.2 1.3.1 1.2.1 1.1.1 1.0.1 Reference documentation and code samples for the Google Cloud Retail V2 Client class SearchableOption.

The status of the searchable option of a catalog attribute.

Protobuf type `google.cloud.retail.v2.CatalogAttribute.SearchableOption`

## Namespace

Google \\ Cloud \\ Retail \\ V2 \\ CatalogAttribute

## Methods

### static::name

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `value` | `mixed` |

### static::value

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `mixed` |

## Constants

### SEARCHABLE_OPTION_UNSPECIFIED

    Value: 0

Value used when unset.

Generated from protobuf enum `SEARCHABLE_OPTION_UNSPECIFIED = 0;`

### SEARCHABLE_ENABLED

    Value: 1

Searchable option enabled for an attribute.

Generated from protobuf enum `SEARCHABLE_ENABLED = 1;`

### SEARCHABLE_DISABLED

    Value: 2

Searchable option disabled for an attribute.

Generated from protobuf enum `SEARCHABLE_DISABLED = 2;`