����JFIF��x�x����'
Server IP : 78.140.185.180 / Your IP : 216.73.216.82 Web Server : LiteSpeed System : Linux cpanel13.v.fozzy.com 4.18.0-513.11.1.lve.el8.x86_64 #1 SMP Thu Jan 18 16:21:02 UTC 2024 x86_64 User : builderbox ( 1072) PHP Version : 7.3.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/builderbox/www/vendor/google/apiclient-services/src/Slides/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\Slides\Resource; use Google\Service\Slides\BatchUpdatePresentationRequest; use Google\Service\Slides\BatchUpdatePresentationResponse; use Google\Service\Slides\Presentation; /** * The "presentations" collection of methods. * Typical usage is: * <code> * $slidesService = new Google\Service\Slides(...); * $presentations = $slidesService->presentations; * </code> */ class Presentations extends \Google\Service\Resource { /** * Applies one or more updates to the presentation. Each request is validated * before being applied. If any request is not valid, then the entire request * will fail and nothing will be applied. Some requests have replies to give you * some information about how they are applied. Other requests do not need to * return information; these each return an empty reply. The order of replies * matches that of the requests. For example, suppose you call batchUpdate with * four updates, and only the third one returns information. The response would * have two empty replies: the reply to the third request, and another empty * reply, in that order. Because other users may be editing the presentation, * the presentation might not exactly reflect your changes: your changes may be * altered with respect to collaborator changes. If there are no collaborators, * the presentation should reflect your changes. In any case, the updates in * your request are guaranteed to be applied together atomically. * (presentations.batchUpdate) * * @param string $presentationId The presentation to apply the updates to. * @param BatchUpdatePresentationRequest $postBody * @param array $optParams Optional parameters. * @return BatchUpdatePresentationResponse */ public function batchUpdate($presentationId, BatchUpdatePresentationRequest $postBody, $optParams = []) { $params = ['presentationId' => $presentationId, 'postBody' => $postBody]; $params = array_merge($params, $optParams); return $this->call('batchUpdate', [$params], BatchUpdatePresentationResponse::class); } /** * Creates a blank presentation using the title given in the request. If a * `presentationId` is provided, it is used as the ID of the new presentation. * Otherwise, a new ID is generated. Other fields in the request, including any * provided content, are ignored. Returns the created presentation. * (presentations.create) * * @param Presentation $postBody * @param array $optParams Optional parameters. * @return Presentation */ public function create(Presentation $postBody, $optParams = []) { $params = ['postBody' => $postBody]; $params = array_merge($params, $optParams); return $this->call('create', [$params], Presentation::class); } /** * Gets the latest version of the specified presentation. (presentations.get) * * @param string $presentationId The ID of the presentation to retrieve. * @param array $optParams Optional parameters. * @return Presentation */ public function get($presentationId, $optParams = []) { $params = ['presentationId' => $presentationId]; $params = array_merge($params, $optParams); return $this->call('get', [$params], Presentation::class); } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(Presentations::class, 'Google_Service_Slides_Resource_Presentations');