Class PlacesResource.AutocompleteRequest
Returns predictions for the given input.
Inheritance
PlacesResource.AutocompleteRequest
Implements
Inherited Members
Namespace: Google.Apis.MapsPlaces.v1
Assembly: Google.Apis.MapsPlaces.v1.dll
Syntax
public class PlacesResource.AutocompleteRequest : MapsPlacesBaseServiceRequest<GoogleMapsPlacesV1AutocompletePlacesResponse>, IClientServiceRequest<GoogleMapsPlacesV1AutocompletePlacesResponse>, IClientServiceRequest
Constructors
AutocompleteRequest(IClientService, GoogleMapsPlacesV1AutocompletePlacesRequest)
Constructs a new Autocomplete request.
Declaration
public AutocompleteRequest(IClientService service, GoogleMapsPlacesV1AutocompletePlacesRequest body)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
GoogleMapsPlacesV1AutocompletePlacesRequest | body |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes Autocomplete parameter list.
Declaration
protected override void InitParameters()