Class StatsResource.QueryResource.SearchapplicationsResource.GetRequest
Get the query statistics for search application. Note: This API requires a standard end user account to execute.
Inheritance
StatsResource.QueryResource.SearchapplicationsResource.GetRequest
Inherited Members
Namespace: Google.Apis.CloudSearch.v1
Assembly: Google.Apis.CloudSearch.v1.dll
Syntax
public class StatsResource.QueryResource.SearchapplicationsResource.GetRequest : CloudSearchBaseServiceRequest<GetSearchApplicationQueryStatsResponse>, IClientServiceRequest<GetSearchApplicationQueryStatsResponse>, IClientServiceRequest
Constructors
GetRequest(IClientService, string)
Constructs a new Get request.
Declaration
public GetRequest(IClientService service, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
string | name |
Properties
FromDateDay
Day of month. Must be from 1 to 31 and valid for the year and month.
Declaration
[RequestParameter("fromDate.day", RequestParameterType.Query)]
public virtual int? FromDateDay { get; set; }
Property Value
Type | Description |
---|---|
int? |
FromDateMonth
Month of date. Must be from 1 to 12.
Declaration
[RequestParameter("fromDate.month", RequestParameterType.Query)]
public virtual int? FromDateMonth { get; set; }
Property Value
Type | Description |
---|---|
int? |
FromDateYear
Year of date. Must be from 1 to 9999.
Declaration
[RequestParameter("fromDate.year", RequestParameterType.Query)]
public virtual int? FromDateYear { get; set; }
Property Value
Type | Description |
---|---|
int? |
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
Name
The resource id of the search application query stats, in the following format: searchapplications/{application_id}
Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
ToDateDay
Day of month. Must be from 1 to 31 and valid for the year and month.
Declaration
[RequestParameter("toDate.day", RequestParameterType.Query)]
public virtual int? ToDateDay { get; set; }
Property Value
Type | Description |
---|---|
int? |
ToDateMonth
Month of date. Must be from 1 to 12.
Declaration
[RequestParameter("toDate.month", RequestParameterType.Query)]
public virtual int? ToDateMonth { get; set; }
Property Value
Type | Description |
---|---|
int? |
ToDateYear
Year of date. Must be from 1 to 9999.
Declaration
[RequestParameter("toDate.year", RequestParameterType.Query)]
public virtual int? ToDateYear { get; set; }
Property Value
Type | Description |
---|---|
int? |
Methods
InitParameters()
Initializes Get parameter list.
Declaration
protected override void InitParameters()