Reference documentation and code samples for the Google Cloud Contact Center Insights V1 Client class Type.
The type of the entity. For most entity types, the associated metadata is a
Wikipedia URL (wikipedia_url) and Knowledge Graph MID (mid). The table
below lists the associated fields for entities that have different
metadata.
Protobuf type google.cloud.contactcenterinsights.v1.Entity.Type
Namespace
Google \ Cloud \ ContactCenterInsights \ V1 \ EntityMethods
static::name
| Parameter | |
|---|---|
| Name | Description |
value |
mixed
|
static::value
| Parameter | |
|---|---|
| Name | Description |
name |
mixed
|
Constants
TYPE_UNSPECIFIED
Value: 0Unspecified.
Generated from protobuf enum TYPE_UNSPECIFIED = 0;
PERSON
Value: 1Person.
Generated from protobuf enum PERSON = 1;
LOCATION
Value: 2Location.
Generated from protobuf enum LOCATION = 2;
ORGANIZATION
Value: 3Organization.
Generated from protobuf enum ORGANIZATION = 3;
EVENT
Value: 4Event.
Generated from protobuf enum EVENT = 4;
WORK_OF_ART
Value: 5Artwork.
Generated from protobuf enum WORK_OF_ART = 5;
CONSUMER_GOOD
Value: 6Consumer product.
Generated from protobuf enum CONSUMER_GOOD = 6;
OTHER
Value: 7Other types of entities.
Generated from protobuf enum OTHER = 7;
PHONE_NUMBER
Value: 9Phone number.
The metadata lists the phone number (formatted according to local convention), plus whichever additional elements appear in the text:
number- The actual number, broken down into sections according to local convention.national_prefix- Country code, if detected.area_code- Region or area code, if detected.extension- Phone extension (to be dialed after connection), if detected.
Generated from protobuf enum PHONE_NUMBER = 9;
ADDRESS
Value: 10Address.
The metadata identifies the street number and locality plus whichever additional elements appear in the text:
street_number- Street number.locality- City or town.street_name- Street/route name, if detected.postal_code- Postal code, if detected.country- Country, if detected.broad_region- Administrative area, such as the state, if detected.narrow_region- Smaller administrative area, such as county, if detected.sublocality- Used in Asian addresses to demark a district within a city, if detected.
Generated from protobuf enum ADDRESS = 10;
DATE
Value: 11Date.
The metadata identifies the components of the date:
year- Four digit year, if detected.month- Two digit month number, if detected.day- Two digit day number, if detected.
Generated from protobuf enum DATE = 11;
NUMBER
Value: 12Number.
The metadata is the number itself.
Generated from protobuf enum NUMBER = 12;
PRICE
Value: 13Price.
The metadata identifies the value and currency.
Generated from protobuf enum PRICE = 13;