gestione documentale avanzata 1 parte

This commit is contained in:
2026-05-28 09:34:28 +02:00
parent 3471befb1a
commit f2b0833b90
34482 changed files with 4312269 additions and 546 deletions
@@ -0,0 +1,152 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\BusinessProfilePerformance;
class DailyMetricTimeSeries extends \Google\Model
{
/**
* Represents the default unknown value.
*/
public const DAILY_METRIC_DAILY_METRIC_UNKNOWN = 'DAILY_METRIC_UNKNOWN';
/**
* Business impressions on Google Maps on Desktop devices. Multiple
* impressions by a unique user within a single day are counted as a single
* impression.
*/
public const DAILY_METRIC_BUSINESS_IMPRESSIONS_DESKTOP_MAPS = 'BUSINESS_IMPRESSIONS_DESKTOP_MAPS';
/**
* Business impressions on Google Search on Desktop devices. Multiple
* impressions by a unique user within a single day are counted as a single
* impression.
*/
public const DAILY_METRIC_BUSINESS_IMPRESSIONS_DESKTOP_SEARCH = 'BUSINESS_IMPRESSIONS_DESKTOP_SEARCH';
/**
* Business impressions on Google Maps on Mobile devices. Multiple impressions
* by a unique user within a single day are counted as a single impression.
*/
public const DAILY_METRIC_BUSINESS_IMPRESSIONS_MOBILE_MAPS = 'BUSINESS_IMPRESSIONS_MOBILE_MAPS';
/**
* Business impressions on Google Search on Mobile devices. Multiple
* impressions by a unique user within a single day are counted as a single
* impression.
*/
public const DAILY_METRIC_BUSINESS_IMPRESSIONS_MOBILE_SEARCH = 'BUSINESS_IMPRESSIONS_MOBILE_SEARCH';
/**
* The number of message conversations received on the business profile.
*/
public const DAILY_METRIC_BUSINESS_CONVERSATIONS = 'BUSINESS_CONVERSATIONS';
/**
* The number of times a direction request was requested to the business
* location.
*/
public const DAILY_METRIC_BUSINESS_DIRECTION_REQUESTS = 'BUSINESS_DIRECTION_REQUESTS';
/**
* The number of times the business profile call button was clicked.
*/
public const DAILY_METRIC_CALL_CLICKS = 'CALL_CLICKS';
/**
* The number of times the business profile website was clicked.
*/
public const DAILY_METRIC_WEBSITE_CLICKS = 'WEBSITE_CLICKS';
/**
* The number of bookings made from the business profile via Reserve with
* Google.
*/
public const DAILY_METRIC_BUSINESS_BOOKINGS = 'BUSINESS_BOOKINGS';
/**
* The number of food orders received from the business profile.
*
* @deprecated
*/
public const DAILY_METRIC_BUSINESS_FOOD_ORDERS = 'BUSINESS_FOOD_ORDERS';
/**
* The number of clicks to view or interact with the menu content on the
* business profile. Multiple clicks by a unique user within a single day are
* counted as 1.
*/
public const DAILY_METRIC_BUSINESS_FOOD_MENU_CLICKS = 'BUSINESS_FOOD_MENU_CLICKS';
/**
* The DailyMetric that the TimeSeries represents.
*
* @var string
*/
public $dailyMetric;
protected $dailySubEntityTypeType = DailySubEntityType::class;
protected $dailySubEntityTypeDataType = '';
protected $timeSeriesType = TimeSeries::class;
protected $timeSeriesDataType = '';
/**
* The DailyMetric that the TimeSeries represents.
*
* Accepted values: 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
*
* @param self::DAILY_METRIC_* $dailyMetric
*/
public function setDailyMetric($dailyMetric)
{
$this->dailyMetric = $dailyMetric;
}
/**
* @return self::DAILY_METRIC_*
*/
public function getDailyMetric()
{
return $this->dailyMetric;
}
/**
* The DailySubEntityType that the TimeSeries represents. Will not be present
* when breakdown does not exist.
*
* @param DailySubEntityType $dailySubEntityType
*/
public function setDailySubEntityType(DailySubEntityType $dailySubEntityType)
{
$this->dailySubEntityType = $dailySubEntityType;
}
/**
* @return DailySubEntityType
*/
public function getDailySubEntityType()
{
return $this->dailySubEntityType;
}
/**
* List of datapoints where each datapoint is a date-value pair.
*
* @param TimeSeries $timeSeries
*/
public function setTimeSeries(TimeSeries $timeSeries)
{
$this->timeSeries = $timeSeries;
}
/**
* @return TimeSeries
*/
public function getTimeSeries()
{
return $this->timeSeries;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DailyMetricTimeSeries::class, 'Google_Service_BusinessProfilePerformance_DailyMetricTimeSeries');
@@ -0,0 +1,104 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\BusinessProfilePerformance;
class DailySubEntityType extends \Google\Model
{
/**
* The day of the week is unspecified.
*/
public const DAY_OF_WEEK_DAY_OF_WEEK_UNSPECIFIED = 'DAY_OF_WEEK_UNSPECIFIED';
/**
* Monday
*/
public const DAY_OF_WEEK_MONDAY = 'MONDAY';
/**
* Tuesday
*/
public const DAY_OF_WEEK_TUESDAY = 'TUESDAY';
/**
* Wednesday
*/
public const DAY_OF_WEEK_WEDNESDAY = 'WEDNESDAY';
/**
* Thursday
*/
public const DAY_OF_WEEK_THURSDAY = 'THURSDAY';
/**
* Friday
*/
public const DAY_OF_WEEK_FRIDAY = 'FRIDAY';
/**
* Saturday
*/
public const DAY_OF_WEEK_SATURDAY = 'SATURDAY';
/**
* Sunday
*/
public const DAY_OF_WEEK_SUNDAY = 'SUNDAY';
/**
* Represents the day of the week. Eg: MONDAY. Currently supported
* DailyMetrics = NONE.
*
* @var string
*/
public $dayOfWeek;
protected $timeOfDayType = TimeOfDay::class;
protected $timeOfDayDataType = '';
/**
* Represents the day of the week. Eg: MONDAY. Currently supported
* DailyMetrics = NONE.
*
* Accepted values: DAY_OF_WEEK_UNSPECIFIED, MONDAY, TUESDAY, WEDNESDAY,
* THURSDAY, FRIDAY, SATURDAY, SUNDAY
*
* @param self::DAY_OF_WEEK_* $dayOfWeek
*/
public function setDayOfWeek($dayOfWeek)
{
$this->dayOfWeek = $dayOfWeek;
}
/**
* @return self::DAY_OF_WEEK_*
*/
public function getDayOfWeek()
{
return $this->dayOfWeek;
}
/**
* Represents the time of the day in 24 hour format. Eg: 13:34:20 Currently
* supported DailyMetrics = NONE.
*
* @param TimeOfDay $timeOfDay
*/
public function setTimeOfDay(TimeOfDay $timeOfDay)
{
$this->timeOfDay = $timeOfDay;
}
/**
* @return TimeOfDay
*/
public function getTimeOfDay()
{
return $this->timeOfDay;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DailySubEntityType::class, 'Google_Service_BusinessProfilePerformance_DailySubEntityType');
@@ -0,0 +1,100 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\BusinessProfilePerformance;
class Date extends \Google\Model
{
/**
* 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.
*
* @var int
*/
public $day;
/**
* Month of a year. Must be from 1 to 12, or 0 to specify a year without a
* month and day.
*
* @var int
*/
public $month;
/**
* Year of the date. Must be from 1 to 9999, or 0 to specify a date without a
* year.
*
* @var int
*/
public $year;
/**
* 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.
*
* @param int $day
*/
public function setDay($day)
{
$this->day = $day;
}
/**
* @return int
*/
public function getDay()
{
return $this->day;
}
/**
* Month of a year. Must be from 1 to 12, or 0 to specify a year without a
* month and day.
*
* @param int $month
*/
public function setMonth($month)
{
$this->month = $month;
}
/**
* @return int
*/
public function getMonth()
{
return $this->month;
}
/**
* Year of the date. Must be from 1 to 9999, or 0 to specify a date without a
* year.
*
* @param int $year
*/
public function setYear($year)
{
$this->year = $year;
}
/**
* @return int
*/
public function getYear()
{
return $this->year;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Date::class, 'Google_Service_BusinessProfilePerformance_Date');
@@ -0,0 +1,69 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\BusinessProfilePerformance;
class DatedValue extends \Google\Model
{
protected $dateType = Date::class;
protected $dateDataType = '';
/**
* The value of the datapoint. This will not be present when the value is
* zero.
*
* @var string
*/
public $value;
/**
* The date that the datapoint corresponds to. This represents a month value
* if the day field is not set.
*
* @param Date $date
*/
public function setDate(Date $date)
{
$this->date = $date;
}
/**
* @return Date
*/
public function getDate()
{
return $this->date;
}
/**
* The value of the datapoint. This will not be present when the value is
* zero.
*
* @param string $value
*/
public function setValue($value)
{
$this->value = $value;
}
/**
* @return string
*/
public function getValue()
{
return $this->value;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DatedValue::class, 'Google_Service_BusinessProfilePerformance_DatedValue');
@@ -0,0 +1,45 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\BusinessProfilePerformance;
class FetchMultiDailyMetricsTimeSeriesResponse extends \Google\Collection
{
protected $collection_key = 'multiDailyMetricTimeSeries';
protected $multiDailyMetricTimeSeriesType = MultiDailyMetricTimeSeries::class;
protected $multiDailyMetricTimeSeriesDataType = 'array';
/**
* DailyMetrics and their corresponding time series.
*
* @param MultiDailyMetricTimeSeries[] $multiDailyMetricTimeSeries
*/
public function setMultiDailyMetricTimeSeries($multiDailyMetricTimeSeries)
{
$this->multiDailyMetricTimeSeries = $multiDailyMetricTimeSeries;
}
/**
* @return MultiDailyMetricTimeSeries[]
*/
public function getMultiDailyMetricTimeSeries()
{
return $this->multiDailyMetricTimeSeries;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(FetchMultiDailyMetricsTimeSeriesResponse::class, 'Google_Service_BusinessProfilePerformance_FetchMultiDailyMetricsTimeSeriesResponse');
@@ -0,0 +1,44 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\BusinessProfilePerformance;
class GetDailyMetricsTimeSeriesResponse extends \Google\Model
{
protected $timeSeriesType = TimeSeries::class;
protected $timeSeriesDataType = '';
/**
* The daily time series.
*
* @param TimeSeries $timeSeries
*/
public function setTimeSeries(TimeSeries $timeSeries)
{
$this->timeSeries = $timeSeries;
}
/**
* @return TimeSeries
*/
public function getTimeSeries()
{
return $this->timeSeries;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GetDailyMetricsTimeSeriesResponse::class, 'Google_Service_BusinessProfilePerformance_GetDailyMetricsTimeSeriesResponse');
@@ -0,0 +1,70 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\BusinessProfilePerformance;
class InsightsValue extends \Google\Model
{
/**
* Represents the threshold below which the actual value falls.
*
* @var string
*/
public $threshold;
/**
* Represents the actual value.
*
* @var string
*/
public $value;
/**
* Represents the threshold below which the actual value falls.
*
* @param string $threshold
*/
public function setThreshold($threshold)
{
$this->threshold = $threshold;
}
/**
* @return string
*/
public function getThreshold()
{
return $this->threshold;
}
/**
* Represents the actual value.
*
* @param string $value
*/
public function setValue($value)
{
$this->value = $value;
}
/**
* @return string
*/
public function getValue()
{
return $this->value;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(InsightsValue::class, 'Google_Service_BusinessProfilePerformance_InsightsValue');
@@ -0,0 +1,71 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\BusinessProfilePerformance;
class ListSearchKeywordImpressionsMonthlyResponse extends \Google\Collection
{
protected $collection_key = 'searchKeywordsCounts';
/**
* A token indicating the last paginated result returned. This can be used by
* succeeding requests to get the next "page" of keywords. It will only be
* present when there are more results to be returned.
*
* @var string
*/
public $nextPageToken;
protected $searchKeywordsCountsType = SearchKeywordCount::class;
protected $searchKeywordsCountsDataType = 'array';
/**
* A token indicating the last paginated result returned. This can be used by
* succeeding requests to get the next "page" of keywords. It will only be
* present when there are more results to be returned.
*
* @param string $nextPageToken
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* Search terms which have been used to find a business.
*
* @param SearchKeywordCount[] $searchKeywordsCounts
*/
public function setSearchKeywordsCounts($searchKeywordsCounts)
{
$this->searchKeywordsCounts = $searchKeywordsCounts;
}
/**
* @return SearchKeywordCount[]
*/
public function getSearchKeywordsCounts()
{
return $this->searchKeywordsCounts;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListSearchKeywordImpressionsMonthlyResponse::class, 'Google_Service_BusinessProfilePerformance_ListSearchKeywordImpressionsMonthlyResponse');
@@ -0,0 +1,45 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\BusinessProfilePerformance;
class MultiDailyMetricTimeSeries extends \Google\Collection
{
protected $collection_key = 'dailyMetricTimeSeries';
protected $dailyMetricTimeSeriesType = DailyMetricTimeSeries::class;
protected $dailyMetricTimeSeriesDataType = 'array';
/**
* List of DailyMetric-TimeSeries pairs.
*
* @param DailyMetricTimeSeries[] $dailyMetricTimeSeries
*/
public function setDailyMetricTimeSeries($dailyMetricTimeSeries)
{
$this->dailyMetricTimeSeries = $dailyMetricTimeSeries;
}
/**
* @return DailyMetricTimeSeries[]
*/
public function getDailyMetricTimeSeries()
{
return $this->dailyMetricTimeSeries;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(MultiDailyMetricTimeSeries::class, 'Google_Service_BusinessProfilePerformance_MultiDailyMetricTimeSeries');
@@ -0,0 +1,115 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\BusinessProfilePerformance\Resource;
use Google\Service\BusinessProfilePerformance\FetchMultiDailyMetricsTimeSeriesResponse;
use Google\Service\BusinessProfilePerformance\GetDailyMetricsTimeSeriesResponse;
/**
* The "locations" collection of methods.
* Typical usage is:
* <code>
* $businessprofileperformanceService = new Google\Service\BusinessProfilePerformance(...);
* $locations = $businessprofileperformanceService->locations;
* </code>
*/
class Locations extends \Google\Service\Resource
{
/**
* (locations.fetchMultiDailyMetricsTimeSeries)
*
* @param string $location Required. The location for which the time series
* should be fetched. Format: locations/{location_id} where location_id is an
* unobfuscated listing id.
* @param array $optParams Optional parameters.
*
* @opt_param string dailyMetrics Required. The metrics to retrieve time series
* for.
* @opt_param int dailyRange.endDate.day 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.
* @opt_param int dailyRange.endDate.month Month of a year. Must be from 1 to
* 12, or 0 to specify a year without a month and day.
* @opt_param int dailyRange.endDate.year Year of the date. Must be from 1 to
* 9999, or 0 to specify a date without a year.
* @opt_param int dailyRange.startDate.day 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.
* @opt_param int dailyRange.startDate.month Month of a year. Must be from 1 to
* 12, or 0 to specify a year without a month and day.
* @opt_param int dailyRange.startDate.year Year of the date. Must be from 1 to
* 9999, or 0 to specify a date without a year.
* @return FetchMultiDailyMetricsTimeSeriesResponse
* @throws \Google\Service\Exception
*/
public function fetchMultiDailyMetricsTimeSeries($location, $optParams = [])
{
$params = ['location' => $location];
$params = array_merge($params, $optParams);
return $this->call('fetchMultiDailyMetricsTimeSeries', [$params], FetchMultiDailyMetricsTimeSeriesResponse::class);
}
/**
* (locations.getDailyMetricsTimeSeries)
*
* @param string $name Required. The location for which the time series should
* be fetched. Format: locations/{location_id} where location_id is an
* unobfuscated listing id.
* @param array $optParams Optional parameters.
*
* @opt_param string dailyMetric Required. The metric to retrieve time series.
* @opt_param int dailyRange.endDate.day 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.
* @opt_param int dailyRange.endDate.month Month of a year. Must be from 1 to
* 12, or 0 to specify a year without a month and day.
* @opt_param int dailyRange.endDate.year Year of the date. Must be from 1 to
* 9999, or 0 to specify a date without a year.
* @opt_param int dailyRange.startDate.day 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.
* @opt_param int dailyRange.startDate.month Month of a year. Must be from 1 to
* 12, or 0 to specify a year without a month and day.
* @opt_param int dailyRange.startDate.year Year of the date. Must be from 1 to
* 9999, or 0 to specify a date without a year.
* @opt_param string dailySubEntityType.dayOfWeek Represents the day of the
* week. Eg: MONDAY. Currently supported DailyMetrics = NONE.
* @opt_param int dailySubEntityType.timeOfDay.hours 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.
* @opt_param int dailySubEntityType.timeOfDay.minutes Minutes of an hour. Must
* be greater than or equal to 0 and less than or equal to 59.
* @opt_param int dailySubEntityType.timeOfDay.nanos Fractions of seconds, in
* nanoseconds. Must be greater than or equal to 0 and less than or equal to
* 999,999,999.
* @opt_param int dailySubEntityType.timeOfDay.seconds 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.
* @return GetDailyMetricsTimeSeriesResponse
* @throws \Google\Service\Exception
*/
public function getDailyMetricsTimeSeries($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('getDailyMetricsTimeSeries', [$params], GetDailyMetricsTimeSeriesResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Locations::class, 'Google_Service_BusinessProfilePerformance_Resource_Locations');
@@ -0,0 +1,33 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\BusinessProfilePerformance\Resource;
/**
* The "searchkeywords" collection of methods.
* Typical usage is:
* <code>
* $businessprofileperformanceService = new Google\Service\BusinessProfilePerformance(...);
* $searchkeywords = $businessprofileperformanceService->locations_searchkeywords;
* </code>
*/
class LocationsSearchkeywords extends \Google\Service\Resource
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(LocationsSearchkeywords::class, 'Google_Service_BusinessProfilePerformance_Resource_LocationsSearchkeywords');
@@ -0,0 +1,33 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\BusinessProfilePerformance\Resource;
/**
* The "impressions" collection of methods.
* Typical usage is:
* <code>
* $businessprofileperformanceService = new Google\Service\BusinessProfilePerformance(...);
* $impressions = $businessprofileperformanceService->locations_searchkeywords_impressions;
* </code>
*/
class LocationsSearchkeywordsImpressions extends \Google\Service\Resource
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(LocationsSearchkeywordsImpressions::class, 'Google_Service_BusinessProfilePerformance_Resource_LocationsSearchkeywordsImpressions');
@@ -0,0 +1,70 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\BusinessProfilePerformance\Resource;
use Google\Service\BusinessProfilePerformance\ListSearchKeywordImpressionsMonthlyResponse;
/**
* The "monthly" collection of methods.
* Typical usage is:
* <code>
* $businessprofileperformanceService = new Google\Service\BusinessProfilePerformance(...);
* $monthly = $businessprofileperformanceService->locations_searchkeywords_impressions_monthly;
* </code>
*/
class LocationsSearchkeywordsImpressionsMonthly extends \Google\Service\Resource
{
/**
* (monthly.listLocationsSearchkeywordsImpressionsMonthly)
*
* @param string $parent Required. The location for which the time series should
* be fetched. Format: locations/{location_id} where location_id is an
* unobfuscated listing id.
* @param array $optParams Optional parameters.
*
* @opt_param int monthlyRange.endMonth.day 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.
* @opt_param int monthlyRange.endMonth.month Month of a year. Must be from 1 to
* 12, or 0 to specify a year without a month and day.
* @opt_param int monthlyRange.endMonth.year Year of the date. Must be from 1 to
* 9999, or 0 to specify a date without a year.
* @opt_param int monthlyRange.startMonth.day 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.
* @opt_param int monthlyRange.startMonth.month Month of a year. Must be from 1
* to 12, or 0 to specify a year without a month and day.
* @opt_param int monthlyRange.startMonth.year Year of the date. Must be from 1
* to 9999, or 0 to specify a date without a year.
* @opt_param int pageSize Optional. The number of results requested. The
* default page size is 100. Page size can be set to a maximum of 100.
* @opt_param string pageToken Optional. A token indicating the next paginated
* result to be returned.
* @return ListSearchKeywordImpressionsMonthlyResponse
* @throws \Google\Service\Exception
*/
public function listLocationsSearchkeywordsImpressionsMonthly($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListSearchKeywordImpressionsMonthlyResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(LocationsSearchkeywordsImpressionsMonthly::class, 'Google_Service_BusinessProfilePerformance_Resource_LocationsSearchkeywordsImpressionsMonthly');
@@ -0,0 +1,68 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\BusinessProfilePerformance;
class SearchKeywordCount extends \Google\Model
{
protected $insightsValueType = InsightsValue::class;
protected $insightsValueDataType = '';
/**
* The lower-cased string that the user entered.
*
* @var string
*/
public $searchKeyword;
/**
* One of either: 1) The sum of the number of unique users that used the
* keyword in a month, aggregated for each month requested. 2) A threshold
* that indicates that the actual value is below this threshold.
*
* @param InsightsValue $insightsValue
*/
public function setInsightsValue(InsightsValue $insightsValue)
{
$this->insightsValue = $insightsValue;
}
/**
* @return InsightsValue
*/
public function getInsightsValue()
{
return $this->insightsValue;
}
/**
* The lower-cased string that the user entered.
*
* @param string $searchKeyword
*/
public function setSearchKeyword($searchKeyword)
{
$this->searchKeyword = $searchKeyword;
}
/**
* @return string
*/
public function getSearchKeyword()
{
return $this->searchKeyword;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SearchKeywordCount::class, 'Google_Service_BusinessProfilePerformance_SearchKeywordCount');
@@ -0,0 +1,126 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\BusinessProfilePerformance;
class TimeOfDay extends \Google\Model
{
/**
* 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.
*
* @var int
*/
public $hours;
/**
* Minutes of an hour. Must be greater than or equal to 0 and less than or
* equal to 59.
*
* @var int
*/
public $minutes;
/**
* Fractions of seconds, in nanoseconds. Must be greater than or equal to 0
* and less than or equal to 999,999,999.
*
* @var int
*/
public $nanos;
/**
* 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.
*
* @var int
*/
public $seconds;
/**
* 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.
*
* @param int $hours
*/
public function setHours($hours)
{
$this->hours = $hours;
}
/**
* @return int
*/
public function getHours()
{
return $this->hours;
}
/**
* Minutes of an hour. Must be greater than or equal to 0 and less than or
* equal to 59.
*
* @param int $minutes
*/
public function setMinutes($minutes)
{
$this->minutes = $minutes;
}
/**
* @return int
*/
public function getMinutes()
{
return $this->minutes;
}
/**
* Fractions of seconds, in nanoseconds. Must be greater than or equal to 0
* and less than or equal to 999,999,999.
*
* @param int $nanos
*/
public function setNanos($nanos)
{
$this->nanos = $nanos;
}
/**
* @return int
*/
public function getNanos()
{
return $this->nanos;
}
/**
* 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.
*
* @param int $seconds
*/
public function setSeconds($seconds)
{
$this->seconds = $seconds;
}
/**
* @return int
*/
public function getSeconds()
{
return $this->seconds;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(TimeOfDay::class, 'Google_Service_BusinessProfilePerformance_TimeOfDay');
@@ -0,0 +1,46 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\BusinessProfilePerformance;
class TimeSeries extends \Google\Collection
{
protected $collection_key = 'datedValues';
protected $datedValuesType = DatedValue::class;
protected $datedValuesDataType = 'array';
/**
* List of datapoints in the timeseries, where each datapoint is a date-value
* pair.
*
* @param DatedValue[] $datedValues
*/
public function setDatedValues($datedValues)
{
$this->datedValues = $datedValues;
}
/**
* @return DatedValue[]
*/
public function getDatedValues()
{
return $this->datedValues;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(TimeSeries::class, 'Google_Service_BusinessProfilePerformance_TimeSeries');