Discovery Engine v1 API - Class UserInfo.Types.PreciseLocation (1.17.0)

public sealed class UserInfo.Types.PreciseLocation : IMessage<UserInfo.Types.PreciseLocation>, IEquatable<UserInfo.Types.PreciseLocation>, IDeepCloneable<UserInfo.Types.PreciseLocation>, IBufferMessage, IMessage

Reference documentation and code samples for the Discovery Engine v1 API class UserInfo.Types.PreciseLocation.

Precise location info with multiple representation options.

Inheritance

object > UserInfo.Types.PreciseLocation

Namespace

Google.Cloud.DiscoveryEngine.V1

Assembly

Google.Cloud.DiscoveryEngine.V1.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; }

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