Initial commit

This commit is contained in:
Caribana
2017-05-26 11:41:26 +02:00
commit 61c24500af
6264 changed files with 645934 additions and 0 deletions

View File

@@ -0,0 +1,30 @@
<?php
/*
* Copyright 2016 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.
*/
class Google_Service_SearchConsole_BlockedResource extends Google_Model
{
public $url;
public function setUrl($url)
{
$this->url = $url;
}
public function getUrl()
{
return $this->url;
}
}

View File

@@ -0,0 +1,39 @@
<?php
/*
* Copyright 2016 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.
*/
class Google_Service_SearchConsole_Image extends Google_Model
{
public $data;
public $mimeType;
public function setData($data)
{
$this->data = $data;
}
public function getData()
{
return $this->data;
}
public function setMimeType($mimeType)
{
$this->mimeType = $mimeType;
}
public function getMimeType()
{
return $this->mimeType;
}
}

View File

@@ -0,0 +1,30 @@
<?php
/*
* Copyright 2016 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.
*/
class Google_Service_SearchConsole_MobileFriendlyIssue extends Google_Model
{
public $rule;
public function setRule($rule)
{
$this->rule = $rule;
}
public function getRule()
{
return $this->rule;
}
}

View File

@@ -0,0 +1,28 @@
<?php
/*
* Copyright 2016 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.
*/
/**
* The "urlTestingTools" collection of methods.
* Typical usage is:
* <code>
* $searchconsoleService = new Google_Service_SearchConsole(...);
* $urlTestingTools = $searchconsoleService->urlTestingTools;
* </code>
*/
class Google_Service_SearchConsole_Resource_UrlTestingTools extends Google_Service_Resource
{
}

View File

@@ -0,0 +1,41 @@
<?php
/*
* Copyright 2016 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.
*/
/**
* The "mobileFriendlyTest" collection of methods.
* Typical usage is:
* <code>
* $searchconsoleService = new Google_Service_SearchConsole(...);
* $mobileFriendlyTest = $searchconsoleService->mobileFriendlyTest;
* </code>
*/
class Google_Service_SearchConsole_Resource_UrlTestingToolsMobileFriendlyTest extends Google_Service_Resource
{
/**
* Runs Mobile-Friendly Test for a given URL. (mobileFriendlyTest.run)
*
* @param Google_Service_SearchConsole_RunMobileFriendlyTestRequest $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_SearchConsole_RunMobileFriendlyTestResponse
*/
public function run(Google_Service_SearchConsole_RunMobileFriendlyTestRequest $postBody, $optParams = array())
{
$params = array('postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('run', array($params), "Google_Service_SearchConsole_RunMobileFriendlyTestResponse");
}
}

View File

@@ -0,0 +1,31 @@
<?php
/*
* Copyright 2016 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.
*/
class Google_Service_SearchConsole_ResourceIssue extends Google_Model
{
protected $blockedResourceType = 'Google_Service_SearchConsole_BlockedResource';
protected $blockedResourceDataType = '';
public function setBlockedResource(Google_Service_SearchConsole_BlockedResource $blockedResource)
{
$this->blockedResource = $blockedResource;
}
public function getBlockedResource()
{
return $this->blockedResource;
}
}

View File

@@ -0,0 +1,39 @@
<?php
/*
* Copyright 2016 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.
*/
class Google_Service_SearchConsole_RunMobileFriendlyTestRequest extends Google_Model
{
public $requestScreenshot;
public $url;
public function setRequestScreenshot($requestScreenshot)
{
$this->requestScreenshot = $requestScreenshot;
}
public function getRequestScreenshot()
{
return $this->requestScreenshot;
}
public function setUrl($url)
{
$this->url = $url;
}
public function getUrl()
{
return $this->url;
}
}

View File

@@ -0,0 +1,71 @@
<?php
/*
* Copyright 2016 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.
*/
class Google_Service_SearchConsole_RunMobileFriendlyTestResponse extends Google_Collection
{
protected $collection_key = 'resourceIssues';
public $mobileFriendliness;
protected $mobileFriendlyIssuesType = 'Google_Service_SearchConsole_MobileFriendlyIssue';
protected $mobileFriendlyIssuesDataType = 'array';
protected $resourceIssuesType = 'Google_Service_SearchConsole_ResourceIssue';
protected $resourceIssuesDataType = 'array';
protected $screenshotType = 'Google_Service_SearchConsole_Image';
protected $screenshotDataType = '';
protected $testStatusType = 'Google_Service_SearchConsole_TestStatus';
protected $testStatusDataType = '';
public function setMobileFriendliness($mobileFriendliness)
{
$this->mobileFriendliness = $mobileFriendliness;
}
public function getMobileFriendliness()
{
return $this->mobileFriendliness;
}
public function setMobileFriendlyIssues($mobileFriendlyIssues)
{
$this->mobileFriendlyIssues = $mobileFriendlyIssues;
}
public function getMobileFriendlyIssues()
{
return $this->mobileFriendlyIssues;
}
public function setResourceIssues($resourceIssues)
{
$this->resourceIssues = $resourceIssues;
}
public function getResourceIssues()
{
return $this->resourceIssues;
}
public function setScreenshot(Google_Service_SearchConsole_Image $screenshot)
{
$this->screenshot = $screenshot;
}
public function getScreenshot()
{
return $this->screenshot;
}
public function setTestStatus(Google_Service_SearchConsole_TestStatus $testStatus)
{
$this->testStatus = $testStatus;
}
public function getTestStatus()
{
return $this->testStatus;
}
}

View File

@@ -0,0 +1,39 @@
<?php
/*
* Copyright 2016 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.
*/
class Google_Service_SearchConsole_TestStatus extends Google_Model
{
public $details;
public $status;
public function setDetails($details)
{
$this->details = $details;
}
public function getDetails()
{
return $this->details;
}
public function setStatus($status)
{
$this->status = $status;
}
public function getStatus()
{
return $this->status;
}
}