Autogenerated update (2017-10-10)

Update:
- slides_v1
This commit is contained in:
Google APIs 2017-10-10 00:34:55 +00:00
parent 26a9af5e19
commit 6e8c114346
4 changed files with 775 additions and 1 deletions

View File

@ -54224,6 +54224,12 @@
"/slides:v1/Group": group
"/slides:v1/Group/children": children
"/slides:v1/Group/children/child": child
"/slides:v1/GroupObjectsRequest": group_objects_request
"/slides:v1/GroupObjectsRequest/childrenObjectIds": children_object_ids
"/slides:v1/GroupObjectsRequest/childrenObjectIds/children_object_id": children_object_id
"/slides:v1/GroupObjectsRequest/groupObjectId": group_object_id
"/slides:v1/GroupObjectsResponse": group_objects_response
"/slides:v1/GroupObjectsResponse/objectId": object_id_prop
"/slides:v1/Image": image
"/slides:v1/Image/contentUrl": content_url
"/slides:v1/Image/imageProperties": image_properties
@ -54285,6 +54291,9 @@
"/slides:v1/List/nestingLevel/nesting_level": nesting_level
"/slides:v1/MasterProperties": master_properties
"/slides:v1/MasterProperties/displayName": display_name
"/slides:v1/MergeTableCellsRequest": merge_table_cells_request
"/slides:v1/MergeTableCellsRequest/objectId": object_id_prop
"/slides:v1/MergeTableCellsRequest/tableRange": table_range
"/slides:v1/NestingLevel": nesting_level
"/slides:v1/NestingLevel/bulletStyle": bullet_style
"/slides:v1/NotesProperties": notes_properties
@ -54416,13 +54425,17 @@
"/slides:v1/Request/deleteTableRow": delete_table_row
"/slides:v1/Request/deleteText": delete_text
"/slides:v1/Request/duplicateObject": duplicate_object
"/slides:v1/Request/groupObjects": group_objects
"/slides:v1/Request/insertTableColumns": insert_table_columns
"/slides:v1/Request/insertTableRows": insert_table_rows
"/slides:v1/Request/insertText": insert_text
"/slides:v1/Request/mergeTableCells": merge_table_cells
"/slides:v1/Request/refreshSheetsChart": refresh_sheets_chart
"/slides:v1/Request/replaceAllShapesWithImage": replace_all_shapes_with_image
"/slides:v1/Request/replaceAllShapesWithSheetsChart": replace_all_shapes_with_sheets_chart
"/slides:v1/Request/replaceAllText": replace_all_text
"/slides:v1/Request/ungroupObjects": ungroup_objects
"/slides:v1/Request/unmergeTableCells": unmerge_table_cells
"/slides:v1/Request/updateImageProperties": update_image_properties
"/slides:v1/Request/updateLineProperties": update_line_properties
"/slides:v1/Request/updatePageElementTransform": update_page_element_transform
@ -54430,7 +54443,10 @@
"/slides:v1/Request/updateParagraphStyle": update_paragraph_style
"/slides:v1/Request/updateShapeProperties": update_shape_properties
"/slides:v1/Request/updateSlidesPosition": update_slides_position
"/slides:v1/Request/updateTableBorderProperties": update_table_border_properties
"/slides:v1/Request/updateTableCellProperties": update_table_cell_properties
"/slides:v1/Request/updateTableColumnProperties": update_table_column_properties
"/slides:v1/Request/updateTableRowProperties": update_table_row_properties
"/slides:v1/Request/updateTextStyle": update_text_style
"/slides:v1/Request/updateVideoProperties": update_video_properties
"/slides:v1/Response": response
@ -54442,6 +54458,7 @@
"/slides:v1/Response/createTable": create_table
"/slides:v1/Response/createVideo": create_video
"/slides:v1/Response/duplicateObject": duplicate_object
"/slides:v1/Response/groupObjects": group_objects
"/slides:v1/Response/replaceAllShapesWithImage": replace_all_shapes_with_image
"/slides:v1/Response/replaceAllShapesWithSheetsChart": replace_all_shapes_with_sheets_chart
"/slides:v1/Response/replaceAllText": replace_all_text
@ -54496,11 +54513,27 @@
"/slides:v1/SubstringMatchCriteria/text": text
"/slides:v1/Table": table
"/slides:v1/Table/columns": columns
"/slides:v1/Table/horizontalBorderRows": horizontal_border_rows
"/slides:v1/Table/horizontalBorderRows/horizontal_border_row": horizontal_border_row
"/slides:v1/Table/rows": rows
"/slides:v1/Table/tableColumns": table_columns
"/slides:v1/Table/tableColumns/table_column": table_column
"/slides:v1/Table/tableRows": table_rows
"/slides:v1/Table/tableRows/table_row": table_row
"/slides:v1/Table/verticalBorderRows": vertical_border_rows
"/slides:v1/Table/verticalBorderRows/vertical_border_row": vertical_border_row
"/slides:v1/TableBorderCell": table_border_cell
"/slides:v1/TableBorderCell/location": location
"/slides:v1/TableBorderCell/tableBorderProperties": table_border_properties
"/slides:v1/TableBorderFill": table_border_fill
"/slides:v1/TableBorderFill/solidFill": solid_fill
"/slides:v1/TableBorderProperties": table_border_properties
"/slides:v1/TableBorderProperties/dashStyle": dash_style
"/slides:v1/TableBorderProperties/tableBorderFill": table_border_fill
"/slides:v1/TableBorderProperties/weight": weight
"/slides:v1/TableBorderRow": table_border_row
"/slides:v1/TableBorderRow/tableBorderCells": table_border_cells
"/slides:v1/TableBorderRow/tableBorderCells/table_border_cell": table_border_cell
"/slides:v1/TableCell": table_cell
"/slides:v1/TableCell/columnSpan": column_span
"/slides:v1/TableCell/location": location
@ -54525,6 +54558,9 @@
"/slides:v1/TableRow/rowHeight": row_height
"/slides:v1/TableRow/tableCells": table_cells
"/slides:v1/TableRow/tableCells/table_cell": table_cell
"/slides:v1/TableRow/tableRowProperties": table_row_properties
"/slides:v1/TableRowProperties": table_row_properties
"/slides:v1/TableRowProperties/minRowHeight": min_row_height
"/slides:v1/TextContent": text_content
"/slides:v1/TextContent/lists": lists
"/slides:v1/TextContent/lists/list": list
@ -54559,6 +54595,12 @@
"/slides:v1/Thumbnail/contentUrl": content_url
"/slides:v1/Thumbnail/height": height
"/slides:v1/Thumbnail/width": width
"/slides:v1/UngroupObjectsRequest": ungroup_objects_request
"/slides:v1/UngroupObjectsRequest/objectIds": object_ids
"/slides:v1/UngroupObjectsRequest/objectIds/object_id": object_id_prop
"/slides:v1/UnmergeTableCellsRequest": unmerge_table_cells_request
"/slides:v1/UnmergeTableCellsRequest/objectId": object_id_prop
"/slides:v1/UnmergeTableCellsRequest/tableRange": table_range
"/slides:v1/UpdateImagePropertiesRequest": update_image_properties_request
"/slides:v1/UpdateImagePropertiesRequest/fields": fields
"/slides:v1/UpdateImagePropertiesRequest/imageProperties": image_properties
@ -54589,11 +54631,29 @@
"/slides:v1/UpdateSlidesPositionRequest/insertionIndex": insertion_index
"/slides:v1/UpdateSlidesPositionRequest/slideObjectIds": slide_object_ids
"/slides:v1/UpdateSlidesPositionRequest/slideObjectIds/slide_object_id": slide_object_id
"/slides:v1/UpdateTableBorderPropertiesRequest": update_table_border_properties_request
"/slides:v1/UpdateTableBorderPropertiesRequest/borderPosition": border_position
"/slides:v1/UpdateTableBorderPropertiesRequest/fields": fields
"/slides:v1/UpdateTableBorderPropertiesRequest/objectId": object_id_prop
"/slides:v1/UpdateTableBorderPropertiesRequest/tableBorderProperties": table_border_properties
"/slides:v1/UpdateTableBorderPropertiesRequest/tableRange": table_range
"/slides:v1/UpdateTableCellPropertiesRequest": update_table_cell_properties_request
"/slides:v1/UpdateTableCellPropertiesRequest/fields": fields
"/slides:v1/UpdateTableCellPropertiesRequest/objectId": object_id_prop
"/slides:v1/UpdateTableCellPropertiesRequest/tableCellProperties": table_cell_properties
"/slides:v1/UpdateTableCellPropertiesRequest/tableRange": table_range
"/slides:v1/UpdateTableColumnPropertiesRequest": update_table_column_properties_request
"/slides:v1/UpdateTableColumnPropertiesRequest/columnIndices": column_indices
"/slides:v1/UpdateTableColumnPropertiesRequest/columnIndices/column_index": column_index
"/slides:v1/UpdateTableColumnPropertiesRequest/fields": fields
"/slides:v1/UpdateTableColumnPropertiesRequest/objectId": object_id_prop
"/slides:v1/UpdateTableColumnPropertiesRequest/tableColumnProperties": table_column_properties
"/slides:v1/UpdateTableRowPropertiesRequest": update_table_row_properties_request
"/slides:v1/UpdateTableRowPropertiesRequest/fields": fields
"/slides:v1/UpdateTableRowPropertiesRequest/objectId": object_id_prop
"/slides:v1/UpdateTableRowPropertiesRequest/rowIndices": row_indices
"/slides:v1/UpdateTableRowPropertiesRequest/rowIndices/row_index": row_index
"/slides:v1/UpdateTableRowPropertiesRequest/tableRowProperties": table_row_properties
"/slides:v1/UpdateTextStyleRequest": update_text_style_request
"/slides:v1/UpdateTextStyleRequest/cellLocation": cell_location
"/slides:v1/UpdateTextStyleRequest/fields": fields

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/slides/
module SlidesV1
VERSION = 'V1'
REVISION = '20170824'
REVISION = '20171003'
# View and manage the files in your Google Drive
AUTH_DRIVE = 'https://www.googleapis.com/auth/drive'

