Google Cloud Contact Center Insights V1 Client - Class Type (2.1.1)

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 \ Entity

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

TYPE_UNSPECIFIED

Value: 0

Unspecified.

Generated from protobuf enum TYPE_UNSPECIFIED = 0;

PERSON

Value: 1

Person.

Generated from protobuf enum PERSON = 1;

LOCATION

Value: 2

Location.

Generated from protobuf enum LOCATION = 2;

ORGANIZATION

Value: 3

Organization.

Generated from protobuf enum ORGANIZATION = 3;

EVENT

Value: 4

Event.

Generated from protobuf enum EVENT = 4;

WORK_OF_ART

Value: 5

Artwork.

Generated from protobuf enum WORK_OF_ART = 5;

CONSUMER_GOOD

Value: 6

Consumer product.

Generated from protobuf enum CONSUMER_GOOD = 6;

OTHER

Value: 7

Other types of entities.

Generated from protobuf enum OTHER = 7;

PHONE_NUMBER

Value: 9

Phone 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: 10

Address.

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: 11

Date.

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: 12

Number.

The metadata is the number itself.

Generated from protobuf enum NUMBER = 12;

PRICE

Value: 13

Price.

The metadata identifies the value and currency.

Generated from protobuf enum PRICE = 13;