Show / Hide Table of Contents

Class Location

Information about a location.

Inheritance
object
Location
Implements
IMessage<Location>
IEquatable<Location>
IDeepCloneable<Location>
IBufferMessage
IMessage
Inherited Members
object.GetHashCode()
object.GetType()
object.ToString()
Namespace: Google.Backstory
Assembly: Google.Backstory.dll
Syntax
public sealed class Location : IMessage<Location>, IEquatable<Location>, IDeepCloneable<Location>, IBufferMessage, IMessage

Constructors

Location()

Declaration
public Location()

Location(Location)

Declaration
public Location(Location other)
Parameters
Type Name Description
Location other

Properties

City

The city.

Declaration
public string City { get; set; }
Property Value
Type Description
string

CountryOrRegion

The country or region.

Declaration
public string CountryOrRegion { get; set; }
Property Value
Type Description
string

DeskName

Desk name or individual location, typically for an employee in an office. (e.g. "IN-BLR-BCPC-11-1121D").

Declaration
public string DeskName { get; set; }
Property Value
Type Description
string

FloorName

Floor name, number or a combination of the two for a building. (e.g. "1-A").

Declaration
public string FloorName { get; set; }
Property Value
Type Description
string

Name

Custom location name (e.g. building or site name like "London Office"). For cloud environments, this is the region (e.g. "us-west2").

Declaration
public string Name { get; set; }
Property Value
Type Description
string

RegionCoordinates

Coordinates for the associated region. See https://cloud.google.com/vision/docs/reference/rest/v1/LatLng for a description of the fields.

Declaration
public LatLng RegionCoordinates { get; set; }
Property Value
Type Description
LatLng

RegionLatitude

Deprecated: use region_coordinates.

Declaration
[Obsolete]
public float RegionLatitude { get; set; }
Property Value
Type Description
float

RegionLongitude

Deprecated: use region_coordinates.

Declaration
[Obsolete]
public float RegionLongitude { get; set; }
Property Value
Type Description
float

State

The state.

Declaration
public string State { get; set; }
Property Value
Type Description
string
In this article
Back to top Generated by DocFX