Reference documentation and code samples for the Chronicle V1 API class Google::Backstory::Location.
Information about a location.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#city
def city() -> ::String
Returns
- (::String) — The city.
#city=
def city=(value) -> ::String
Parameter
- value (::String) — The city.
Returns
- (::String) — The city.
#country_or_region
def country_or_region() -> ::String
Returns
- (::String) — The country or region.
#country_or_region=
def country_or_region=(value) -> ::String
Parameter
- value (::String) — The country or region.
Returns
- (::String) — The country or region.
#desk_name
def desk_name() -> ::String
Returns
- (::String) — Desk name or individual location, typically for an employee in an office. (e.g. "IN-BLR-BCPC-11-1121D").
#desk_name=
def desk_name=(value) -> ::String
Parameter
- value (::String) — Desk name or individual location, typically for an employee in an office. (e.g. "IN-BLR-BCPC-11-1121D").
Returns
- (::String) — Desk name or individual location, typically for an employee in an office. (e.g. "IN-BLR-BCPC-11-1121D").
#floor_name
def floor_name() -> ::String
Returns
- (::String) — Floor name, number or a combination of the two for a building. (e.g. "1-A").
#floor_name=
def floor_name=(value) -> ::String
Parameter
- value (::String) — Floor name, number or a combination of the two for a building. (e.g. "1-A").
Returns
- (::String) — Floor name, number or a combination of the two for a building. (e.g. "1-A").
#name
def name() -> ::String
Returns
- (::String) — Custom location name (e.g. building or site name like "London Office"). For cloud environments, this is the region (e.g. "us-west2").
#name=
def name=(value) -> ::String
Parameter
- value (::String) — Custom location name (e.g. building or site name like "London Office"). For cloud environments, this is the region (e.g. "us-west2").
Returns
- (::String) — Custom location name (e.g. building or site name like "London Office"). For cloud environments, this is the region (e.g. "us-west2").
#region_coordinates
def region_coordinates() -> ::Google::Type::LatLng
Returns
- (::Google::Type::LatLng) — Coordinates for the associated region. See https://cloud.google.com/vision/docs/reference/rest/v1/LatLng for a description of the fields.
#region_coordinates=
def region_coordinates=(value) -> ::Google::Type::LatLng
Parameter
- value (::Google::Type::LatLng) — Coordinates for the associated region. See https://cloud.google.com/vision/docs/reference/rest/v1/LatLng for a description of the fields.
Returns
- (::Google::Type::LatLng) — Coordinates for the associated region. See https://cloud.google.com/vision/docs/reference/rest/v1/LatLng for a description of the fields.
#region_latitude
def region_latitude() -> ::Float
Returns
- (::Float) — Deprecated: use region_coordinates.
#region_latitude=
def region_latitude=(value) -> ::Float
Parameter
- value (::Float) — Deprecated: use region_coordinates.
Returns
- (::Float) — Deprecated: use region_coordinates.
#region_longitude
def region_longitude() -> ::Float
Returns
- (::Float) — Deprecated: use region_coordinates.
#region_longitude=
def region_longitude=(value) -> ::Float
Parameter
- value (::Float) — Deprecated: use region_coordinates.
Returns
- (::Float) — Deprecated: use region_coordinates.
#state
def state() -> ::String
Returns
- (::String) — The state.
#state=
def state=(value) -> ::String
Parameter
- value (::String) — The state.
Returns
- (::String) — The state.