Content config of the data store.
Working with unknown values
This enum is defined as #[non_exhaustive] because Google Cloud may add
additional enum variants at any time. Adding new variants is not considered
a breaking change. Applications should write their code in anticipation of:
- New values appearing in future releases of the client library, and
- New values received dynamically, without application changes.
Please consult the Working with enums section in the user guide for some guidelines.
Enum Variants |
|
|---|---|
| Name | Description |
Unspecified |
Default value. |
NoContent |
Only contains documents without any Document.content. |
ContentRequired |
Only contains documents with Document.content. |
PublicWebsite |
The data store is used for public website search. |
GoogleWorkspace |
The data store is used for workspace search. Details of workspace data store are specified in the WorkspaceConfig. |
UnknownValue |
If set, the enum was initialized with an unknown value. Applications can examine the value using [ContentConfig::value] or [ContentConfig::name]. |
Implementations |
|
|---|---|
| Name | Description |
value |
Gets the enum value. Returns |
name |
Gets the enum value as a string. Returns |