* $ideahubService = new Google\Service\Ideahub(...); * $ideas = $ideahubService->ideas; * */ 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');