View File

@ -1116,6 +1116,61 @@ module Google
end
end
# Groups objects to create an object group. For example, groups PageElements to
# create a Group on the same page as all the children.
class GroupObjectsRequest
include Google::Apis::Core::Hashable
# The object IDs of the objects to group.
# Only page elements can be grouped. There should be at least two page
# elements on the same page that are not already in another group. Some page
# elements, such as videos, tables and placeholder shapes cannot be grouped.
# Corresponds to the JSON property `childrenObjectIds`
# @return [Array<String>]
attr_accessor :children_object_ids
# A user-supplied object ID for the group to be created.
# If you specify an ID, it must be unique among all pages and page elements
# in the presentation. The ID must start with an alphanumeric character or an
# underscore (matches regex `[a-zA-Z0-9_]`); remaining characters
# may include those as well as a hyphen or colon (matches regex
# `[a-zA-Z0-9_-:]`).
# The length of the ID must not be less than 5 or greater than 50.
# If you don't specify an ID, a unique one is generated.
# Corresponds to the JSON property `groupObjectId`
# @return [String]
attr_accessor :group_object_id
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@children_object_ids = args[:children_object_ids] if args.key?(:children_object_ids)
@group_object_id = args[:group_object_id] if args.key?(:group_object_id)
end
end
# The result of grouping objects.
class GroupObjectsResponse
include Google::Apis::Core::Hashable
# The object ID of the created group.
# Corresponds to the JSON property `objectId`
# @return [String]
attr_accessor :object_id_prop
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop)
end
end
# A PageElement kind representing an
# image.
class Image
@ -1658,6 +1713,41 @@ module Google
end
end
# Merges cells in a Table.
class MergeTableCellsRequest
include Google::Apis::Core::Hashable
# The object ID of the table.
# Corresponds to the JSON property `objectId`
# @return [String]
attr_accessor :object_id_prop
# 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 ]
# Corresponds to the JSON property `tableRange`
# @return [Google::Apis::SlidesV1::TableRange]
attr_accessor :table_range
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop)
@table_range = args[:table_range] if args.key?(:table_range)
end
end
# Contains properties describing the look and feel of a list bullet at a given
# level of nesting.
class NestingLevel
@ -2744,6 +2834,12 @@ module Google
# @return [Google::Apis::SlidesV1::DuplicateObjectRequest]
attr_accessor :duplicate_object
# 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]
attr_accessor :group_objects
# Inserts columns into a table.
# Other columns in the table will be resized to fit the new column.
# Corresponds to the JSON property `insertTableColumns`
@ -2760,6 +2856,11 @@ module Google
# @return [Google::Apis::SlidesV1::InsertTextRequest]
attr_accessor :insert_text
# Merges cells in a Table.
# Corresponds to the JSON property `mergeTableCells`
# @return [Google::Apis::SlidesV1::MergeTableCellsRequest]
attr_accessor :merge_table_cells
# 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,
@ -2787,6 +2888,16 @@ module Google
# @return [Google::Apis::SlidesV1::ReplaceAllTextRequest]
attr_accessor :replace_all_text
# Ungroups objects, such as groups.
# Corresponds to the JSON property `ungroupObjects`
# @return [Google::Apis::SlidesV1::UngroupObjectsRequest]
attr_accessor :ungroup_objects
# Unmerges cells in a Table.
# Corresponds to the JSON property `unmergeTableCells`
# @return [Google::Apis::SlidesV1::UnmergeTableCellsRequest]
attr_accessor :unmerge_table_cells
# Update the properties of an Image.
# Corresponds to the JSON property `updateImageProperties`
# @return [Google::Apis::SlidesV1::UpdateImagePropertiesRequest]
@ -2826,11 +2937,26 @@ module Google
# @return [Google::Apis::SlidesV1::UpdateSlidesPositionRequest]
attr_accessor :update_slides_position
# Updates the properties of the table borders in a Table.
# Corresponds to the JSON property `updateTableBorderProperties`
# @return [Google::Apis::SlidesV1::UpdateTableBorderPropertiesRequest]
attr_accessor :update_table_border_properties
# Update the properties of a TableCell.
# Corresponds to the JSON property `updateTableCellProperties`
# @return [Google::Apis::SlidesV1::UpdateTableCellPropertiesRequest]
attr_accessor :update_table_cell_properties
# Updates the properties of a Table column.
# Corresponds to the JSON property `updateTableColumnProperties`
# @return [Google::Apis::SlidesV1::UpdateTableColumnPropertiesRequest]
attr_accessor :update_table_column_properties
# Updates the properties of a Table row.
# Corresponds to the JSON property `updateTableRowProperties`
# @return [Google::Apis::SlidesV1::UpdateTableRowPropertiesRequest]
attr_accessor :update_table_row_properties
# Update the styling of text in a Shape or
# Table.
# Corresponds to the JSON property `updateTextStyle`
@ -2862,13 +2988,17 @@ module Google
@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)
@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_properties = args[:update_line_properties] if args.key?(:update_line_properties)
@update_page_element_transform = args[:update_page_element_transform] if args.key?(:update_page_element_transform)
@ -2876,7 +3006,10 @@ module Google
@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_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
@ -2926,6 +3059,11 @@ module Google
# @return [Google::Apis::SlidesV1::DuplicateObjectResponse]
attr_accessor :duplicate_object
# The result of grouping objects.
# Corresponds to the JSON property `groupObjects`
# @return [Google::Apis::SlidesV1::GroupObjectsResponse]
attr_accessor :group_objects
# The result of replacing shapes with an image.
# Corresponds to the JSON property `replaceAllShapesWithImage`
# @return [Google::Apis::SlidesV1::ReplaceAllShapesWithImageResponse]
@ -2955,6 +3093,7 @@ module Google
@create_table = args[:create_table] if args.key?(:create_table)
@create_video = args[:create_video] if args.key?(:create_video)
@duplicate_object = args[:duplicate_object] if args.key?(:duplicate_object)
@group_objects = args[:group_objects] if args.key?(:group_objects)
@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)
@ -3421,6 +3560,15 @@ module Google
# @return [Fixnum]
attr_accessor :columns
# Properties of horizontal cell borders.
# A table's horizontal cell borders are represented as a grid. The grid has
# one more row than the number of rows in the table and the same number of
# columns as the table. For example, if the table is 3 x 3, its horizontal
# borders will be represented as a grid with 4 rows and 3 columns.
# Corresponds to the JSON property `horizontalBorderRows`
# @return [Array<Google::Apis::SlidesV1::TableBorderRow>]
attr_accessor :horizontal_border_rows
# Number of rows in the table.
# Corresponds to the JSON property `rows`
# @return [Fixnum]
@ -3439,6 +3587,15 @@ module Google
# @return [Array<Google::Apis::SlidesV1::TableRow>]
attr_accessor :table_rows
# Properties of vertical cell borders.
# A table's vertical cell borders are represented as a grid. The grid has the
# same number of rows as the table and one more column than the number of
# columns in the table. For example, if the table is 3 x 3, its vertical
# borders will be represented as a grid with 3 rows and 4 columns.
# Corresponds to the JSON property `verticalBorderRows`
# @return [Array<Google::Apis::SlidesV1::TableBorderRow>]
attr_accessor :vertical_border_rows
def initialize(**args)
update!(**args)
end
@ -3446,9 +3603,111 @@ module Google
# Update properties of this object
def update!(**args)
@columns = args[:columns] if args.key?(:columns)
@horizontal_border_rows = args[:horizontal_border_rows] if args.key?(:horizontal_border_rows)
@rows = args[:rows] if args.key?(:rows)
@table_columns = args[:table_columns] if args.key?(:table_columns)
@table_rows = args[:table_rows] if args.key?(:table_rows)
@vertical_border_rows = args[:vertical_border_rows] if args.key?(:vertical_border_rows)
end
end
# The properties of each border cell.
class TableBorderCell
include Google::Apis::Core::Hashable
# A location of a single table cell within a table.
# Corresponds to the JSON property `location`
# @return [Google::Apis::SlidesV1::TableCellLocation]
attr_accessor :location
# The border styling properties of the
# TableBorderCell.
# Corresponds to the JSON property `tableBorderProperties`
# @return [Google::Apis::SlidesV1::TableBorderProperties]
attr_accessor :table_border_properties
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@location = args[:location] if args.key?(:location)
@table_border_properties = args[:table_border_properties] if args.key?(:table_border_properties)
end
end
# The fill of the border.
class TableBorderFill
include Google::Apis::Core::Hashable
# 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.
# Corresponds to the JSON property `solidFill`
# @return [Google::Apis::SlidesV1::SolidFill]
attr_accessor :solid_fill
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@solid_fill = args[:solid_fill] if args.key?(:solid_fill)
end
end
# The border styling properties of the
# TableBorderCell.
class TableBorderProperties
include Google::Apis::Core::Hashable
# The dash style of the border.
# Corresponds to the JSON property `dashStyle`
# @return [String]
attr_accessor :dash_style
# The fill of the border.
# Corresponds to the JSON property `tableBorderFill`
# @return [Google::Apis::SlidesV1::TableBorderFill]
attr_accessor :table_border_fill
# A magnitude in a single direction in the specified units.
# Corresponds to the JSON property `weight`
# @return [Google::Apis::SlidesV1::Dimension]
attr_accessor :weight
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@dash_style = args[:dash_style] if args.key?(:dash_style)
@table_border_fill = args[:table_border_fill] if args.key?(:table_border_fill)
@weight = args[:weight] if args.key?(:weight)
end
end
# Contents of each border row in a table.
class TableBorderRow
include Google::Apis::Core::Hashable
# Properties of each border cell. When a border's adjacent table cells are
# merged, it is not included in the response.
# Corresponds to the JSON property `tableBorderCells`
# @return [Array<Google::Apis::SlidesV1::TableBorderCell>]
attr_accessor :table_border_cells
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@table_border_cells = args[:table_border_cells] if args.key?(:table_border_cells)
end
end
@ -3650,6 +3909,11 @@ module Google
# @return [Array<Google::Apis::SlidesV1::TableCell>]
attr_accessor :table_cells
# Properties of each row in a table.
# Corresponds to the JSON property `tableRowProperties`
# @return [Google::Apis::SlidesV1::TableRowProperties]
attr_accessor :table_row_properties
def initialize(**args)
update!(**args)
end
@ -3658,6 +3922,26 @@ module Google
def update!(**args)
@row_height = args[:row_height] if args.key?(:row_height)
@table_cells = args[:table_cells] if args.key?(:table_cells)
@table_row_properties = args[:table_row_properties] if args.key?(:table_row_properties)
end
end
# Properties of each row in a table.
class TableRowProperties
include Google::Apis::Core::Hashable
# A magnitude in a single direction in the specified units.
# Corresponds to the JSON property `minRowHeight`
# @return [Google::Apis::SlidesV1::Dimension]
attr_accessor :min_row_height
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@min_row_height = args[:min_row_height] if args.key?(:min_row_height)
end
end
@ -3949,6 +4233,64 @@ module Google
end
end
# Ungroups objects, such as groups.
class UngroupObjectsRequest
include Google::Apis::Core::Hashable
# The object IDs of the objects to ungroup.
# Only groups that are not inside other
# groups can be ungrouped. All the groups
# should be on the same page. The group itself is deleted. The visual sizes
# and positions of all the children are preserved.
# Corresponds to the JSON property `objectIds`
# @return [Array<String>]
attr_accessor :object_ids
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@object_ids = args[:object_ids] if args.key?(:object_ids)
end
end
# Unmerges cells in a Table.
class UnmergeTableCellsRequest
include Google::Apis::Core::Hashable
# The object ID of the table.
# Corresponds to the JSON property `objectId`
# @return [String]
attr_accessor :object_id_prop
# 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 ]
# Corresponds to the JSON property `tableRange`
# @return [Google::Apis::SlidesV1::TableRange]
attr_accessor :table_range
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop)
@table_range = args[:table_range] if args.key?(:table_range)
end
end
# Update the properties of an Image.
class UpdateImagePropertiesRequest
include Google::Apis::Core::Hashable
@ -4245,6 +4587,69 @@ module Google
end
end
# Updates the properties of the table borders in a Table.
class UpdateTableBorderPropertiesRequest
include Google::Apis::Core::Hashable
# The border position in the table range the updates should apply to. If a
# border position is not specified, the updates will apply to all borders in
# the table range.
# Corresponds to the JSON property `borderPosition`
# @return [String]
attr_accessor :border_position
# The fields that should be updated.
# At least one field must be specified. The root `tableBorderProperties` is
# implied and should not be specified. A single `"*"` can be used as
# short-hand for listing every field.
# For example to update the table border solid fill color, set
# `fields` to `"tableBorderFill.solidFill.color"`.
# To reset a property to its default value, include its field name in the
# field mask but leave the field itself unset.
# Corresponds to the JSON property `fields`
# @return [String]
attr_accessor :fields
# The object ID of the table.
# Corresponds to the JSON property `objectId`
# @return [String]
attr_accessor :object_id_prop
# The border styling properties of the
# TableBorderCell.
# Corresponds to the JSON property `tableBorderProperties`
# @return [Google::Apis::SlidesV1::TableBorderProperties]
attr_accessor :table_border_properties
# 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 ]
# Corresponds to the JSON property `tableRange`
# @return [Google::Apis::SlidesV1::TableRange]
attr_accessor :table_range
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@border_position = args[:border_position] if args.key?(:border_position)
@fields = args[:fields] if args.key?(:fields)
@object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop)
@table_border_properties = args[:table_border_properties] if args.key?(:table_border_properties)
@table_range = args[:table_range] if args.key?(:table_range)
end
end
# Update the properties of a TableCell.
class UpdateTableCellPropertiesRequest
include Google::Apis::Core::Hashable
@ -4299,6 +4704,95 @@ module Google
end
end
# Updates the properties of a Table column.
class UpdateTableColumnPropertiesRequest
include Google::Apis::Core::Hashable
# The list of zero-based indices specifying which columns to update. If no
# indices are provided, all columns in the table will be updated.
# Corresponds to the JSON property `columnIndices`
# @return [Array<Fixnum>]
attr_accessor :column_indices
# The fields that should be updated.
# At least one field must be specified. The root `tableColumnProperties` is
# implied and should not be specified. A single `"*"` can be used as
# short-hand for listing every field.
# For example to update the column width, set `fields` to `"column_width"`.
# If '"column_width"' is included in the field mask but the property is left
# unset, the column width will default to 406,400 EMU (32 points).
# Corresponds to the JSON property `fields`
# @return [String]
attr_accessor :fields
# The object ID of the table.
# Corresponds to the JSON property `objectId`
# @return [String]
attr_accessor :object_id_prop
# Properties of each column in a table.
# Corresponds to the JSON property `tableColumnProperties`
# @return [Google::Apis::SlidesV1::TableColumnProperties]
attr_accessor :table_column_properties
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@column_indices = args[:column_indices] if args.key?(:column_indices)
@fields = args[:fields] if args.key?(:fields)
@object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop)
@table_column_properties = args[:table_column_properties] if args.key?(:table_column_properties)
end
end
# Updates the properties of a Table row.
class UpdateTableRowPropertiesRequest
include Google::Apis::Core::Hashable
# The fields that should be updated.
# At least one field must be specified. The root `tableRowProperties` is
# implied and should not be specified. A single `"*"` can be used as
# short-hand for listing every field.
# For example to update the minimum row height, set `fields` to
# `"min_row_height"`.
# If '"min_row_height"' is included in the field mask but the property is
# left unset, the minimum row height will default to 0.
# Corresponds to the JSON property `fields`
# @return [String]
attr_accessor :fields
# The object ID of the table.
# Corresponds to the JSON property `objectId`
# @return [String]
attr_accessor :object_id_prop
# The list of zero-based indices specifying which rows to update. If no
# indices are provided, all rows in the table will be updated.
# Corresponds to the JSON property `rowIndices`
# @return [Array<Fixnum>]
attr_accessor :row_indices
# Properties of each row in a table.
# Corresponds to the JSON property `tableRowProperties`
# @return [Google::Apis::SlidesV1::TableRowProperties]
attr_accessor :table_row_properties
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@fields = args[:fields] if args.key?(:fields)
@object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop)
@row_indices = args[:row_indices] if args.key?(:row_indices)
@table_row_properties = args[:table_row_properties] if args.key?(:table_row_properties)
end
end
# Update the styling of text in a Shape or
# Table.
class UpdateTextStyleRequest

