Show / Hide Table of Contents

Class GeocodeLocationRequest

Request message for GeocodeService.GeocodeLocation.

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

Constructors

GeocodeLocationRequest()

Declaration
public GeocodeLocationRequest()

GeocodeLocationRequest(GeocodeLocationRequest)

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

Properties

Granularity

Optional. A filter of one or more location granularity enums.

Declaration
public RepeatedField<GeocodeResult.Types.Granularity> Granularity { get; }
Property Value
Type Description
RepeatedField<GeocodeResult.Types.Granularity>

HasLocationQuery

Gets whether the "location_query" field is set

Declaration
public bool HasLocationQuery { get; }
Property Value
Type Description
bool

LanguageCode

Optional. Language in which the results should be returned.

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

Location

The location in the structured format.

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

LocationInputCase

Declaration
public GeocodeLocationRequest.LocationInputOneofCase LocationInputCase { get; }
Property Value
Type Description
GeocodeLocationRequest.LocationInputOneofCase

LocationQuery

The location in the format of "lat,lng" string. For example, "64.7611872,-18.4705364".

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

RegionCode

Optional. Region code. The region code, specified as a ccTLD ("top-level domain") two-character value. The parameter affects results based on applicable law.

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

Types_

Optional. A set of type tags to restrict the results. Results that do not have any of the specified types are removed.

For the complete list of possible values, see Table A and Table B at https://developers.google.com/maps/documentation/places/web-service/place-types.

Declaration
public RepeatedField<string> Types_ { get; }
Property Value
Type Description
RepeatedField<string>
In this article
Back to top Generated by DocFX