PluginProbe
Authorizer / 2.8.2
Authorizer v2.8.2
3.15.3 3.15.2 3.15.1 3.15.0 3.14.3 3.14.4 3.14.2 3.14.1 2.8.1 2.8.2 2.8.3 2.8.4 2.8.5 2.8.6 2.8.7 2.8.8 2.9.0 2.9.1 2.9.10 2.9.11 2.9.12 2.9.13 2.9.2 2.9.3 2.9.6 All 126 releases
authorizer / vendor / google-api-php-client / src / Google / Service / Webmasters.php

Webmasters.php in Authorizer 2.8.2, at vendor/google-api-php-client/src/Google/Service/Webmasters.php

1,200 lines 33.1 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /*
3 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
4 * use this file except in compliance with the License. You may obtain a copy of
5 * the License at
6 *
7 * http://www.apache.org/licenses/LICENSE-2.0
8 *
9 * Unless required by applicable law or agreed to in writing, software
10 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
11 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
12 * License for the specific language governing permissions and limitations under
13 * the License.
14 */
15
16 /**
17 * Service definition for Webmasters (v3).
18 *
19 * <p>
20 * Lets you view Google Search Console data for your verified sites.</p>
21 *
22 * <p>
23 * For more information about this service, see the API
24 * <a href="https://developers.google.com/webmaster-tools/" target="_blank">Documentation</a>
25 * </p>
26 *
27 * @author Google, Inc.
28 */
29 class Google_Service_Webmasters extends Google_Service
30 {
31 /** View and manage Search Console data for your verified sites. */
32 const WEBMASTERS =
33 "https://www.googleapis.com/auth/webmasters";
34 /** View Search Console data for your verified sites. */
35 const WEBMASTERS_READONLY =
36 "https://www.googleapis.com/auth/webmasters.readonly";
37
38 public $searchanalytics;
39 public $sitemaps;
40 public $sites;
41 public $urlcrawlerrorscounts;
42 public $urlcrawlerrorssamples;
43
44
45 /**
46 * Constructs the internal representation of the Webmasters service.
47 *
48 * @param Google_Client $client
49 */
50 public function __construct(Google_Client $client)
51 {
52 parent::__construct($client);
53 $this->rootUrl = 'https://www.googleapis.com/';
54 $this->servicePath = 'webmasters/v3/';
55 $this->version = 'v3';
56 $this->serviceName = 'webmasters';
57
58 $this->searchanalytics = new Google_Service_Webmasters_Searchanalytics_Resource(
59 $this,
60 $this->serviceName,
61 'searchanalytics',
62 array(
63 'methods' => array(
64 'query' => array(
65 'path' => 'sites/{siteUrl}/searchAnalytics/query',
66 'httpMethod' => 'POST',
67 'parameters' => array(
68 'siteUrl' => array(
69 'location' => 'path',
70 'type' => 'string',
71 'required' => true,
72 ),
73 ),
74 ),
75 )
76 )
77 );
78 $this->sitemaps = new Google_Service_Webmasters_Sitemaps_Resource(
79 $this,
80 $this->serviceName,
81 'sitemaps',
82 array(
83 'methods' => array(
84 'delete' => array(
85 'path' => 'sites/{siteUrl}/sitemaps/{feedpath}',
86 'httpMethod' => 'DELETE',
87 'parameters' => array(
88 'siteUrl' => array(
89 'location' => 'path',
90 'type' => 'string',
91 'required' => true,
92 ),
93 'feedpath' => array(
94 'location' => 'path',
95 'type' => 'string',
96 'required' => true,
97 ),
98 ),
99 ),'get' => array(
100 'path' => 'sites/{siteUrl}/sitemaps/{feedpath}',
101 'httpMethod' => 'GET',
102 'parameters' => array(
103 'siteUrl' => array(
104 'location' => 'path',
105 'type' => 'string',
106 'required' => true,
107 ),
108 'feedpath' => array(
109 'location' => 'path',
110 'type' => 'string',
111 'required' => true,
112 ),
113 ),
114 ),'list' => array(
115 'path' => 'sites/{siteUrl}/sitemaps',
116 'httpMethod' => 'GET',
117 'parameters' => array(
118 'siteUrl' => array(
119 'location' => 'path',
120 'type' => 'string',
121 'required' => true,
122 ),
123 'sitemapIndex' => array(
124 'location' => 'query',
125 'type' => 'string',
126 ),
127 ),
128 ),'submit' => array(
129 'path' => 'sites/{siteUrl}/sitemaps/{feedpath}',
130 'httpMethod' => 'PUT',
131 'parameters' => array(
132 'siteUrl' => array(
133 'location' => 'path',
134 'type' => 'string',
135 'required' => true,
136 ),
137 'feedpath' => array(
138 'location' => 'path',
139 'type' => 'string',
140 'required' => true,
141 ),
142 ),
143 ),
144 )
145 )
146 );
147 $this->sites = new Google_Service_Webmasters_Sites_Resource(
148 $this,
149 $this->serviceName,
150 'sites',
151 array(
152 'methods' => array(
153 'add' => array(
154 'path' => 'sites/{siteUrl}',
155 'httpMethod' => 'PUT',
156 'parameters' => array(
157 'siteUrl' => array(
158 'location' => 'path',
159 'type' => 'string',
160 'required' => true,
161 ),
162 ),
163 ),'delete' => array(
164 'path' => 'sites/{siteUrl}',
165 'httpMethod' => 'DELETE',
166 'parameters' => array(
167 'siteUrl' => array(
168 'location' => 'path',
169 'type' => 'string',
170 'required' => true,
171 ),
172 ),
173 ),'get' => array(
174 'path' => 'sites/{siteUrl}',
175 'httpMethod' => 'GET',
176 'parameters' => array(
177 'siteUrl' => array(
178 'location' => 'path',
179 'type' => 'string',
180 'required' => true,
181 ),
182 ),
183 ),'list' => array(
184 'path' => 'sites',
185 'httpMethod' => 'GET',
186 'parameters' => array(),
187 ),
188 )
189 )
190 );
191 $this->urlcrawlerrorscounts = new Google_Service_Webmasters_Urlcrawlerrorscounts_Resource(
192 $this,
193 $this->serviceName,
194 'urlcrawlerrorscounts',
195 array(
196 'methods' => array(
197 'query' => array(
198 'path' => 'sites/{siteUrl}/urlCrawlErrorsCounts/query',
199 'httpMethod' => 'GET',
200 'parameters' => array(
201 'siteUrl' => array(
202 'location' => 'path',
203 'type' => 'string',
204 'required' => true,
205 ),
206 'category' => array(
207 'location' => 'query',
208 'type' => 'string',
209 ),
210 'latestCountsOnly' => array(
211 'location' => 'query',
212 'type' => 'boolean',
213 ),
214 'platform' => array(
215 'location' => 'query',
216 'type' => 'string',
217 ),
218 ),
219 ),
220 )
221 )
222 );
223 $this->urlcrawlerrorssamples = new Google_Service_Webmasters_Urlcrawlerrorssamples_Resource(
224 $this,
225 $this->serviceName,
226 'urlcrawlerrorssamples',
227 array(
228 'methods' => array(
229 'get' => array(
230 'path' => 'sites/{siteUrl}/urlCrawlErrorsSamples/{url}',
231 'httpMethod' => 'GET',
232 'parameters' => array(
233 'siteUrl' => array(
234 'location' => 'path',
235 'type' => 'string',
236 'required' => true,
237 ),
238 'url' => array(
239 'location' => 'path',
240 'type' => 'string',
241 'required' => true,
242 ),
243 'category' => array(
244 'location' => 'query',
245 'type' => 'string',
246 'required' => true,
247 ),
248 'platform' => array(
249 'location' => 'query',
250 'type' => 'string',
251 'required' => true,
252 ),
253 ),
254 ),'list' => array(
255 'path' => 'sites/{siteUrl}/urlCrawlErrorsSamples',
256 'httpMethod' => 'GET',
257 'parameters' => array(
258 'siteUrl' => array(
259 'location' => 'path',
260 'type' => 'string',
261 'required' => true,
262 ),
263 'category' => array(
264 'location' => 'query',
265 'type' => 'string',
266 'required' => true,
267 ),
268 'platform' => array(
269 'location' => 'query',
270 'type' => 'string',
271 'required' => true,
272 ),
273 ),
274 ),'markAsFixed' => array(
275 'path' => 'sites/{siteUrl}/urlCrawlErrorsSamples/{url}',
276 'httpMethod' => 'DELETE',
277 'parameters' => array(
278 'siteUrl' => array(
279 'location' => 'path',
280 'type' => 'string',
281 'required' => true,
282 ),
283 'url' => array(
284 'location' => 'path',
285 'type' => 'string',
286 'required' => true,
287 ),
288 'category' => array(
289 'location' => 'query',
290 'type' => 'string',
291 'required' => true,
292 ),
293 'platform' => array(
294 'location' => 'query',
295 'type' => 'string',
296 'required' => true,
297 ),
298 ),
299 ),
300 )
301 )
302 );
303 }
304 }
305
306
307 /**
308 * The "searchanalytics" collection of methods.
309 * Typical usage is:
310 * <code>
311 * $webmastersService = new Google_Service_Webmasters(...);
312 * $searchanalytics = $webmastersService->searchanalytics;
313 * </code>
314 */
315 class Google_Service_Webmasters_Searchanalytics_Resource extends Google_Service_Resource
316 {
317
318 /**
319 * Query your data with filters and parameters that you define. Returns zero or
320 * more rows grouped by the row keys that you define. You must define a date
321 * range of one or more days.
322 *
323 * When date is one of the group by values, any days without data are omitted
324 * from the result list. If you need to know which days have data, issue a broad
325 * date range query grouped by date for any metric, and see which day rows are
326 * returned. (searchanalytics.query)
327 *
328 * @param string $siteUrl The site's URL, including protocol. For example:
329 * http://www.example.com/
330 * @param Google_SearchAnalyticsQueryRequest $postBody
331 * @param array $optParams Optional parameters.
332 * @return Google_Service_Webmasters_SearchAnalyticsQueryResponse
333 */
334 public function query($siteUrl, Google_Service_Webmasters_SearchAnalyticsQueryRequest $postBody, $optParams = array())
335 {
336 $params = array('siteUrl' => $siteUrl, 'postBody' => $postBody);
337 $params = array_merge($params, $optParams);
338 return $this->call('query', array($params), "Google_Service_Webmasters_SearchAnalyticsQueryResponse");
339 }
340 }
341
342 /**
343 * The "sitemaps" collection of methods.
344 * Typical usage is:
345 * <code>
346 * $webmastersService = new Google_Service_Webmasters(...);
347 * $sitemaps = $webmastersService->sitemaps;
348 * </code>
349 */
350 class Google_Service_Webmasters_Sitemaps_Resource extends Google_Service_Resource
351 {
352
353 /**
354 * Deletes a sitemap from this site. (sitemaps.delete)
355 *
356 * @param string $siteUrl The site's URL, including protocol. For example:
357 * http://www.example.com/
358 * @param string $feedpath The URL of the actual sitemap. For example:
359 * http://www.example.com/sitemap.xml
360 * @param array $optParams Optional parameters.
361 */
362 public function delete($siteUrl, $feedpath, $optParams = array())
363 {
364 $params = array('siteUrl' => $siteUrl, 'feedpath' => $feedpath);
365 $params = array_merge($params, $optParams);
366 return $this->call('delete', array($params));
367 }
368
369 /**
370 * Retrieves information about a specific sitemap. (sitemaps.get)
371 *
372 * @param string $siteUrl The site's URL, including protocol. For example:
373 * http://www.example.com/
374 * @param string $feedpath The URL of the actual sitemap. For example:
375 * http://www.example.com/sitemap.xml
376 * @param array $optParams Optional parameters.
377 * @return Google_Service_Webmasters_WmxSitemap
378 */
379 public function get($siteUrl, $feedpath, $optParams = array())
380 {
381 $params = array('siteUrl' => $siteUrl, 'feedpath' => $feedpath);
382 $params = array_merge($params, $optParams);
383 return $this->call('get', array($params), "Google_Service_Webmasters_WmxSitemap");
384 }
385
386 /**
387 * Lists the sitemaps-entries submitted for this site, or included in the
388 * sitemap index file (if sitemapIndex is specified in the request).
389 * (sitemaps.listSitemaps)
390 *
391 * @param string $siteUrl The site's URL, including protocol. For example:
392 * http://www.example.com/
393 * @param array $optParams Optional parameters.
394 *
395 * @opt_param string sitemapIndex A URL of a site's sitemap index. For example:
396 * http://www.example.com/sitemapindex.xml
397 * @return Google_Service_Webmasters_SitemapsListResponse
398 */
399 public function listSitemaps($siteUrl, $optParams = array())
400 {
401 $params = array('siteUrl' => $siteUrl);
402 $params = array_merge($params, $optParams);
403 return $this->call('list', array($params), "Google_Service_Webmasters_SitemapsListResponse");
404 }
405
406 /**
407 * Submits a sitemap for a site. (sitemaps.submit)
408 *
409 * @param string $siteUrl The site's URL, including protocol. For example:
410 * http://www.example.com/
411 * @param string $feedpath The URL of the sitemap to add. For example:
412 * http://www.example.com/sitemap.xml
413 * @param array $optParams Optional parameters.
414 */
415 public function submit($siteUrl, $feedpath, $optParams = array())
416 {
417 $params = array('siteUrl' => $siteUrl, 'feedpath' => $feedpath);
418 $params = array_merge($params, $optParams);
419 return $this->call('submit', array($params));
420 }
421 }
422
423 /**
424 * The "sites" collection of methods.
425 * Typical usage is:
426 * <code>
427 * $webmastersService = new Google_Service_Webmasters(...);
428 * $sites = $webmastersService->sites;
429 * </code>
430 */
431 class Google_Service_Webmasters_Sites_Resource extends Google_Service_Resource
432 {
433
434 /**
435 * Adds a site to the set of the user's sites in Search Console. (sites.add)
436 *
437 * @param string $siteUrl The URL of the site to add.
438 * @param array $optParams Optional parameters.
439 */
440 public function add($siteUrl, $optParams = array())
441 {
442 $params = array('siteUrl' => $siteUrl);
443 $params = array_merge($params, $optParams);
444 return $this->call('add', array($params));
445 }
446
447 /**
448 * Removes a site from the set of the user's Search Console sites.
449 * (sites.delete)
450 *
451 * @param string $siteUrl The URI of the property as defined in Search Console.
452 * Examples: http://www.example.com/ or android-app://com.example/
453 * @param array $optParams Optional parameters.
454 */
455 public function delete($siteUrl, $optParams = array())
456 {
457 $params = array('siteUrl' => $siteUrl);
458 $params = array_merge($params, $optParams);
459 return $this->call('delete', array($params));
460 }
461
462 /**
463 * Retrieves information about specific site. (sites.get)
464 *
465 * @param string $siteUrl The URI of the property as defined in Search Console.
466 * Examples: http://www.example.com/ or android-app://com.example/
467 * @param array $optParams Optional parameters.
468 * @return Google_Service_Webmasters_WmxSite
469 */
470 public function get($siteUrl, $optParams = array())
471 {
472 $params = array('siteUrl' => $siteUrl);
473 $params = array_merge($params, $optParams);
474 return $this->call('get', array($params), "Google_Service_Webmasters_WmxSite");
475 }
476
477 /**
478 * Lists the user's Search Console sites. (sites.listSites)
479 *
480 * @param array $optParams Optional parameters.
481 * @return Google_Service_Webmasters_SitesListResponse
482 */
483 public function listSites($optParams = array())
484 {
485 $params = array();
486 $params = array_merge($params, $optParams);
487 return $this->call('list', array($params), "Google_Service_Webmasters_SitesListResponse");
488 }
489 }
490
491 /**
492 * The "urlcrawlerrorscounts" collection of methods.
493 * Typical usage is:
494 * <code>
495 * $webmastersService = new Google_Service_Webmasters(...);
496 * $urlcrawlerrorscounts = $webmastersService->urlcrawlerrorscounts;
497 * </code>
498 */
499 class Google_Service_Webmasters_Urlcrawlerrorscounts_Resource extends Google_Service_Resource
500 {
501
502 /**
503 * Retrieves a time series of the number of URL crawl errors per error category
504 * and platform. (urlcrawlerrorscounts.query)
505 *
506 * @param string $siteUrl The site's URL, including protocol. For example:
507 * http://www.example.com/
508 * @param array $optParams Optional parameters.
509 *
510 * @opt_param string category The crawl error category. For example:
511 * serverError. If not specified, returns results for all categories.
512 * @opt_param bool latestCountsOnly If true, returns only the latest crawl error
513 * counts.
514 * @opt_param string platform The user agent type (platform) that made the
515 * request. For example: web. If not specified, returns results for all
516 * platforms.
517 * @return Google_Service_Webmasters_UrlCrawlErrorsCountsQueryResponse
518 */
519 public function query($siteUrl, $optParams = array())
520 {
521 $params = array('siteUrl' => $siteUrl);
522 $params = array_merge($params, $optParams);
523 return $this->call('query', array($params), "Google_Service_Webmasters_UrlCrawlErrorsCountsQueryResponse");
524 }
525 }
526
527 /**
528 * The "urlcrawlerrorssamples" collection of methods.
529 * Typical usage is:
530 * <code>
531 * $webmastersService = new Google_Service_Webmasters(...);
532 * $urlcrawlerrorssamples = $webmastersService->urlcrawlerrorssamples;
533 * </code>
534 */
535 class Google_Service_Webmasters_Urlcrawlerrorssamples_Resource extends Google_Service_Resource
536 {
537
538 /**
539 * Retrieves details about crawl errors for a site's sample URL.
540 * (urlcrawlerrorssamples.get)
541 *
542 * @param string $siteUrl The site's URL, including protocol. For example:
543 * http://www.example.com/
544 * @param string $url The relative path (without the site) of the sample URL. It
545 * must be one of the URLs returned by list(). For example, for the URL
546 * https://www.example.com/pagename on the site https://www.example.com/, the
547 * url value is pagename
548 * @param string $category The crawl error category. For example:
549 * authPermissions
550 * @param string $platform The user agent type (platform) that made the request.
551 * For example: web
552 * @param array $optParams Optional parameters.
553 * @return Google_Service_Webmasters_UrlCrawlErrorsSample
554 */
555 public function get($siteUrl, $url, $category, $platform, $optParams = array())
556 {
557 $params = array('siteUrl' => $siteUrl, 'url' => $url, 'category' => $category, 'platform' => $platform);
558 $params = array_merge($params, $optParams);
559 return $this->call('get', array($params), "Google_Service_Webmasters_UrlCrawlErrorsSample");
560 }
561
562 /**
563 * Lists a site's sample URLs for the specified crawl error category and
564 * platform. (urlcrawlerrorssamples.listUrlcrawlerrorssamples)
565 *
566 * @param string $siteUrl The site's URL, including protocol. For example:
567 * http://www.example.com/
568 * @param string $category The crawl error category. For example:
569 * authPermissions
570 * @param string $platform The user agent type (platform) that made the request.
571 * For example: web
572 * @param array $optParams Optional parameters.
573 * @return Google_Service_Webmasters_UrlCrawlErrorsSamplesListResponse
574 */
575 public function listUrlcrawlerrorssamples($siteUrl, $category, $platform, $optParams = array())
576 {
577 $params = array('siteUrl' => $siteUrl, 'category' => $category, 'platform' => $platform);
578 $params = array_merge($params, $optParams);
579 return $this->call('list', array($params), "Google_Service_Webmasters_UrlCrawlErrorsSamplesListResponse");
580 }
581
582 /**
583 * Marks the provided site's sample URL as fixed, and removes it from the
584 * samples list. (urlcrawlerrorssamples.markAsFixed)
585 *
586 * @param string $siteUrl The site's URL, including protocol. For example:
587 * http://www.example.com/
588 * @param string $url The relative path (without the site) of the sample URL. It
589 * must be one of the URLs returned by list(). For example, for the URL
590 * https://www.example.com/pagename on the site https://www.example.com/, the
591 * url value is pagename
592 * @param string $category The crawl error category. For example:
593 * authPermissions
594 * @param string $platform The user agent type (platform) that made the request.
595 * For example: web
596 * @param array $optParams Optional parameters.
597 */
598 public function markAsFixed($siteUrl, $url, $category, $platform, $optParams = array())
599 {
600 $params = array('siteUrl' => $siteUrl, 'url' => $url, 'category' => $category, 'platform' => $platform);
601 $params = array_merge($params, $optParams);
602 return $this->call('markAsFixed', array($params));
603 }
604 }
605
606
607
608
609 class Google_Service_Webmasters_ApiDataRow extends Google_Collection
610 {
611 protected $collection_key = 'keys';
612 protected $internal_gapi_mappings = array(
613 );
614 public $clicks;
615 public $ctr;
616 public $impressions;
617 public $keys;
618 public $position;
619
620
621 public function setClicks($clicks)
622 {
623 $this->clicks = $clicks;
624 }
625 public function getClicks()
626 {
627 return $this->clicks;
628 }
629 public function setCtr($ctr)
630 {
631 $this->ctr = $ctr;
632 }
633 public function getCtr()
634 {
635 return $this->ctr;
636 }
637 public function setImpressions($impressions)
638 {
639 $this->impressions = $impressions;
640 }
641 public function getImpressions()
642 {
643 return $this->impressions;
644 }
645 public function setKeys($keys)
646 {
647 $this->keys = $keys;
648 }
649 public function getKeys()
650 {
651 return $this->keys;
652 }
653 public function setPosition($position)
654 {
655 $this->position = $position;
656 }
657 public function getPosition()
658 {
659 return $this->position;
660 }
661 }
662
663 class Google_Service_Webmasters_ApiDimensionFilter extends Google_Model
664 {
665 protected $internal_gapi_mappings = array(
666 );
667 public $dimension;
668 public $expression;
669 public $operator;
670
671
672 public function setDimension($dimension)
673 {
674 $this->dimension = $dimension;
675 }
676 public function getDimension()
677 {
678 return $this->dimension;
679 }
680 public function setExpression($expression)
681 {
682 $this->expression = $expression;
683 }
684 public function getExpression()
685 {
686 return $this->expression;
687 }
688 public function setOperator($operator)
689 {
690 $this->operator = $operator;
691 }
692 public function getOperator()
693 {
694 return $this->operator;
695 }
696 }
697
698 class Google_Service_Webmasters_ApiDimensionFilterGroup extends Google_Collection
699 {
700 protected $collection_key = 'filters';
701 protected $internal_gapi_mappings = array(
702 );
703 protected $filtersType = 'Google_Service_Webmasters_ApiDimensionFilter';
704 protected $filtersDataType = 'array';
705 public $groupType;
706
707
708 public function setFilters($filters)
709 {
710 $this->filters = $filters;
711 }
712 public function getFilters()
713 {
714 return $this->filters;
715 }
716 public function setGroupType($groupType)
717 {
718 $this->groupType = $groupType;
719 }
720 public function getGroupType()
721 {
722 return $this->groupType;
723 }
724 }
725
726 class Google_Service_Webmasters_SearchAnalyticsQueryRequest extends Google_Collection
727 {
728 protected $collection_key = 'dimensions';
729 protected $internal_gapi_mappings = array(
730 );
731 public $aggregationType;
732 protected $dimensionFilterGroupsType = 'Google_Service_Webmasters_ApiDimensionFilterGroup';
733 protected $dimensionFilterGroupsDataType = 'array';
734 public $dimensions;
735 public $endDate;
736 public $rowLimit;
737 public $searchType;
738 public $startDate;
739
740
741 public function setAggregationType($aggregationType)
742 {
743 $this->aggregationType = $aggregationType;
744 }
745 public function getAggregationType()
746 {
747 return $this->aggregationType;
748 }
749 public function setDimensionFilterGroups($dimensionFilterGroups)
750 {
751 $this->dimensionFilterGroups = $dimensionFilterGroups;
752 }
753 public function getDimensionFilterGroups()
754 {
755 return $this->dimensionFilterGroups;
756 }
757 public function setDimensions($dimensions)
758 {
759 $this->dimensions = $dimensions;
760 }
761 public function getDimensions()
762 {
763 return $this->dimensions;
764 }
765 public function setEndDate($endDate)
766 {
767 $this->endDate = $endDate;
768 }
769 public function getEndDate()
770 {
771 return $this->endDate;
772 }
773 public function setRowLimit($rowLimit)
774 {
775 $this->rowLimit = $rowLimit;
776 }
777 public function getRowLimit()
778 {
779 return $this->rowLimit;
780 }
781 public function setSearchType($searchType)
782 {
783 $this->searchType = $searchType;
784 }
785 public function getSearchType()
786 {
787 return $this->searchType;
788 }
789 public function setStartDate($startDate)
790 {
791 $this->startDate = $startDate;
792 }
793 public function getStartDate()
794 {
795 return $this->startDate;
796 }
797 }
798
799 class Google_Service_Webmasters_SearchAnalyticsQueryResponse extends Google_Collection
800 {
801 protected $collection_key = 'rows';
802 protected $internal_gapi_mappings = array(
803 );
804 public $responseAggregationType;
805 protected $rowsType = 'Google_Service_Webmasters_ApiDataRow';
806 protected $rowsDataType = 'array';
807
808
809 public function setResponseAggregationType($responseAggregationType)
810 {
811 $this->responseAggregationType = $responseAggregationType;
812 }
813 public function getResponseAggregationType()
814 {
815 return $this->responseAggregationType;
816 }
817 public function setRows($rows)
818 {
819 $this->rows = $rows;
820 }
821 public function getRows()
822 {
823 return $this->rows;
824 }
825 }
826
827 class Google_Service_Webmasters_SitemapsListResponse extends Google_Collection
828 {
829 protected $collection_key = 'sitemap';
830 protected $internal_gapi_mappings = array(
831 );
832 protected $sitemapType = 'Google_Service_Webmasters_WmxSitemap';
833 protected $sitemapDataType = 'array';
834
835
836 public function setSitemap($sitemap)
837 {
838 $this->sitemap = $sitemap;
839 }
840 public function getSitemap()
841 {
842 return $this->sitemap;
843 }
844 }
845
846 class Google_Service_Webmasters_SitesListResponse extends Google_Collection
847 {
848 protected $collection_key = 'siteEntry';
849 protected $internal_gapi_mappings = array(
850 );
851 protected $siteEntryType = 'Google_Service_Webmasters_WmxSite';
852 protected $siteEntryDataType = 'array';
853
854
855 public function setSiteEntry($siteEntry)
856 {
857 $this->siteEntry = $siteEntry;
858 }
859 public function getSiteEntry()
860 {
861 return $this->siteEntry;
862 }
863 }
864
865 class Google_Service_Webmasters_UrlCrawlErrorCount extends Google_Model
866 {
867 protected $internal_gapi_mappings = array(
868 );
869 public $count;
870 public $timestamp;
871
872
873 public function setCount($count)
874 {
875 $this->count = $count;
876 }
877 public function getCount()
878 {
879 return $this->count;
880 }
881 public function setTimestamp($timestamp)
882 {
883 $this->timestamp = $timestamp;
884 }
885 public function getTimestamp()
886 {
887 return $this->timestamp;
888 }
889 }
890
891 class Google_Service_Webmasters_UrlCrawlErrorCountsPerType extends Google_Collection
892 {
893 protected $collection_key = 'entries';
894 protected $internal_gapi_mappings = array(
895 );
896 public $category;
897 protected $entriesType = 'Google_Service_Webmasters_UrlCrawlErrorCount';
898 protected $entriesDataType = 'array';
899 public $platform;
900
901
902 public function setCategory($category)
903 {
904 $this->category = $category;
905 }
906 public function getCategory()
907 {
908 return $this->category;
909 }
910 public function setEntries($entries)
911 {
912 $this->entries = $entries;
913 }
914 public function getEntries()
915 {
916 return $this->entries;
917 }
918 public function setPlatform($platform)
919 {
920 $this->platform = $platform;
921 }
922 public function getPlatform()
923 {
924 return $this->platform;
925 }
926 }
927
928 class Google_Service_Webmasters_UrlCrawlErrorsCountsQueryResponse extends Google_Collection
929 {
930 protected $collection_key = 'countPerTypes';
931 protected $internal_gapi_mappings = array(
932 );
933 protected $countPerTypesType = 'Google_Service_Webmasters_UrlCrawlErrorCountsPerType';
934 protected $countPerTypesDataType = 'array';
935
936
937 public function setCountPerTypes($countPerTypes)
938 {
939 $this->countPerTypes = $countPerTypes;
940 }
941 public function getCountPerTypes()
942 {
943 return $this->countPerTypes;
944 }
945 }
946
947 class Google_Service_Webmasters_UrlCrawlErrorsSample extends Google_Model
948 {
949 protected $internal_gapi_mappings = array(
950 "firstDetected" => "first_detected",
951 "lastCrawled" => "last_crawled",
952 );
953 public $firstDetected;
954 public $lastCrawled;
955 public $pageUrl;
956 public $responseCode;
957 protected $urlDetailsType = 'Google_Service_Webmasters_UrlSampleDetails';
958 protected $urlDetailsDataType = '';
959
960
961 public function setFirstDetected($firstDetected)
962 {
963 $this->firstDetected = $firstDetected;
964 }
965 public function getFirstDetected()
966 {
967 return $this->firstDetected;
968 }
969 public function setLastCrawled($lastCrawled)
970 {
971 $this->lastCrawled = $lastCrawled;
972 }
973 public function getLastCrawled()
974 {
975 return $this->lastCrawled;
976 }
977 public function setPageUrl($pageUrl)
978 {
979 $this->pageUrl = $pageUrl;
980 }
981 public function getPageUrl()
982 {
983 return $this->pageUrl;
984 }
985 public function setResponseCode($responseCode)
986 {
987 $this->responseCode = $responseCode;
988 }
989 public function getResponseCode()
990 {
991 return $this->responseCode;
992 }
993 public function setUrlDetails(Google_Service_Webmasters_UrlSampleDetails $urlDetails)
994 {
995 $this->urlDetails = $urlDetails;
996 }
997 public function getUrlDetails()
998 {
999 return $this->urlDetails;
1000 }
1001 }
1002
1003 class Google_Service_Webmasters_UrlCrawlErrorsSamplesListResponse extends Google_Collection
1004 {
1005 protected $collection_key = 'urlCrawlErrorSample';
1006 protected $internal_gapi_mappings = array(
1007 );
1008 protected $urlCrawlErrorSampleType = 'Google_Service_Webmasters_UrlCrawlErrorsSample';
1009 protected $urlCrawlErrorSampleDataType = 'array';
1010
1011
1012 public function setUrlCrawlErrorSample($urlCrawlErrorSample)
1013 {
1014 $this->urlCrawlErrorSample = $urlCrawlErrorSample;
1015 }
1016 public function getUrlCrawlErrorSample()
1017 {
1018 return $this->urlCrawlErrorSample;
1019 }
1020 }
1021
1022 class Google_Service_Webmasters_UrlSampleDetails extends Google_Collection
1023 {
1024 protected $collection_key = 'linkedFromUrls';
1025 protected $internal_gapi_mappings = array(
1026 );
1027 public $containingSitemaps;
1028 public $linkedFromUrls;
1029
1030
1031 public function setContainingSitemaps($containingSitemaps)
1032 {
1033 $this->containingSitemaps = $containingSitemaps;
1034 }
1035 public function getContainingSitemaps()
1036 {
1037 return $this->containingSitemaps;
1038 }
1039 public function setLinkedFromUrls($linkedFromUrls)
1040 {
1041 $this->linkedFromUrls = $linkedFromUrls;
1042 }
1043 public function getLinkedFromUrls()
1044 {
1045 return $this->linkedFromUrls;
1046 }
1047 }
1048
1049 class Google_Service_Webmasters_WmxSite extends Google_Model
1050 {
1051 protected $internal_gapi_mappings = array(
1052 );
1053 public $permissionLevel;
1054 public $siteUrl;
1055
1056
1057 public function setPermissionLevel($permissionLevel)
1058 {
1059 $this->permissionLevel = $permissionLevel;
1060 }
1061 public function getPermissionLevel()
1062 {
1063 return $this->permissionLevel;
1064 }
1065 public function setSiteUrl($siteUrl)
1066 {
1067 $this->siteUrl = $siteUrl;
1068 }
1069 public function getSiteUrl()
1070 {
1071 return $this->siteUrl;
1072 }
1073 }
1074
1075 class Google_Service_Webmasters_WmxSitemap extends Google_Collection
1076 {
1077 protected $collection_key = 'contents';
1078 protected $internal_gapi_mappings = array(
1079 );
1080 protected $contentsType = 'Google_Service_Webmasters_WmxSitemapContent';
1081 protected $contentsDataType = 'array';
1082 public $errors;
1083 public $isPending;
1084 public $isSitemapsIndex;
1085 public $lastDownloaded;
1086 public $lastSubmitted;
1087 public $path;
1088 public $type;
1089 public $warnings;
1090
1091
1092 public function setContents($contents)
1093 {
1094 $this->contents = $contents;
1095 }
1096 public function getContents()
1097 {
1098 return $this->contents;
1099 }
1100 public function setErrors($errors)
1101 {
1102 $this->errors = $errors;
1103 }
1104 public function getErrors()
1105 {
1106 return $this->errors;
1107 }
1108 public function setIsPending($isPending)
1109 {
1110 $this->isPending = $isPending;
1111 }
1112 public function getIsPending()
1113 {
1114 return $this->isPending;
1115 }
1116 public function setIsSitemapsIndex($isSitemapsIndex)
1117 {
1118 $this->isSitemapsIndex = $isSitemapsIndex;
1119 }
1120 public function getIsSitemapsIndex()
1121 {
1122 return $this->isSitemapsIndex;
1123 }
1124 public function setLastDownloaded($lastDownloaded)
1125 {
1126 $this->lastDownloaded = $lastDownloaded;
1127 }
1128 public function getLastDownloaded()
1129 {
1130 return $this->lastDownloaded;
1131 }
1132 public function setLastSubmitted($lastSubmitted)
1133 {
1134 $this->lastSubmitted = $lastSubmitted;
1135 }
1136 public function getLastSubmitted()
1137 {
1138 return $this->lastSubmitted;
1139 }
1140 public function setPath($path)
1141 {
1142 $this->path = $path;
1143 }
1144 public function getPath()
1145 {
1146 return $this->path;
1147 }
1148 public function setType($type)
1149 {
1150 $this->type = $type;
1151 }
1152 public function getType()
1153 {
1154 return $this->type;
1155 }
1156 public function setWarnings($warnings)
1157 {
1158 $this->warnings = $warnings;
1159 }
1160 public function getWarnings()
1161 {
1162 return $this->warnings;
1163 }
1164 }
1165
1166 class Google_Service_Webmasters_WmxSitemapContent extends Google_Model
1167 {
1168 protected $internal_gapi_mappings = array(
1169 );
1170 public $indexed;
1171 public $submitted;
1172 public $type;
1173
1174
1175 public function setIndexed($indexed)
1176 {
1177 $this->indexed = $indexed;
1178 }
1179 public function getIndexed()
1180 {
1181 return $this->indexed;
1182 }
1183 public function setSubmitted($submitted)
1184 {
1185 $this->submitted = $submitted;
1186 }
1187 public function getSubmitted()
1188 {
1189 return $this->submitted;
1190 }
1191 public function setType($type)
1192 {
1193 $this->type = $type;
1194 }
1195 public function getType()
1196 {
1197 return $this->type;
1198 }
1199 }
1200