BUSINESSPROFILEPERFORMANCE

businessprofileperformance.locations.fetchMultiDailyMetricsTimeSeries

enum_DailyMetricsParameter := [ "DAILY_METRIC_UNKNOWN", "BUSINESS_IMPRESSIONS_DESKTOP_MAPS", "BUSINESS_IMPRESSIONS_DESKTOP_SEARCH", "BUSINESS_IMPRESSIONS_MOBILE_MAPS", "BUSINESS_IMPRESSIONS_MOBILE_SEARCH", "BUSINESS_CONVERSATIONS", "BUSINESS_DIRECTION_REQUESTS", "CALL_CLICKS", "WEBSITE_CLICKS", "BUSINESS_BOOKINGS", "BUSINESS_FOOD_ORDERS", "BUSINESS_FOOD_MENU_CLICKS" ]

valid {
    input.ReqMap.location == STRING
    input.Qs.dailyMetrics == enum_DailyMetricsParameter[_]
    input.Qs.dailyRange.endDate.day == INTEGER
    input.Qs.dailyRange.endDate.month == INTEGER
    input.Qs.dailyRange.endDate.year == INTEGER
    input.Qs.dailyRange.startDate.day == INTEGER
    input.Qs.dailyRange.startDate.month == INTEGER
    input.Qs.dailyRange.startDate.year == INTEGER
    input.ProviderMetadata.Region == STRING
}

businessprofileperformance.locations.getDailyMetricsTimeSeries

enum_DailyMetricParameter := [ "DAILY_METRIC_UNKNOWN", "BUSINESS_IMPRESSIONS_DESKTOP_MAPS", "BUSINESS_IMPRESSIONS_DESKTOP_SEARCH", "BUSINESS_IMPRESSIONS_MOBILE_MAPS", "BUSINESS_IMPRESSIONS_MOBILE_SEARCH", "BUSINESS_CONVERSATIONS", "BUSINESS_DIRECTION_REQUESTS", "CALL_CLICKS", "WEBSITE_CLICKS", "BUSINESS_BOOKINGS", "BUSINESS_FOOD_ORDERS", "BUSINESS_FOOD_MENU_CLICKS" ]
enum_DailySubEntityType.dayOfWeekParameter := [ "DAY_OF_WEEK_UNSPECIFIED", "MONDAY", "TUESDAY", "WEDNESDAY", "THURSDAY", "FRIDAY", "SATURDAY", "SUNDAY" ]

valid {
    input.ReqMap.name == STRING
    input.Qs.dailyMetric == enum_DailyMetricParameter[_]
    input.Qs.dailyRange.endDate.day == INTEGER
    input.Qs.dailyRange.endDate.month == INTEGER
    input.Qs.dailyRange.endDate.year == INTEGER
    input.Qs.dailyRange.startDate.day == INTEGER
    input.Qs.dailyRange.startDate.month == INTEGER
    input.Qs.dailyRange.startDate.year == INTEGER
    input.Qs.dailySubEntityType.dayOfWeek == enum_DailySubEntityType.dayOfWeekParameter[_]
    input.Qs.dailySubEntityType.timeOfDay.hours == INTEGER
    input.Qs.dailySubEntityType.timeOfDay.minutes == INTEGER
    input.Qs.dailySubEntityType.timeOfDay.nanos == INTEGER
    input.Qs.dailySubEntityType.timeOfDay.seconds == INTEGER
    input.ProviderMetadata.Region == STRING
}

businessprofileperformance.locations.searchkeywords.impressions.monthly.list

valid {
    input.ReqMap.parent == STRING
    input.Qs.monthlyRange.endMonth.day == INTEGER
    input.Qs.monthlyRange.endMonth.month == INTEGER
    input.Qs.monthlyRange.endMonth.year == INTEGER
    input.Qs.monthlyRange.startMonth.day == INTEGER
    input.Qs.monthlyRange.startMonth.month == INTEGER
    input.Qs.monthlyRange.startMonth.year == INTEGER
    input.Qs.pageSize == INTEGER
    input.Qs.pageToken == STRING
    input.ProviderMetadata.Region == STRING
}