Class LocationsResource.FetchMultiDailyMetricsTimeSeriesRequest
Returns the values for each date from a given time range and optionally the sub entity type, where
applicable, that are associated with the specific daily metrics. Example request: GET https://businessprofileperformance.googleapis.com/v1/locations/12345:fetchMultiDailyMetricsTimeSeries?dailyMetrics=WEBSITE_CLICKS&dailyMetrics=CALL_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.FetchMultiDailyMetricsTimeSeriesRequest : BusinessProfilePerformanceBaseServiceRequest<FetchMultiDailyMetricsTimeSeriesResponse>, IClientServiceRequest<FetchMultiDailyMetricsTimeSeriesResponse>, IClientServiceRequest
Constructors
FetchMultiDailyMetricsTimeSeriesRequest(IClientService, string)
Constructs a new FetchMultiDailyMetricsTimeSeries request.
Declaration
public FetchMultiDailyMetricsTimeSeriesRequest(IClientService service, string location)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
string | location |
Properties
DailyMetrics
Required. The metrics to retrieve time series for.
Declaration
[RequestParameter("dailyMetrics", RequestParameterType.Query)]
public virtual LocationsResource.FetchMultiDailyMetricsTimeSeriesRequest.DailyMetricsEnum? DailyMetrics { get; set; }
Property Value
Type | Description |
---|---|
LocationsResource.FetchMultiDailyMetricsTimeSeriesRequest.DailyMetricsEnum? |
Remarks
Use this property to set a single value for the parameter, or DailyMetricsList to set multiple values. Do not set both properties.
DailyMetricsList
Required. The metrics to retrieve time series for.
Declaration
[RequestParameter("dailyMetrics", RequestParameterType.Query)]
public virtual Repeatable<LocationsResource.FetchMultiDailyMetricsTimeSeriesRequest.DailyMetricsEnum> DailyMetricsList { get; set; }
Property Value
Type | Description |
---|---|
Repeatable<LocationsResource.FetchMultiDailyMetricsTimeSeriesRequest.DailyMetricsEnum> |
Remarks
Use this property to set one or more values for the parameter. Do not set both this property and DailyMetrics.
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? |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Location
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("location", RequestParameterType.Path)]
public virtual string Location { get; }
Property Value
Type | Description |
---|---|
string |
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
Methods
InitParameters()
Initializes FetchMultiDailyMetricsTimeSeries parameter list.
Declaration
protected override void InitParameters()