Documentation

Google_Service_Slides_Resource_Presentations extends Google_Service_Resource
in package

The "presentations" collection of methods.

Typical usage is: $slidesService = new Google_Service_Slides(...); $presentations = $slidesService->presentations;

Table of Contents

$client  : Google_Client
$methods  : array<string|int, mixed>
$resourceName  : string
$rootUrl  : string
$serviceName  : string
$servicePath  : string
$stackParameters  : mixed
__construct()  : mixed
batchUpdate()  : Google_Service_Slides_BatchUpdatePresentationResponse
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.
call()  : Google_Http_Request|expectedClass
TODO: This function needs simplifying.
create()  : Google_Service_Slides_Presentation
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.
createRequestUri()  : string
Parse/expand request parameters and create a fully qualified request uri.
get()  : Google_Service_Slides_Presentation
Gets the latest version of the specified presentation. (presentations.get)
convertToArrayAndStripNulls()  : mixed

Properties

$methods

private array<string|int, mixed> $methods

$resourceName

private string $resourceName

$serviceName

private string $serviceName

$servicePath

private string $servicePath

$stackParameters

private mixed $stackParameters = array('alt' => array('type' => 'string', 'location' => 'query'), 'fields' => array('type' => 'string', 'location' => 'query'), 'trace' => array('type' => 'string', 'location' => 'query'), 'userIp' => array('type' => 'string', 'location' => 'query'), 'quotaUser' => array('type' => 'string', 'location' => 'query'), 'data' => array('type' => 'string', 'location' => 'body'), 'mimeType' => array('type' => 'string', 'location' => 'header'), 'uploadType' => array('type' => 'string', 'location' => 'query'), 'mediaUpload' => array('type' => 'complex', 'location' => 'query'), 'prettyPrint' => array('type' => 'string', 'location' => 'query'))

Methods

__construct()

public __construct(mixed $service, mixed $serviceName, mixed $resourceName, mixed $resource) : mixed
Parameters
$service : mixed
$serviceName : mixed
$resourceName : mixed
$resource : mixed
Return values
mixed

batchUpdate()

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.

public batchUpdate(string $presentationId, Google_Service_Slides_BatchUpdatePresentationRequest $postBody[, array<string|int, mixed> $optParams = array() ]) : Google_Service_Slides_BatchUpdatePresentationResponse

(presentations.batchUpdate)

Parameters
$presentationId : string

The presentation to apply the updates to.

$postBody : Google_Service_Slides_BatchUpdatePresentationRequest
$optParams : array<string|int, mixed> = array()

Optional parameters.

Return values
Google_Service_Slides_BatchUpdatePresentationResponse

call()

TODO: This function needs simplifying.

public call( $name,  $arguments[,  $expectedClass = null ]) : Google_Http_Request|expectedClass
Parameters
$name :
$arguments :
$expectedClass : = null
  • optional, the expected class name
Tags
throws
Google_Exception
Return values
Google_Http_Request|expectedClass

create()

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.

public create(Google_Service_Slides_Presentation $postBody[, array<string|int, mixed> $optParams = array() ]) : Google_Service_Slides_Presentation

Otherwise, a new ID is generated. Other fields in the request, including any provided content, are ignored. Returns the created presentation. (presentations.create)

Parameters
$postBody : Google_Service_Slides_Presentation
$optParams : array<string|int, mixed> = array()

Optional parameters.

Return values
Google_Service_Slides_Presentation

createRequestUri()

Parse/expand request parameters and create a fully qualified request uri.

public createRequestUri(string $restPath, array<string|int, mixed> $params) : string
Parameters
$restPath : string
$params : array<string|int, mixed>
Tags
static
Return values
string

$requestUrl

get()

Gets the latest version of the specified presentation. (presentations.get)

public get(string $presentationId[, array<string|int, mixed> $optParams = array() ]) : Google_Service_Slides_Presentation
Parameters
$presentationId : string

The ID of the presentation to retrieve.

$optParams : array<string|int, mixed> = array()

Optional parameters.

Return values
Google_Service_Slides_Presentation

convertToArrayAndStripNulls()

protected convertToArrayAndStripNulls(mixed $o) : mixed
Parameters
$o : mixed
Return values
mixed

Search results