Mise à jour des librairies

This commit is contained in:
lars
2019-03-10 23:30:23 +01:00
parent 2040b7be39
commit 7df3d72953
3603 changed files with 233169 additions and 107764 deletions

View File

@@ -0,0 +1,111 @@
<?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.
*/
class Google_Service_Pagespeedonline_LighthouseAuditResultV5 extends Google_Model
{
public $description;
public $details;
public $displayValue;
public $errorMessage;
public $explanation;
public $id;
public $score;
public $scoreDisplayMode;
public $title;
public $warnings;
public function setDescription($description)
{
$this->description = $description;
}
public function getDescription()
{
return $this->description;
}
public function setDetails($details)
{
$this->details = $details;
}
public function getDetails()
{
return $this->details;
}
public function setDisplayValue($displayValue)
{
$this->displayValue = $displayValue;
}
public function getDisplayValue()
{
return $this->displayValue;
}
public function setErrorMessage($errorMessage)
{
$this->errorMessage = $errorMessage;
}
public function getErrorMessage()
{
return $this->errorMessage;
}
public function setExplanation($explanation)
{
$this->explanation = $explanation;
}
public function getExplanation()
{
return $this->explanation;
}
public function setId($id)
{
$this->id = $id;
}
public function getId()
{
return $this->id;
}
public function setScore($score)
{
$this->score = $score;
}
public function getScore()
{
return $this->score;
}
public function setScoreDisplayMode($scoreDisplayMode)
{
$this->scoreDisplayMode = $scoreDisplayMode;
}
public function getScoreDisplayMode()
{
return $this->scoreDisplayMode;
}
public function setTitle($title)
{
$this->title = $title;
}
public function getTitle()
{
return $this->title;
}
public function setWarnings($warnings)
{
$this->warnings = $warnings;
}
public function getWarnings()
{
return $this->warnings;
}
}

View File

@@ -0,0 +1,83 @@
<?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.
*/
class Google_Service_Pagespeedonline_LighthouseCategoryV5 extends Google_Collection
{
protected $collection_key = 'auditRefs';
protected $auditRefsType = 'Google_Service_Pagespeedonline_LighthouseCategoryV5AuditRefs';
protected $auditRefsDataType = 'array';
public $description;
public $id;
public $manualDescription;
public $score;
public $title;
/**
* @param Google_Service_Pagespeedonline_LighthouseCategoryV5AuditRefs
*/
public function setAuditRefs($auditRefs)
{
$this->auditRefs = $auditRefs;
}
/**
* @return Google_Service_Pagespeedonline_LighthouseCategoryV5AuditRefs
*/
public function getAuditRefs()
{
return $this->auditRefs;
}
public function setDescription($description)
{
$this->description = $description;
}
public function getDescription()
{
return $this->description;
}
public function setId($id)
{
$this->id = $id;
}
public function getId()
{
return $this->id;
}
public function setManualDescription($manualDescription)
{
$this->manualDescription = $manualDescription;
}
public function getManualDescription()
{
return $this->manualDescription;
}
public function setScore($score)
{
$this->score = $score;
}
public function getScore()
{
return $this->score;
}
public function setTitle($title)
{
$this->title = $title;
}
public function getTitle()
{
return $this->title;
}
}

View File

@@ -15,43 +15,34 @@
* the License.
*/
class Google_Service_Pagespeedonline_PagespeedApiImageV4PageRect extends Google_Model
class Google_Service_Pagespeedonline_LighthouseCategoryV5AuditRefs extends Google_Model
{
public $height;
public $left;
public $top;
public $width;
public $group;
public $id;
public $weight;
public function setHeight($height)
public function setGroup($group)
{
$this->height = $height;
$this->group = $group;
}
public function getHeight()
public function getGroup()
{
return $this->height;
return $this->group;
}
public function setLeft($left)
public function setId($id)
{
$this->left = $left;
$this->id = $id;
}
public function getLeft()
public function getId()
{
return $this->left;
return $this->id;
}
public function setTop($top)
public function setWeight($weight)
{
$this->top = $top;
$this->weight = $weight;
}
public function getTop()
public function getWeight()
{
return $this->top;
}
public function setWidth($width)
{
$this->width = $width;
}
public function getWidth()
{
return $this->width;
return $this->weight;
}
}

View File

@@ -0,0 +1,204 @@
<?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.
*/
class Google_Service_Pagespeedonline_LighthouseResultV5 extends Google_Collection
{
protected $collection_key = 'runWarnings';
protected $auditsType = 'Google_Service_Pagespeedonline_LighthouseAuditResultV5';
protected $auditsDataType = 'map';
protected $categoriesType = 'Google_Service_Pagespeedonline_LighthouseResultV5Categories';
protected $categoriesDataType = '';
protected $categoryGroupsType = 'Google_Service_Pagespeedonline_LighthouseResultV5CategoryGroupsElement';
protected $categoryGroupsDataType = 'map';
protected $configSettingsType = 'Google_Service_Pagespeedonline_LighthouseResultV5ConfigSettings';
protected $configSettingsDataType = '';
protected $environmentType = 'Google_Service_Pagespeedonline_LighthouseResultV5Environment';
protected $environmentDataType = '';
public $fetchTime;
public $finalUrl;
protected $i18nType = 'Google_Service_Pagespeedonline_LighthouseResultV5I18n';
protected $i18nDataType = '';
public $lighthouseVersion;
public $requestedUrl;
public $runWarnings;
protected $runtimeErrorType = 'Google_Service_Pagespeedonline_LighthouseResultV5RuntimeError';
protected $runtimeErrorDataType = '';
protected $timingType = 'Google_Service_Pagespeedonline_LighthouseResultV5Timing';
protected $timingDataType = '';
public $userAgent;
/**
* @param Google_Service_Pagespeedonline_LighthouseAuditResultV5
*/
public function setAudits($audits)
{
$this->audits = $audits;
}
/**
* @return Google_Service_Pagespeedonline_LighthouseAuditResultV5
*/
public function getAudits()
{
return $this->audits;
}
/**
* @param Google_Service_Pagespeedonline_LighthouseResultV5Categories
*/
public function setCategories(Google_Service_Pagespeedonline_LighthouseResultV5Categories $categories)
{
$this->categories = $categories;
}
/**
* @return Google_Service_Pagespeedonline_LighthouseResultV5Categories
*/
public function getCategories()
{
return $this->categories;
}
/**
* @param Google_Service_Pagespeedonline_LighthouseResultV5CategoryGroupsElement
*/
public function setCategoryGroups($categoryGroups)
{
$this->categoryGroups = $categoryGroups;
}
/**
* @return Google_Service_Pagespeedonline_LighthouseResultV5CategoryGroupsElement
*/
public function getCategoryGroups()
{
return $this->categoryGroups;
}
/**
* @param Google_Service_Pagespeedonline_LighthouseResultV5ConfigSettings
*/
public function setConfigSettings(Google_Service_Pagespeedonline_LighthouseResultV5ConfigSettings $configSettings)
{
$this->configSettings = $configSettings;
}
/**
* @return Google_Service_Pagespeedonline_LighthouseResultV5ConfigSettings
*/
public function getConfigSettings()
{
return $this->configSettings;
}
/**
* @param Google_Service_Pagespeedonline_LighthouseResultV5Environment
*/
public function setEnvironment(Google_Service_Pagespeedonline_LighthouseResultV5Environment $environment)
{
$this->environment = $environment;
}
/**
* @return Google_Service_Pagespeedonline_LighthouseResultV5Environment
*/
public function getEnvironment()
{
return $this->environment;
}
public function setFetchTime($fetchTime)
{
$this->fetchTime = $fetchTime;
}
public function getFetchTime()
{
return $this->fetchTime;
}
public function setFinalUrl($finalUrl)
{
$this->finalUrl = $finalUrl;
}
public function getFinalUrl()
{
return $this->finalUrl;
}
/**
* @param Google_Service_Pagespeedonline_LighthouseResultV5I18n
*/
public function setI18n(Google_Service_Pagespeedonline_LighthouseResultV5I18n $i18n)
{
$this->i18n = $i18n;
}
/**
* @return Google_Service_Pagespeedonline_LighthouseResultV5I18n
*/
public function getI18n()
{
return $this->i18n;
}
public function setLighthouseVersion($lighthouseVersion)
{
$this->lighthouseVersion = $lighthouseVersion;
}
public function getLighthouseVersion()
{
return $this->lighthouseVersion;
}
public function setRequestedUrl($requestedUrl)
{
$this->requestedUrl = $requestedUrl;
}
public function getRequestedUrl()
{
return $this->requestedUrl;
}
public function setRunWarnings($runWarnings)
{
$this->runWarnings = $runWarnings;
}
public function getRunWarnings()
{
return $this->runWarnings;
}
/**
* @param Google_Service_Pagespeedonline_LighthouseResultV5RuntimeError
*/
public function setRuntimeError(Google_Service_Pagespeedonline_LighthouseResultV5RuntimeError $runtimeError)
{
$this->runtimeError = $runtimeError;
}
/**
* @return Google_Service_Pagespeedonline_LighthouseResultV5RuntimeError
*/
public function getRuntimeError()
{
return $this->runtimeError;
}
/**
* @param Google_Service_Pagespeedonline_LighthouseResultV5Timing
*/
public function setTiming(Google_Service_Pagespeedonline_LighthouseResultV5Timing $timing)
{
$this->timing = $timing;
}
/**
* @return Google_Service_Pagespeedonline_LighthouseResultV5Timing
*/
public function getTiming()
{
return $this->timing;
}
public function setUserAgent($userAgent)
{
$this->userAgent = $userAgent;
}
public function getUserAgent()
{
return $this->userAgent;
}
}

View File

@@ -0,0 +1,104 @@
<?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.
*/
class Google_Service_Pagespeedonline_LighthouseResultV5Categories extends Google_Model
{
protected $internal_gapi_mappings = array(
"bestPractices" => "best-practices",
);
protected $accessibilityType = 'Google_Service_Pagespeedonline_LighthouseCategoryV5';
protected $accessibilityDataType = '';
protected $bestPracticesType = 'Google_Service_Pagespeedonline_LighthouseCategoryV5';
protected $bestPracticesDataType = '';
protected $performanceType = 'Google_Service_Pagespeedonline_LighthouseCategoryV5';
protected $performanceDataType = '';
protected $pwaType = 'Google_Service_Pagespeedonline_LighthouseCategoryV5';
protected $pwaDataType = '';
protected $seoType = 'Google_Service_Pagespeedonline_LighthouseCategoryV5';
protected $seoDataType = '';
/**
* @param Google_Service_Pagespeedonline_LighthouseCategoryV5
*/
public function setAccessibility(Google_Service_Pagespeedonline_LighthouseCategoryV5 $accessibility)
{
$this->accessibility = $accessibility;
}
/**
* @return Google_Service_Pagespeedonline_LighthouseCategoryV5
*/
public function getAccessibility()
{
return $this->accessibility;
}
/**
* @param Google_Service_Pagespeedonline_LighthouseCategoryV5
*/
public function setBestPractices(Google_Service_Pagespeedonline_LighthouseCategoryV5 $bestPractices)
{
$this->bestPractices = $bestPractices;
}
/**
* @return Google_Service_Pagespeedonline_LighthouseCategoryV5
*/
public function getBestPractices()
{
return $this->bestPractices;
}
/**
* @param Google_Service_Pagespeedonline_LighthouseCategoryV5
*/
public function setPerformance(Google_Service_Pagespeedonline_LighthouseCategoryV5 $performance)
{
$this->performance = $performance;
}
/**
* @return Google_Service_Pagespeedonline_LighthouseCategoryV5
*/
public function getPerformance()
{
return $this->performance;
}
/**
* @param Google_Service_Pagespeedonline_LighthouseCategoryV5
*/
public function setPwa(Google_Service_Pagespeedonline_LighthouseCategoryV5 $pwa)
{
$this->pwa = $pwa;
}
/**
* @return Google_Service_Pagespeedonline_LighthouseCategoryV5
*/
public function getPwa()
{
return $this->pwa;
}
/**
* @param Google_Service_Pagespeedonline_LighthouseCategoryV5
*/
public function setSeo(Google_Service_Pagespeedonline_LighthouseCategoryV5 $seo)
{
$this->seo = $seo;
}
/**
* @return Google_Service_Pagespeedonline_LighthouseCategoryV5
*/
public function getSeo()
{
return $this->seo;
}
}

View File

@@ -0,0 +1,39 @@
<?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.
*/
class Google_Service_Pagespeedonline_LighthouseResultV5CategoryGroupsElement extends Google_Model
{
public $description;
public $title;
public function setDescription($description)
{
$this->description = $description;
}
public function getDescription()
{
return $this->description;
}
public function setTitle($title)
{
$this->title = $title;
}
public function getTitle()
{
return $this->title;
}
}

