Google_Result

The Google Pagespeed Insights Google Result class.

Defined (2)

The class is defined in the following location(s).

/google-api/src/contrib/Google_CustomsearchService.php  
  1. class Google_Result extends Google_Model { 
  2. public $snippet; 
  3. public $kind; 
  4. protected $__labelsType = 'Google_ResultLabels'; 
  5. protected $__labelsDataType = 'array'; 
  6. public $labels; 
  7. public $title; 
  8. public $displayLink; 
  9. public $cacheId; 
  10. public $formattedUrl; 
  11. public $htmlFormattedUrl; 
  12. public $pagemap; 
  13. public $htmlTitle; 
  14. public $htmlSnippet; 
  15. public $link; 
  16. protected $__imageType = 'Google_ResultImage'; 
  17. protected $__imageDataType = ''; 
  18. public $image; 
  19. public $mime; 
  20. public $fileFormat; 
  21. public function setSnippet($snippet) { 
  22. $this->snippet = $snippet; 
  23. public function getSnippet() { 
  24. return $this->snippet; 
  25. public function setKind($kind) { 
  26. $this->kind = $kind; 
  27. public function getKind() { 
  28. return $this->kind; 
  29. public function setLabels(/** array(Google_ResultLabels) */ $labels) { 
  30. $this->assertIsArray($labels, 'Google_ResultLabels', __METHOD__); 
  31. $this->labels = $labels; 
  32. public function getLabels() { 
  33. return $this->labels; 
  34. public function setTitle($title) { 
  35. $this->title = $title; 
  36. public function getTitle() { 
  37. return $this->title; 
  38. public function setDisplayLink($displayLink) { 
  39. $this->displayLink = $displayLink; 
  40. public function getDisplayLink() { 
  41. return $this->displayLink; 
  42. public function setCacheId($cacheId) { 
  43. $this->cacheId = $cacheId; 
  44. public function getCacheId() { 
  45. return $this->cacheId; 
  46. public function setFormattedUrl($formattedUrl) { 
  47. $this->formattedUrl = $formattedUrl; 
  48. public function getFormattedUrl() { 
  49. return $this->formattedUrl; 
  50. public function setHtmlFormattedUrl($htmlFormattedUrl) { 
  51. $this->htmlFormattedUrl = $htmlFormattedUrl; 
  52. public function getHtmlFormattedUrl() { 
  53. return $this->htmlFormattedUrl; 
  54. public function setPagemap($pagemap) { 
  55. $this->pagemap = $pagemap; 
  56. public function getPagemap() { 
  57. return $this->pagemap; 
  58. public function setHtmlTitle($htmlTitle) { 
  59. $this->htmlTitle = $htmlTitle; 
  60. public function getHtmlTitle() { 
  61. return $this->htmlTitle; 
  62. public function setHtmlSnippet($htmlSnippet) { 
  63. $this->htmlSnippet = $htmlSnippet; 
  64. public function getHtmlSnippet() { 
  65. return $this->htmlSnippet; 
  66. public function setLink($link) { 
  67. $this->link = $link; 
  68. public function getLink() { 
  69. return $this->link; 
  70. public function setImage(Google_ResultImage $image) { 
  71. $this->image = $image; 
  72. public function getImage() { 
  73. return $this->image; 
  74. public function setMime($mime) { 
  75. $this->mime = $mime; 
  76. public function getMime() { 
  77. return $this->mime; 
  78. public function setFileFormat($fileFormat) { 
  79. $this->fileFormat = $fileFormat; 
  80. public function getFileFormat() { 
  81. return $this->fileFormat; 
/google-api/src/contrib/Google_PagespeedonlineService.php  
  1. class Google_Result extends Google_Model { 
  2. public $kind; 
  3. protected $__formattedResultsType = 'Google_ResultFormattedResults'; 
  4. protected $__formattedResultsDataType = ''; 
  5. public $formattedResults; 
  6. public $title; 
  7. protected $__versionType = 'Google_ResultVersion'; 
  8. protected $__versionDataType = ''; 
  9. public $version; 
  10. public $score; 
  11. public $responseCode; 
  12. public $invalidRules; 
  13. protected $__pageStatsType = 'Google_ResultPageStats'; 
  14. protected $__pageStatsDataType = ''; 
  15. public $pageStats; 
  16. public $id; 
  17. public function setKind($kind) { 
  18. $this->kind = $kind; 
  19. public function getKind() { 
  20. return $this->kind; 
  21. public function setFormattedResults(Google_ResultFormattedResults $formattedResults) { 
  22. $this->formattedResults = $formattedResults; 
  23. public function getFormattedResults() { 
  24. return $this->formattedResults; 
  25. public function setTitle($title) { 
  26. $this->title = $title; 
  27. public function getTitle() { 
  28. return $this->title; 
  29. public function setVersion(Google_ResultVersion $version) { 
  30. $this->version = $version; 
  31. public function getVersion() { 
  32. return $this->version; 
  33. public function setScore($score) { 
  34. $this->score = $score; 
  35. public function getScore() { 
  36. return $this->score; 
  37. public function setResponseCode($responseCode) { 
  38. $this->responseCode = $responseCode; 
  39. public function getResponseCode() { 
  40. return $this->responseCode; 
  41. public function setInvalidRules(/** array(Google_string) */ $invalidRules) { 
  42. $this->assertIsArray($invalidRules, 'Google_string', __METHOD__); 
  43. $this->invalidRules = $invalidRules; 
  44. public function getInvalidRules() { 
  45. return $this->invalidRules; 
  46. public function setPageStats(Google_ResultPageStats $pageStats) { 
  47. $this->pageStats = $pageStats; 
  48. public function getPageStats() { 
  49. return $this->pageStats; 
  50. public function setId($id) { 
  51. $this->id = $id; 
  52. public function getId() { 
  53. return $this->id;