Class StatsResource.GetSessionRequest
Get the # of search sessions, % of successful sessions with a click query statistics for customer. Note: This API requires a standard end user account to execute.
Inheritance
StatsResource.GetSessionRequest
Inherited Members
Namespace: Google.Apis.CloudSearch.v1
Assembly: Google.Apis.CloudSearch.v1.dll
Syntax
public class StatsResource.GetSessionRequest : CloudSearchBaseServiceRequest<GetCustomerSessionStatsResponse>, IClientServiceRequest<GetCustomerSessionStatsResponse>, IClientServiceRequest
Constructors
GetSessionRequest(IClientService)
Constructs a new GetSession request.
Declaration
public GetSessionRequest(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
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
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 GetSession parameter list.
Declaration
protected override void InitParameters()