googleapis.slides.v1 library

Classes

AffineTransform
AffineTransform uses a 3x3 matrix with an implied last row of 0 0 1 to transform source coordinates (x,y) into destination coordinates (x', y') according to: x' x = shear_y scale_y translate_y 1 1 After transformation, x' = scale_x * x + shear_x * y + translate_x; y' = scale_y * y + shear_y * x + translate_y; This message is therefore composed of these six matrix elements.
AutoText
A TextElement kind that represents auto text.
BatchUpdatePresentationRequest
Request message for PresentationsService.BatchUpdatePresentation.
BatchUpdatePresentationResponse
Response message from a batch update.
Bullet
Describes the bullet of a paragraph.
ColorScheme
The palette of predefined colors for a page.
ColorStop
A color and position in a gradient band.
CreateImageRequest
Creates an image.
CreateImageResponse
The result of creating an image.
CreateLineRequest
Creates a line.
CreateLineResponse
The result of creating a line.
CreateParagraphBulletsRequest
Creates bullets for all of the paragraphs that overlap with the given text index range. The nesting level of each paragraph will be determined by counting leading tabs in front of each paragraph. To avoid excess space between the bullet and the corresponding paragraph, these leading tabs are removed by this request. This may change the indices of parts of the text. If the paragraph immediately before paragraphs being updated is in a list with a matching preset, the paragraphs being updated are added to that preceding list.
CreateShapeRequest
Creates a new shape.
CreateShapeResponse
The result of creating a shape.
CreateSheetsChartRequest
Creates an embedded Google Sheets chart. NOTE: Chart creation requires at least one of the spreadsheets.readonly, spreadsheets, drive.readonly, drive.file, or drive OAuth scopes.
CreateSheetsChartResponse
The result of creating an embedded Google Sheets chart.
CreateSlideRequest
Creates a new slide.
CreateSlideResponse
The result of creating a slide.
CreateTableRequest
Creates a new table.
CreateTableResponse
The result of creating a table.
CreateVideoRequest
Creates a video. NOTE: Creating a video from Google Drive requires that the requesting app have at least one of the drive, drive.readonly, or drive.file OAuth scopes.
CreateVideoResponse
The result of creating a video.
CropProperties
The crop properties of an object enclosed in a container. For example, an Image. The crop properties is represented by the offsets of four edges which define a crop rectangle. The offsets are measured in percentage from the corresponding edges of the object's original bounding rectangle towards inside, relative to the object's original dimensions. - If the offset is in the interval (0, 1), the corresponding edge of crop rectangle is positioned inside of the object's original bounding rectangle. - If the offset is negative or greater than 1, the corresponding edge of crop rectangle is positioned outside of the object's original bounding rectangle. - If the left edge of the crop rectangle is on the right side of its right edge, the object will be flipped horizontally. - If the top edge of the crop rectangle is below its bottom edge, the object will be flipped vertically. - If all offsets and rotation angle is 0, the object is not cropped. After cropping, the content in the crop rectangle will be stretched to fit its container.
DeleteObjectRequest
Deletes an object, either pages or page elements, from the presentation.
DeleteParagraphBulletsRequest
Deletes bullets from all of the paragraphs that overlap with the given text index range. The nesting level of each paragraph will be visually preserved by adding indent to the start of the corresponding paragraph.
DeleteTableColumnRequest
Deletes a column from a table.
DeleteTableRowRequest
Deletes a row from a table.
DeleteTextRequest
Deletes text from a shape or a table cell.
Dimension
A magnitude in a single direction in the specified units.
DuplicateObjectRequest
Duplicates a slide or page element. When duplicating a slide, the duplicate slide will be created immediately following the specified slide. When duplicating a page element, the duplicate will be placed on the same page at the same position as the original.
DuplicateObjectResponse
The response of duplicating an object.
Group
A PageElement kind representing a joined collection of PageElements.
GroupObjectsRequest
Groups objects to create an object group. For example, groups PageElements to create a Group on the same page as all the children.
GroupObjectsResponse
The result of grouping objects.
Image
A PageElement kind representing an image.
ImageProperties
The properties of the Image.
InsertTableColumnsRequest
Inserts columns into a table. Other columns in the table will be resized to fit the new column.
InsertTableRowsRequest
Inserts rows into a table.
InsertTextRequest
Inserts text into a shape or a table cell.
LayoutPlaceholderIdMapping
The user-specified ID mapping for a placeholder that will be created on a slide from a specified layout.
LayoutProperties
The properties of Page are only relevant for pages with page_type LAYOUT.
LayoutReference
Slide layout reference. This may reference either: - A predefined layout - One of the layouts in the presentation.
Line
A PageElement kind representing a non-connector line, straight connector, curved connector, or bent connector.
LineConnection
The properties for one end of a Line connection.
LineFill
The fill of the line.
LineProperties
The properties of the Line. When unset, these fields default to values that match the appearance of new lines created in the Slides editor.
A hypertext link.
List
A List describes the look and feel of bullets belonging to paragraphs associated with a list. A paragraph that is part of a list has an implicit reference to that list's ID.
MasterProperties
The properties of Page that are only relevant for pages with page_type MASTER.
MergeTableCellsRequest
Merges cells in a Table.
NestingLevel
Contains properties describing the look and feel of a list bullet at a given level of nesting.
NotesProperties
The properties of Page that are only relevant for pages with page_type NOTES.
OpaqueColor
A themeable solid color value.
OptionalColor
A color that can either be fully opaque or fully transparent.
Outline
The outline of a PageElement. If these fields are unset, they may be inherited from a parent placeholder if it exists. If there is no parent, the fields will default to the value used for new page elements created in the Slides editor, which may depend on the page element kind.
OutlineFill
The fill of the outline.
Page
A page in a presentation.
PageBackgroundFill
The page background fill.
PageElement
A visual element rendered on a page.
PageElementProperties
Common properties for a page element. Note: When you initially create a PageElement, the API may modify the values of both size and transform, but the visual size will be unchanged.
PageProperties
The properties of the Page. The page will inherit properties from the parent page. Depending on the page type the hierarchy is defined in either SlideProperties or LayoutProperties.
ParagraphMarker
A TextElement kind that represents the beginning of a new paragraph.
ParagraphStyle
Styles that apply to a whole paragraph. If this text is contained in a shape with a parent placeholder, then these paragraph styles may be inherited from the parent. Which paragraph styles are inherited depend on the nesting level of lists: * A paragraph not in a list will inherit its paragraph style from the paragraph at the 0 nesting level of the list inside the parent placeholder. * A paragraph in a list will inherit its paragraph style from the paragraph at its corresponding nesting level of the list inside the parent placeholder. Inherited paragraph styles are represented as unset fields in this message.
Placeholder
The placeholder information that uniquely identifies a placeholder shape.
Presentation
A Google Slides presentation.
PresentationsPagesResourceApi
PresentationsResourceApi
Range
Specifies a contiguous range of an indexed collection, such as characters in text.
Recolor
A recolor effect applied on an image.
RefreshSheetsChartRequest
Refreshes an embedded Google Sheets chart by replacing it with the latest version of the chart from Google Sheets. NOTE: Refreshing charts requires at least one of the spreadsheets.readonly, spreadsheets, drive.readonly, or drive OAuth scopes.
ReplaceAllShapesWithImageRequest
Replaces all shapes that match the given criteria with the provided image. The images replacing the shapes are rectangular after being inserted into the presentation and do not take on the forms of the shapes.
ReplaceAllShapesWithImageResponse
The result of replacing shapes with an image.
ReplaceAllShapesWithSheetsChartRequest
Replaces all shapes that match the given criteria with the provided Google Sheets chart. The chart will be scaled and centered to fit within the bounds of the original shape. NOTE: Replacing shapes with a chart requires at least one of the spreadsheets.readonly, spreadsheets, drive.readonly, or drive OAuth scopes.
ReplaceAllShapesWithSheetsChartResponse
The result of replacing shapes with a Google Sheets chart.
ReplaceAllTextRequest
Replaces all instances of text matching a criteria with replace text.
ReplaceAllTextResponse
The result of replacing text.
ReplaceImageRequest
Replaces an existing image with a new image. Replacing an image removes some image effects from the existing image.
Request
A single kind of update to apply to a presentation.
RerouteLineRequest
Reroutes a line such that it's connected at the two closest connection sites on the connected page elements.
Response
A single response from an update.
RgbColor
An RGB color.
Shadow
The shadow properties of a page element. If these fields are unset, they may be inherited from a parent placeholder if it exists. If there is no parent, the fields will default to the value used for new page elements created in the Slides editor, which may depend on the page element kind.
Shape
A PageElement kind representing a generic shape that does not have a more specific classification.
ShapeBackgroundFill
The shape background fill.
ShapeProperties
The properties of a Shape. If the shape is a placeholder shape as determined by the placeholder field, then these properties may be inherited from a parent placeholder shape. Determining the rendered value of the property depends on the corresponding property_state field value.
SheetsChart
A PageElement kind representing a linked chart embedded from Google Sheets.
SheetsChartProperties
The properties of the SheetsChart.
Size
A width and height.
SlideProperties
The properties of Page that are only relevant for pages with page_type SLIDE.
SlidesApi
Reads and writes Google Slides presentations.
SolidFill
A solid color fill. The page or page element is filled entirely with the specified color value. If any field is unset, its value may be inherited from a parent placeholder if it exists.
StretchedPictureFill
The stretched picture fill. The page or page element is filled entirely with the specified picture. The picture is stretched to fit its container.
SubstringMatchCriteria
A criteria that matches a specific string of text in a shape or table.
Table
A PageElement kind representing a table.
TableBorderCell
The properties of each border cell.
TableBorderFill
The fill of the border.
TableBorderProperties
The border styling properties of the TableBorderCell.
TableBorderRow
Contents of each border row in a table.
TableCell
Properties and contents of each table cell.
TableCellBackgroundFill
The table cell background fill.
TableCellLocation
A location of a single table cell within a table.
TableCellProperties
The properties of the TableCell.
TableColumnProperties
Properties of each column in a table.
TableRange
A table range represents a reference to a subset of a table. It's important to note that the cells specified by a table range do not necessarily form a rectangle. For example, let's say we have a 3 x 3 table where all the cells of the last row are merged together. The table looks like this: A table range with location = (0, 0), row span = 3 and column span = 2 specifies the following cells: x x x x x
TableRow
Properties and contents of each row in a table.
TableRowProperties
Properties of each row in a table.
TextContent
The general text content. The text must reside in a compatible shape (e.g. text box or rectangle) or a table cell in a page.
TextElement
A TextElement describes the content of a range of indices in the text content of a Shape or TableCell.
TextRun
A TextElement kind that represents a run of text that all has the same styling.
TextStyle
Represents the styling that can be applied to a TextRun. If this text is contained in a shape with a parent placeholder, then these text styles may be inherited from the parent. Which text styles are inherited depend on the nesting level of lists: * A text run in a paragraph that is not in a list will inherit its text style from the the newline character in the paragraph at the 0 nesting level of the list inside the parent placeholder. * A text run in a paragraph that is in a list will inherit its text style from the newline character in the paragraph at its corresponding nesting level of the list inside the parent placeholder. Inherited text styles are represented as unset fields in this message. If text is contained in a shape without a parent placeholder, unsetting these fields will revert the style to a value matching the defaults in the Slides editor.
ThemeColorPair
A pair mapping a theme color type to the concrete color it represents.
Thumbnail
The thumbnail of a page.
UngroupObjectsRequest
Ungroups objects, such as groups.
UnmergeTableCellsRequest
Unmerges cells in a Table.
UpdateImagePropertiesRequest
Update the properties of an Image.
UpdateLineCategoryRequest
Updates the category of a line.
UpdateLinePropertiesRequest
Updates the properties of a Line.
UpdatePageElementAltTextRequest
Updates the alt text title and/or description of a page element.
UpdatePageElementsZOrderRequest
Updates the Z-order of page elements. Z-order is an ordering of the elements on the page from back to front. The page element in the front may cover the elements that are behind it.
UpdatePageElementTransformRequest
Updates the transform of a page element. Updating the transform of a group will change the absolute transform of the page elements in that group, which can change their visual appearance. See the documentation for PageElement.transform for more details.
UpdatePagePropertiesRequest
Updates the properties of a Page.
UpdateParagraphStyleRequest
Updates the styling for all of the paragraphs within a Shape or Table that overlap with the given text index range.
UpdateShapePropertiesRequest
Update the properties of a Shape.
UpdateSlidesPositionRequest
Updates the position of slides in the presentation.
UpdateTableBorderPropertiesRequest
Updates the properties of the table borders in a Table.
UpdateTableCellPropertiesRequest
Update the properties of a TableCell.
UpdateTableColumnPropertiesRequest
Updates the properties of a Table column.
UpdateTableRowPropertiesRequest
Updates the properties of a Table row.
UpdateTextStyleRequest
Update the styling of text in a Shape or Table.
UpdateVideoPropertiesRequest
Update the properties of a Video.
Video
A PageElement kind representing a video.
VideoProperties
The properties of the Video.
WeightedFontFamily
Represents a font family and weight used to style a TextRun.
WordArt
A PageElement kind representing word art.
WriteControl
Provides control over how write requests are executed.

Constants

USER_AGENT → const String
'dart-api-client slides/v1'

Exceptions / Errors

ApiRequestError
Represents a general error reported by the API endpoint.
DetailedApiRequestError
Represents a specific error reported by the API endpoint.