Class LocationsResource.GetDailyMetricsTimeSeriesRequest
Returns the values for each date from a given time range that are associated with the specific daily
metric. Example request: GET https://businessprofileperformance.googleapis.com/v1/locations/12345:getDailyMetricsTimeSeries?dailyMetric=WEBSITE_CLICKS&daily_range.start_date.year=2022&daily_range.start_date.month=1&daily_range.start_date.day=1&daily_range.end_date.year=2022&daily_range.end_date.month=3&daily_range.end_date.day=31
Inheritance
Inherited Members
Namespace: Google.Apis.BusinessProfilePerformance.v1
Assembly: Google.Apis.BusinessProfilePerformance.v1.dll
Syntax
public class LocationsResource.GetDailyMetricsTimeSeriesRequest : BusinessProfilePerformanceBaseServiceRequest<GetDailyMetricsTimeSeriesResponse>, IClientServiceRequest<GetDailyMetricsTimeSeriesResponse>, IClientServiceRequest
Constructors
GetDailyMetricsTimeSeriesRequest(IClientService, string)
Constructs a new GetDailyMetricsTimeSeries request.
Declaration
public GetDailyMetricsTimeSeriesRequest(IClientService service, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
string | name |
Properties
DailyMetric
Required. The metric to retrieve time series.
Declaration
[RequestParameter("dailyMetric", RequestParameterType.Query)]
public virtual LocationsResource.GetDailyMetricsTimeSeriesRequest.DailyMetricEnum? DailyMetric { get; set; }
Property Value
Type | Description |
---|---|
LocationsResource.GetDailyMetricsTimeSeriesRequest.DailyMetricEnum? |
DailyRangeEndDateDay
Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.
Declaration
[RequestParameter("dailyRange.endDate.day", RequestParameterType.Query)]
public virtual int? DailyRangeEndDateDay { get; set; }
Property Value
Type | Description |
---|---|
int? |
DailyRangeEndDateMonth
Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
Declaration
[RequestParameter("dailyRange.endDate.month", RequestParameterType.Query)]
public virtual int? DailyRangeEndDateMonth { get; set; }
Property Value
Type | Description |
---|---|
int? |
DailyRangeEndDateYear
Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
Declaration
[RequestParameter("dailyRange.endDate.year", RequestParameterType.Query)]
public virtual int? DailyRangeEndDateYear { get; set; }
Property Value
Type | Description |
---|---|
int? |
DailyRangeStartDateDay
Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.
Declaration
[RequestParameter("dailyRange.startDate.day", RequestParameterType.Query)]
public virtual int? DailyRangeStartDateDay { get; set; }
Property Value
Type | Description |
---|---|
int? |
DailyRangeStartDateMonth
Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
Declaration
[RequestParameter("dailyRange.startDate.month", RequestParameterType.Query)]
public virtual int? DailyRangeStartDateMonth { get; set; }
Property Value
Type | Description |
---|---|
int? |
DailyRangeStartDateYear
Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
Declaration
[RequestParameter("dailyRange.startDate.year", RequestParameterType.Query)]
public virtual int? DailyRangeStartDateYear { get; set; }
Property Value
Type | Description |
---|---|
int? |
DailySubEntityTypeDayOfWeek
Represents the day of the week. Eg: MONDAY. Currently supported DailyMetrics = NONE.
Declaration
[RequestParameter("dailySubEntityType.dayOfWeek", RequestParameterType.Query)]
public virtual LocationsResource.GetDailyMetricsTimeSeriesRequest.DailySubEntityTypeDayOfWeekEnum? DailySubEntityTypeDayOfWeek { get; set; }
Property Value
Type | Description |
---|---|
LocationsResource.GetDailyMetricsTimeSeriesRequest.DailySubEntityTypeDayOfWeekEnum? |
DailySubEntityTypeTimeOfDayHours
Hours of a day in 24 hour format. Must be greater than or equal to 0 and typically must be less than or equal to 23. An API may choose to allow the value "24:00:00" for scenarios like business closing time.
Declaration
[RequestParameter("dailySubEntityType.timeOfDay.hours", RequestParameterType.Query)]
public virtual int? DailySubEntityTypeTimeOfDayHours { get; set; }
Property Value
Type | Description |
---|---|
int? |
DailySubEntityTypeTimeOfDayMinutes
Minutes of an hour. Must be greater than or equal to 0 and less than or equal to 59.
Declaration
[RequestParameter("dailySubEntityType.timeOfDay.minutes", RequestParameterType.Query)]
public virtual int? DailySubEntityTypeTimeOfDayMinutes { get; set; }
Property Value
Type | Description |
---|---|
int? |
DailySubEntityTypeTimeOfDayNanos
Fractions of seconds, in nanoseconds. Must be greater than or equal to 0 and less than or equal to 999,999,999.
Declaration
[RequestParameter("dailySubEntityType.timeOfDay.nanos", RequestParameterType.Query)]
public virtual int? DailySubEntityTypeTimeOfDayNanos { get; set; }
Property Value
Type | Description |
---|---|
int? |
DailySubEntityTypeTimeOfDaySeconds
Seconds of a minute. Must be greater than or equal to 0 and typically must be less than or equal to 59. An API may allow the value 60 if it allows leap-seconds.
Declaration
[RequestParameter("dailySubEntityType.timeOfDay.seconds", RequestParameterType.Query)]
public virtual int? DailySubEntityTypeTimeOfDaySeconds { 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
Required. The location for which the time series should be fetched. Format: locations/{location_id} where location_id is an unobfuscated listing 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
Methods
InitParameters()
Initializes GetDailyMetricsTimeSeries parameter list.
Declaration
protected override void InitParameters()