class Google::Apis::SlidesV1::Request
A single kind of update to apply to a presentation.
Attributes
Creates an image. Corresponds to the JSON property `createImage` @return [Google::Apis::SlidesV1::CreateImageRequest]
Creates a line. Corresponds to the JSON property `createLine` @return [Google::Apis::SlidesV1::CreateLineRequest]
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. Corresponds to the JSON property `createParagraphBullets` @return [Google::Apis::SlidesV1::CreateParagraphBulletsRequest]
Creates a new shape. Corresponds to the JSON property `createShape` @return [Google::Apis::SlidesV1::CreateShapeRequest]
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. Corresponds to the JSON property `createSheetsChart` @return [Google::Apis::SlidesV1::CreateSheetsChartRequest]
Creates a new slide. Corresponds to the JSON property `createSlide` @return [Google::Apis::SlidesV1::CreateSlideRequest]
Creates a new table. Corresponds to the JSON property `createTable` @return [Google::Apis::SlidesV1::CreateTableRequest]
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. Corresponds to the JSON property `createVideo` @return [Google::Apis::SlidesV1::CreateVideoRequest]
Deletes an object, either pages or page elements, from the presentation. Corresponds to the JSON property `deleteObject` @return [Google::Apis::SlidesV1::DeleteObjectRequest]
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. Corresponds to the JSON property `deleteParagraphBullets` @return [Google::Apis::SlidesV1::DeleteParagraphBulletsRequest]
Deletes a column from a table. Corresponds to the JSON property `deleteTableColumn` @return [Google::Apis::SlidesV1::DeleteTableColumnRequest]
Deletes a row from a table. Corresponds to the JSON property `deleteTableRow` @return [Google::Apis::SlidesV1::DeleteTableRowRequest]
Deletes text from a shape or a table cell. Corresponds to the JSON property `deleteText` @return [Google::Apis::SlidesV1::DeleteTextRequest]
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. Corresponds to the JSON property `duplicateObject` @return [Google::Apis::SlidesV1::DuplicateObjectRequest]
Groups objects to create an object group. For example, groups PageElements to create a Group
on the same page as all the children. Corresponds to the JSON property `groupObjects` @return [Google::Apis::SlidesV1::GroupObjectsRequest]
Inserts columns into a table. Other columns in the table will be resized to fit the new column. Corresponds to the JSON property `insertTableColumns` @return [Google::Apis::SlidesV1::InsertTableColumnsRequest]
Inserts rows into a table. Corresponds to the JSON property `insertTableRows` @return [Google::Apis::SlidesV1::InsertTableRowsRequest]
Inserts text into a shape or a table cell. Corresponds to the JSON property `insertText` @return [Google::Apis::SlidesV1::InsertTextRequest]
Merges cells in a Table
. Corresponds to the JSON property `mergeTableCells` @return [Google::Apis::SlidesV1::MergeTableCellsRequest]
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. Corresponds to the JSON property `refreshSheetsChart` @return [Google::Apis::SlidesV1::RefreshSheetsChartRequest]
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. Corresponds to the JSON property `replaceAllShapesWithImage` @return [Google::Apis::SlidesV1::ReplaceAllShapesWithImageRequest]
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. Corresponds to the JSON property `replaceAllShapesWithSheetsChart` @return [Google::Apis::SlidesV1::ReplaceAllShapesWithSheetsChartRequest]
Replaces all instances of text matching a criteria with replace text. Corresponds to the JSON property `replaceAllText` @return [Google::Apis::SlidesV1::ReplaceAllTextRequest]
Replaces an existing image with a new image. Replacing an image removes some image effects from the existing image. Corresponds to the JSON property `replaceImage` @return [Google::Apis::SlidesV1::ReplaceImageRequest]
Reroutes a line such that it's connected at the two closest connection sites on the connected page elements. Corresponds to the JSON property `rerouteLine` @return [Google::Apis::SlidesV1::RerouteLineRequest]
Ungroups objects, such as groups. Corresponds to the JSON property `ungroupObjects` @return [Google::Apis::SlidesV1::UngroupObjectsRequest]
Unmerges cells in a Table
. Corresponds to the JSON property `unmergeTableCells` @return [Google::Apis::SlidesV1::UnmergeTableCellsRequest]
Update the properties of an Image
. Corresponds to the JSON property `updateImageProperties` @return [Google::Apis::SlidesV1::UpdateImagePropertiesRequest]
Updates the category of a line. Corresponds to the JSON property `updateLineCategory` @return [Google::Apis::SlidesV1::UpdateLineCategoryRequest]
Updates the properties of a Line
. Corresponds to the JSON property `updateLineProperties` @return [Google::Apis::SlidesV1::UpdateLinePropertiesRequest]
Updates the alt text title and/or description of a page element. Corresponds to the JSON property `updatePageElementAltText` @return [Google::Apis::SlidesV1::UpdatePageElementAltTextRequest]
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. Corresponds to the JSON property `updatePageElementTransform` @return [Google::Apis::SlidesV1::UpdatePageElementTransformRequest]
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. Corresponds to the JSON property `updatePageElementsZOrder` @return [Google::Apis::SlidesV1::UpdatePageElementsZOrderRequest]
Updates the properties of a Page
. Corresponds to the JSON property `updatePageProperties` @return [Google::Apis::SlidesV1::UpdatePagePropertiesRequest]
Update the properties of a Shape
. Corresponds to the JSON property `updateShapeProperties` @return [Google::Apis::SlidesV1::UpdateShapePropertiesRequest]
Updates the properties of a Slide. Corresponds to the JSON property `updateSlideProperties` @return [Google::Apis::SlidesV1::UpdateSlidePropertiesRequest]
Updates the position of slides in the presentation. Corresponds to the JSON property `updateSlidesPosition` @return [Google::Apis::SlidesV1::UpdateSlidesPositionRequest]
Updates the properties of the table borders in a Table
. Corresponds to the JSON property `updateTableBorderProperties` @return [Google::Apis::SlidesV1::UpdateTableBorderPropertiesRequest]
Update the properties of a TableCell
. Corresponds to the JSON property `updateTableCellProperties` @return [Google::Apis::SlidesV1::UpdateTableCellPropertiesRequest]
Updates the properties of a Table
column. Corresponds to the JSON property `updateTableColumnProperties` @return [Google::Apis::SlidesV1::UpdateTableColumnPropertiesRequest]
Updates the properties of a Table
row. Corresponds to the JSON property `updateTableRowProperties` @return [Google::Apis::SlidesV1::UpdateTableRowPropertiesRequest]
Update the properties of a Video
. Corresponds to the JSON property `updateVideoProperties` @return [Google::Apis::SlidesV1::UpdateVideoPropertiesRequest]
Public Class Methods
# File lib/google/apis/slides_v1/classes.rb, line 3060 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/slides_v1/classes.rb, line 3065 def update!(**args) @create_image = args[:create_image] if args.key?(:create_image) @create_line = args[:create_line] if args.key?(:create_line) @create_paragraph_bullets = args[:create_paragraph_bullets] if args.key?(:create_paragraph_bullets) @create_shape = args[:create_shape] if args.key?(:create_shape) @create_sheets_chart = args[:create_sheets_chart] if args.key?(:create_sheets_chart) @create_slide = args[:create_slide] if args.key?(:create_slide) @create_table = args[:create_table] if args.key?(:create_table) @create_video = args[:create_video] if args.key?(:create_video) @delete_object = args[:delete_object] if args.key?(:delete_object) @delete_paragraph_bullets = args[:delete_paragraph_bullets] if args.key?(:delete_paragraph_bullets) @delete_table_column = args[:delete_table_column] if args.key?(:delete_table_column) @delete_table_row = args[:delete_table_row] if args.key?(:delete_table_row) @delete_text = args[:delete_text] if args.key?(:delete_text) @duplicate_object = args[:duplicate_object] if args.key?(:duplicate_object) @group_objects = args[:group_objects] if args.key?(:group_objects) @insert_table_columns = args[:insert_table_columns] if args.key?(:insert_table_columns) @insert_table_rows = args[:insert_table_rows] if args.key?(:insert_table_rows) @insert_text = args[:insert_text] if args.key?(:insert_text) @merge_table_cells = args[:merge_table_cells] if args.key?(:merge_table_cells) @refresh_sheets_chart = args[:refresh_sheets_chart] if args.key?(:refresh_sheets_chart) @replace_all_shapes_with_image = args[:replace_all_shapes_with_image] if args.key?(:replace_all_shapes_with_image) @replace_all_shapes_with_sheets_chart = args[:replace_all_shapes_with_sheets_chart] if args.key?(:replace_all_shapes_with_sheets_chart) @replace_all_text = args[:replace_all_text] if args.key?(:replace_all_text) @replace_image = args[:replace_image] if args.key?(:replace_image) @reroute_line = args[:reroute_line] if args.key?(:reroute_line) @ungroup_objects = args[:ungroup_objects] if args.key?(:ungroup_objects) @unmerge_table_cells = args[:unmerge_table_cells] if args.key?(:unmerge_table_cells) @update_image_properties = args[:update_image_properties] if args.key?(:update_image_properties) @update_line_category = args[:update_line_category] if args.key?(:update_line_category) @update_line_properties = args[:update_line_properties] if args.key?(:update_line_properties) @update_page_element_alt_text = args[:update_page_element_alt_text] if args.key?(:update_page_element_alt_text) @update_page_element_transform = args[:update_page_element_transform] if args.key?(:update_page_element_transform) @update_page_elements_z_order = args[:update_page_elements_z_order] if args.key?(:update_page_elements_z_order) @update_page_properties = args[:update_page_properties] if args.key?(:update_page_properties) @update_paragraph_style = args[:update_paragraph_style] if args.key?(:update_paragraph_style) @update_shape_properties = args[:update_shape_properties] if args.key?(:update_shape_properties) @update_slide_properties = args[:update_slide_properties] if args.key?(:update_slide_properties) @update_slides_position = args[:update_slides_position] if args.key?(:update_slides_position) @update_table_border_properties = args[:update_table_border_properties] if args.key?(:update_table_border_properties) @update_table_cell_properties = args[:update_table_cell_properties] if args.key?(:update_table_cell_properties) @update_table_column_properties = args[:update_table_column_properties] if args.key?(:update_table_column_properties) @update_table_row_properties = args[:update_table_row_properties] if args.key?(:update_table_row_properties) @update_text_style = args[:update_text_style] if args.key?(:update_text_style) @update_video_properties = args[:update_video_properties] if args.key?(:update_video_properties) end