Show / Hide Table of Contents

Class ForecastResource.LookupRequest

Returns up to 5 days of daily pollen information in more than 65 countries, up to 1km resolution.

Inheritance
object
ClientServiceRequest
ClientServiceRequest<LookupForecastResponse>
PollenBaseServiceRequest<LookupForecastResponse>
ForecastResource.LookupRequest
Implements
IClientServiceRequest<LookupForecastResponse>
IClientServiceRequest
Inherited Members
PollenBaseServiceRequest<LookupForecastResponse>.Xgafv
PollenBaseServiceRequest<LookupForecastResponse>.AccessToken
PollenBaseServiceRequest<LookupForecastResponse>.Alt
PollenBaseServiceRequest<LookupForecastResponse>.Callback
PollenBaseServiceRequest<LookupForecastResponse>.Fields
PollenBaseServiceRequest<LookupForecastResponse>.Key
PollenBaseServiceRequest<LookupForecastResponse>.OauthToken
PollenBaseServiceRequest<LookupForecastResponse>.PrettyPrint
PollenBaseServiceRequest<LookupForecastResponse>.QuotaUser
PollenBaseServiceRequest<LookupForecastResponse>.UploadType
PollenBaseServiceRequest<LookupForecastResponse>.UploadProtocol
ClientServiceRequest<LookupForecastResponse>.Execute()
ClientServiceRequest<LookupForecastResponse>.ExecuteAsStream()
ClientServiceRequest<LookupForecastResponse>.ExecuteAsync()
ClientServiceRequest<LookupForecastResponse>.ExecuteAsync(CancellationToken)
ClientServiceRequest<LookupForecastResponse>.ExecuteAsStreamAsync()
ClientServiceRequest<LookupForecastResponse>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<LookupForecastResponse>.CreateRequest(bool?)
ClientServiceRequest<LookupForecastResponse>.GenerateRequestUri()
ClientServiceRequest<LookupForecastResponse>.GetBody()
ClientServiceRequest<LookupForecastResponse>.GetDefaultETagAction(string)
ClientServiceRequest<LookupForecastResponse>.ETagAction
ClientServiceRequest<LookupForecastResponse>.ModifyRequest
ClientServiceRequest<LookupForecastResponse>.ValidateParameters
ClientServiceRequest<LookupForecastResponse>.ApiVersion
ClientServiceRequest<LookupForecastResponse>.RequestParameters
ClientServiceRequest<LookupForecastResponse>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
ClientServiceRequest.Credential
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Pollen.v1
Assembly: Google.Apis.Pollen.v1.dll
Syntax
public class ForecastResource.LookupRequest : PollenBaseServiceRequest<LookupForecastResponse>, IClientServiceRequest<LookupForecastResponse>, IClientServiceRequest

Constructors

LookupRequest(IClientService)

Constructs a new Lookup request.

Declaration
public LookupRequest(IClientService service)
Parameters
Type Name Description
IClientService service

Properties

Days

Required. A number that indicates how many forecast days to request (minimum value 1, maximum value is 5).

Declaration
[RequestParameter("days", RequestParameterType.Query)]
public virtual int? Days { get; set; }
Property Value
Type Description
int?

HttpMethod

Gets the HTTP method.

Declaration
public override string HttpMethod { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<LookupForecastResponse>.HttpMethod

LanguageCode

Optional. Allows the client to choose the language for the response. If data cannot be provided for that language, the API uses the closest match. Allowed values rely on the IETF BCP-47 standard. The default value is "en".

Declaration
[RequestParameter("languageCode", RequestParameterType.Query)]
public virtual string LanguageCode { get; set; }
Property Value
Type Description
string

LocationLatitude

The latitude in degrees. It must be in the range [-90.0, +90.0].

Declaration
[RequestParameter("location.latitude", RequestParameterType.Query)]
public virtual double? LocationLatitude { get; set; }
Property Value
Type Description
double?

LocationLongitude

The longitude in degrees. It must be in the range [-180.0, +180.0].

Declaration
[RequestParameter("location.longitude", RequestParameterType.Query)]
public virtual double? LocationLongitude { get; set; }
Property Value
Type Description
double?

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<LookupForecastResponse>.MethodName

PageSize

Optional. The maximum number of daily info records to return per page. The default and max value is 5, indicating 5 days of data.

Declaration
[RequestParameter("pageSize", RequestParameterType.Query)]
public virtual int? PageSize { get; set; }
Property Value
Type Description
int?

PageToken

Optional. A page token received from a previous daily call. It is used to retrieve the subsequent page. Note that when providing a value for the page token, all other request parameters provided must match the previous call that provided the page token.

Declaration
[RequestParameter("pageToken", RequestParameterType.Query)]
public virtual string PageToken { get; set; }
Property Value
Type Description
string

PlantsDescription

Optional. Contains general information about plants, including details on their seasonality, special shapes and colors, information about allergic cross-reactions, and plant photos. The default value is "true".

Declaration
[RequestParameter("plantsDescription", RequestParameterType.Query)]
public virtual bool? PlantsDescription { get; set; }
Property Value
Type Description
bool?

RestPath

Gets the REST path.

Declaration
public override string RestPath { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<LookupForecastResponse>.RestPath

Methods

InitParameters()

Initializes Lookup parameter list.

Declaration
protected override void InitParameters()
Overrides
PollenBaseServiceRequest<LookupForecastResponse>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In this article
Back to top Generated by DocFX