Class ForecastResource.LookupRequest
Returns up to 5 days of daily pollen information in more than 65 countries, up to 1km resolution.
Inheritance
Inherited Members
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
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
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
Methods
InitParameters()
Initializes Lookup parameter list.
Declaration
protected override void InitParameters()