Reference documentation and code samples for the Google Cloud Talent Solution V4 Client class LocationType.
An enum which represents the type of a location.
Protobuf type google.cloud.talent.v4.Location.LocationType
Methods
name
Parameter | |
---|---|
Name | Description |
value |
mixed
|
value
Parameter | |
---|---|
Name | Description |
name |
mixed
|
Constants
LOCATION_TYPE_UNSPECIFIED
Value: 0
Default value if the type isn't specified.
Generated from protobuf enum LOCATION_TYPE_UNSPECIFIED = 0;
COUNTRY
Value: 1
A country level location.
Generated from protobuf enum COUNTRY = 1;
ADMINISTRATIVE_AREA
Value: 2
A state or equivalent level location.
Generated from protobuf enum ADMINISTRATIVE_AREA = 2;
SUB_ADMINISTRATIVE_AREA
Value: 3
A county or equivalent level location.
Generated from protobuf enum SUB_ADMINISTRATIVE_AREA = 3;
LOCALITY
Value: 4
A city or equivalent level location.
Generated from protobuf enum LOCALITY = 4;
POSTAL_CODE
Value: 5
A postal code level location.
Generated from protobuf enum POSTAL_CODE = 5;
SUB_LOCALITY
Value: 6
A sublocality is a subdivision of a locality, for example a city borough, ward, or arrondissement. Sublocalities are usually recognized by a local political authority. For example, Manhattan and Brooklyn are recognized as boroughs by the City of New York, and are therefore modeled as sublocalities.
Generated from protobuf enum SUB_LOCALITY = 6;
SUB_LOCALITY_1
Value: 7
A district or equivalent level location.
Generated from protobuf enum SUB_LOCALITY_1 = 7;
SUB_LOCALITY_2
Value: 8
A smaller district or equivalent level display.
Generated from protobuf enum SUB_LOCALITY_2 = 8;
NEIGHBORHOOD
Value: 9
A neighborhood level location.
Generated from protobuf enum NEIGHBORHOOD = 9;
STREET_ADDRESS
Value: 10
A street address level location.
Generated from protobuf enum STREET_ADDRESS = 10;