View File

@ -214,6 +214,18 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class GroupObjectsRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GroupObjectsResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Image
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -298,6 +310,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class MergeTableCellsRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class NestingLevel
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -532,6 +550,30 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class TableBorderCell
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class TableBorderFill
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class TableBorderProperties
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class TableBorderRow
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class TableCell
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -574,6 +616,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class TableRowProperties
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class TextContent
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -610,6 +658,18 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class UngroupObjectsRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class UnmergeTableCellsRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class UpdateImagePropertiesRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -652,12 +712,30 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class UpdateTableBorderPropertiesRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class UpdateTableCellPropertiesRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class UpdateTableColumnPropertiesRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class UpdateTableRowPropertiesRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class UpdateTextStyleRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -997,6 +1075,21 @@ module Google
end
end
class GroupObjectsRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :children_object_ids, as: 'childrenObjectIds'
property :group_object_id, as: 'groupObjectId'
end
end
class GroupObjectsResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :object_id_prop, as: 'objectId'
end
end
class Image
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -1143,6 +1236,15 @@ module Google
end
end
class MergeTableCellsRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :object_id_prop, as: 'objectId'
property :table_range, as: 'tableRange', class: Google::Apis::SlidesV1::TableRange, decorator: Google::Apis::SlidesV1::TableRange::Representation
end
end
class NestingLevel
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -1446,12 +1548,16 @@ module Google
property :duplicate_object, as: 'duplicateObject', class: Google::Apis::SlidesV1::DuplicateObjectRequest, decorator: Google::Apis::SlidesV1::DuplicateObjectRequest::Representation
property :group_objects, as: 'groupObjects', class: Google::Apis::SlidesV1::GroupObjectsRequest, decorator: Google::Apis::SlidesV1::GroupObjectsRequest::Representation
property :insert_table_columns, as: 'insertTableColumns', class: Google::Apis::SlidesV1::InsertTableColumnsRequest, decorator: Google::Apis::SlidesV1::InsertTableColumnsRequest::Representation
property :insert_table_rows, as: 'insertTableRows', class: Google::Apis::SlidesV1::InsertTableRowsRequest, decorator: Google::Apis::SlidesV1::InsertTableRowsRequest::Representation
property :insert_text, as: 'insertText', class: Google::Apis::SlidesV1::InsertTextRequest, decorator: Google::Apis::SlidesV1::InsertTextRequest::Representation
property :merge_table_cells, as: 'mergeTableCells', class: Google::Apis::SlidesV1::MergeTableCellsRequest, decorator: Google::Apis::SlidesV1::MergeTableCellsRequest::Representation
property :refresh_sheets_chart, as: 'refreshSheetsChart', class: Google::Apis::SlidesV1::RefreshSheetsChartRequest, decorator: Google::Apis::SlidesV1::RefreshSheetsChartRequest::Representation
property :replace_all_shapes_with_image, as: 'replaceAllShapesWithImage', class: Google::Apis::SlidesV1::ReplaceAllShapesWithImageRequest, decorator: Google::Apis::SlidesV1::ReplaceAllShapesWithImageRequest::Representation
@ -1460,6 +1566,10 @@ module Google
property :replace_all_text, as: 'replaceAllText', class: Google::Apis::SlidesV1::ReplaceAllTextRequest, decorator: Google::Apis::SlidesV1::ReplaceAllTextRequest::Representation
property :ungroup_objects, as: 'ungroupObjects', class: Google::Apis::SlidesV1::UngroupObjectsRequest, decorator: Google::Apis::SlidesV1::UngroupObjectsRequest::Representation
property :unmerge_table_cells, as: 'unmergeTableCells', class: Google::Apis::SlidesV1::UnmergeTableCellsRequest, decorator: Google::Apis::SlidesV1::UnmergeTableCellsRequest::Representation
property :update_image_properties, as: 'updateImageProperties', class: Google::Apis::SlidesV1::UpdateImagePropertiesRequest, decorator: Google::Apis::SlidesV1::UpdateImagePropertiesRequest::Representation
property :update_line_properties, as: 'updateLineProperties', class: Google::Apis::SlidesV1::UpdateLinePropertiesRequest, decorator: Google::Apis::SlidesV1::UpdateLinePropertiesRequest::Representation
@ -1474,8 +1584,14 @@ module Google
property :update_slides_position, as: 'updateSlidesPosition', class: Google::Apis::SlidesV1::UpdateSlidesPositionRequest, decorator: Google::Apis::SlidesV1::UpdateSlidesPositionRequest::Representation
property :update_table_border_properties, as: 'updateTableBorderProperties', class: Google::Apis::SlidesV1::UpdateTableBorderPropertiesRequest, decorator: Google::Apis::SlidesV1::UpdateTableBorderPropertiesRequest::Representation
property :update_table_cell_properties, as: 'updateTableCellProperties', class: Google::Apis::SlidesV1::UpdateTableCellPropertiesRequest, decorator: Google::Apis::SlidesV1::UpdateTableCellPropertiesRequest::Representation
property :update_table_column_properties, as: 'updateTableColumnProperties', class: Google::Apis::SlidesV1::UpdateTableColumnPropertiesRequest, decorator: Google::Apis::SlidesV1::UpdateTableColumnPropertiesRequest::Representation
property :update_table_row_properties, as: 'updateTableRowProperties', class: Google::Apis::SlidesV1::UpdateTableRowPropertiesRequest, decorator: Google::Apis::SlidesV1::UpdateTableRowPropertiesRequest::Representation
property :update_text_style, as: 'updateTextStyle', class: Google::Apis::SlidesV1::UpdateTextStyleRequest, decorator: Google::Apis::SlidesV1::UpdateTextStyleRequest::Representation
property :update_video_properties, as: 'updateVideoProperties', class: Google::Apis::SlidesV1::UpdateVideoPropertiesRequest, decorator: Google::Apis::SlidesV1::UpdateVideoPropertiesRequest::Representation
@ -1502,6 +1618,8 @@ module Google
property :duplicate_object, as: 'duplicateObject', class: Google::Apis::SlidesV1::DuplicateObjectResponse, decorator: Google::Apis::SlidesV1::DuplicateObjectResponse::Representation
property :group_objects, as: 'groupObjects', class: Google::Apis::SlidesV1::GroupObjectsResponse, decorator: Google::Apis::SlidesV1::GroupObjectsResponse::Representation
property :replace_all_shapes_with_image, as: 'replaceAllShapesWithImage', class: Google::Apis::SlidesV1::ReplaceAllShapesWithImageResponse, decorator: Google::Apis::SlidesV1::ReplaceAllShapesWithImageResponse::Representation
property :replace_all_shapes_with_sheets_chart, as: 'replaceAllShapesWithSheetsChart', class: Google::Apis::SlidesV1::ReplaceAllShapesWithSheetsChartResponse, decorator: Google::Apis::SlidesV1::ReplaceAllShapesWithSheetsChartResponse::Representation
@ -1642,11 +1760,52 @@ module Google
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :columns, as: 'columns'
collection :horizontal_border_rows, as: 'horizontalBorderRows', class: Google::Apis::SlidesV1::TableBorderRow, decorator: Google::Apis::SlidesV1::TableBorderRow::Representation
property :rows, as: 'rows'
collection :table_columns, as: 'tableColumns', class: Google::Apis::SlidesV1::TableColumnProperties, decorator: Google::Apis::SlidesV1::TableColumnProperties::Representation
collection :table_rows, as: 'tableRows', class: Google::Apis::SlidesV1::TableRow, decorator: Google::Apis::SlidesV1::TableRow::Representation
collection :vertical_border_rows, as: 'verticalBorderRows', class: Google::Apis::SlidesV1::TableBorderRow, decorator: Google::Apis::SlidesV1::TableBorderRow::Representation
end
end
class TableBorderCell
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :location, as: 'location', class: Google::Apis::SlidesV1::TableCellLocation, decorator: Google::Apis::SlidesV1::TableCellLocation::Representation
property :table_border_properties, as: 'tableBorderProperties', class: Google::Apis::SlidesV1::TableBorderProperties, decorator: Google::Apis::SlidesV1::TableBorderProperties::Representation
end
end
class TableBorderFill
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :solid_fill, as: 'solidFill', class: Google::Apis::SlidesV1::SolidFill, decorator: Google::Apis::SlidesV1::SolidFill::Representation
end
end
class TableBorderProperties
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :dash_style, as: 'dashStyle'
property :table_border_fill, as: 'tableBorderFill', class: Google::Apis::SlidesV1::TableBorderFill, decorator: Google::Apis::SlidesV1::TableBorderFill::Representation
property :weight, as: 'weight', class: Google::Apis::SlidesV1::Dimension, decorator: Google::Apis::SlidesV1::Dimension::Representation
end
end
class TableBorderRow
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :table_border_cells, as: 'tableBorderCells', class: Google::Apis::SlidesV1::TableBorderCell, decorator: Google::Apis::SlidesV1::TableBorderCell::Representation
end
end
@ -1714,6 +1873,16 @@ module Google
collection :table_cells, as: 'tableCells', class: Google::Apis::SlidesV1::TableCell, decorator: Google::Apis::SlidesV1::TableCell::Representation
property :table_row_properties, as: 'tableRowProperties', class: Google::Apis::SlidesV1::TableRowProperties, decorator: Google::Apis::SlidesV1::TableRowProperties::Representation
end
end
class TableRowProperties
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :min_row_height, as: 'minRowHeight', class: Google::Apis::SlidesV1::Dimension, decorator: Google::Apis::SlidesV1::Dimension::Representation
end
end
@ -1791,6 +1960,22 @@ module Google
end
end
class UngroupObjectsRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :object_ids, as: 'objectIds'
end
end
class UnmergeTableCellsRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :object_id_prop, as: 'objectId'
property :table_range, as: 'tableRange', class: Google::Apis::SlidesV1::TableRange, decorator: Google::Apis::SlidesV1::TableRange::Representation
end
end
class UpdateImagePropertiesRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -1863,6 +2048,19 @@ module Google
end
end
class UpdateTableBorderPropertiesRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :border_position, as: 'borderPosition'
property :fields, as: 'fields'
property :object_id_prop, as: 'objectId'
property :table_border_properties, as: 'tableBorderProperties', class: Google::Apis::SlidesV1::TableBorderProperties, decorator: Google::Apis::SlidesV1::TableBorderProperties::Representation
property :table_range, as: 'tableRange', class: Google::Apis::SlidesV1::TableRange, decorator: Google::Apis::SlidesV1::TableRange::Representation
end
end
class UpdateTableCellPropertiesRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -1875,6 +2073,28 @@ module Google
end
end
class UpdateTableColumnPropertiesRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :column_indices, as: 'columnIndices'
property :fields, as: 'fields'
property :object_id_prop, as: 'objectId'
property :table_column_properties, as: 'tableColumnProperties', class: Google::Apis::SlidesV1::TableColumnProperties, decorator: Google::Apis::SlidesV1::TableColumnProperties::Representation
end
end
class UpdateTableRowPropertiesRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :fields, as: 'fields'
property :object_id_prop, as: 'objectId'
collection :row_indices, as: 'rowIndices'
property :table_row_properties, as: 'tableRowProperties', class: Google::Apis::SlidesV1::TableRowProperties, decorator: Google::Apis::SlidesV1::TableRowProperties::Representation
end
end
class UpdateTextStyleRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation