public sealed class UserInfo.Types.PreciseLocation : IMessage<UserInfo.Types.PreciseLocation>, IEquatable<UserInfo.Types.PreciseLocation>, IDeepCloneable<UserInfo.Types.PreciseLocation>, IBufferMessage, IMessageReference documentation and code samples for the Discovery Engine v1beta API class UserInfo.Types.PreciseLocation.
Precise location info with multiple representation options. Currently only latitude and longitude point is supported.
Implements
IMessageUserInfoTypesPreciseLocation, IEquatableUserInfoTypesPreciseLocation, IDeepCloneableUserInfoTypesPreciseLocation, IBufferMessage, IMessageNamespace
Google.Cloud.DiscoveryEngine.V1BetaAssembly
Google.Cloud.DiscoveryEngine.V1Beta.dll
Constructors
PreciseLocation()
public PreciseLocation()PreciseLocation(PreciseLocation)
public PreciseLocation(UserInfo.Types.PreciseLocation other)| Parameter | |
|---|---|
| Name | Description |
other |
UserInfoTypesPreciseLocation |
Properties
Address
public string Address { get; set; }Optional. Location represented by a natural language address. Will later be geocoded and converted to either a point or a polygon.
| Property Value | |
|---|---|
| Type | Description |
string |
|
HasAddress
public bool HasAddress { get; }Gets whether the "address" field is set
| Property Value | |
|---|---|
| Type | Description |
bool |
|
LocationCase
public UserInfo.Types.PreciseLocation.LocationOneofCase LocationCase { get; }| Property Value | |
|---|---|
| Type | Description |
UserInfoTypesPreciseLocationLocationOneofCase |
|
Point
public LatLng Point { get; set; }Optional. Location represented by a latitude/longitude point.
| Property Value | |
|---|---|
| Type | Description |
LatLng |
|