Initial commit

This commit is contained in:
Local Administrator
2025-04-18 10:32:42 +02:00
commit b83134aca3
29643 changed files with 3045897 additions and 0 deletions

View File

@@ -0,0 +1,44 @@
<?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.
*/
namespace Google\Service\Ideahub;
class GoogleSearchIdeahubV1alphaAvailableLocale extends \Google\Model
{
public $locale;
public $name;
public function setLocale($locale)
{
$this->locale = $locale;
}
public function getLocale()
{
return $this->locale;
}
public function setName($name)
{
$this->name = $name;
}
public function getName()
{
return $this->name;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleSearchIdeahubV1alphaAvailableLocale::class, 'Google_Service_Ideahub_GoogleSearchIdeahubV1alphaAvailableLocale');

View File

@@ -0,0 +1,61 @@
<?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.
*/
namespace Google\Service\Ideahub;
class GoogleSearchIdeahubV1alphaIdea extends \Google\Collection
{
protected $collection_key = 'topics';
public $name;
public $text;
protected $topicsType = GoogleSearchIdeahubV1alphaTopic::class;
protected $topicsDataType = 'array';
public function setName($name)
{
$this->name = $name;
}
public function getName()
{
return $this->name;
}
public function setText($text)
{
$this->text = $text;
}
public function getText()
{
return $this->text;
}
/**
* @param GoogleSearchIdeahubV1alphaTopic[]
*/
public function setTopics($topics)
{
$this->topics = $topics;
}
/**
* @return GoogleSearchIdeahubV1alphaTopic[]
*/
public function getTopics()
{
return $this->topics;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleSearchIdeahubV1alphaIdea::class, 'Google_Service_Ideahub_GoogleSearchIdeahubV1alphaIdea');

View File

@@ -0,0 +1,72 @@
<?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.
*/
namespace Google\Service\Ideahub;
class GoogleSearchIdeahubV1alphaIdeaActivity extends \Google\Collection
{
protected $collection_key = 'topics';
public $ideas;
public $name;
public $topics;
public $type;
public $uri;
public function setIdeas($ideas)
{
$this->ideas = $ideas;
}
public function getIdeas()
{
return $this->ideas;
}
public function setName($name)
{
$this->name = $name;
}
public function getName()
{
return $this->name;
}
public function setTopics($topics)
{
$this->topics = $topics;
}
public function getTopics()
{
return $this->topics;
}
public function setType($type)
{
$this->type = $type;
}
public function getType()
{
return $this->type;
}
public function setUri($uri)
{
$this->uri = $uri;
}
public function getUri()
{
return $this->uri;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleSearchIdeahubV1alphaIdeaActivity::class, 'Google_Service_Ideahub_GoogleSearchIdeahubV1alphaIdeaActivity');

View File

@@ -0,0 +1,53 @@
<?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.
*/
namespace Google\Service\Ideahub;
class GoogleSearchIdeahubV1alphaIdeaState extends \Google\Model
{
public $dismissed;
public $name;
public $saved;
public function setDismissed($dismissed)
{
$this->dismissed = $dismissed;
}
public function getDismissed()
{
return $this->dismissed;
}
public function setName($name)
{
$this->name = $name;
}
public function getName()
{
return $this->name;
}
public function setSaved($saved)
{
$this->saved = $saved;
}
public function getSaved()
{
return $this->saved;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleSearchIdeahubV1alphaIdeaState::class, 'Google_Service_Ideahub_GoogleSearchIdeahubV1alphaIdeaState');

View File

@@ -0,0 +1,52 @@
<?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.
*/
namespace Google\Service\Ideahub;
class GoogleSearchIdeahubV1alphaListAvailableLocalesResponse extends \Google\Collection
{
protected $collection_key = 'availableLocales';
protected $availableLocalesType = GoogleSearchIdeahubV1alphaAvailableLocale::class;
protected $availableLocalesDataType = 'array';
public $nextPageToken;
/**
* @param GoogleSearchIdeahubV1alphaAvailableLocale[]
*/
public function setAvailableLocales($availableLocales)
{
$this->availableLocales = $availableLocales;
}
/**
* @return GoogleSearchIdeahubV1alphaAvailableLocale[]
*/
public function getAvailableLocales()
{
return $this->availableLocales;
}
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
public function getNextPageToken()
{
return $this->nextPageToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleSearchIdeahubV1alphaListAvailableLocalesResponse::class, 'Google_Service_Ideahub_GoogleSearchIdeahubV1alphaListAvailableLocalesResponse');

View File

@@ -0,0 +1,52 @@
<?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.
*/
namespace Google\Service\Ideahub;
class GoogleSearchIdeahubV1alphaListIdeasResponse extends \Google\Collection
{
protected $collection_key = 'ideas';
protected $ideasType = GoogleSearchIdeahubV1alphaIdea::class;
protected $ideasDataType = 'array';
public $nextPageToken;
/**
* @param GoogleSearchIdeahubV1alphaIdea[]
*/
public function setIdeas($ideas)
{
$this->ideas = $ideas;
}
/**
* @return GoogleSearchIdeahubV1alphaIdea[]
*/
public function getIdeas()
{
return $this->ideas;
}
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
public function getNextPageToken()
{
return $this->nextPageToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleSearchIdeahubV1alphaListIdeasResponse::class, 'Google_Service_Ideahub_GoogleSearchIdeahubV1alphaListIdeasResponse');

View File

@@ -0,0 +1,53 @@
<?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.
*/
namespace Google\Service\Ideahub;
class GoogleSearchIdeahubV1alphaTopic extends \Google\Model
{
public $displayName;
public $mid;
public $name;
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
public function getDisplayName()
{
return $this->displayName;
}
public function setMid($mid)
{
$this->mid = $mid;
}
public function getMid()
{
return $this->mid;
}
public function setName($name)
{
$this->name = $name;
}
public function getName()
{
return $this->name;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleSearchIdeahubV1alphaTopic::class, 'Google_Service_Ideahub_GoogleSearchIdeahubV1alphaTopic');

View File

@@ -0,0 +1,53 @@
<?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.
*/
namespace Google\Service\Ideahub;
class GoogleSearchIdeahubV1alphaTopicState extends \Google\Model
{
public $dismissed;
public $name;
public $saved;
public function setDismissed($dismissed)
{
$this->dismissed = $dismissed;
}
public function getDismissed()
{
return $this->dismissed;
}
public function setName($name)
{
$this->name = $name;
}
public function getName()
{
return $this->name;
}
public function setSaved($saved)
{
$this->saved = $saved;
}
public function getSaved()
{
return $this->saved;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleSearchIdeahubV1alphaTopicState::class, 'Google_Service_Ideahub_GoogleSearchIdeahubV1alphaTopicState');

View File

@@ -0,0 +1,62 @@
<?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.
*/
namespace Google\Service\Ideahub;
class GoogleSearchIdeahubV1betaAvailableLocale extends \Google\Model
{
/**
* @var string
*/
public $locale;
/**
* @var string
*/
public $name;
/**
* @param string
*/
public function setLocale($locale)
{
$this->locale = $locale;
}
/**
* @return string
*/
public function getLocale()
{
return $this->locale;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleSearchIdeahubV1betaAvailableLocale::class, 'Google_Service_Ideahub_GoogleSearchIdeahubV1betaAvailableLocale');

View File

@@ -0,0 +1,80 @@
<?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.
*/
namespace Google\Service\Ideahub;
class GoogleSearchIdeahubV1betaIdea extends \Google\Collection
{
protected $collection_key = 'topics';
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $text;
protected $topicsType = GoogleSearchIdeahubV1betaTopic::class;
protected $topicsDataType = 'array';
public $topics;
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setText($text)
{
$this->text = $text;
}
/**
* @return string
*/
public function getText()
{
return $this->text;
}
/**
* @param GoogleSearchIdeahubV1betaTopic[]
*/
public function setTopics($topics)
{
$this->topics = $topics;
}
/**
* @return GoogleSearchIdeahubV1betaTopic[]
*/
public function getTopics()
{
return $this->topics;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleSearchIdeahubV1betaIdea::class, 'Google_Service_Ideahub_GoogleSearchIdeahubV1betaIdea');

View File

@@ -0,0 +1,117 @@
<?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.
*/
namespace Google\Service\Ideahub;
class GoogleSearchIdeahubV1betaIdeaActivity extends \Google\Collection
{
protected $collection_key = 'topics';
/**
* @var string[]
*/
public $ideas;
/**
* @var string
*/
public $name;
/**
* @var string[]
*/
public $topics;
/**
* @var string
*/
public $type;
/**
* @var string
*/
public $uri;
/**
* @param string[]
*/
public function setIdeas($ideas)
{
$this->ideas = $ideas;
}
/**
* @return string[]
*/
public function getIdeas()
{
return $this->ideas;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string[]
*/
public function setTopics($topics)
{
$this->topics = $topics;
}
/**
* @return string[]
*/
public function getTopics()
{
return $this->topics;
}
/**
* @param string
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return string
*/
public function getType()
{
return $this->type;
}
/**
* @param string
*/
public function setUri($uri)
{
$this->uri = $uri;
}
/**
* @return string
*/
public function getUri()
{
return $this->uri;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleSearchIdeahubV1betaIdeaActivity::class, 'Google_Service_Ideahub_GoogleSearchIdeahubV1betaIdeaActivity');

View File

@@ -0,0 +1,80 @@
<?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.
*/
namespace Google\Service\Ideahub;
class GoogleSearchIdeahubV1betaIdeaState extends \Google\Model
{
/**
* @var bool
*/
public $dismissed;
/**
* @var string
*/
public $name;
/**
* @var bool
*/
public $saved;
/**
* @param bool
*/
public function setDismissed($dismissed)
{
$this->dismissed = $dismissed;
}
/**
* @return bool
*/
public function getDismissed()
{
return $this->dismissed;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param bool
*/
public function setSaved($saved)
{
$this->saved = $saved;
}
/**
* @return bool
*/
public function getSaved()
{
return $this->saved;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleSearchIdeahubV1betaIdeaState::class, 'Google_Service_Ideahub_GoogleSearchIdeahubV1betaIdeaState');

View File

@@ -0,0 +1,62 @@
<?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.
*/
namespace Google\Service\Ideahub;
class GoogleSearchIdeahubV1betaListAvailableLocalesResponse extends \Google\Collection
{
protected $collection_key = 'availableLocales';
protected $availableLocalesType = GoogleSearchIdeahubV1betaAvailableLocale::class;
protected $availableLocalesDataType = 'array';
public $availableLocales;
/**
* @var string
*/
public $nextPageToken;
/**
* @param GoogleSearchIdeahubV1betaAvailableLocale[]
*/
public function setAvailableLocales($availableLocales)
{
$this->availableLocales = $availableLocales;
}
/**
* @return GoogleSearchIdeahubV1betaAvailableLocale[]
*/
public function getAvailableLocales()
{
return $this->availableLocales;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleSearchIdeahubV1betaListAvailableLocalesResponse::class, 'Google_Service_Ideahub_GoogleSearchIdeahubV1betaListAvailableLocalesResponse');

View File

@@ -0,0 +1,62 @@
<?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.
*/
namespace Google\Service\Ideahub;
class GoogleSearchIdeahubV1betaListIdeasResponse extends \Google\Collection
{
protected $collection_key = 'ideas';
protected $ideasType = GoogleSearchIdeahubV1betaIdea::class;
protected $ideasDataType = 'array';
public $ideas;
/**
* @var string
*/
public $nextPageToken;
/**
* @param GoogleSearchIdeahubV1betaIdea[]
*/
public function setIdeas($ideas)
{
$this->ideas = $ideas;
}
/**
* @return GoogleSearchIdeahubV1betaIdea[]
*/
public function getIdeas()
{
return $this->ideas;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleSearchIdeahubV1betaListIdeasResponse::class, 'Google_Service_Ideahub_GoogleSearchIdeahubV1betaListIdeasResponse');

View File

@@ -0,0 +1,80 @@
<?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.
*/
namespace Google\Service\Ideahub;
class GoogleSearchIdeahubV1betaTopic extends \Google\Model
{
/**
* @var string
*/
public $displayName;
/**
* @var string
*/
public $mid;
/**
* @var string
*/
public $name;
/**
* @param string
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* @param string
*/
public function setMid($mid)
{
$this->mid = $mid;
}
/**
* @return string
*/
public function getMid()
{
return $this->mid;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleSearchIdeahubV1betaTopic::class, 'Google_Service_Ideahub_GoogleSearchIdeahubV1betaTopic');

View File

@@ -0,0 +1,80 @@
<?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.
*/
namespace Google\Service\Ideahub;
class GoogleSearchIdeahubV1betaTopicState extends \Google\Model
{
/**
* @var bool
*/
public $dismissed;
/**
* @var string
*/
public $name;
/**
* @var bool
*/
public $saved;
/**
* @param bool
*/
public function setDismissed($dismissed)
{
$this->dismissed = $dismissed;
}
/**
* @return bool
*/
public function getDismissed()
{
return $this->dismissed;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param bool
*/
public function setSaved($saved)
{
$this->saved = $saved;
}
/**
* @return bool
*/
public function getSaved()
{
return $this->saved;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleSearchIdeahubV1betaTopicState::class, 'Google_Service_Ideahub_GoogleSearchIdeahubV1betaTopicState');

View File

@@ -0,0 +1,65 @@
<?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.
*/
namespace Google\Service\Ideahub\Resource;
use Google\Service\Ideahub\GoogleSearchIdeahubV1alphaListIdeasResponse;
/**
* The "ideas" collection of methods.
* Typical usage is:
* <code>
* $ideahubService = new Google\Service\Ideahub(...);
* $ideas = $ideahubService->ideas;
* </code>
*/
class Ideas extends \Google\Service\Resource
{
/**
* List ideas for a given Creator and filter and sort options. (ideas.listIdeas)
*
* @param array $optParams Optional parameters.
*
* @opt_param string filter Allows filtering. Supported syntax: * Filter
* expressions are made up of one or more restrictions. * Restrictions are
* implicitly combined, as if the `AND` operator was always used. The `OR`
* operator is currently unsupported. * Supported functions: - `saved(bool)`: If
* set to true, fetches only saved ideas. If set to false, fetches all except
* saved ideas. Can't be simultaneously used with `dismissed(bool)`. -
* `dismissed(bool)`: If set to true, fetches only dismissed ideas. Can't be
* simultaneously used with `saved(bool)`. The `false` value is currently
* unsupported. Examples: * `saved(true)` * `saved(false)` * `dismissed(true)`
* The length of this field should be no more than 500 characters.
* @opt_param string orderBy Order semantics described below.
* @opt_param int pageSize The maximum number of ideas per page. If unspecified,
* at most 10 ideas will be returned. The maximum value is 2000; values above
* 2000 will be coerced to 2000.
* @opt_param string pageToken Used to fetch next page.
* @opt_param string parent If defined, specifies the creator for which to
* filter by. Format: publishers/{publisher}/properties/{property}
* @return GoogleSearchIdeahubV1alphaListIdeasResponse
*/
public function listIdeas($optParams = [])
{
$params = [];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], GoogleSearchIdeahubV1alphaListIdeasResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Ideas::class, 'Google_Service_Ideahub_Resource_Ideas');

View File

@@ -0,0 +1,33 @@
<?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.
*/
namespace Google\Service\Ideahub\Resource;
/**
* The "platforms" collection of methods.
* Typical usage is:
* <code>
* $ideahubService = new Google\Service\Ideahub(...);
* $platforms = $ideahubService->platforms;
* </code>
*/
class Platforms extends \Google\Service\Resource
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Platforms::class, 'Google_Service_Ideahub_Resource_Platforms');

View File

@@ -0,0 +1,33 @@
<?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.
*/
namespace Google\Service\Ideahub\Resource;
/**
* The "properties" collection of methods.
* Typical usage is:
* <code>
* $ideahubService = new Google\Service\Ideahub(...);
* $properties = $ideahubService->platforms_properties;
* </code>
*/
class PlatformsProperties extends \Google\Service\Resource
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(PlatformsProperties::class, 'Google_Service_Ideahub_Resource_PlatformsProperties');

View File

@@ -0,0 +1,50 @@
<?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.
*/
namespace Google\Service\Ideahub\Resource;
use Google\Service\Ideahub\GoogleSearchIdeahubV1betaIdeaActivity;
/**
* The "ideaActivities" collection of methods.
* Typical usage is:
* <code>
* $ideahubService = new Google\Service\Ideahub(...);
* $ideaActivities = $ideahubService->platforms_properties_ideaActivities;
* </code>
*/
class PlatformsPropertiesIdeaActivities extends \Google\Service\Resource
{
/**
* Creates an idea activity entry. (ideaActivities.create)
*
* @param string $parent Required. The parent resource where this idea activity
* will be created. Format: platforms/{platform}/property/{property}
* @param GoogleSearchIdeahubV1betaIdeaActivity $postBody
* @param array $optParams Optional parameters.
* @return GoogleSearchIdeahubV1betaIdeaActivity
*/
public function create($parent, GoogleSearchIdeahubV1betaIdeaActivity $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('create', [$params], GoogleSearchIdeahubV1betaIdeaActivity::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(PlatformsPropertiesIdeaActivities::class, 'Google_Service_Ideahub_Resource_PlatformsPropertiesIdeaActivities');

View File

@@ -0,0 +1,52 @@
<?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.
*/
namespace Google\Service\Ideahub\Resource;
use Google\Service\Ideahub\GoogleSearchIdeahubV1betaIdeaState;
/**
* The "ideaStates" collection of methods.
* Typical usage is:
* <code>
* $ideahubService = new Google\Service\Ideahub(...);
* $ideaStates = $ideahubService->platforms_properties_ideaStates;
* </code>
*/
class PlatformsPropertiesIdeaStates extends \Google\Service\Resource
{
/**
* Update an idea state resource. (ideaStates.patch)
*
* @param string $name Unique identifier for the idea state. Format:
* platforms/{platform}/properties/{property}/ideaStates/{idea_state}
* @param GoogleSearchIdeahubV1betaIdeaState $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string updateMask The list of fields to be updated.
* @return GoogleSearchIdeahubV1betaIdeaState
*/
public function patch($name, GoogleSearchIdeahubV1betaIdeaState $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('patch', [$params], GoogleSearchIdeahubV1betaIdeaState::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(PlatformsPropertiesIdeaStates::class, 'Google_Service_Ideahub_Resource_PlatformsPropertiesIdeaStates');

View File

@@ -0,0 +1,66 @@
<?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.
*/
namespace Google\Service\Ideahub\Resource;
use Google\Service\Ideahub\GoogleSearchIdeahubV1betaListIdeasResponse;
/**
* The "ideas" collection of methods.
* Typical usage is:
* <code>
* $ideahubService = new Google\Service\Ideahub(...);
* $ideas = $ideahubService->platforms_properties_ideas;
* </code>
*/
class PlatformsPropertiesIdeas extends \Google\Service\Resource
{
/**
* List ideas for a given Creator and filter and sort options.
* (ideas.listPlatformsPropertiesIdeas)
*
* @param string $parent Required. If defined, specifies the creator for which
* to filter by. Format: publishers/{publisher}/properties/{property}
* @param array $optParams Optional parameters.
*
* @opt_param string filter Allows filtering. Supported syntax: * Filter
* expressions are made up of one or more restrictions. * Restrictions are
* implicitly combined, as if the `AND` operator was always used. The `OR`
* operator is currently unsupported. * Supported functions: - `saved(bool)`: If
* set to true, fetches only saved ideas. If set to false, fetches all except
* saved ideas. Can't be simultaneously used with `dismissed(bool)`. -
* `dismissed(bool)`: If set to true, fetches only dismissed ideas. Can't be
* simultaneously used with `saved(bool)`. The `false` value is currently
* unsupported. Examples: * `saved(true)` * `saved(false)` * `dismissed(true)`
* The length of this field should be no more than 500 characters.
* @opt_param string orderBy Order semantics described below.
* @opt_param int pageSize The maximum number of ideas per page. If unspecified,
* at most 10 ideas will be returned. The maximum value is 2000; values above
* 2000 will be coerced to 2000.
* @opt_param string pageToken Used to fetch next page.
* @return GoogleSearchIdeahubV1betaListIdeasResponse
*/
public function listPlatformsPropertiesIdeas($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], GoogleSearchIdeahubV1betaListIdeasResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(PlatformsPropertiesIdeas::class, 'Google_Service_Ideahub_Resource_PlatformsPropertiesIdeas');

View File

@@ -0,0 +1,58 @@
<?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.
*/
namespace Google\Service\Ideahub\Resource;
use Google\Service\Ideahub\GoogleSearchIdeahubV1betaListAvailableLocalesResponse;
/**
* The "locales" collection of methods.
* Typical usage is:
* <code>
* $ideahubService = new Google\Service\Ideahub(...);
* $locales = $ideahubService->platforms_properties_locales;
* </code>
*/
class PlatformsPropertiesLocales extends \Google\Service\Resource
{
/**
* Returns which locales ideas are available in for a given Creator.
* (locales.listPlatformsPropertiesLocales)
*
* @param string $parent Required. The web property to check idea availability
* for Format: platforms/{platform}/property/{property}
* @param array $optParams Optional parameters.
*
* @opt_param int pageSize The maximum number of locales to return. The service
* may return fewer than this value. If unspecified, at most 100 locales will be
* returned. The maximum value is 100; values above 100 will be coerced to 100.
* @opt_param string pageToken A page token, received from a previous
* `ListAvailableLocales` call. Provide this to retrieve the subsequent page.
* When paginating, all other parameters provided to `ListAvailableLocales` must
* match the call that provided the page token.
* @return GoogleSearchIdeahubV1betaListAvailableLocalesResponse
*/
public function listPlatformsPropertiesLocales($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], GoogleSearchIdeahubV1betaListAvailableLocalesResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(PlatformsPropertiesLocales::class, 'Google_Service_Ideahub_Resource_PlatformsPropertiesLocales');

View File

@@ -0,0 +1,52 @@
<?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.
*/
namespace Google\Service\Ideahub\Resource;
use Google\Service\Ideahub\GoogleSearchIdeahubV1betaTopicState;
/**
* The "topicStates" collection of methods.
* Typical usage is:
* <code>
* $ideahubService = new Google\Service\Ideahub(...);
* $topicStates = $ideahubService->platforms_properties_topicStates;
* </code>
*/
class PlatformsPropertiesTopicStates extends \Google\Service\Resource
{
/**
* Update a topic state resource. (topicStates.patch)
*
* @param string $name Unique identifier for the topic state. Format:
* platforms/{platform}/properties/{property}/topicStates/{topic_state}
* @param GoogleSearchIdeahubV1betaTopicState $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string updateMask The list of fields to be updated.
* @return GoogleSearchIdeahubV1betaTopicState
*/
public function patch($name, GoogleSearchIdeahubV1betaTopicState $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('patch', [$params], GoogleSearchIdeahubV1betaTopicState::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(PlatformsPropertiesTopicStates::class, 'Google_Service_Ideahub_Resource_PlatformsPropertiesTopicStates');