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,285 @@
<?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\Localservices;
class GoogleAdsHomeservicesLocalservicesV1AccountReport extends \Google\Model
{
/**
* @var string
*/
public $accountId;
protected $aggregatorInfoType = GoogleAdsHomeservicesLocalservicesV1AggregatorInfo::class;
protected $aggregatorInfoDataType = '';
public $averageFiveStarRating;
public $averageWeeklyBudget;
/**
* @var string
*/
public $businessName;
/**
* @var string
*/
public $currencyCode;
/**
* @var string
*/
public $currentPeriodChargedLeads;
/**
* @var string
*/
public $currentPeriodConnectedPhoneCalls;
/**
* @var string
*/
public $currentPeriodPhoneCalls;
public $currentPeriodTotalCost;
/**
* @var string
*/
public $impressionsLastTwoDays;
public $phoneLeadResponsiveness;
/**
* @var string
*/
public $previousPeriodChargedLeads;
/**
* @var string
*/
public $previousPeriodConnectedPhoneCalls;
/**
* @var string
*/
public $previousPeriodPhoneCalls;
public $previousPeriodTotalCost;
/**
* @var int
*/
public $totalReview;
/**
* @param string
*/
public function setAccountId($accountId)
{
$this->accountId = $accountId;
}
/**
* @return string
*/
public function getAccountId()
{
return $this->accountId;
}
/**
* @param GoogleAdsHomeservicesLocalservicesV1AggregatorInfo
*/
public function setAggregatorInfo(GoogleAdsHomeservicesLocalservicesV1AggregatorInfo $aggregatorInfo)
{
$this->aggregatorInfo = $aggregatorInfo;
}
/**
* @return GoogleAdsHomeservicesLocalservicesV1AggregatorInfo
*/
public function getAggregatorInfo()
{
return $this->aggregatorInfo;
}
public function setAverageFiveStarRating($averageFiveStarRating)
{
$this->averageFiveStarRating = $averageFiveStarRating;
}
public function getAverageFiveStarRating()
{
return $this->averageFiveStarRating;
}
public function setAverageWeeklyBudget($averageWeeklyBudget)
{
$this->averageWeeklyBudget = $averageWeeklyBudget;
}
public function getAverageWeeklyBudget()
{
return $this->averageWeeklyBudget;
}
/**
* @param string
*/
public function setBusinessName($businessName)
{
$this->businessName = $businessName;
}
/**
* @return string
*/
public function getBusinessName()
{
return $this->businessName;
}
/**
* @param string
*/
public function setCurrencyCode($currencyCode)
{
$this->currencyCode = $currencyCode;
}
/**
* @return string
*/
public function getCurrencyCode()
{
return $this->currencyCode;
}
/**
* @param string
*/
public function setCurrentPeriodChargedLeads($currentPeriodChargedLeads)
{
$this->currentPeriodChargedLeads = $currentPeriodChargedLeads;
}
/**
* @return string
*/
public function getCurrentPeriodChargedLeads()
{
return $this->currentPeriodChargedLeads;
}
/**
* @param string
*/
public function setCurrentPeriodConnectedPhoneCalls($currentPeriodConnectedPhoneCalls)
{
$this->currentPeriodConnectedPhoneCalls = $currentPeriodConnectedPhoneCalls;
}
/**
* @return string
*/
public function getCurrentPeriodConnectedPhoneCalls()
{
return $this->currentPeriodConnectedPhoneCalls;
}
/**
* @param string
*/
public function setCurrentPeriodPhoneCalls($currentPeriodPhoneCalls)
{
$this->currentPeriodPhoneCalls = $currentPeriodPhoneCalls;
}
/**
* @return string
*/
public function getCurrentPeriodPhoneCalls()
{
return $this->currentPeriodPhoneCalls;
}
public function setCurrentPeriodTotalCost($currentPeriodTotalCost)
{
$this->currentPeriodTotalCost = $currentPeriodTotalCost;
}
public function getCurrentPeriodTotalCost()
{
return $this->currentPeriodTotalCost;
}
/**
* @param string
*/
public function setImpressionsLastTwoDays($impressionsLastTwoDays)
{
$this->impressionsLastTwoDays = $impressionsLastTwoDays;
}
/**
* @return string
*/
public function getImpressionsLastTwoDays()
{
return $this->impressionsLastTwoDays;
}
public function setPhoneLeadResponsiveness($phoneLeadResponsiveness)
{
$this->phoneLeadResponsiveness = $phoneLeadResponsiveness;
}
public function getPhoneLeadResponsiveness()
{
return $this->phoneLeadResponsiveness;
}
/**
* @param string
*/
public function setPreviousPeriodChargedLeads($previousPeriodChargedLeads)
{
$this->previousPeriodChargedLeads = $previousPeriodChargedLeads;
}
/**
* @return string
*/
public function getPreviousPeriodChargedLeads()
{
return $this->previousPeriodChargedLeads;
}
/**
* @param string
*/
public function setPreviousPeriodConnectedPhoneCalls($previousPeriodConnectedPhoneCalls)
{
$this->previousPeriodConnectedPhoneCalls = $previousPeriodConnectedPhoneCalls;
}
/**
* @return string
*/
public function getPreviousPeriodConnectedPhoneCalls()
{
return $this->previousPeriodConnectedPhoneCalls;
}
/**
* @param string
*/
public function setPreviousPeriodPhoneCalls($previousPeriodPhoneCalls)
{
$this->previousPeriodPhoneCalls = $previousPeriodPhoneCalls;
}
/**
* @return string
*/
public function getPreviousPeriodPhoneCalls()
{
return $this->previousPeriodPhoneCalls;
}
public function setPreviousPeriodTotalCost($previousPeriodTotalCost)
{
$this->previousPeriodTotalCost = $previousPeriodTotalCost;
}
public function getPreviousPeriodTotalCost()
{
return $this->previousPeriodTotalCost;
}
/**
* @param int
*/
public function setTotalReview($totalReview)
{
$this->totalReview = $totalReview;
}
/**
* @return int
*/
public function getTotalReview()
{
return $this->totalReview;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAdsHomeservicesLocalservicesV1AccountReport::class, 'Google_Service_Localservices_GoogleAdsHomeservicesLocalservicesV1AccountReport');

View File

@@ -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\Localservices;
class GoogleAdsHomeservicesLocalservicesV1AggregatorInfo extends \Google\Model
{
/**
* @var string
*/
public $aggregatorProviderId;
/**
* @param string
*/
public function setAggregatorProviderId($aggregatorProviderId)
{
$this->aggregatorProviderId = $aggregatorProviderId;
}
/**
* @return string
*/
public function getAggregatorProviderId()
{
return $this->aggregatorProviderId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAdsHomeservicesLocalservicesV1AggregatorInfo::class, 'Google_Service_Localservices_GoogleAdsHomeservicesLocalservicesV1AggregatorInfo');

View File

@@ -0,0 +1,116 @@
<?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\Localservices;
class GoogleAdsHomeservicesLocalservicesV1BookingLead extends \Google\Model
{
/**
* @var string
*/
public $bookingAppointmentTimestamp;
/**
* @var string
*/
public $consumerEmail;
/**
* @var string
*/
public $consumerPhoneNumber;
/**
* @var string
*/
public $customerName;
/**
* @var string
*/
public $jobType;
/**
* @param string
*/
public function setBookingAppointmentTimestamp($bookingAppointmentTimestamp)
{
$this->bookingAppointmentTimestamp = $bookingAppointmentTimestamp;
}
/**
* @return string
*/
public function getBookingAppointmentTimestamp()
{
return $this->bookingAppointmentTimestamp;
}
/**
* @param string
*/
public function setConsumerEmail($consumerEmail)
{
$this->consumerEmail = $consumerEmail;
}
/**
* @return string
*/
public function getConsumerEmail()
{
return $this->consumerEmail;
}
/**
* @param string
*/
public function setConsumerPhoneNumber($consumerPhoneNumber)
{
$this->consumerPhoneNumber = $consumerPhoneNumber;
}
/**
* @return string
*/
public function getConsumerPhoneNumber()
{
return $this->consumerPhoneNumber;
}
/**
* @param string
*/
public function setCustomerName($customerName)
{
$this->customerName = $customerName;
}
/**
* @return string
*/
public function getCustomerName()
{
return $this->customerName;
}
/**
* @param string
*/
public function setJobType($jobType)
{
$this->jobType = $jobType;
}
/**
* @return string
*/
public function getJobType()
{
return $this->jobType;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAdsHomeservicesLocalservicesV1BookingLead::class, 'Google_Service_Localservices_GoogleAdsHomeservicesLocalservicesV1BookingLead');

View File

@@ -0,0 +1,313 @@
<?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\Localservices;
class GoogleAdsHomeservicesLocalservicesV1DetailedLeadReport extends \Google\Model
{
/**
* @var string
*/
public $accountId;
protected $aggregatorInfoType = GoogleAdsHomeservicesLocalservicesV1AggregatorInfo::class;
protected $aggregatorInfoDataType = '';
protected $bookingLeadType = GoogleAdsHomeservicesLocalservicesV1BookingLead::class;
protected $bookingLeadDataType = '';
/**
* @var string
*/
public $businessName;
/**
* @var string
*/
public $chargeStatus;
/**
* @var string
*/
public $currencyCode;
/**
* @var string
*/
public $disputeStatus;
/**
* @var string
*/
public $geo;
/**
* @var string
*/
public $googleAdsLeadId;
/**
* @var string
*/
public $leadCategory;
/**
* @var string
*/
public $leadCreationTimestamp;
/**
* @var string
*/
public $leadId;
public $leadPrice;
/**
* @var string
*/
public $leadType;
protected $messageLeadType = GoogleAdsHomeservicesLocalservicesV1MessageLead::class;
protected $messageLeadDataType = '';
protected $phoneLeadType = GoogleAdsHomeservicesLocalservicesV1PhoneLead::class;
protected $phoneLeadDataType = '';
protected $timezoneType = GoogleTypeTimeZone::class;
protected $timezoneDataType = '';
/**
* @param string
*/
public function setAccountId($accountId)
{
$this->accountId = $accountId;
}
/**
* @return string
*/
public function getAccountId()
{
return $this->accountId;
}
/**
* @param GoogleAdsHomeservicesLocalservicesV1AggregatorInfo
*/
public function setAggregatorInfo(GoogleAdsHomeservicesLocalservicesV1AggregatorInfo $aggregatorInfo)
{
$this->aggregatorInfo = $aggregatorInfo;
}
/**
* @return GoogleAdsHomeservicesLocalservicesV1AggregatorInfo
*/
public function getAggregatorInfo()
{
return $this->aggregatorInfo;
}
/**
* @param GoogleAdsHomeservicesLocalservicesV1BookingLead
*/
public function setBookingLead(GoogleAdsHomeservicesLocalservicesV1BookingLead $bookingLead)
{
$this->bookingLead = $bookingLead;
}
/**
* @return GoogleAdsHomeservicesLocalservicesV1BookingLead
*/
public function getBookingLead()
{
return $this->bookingLead;
}
/**
* @param string
*/
public function setBusinessName($businessName)
{
$this->businessName = $businessName;
}
/**
* @return string
*/
public function getBusinessName()
{
return $this->businessName;
}
/**
* @param string
*/
public function setChargeStatus($chargeStatus)
{
$this->chargeStatus = $chargeStatus;
}
/**
* @return string
*/
public function getChargeStatus()
{
return $this->chargeStatus;
}
/**
* @param string
*/
public function setCurrencyCode($currencyCode)
{
$this->currencyCode = $currencyCode;
}
/**
* @return string
*/
public function getCurrencyCode()
{
return $this->currencyCode;
}
/**
* @param string
*/
public function setDisputeStatus($disputeStatus)
{
$this->disputeStatus = $disputeStatus;
}
/**
* @return string
*/
public function getDisputeStatus()
{
return $this->disputeStatus;
}
/**
* @param string
*/
public function setGeo($geo)
{
$this->geo = $geo;
}
/**
* @return string
*/
public function getGeo()
{
return $this->geo;
}
/**
* @param string
*/
public function setGoogleAdsLeadId($googleAdsLeadId)
{
$this->googleAdsLeadId = $googleAdsLeadId;
}
/**
* @return string
*/
public function getGoogleAdsLeadId()
{
return $this->googleAdsLeadId;
}
/**
* @param string
*/
public function setLeadCategory($leadCategory)
{
$this->leadCategory = $leadCategory;
}
/**
* @return string
*/
public function getLeadCategory()
{
return $this->leadCategory;
}
/**
* @param string
*/
public function setLeadCreationTimestamp($leadCreationTimestamp)
{
$this->leadCreationTimestamp = $leadCreationTimestamp;
}
/**
* @return string
*/
public function getLeadCreationTimestamp()
{
return $this->leadCreationTimestamp;
}
/**
* @param string
*/
public function setLeadId($leadId)
{
$this->leadId = $leadId;
}
/**
* @return string
*/
public function getLeadId()
{
return $this->leadId;
}
public function setLeadPrice($leadPrice)
{
$this->leadPrice = $leadPrice;
}
public function getLeadPrice()
{
return $this->leadPrice;
}
/**
* @param string
*/
public function setLeadType($leadType)
{
$this->leadType = $leadType;
}
/**
* @return string
*/
public function getLeadType()
{
return $this->leadType;
}
/**
* @param GoogleAdsHomeservicesLocalservicesV1MessageLead
*/
public function setMessageLead(GoogleAdsHomeservicesLocalservicesV1MessageLead $messageLead)
{
$this->messageLead = $messageLead;
}
/**
* @return GoogleAdsHomeservicesLocalservicesV1MessageLead
*/
public function getMessageLead()
{
return $this->messageLead;
}
/**
* @param GoogleAdsHomeservicesLocalservicesV1PhoneLead
*/
public function setPhoneLead(GoogleAdsHomeservicesLocalservicesV1PhoneLead $phoneLead)
{
$this->phoneLead = $phoneLead;
}
/**
* @return GoogleAdsHomeservicesLocalservicesV1PhoneLead
*/
public function getPhoneLead()
{
return $this->phoneLead;
}
/**
* @param GoogleTypeTimeZone
*/
public function setTimezone(GoogleTypeTimeZone $timezone)
{
$this->timezone = $timezone;
}
/**
* @return GoogleTypeTimeZone
*/
public function getTimezone()
{
return $this->timezone;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAdsHomeservicesLocalservicesV1DetailedLeadReport::class, 'Google_Service_Localservices_GoogleAdsHomeservicesLocalservicesV1DetailedLeadReport');

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\Localservices;
class GoogleAdsHomeservicesLocalservicesV1MessageLead extends \Google\Model
{
/**
* @var string
*/
public $consumerPhoneNumber;
/**
* @var string
*/
public $customerName;
/**
* @var string
*/
public $jobType;
/**
* @var string
*/
public $postalCode;
/**
* @param string
*/
public function setConsumerPhoneNumber($consumerPhoneNumber)
{
$this->consumerPhoneNumber = $consumerPhoneNumber;
}
/**
* @return string
*/
public function getConsumerPhoneNumber()
{
return $this->consumerPhoneNumber;
}
/**
* @param string
*/
public function setCustomerName($customerName)
{
$this->customerName = $customerName;
}
/**
* @return string
*/
public function getCustomerName()
{
return $this->customerName;
}
/**
* @param string
*/
public function setJobType($jobType)
{
$this->jobType = $jobType;
}
/**
* @return string
*/
public function getJobType()
{
return $this->jobType;
}
/**
* @param string
*/
public function setPostalCode($postalCode)
{
$this->postalCode = $postalCode;
}
/**
* @return string
*/
public function getPostalCode()
{
return $this->postalCode;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAdsHomeservicesLocalservicesV1MessageLead::class, 'Google_Service_Localservices_GoogleAdsHomeservicesLocalservicesV1MessageLead');

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\Localservices;
class GoogleAdsHomeservicesLocalservicesV1PhoneLead extends \Google\Model
{
/**
* @var string
*/
public $chargedCallTimestamp;
/**
* @var string
*/
public $chargedConnectedCallDurationSeconds;
/**
* @var string
*/
public $consumerPhoneNumber;
/**
* @param string
*/
public function setChargedCallTimestamp($chargedCallTimestamp)
{
$this->chargedCallTimestamp = $chargedCallTimestamp;
}
/**
* @return string
*/
public function getChargedCallTimestamp()
{
return $this->chargedCallTimestamp;
}
/**
* @param string
*/
public function setChargedConnectedCallDurationSeconds($chargedConnectedCallDurationSeconds)
{
$this->chargedConnectedCallDurationSeconds = $chargedConnectedCallDurationSeconds;
}
/**
* @return string
*/
public function getChargedConnectedCallDurationSeconds()
{
return $this->chargedConnectedCallDurationSeconds;
}
/**
* @param string
*/
public function setConsumerPhoneNumber($consumerPhoneNumber)
{
$this->consumerPhoneNumber = $consumerPhoneNumber;
}
/**
* @return string
*/
public function getConsumerPhoneNumber()
{
return $this->consumerPhoneNumber;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAdsHomeservicesLocalservicesV1PhoneLead::class, 'Google_Service_Localservices_GoogleAdsHomeservicesLocalservicesV1PhoneLead');

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\Localservices;
class GoogleAdsHomeservicesLocalservicesV1SearchAccountReportsResponse extends \Google\Collection
{
protected $collection_key = 'accountReports';
protected $accountReportsType = GoogleAdsHomeservicesLocalservicesV1AccountReport::class;
protected $accountReportsDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @param GoogleAdsHomeservicesLocalservicesV1AccountReport[]
*/
public function setAccountReports($accountReports)
{
$this->accountReports = $accountReports;
}
/**
* @return GoogleAdsHomeservicesLocalservicesV1AccountReport[]
*/
public function getAccountReports()
{
return $this->accountReports;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAdsHomeservicesLocalservicesV1SearchAccountReportsResponse::class, 'Google_Service_Localservices_GoogleAdsHomeservicesLocalservicesV1SearchAccountReportsResponse');

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\Localservices;
class GoogleAdsHomeservicesLocalservicesV1SearchDetailedLeadReportsResponse extends \Google\Collection
{
protected $collection_key = 'detailedLeadReports';
protected $detailedLeadReportsType = GoogleAdsHomeservicesLocalservicesV1DetailedLeadReport::class;
protected $detailedLeadReportsDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @param GoogleAdsHomeservicesLocalservicesV1DetailedLeadReport[]
*/
public function setDetailedLeadReports($detailedLeadReports)
{
$this->detailedLeadReports = $detailedLeadReports;
}
/**
* @return GoogleAdsHomeservicesLocalservicesV1DetailedLeadReport[]
*/
public function getDetailedLeadReports()
{
return $this->detailedLeadReports;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAdsHomeservicesLocalservicesV1SearchDetailedLeadReportsResponse::class, 'Google_Service_Localservices_GoogleAdsHomeservicesLocalservicesV1SearchDetailedLeadReportsResponse');

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\Localservices;
class GoogleTypeTimeZone extends \Google\Model
{
/**
* @var string
*/
public $id;
/**
* @var string
*/
public $version;
/**
* @param string
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* @param string
*/
public function setVersion($version)
{
$this->version = $version;
}
/**
* @return string
*/
public function getVersion()
{
return $this->version;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleTypeTimeZone::class, 'Google_Service_Localservices_GoogleTypeTimeZone');

View File

@@ -0,0 +1,79 @@
<?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\Localservices\Resource;
use Google\Service\Localservices\GoogleAdsHomeservicesLocalservicesV1SearchAccountReportsResponse;
/**
* The "accountReports" collection of methods.
* Typical usage is:
* <code>
* $localservicesService = new Google\Service\Localservices(...);
* $accountReports = $localservicesService->accountReports;
* </code>
*/
class AccountReports extends \Google\Service\Resource
{
/**
* Get account reports containing aggregate account data of all linked GLS
* accounts. Caller needs to provide their manager customer id and the
* associated auth credential that allows them read permissions on their linked
* accounts. (accountReports.search)
*
* @param array $optParams Optional parameters.
*
* @opt_param int 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 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 endDate.year Year of the date. Must be from 1 to 9999, or 0 to
* specify a date without a year.
* @opt_param int pageSize The maximum number of accounts to return. If the page
* size is unset, page size will default to 1000. Maximum page_size is 10000.
* Optional.
* @opt_param string pageToken The `next_page_token` value returned from a
* previous request to SearchAccountReports that indicates where listing should
* continue. Optional.
* @opt_param string query A query string for searching for account reports.
* Caller must provide a customer id of their MCC account with an associated
* Gaia Mint that allows read permission on their linked accounts. Search
* expressions are case insensitive. Example query: | Query | Description |
* |-------------------------|-----------------------------------------------| |
* manager_customer_id:123 | Get Account Report for Manager with id 123. |
* Required.
* @opt_param int 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 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 startDate.year Year of the date. Must be from 1 to 9999, or 0
* to specify a date without a year.
* @return GoogleAdsHomeservicesLocalservicesV1SearchAccountReportsResponse
* @throws \Google\Service\Exception
*/
public function search($optParams = [])
{
$params = [];
$params = array_merge($params, $optParams);
return $this->call('search', [$params], GoogleAdsHomeservicesLocalservicesV1SearchAccountReportsResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AccountReports::class, 'Google_Service_Localservices_Resource_AccountReports');

View File

@@ -0,0 +1,79 @@
<?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\Localservices\Resource;
use Google\Service\Localservices\GoogleAdsHomeservicesLocalservicesV1SearchDetailedLeadReportsResponse;
/**
* The "detailedLeadReports" collection of methods.
* Typical usage is:
* <code>
* $localservicesService = new Google\Service\Localservices(...);
* $detailedLeadReports = $localservicesService->detailedLeadReports;
* </code>
*/
class DetailedLeadReports extends \Google\Service\Resource
{
/**
* Get detailed lead reports containing leads that have been received by all
* linked GLS accounts. Caller needs to provide their manager customer id and
* the associated auth credential that allows them read permissions on their
* linked accounts. (detailedLeadReports.search)
*
* @param array $optParams Optional parameters.
*
* @opt_param int 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 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 endDate.year Year of the date. Must be from 1 to 9999, or 0 to
* specify a date without a year.
* @opt_param int pageSize The maximum number of accounts to return. If the page
* size is unset, page size will default to 1000. Maximum page_size is 10000.
* Optional.
* @opt_param string pageToken The `next_page_token` value returned from a
* previous request to SearchDetailedLeadReports that indicates where listing
* should continue. Optional.
* @opt_param string query A query string for searching for account reports.
* Caller must provide a customer id of their MCC account with an associated
* Gaia Mint that allows read permission on their linked accounts. Search
* expressions are case insensitive. Example query: | Query | Description |
* |-------------------------|-----------------------------------------------| |
* manager_customer_id:123 | Get Detailed Lead Report for Manager with id | | |
* 123. | Required.
* @opt_param int 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 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 startDate.year Year of the date. Must be from 1 to 9999, or 0
* to specify a date without a year.
* @return GoogleAdsHomeservicesLocalservicesV1SearchDetailedLeadReportsResponse
* @throws \Google\Service\Exception
*/
public function search($optParams = [])
{
$params = [];
$params = array_merge($params, $optParams);
return $this->call('search', [$params], GoogleAdsHomeservicesLocalservicesV1SearchDetailedLeadReportsResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DetailedLeadReports::class, 'Google_Service_Localservices_Resource_DetailedLeadReports');