View File

@@ -15,12 +15,20 @@
* the License.
*/
class Google_Service_Pagespeedonline_PagespeedApiPagespeedResponseV4FormattedResults extends Google_Model
class Google_Service_Pagespeedonline_LighthouseResultV5ConfigSettings extends Google_Model
{
public $emulatedFormFactor;
public $locale;
protected $ruleResultsType = 'Google_Service_Pagespeedonline_PagespeedApiPagespeedResponseV4FormattedResultsRuleResultsElement';
protected $ruleResultsDataType = 'map';
public $onlyCategories;
public function setEmulatedFormFactor($emulatedFormFactor)
{
$this->emulatedFormFactor = $emulatedFormFactor;
}
public function getEmulatedFormFactor()
{
return $this->emulatedFormFactor;
}
public function setLocale($locale)
{
$this->locale = $locale;
@@ -29,18 +37,12 @@ class Google_Service_Pagespeedonline_PagespeedApiPagespeedResponseV4FormattedRes
{
return $this->locale;
}
/**
* @param Google_Service_Pagespeedonline_PagespeedApiPagespeedResponseV4FormattedResultsRuleResultsElement
*/
public function setRuleResults($ruleResults)
public function setOnlyCategories($onlyCategories)
{
$this->ruleResults = $ruleResults;
$this->onlyCategories = $onlyCategories;
}
/**
* @return Google_Service_Pagespeedonline_PagespeedApiPagespeedResponseV4FormattedResultsRuleResultsElement
*/
public function getRuleResults()
public function getOnlyCategories()
{
return $this->ruleResults;
return $this->onlyCategories;
}
}

View File

@@ -0,0 +1,48 @@
<?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.
*/
class Google_Service_Pagespeedonline_LighthouseResultV5Environment extends Google_Model
{
public $benchmarkIndex;
public $hostUserAgent;
public $networkUserAgent;
public function setBenchmarkIndex($benchmarkIndex)
{
$this->benchmarkIndex = $benchmarkIndex;
}
public function getBenchmarkIndex()
{
return $this->benchmarkIndex;
}
public function setHostUserAgent($hostUserAgent)
{
$this->hostUserAgent = $hostUserAgent;
}
public function getHostUserAgent()
{
return $this->hostUserAgent;
}
public function setNetworkUserAgent($networkUserAgent)
{
$this->networkUserAgent = $networkUserAgent;
}
public function getNetworkUserAgent()
{
return $this->networkUserAgent;
}
}

View File

@@ -0,0 +1,37 @@
<?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.
*/
class Google_Service_Pagespeedonline_LighthouseResultV5I18n extends Google_Model
{
protected $rendererFormattedStringsType = 'Google_Service_Pagespeedonline_LighthouseResultV5I18nRendererFormattedStrings';
protected $rendererFormattedStringsDataType = '';
/**
* @param Google_Service_Pagespeedonline_LighthouseResultV5I18nRendererFormattedStrings
*/
public function setRendererFormattedStrings(Google_Service_Pagespeedonline_LighthouseResultV5I18nRendererFormattedStrings $rendererFormattedStrings)
{
$this->rendererFormattedStrings = $rendererFormattedStrings;
}
/**
* @return Google_Service_Pagespeedonline_LighthouseResultV5I18nRendererFormattedStrings
*/
public function getRendererFormattedStrings()
{
return $this->rendererFormattedStrings;
}
}

View File

@@ -0,0 +1,165 @@
<?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.
*/
class Google_Service_Pagespeedonline_LighthouseResultV5I18nRendererFormattedStrings extends Google_Model
{
public $auditGroupExpandTooltip;
public $crcInitialNavigation;
public $crcLongestDurationLabel;
public $errorLabel;
public $errorMissingAuditInfo;
public $labDataTitle;
public $lsPerformanceCategoryDescription;
public $manualAuditsGroupTitle;
public $notApplicableAuditsGroupTitle;
public $opportunityResourceColumnLabel;
public $opportunitySavingsColumnLabel;
public $passedAuditsGroupTitle;
public $scorescaleLabel;
public $toplevelWarningsMessage;
public $varianceDisclaimer;
public $warningHeader;
public function setAuditGroupExpandTooltip($auditGroupExpandTooltip)
{
$this->auditGroupExpandTooltip = $auditGroupExpandTooltip;
}
public function getAuditGroupExpandTooltip()
{
return $this->auditGroupExpandTooltip;
}
public function setCrcInitialNavigation($crcInitialNavigation)
{
$this->crcInitialNavigation = $crcInitialNavigation;
}
public function getCrcInitialNavigation()
{
return $this->crcInitialNavigation;
}
public function setCrcLongestDurationLabel($crcLongestDurationLabel)
{
$this->crcLongestDurationLabel = $crcLongestDurationLabel;
}
public function getCrcLongestDurationLabel()
{
return $this->crcLongestDurationLabel;
}
public function setErrorLabel($errorLabel)
{
$this->errorLabel = $errorLabel;
}
public function getErrorLabel()
{
return $this->errorLabel;
}
public function setErrorMissingAuditInfo($errorMissingAuditInfo)
{
$this->errorMissingAuditInfo = $errorMissingAuditInfo;
}
public function getErrorMissingAuditInfo()
{
return $this->errorMissingAuditInfo;
}
public function setLabDataTitle($labDataTitle)
{
$this->labDataTitle = $labDataTitle;
}
public function getLabDataTitle()
{
return $this->labDataTitle;
}
public function setLsPerformanceCategoryDescription($lsPerformanceCategoryDescription)
{
$this->lsPerformanceCategoryDescription = $lsPerformanceCategoryDescription;
}
public function getLsPerformanceCategoryDescription()
{
return $this->lsPerformanceCategoryDescription;
}
public function setManualAuditsGroupTitle($manualAuditsGroupTitle)
{
$this->manualAuditsGroupTitle = $manualAuditsGroupTitle;
}
public function getManualAuditsGroupTitle()
{
return $this->manualAuditsGroupTitle;
}
public function setNotApplicableAuditsGroupTitle($notApplicableAuditsGroupTitle)
{
$this->notApplicableAuditsGroupTitle = $notApplicableAuditsGroupTitle;
}
public function getNotApplicableAuditsGroupTitle()
{
return $this->notApplicableAuditsGroupTitle;
}
public function setOpportunityResourceColumnLabel($opportunityResourceColumnLabel)
{
$this->opportunityResourceColumnLabel = $opportunityResourceColumnLabel;
}
public function getOpportunityResourceColumnLabel()
{
return $this->opportunityResourceColumnLabel;
}
public function setOpportunitySavingsColumnLabel($opportunitySavingsColumnLabel)
{
$this->opportunitySavingsColumnLabel = $opportunitySavingsColumnLabel;
}
public function getOpportunitySavingsColumnLabel()
{
return $this->opportunitySavingsColumnLabel;
}
public function setPassedAuditsGroupTitle($passedAuditsGroupTitle)
{
$this->passedAuditsGroupTitle = $passedAuditsGroupTitle;
}
public function getPassedAuditsGroupTitle()
{
return $this->passedAuditsGroupTitle;
}
public function setScorescaleLabel($scorescaleLabel)
{
$this->scorescaleLabel = $scorescaleLabel;
}
public function getScorescaleLabel()
{
return $this->scorescaleLabel;
}
public function setToplevelWarningsMessage($toplevelWarningsMessage)
{
$this->toplevelWarningsMessage = $toplevelWarningsMessage;
}
public function getToplevelWarningsMessage()
{
return $this->toplevelWarningsMessage;
}
public function setVarianceDisclaimer($varianceDisclaimer)
{
$this->varianceDisclaimer = $varianceDisclaimer;
}
public function getVarianceDisclaimer()
{
return $this->varianceDisclaimer;
}
public function setWarningHeader($warningHeader)
{
$this->warningHeader = $warningHeader;
}
public function getWarningHeader()
{
return $this->warningHeader;
}
}

View File

@@ -15,25 +15,25 @@
* the License.
*/
class Google_Service_Pagespeedonline_PagespeedApiPagespeedResponseV4RuleGroupsElement extends Google_Model
class Google_Service_Pagespeedonline_LighthouseResultV5RuntimeError extends Google_Model
{
public $pass;
public $score;
public $code;
public $message;
public function setPass($pass)
public function setCode($code)
{
$this->pass = $pass;
$this->code = $code;
}
public function getPass()
public function getCode()
{
return $this->pass;
return $this->code;
}
public function setScore($score)
public function setMessage($message)
{
$this->score = $score;
$this->message = $message;
}
public function getScore()
public function getMessage()
{
return $this->score;
return $this->message;
}
}

View File

@@ -0,0 +1,30 @@
<?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.
*/
class Google_Service_Pagespeedonline_LighthouseResultV5Timing extends Google_Model
{
public $total;
public function setTotal($total)
{
$this->total = $total;
}
public function getTotal()
{
return $this->total;
}
}

View File

@@ -1,47 +0,0 @@
<?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.
*/
class Google_Service_Pagespeedonline_PagespeedApiFormatStringV4 extends Google_Collection
{
protected $collection_key = 'args';
protected $argsType = 'Google_Service_Pagespeedonline_PagespeedApiFormatStringV4Args';
protected $argsDataType = 'array';
public $format;
/**
* @param Google_Service_Pagespeedonline_PagespeedApiFormatStringV4Args
*/
public function setArgs($args)
{
$this->args = $args;
}
/**
* @return Google_Service_Pagespeedonline_PagespeedApiFormatStringV4Args
*/
public function getArgs()
{
return $this->args;
}
public function setFormat($format)
{
$this->format = $format;
}
public function getFormat()
{
return $this->format;
}
}

View File

@@ -1,84 +0,0 @@
<?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.
*/
class Google_Service_Pagespeedonline_PagespeedApiFormatStringV4Args extends Google_Collection
{
protected $collection_key = 'secondary_rects';
protected $internal_gapi_mappings = array(
"secondaryRects" => "secondary_rects",
);
public $key;
protected $rectsType = 'Google_Service_Pagespeedonline_PagespeedApiFormatStringV4ArgsRects';
protected $rectsDataType = 'array';
protected $secondaryRectsType = 'Google_Service_Pagespeedonline_PagespeedApiFormatStringV4ArgsSecondaryRects';
protected $secondaryRectsDataType = 'array';
public $type;
public $value;
public function setKey($key)
{
$this->key = $key;
}
public function getKey()
{
return $this->key;
}
/**
* @param Google_Service_Pagespeedonline_PagespeedApiFormatStringV4ArgsRects
*/
public function setRects($rects)
{
$this->rects = $rects;
}
/**
* @return Google_Service_Pagespeedonline_PagespeedApiFormatStringV4ArgsRects
*/
public function getRects()
{
return $this->rects;
}
/**
* @param Google_Service_Pagespeedonline_PagespeedApiFormatStringV4ArgsSecondaryRects
*/
public function setSecondaryRects($secondaryRects)
{
$this->secondaryRects = $secondaryRects;
}
/**
* @return Google_Service_Pagespeedonline_PagespeedApiFormatStringV4ArgsSecondaryRects
*/
public function getSecondaryRects()
{
return $this->secondaryRects;
}
public function setType($type)
{
$this->type = $type;
}
public function getType()
{
return $this->type;
}
public function setValue($value)
{
$this->value = $value;
}
public function getValue()
{
return $this->value;
}
}

View File

@@ -1,57 +0,0 @@
<?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.
*/
class Google_Service_Pagespeedonline_PagespeedApiFormatStringV4ArgsRects extends Google_Model
{
public $height;
public $left;
public $top;
public $width;
public function setHeight($height)
{
$this->height = $height;
}
public function getHeight()
{
return $this->height;
}
public function setLeft($left)
{
$this->left = $left;
}
public function getLeft()
{
return $this->left;
}
public function setTop($top)
{
$this->top = $top;
}
public function getTop()
{
return $this->top;
}
public function setWidth($width)
{
$this->width = $width;
}
public function getWidth()
{
return $this->width;
}
}

View File

@@ -1,57 +0,0 @@
<?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.
*/
class Google_Service_Pagespeedonline_PagespeedApiFormatStringV4ArgsSecondaryRects extends Google_Model
{
public $height;
public $left;
public $top;
public $width;
public function setHeight($height)
{
$this->height = $height;
}
public function getHeight()
{
return $this->height;
}
public function setLeft($left)
{
$this->left = $left;
}
public function getLeft()
{
return $this->left;
}
public function setTop($top)
{
$this->top = $top;
}
public function getTop()
{
return $this->top;
}
public function setWidth($width)
{
$this->width = $width;
}
public function getWidth()
{
return $this->width;
}
}

View File

@@ -1,86 +0,0 @@
<?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.
*/
class Google_Service_Pagespeedonline_PagespeedApiImageV4 extends Google_Model
{
protected $internal_gapi_mappings = array(
"mimeType" => "mime_type",
"pageRect" => "page_rect",
);
public $data;
public $height;
public $key;
public $mimeType;
protected $pageRectType = 'Google_Service_Pagespeedonline_PagespeedApiImageV4PageRect';
protected $pageRectDataType = '';
public $width;
public function setData($data)
{
$this->data = $data;
}
public function getData()
{
return $this->data;
}
public function setHeight($height)
{
$this->height = $height;
}
public function getHeight()
{
return $this->height;
}
public function setKey($key)
{
$this->key = $key;
}
public function getKey()
{
return $this->key;
}
public function setMimeType($mimeType)
{
$this->mimeType = $mimeType;
}
public function getMimeType()
{
return $this->mimeType;
}
/**
* @param Google_Service_Pagespeedonline_PagespeedApiImageV4PageRect
*/
public function setPageRect(Google_Service_Pagespeedonline_PagespeedApiImageV4PageRect $pageRect)
{
$this->pageRect = $pageRect;
}
/**
* @return Google_Service_Pagespeedonline_PagespeedApiImageV4PageRect
*/
public function getPageRect()
{
return $this->pageRect;
}
public function setWidth($width)
{
$this->width = $width;
}
public function getWidth()
{
return $this->width;
}
}

View File

@@ -15,7 +15,7 @@
* the License.
*/
class Google_Service_Pagespeedonline_PagespeedApiPagespeedResponseV4LoadingExperience extends Google_Model
class Google_Service_Pagespeedonline_PagespeedApiLoadingExperienceV5 extends Google_Model
{
protected $internal_gapi_mappings = array(
"initialUrl" => "initial_url",
@@ -23,7 +23,7 @@ class Google_Service_Pagespeedonline_PagespeedApiPagespeedResponseV4LoadingExper
);
public $id;
public $initialUrl;
protected $metricsType = 'Google_Service_Pagespeedonline_PagespeedApiPagespeedResponseV4LoadingExperienceMetricsElement';
protected $metricsType = 'Google_Service_Pagespeedonline_PagespeedApiLoadingExperienceV5MetricsElement';
protected $metricsDataType = 'map';
public $overallCategory;
@@ -44,14 +44,14 @@ class Google_Service_Pagespeedonline_PagespeedApiPagespeedResponseV4LoadingExper
return $this->initialUrl;
}
/**
* @param Google_Service_Pagespeedonline_PagespeedApiPagespeedResponseV4LoadingExperienceMetricsElement
* @param Google_Service_Pagespeedonline_PagespeedApiLoadingExperienceV5MetricsElement
*/
public function setMetrics($metrics)
{
$this->metrics = $metrics;
}
/**
* @return Google_Service_Pagespeedonline_PagespeedApiPagespeedResponseV4LoadingExperienceMetricsElement
* @return Google_Service_Pagespeedonline_PagespeedApiLoadingExperienceV5MetricsElement
*/
public function getMetrics()
{

View File

@@ -15,13 +15,13 @@
* the License.
*/
class Google_Service_Pagespeedonline_PagespeedApiPagespeedResponseV4LoadingExperienceMetricsElement extends Google_Collection
class Google_Service_Pagespeedonline_PagespeedApiLoadingExperienceV5MetricsElement extends Google_Collection
{
protected $collection_key = 'distributions';
public $category;
protected $distributionsType = 'Google_Service_Pagespeedonline_PagespeedApiPagespeedResponseV4LoadingExperienceMetricsElementDistributions';
protected $distributionsType = 'Google_Service_Pagespeedonline_PagespeedApiLoadingExperienceV5MetricsElementDistributions';
protected $distributionsDataType = 'array';
public $median;
public $percentile;
public function setCategory($category)
{
@@ -32,25 +32,25 @@ class Google_Service_Pagespeedonline_PagespeedApiPagespeedResponseV4LoadingExper
return $this->category;
}
/**
* @param Google_Service_Pagespeedonline_PagespeedApiPagespeedResponseV4LoadingExperienceMetricsElementDistributions
* @param Google_Service_Pagespeedonline_PagespeedApiLoadingExperienceV5MetricsElementDistributions
*/
public function setDistributions($distributions)
{
$this->distributions = $distributions;
}
/**
* @return Google_Service_Pagespeedonline_PagespeedApiPagespeedResponseV4LoadingExperienceMetricsElementDistributions
* @return Google_Service_Pagespeedonline_PagespeedApiLoadingExperienceV5MetricsElementDistributions
*/
public function getDistributions()
{
return $this->distributions;
}
public function setMedian($median)
public function setPercentile($percentile)
{
$this->median = $median;
$this->percentile = $percentile;
}
public function getMedian()
public function getPercentile()
{
return $this->median;
return $this->percentile;
}
}

View File

@@ -15,7 +15,7 @@
* the License.
*/
class Google_Service_Pagespeedonline_PagespeedApiPagespeedResponseV4LoadingExperienceMetricsElementDistributions extends Google_Model
class Google_Service_Pagespeedonline_PagespeedApiLoadingExperienceV5MetricsElementDistributions extends Google_Model
{
public $max;
public $min;

View File

@@ -1,188 +0,0 @@
<?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.
*/
class Google_Service_Pagespeedonline_PagespeedApiPagespeedResponseV4 extends Google_Collection
{
protected $collection_key = 'snapshots';
public $captchaResult;
protected $formattedResultsType = 'Google_Service_Pagespeedonline_PagespeedApiPagespeedResponseV4FormattedResults';
protected $formattedResultsDataType = '';
public $id;
public $invalidRules;
public $kind;
protected $loadingExperienceType = 'Google_Service_Pagespeedonline_PagespeedApiPagespeedResponseV4LoadingExperience';
protected $loadingExperienceDataType = '';
protected $pageStatsType = 'Google_Service_Pagespeedonline_PagespeedApiPagespeedResponseV4PageStats';
protected $pageStatsDataType = '';
public $responseCode;
protected $ruleGroupsType = 'Google_Service_Pagespeedonline_PagespeedApiPagespeedResponseV4RuleGroupsElement';
protected $ruleGroupsDataType = 'map';
protected $screenshotType = 'Google_Service_Pagespeedonline_PagespeedApiImageV4';
protected $screenshotDataType = '';
protected $snapshotsType = 'Google_Service_Pagespeedonline_PagespeedApiImageV4';
protected $snapshotsDataType = 'array';
public $title;
protected $versionType = 'Google_Service_Pagespeedonline_PagespeedApiPagespeedResponseV4Version';
protected $versionDataType = '';
public function setCaptchaResult($captchaResult)
{
$this->captchaResult = $captchaResult;
}
public function getCaptchaResult()
{
return $this->captchaResult;
}
/**
* @param Google_Service_Pagespeedonline_PagespeedApiPagespeedResponseV4FormattedResults
*/
public function setFormattedResults(Google_Service_Pagespeedonline_PagespeedApiPagespeedResponseV4FormattedResults $formattedResults)
{
$this->formattedResults = $formattedResults;
}
/**
* @return Google_Service_Pagespeedonline_PagespeedApiPagespeedResponseV4FormattedResults
*/
public function getFormattedResults()
{
return $this->formattedResults;
}
public function setId($id)
{
$this->id = $id;
}
public function getId()
{
return $this->id;
}
public function setInvalidRules($invalidRules)
{
$this->invalidRules = $invalidRules;
}
public function getInvalidRules()
{
return $this->invalidRules;
}
public function setKind($kind)
{
$this->kind = $kind;
}
public function getKind()
{
return $this->kind;
}
/**
* @param Google_Service_Pagespeedonline_PagespeedApiPagespeedResponseV4LoadingExperience
*/
public function setLoadingExperience(Google_Service_Pagespeedonline_PagespeedApiPagespeedResponseV4LoadingExperience $loadingExperience)
{
$this->loadingExperience = $loadingExperience;
}
/**
* @return Google_Service_Pagespeedonline_PagespeedApiPagespeedResponseV4LoadingExperience
*/
public function getLoadingExperience()
{
return $this->loadingExperience;
}
/**
* @param Google_Service_Pagespeedonline_PagespeedApiPagespeedResponseV4PageStats
*/
public function setPageStats(Google_Service_Pagespeedonline_PagespeedApiPagespeedResponseV4PageStats $pageStats)
{
$this->pageStats = $pageStats;
}
/**
* @return Google_Service_Pagespeedonline_PagespeedApiPagespeedResponseV4PageStats
*/
public function getPageStats()
{
return $this->pageStats;
}
public function setResponseCode($responseCode)
{
$this->responseCode = $responseCode;
}
public function getResponseCode()
{
return $this->responseCode;
}
/**
* @param Google_Service_Pagespeedonline_PagespeedApiPagespeedResponseV4RuleGroupsElement
*/
public function setRuleGroups($ruleGroups)
{
$this->ruleGroups = $ruleGroups;
}
/**
* @return Google_Service_Pagespeedonline_PagespeedApiPagespeedResponseV4RuleGroupsElement
*/
public function getRuleGroups()
{
return $this->ruleGroups;
}
/**
* @param Google_Service_Pagespeedonline_PagespeedApiImageV4
*/
public function setScreenshot(Google_Service_Pagespeedonline_PagespeedApiImageV4 $screenshot)
{
$this->screenshot = $screenshot;
}
/**
* @return Google_Service_Pagespeedonline_PagespeedApiImageV4
*/
public function getScreenshot()
{
return $this->screenshot;
}
/**
* @param Google_Service_Pagespeedonline_PagespeedApiImageV4
*/
public function setSnapshots($snapshots)
{
$this->snapshots = $snapshots;
}
/**
* @return Google_Service_Pagespeedonline_PagespeedApiImageV4
*/
public function getSnapshots()
{
return $this->snapshots;
}
public function setTitle($title)
{
$this->title = $title;
}
public function getTitle()
{
return $this->title;
}
/**
* @param Google_Service_Pagespeedonline_PagespeedApiPagespeedResponseV4Version
*/
public function setVersion(Google_Service_Pagespeedonline_PagespeedApiPagespeedResponseV4Version $version)
{
$this->version = $version;
}
/**
* @return Google_Service_Pagespeedonline_PagespeedApiPagespeedResponseV4Version
*/
public function getVersion()
{
return $this->version;
}
}

View File

@@ -1,90 +0,0 @@
<?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.
*/
class Google_Service_Pagespeedonline_PagespeedApiPagespeedResponseV4FormattedResultsRuleResultsElement extends Google_Collection
{
protected $collection_key = 'urlBlocks';
public $beta;
public $groups;
public $localizedRuleName;
public $ruleImpact;
protected $summaryType = 'Google_Service_Pagespeedonline_PagespeedApiFormatStringV4';
protected $summaryDataType = '';
protected $urlBlocksType = 'Google_Service_Pagespeedonline_PagespeedApiPagespeedResponseV4FormattedResultsRuleResultsElementUrlBlocks';
protected $urlBlocksDataType = 'array';
public function setBeta($beta)
{
$this->beta = $beta;
}
public function getBeta()
{
return $this->beta;
}
public function setGroups($groups)
{
$this->groups = $groups;
}
public function getGroups()
{
return $this->groups;
}
public function setLocalizedRuleName($localizedRuleName)
{
$this->localizedRuleName = $localizedRuleName;
}
public function getLocalizedRuleName()
{
return $this->localizedRuleName;
}
public function setRuleImpact($ruleImpact)
{
$this->ruleImpact = $ruleImpact;
}
public function getRuleImpact()
{
return $this->ruleImpact;
}
/**
* @param Google_Service_Pagespeedonline_PagespeedApiFormatStringV4
*/
public function setSummary(Google_Service_Pagespeedonline_PagespeedApiFormatStringV4 $summary)
{
$this->summary = $summary;
}
/**
* @return Google_Service_Pagespeedonline_PagespeedApiFormatStringV4
*/
public function getSummary()
{
return $this->summary;
}
/**
* @param Google_Service_Pagespeedonline_PagespeedApiPagespeedResponseV4FormattedResultsRuleResultsElementUrlBlocks
*/
public function setUrlBlocks($urlBlocks)
{
$this->urlBlocks = $urlBlocks;
}
/**
* @return Google_Service_Pagespeedonline_PagespeedApiPagespeedResponseV4FormattedResultsRuleResultsElementUrlBlocks
*/
public function getUrlBlocks()
{
return $this->urlBlocks;
}
}

View File

@@ -1,54 +0,0 @@
<?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.
*/
class Google_Service_Pagespeedonline_PagespeedApiPagespeedResponseV4FormattedResultsRuleResultsElementUrlBlocks extends Google_Collection
{
protected $collection_key = 'urls';
protected $headerType = 'Google_Service_Pagespeedonline_PagespeedApiFormatStringV4';
protected $headerDataType = '';
protected $urlsType = 'Google_Service_Pagespeedonline_PagespeedApiPagespeedResponseV4FormattedResultsRuleResultsElementUrlBlocksUrls';
protected $urlsDataType = 'array';
/**
* @param Google_Service_Pagespeedonline_PagespeedApiFormatStringV4
*/
public function setHeader(Google_Service_Pagespeedonline_PagespeedApiFormatStringV4 $header)
{
$this->header = $header;
}
/**
* @return Google_Service_Pagespeedonline_PagespeedApiFormatStringV4
*/
public function getHeader()
{
return $this->header;
}
/**
* @param Google_Service_Pagespeedonline_PagespeedApiPagespeedResponseV4FormattedResultsRuleResultsElementUrlBlocksUrls
*/
public function setUrls($urls)
{
$this->urls = $urls;
}
/**
* @return Google_Service_Pagespeedonline_PagespeedApiPagespeedResponseV4FormattedResultsRuleResultsElementUrlBlocksUrls
*/
public function getUrls()
{
return $this->urls;
}
}

View File

@@ -1,54 +0,0 @@
<?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.
*/
class Google_Service_Pagespeedonline_PagespeedApiPagespeedResponseV4FormattedResultsRuleResultsElementUrlBlocksUrls extends Google_Collection
{
protected $collection_key = 'details';
protected $detailsType = 'Google_Service_Pagespeedonline_PagespeedApiFormatStringV4';
protected $detailsDataType = 'array';
protected $resultType = 'Google_Service_Pagespeedonline_PagespeedApiFormatStringV4';
protected $resultDataType = '';
/**
* @param Google_Service_Pagespeedonline_PagespeedApiFormatStringV4
*/
public function setDetails($details)
{
$this->details = $details;
}
/**
* @return Google_Service_Pagespeedonline_PagespeedApiFormatStringV4
*/
public function getDetails()
{
return $this->details;
}
/**
* @param Google_Service_Pagespeedonline_PagespeedApiFormatStringV4
*/
public function setResult(Google_Service_Pagespeedonline_PagespeedApiFormatStringV4 $result)
{
$this->result = $result;
}
/**
* @return Google_Service_Pagespeedonline_PagespeedApiFormatStringV4
*/
public function getResult()
{
return $this->result;
}
}

View File

@@ -1,211 +0,0 @@
<?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.
*/
class Google_Service_Pagespeedonline_PagespeedApiPagespeedResponseV4PageStats extends Google_Collection
{
protected $collection_key = 'transientFetchFailureUrls';
public $cms;
public $cssResponseBytes;
public $flashResponseBytes;
public $htmlResponseBytes;
public $imageResponseBytes;
public $javascriptResponseBytes;
public $numRenderBlockingRoundTrips;
public $numTotalRoundTrips;
public $numberCssResources;
public $numberHosts;
public $numberJsResources;
public $numberResources;
public $numberRobotedResources;
public $numberStaticResources;
public $numberTransientFetchFailureResources;
public $otherResponseBytes;
public $overTheWireResponseBytes;
public $robotedUrls;
public $textResponseBytes;
public $totalRequestBytes;
public $transientFetchFailureUrls;
public function setCms($cms)
{
$this->cms = $cms;
}
public function getCms()
{
return $this->cms;
}
public function setCssResponseBytes($cssResponseBytes)
{
$this->cssResponseBytes = $cssResponseBytes;
}
public function getCssResponseBytes()
{
return $this->cssResponseBytes;
}
public function setFlashResponseBytes($flashResponseBytes)
{
$this->flashResponseBytes = $flashResponseBytes;
}
public function getFlashResponseBytes()
{
return $this->flashResponseBytes;
}
public function setHtmlResponseBytes($htmlResponseBytes)
{
$this->htmlResponseBytes = $htmlResponseBytes;
}
public function getHtmlResponseBytes()
{
return $this->htmlResponseBytes;
}
public function setImageResponseBytes($imageResponseBytes)
{
$this->imageResponseBytes = $imageResponseBytes;
}
public function getImageResponseBytes()
{
return $this->imageResponseBytes;
}
public function setJavascriptResponseBytes($javascriptResponseBytes)
{
$this->javascriptResponseBytes = $javascriptResponseBytes;
}
public function getJavascriptResponseBytes()
{
return $this->javascriptResponseBytes;
}
public function setNumRenderBlockingRoundTrips($numRenderBlockingRoundTrips)
{
$this->numRenderBlockingRoundTrips = $numRenderBlockingRoundTrips;
}
public function getNumRenderBlockingRoundTrips()
{
return $this->numRenderBlockingRoundTrips;
}
public function setNumTotalRoundTrips($numTotalRoundTrips)
{
$this->numTotalRoundTrips = $numTotalRoundTrips;
}
public function getNumTotalRoundTrips()
{
return $this->numTotalRoundTrips;
}
public function setNumberCssResources($numberCssResources)
{
$this->numberCssResources = $numberCssResources;
}
public function getNumberCssResources()
{
return $this->numberCssResources;
}
public function setNumberHosts($numberHosts)
{
$this->numberHosts = $numberHosts;
}
public function getNumberHosts()
{
return $this->numberHosts;
}
public function setNumberJsResources($numberJsResources)
{
$this->numberJsResources = $numberJsResources;
}
public function getNumberJsResources()
{
return $this->numberJsResources;
}
public function setNumberResources($numberResources)
{
$this->numberResources = $numberResources;
}
public function getNumberResources()
{
return $this->numberResources;
}
public function setNumberRobotedResources($numberRobotedResources)
{
$this->numberRobotedResources = $numberRobotedResources;
}
public function getNumberRobotedResources()
{
return $this->numberRobotedResources;
}
public function setNumberStaticResources($numberStaticResources)
{
$this->numberStaticResources = $numberStaticResources;
}
public function getNumberStaticResources()
{
return $this->numberStaticResources;
}
public function setNumberTransientFetchFailureResources($numberTransientFetchFailureResources)
{
$this->numberTransientFetchFailureResources = $numberTransientFetchFailureResources;
}
public function getNumberTransientFetchFailureResources()
{
return $this->numberTransientFetchFailureResources;
}
public function setOtherResponseBytes($otherResponseBytes)
{
$this->otherResponseBytes = $otherResponseBytes;
}
public function getOtherResponseBytes()
{
return $this->otherResponseBytes;
}
public function setOverTheWireResponseBytes($overTheWireResponseBytes)
{
$this->overTheWireResponseBytes = $overTheWireResponseBytes;
}
public function getOverTheWireResponseBytes()
{
return $this->overTheWireResponseBytes;
}
public function setRobotedUrls($robotedUrls)
{
$this->robotedUrls = $robotedUrls;
}
public function getRobotedUrls()
{
return $this->robotedUrls;
}
public function setTextResponseBytes($textResponseBytes)
{
$this->textResponseBytes = $textResponseBytes;
}
public function getTextResponseBytes()
{
return $this->textResponseBytes;
}
public function setTotalRequestBytes($totalRequestBytes)
{
$this->totalRequestBytes = $totalRequestBytes;
}
public function getTotalRequestBytes()
{
return $this->totalRequestBytes;
}
public function setTransientFetchFailureUrls($transientFetchFailureUrls)
{
$this->transientFetchFailureUrls = $transientFetchFailureUrls;
}
public function getTransientFetchFailureUrls()
{
return $this->transientFetchFailureUrls;
}
}

View File

@@ -0,0 +1,121 @@
<?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.
*/
class Google_Service_Pagespeedonline_PagespeedApiPagespeedResponseV5 extends Google_Model
{
public $analysisUTCTimestamp;
public $captchaResult;
public $id;
public $kind;
protected $lighthouseResultType = 'Google_Service_Pagespeedonline_LighthouseResultV5';
protected $lighthouseResultDataType = '';
protected $loadingExperienceType = 'Google_Service_Pagespeedonline_PagespeedApiLoadingExperienceV5';
protected $loadingExperienceDataType = '';
protected $originLoadingExperienceType = 'Google_Service_Pagespeedonline_PagespeedApiLoadingExperienceV5';
protected $originLoadingExperienceDataType = '';
protected $versionType = 'Google_Service_Pagespeedonline_PagespeedApiPagespeedResponseV5Version';
protected $versionDataType = '';
public function setAnalysisUTCTimestamp($analysisUTCTimestamp)
{
$this->analysisUTCTimestamp = $analysisUTCTimestamp;
}
public function getAnalysisUTCTimestamp()
{
return $this->analysisUTCTimestamp;
}
public function setCaptchaResult($captchaResult)
{
$this->captchaResult = $captchaResult;
}
public function getCaptchaResult()
{
return $this->captchaResult;
}
public function setId($id)
{
$this->id = $id;
}
public function getId()
{
return $this->id;
}
public function setKind($kind)
{
$this->kind = $kind;
}
public function getKind()
{
return $this->kind;
}
/**
* @param Google_Service_Pagespeedonline_LighthouseResultV5
*/
public function setLighthouseResult(Google_Service_Pagespeedonline_LighthouseResultV5 $lighthouseResult)
{
$this->lighthouseResult = $lighthouseResult;
}
/**
* @return Google_Service_Pagespeedonline_LighthouseResultV5
*/
public function getLighthouseResult()
{
return $this->lighthouseResult;
}
/**
* @param Google_Service_Pagespeedonline_PagespeedApiLoadingExperienceV5
*/
public function setLoadingExperience(Google_Service_Pagespeedonline_PagespeedApiLoadingExperienceV5 $loadingExperience)
{
$this->loadingExperience = $loadingExperience;
}
/**
* @return Google_Service_Pagespeedonline_PagespeedApiLoadingExperienceV5
*/
public function getLoadingExperience()
{
return $this->loadingExperience;
}
/**
* @param Google_Service_Pagespeedonline_PagespeedApiLoadingExperienceV5
*/
public function setOriginLoadingExperience(Google_Service_Pagespeedonline_PagespeedApiLoadingExperienceV5 $originLoadingExperience)
{
$this->originLoadingExperience = $originLoadingExperience;
}
/**
* @return Google_Service_Pagespeedonline_PagespeedApiLoadingExperienceV5
*/
public function getOriginLoadingExperience()
{
return $this->originLoadingExperience;
}
/**
* @param Google_Service_Pagespeedonline_PagespeedApiPagespeedResponseV5Version
*/
public function setVersion(Google_Service_Pagespeedonline_PagespeedApiPagespeedResponseV5Version $version)
{
$this->version = $version;
}
/**
* @return Google_Service_Pagespeedonline_PagespeedApiPagespeedResponseV5Version
*/
public function getVersion()
{
return $this->version;
}
}

View File

@@ -15,7 +15,7 @@
* the License.
*/
class Google_Service_Pagespeedonline_PagespeedApiPagespeedResponseV4Version extends Google_Model
class Google_Service_Pagespeedonline_PagespeedApiPagespeedResponseV5Version extends Google_Model
{
public $major;
public $minor;

View File

@@ -33,25 +33,19 @@ class Google_Service_Pagespeedonline_Resource_Pagespeedapi extends Google_Servic
* @param string $url The URL to fetch and analyze
* @param array $optParams Optional parameters.
*
* @opt_param bool filter_third_party_resources Indicates if third party
* resources should be filtered out before PageSpeed analysis.
* @opt_param string category A Lighthouse category to run; if none are given,
* only Performance category will be run
* @opt_param string locale The locale used to localize formatted results
* @opt_param string rule A PageSpeed rule to run; if none are given, all rules
* are run
* @opt_param bool screenshot Indicates if binary data containing a screenshot
* should be included
* @opt_param bool snapshots Indicates if binary data containing snapshot images
* should be included
* @opt_param string strategy The analysis strategy (desktop or mobile) to use,
* and desktop is the default
* @opt_param string utm_campaign Campaign name for analytics.
* @opt_param string utm_source Campaign source for analytics.
* @return Google_Service_Pagespeedonline_PagespeedApiPagespeedResponseV4
* @return Google_Service_Pagespeedonline_PagespeedApiPagespeedResponseV5
*/
public function runpagespeed($url, $optParams = array())
{
$params = array('url' => $url);
$params = array_merge($params, $optParams);
return $this->call('runpagespeed', array($params), "Google_Service_Pagespeedonline_PagespeedApiPagespeedResponseV4");
return $this->call('runpagespeed', array($params), "Google_Service_Pagespeedonline_PagespeedApiPagespeedResponseV5");
}
}