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
@@ -0,0 +1,169 @@
<?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\SearchConsole;
class AmpInspectionResult extends \Google\Collection
{
protected $collection_key = 'issues';
/**
* @var string
*/
public $ampIndexStatusVerdict;
/**
* @var string
*/
public $ampUrl;
/**
* @var string
*/
public $indexingState;
protected $issuesType = AmpIssue::class;
protected $issuesDataType = 'array';
/**
* @var string
*/
public $lastCrawlTime;
/**
* @var string
*/
public $pageFetchState;
/**
* @var string
*/
public $robotsTxtState;
/**
* @var string
*/
public $verdict;
/**
* @param string
*/
public function setAmpIndexStatusVerdict($ampIndexStatusVerdict)
{
$this->ampIndexStatusVerdict = $ampIndexStatusVerdict;
}
/**
* @return string
*/
public function getAmpIndexStatusVerdict()
{
return $this->ampIndexStatusVerdict;
}
/**
* @param string
*/
public function setAmpUrl($ampUrl)
{
$this->ampUrl = $ampUrl;
}
/**
* @return string
*/
public function getAmpUrl()
{
return $this->ampUrl;
}
/**
* @param string
*/
public function setIndexingState($indexingState)
{
$this->indexingState = $indexingState;
}
/**
* @return string
*/
public function getIndexingState()
{
return $this->indexingState;
}
/**
* @param AmpIssue[]
*/
public function setIssues($issues)
{
$this->issues = $issues;
}
/**
* @return AmpIssue[]
*/
public function getIssues()
{
return $this->issues;
}
/**
* @param string
*/
public function setLastCrawlTime($lastCrawlTime)
{
$this->lastCrawlTime = $lastCrawlTime;
}
/**
* @return string
*/
public function getLastCrawlTime()
{
return $this->lastCrawlTime;
}
/**
* @param string
*/
public function setPageFetchState($pageFetchState)
{
$this->pageFetchState = $pageFetchState;
}
/**
* @return string
*/
public function getPageFetchState()
{
return $this->pageFetchState;
}
/**
* @param string
*/
public function setRobotsTxtState($robotsTxtState)
{
$this->robotsTxtState = $robotsTxtState;
}
/**
* @return string
*/
public function getRobotsTxtState()
{
return $this->robotsTxtState;
}
/**
* @param string
*/
public function setVerdict($verdict)
{
$this->verdict = $verdict;
}
/**
* @return string
*/
public function getVerdict()
{
return $this->verdict;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AmpInspectionResult::class, 'Google_Service_SearchConsole_AmpInspectionResult');
@@ -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\SearchConsole;
class AmpIssue extends \Google\Model
{
/**
* @var string
*/
public $issueMessage;
/**
* @var string
*/
public $severity;
/**
* @param string
*/
public function setIssueMessage($issueMessage)
{
$this->issueMessage = $issueMessage;
}
/**
* @return string
*/
public function getIssueMessage()
{
return $this->issueMessage;
}
/**
* @param string
*/
public function setSeverity($severity)
{
$this->severity = $severity;
}
/**
* @return string
*/
public function getSeverity()
{
return $this->severity;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AmpIssue::class, 'Google_Service_SearchConsole_AmpIssue');
@@ -0,0 +1,81 @@
<?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\SearchConsole;
class ApiDataRow extends \Google\Collection
{
protected $collection_key = 'keys';
public $clicks;
public $ctr;
public $impressions;
/**
* @var string[]
*/
public $keys;
public $position;
public function setClicks($clicks)
{
$this->clicks = $clicks;
}
public function getClicks()
{
return $this->clicks;
}
public function setCtr($ctr)
{
$this->ctr = $ctr;
}
public function getCtr()
{
return $this->ctr;
}
public function setImpressions($impressions)
{
$this->impressions = $impressions;
}
public function getImpressions()
{
return $this->impressions;
}
/**
* @param string[]
*/
public function setKeys($keys)
{
$this->keys = $keys;
}
/**
* @return string[]
*/
public function getKeys()
{
return $this->keys;
}
public function setPosition($position)
{
$this->position = $position;
}
public function getPosition()
{
return $this->position;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ApiDataRow::class, 'Google_Service_SearchConsole_ApiDataRow');
@@ -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\SearchConsole;
class ApiDimensionFilter extends \Google\Model
{
/**
* @var string
*/
public $dimension;
/**
* @var string
*/
public $expression;
/**
* @var string
*/
public $operator;
/**
* @param string
*/
public function setDimension($dimension)
{
$this->dimension = $dimension;
}
/**
* @return string
*/
public function getDimension()
{
return $this->dimension;
}
/**
* @param string
*/
public function setExpression($expression)
{
$this->expression = $expression;
}
/**
* @return string
*/
public function getExpression()
{
return $this->expression;
}
/**
* @param string
*/
public function setOperator($operator)
{
$this->operator = $operator;
}
/**
* @return string
*/
public function getOperator()
{
return $this->operator;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ApiDimensionFilter::class, 'Google_Service_SearchConsole_ApiDimensionFilter');
@@ -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\SearchConsole;
class ApiDimensionFilterGroup extends \Google\Collection
{
protected $collection_key = 'filters';
protected $filtersType = ApiDimensionFilter::class;
protected $filtersDataType = 'array';
/**
* @var string
*/
public $groupType;
/**
* @param ApiDimensionFilter[]
*/
public function setFilters($filters)
{
$this->filters = $filters;
}
/**
* @return ApiDimensionFilter[]
*/
public function getFilters()
{
return $this->filters;
}
/**
* @param string
*/
public function setGroupType($groupType)
{
$this->groupType = $groupType;
}
/**
* @return string
*/
public function getGroupType()
{
return $this->groupType;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ApiDimensionFilterGroup::class, 'Google_Service_SearchConsole_ApiDimensionFilterGroup');
@@ -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\SearchConsole;
class BlockedResource extends \Google\Model
{
/**
* @var string
*/
public $url;
/**
* @param string
*/
public function setUrl($url)
{
$this->url = $url;
}
/**
* @return string
*/
public function getUrl()
{
return $this->url;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BlockedResource::class, 'Google_Service_SearchConsole_BlockedResource');
@@ -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\SearchConsole;
class DetectedItems extends \Google\Collection
{
protected $collection_key = 'items';
protected $itemsType = Item::class;
protected $itemsDataType = 'array';
/**
* @var string
*/
public $richResultType;
/**
* @param Item[]
*/
public function setItems($items)
{
$this->items = $items;
}
/**
* @return Item[]
*/
public function getItems()
{
return $this->items;
}
/**
* @param string
*/
public function setRichResultType($richResultType)
{
$this->richResultType = $richResultType;
}
/**
* @return string
*/
public function getRichResultType()
{
return $this->richResultType;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DetectedItems::class, 'Google_Service_SearchConsole_DetectedItems');
@@ -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\SearchConsole;
class Image extends \Google\Model
{
/**
* @var string
*/
public $data;
/**
* @var string
*/
public $mimeType;
/**
* @param string
*/
public function setData($data)
{
$this->data = $data;
}
/**
* @return string
*/
public function getData()
{
return $this->data;
}
/**
* @param string
*/
public function setMimeType($mimeType)
{
$this->mimeType = $mimeType;
}
/**
* @return string
*/
public function getMimeType()
{
return $this->mimeType;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Image::class, 'Google_Service_SearchConsole_Image');
@@ -0,0 +1,225 @@
<?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\SearchConsole;
class IndexStatusInspectionResult extends \Google\Collection
{
protected $collection_key = 'sitemap';
/**
* @var string
*/
public $coverageState;
/**
* @var string
*/
public $crawledAs;
/**
* @var string
*/
public $googleCanonical;
/**
* @var string
*/
public $indexingState;
/**
* @var string
*/
public $lastCrawlTime;
/**
* @var string
*/
public $pageFetchState;
/**
* @var string[]
*/
public $referringUrls;
/**
* @var string
*/
public $robotsTxtState;
/**
* @var string[]
*/
public $sitemap;
/**
* @var string
*/
public $userCanonical;
/**
* @var string
*/
public $verdict;
/**
* @param string
*/
public function setCoverageState($coverageState)
{
$this->coverageState = $coverageState;
}
/**
* @return string
*/
public function getCoverageState()
{
return $this->coverageState;
}
/**
* @param string
*/
public function setCrawledAs($crawledAs)
{
$this->crawledAs = $crawledAs;
}
/**
* @return string
*/
public function getCrawledAs()
{
return $this->crawledAs;
}
/**
* @param string
*/
public function setGoogleCanonical($googleCanonical)
{
$this->googleCanonical = $googleCanonical;
}
/**
* @return string
*/
public function getGoogleCanonical()
{
return $this->googleCanonical;
}
/**
* @param string
*/
public function setIndexingState($indexingState)
{
$this->indexingState = $indexingState;
}
/**
* @return string
*/
public function getIndexingState()
{
return $this->indexingState;
}
/**
* @param string
*/
public function setLastCrawlTime($lastCrawlTime)
{
$this->lastCrawlTime = $lastCrawlTime;
}
/**
* @return string
*/
public function getLastCrawlTime()
{
return $this->lastCrawlTime;
}
/**
* @param string
*/
public function setPageFetchState($pageFetchState)
{
$this->pageFetchState = $pageFetchState;
}
/**
* @return string
*/
public function getPageFetchState()
{
return $this->pageFetchState;
}
/**
* @param string[]
*/
public function setReferringUrls($referringUrls)
{
$this->referringUrls = $referringUrls;
}
/**
* @return string[]
*/
public function getReferringUrls()
{
return $this->referringUrls;
}
/**
* @param string
*/
public function setRobotsTxtState($robotsTxtState)
{
$this->robotsTxtState = $robotsTxtState;
}
/**
* @return string
*/
public function getRobotsTxtState()
{
return $this->robotsTxtState;
}
/**
* @param string[]
*/
public function setSitemap($sitemap)
{
$this->sitemap = $sitemap;
}
/**
* @return string[]
*/
public function getSitemap()
{
return $this->sitemap;
}
/**
* @param string
*/
public function setUserCanonical($userCanonical)
{
$this->userCanonical = $userCanonical;
}
/**
* @return string
*/
public function getUserCanonical()
{
return $this->userCanonical;
}
/**
* @param string
*/
public function setVerdict($verdict)
{
$this->verdict = $verdict;
}
/**
* @return string
*/
public function getVerdict()
{
return $this->verdict;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(IndexStatusInspectionResult::class, 'Google_Service_SearchConsole_IndexStatusInspectionResult');
@@ -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\SearchConsole;
class InspectUrlIndexRequest extends \Google\Model
{
/**
* @var string
*/
public $inspectionUrl;
/**
* @var string
*/
public $languageCode;
/**
* @var string
*/
public $siteUrl;
/**
* @param string
*/
public function setInspectionUrl($inspectionUrl)
{
$this->inspectionUrl = $inspectionUrl;
}
/**
* @return string
*/
public function getInspectionUrl()
{
return $this->inspectionUrl;
}
/**
* @param string
*/
public function setLanguageCode($languageCode)
{
$this->languageCode = $languageCode;
}
/**
* @return string
*/
public function getLanguageCode()
{
return $this->languageCode;
}
/**
* @param string
*/
public function setSiteUrl($siteUrl)
{
$this->siteUrl = $siteUrl;
}
/**
* @return string
*/
public function getSiteUrl()
{
return $this->siteUrl;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(InspectUrlIndexRequest::class, 'Google_Service_SearchConsole_InspectUrlIndexRequest');
@@ -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\SearchConsole;
class InspectUrlIndexResponse extends \Google\Model
{
protected $inspectionResultType = UrlInspectionResult::class;
protected $inspectionResultDataType = '';
/**
* @param UrlInspectionResult
*/
public function setInspectionResult(UrlInspectionResult $inspectionResult)
{
$this->inspectionResult = $inspectionResult;
}
/**
* @return UrlInspectionResult
*/
public function getInspectionResult()
{
return $this->inspectionResult;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(InspectUrlIndexResponse::class, 'Google_Service_SearchConsole_InspectUrlIndexResponse');
@@ -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\SearchConsole;
class Item extends \Google\Collection
{
protected $collection_key = 'issues';
protected $issuesType = RichResultsIssue::class;
protected $issuesDataType = 'array';
/**
* @var string
*/
public $name;
/**
* @param RichResultsIssue[]
*/
public function setIssues($issues)
{
$this->issues = $issues;
}
/**
* @return RichResultsIssue[]
*/
public function getIssues()
{
return $this->issues;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Item::class, 'Google_Service_SearchConsole_Item');
@@ -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\SearchConsole;
class MobileFriendlyIssue extends \Google\Model
{
/**
* @var string
*/
public $rule;
/**
* @param string
*/
public function setRule($rule)
{
$this->rule = $rule;
}
/**
* @return string
*/
public function getRule()
{
return $this->rule;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(MobileFriendlyIssue::class, 'Google_Service_SearchConsole_MobileFriendlyIssue');
@@ -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\SearchConsole;
class MobileUsabilityInspectionResult extends \Google\Collection
{
protected $collection_key = 'issues';
protected $issuesType = MobileUsabilityIssue::class;
protected $issuesDataType = 'array';
/**
* @var string
*/
public $verdict;
/**
* @param MobileUsabilityIssue[]
*/
public function setIssues($issues)
{
$this->issues = $issues;
}
/**
* @return MobileUsabilityIssue[]
*/
public function getIssues()
{
return $this->issues;
}
/**
* @param string
*/
public function setVerdict($verdict)
{
$this->verdict = $verdict;
}
/**
* @return string
*/
public function getVerdict()
{
return $this->verdict;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(MobileUsabilityInspectionResult::class, 'Google_Service_SearchConsole_MobileUsabilityInspectionResult');
@@ -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\SearchConsole;
class MobileUsabilityIssue extends \Google\Model
{
/**
* @var string
*/
public $issueType;
/**
* @var string
*/
public $message;
/**
* @var string
*/
public $severity;
/**
* @param string
*/
public function setIssueType($issueType)
{
$this->issueType = $issueType;
}
/**
* @return string
*/
public function getIssueType()
{
return $this->issueType;
}
/**
* @param string
*/
public function setMessage($message)
{
$this->message = $message;
}
/**
* @return string
*/
public function getMessage()
{
return $this->message;
}
/**
* @param string
*/
public function setSeverity($severity)
{
$this->severity = $severity;
}
/**
* @return string
*/
public function getSeverity()
{
return $this->severity;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(MobileUsabilityIssue::class, 'Google_Service_SearchConsole_MobileUsabilityIssue');
@@ -0,0 +1,57 @@
<?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\SearchConsole\Resource;
use Google\Service\SearchConsole\SearchAnalyticsQueryRequest;
use Google\Service\SearchConsole\SearchAnalyticsQueryResponse;
/**
* The "searchanalytics" collection of methods.
* Typical usage is:
* <code>
* $searchconsoleService = new Google\Service\SearchConsole(...);
* $searchanalytics = $searchconsoleService->searchanalytics;
* </code>
*/
class Searchanalytics extends \Google\Service\Resource
{
/**
* Query your data with filters and parameters that you define. Returns zero or
* more rows grouped by the row keys that you define. You must define a date
* range of one or more days. When date is one of the group by values, any days
* without data are omitted from the result list. If you need to know which days
* have data, issue a broad date range query grouped by date for any metric, and
* see which day rows are returned. (searchanalytics.query)
*
* @param string $siteUrl The site's URL, including protocol. For example:
* `http://www.example.com/`.
* @param SearchAnalyticsQueryRequest $postBody
* @param array $optParams Optional parameters.
* @return SearchAnalyticsQueryResponse
* @throws \Google\Service\Exception
*/
public function query($siteUrl, SearchAnalyticsQueryRequest $postBody, $optParams = [])
{
$params = ['siteUrl' => $siteUrl, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('query', [$params], SearchAnalyticsQueryResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Searchanalytics::class, 'Google_Service_SearchConsole_Resource_Searchanalytics');
@@ -0,0 +1,107 @@
<?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\SearchConsole\Resource;
use Google\Service\SearchConsole\SitemapsListResponse;
use Google\Service\SearchConsole\WmxSitemap;
/**
* The "sitemaps" collection of methods.
* Typical usage is:
* <code>
* $searchconsoleService = new Google\Service\SearchConsole(...);
* $sitemaps = $searchconsoleService->sitemaps;
* </code>
*/
class Sitemaps extends \Google\Service\Resource
{
/**
* Deletes a sitemap from the Sitemaps report. Does not stop Google from
* crawling this sitemap or the URLs that were previously crawled in the deleted
* sitemap. (sitemaps.delete)
*
* @param string $siteUrl The site's URL, including protocol. For example:
* `http://www.example.com/`.
* @param string $feedpath The URL of the actual sitemap. For example:
* `http://www.example.com/sitemap.xml`.
* @param array $optParams Optional parameters.
* @throws \Google\Service\Exception
*/
public function delete($siteUrl, $feedpath, $optParams = [])
{
$params = ['siteUrl' => $siteUrl, 'feedpath' => $feedpath];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params]);
}
/**
* Retrieves information about a specific sitemap. (sitemaps.get)
*
* @param string $siteUrl The site's URL, including protocol. For example:
* `http://www.example.com/`.
* @param string $feedpath The URL of the actual sitemap. For example:
* `http://www.example.com/sitemap.xml`.
* @param array $optParams Optional parameters.
* @return WmxSitemap
* @throws \Google\Service\Exception
*/
public function get($siteUrl, $feedpath, $optParams = [])
{
$params = ['siteUrl' => $siteUrl, 'feedpath' => $feedpath];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], WmxSitemap::class);
}
/**
* Lists the [sitemaps-entries](/webmaster-tools/v3/sitemaps) submitted for this
* site, or included in the sitemap index file (if `sitemapIndex` is specified
* in the request). (sitemaps.listSitemaps)
*
* @param string $siteUrl The site's URL, including protocol. For example:
* `http://www.example.com/`.
* @param array $optParams Optional parameters.
*
* @opt_param string sitemapIndex A URL of a site's sitemap index. For example:
* `http://www.example.com/sitemapindex.xml`.
* @return SitemapsListResponse
* @throws \Google\Service\Exception
*/
public function listSitemaps($siteUrl, $optParams = [])
{
$params = ['siteUrl' => $siteUrl];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], SitemapsListResponse::class);
}
/**
* Submits a sitemap for a site. (sitemaps.submit)
*
* @param string $siteUrl The site's URL, including protocol. For example:
* `http://www.example.com/`.
* @param string $feedpath The URL of the actual sitemap. For example:
* `http://www.example.com/sitemap.xml`.
* @param array $optParams Optional parameters.
* @throws \Google\Service\Exception
*/
public function submit($siteUrl, $feedpath, $optParams = [])
{
$params = ['siteUrl' => $siteUrl, 'feedpath' => $feedpath];
$params = array_merge($params, $optParams);
return $this->call('submit', [$params]);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Sitemaps::class, 'Google_Service_SearchConsole_Resource_Sitemaps');
@@ -0,0 +1,92 @@
<?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\SearchConsole\Resource;
use Google\Service\SearchConsole\SitesListResponse;
use Google\Service\SearchConsole\WmxSite;
/**
* The "sites" collection of methods.
* Typical usage is:
* <code>
* $searchconsoleService = new Google\Service\SearchConsole(...);
* $sites = $searchconsoleService->sites;
* </code>
*/
class Sites extends \Google\Service\Resource
{
/**
* Adds a site to the set of the user's sites in Search Console. (sites.add)
*
* @param string $siteUrl The URL of the site to add.
* @param array $optParams Optional parameters.
* @throws \Google\Service\Exception
*/
public function add($siteUrl, $optParams = [])
{
$params = ['siteUrl' => $siteUrl];
$params = array_merge($params, $optParams);
return $this->call('add', [$params]);
}
/**
* Removes a site from the set of the user's Search Console sites.
* (sites.delete)
*
* @param string $siteUrl The URI of the property as defined in Search Console.
* **Examples:** `http://www.example.com/` or `sc-domain:example.com`.
* @param array $optParams Optional parameters.
* @throws \Google\Service\Exception
*/
public function delete($siteUrl, $optParams = [])
{
$params = ['siteUrl' => $siteUrl];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params]);
}
/**
* Retrieves information about specific site. (sites.get)
*
* @param string $siteUrl The URI of the property as defined in Search Console.
* **Examples:** `http://www.example.com/` or `sc-domain:example.com`.
* @param array $optParams Optional parameters.
* @return WmxSite
* @throws \Google\Service\Exception
*/
public function get($siteUrl, $optParams = [])
{
$params = ['siteUrl' => $siteUrl];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], WmxSite::class);
}
/**
* Lists the user's Search Console sites. (sites.listSites)
*
* @param array $optParams Optional parameters.
* @return SitesListResponse
* @throws \Google\Service\Exception
*/
public function listSites($optParams = [])
{
$params = [];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], SitesListResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Sites::class, 'Google_Service_SearchConsole_Resource_Sites');
@@ -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\SearchConsole\Resource;
/**
* The "urlInspection" collection of methods.
* Typical usage is:
* <code>
* $searchconsoleService = new Google\Service\SearchConsole(...);
* $urlInspection = $searchconsoleService->urlInspection;
* </code>
*/
class UrlInspection extends \Google\Service\Resource
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(UrlInspection::class, 'Google_Service_SearchConsole_Resource_UrlInspection');
@@ -0,0 +1,50 @@
<?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\SearchConsole\Resource;
use Google\Service\SearchConsole\InspectUrlIndexRequest;
use Google\Service\SearchConsole\InspectUrlIndexResponse;
/**
* The "index" collection of methods.
* Typical usage is:
* <code>
* $searchconsoleService = new Google\Service\SearchConsole(...);
* $index = $searchconsoleService->urlInspection_index;
* </code>
*/
class UrlInspectionIndex extends \Google\Service\Resource
{
/**
* Index inspection. (index.inspect)
*
* @param InspectUrlIndexRequest $postBody
* @param array $optParams Optional parameters.
* @return InspectUrlIndexResponse
* @throws \Google\Service\Exception
*/
public function inspect(InspectUrlIndexRequest $postBody, $optParams = [])
{
$params = ['postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('inspect', [$params], InspectUrlIndexResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(UrlInspectionIndex::class, 'Google_Service_SearchConsole_Resource_UrlInspectionIndex');
@@ -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\SearchConsole\Resource;
/**
* The "urlTestingTools" collection of methods.
* Typical usage is:
* <code>
* $searchconsoleService = new Google\Service\SearchConsole(...);
* $urlTestingTools = $searchconsoleService->urlTestingTools;
* </code>
*/
class UrlTestingTools extends \Google\Service\Resource
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(UrlTestingTools::class, 'Google_Service_SearchConsole_Resource_UrlTestingTools');
@@ -0,0 +1,50 @@
<?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\SearchConsole\Resource;
use Google\Service\SearchConsole\RunMobileFriendlyTestRequest;
use Google\Service\SearchConsole\RunMobileFriendlyTestResponse;
/**
* The "mobileFriendlyTest" collection of methods.
* Typical usage is:
* <code>
* $searchconsoleService = new Google\Service\SearchConsole(...);
* $mobileFriendlyTest = $searchconsoleService->urlTestingTools_mobileFriendlyTest;
* </code>
*/
class UrlTestingToolsMobileFriendlyTest extends \Google\Service\Resource
{
/**
* Runs Mobile-Friendly Test for a given URL. (mobileFriendlyTest.run)
*
* @param RunMobileFriendlyTestRequest $postBody
* @param array $optParams Optional parameters.
* @return RunMobileFriendlyTestResponse
* @throws \Google\Service\Exception
*/
public function run(RunMobileFriendlyTestRequest $postBody, $optParams = [])
{
$params = ['postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('run', [$params], RunMobileFriendlyTestResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(UrlTestingToolsMobileFriendlyTest::class, 'Google_Service_SearchConsole_Resource_UrlTestingToolsMobileFriendlyTest');
@@ -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\SearchConsole;
class ResourceIssue extends \Google\Model
{
protected $blockedResourceType = BlockedResource::class;
protected $blockedResourceDataType = '';
/**
* @param BlockedResource
*/
public function setBlockedResource(BlockedResource $blockedResource)
{
$this->blockedResource = $blockedResource;
}
/**
* @return BlockedResource
*/
public function getBlockedResource()
{
return $this->blockedResource;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ResourceIssue::class, 'Google_Service_SearchConsole_ResourceIssue');
@@ -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\SearchConsole;
class RichResultsInspectionResult extends \Google\Collection
{
protected $collection_key = 'detectedItems';
protected $detectedItemsType = DetectedItems::class;
protected $detectedItemsDataType = 'array';
/**
* @var string
*/
public $verdict;
/**
* @param DetectedItems[]
*/
public function setDetectedItems($detectedItems)
{
$this->detectedItems = $detectedItems;
}
/**
* @return DetectedItems[]
*/
public function getDetectedItems()
{
return $this->detectedItems;
}
/**
* @param string
*/
public function setVerdict($verdict)
{
$this->verdict = $verdict;
}
/**
* @return string
*/
public function getVerdict()
{
return $this->verdict;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(RichResultsInspectionResult::class, 'Google_Service_SearchConsole_RichResultsInspectionResult');
@@ -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\SearchConsole;
class RichResultsIssue extends \Google\Model
{
/**
* @var string
*/
public $issueMessage;
/**
* @var string
*/
public $severity;
/**
* @param string
*/
public function setIssueMessage($issueMessage)
{
$this->issueMessage = $issueMessage;
}
/**
* @return string
*/
public function getIssueMessage()
{
return $this->issueMessage;
}
/**
* @param string
*/
public function setSeverity($severity)
{
$this->severity = $severity;
}
/**
* @return string
*/
public function getSeverity()
{
return $this->severity;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(RichResultsIssue::class, 'Google_Service_SearchConsole_RichResultsIssue');
@@ -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\SearchConsole;
class RunMobileFriendlyTestRequest extends \Google\Model
{
/**
* @var bool
*/
public $requestScreenshot;
/**
* @var string
*/
public $url;
/**
* @param bool
*/
public function setRequestScreenshot($requestScreenshot)
{
$this->requestScreenshot = $requestScreenshot;
}
/**
* @return bool
*/
public function getRequestScreenshot()
{
return $this->requestScreenshot;
}
/**
* @param string
*/
public function setUrl($url)
{
$this->url = $url;
}
/**
* @return string
*/
public function getUrl()
{
return $this->url;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(RunMobileFriendlyTestRequest::class, 'Google_Service_SearchConsole_RunMobileFriendlyTestRequest');
@@ -0,0 +1,109 @@
<?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\SearchConsole;
class RunMobileFriendlyTestResponse extends \Google\Collection
{
protected $collection_key = 'resourceIssues';
/**
* @var string
*/
public $mobileFriendliness;
protected $mobileFriendlyIssuesType = MobileFriendlyIssue::class;
protected $mobileFriendlyIssuesDataType = 'array';
protected $resourceIssuesType = ResourceIssue::class;
protected $resourceIssuesDataType = 'array';
protected $screenshotType = Image::class;
protected $screenshotDataType = '';
protected $testStatusType = TestStatus::class;
protected $testStatusDataType = '';
/**
* @param string
*/
public function setMobileFriendliness($mobileFriendliness)
{
$this->mobileFriendliness = $mobileFriendliness;
}
/**
* @return string
*/
public function getMobileFriendliness()
{
return $this->mobileFriendliness;
}
/**
* @param MobileFriendlyIssue[]
*/
public function setMobileFriendlyIssues($mobileFriendlyIssues)
{
$this->mobileFriendlyIssues = $mobileFriendlyIssues;
}
/**
* @return MobileFriendlyIssue[]
*/
public function getMobileFriendlyIssues()
{
return $this->mobileFriendlyIssues;
}
/**
* @param ResourceIssue[]
*/
public function setResourceIssues($resourceIssues)
{
$this->resourceIssues = $resourceIssues;
}
/**
* @return ResourceIssue[]
*/
public function getResourceIssues()
{
return $this->resourceIssues;
}
/**
* @param Image
*/
public function setScreenshot(Image $screenshot)
{
$this->screenshot = $screenshot;
}
/**
* @return Image
*/
public function getScreenshot()
{
return $this->screenshot;
}
/**
* @param TestStatus
*/
public function setTestStatus(TestStatus $testStatus)
{
$this->testStatus = $testStatus;
}
/**
* @return TestStatus
*/
public function getTestStatus()
{
return $this->testStatus;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(RunMobileFriendlyTestResponse::class, 'Google_Service_SearchConsole_RunMobileFriendlyTestResponse');
@@ -0,0 +1,205 @@
<?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\SearchConsole;
class SearchAnalyticsQueryRequest extends \Google\Collection
{
protected $collection_key = 'dimensions';
/**
* @var string
*/
public $aggregationType;
/**
* @var string
*/
public $dataState;
protected $dimensionFilterGroupsType = ApiDimensionFilterGroup::class;
protected $dimensionFilterGroupsDataType = 'array';
/**
* @var string[]
*/
public $dimensions;
/**
* @var string
*/
public $endDate;
/**
* @var int
*/
public $rowLimit;
/**
* @var string
*/
public $searchType;
/**
* @var string
*/
public $startDate;
/**
* @var int
*/
public $startRow;
/**
* @var string
*/
public $type;
/**
* @param string
*/
public function setAggregationType($aggregationType)
{
$this->aggregationType = $aggregationType;
}
/**
* @return string
*/
public function getAggregationType()
{
return $this->aggregationType;
}
/**
* @param string
*/
public function setDataState($dataState)
{
$this->dataState = $dataState;
}
/**
* @return string
*/
public function getDataState()
{
return $this->dataState;
}
/**
* @param ApiDimensionFilterGroup[]
*/
public function setDimensionFilterGroups($dimensionFilterGroups)
{
$this->dimensionFilterGroups = $dimensionFilterGroups;
}
/**
* @return ApiDimensionFilterGroup[]
*/
public function getDimensionFilterGroups()
{
return $this->dimensionFilterGroups;
}
/**
* @param string[]
*/
public function setDimensions($dimensions)
{
$this->dimensions = $dimensions;
}
/**
* @return string[]
*/
public function getDimensions()
{
return $this->dimensions;
}
/**
* @param string
*/
public function setEndDate($endDate)
{
$this->endDate = $endDate;
}
/**
* @return string
*/
public function getEndDate()
{
return $this->endDate;
}
/**
* @param int
*/
public function setRowLimit($rowLimit)
{
$this->rowLimit = $rowLimit;
}
/**
* @return int
*/
public function getRowLimit()
{
return $this->rowLimit;
}
/**
* @param string
*/
public function setSearchType($searchType)
{
$this->searchType = $searchType;
}
/**
* @return string
*/
public function getSearchType()
{
return $this->searchType;
}
/**
* @param string
*/
public function setStartDate($startDate)
{
$this->startDate = $startDate;
}
/**
* @return string
*/
public function getStartDate()
{
return $this->startDate;
}
/**
* @param int
*/
public function setStartRow($startRow)
{
$this->startRow = $startRow;
}
/**
* @return int
*/
public function getStartRow()
{
return $this->startRow;
}
/**
* @param string
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return string
*/
public function getType()
{
return $this->type;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SearchAnalyticsQueryRequest::class, 'Google_Service_SearchConsole_SearchAnalyticsQueryRequest');
@@ -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\SearchConsole;
class SearchAnalyticsQueryResponse extends \Google\Collection
{
protected $collection_key = 'rows';
/**
* @var string
*/
public $responseAggregationType;
protected $rowsType = ApiDataRow::class;
protected $rowsDataType = 'array';
/**
* @param string
*/
public function setResponseAggregationType($responseAggregationType)
{
$this->responseAggregationType = $responseAggregationType;
}
/**
* @return string
*/
public function getResponseAggregationType()
{
return $this->responseAggregationType;
}
/**
* @param ApiDataRow[]
*/
public function setRows($rows)
{
$this->rows = $rows;
}
/**
* @return ApiDataRow[]
*/
public function getRows()
{
return $this->rows;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SearchAnalyticsQueryResponse::class, 'Google_Service_SearchConsole_SearchAnalyticsQueryResponse');
@@ -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\SearchConsole;
class SitemapsListResponse extends \Google\Collection
{
protected $collection_key = 'sitemap';
protected $sitemapType = WmxSitemap::class;
protected $sitemapDataType = 'array';
/**
* @param WmxSitemap[]
*/
public function setSitemap($sitemap)
{
$this->sitemap = $sitemap;
}
/**
* @return WmxSitemap[]
*/
public function getSitemap()
{
return $this->sitemap;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SitemapsListResponse::class, 'Google_Service_SearchConsole_SitemapsListResponse');
@@ -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\SearchConsole;
class SitesListResponse extends \Google\Collection
{
protected $collection_key = 'siteEntry';
protected $siteEntryType = WmxSite::class;
protected $siteEntryDataType = 'array';
/**
* @param WmxSite[]
*/
public function setSiteEntry($siteEntry)
{
$this->siteEntry = $siteEntry;
}
/**
* @return WmxSite[]
*/
public function getSiteEntry()
{
return $this->siteEntry;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SitesListResponse::class, 'Google_Service_SearchConsole_SitesListResponse');
@@ -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\SearchConsole;
class TestStatus extends \Google\Model
{
/**
* @var string
*/
public $details;
/**
* @var string
*/
public $status;
/**
* @param string
*/
public function setDetails($details)
{
$this->details = $details;
}
/**
* @return string
*/
public function getDetails()
{
return $this->details;
}
/**
* @param string
*/
public function setStatus($status)
{
$this->status = $status;
}
/**
* @return string
*/
public function getStatus()
{
return $this->status;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(TestStatus::class, 'Google_Service_SearchConsole_TestStatus');
@@ -0,0 +1,108 @@
<?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\SearchConsole;
class UrlInspectionResult extends \Google\Model
{
protected $ampResultType = AmpInspectionResult::class;
protected $ampResultDataType = '';
protected $indexStatusResultType = IndexStatusInspectionResult::class;
protected $indexStatusResultDataType = '';
/**
* @var string
*/
public $inspectionResultLink;
protected $mobileUsabilityResultType = MobileUsabilityInspectionResult::class;
protected $mobileUsabilityResultDataType = '';
protected $richResultsResultType = RichResultsInspectionResult::class;
protected $richResultsResultDataType = '';
/**
* @param AmpInspectionResult
*/
public function setAmpResult(AmpInspectionResult $ampResult)
{
$this->ampResult = $ampResult;
}
/**
* @return AmpInspectionResult
*/
public function getAmpResult()
{
return $this->ampResult;
}
/**
* @param IndexStatusInspectionResult
*/
public function setIndexStatusResult(IndexStatusInspectionResult $indexStatusResult)
{
$this->indexStatusResult = $indexStatusResult;
}
/**
* @return IndexStatusInspectionResult
*/
public function getIndexStatusResult()
{
return $this->indexStatusResult;
}
/**
* @param string
*/
public function setInspectionResultLink($inspectionResultLink)
{
$this->inspectionResultLink = $inspectionResultLink;
}
/**
* @return string
*/
public function getInspectionResultLink()
{
return $this->inspectionResultLink;
}
/**
* @param MobileUsabilityInspectionResult
*/
public function setMobileUsabilityResult(MobileUsabilityInspectionResult $mobileUsabilityResult)
{
$this->mobileUsabilityResult = $mobileUsabilityResult;
}
/**
* @return MobileUsabilityInspectionResult
*/
public function getMobileUsabilityResult()
{
return $this->mobileUsabilityResult;
}
/**
* @param RichResultsInspectionResult
*/
public function setRichResultsResult(RichResultsInspectionResult $richResultsResult)
{
$this->richResultsResult = $richResultsResult;
}
/**
* @return RichResultsInspectionResult
*/
public function getRichResultsResult()
{
return $this->richResultsResult;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(UrlInspectionResult::class, 'Google_Service_SearchConsole_UrlInspectionResult');
@@ -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\SearchConsole;
class WmxSite extends \Google\Model
{
/**
* @var string
*/
public $permissionLevel;
/**
* @var string
*/
public $siteUrl;
/**
* @param string
*/
public function setPermissionLevel($permissionLevel)
{
$this->permissionLevel = $permissionLevel;
}
/**
* @return string
*/
public function getPermissionLevel()
{
return $this->permissionLevel;
}
/**
* @param string
*/
public function setSiteUrl($siteUrl)
{
$this->siteUrl = $siteUrl;
}
/**
* @return string
*/
public function getSiteUrl()
{
return $this->siteUrl;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(WmxSite::class, 'Google_Service_SearchConsole_WmxSite');
@@ -0,0 +1,187 @@
<?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\SearchConsole;
class WmxSitemap extends \Google\Collection
{
protected $collection_key = 'contents';
protected $contentsType = WmxSitemapContent::class;
protected $contentsDataType = 'array';
/**
* @var string
*/
public $errors;
/**
* @var bool
*/
public $isPending;
/**
* @var bool
*/
public $isSitemapsIndex;
/**
* @var string
*/
public $lastDownloaded;
/**
* @var string
*/
public $lastSubmitted;
/**
* @var string
*/
public $path;
/**
* @var string
*/
public $type;
/**
* @var string
*/
public $warnings;
/**
* @param WmxSitemapContent[]
*/
public function setContents($contents)
{
$this->contents = $contents;
}
/**
* @return WmxSitemapContent[]
*/
public function getContents()
{
return $this->contents;
}
/**
* @param string
*/
public function setErrors($errors)
{
$this->errors = $errors;
}
/**
* @return string
*/
public function getErrors()
{
return $this->errors;
}
/**
* @param bool
*/
public function setIsPending($isPending)
{
$this->isPending = $isPending;
}
/**
* @return bool
*/
public function getIsPending()
{
return $this->isPending;
}
/**
* @param bool
*/
public function setIsSitemapsIndex($isSitemapsIndex)
{
$this->isSitemapsIndex = $isSitemapsIndex;
}
/**
* @return bool
*/
public function getIsSitemapsIndex()
{
return $this->isSitemapsIndex;
}
/**
* @param string
*/
public function setLastDownloaded($lastDownloaded)
{
$this->lastDownloaded = $lastDownloaded;
}
/**
* @return string
*/
public function getLastDownloaded()
{
return $this->lastDownloaded;
}
/**
* @param string
*/
public function setLastSubmitted($lastSubmitted)
{
$this->lastSubmitted = $lastSubmitted;
}
/**
* @return string
*/
public function getLastSubmitted()
{
return $this->lastSubmitted;
}
/**
* @param string
*/
public function setPath($path)
{
$this->path = $path;
}
/**
* @return string
*/
public function getPath()
{
return $this->path;
}
/**
* @param string
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return string
*/
public function getType()
{
return $this->type;
}
/**
* @param string
*/
public function setWarnings($warnings)
{
$this->warnings = $warnings;
}
/**
* @return string
*/
public function getWarnings()
{
return $this->warnings;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(WmxSitemap::class, 'Google_Service_SearchConsole_WmxSitemap');
@@ -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\SearchConsole;
class WmxSitemapContent extends \Google\Model
{
/**
* @var string
*/
public $indexed;
/**
* @var string
*/
public $submitted;
/**
* @var string
*/
public $type;
/**
* @param string
*/
public function setIndexed($indexed)
{
$this->indexed = $indexed;
}
/**
* @return string
*/
public function getIndexed()
{
return $this->indexed;
}
/**
* @param string
*/
public function setSubmitted($submitted)
{
$this->submitted = $submitted;
}
/**
* @return string
*/
public function getSubmitted()
{
return $this->submitted;
}
/**
* @param string
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return string
*/
public function getType()
{
return $this->type;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(WmxSitemapContent::class, 'Google_Service_SearchConsole_WmxSitemapContent');