Google_Search
The Google Pagespeed Insights Google Search class.
Defined (1)
The class is defined in the following location(s).
- /google-api/src/contrib/Google_CustomsearchService.php
- class Google_Search extends Google_Model {
- protected $__promotionsType = 'Google_Promotion';
- protected $__promotionsDataType = 'array';
- public $promotions;
- public $kind;
- protected $__urlType = 'Google_SearchUrl';
- protected $__urlDataType = '';
- public $url;
- protected $__itemsType = 'Google_Result';
- protected $__itemsDataType = 'array';
- public $items;
- protected $__contextType = 'Google_Context';
- protected $__contextDataType = '';
- public $context;
- protected $__queriesType = 'Google_Query';
- protected $__queriesDataType = 'map';
- public $queries;
- protected $__spellingType = 'Google_SearchSpelling';
- protected $__spellingDataType = '';
- public $spelling;
- protected $__searchInformationType = 'Google_SearchSearchInformation';
- protected $__searchInformationDataType = '';
- public $searchInformation;
- public function setPromotions(/** array(Google_Promotion) */ $promotions) {
- $this->assertIsArray($promotions, 'Google_Promotion', __METHOD__);
- $this->promotions = $promotions;
- }
- public function getPromotions() {
- return $this->promotions;
- }
- public function setKind($kind) {
- $this->kind = $kind;
- }
- public function getKind() {
- return $this->kind;
- }
- public function setUrl(Google_SearchUrl $url) {
- $this->url = $url;
- }
- public function getUrl() {
- return $this->url;
- }
- public function setItems(/** array(Google_Result) */ $items) {
- $this->assertIsArray($items, 'Google_Result', __METHOD__);
- $this->items = $items;
- }
- public function getItems() {
- return $this->items;
- }
- public function setContext(Google_Context $context) {
- $this->context = $context;
- }
- public function getContext() {
- return $this->context;
- }
- public function setQueries(Google_Query $queries) {
- $this->queries = $queries;
- }
- public function getQueries() {
- return $this->queries;
- }
- public function setSpelling(Google_SearchSpelling $spelling) {
- $this->spelling = $spelling;
- }
- public function getSpelling() {
- return $this->spelling;
- }
- public function setSearchInformation(Google_SearchSearchInformation $searchInformation) {
- $this->searchInformation = $searchInformation;
- }
- public function getSearchInformation() {
- return $this->searchInformation;
- }
- }