Initial commit

This commit is contained in:
Local Administrator
2025-04-18 10:32:42 +02:00
commit b83134aca3
29643 changed files with 3045897 additions and 0 deletions

View File

@@ -0,0 +1,76 @@
<?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
{
/**
* @var string
*/
public $dailyMetric;
protected $dailySubEntityTypeType = DailySubEntityType::class;
protected $dailySubEntityTypeDataType = '';
protected $timeSeriesType = TimeSeries::class;
protected $timeSeriesDataType = '';
/**
* @param string
*/
public function setDailyMetric($dailyMetric)
{
$this->dailyMetric = $dailyMetric;
}
/**
* @return string
*/
public function getDailyMetric()
{
return $this->dailyMetric;
}
/**
* @param DailySubEntityType
*/
public function setDailySubEntityType(DailySubEntityType $dailySubEntityType)
{
$this->dailySubEntityType = $dailySubEntityType;
}
/**
* @return DailySubEntityType
*/
public function getDailySubEntityType()
{
return $this->dailySubEntityType;
}
/**
* @param 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');

View File

@@ -0,0 +1,60 @@
<?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
{
/**
* @var string
*/
public $dayOfWeek;
protected $timeOfDayType = TimeOfDay::class;
protected $timeOfDayDataType = '';
/**
* @param string
*/
public function setDayOfWeek($dayOfWeek)
{
$this->dayOfWeek = $dayOfWeek;
}
/**
* @return string
*/
public function getDayOfWeek()
{
return $this->dayOfWeek;
}
/**
* @param 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');

View File

@@ -0,0 +1,80 @@
<?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
{
/**
* @var int
*/
public $day;
/**
* @var int
*/
public $month;
/**
* @var int
*/
public $year;
/**
* @param int
*/
public function setDay($day)
{
$this->day = $day;
}
/**
* @return int
*/
public function getDay()
{
return $this->day;
}
/**
* @param int
*/
public function setMonth($month)
{
$this->month = $month;
}
/**
* @return int
*/
public function getMonth()
{
return $this->month;
}
/**
* @param int
*/
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');

View File

@@ -0,0 +1,60 @@
<?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 = '';
/**
* @var string
*/
public $value;
/**
* @param Date
*/
public function setDate(Date $date)
{
$this->date = $date;
}
/**
* @return Date
*/
public function getDate()
{
return $this->date;
}
/**
* @param string
*/
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');

View File

@@ -0,0 +1,43 @@
<?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';
/**
* @param 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');

View File

@@ -0,0 +1,42 @@
<?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 = '';
/**
* @param 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');

View File

@@ -0,0 +1,62 @@
<?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
{
/**
* @var string
*/
public $threshold;
/**
* @var string
*/
public $value;
/**
* @param string
*/
public function setThreshold($threshold)
{
$this->threshold = $threshold;
}
/**
* @return string
*/
public function getThreshold()
{
return $this->threshold;
}
/**
* @param string
*/
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');

View File

@@ -0,0 +1,61 @@
<?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';
/**
* @var string
*/
public $nextPageToken;
protected $searchKeywordsCountsType = SearchKeywordCount::class;
protected $searchKeywordsCountsDataType = 'array';
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param SearchKeywordCount[]
*/
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');

View File

@@ -0,0 +1,43 @@
<?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';
/**
* @param 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');

View File

@@ -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');

View File

@@ -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');

View File

@@ -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');

View File

@@ -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');

View File

@@ -0,0 +1,60 @@
<?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 = '';
/**
* @var string
*/
public $searchKeyword;
/**
* @param InsightsValue
*/
public function setInsightsValue(InsightsValue $insightsValue)
{
$this->insightsValue = $insightsValue;
}
/**
* @return InsightsValue
*/
public function getInsightsValue()
{
return $this->insightsValue;
}
/**
* @param string
*/
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');

View File

@@ -0,0 +1,98 @@
<?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
{
/**
* @var int
*/
public $hours;
/**
* @var int
*/
public $minutes;
/**
* @var int
*/
public $nanos;
/**
* @var int
*/
public $seconds;
/**
* @param int
*/
public function setHours($hours)
{
$this->hours = $hours;
}
/**
* @return int
*/
public function getHours()
{
return $this->hours;
}
/**
* @param int
*/
public function setMinutes($minutes)
{
$this->minutes = $minutes;
}
/**
* @return int
*/
public function getMinutes()
{
return $this->minutes;
}
/**
* @param int
*/
public function setNanos($nanos)
{
$this->nanos = $nanos;
}
/**
* @return int
*/
public function getNanos()
{
return $this->nanos;
}
/**
* @param int
*/
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');

View File

@@ -0,0 +1,43 @@
<?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';
/**
* @param DatedValue[]
*/
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');