Class PresentationsResource
The "presentations" collection of methods.
Inherited Members
Namespace: Google.Apis.Slides.v1
Assembly: Google.Apis.Slides.v1.dll
Syntax
public class PresentationsResource
Constructors
PresentationsResource(IClientService)
Constructs a new resource.
Declaration
public PresentationsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Properties
Pages
Gets the Pages resource.
Declaration
public virtual PresentationsResource.PagesResource Pages { get; }
Property Value
Type | Description |
---|---|
PresentationsResource.PagesResource |
Methods
BatchUpdate(BatchUpdatePresentationRequest, string)
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.
Declaration
public virtual PresentationsResource.BatchUpdateRequest BatchUpdate(BatchUpdatePresentationRequest body, string presentationId)
Parameters
Type | Name | Description |
---|---|---|
BatchUpdatePresentationRequest | body | The body of the request. |
string | presentationId | The presentation to apply the updates to. |
Returns
Type | Description |
---|---|
PresentationsResource.BatchUpdateRequest |
Create(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. Otherwise, a new ID is generated. Other fields in the request,
including any provided content, are ignored. Returns the created presentation.
Declaration
public virtual PresentationsResource.CreateRequest Create(Presentation body)
Parameters
Type | Name | Description |
---|---|---|
Presentation | body | The body of the request. |
Returns
Type | Description |
---|---|
PresentationsResource.CreateRequest |
Get(string)
Gets the latest version of the specified presentation.
Declaration
public virtual PresentationsResource.GetRequest Get(string presentationId)
Parameters
Type | Name | Description |
---|---|---|
string | presentationId | The ID of the presentation to retrieve. |
Returns
Type | Description |
---|---|
PresentationsResource.GetRequest |