[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[],[],null,["# Cloud Natural Language V2 Client - Class Type (1.0.1)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.1 (latest)](/php/docs/reference/cloud-language/latest/V2.Entity.Type)\n- [1.0.0](/php/docs/reference/cloud-language/1.0.0/V2.Entity.Type)\n- [0.34.3](/php/docs/reference/cloud-language/0.34.3/V2.Entity.Type)\n- [0.33.0](/php/docs/reference/cloud-language/0.33.0/V2.Entity.Type)\n- [0.32.7](/php/docs/reference/cloud-language/0.32.7/V2.Entity.Type)\n- [0.31.3](/php/docs/reference/cloud-language/0.31.3/V2.Entity.Type)\n- [0.30.2](/php/docs/reference/cloud-language/0.30.2/V2.Entity.Type)\n- [0.29.0](/php/docs/reference/cloud-language/0.29.0/V2.Entity.Type)\n- [0.28.5](/php/docs/reference/cloud-language/0.28.5/V2.Entity.Type) \nReference documentation and code samples for the Cloud Natural Language V2 Client class Type.\n\nThe type of the entity. The table\nbelow lists the associated fields for entities that have different\nmetadata.\n\nProtobuf type `google.cloud.language.v2.Entity.Type`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Language \\\\ V2 \\\\ Entity\n\nMethods\n-------\n\n### static::name\n\n### static::value\n\nConstants\n---------\n\n### UNKNOWN\n\n Value: 0\n\nUnknown\n\nGenerated from protobuf enum `UNKNOWN = 0;`\n\n### PERSON\n\n Value: 1\n\nPerson\n\nGenerated from protobuf enum `PERSON = 1;`\n\n### LOCATION\n\n Value: 2\n\nLocation\n\nGenerated from protobuf enum `LOCATION = 2;`\n\n### ORGANIZATION\n\n Value: 3\n\nOrganization\n\nGenerated from protobuf enum `ORGANIZATION = 3;`\n\n### EVENT\n\n Value: 4\n\nEvent\n\nGenerated from protobuf enum `EVENT = 4;`\n\n### WORK_OF_ART\n\n Value: 5\n\nArtwork\n\nGenerated from protobuf enum `WORK_OF_ART = 5;`\n\n### CONSUMER_GOOD\n\n Value: 6\n\nConsumer product\n\nGenerated from protobuf enum `CONSUMER_GOOD = 6;`\n\n### OTHER\n\n Value: 7\n\nOther types of entities\n\nGenerated from protobuf enum `OTHER = 7;`\n\n### PHONE_NUMBER\n\n Value: 9\n\nPhone number\nThe metadata lists the phone number, formatted according to local\nconvention, plus whichever additional elements appear in the text:\n\n- `number` - the actual number, broken down into sections as per local convention\n- `national_prefix` - country code, if detected\n- `area_code` - region or area code, if detected\n- `extension` - phone extension (to be dialed after connection), if detected\n\nGenerated from protobuf enum `PHONE_NUMBER = 9;`\n\n### ADDRESS\n\n Value: 10\n\nAddress\nThe metadata identifies the street number and locality plus whichever\nadditional elements appear in the text:\n\n- `street_number` - street number\n- `locality` - city or town\n- `street_name` - street/route name, if detected\n- `postal_code` - postal code, if detected\n- `country` - country, if detected\n- `broad_region` - administrative area, such as the state, if detected\n- `narrow_region` - smaller administrative area, such as county, if detected\n- `sublocality` - used in Asian addresses to demark a district within a city, if detected\n\nGenerated from protobuf enum `ADDRESS = 10;`\n\n### DATE\n\n Value: 11\n\nDate\nThe metadata identifies the components of the date:\n\n- `year` - four digit year, if detected\n- `month` - two digit month number, if detected\n- `day` - two digit day number, if detected\n\nGenerated from protobuf enum `DATE = 11;`\n\n### NUMBER\n\n Value: 12\n\nNumber\nThe metadata is the number itself.\n\nGenerated from protobuf enum `NUMBER = 12;`\n\n### PRICE\n\n Value: 13\n\nPrice\nThe metadata identifies the `value` and `currency`.\n\nGenerated from protobuf enum `PRICE = 13;`"]]