Regen docs (#364)
diff --git a/docs/dyn/slides_v1.presentations.html b/docs/dyn/slides_v1.presentations.html
index 95b1c7b..b9b50f2 100644
--- a/docs/dyn/slides_v1.presentations.html
+++ b/docs/dyn/slides_v1.presentations.html
@@ -152,11 +152,12 @@
# grapheme cluster.
},
"insertTableRows": { # Inserts rows into a table. # Inserts rows into a table.
- "number": 42, # The number of rows to be inserted. Maximum 20 per request.
"insertBelow": True or False, # Whether to insert new rows below the reference cell location.
#
# - `True`: insert below the cell.
# - `False`: insert above the cell.
+ "tableObjectId": "A String", # The table to insert rows into.
+ "number": 42, # The number of rows to be inserted. Maximum 20 per request.
"cellLocation": { # A location of a single table cell within a table. # The reference table cell location from which rows will be inserted.
#
# A new row will be inserted above (or below) the row where the reference
@@ -165,7 +166,6 @@
"rowIndex": 42, # The 0-based row index.
"columnIndex": 42, # The 0-based column index.
},
- "tableObjectId": "A String", # The table to insert rows into.
},
"createVideo": { # Creates a video. # Creates a video.
"source": "A String", # The video source.
@@ -208,6 +208,10 @@
},
},
},
+ "id": "A String", # The video source's unique identifier for this video.
+ #
+ # e.g. For YouTube video https://www.youtube.com/watch?v=7U3axjORYZ0,
+ # the ID is 7U3axjORYZ0.
"objectId": "A String", # A user-supplied object ID.
#
# If you specify an ID, it must be unique among all pages and page elements
@@ -218,10 +222,6 @@
# 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.
- "id": "A String", # The video source's unique identifier for this video.
- #
- # e.g. For YouTube video https://www.youtube.com/watch?v=7U3axjORYZ0,
- # the ID is 7U3axjORYZ0.
},
"deleteTableRow": { # Deletes a row from a table. # Deletes a row from a table.
"cellLocation": { # A location of a single table cell within a table. # The reference table cell location from which a row will be deleted.
@@ -253,14 +253,6 @@
# 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.
- "dashStyle": "A String", # The dash style of the outline.
- "propertyState": "A String", # The outline property state.
- #
- # Updating the the outline on a page element will implicitly update this
- # field to`RENDERED`, unless another value is specified in the same request.
- # To have no outline on a page element, set this field to `NOT_RENDERED`. In
- # this case, any other outline fields set in the same request will be
- # ignored.
"outlineFill": { # The fill of the outline. # The fill of the outline.
"solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill.
# specified color value.
@@ -284,6 +276,14 @@
# a value of 0.0 corresponds to a completely transparent color.
},
},
+ "propertyState": "A String", # The outline property state.
+ #
+ # Updating the the outline on a page element will implicitly update this
+ # field to`RENDERED`, unless another value is specified in the same request.
+ # To have no outline on a page element, set this field to `NOT_RENDERED`. In
+ # this case, any other outline fields set in the same request will be
+ # ignored.
+ "dashStyle": "A String", # The dash style of the outline.
"weight": { # A magnitude in a single direction in the specified units. # The thickness of the outline.
"magnitude": 3.14, # The magnitude.
"unit": "A String", # The units for magnitude.
@@ -294,7 +294,11 @@
"recolor": { # A recolor effect applied on an image. # The recolor effect of the image. If not set, the image is not recolored.
# This property is read-only.
"recolorStops": [ # The recolor effect is represented by a gradient, which is a list of color
- # stops. This property is read-only.
+ # stops.
+ #
+ # The colors in the gradient will replace the corresponding colors at
+ # the same position in the color palette and apply to the image. This
+ # property is read-only.
{ # A color and position in a gradient band.
"color": { # A themeable solid color value. # The color of the gradient stop.
"themeColor": "A String", # An opaque theme color.
@@ -304,19 +308,24 @@
"red": 3.14, # The red component of the color, from 0.0 to 1.0.
},
},
- "position": 3.14, # The relative position of the color stop in the gradient band measured
- # in percentage. The value should be in the interval [0.0, 1.0].
"alpha": 3.14, # The alpha value of this color in the gradient band. Defaults to 1.0,
# fully opaque.
+ "position": 3.14, # The relative position of the color stop in the gradient band measured
+ # in percentage. The value should be in the interval [0.0, 1.0].
},
],
+ "name": "A String", # The name of the recolor effect.
+ #
+ # The name is determined from the `recolor_stops` by matching the gradient
+ # against the colors in the page's current color scheme. This property is
+ # read-only.
},
"link": { # A hypertext link. # The hyperlink destination of the image. If unset, there is no link.
"url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
"slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
# in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
"relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
# addressed by its position.
},
@@ -349,12 +358,12 @@
# object's original width.
"angle": 3.14, # The rotation angle of the crop window around its center, in radians.
# Rotation angle is applied after the offset.
- "bottomOffset": 3.14, # The offset specifies the bottom edge of the crop rectangle that is located
- # above the original bounding rectangle bottom edge, relative to the object's
- # original height.
"rightOffset": 3.14, # The offset specifies the right edge of the crop rectangle that is located
# to the left of the original bounding rectangle right edge, relative to the
# object's original width.
+ "bottomOffset": 3.14, # The offset specifies the bottom edge of the crop rectangle that is located
+ # above the original bounding rectangle bottom edge, relative to the object's
+ # original height.
"topOffset": 3.14, # The offset specifies the top edge of the crop rectangle that is located
# below the original bounding rectangle top edge, relative to the object's
# original height.
@@ -470,6 +479,25 @@
#
# If you don't specify an ID, a unique one is generated.
},
+ "replaceAllShapesWithSheetsChart": { # Replaces all shapes that match the given criteria with the provided Google # Replaces all shapes matching some criteria with a Google Sheets chart.
+ # 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.
+ "spreadsheetId": "A String", # The ID of the Google Sheets spreadsheet that contains the chart.
+ "chartId": 42, # The ID of the specific chart in the Google Sheets spreadsheet.
+ "linkingMode": "A String", # The mode with which the chart is linked to the source spreadsheet. When
+ # not specified, the chart will be an image that is not linked.
+ "containsText": { # A criteria that matches a specific string of text in a shape or table. # The criteria that the shapes must match in order to be replaced. The
+ # request will replace all of the shapes that contain the given text.
+ "text": "A String", # The text to search for in the shape or table.
+ "matchCase": True or False, # Indicates whether the search should respect case:
+ #
+ # - `True`: the search is case sensitive.
+ # - `False`: the search is case insensitive.
+ },
+ },
"createImage": { # Creates an image. # Creates an image.
"url": "A String", # The image URL.
#
@@ -533,6 +561,18 @@
# If you don't specify an ID, a unique one is generated.
},
"updateVideoProperties": { # Update the properties of a Video. # Updates the properties of a Video.
+ "fields": "A String", # The fields that should be updated.
+ #
+ # At least one field must be specified. The root `videoProperties` is
+ # implied and should not be specified. A single `"*"` can be used as
+ # short-hand for listing every field.
+ #
+ # For example to update the video outline color, set `fields` to
+ # `"outline.outlineFill.solidFill.color"`.
+ #
+ # To reset a property to its default value, include its field name in the
+ # field mask but leave the field itself unset.
+ "objectId": "A String", # The object ID of the video the updates are applied to.
"videoProperties": { # The properties of the Video. # The video properties to update.
"outline": { # The outline of a PageElement. # The outline of the video. The default outline matches the defaults for new
# videos created in the Slides editor.
@@ -541,14 +581,6 @@
# 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.
- "dashStyle": "A String", # The dash style of the outline.
- "propertyState": "A String", # The outline property state.
- #
- # Updating the the outline on a page element will implicitly update this
- # field to`RENDERED`, unless another value is specified in the same request.
- # To have no outline on a page element, set this field to `NOT_RENDERED`. In
- # this case, any other outline fields set in the same request will be
- # ignored.
"outlineFill": { # The fill of the outline. # The fill of the outline.
"solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill.
# specified color value.
@@ -572,83 +604,175 @@
# a value of 0.0 corresponds to a completely transparent color.
},
},
+ "propertyState": "A String", # The outline property state.
+ #
+ # Updating the the outline on a page element will implicitly update this
+ # field to`RENDERED`, unless another value is specified in the same request.
+ # To have no outline on a page element, set this field to `NOT_RENDERED`. In
+ # this case, any other outline fields set in the same request will be
+ # ignored.
+ "dashStyle": "A String", # The dash style of the outline.
"weight": { # A magnitude in a single direction in the specified units. # The thickness of the outline.
"magnitude": 3.14, # The magnitude.
"unit": "A String", # The units for magnitude.
},
},
},
- "objectId": "A String", # The object ID of the video the updates are applied to.
- "fields": "A String", # The fields that should be updated.
- #
- # At least one field must be specified. The root `videoProperties` is
- # implied and should not be specified. A single `"*"` can be used as
- # short-hand for listing every field.
- #
- # For example to update the video outline color, set `fields` to
- # `"outline.outlineFill.solidFill.color"`.
- #
- # To reset a property to its default value, include its field name in the
- # field mask but leave the field itself unset.
},
- "updateLineProperties": { # Updates the properties of a Line. # Updates the properties of a Line.
+ "deleteParagraphBullets": { # Deletes bullets from all of the paragraphs that overlap with the given text # Deletes bullets from paragraphs.
+ # index range.
+ #
+ # The nesting level of each paragraph will be visually preserved by adding
+ # indent to the start of the corresponding paragraph.
+ "cellLocation": { # A location of a single table cell within a table. # The optional table cell location if the text to be modified is in a table
+ # cell. If present, the object_id must refer to a table.
+ "rowIndex": 42, # The 0-based row index.
+ "columnIndex": 42, # The 0-based column index.
+ },
+ "objectId": "A String", # The object ID of the shape or table containing the text to delete bullets
+ # from.
+ "textRange": { # Specifies a contiguous range of an indexed collection, such as characters in # The range of text to delete bullets from, based on TextElement indexes.
+ # text.
+ "endIndex": 42, # The optional zero-based index of the end of the collection.
+ # Required for `SPECIFIC_RANGE` delete mode.
+ "startIndex": 42, # The optional zero-based index of the beginning of the collection.
+ # Required for `SPECIFIC_RANGE` and `FROM_START_INDEX` ranges.
+ "type": "A String", # The type of range.
+ },
+ },
+ "updateTextStyle": { # Update the styling of text in a Shape or # Updates the styling of text within a Shape or Table.
+ # Table.
"fields": "A String", # The fields that should be updated.
#
- # At least one field must be specified. The root `lineProperties` is
- # implied and should not be specified. A single `"*"` can be used as
- # short-hand for listing every field.
+ # At least one field must be specified. The root `style` is implied and
+ # should not be specified. A single `"*"` can be used as short-hand for
+ # listing every field.
#
- # For example to update the line solid fill color, set `fields` to
- # `"lineFill.solidFill.color"`.
+ # For example, to update the text style to bold, set `fields` to `"bold"`.
#
# To reset a property to its default value, include its field name in the
# field mask but leave the field itself unset.
- "lineProperties": { # The properties of the Line. # The line properties to update.
+ "style": { # Represents the styling that can be applied to a TextRun. # The style(s) to set on the text.
#
- # When unset, these fields default to values that match the appearance of
- # new lines created in the Slides editor.
- "dashStyle": "A String", # The dash style of the line.
- "weight": { # A magnitude in a single direction in the specified units. # The thickness of the line.
+ # If the value for a particular style matches that of the parent, that style
+ # will be set to inherit.
+ #
+ # Certain text style changes may cause other changes meant to mirror the
+ # behavior of the Slides editor. See the documentation of
+ # TextStyle for more information.
+ #
+ # 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.
+ "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ "bold": True or False, # Whether or not the text is rendered as bold.
+ "baselineOffset": "A String", # The text's vertical offset from its normal position.
+ #
+ # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
+ # rendered in a smaller font size, computed based on the `font_size` field.
+ # The `font_size` itself is not affected by changes in this field.
+ "strikethrough": True or False, # Whether or not the text is struck through.
+ "smallCaps": True or False, # Whether or not the text is in small capital letters.
+ "fontFamily": "A String", # The font family of the text.
+ #
+ # The font family can be any font from the Font menu in Slides or from
+ # [Google Fonts] (https://fonts.google.com/). If the font name is
+ # unrecognized, the text is rendered in `Arial`.
+ #
+ # Some fonts can affect the weight of the text. If an update request
+ # specifies values for both `font_family` and `bold`, the explicitly-set
+ # `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
"magnitude": 3.14, # The magnitude.
"unit": "A String", # The units for magnitude.
},
- "endArrow": "A String", # The style of the arrow at the end of the line.
- "link": { # A hypertext link. # The hyperlink destination of the line. If unset, there is no link.
+ "italic": True or False, # Whether or not the text is italicized.
+ "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
+ # are not inherited from parent text.
+ #
+ # Changing the link in an update request causes some other changes to the
+ # text style of the range:
+ #
+ # * When setting a link, the text foreground color will be set to
+ # ThemeColorType.HYPERLINK and the text will
+ # be underlined. If these fields are modified in the same
+ # request, those values will be used instead of the link defaults.
+ # * Setting a link on a text range that overlaps with an existing link will
+ # also update the existing link to point to the new URL.
+ # * Links are not settable on newline characters. As a result, setting a link
+ # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
+ # will separate the newline character(s) into their own text runs. The
+ # link will be applied separately to the runs before and after the newline.
+ # * Removing a link will update the text style of the range to match the
+ # style of the preceding text (or the default text styles if the preceding
+ # text is another link) unless different styles are being set in the same
+ # request.
"url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
"slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
# in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
"relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
# addressed by its position.
},
- "startArrow": "A String", # The style of the arrow at the beginning of the line.
- "lineFill": { # The fill of the line. # The fill of the line. The default line fill matches the defaults for new
- # lines created in the Slides editor.
- "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill.
- # specified color value.
- #
- # If any field is unset, its value may be inherited from a parent placeholder
- # if it exists.
- "color": { # A themeable solid color value. # The color value of the solid fill.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
+ "underline": True or False, # Whether or not the text is underlined.
+ "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
},
- "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel.
- # That is, the final pixel color is defined by the equation:
- #
- # pixel color = alpha * (color) + (1.0 - alpha) * (background color)
- #
- # This means that a value of 1.0 corresponds to a solid color, whereas
- # a value of 0.0 corresponds to a completely transparent color.
},
},
},
- "objectId": "A String", # The object ID of the line the update is applied to.
+ "cellLocation": { # A location of a single table cell within a table. # The location of the cell in the table containing the text to style. If
+ # `object_id` refers to a table, `cell_location` must have a value.
+ # Otherwise, it must not.
+ "rowIndex": 42, # The 0-based row index.
+ "columnIndex": 42, # The 0-based column index.
+ },
+ "objectId": "A String", # The object ID of the shape or table with the text to be styled.
+ "textRange": { # Specifies a contiguous range of an indexed collection, such as characters in # The range of text to style.
+ #
+ # The range may be extended to include adjacent newlines.
+ #
+ # If the range fully contains a paragraph belonging to a list, the
+ # paragraph's bullet is also updated with the matching text style.
+ # text.
+ "endIndex": 42, # The optional zero-based index of the end of the collection.
+ # Required for `SPECIFIC_RANGE` delete mode.
+ "startIndex": 42, # The optional zero-based index of the beginning of the collection.
+ # Required for `SPECIFIC_RANGE` and `FROM_START_INDEX` ranges.
+ "type": "A String", # The type of range.
+ },
},
"deleteText": { # Deletes text from a shape or a table cell. # Deletes text from a shape or a table cell.
"textRange": { # Specifies a contiguous range of an indexed collection, such as characters in # The range of text to delete, based on TextElement indexes.
@@ -771,138 +895,64 @@
# field mask but leave the field itself unset.
"objectId": "A String", # The object ID of the page the update is applied to.
},
- "updateTextStyle": { # Update the styling of text in a Shape or # Updates the styling of text within a Shape or Table.
- # Table.
+ "updateLineProperties": { # Updates the properties of a Line. # Updates the properties of a Line.
"fields": "A String", # The fields that should be updated.
#
- # At least one field must be specified. The root `style` is implied and
- # should not be specified. A single `"*"` can be used as short-hand for
- # listing every field.
+ # At least one field must be specified. The root `lineProperties` is
+ # implied and should not be specified. A single `"*"` can be used as
+ # short-hand for listing every field.
#
- # For example to update the text style to bold, set `fields` to `"bold"`.
+ # For example to update the line solid fill color, set `fields` to
+ # `"lineFill.solidFill.color"`.
#
- # To reset a property to its default value,
- # include its field name in the field mask but leave the field itself unset.
- "style": { # Represents the styling that can be applied to a TextRun. # The style(s) to set on the text.
+ # To reset a property to its default value, include its field name in the
+ # field mask but leave the field itself unset.
+ "lineProperties": { # The properties of the Line. # The line properties to update.
#
- # If the value for a particular style matches that of the parent, that style
- # will be set to inherit.
- #
- # Certain text style changes may cause other changes meant to mirror the
- # behavior of the Slides editor. See the documentation of
- # TextStyle for more information.
- #
- # 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.
- "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- "bold": True or False, # Whether or not the text is bold.
- "baselineOffset": "A String", # The text's vertical offset from its normal position.
- #
- # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
- # rendered in a smaller font size, computed based on the `font_size` field.
- # The `font_size` itself is not affected by changes in this field.
- "strikethrough": True or False, # Whether or not the text is struck through.
- "smallCaps": True or False, # Whether or not the text is in small capital letters.
- "fontFamily": "A String", # The font family of the text.
- #
- # The font family can be any font from the Font menu in Slides or from
- # [Google Fonts] (https://fonts.google.com/). If the font name is
- # unrecognized, the text is rendered in `Arial`.
- #
- # Some fonts can affect the weight of the text. If an update request
- # specifies values for both `font_family` and `bold`, the explicitly-set
- # `bold` value is used.
- "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
- # are not inherited from parent text.
- #
- # Changing the link in an update request causes some other changes to the
- # text style of the range:
- #
- # * When setting a link, the text foreground color will be set to
- # ThemeColorType.HYPERLINK and the text will
- # be underlined. If these fields are modified in the same
- # request, those values will be used instead of the link defaults.
- # * Setting a link on a text range that overlaps with an existing link will
- # also update the existing link to point to the new URL.
- # * Links are not settable on newline characters. As a result, setting a link
- # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
- # will separate the newline character(s) into their own text runs. The
- # link will be applied separately to the runs before and after the newline.
- # * Removing a link will update the text style of the range to match the
- # style of the preceding text (or the default text styles if the preceding
- # text is another link) unless different styles are being set in the same
- # request.
- "url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
- "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
- # in the presentation. There may not be a slide at this index.
- "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
- # addressed by its position.
- },
- "italic": True or False, # Whether or not the text is italicized.
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
+ # When unset, these fields default to values that match the appearance of
+ # new lines created in the Slides editor.
+ "dashStyle": "A String", # The dash style of the line.
+ "weight": { # A magnitude in a single direction in the specified units. # The thickness of the line.
"magnitude": 3.14, # The magnitude.
"unit": "A String", # The units for magnitude.
},
- "underline": True or False, # Whether or not the text is underlined.
- "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ "endArrow": "A String", # The style of the arrow at the end of the line.
+ "link": { # A hypertext link. # The hyperlink destination of the line. If unset, there is no link.
+ "url": "A String", # If set, indicates this is a link to the external web page at this URL.
+ "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
+ # in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
+ "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
+ # addressed by its position.
+ },
+ "startArrow": "A String", # The style of the arrow at the beginning of the line.
+ "lineFill": { # The fill of the line. # The fill of the line. The default line fill matches the defaults for new
+ # lines created in the Slides editor.
+ "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill.
+ # specified color value.
+ #
+ # If any field is unset, its value may be inherited from a parent placeholder
+ # if it exists.
+ "color": { # A themeable solid color value. # The color value of the solid fill.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
},
+ "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel.
+ # That is, the final pixel color is defined by the equation:
+ #
+ # pixel color = alpha * (color) + (1.0 - alpha) * (background color)
+ #
+ # This means that a value of 1.0 corresponds to a solid color, whereas
+ # a value of 0.0 corresponds to a completely transparent color.
},
},
},
- "textRange": { # Specifies a contiguous range of an indexed collection, such as characters in # The range of text to style.
- #
- # The range may be extended to include adjacent newlines.
- #
- # If the range fully contains a paragraph belonging to a list, the
- # paragraph's bullet is also updated with the matching text style.
- # text.
- "endIndex": 42, # The optional zero-based index of the end of the collection.
- # Required for `SPECIFIC_RANGE` delete mode.
- "startIndex": 42, # The optional zero-based index of the beginning of the collection.
- # Required for `SPECIFIC_RANGE` and `FROM_START_INDEX` ranges.
- "type": "A String", # The type of range.
- },
- "objectId": "A String", # The object ID of the shape or table with the text to be styled.
- "cellLocation": { # A location of a single table cell within a table. # The optional table cell location if the text to be styled is in a table
- # cell. If present, the object_id must refer to a table.
- "rowIndex": 42, # The 0-based row index.
- "columnIndex": 42, # The 0-based column index.
- },
+ "objectId": "A String", # The object ID of the line the update is applied to.
},
"updateTableCellProperties": { # Update the properties of a TableCell. # Updates the properties of a TableCell.
"tableRange": { # A table range represents a reference to a subset of a table. # The table range representing the subset of the table to which the updates
@@ -975,6 +1025,12 @@
# field mask but leave the field itself unset.
},
"replaceAllShapesWithImage": { # Replaces all shapes that match the given criteria with the provided image. # Replaces all shapes matching some criteria with an image.
+ "imageUrl": "A String", # The image URL.
+ #
+ # The image is fetched once at insertion time and a copy is stored for
+ # display inside the presentation. Images must be less than 50MB in size,
+ # cannot exceed 25 megapixels, and must be in either in PNG, JPEG, or GIF
+ # format.
"containsText": { # A criteria that matches a specific string of text in a shape or table. # If set, this request will replace all of the shapes that contain the
# given text.
"text": "A String", # The text to search for in the shape or table.
@@ -983,12 +1039,6 @@
# - `True`: the search is case sensitive.
# - `False`: the search is case insensitive.
},
- "imageUrl": "A String", # The image URL.
- #
- # The image is fetched once at insertion time and a copy is stored for
- # display inside the presentation. Images must be less than 50MB in size,
- # cannot exceed 25 megapixels, and must be in either in PNG, JPEG, or GIF
- # format.
"replaceMethod": "A String", # The replace method.
},
"updateSlidesPosition": { # Updates the position of slides in the presentation. # Updates the position of a set of slides in the presentation.
@@ -1028,6 +1078,83 @@
},
"objectId": "A String", # The ID of the object to duplicate.
},
+ "updateParagraphStyle": { # Updates the styling for all of the paragraphs within a Shape or Table that # Updates the styling of paragraphs within a Shape or Table.
+ # overlap with the given text index range.
+ "fields": "A String", # The fields that should be updated.
+ #
+ # At least one field must be specified. The root `style` is implied and
+ # should not be specified. A single `"*"` can be used as short-hand for
+ # listing every field.
+ #
+ # For example, to update the paragraph alignment, set `fields` to
+ # `"alignment"`.
+ #
+ # To reset a property to its default value, include its field name in the
+ # field mask but leave the field itself unset.
+ "style": { # Styles that apply to a whole paragraph. # The paragraph's style.
+ #
+ # 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.
+ "spacingMode": "A String", # The spacing mode for the paragraph.
+ "direction": "A String", # The text direction of this paragraph. If unset, the value defaults to
+ # LEFT_TO_RIGHT
+ # since text direction is not inherited.
+ "spaceBelow": { # A magnitude in a single direction in the specified units. # The amount of extra space above the paragraph. If unset, the value is
+ # inherited from the parent.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "lineSpacing": 3.14, # The amount of space between lines, as a percentage of normal, where normal
+ # is represented as 100.0. If unset, the value is inherited from the parent.
+ "indentStart": { # A magnitude in a single direction in the specified units. # The amount indentation for the paragraph on the side that corresponds to
+ # the start of the text, based on the current text direction. If unset, the
+ # value is inherited from the parent.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "spaceAbove": { # A magnitude in a single direction in the specified units. # The amount of extra space above the paragraph. If unset, the value is
+ # inherited from the parent.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "indentEnd": { # A magnitude in a single direction in the specified units. # The amount indentation for the paragraph on the side that corresponds to
+ # the end of the text, based on the current text direction. If unset, the
+ # value is inherited from the parent.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "indentFirstLine": { # A magnitude in a single direction in the specified units. # The amount of indentation for the start of the first line of the paragraph.
+ # If unset, the value is inherited from the parent.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "alignment": "A String", # The text alignment for this paragraph.
+ },
+ "textRange": { # Specifies a contiguous range of an indexed collection, such as characters in # The range of text containing the paragraph(s) to style.
+ # text.
+ "endIndex": 42, # The optional zero-based index of the end of the collection.
+ # Required for `SPECIFIC_RANGE` delete mode.
+ "startIndex": 42, # The optional zero-based index of the beginning of the collection.
+ # Required for `SPECIFIC_RANGE` and `FROM_START_INDEX` ranges.
+ "type": "A String", # The type of range.
+ },
+ "objectId": "A String", # The object ID of the shape or table with the text to be styled.
+ "cellLocation": { # A location of a single table cell within a table. # The location of the cell in the table containing the paragraph(s) to
+ # style. If `object_id` refers to a table, `cell_location` must have a value.
+ # Otherwise, it must not.
+ "rowIndex": 42, # The 0-based row index.
+ "columnIndex": 42, # The 0-based column index.
+ },
+ },
"refreshSheetsChart": { # Refreshes an embedded Google Sheets chart by replacing it with the latest # Refreshes a Google Sheets chart.
# version of the chart from Google Sheets.
#
@@ -1047,12 +1174,19 @@
},
"createSheetsChart": { # Creates an embedded Google Sheets chart. # Creates an embedded Google Sheets chart.
#
- # NOTE: Chart creation requires at least one of the spreadsheets.readonly,
+ # NOTE: Chart creation requires at least one of the spreadsheets.readonly,
# spreadsheets, drive.readonly, or drive OAuth scopes.
- "chartId": 42, # The ID of the specific chart in the Google Sheets spreadsheet.
"spreadsheetId": "A String", # The ID of the Google Sheets spreadsheet that contains the chart.
+ "chartId": 42, # The ID of the specific chart in the Google Sheets spreadsheet.
"linkingMode": "A String", # The mode with which the chart is linked to the source spreadsheet. When
# not specified, the chart will be an image that is not linked.
+ "objectId": "A String", # A user-supplied object ID.
+ #
+ # If specified, the ID must be unique among all pages and page elements in
+ # the presentation. The ID should start with a word character [a-zA-Z0-9_]
+ # and then followed by any number of the following characters [a-zA-Z0-9_-:].
+ # The length of the ID should not be less than 5 or greater than 50.
+ # If empty, a unique identifier will be generated.
"elementProperties": { # Common properties for a page element. # The element properties for the chart.
#
# When the aspect ratio of the provided size does not match the chart aspect
@@ -1097,13 +1231,6 @@
},
},
},
- "objectId": "A String", # A user-supplied object ID.
- #
- # If specified, the ID must be unique among all pages and page elements in
- # the presentation. The ID should start with a word character [a-zA-Z0-9_]
- # and then followed by any number of the following characters [a-zA-Z0-9_-:].
- # The length of the ID should not be less than 5 or greater than 50.
- # If empty, a unique identifier will be generated.
},
"createSlide": { # Creates a new slide. # Creates a new slide.
"slideLayoutReference": { # Slide layout reference. This may reference either: # Layout reference of the slide to be inserted, based on the *current
@@ -1124,6 +1251,36 @@
"predefinedLayout": "A String", # Predefined layout.
"layoutId": "A String", # Layout ID: the object ID of one of the layouts in the presentation.
},
+ "placeholderIdMappings": [ # An optional list of object ID mappings from the placeholder(s) on the layout to the placeholder(s)
+ # that will be created on the new slide from that specified layout. Can only
+ # be used when `slide_layout_reference` is specified.
+ { # The user-specified ID mapping for a placeholder that will be created on a
+ # slide from a specified layout.
+ "layoutPlaceholder": { # The placeholder information that uniquely identifies a placeholder shape. # The placeholder on a layout that will be applied to a slide. Only type and index are needed. For example, a
+ # predefined `TITLE_AND_BODY` layout may usually have a TITLE placeholder
+ # with index 0 and a BODY placeholder with index 0.
+ "parentObjectId": "A String", # The object ID of this shape's parent placeholder.
+ # If unset, the parent placeholder shape does not exist, so the shape does
+ # not inherit properties from any other shape.
+ "index": 42, # The index of the placeholder. If the same placeholder types are the present
+ # in the same page, they would have different index values.
+ "type": "A String", # The type of the placeholder.
+ },
+ "layoutPlaceholderObjectId": "A String", # The object ID of the placeholder on a layout that will be applied
+ # to a slide.
+ "objectId": "A String", # A user-supplied object ID for the placeholder identified above that to be
+ # created onto a slide.
+ #
+ # 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.
+ },
+ ],
"objectId": "A String", # A user-supplied object ID.
#
# If you specify an ID, it must be unique among all pages and page elements
@@ -1259,10 +1416,10 @@
"link": { # A hypertext link. # The hyperlink destination of the shape. If unset, there is no link. Links
# are not inherited from parent placeholders.
"url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
"slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
# in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
"relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
# addressed by its position.
},
@@ -1275,14 +1432,6 @@
# 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.
- "dashStyle": "A String", # The dash style of the outline.
- "propertyState": "A String", # The outline property state.
- #
- # Updating the the outline on a page element will implicitly update this
- # field to`RENDERED`, unless another value is specified in the same request.
- # To have no outline on a page element, set this field to `NOT_RENDERED`. In
- # this case, any other outline fields set in the same request will be
- # ignored.
"outlineFill": { # The fill of the outline. # The fill of the outline.
"solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill.
# specified color value.
@@ -1306,6 +1455,14 @@
# a value of 0.0 corresponds to a completely transparent color.
},
},
+ "propertyState": "A String", # The outline property state.
+ #
+ # Updating the the outline on a page element will implicitly update this
+ # field to`RENDERED`, unless another value is specified in the same request.
+ # To have no outline on a page element, set this field to `NOT_RENDERED`. In
+ # this case, any other outline fields set in the same request will be
+ # ignored.
+ "dashStyle": "A String", # The dash style of the outline.
"weight": { # A magnitude in a single direction in the specified units. # The thickness of the outline.
"magnitude": 3.14, # The magnitude.
"unit": "A String", # The units for magnitude.
@@ -1365,23 +1522,30 @@
# The length of the ID must not be less than 5 or greater than 50.
# If empty, a unique identifier will be generated.
},
- "insertTableColumns": { # Inserts columns into a table. # Inserts columns into a table.
- #
- # Other columns in the table will be resized to fit the new column.
- "number": 42, # The number of columns to be inserted. Maximum 20 per request.
- "insertRight": True or False, # Whether to insert new columns to the right of the reference cell location.
+ "updatePageElementTransform": { # Updates the transform of a page element. # Updates the transform of a page element.
+ "applyMode": "A String", # The apply mode of the transform update.
+ "transform": { # AffineTransform uses a 3x3 matrix with an implied last row of [ 0 0 1 ] # The input transform matrix used to update the page element.
+ # to transform source coordinates (x,y) into destination coordinates (x', y')
+ # according to:
#
- # - `True`: insert to the right.
- # - `False`: insert to the left.
- "cellLocation": { # A location of a single table cell within a table. # The reference table cell location from which columns will be inserted.
+ # x' x = shear_y scale_y translate_y
+ # 1 [ 1 ]
#
- # A new column will be inserted to the left (or right) of the column where
- # the reference cell is. If the reference cell is a merged cell, a new
- # column will be inserted to the left (or right) of the merged cell.
- "rowIndex": 42, # The 0-based row index.
- "columnIndex": 42, # The 0-based column index.
+ # 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.
+ "translateX": 3.14, # The X coordinate translation element.
+ "translateY": 3.14, # The Y coordinate translation element.
+ "scaleX": 3.14, # The X coordinate scaling element.
+ "scaleY": 3.14, # The Y coordinate scaling element.
+ "shearY": 3.14, # The Y coordinate shearing element.
+ "shearX": 3.14, # The X coordinate shearing element.
+ "unit": "A String", # The units for translate elements.
},
- "tableObjectId": "A String", # The table to insert columns into.
+ "objectId": "A String", # The object ID of the page element to update.
},
"createParagraphBullets": { # Creates bullets for all of the paragraphs that overlap with the given # Creates bullets for paragraphs.
# text index range.
@@ -1458,6 +1622,7 @@
},
},
},
+ "columns": 42, # Number of columns in the table.
"objectId": "A String", # A user-supplied object ID.
#
# If you specify an ID, it must be unique among all pages and page elements
@@ -1468,7 +1633,6 @@
# 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.
- "columns": 42, # Number of columns in the table.
},
"deleteTableColumn": { # Deletes a column from a table. # Deletes a column from a table.
"cellLocation": { # A location of a single table cell within a table. # The reference table cell location from which a column will be deleted.
@@ -1481,9 +1645,317 @@
},
"tableObjectId": "A String", # The table to delete columns from.
},
- "updatePageElementTransform": { # Updates the transform of a page element. # Updates the transform of a page element.
- "applyMode": "A String", # The apply mode of the transform update.
- "transform": { # AffineTransform uses a 3x3 matrix with an implied last row of [ 0 0 1 ] # The input transform matrix used to update the page element.
+ "insertTableColumns": { # Inserts columns into a table. # Inserts columns into a table.
+ #
+ # Other columns in the table will be resized to fit the new column.
+ "tableObjectId": "A String", # The table to insert columns into.
+ "insertRight": True or False, # Whether to insert new columns to the right of the reference cell location.
+ #
+ # - `True`: insert to the right.
+ # - `False`: insert to the left.
+ "number": 42, # The number of columns to be inserted. Maximum 20 per request.
+ "cellLocation": { # A location of a single table cell within a table. # The reference table cell location from which columns will be inserted.
+ #
+ # A new column will be inserted to the left (or right) of the column where
+ # the reference cell is. If the reference cell is a merged cell, a new
+ # column will be inserted to the left (or right) of the merged cell.
+ "rowIndex": 42, # The 0-based row index.
+ "columnIndex": 42, # The 0-based column index.
+ },
+ },
+ },
+ ],
+ "writeControl": { # Provides control over how write requests are executed. # Provides control over how write requests are executed, such as
+ # conditionally updating the presentation.
+ "requiredRevisionId": "A String", # The revision ID of the presentation required for the write request. If
+ # specified and the `required_revision_id` doesn't exactly match the
+ # presentation's current `revision_id`, the request will not be processed and
+ # will return a 400 bad request error.
+ },
+ }
+
+ x__xgafv: string, V1 error format.
+ Allowed values
+ 1 - v1 error format
+ 2 - v2 error format
+
+Returns:
+ An object of the form:
+
+ { # Response message from a batch update.
+ "presentationId": "A String", # The presentation the updates were applied to.
+ "replies": [ # The reply of the updates. This maps 1:1 with the updates, although
+ # replies to some requests may be empty.
+ { # A single response from an update.
+ "createImage": { # The result of creating an image. # The result of creating an image.
+ "objectId": "A String", # The object ID of the created image.
+ },
+ "replaceAllShapesWithImage": { # The result of replacing shapes with an image. # The result of replacing all shapes matching some criteria with an
+ # image.
+ "occurrencesChanged": 42, # The number of shapes replaced with images.
+ },
+ "duplicateObject": { # The response of duplicating an object. # The result of duplicating an object.
+ "objectId": "A String", # The ID of the new duplicate object.
+ },
+ "createShape": { # The result of creating a shape. # The result of creating a shape.
+ "objectId": "A String", # The object ID of the created shape.
+ },
+ "replaceAllText": { # The result of replacing text. # The result of replacing text.
+ "occurrencesChanged": 42, # The number of occurrences changed by replacing all text.
+ },
+ "createSheetsChart": { # The result of creating an embedded Google Sheets chart. # The result of creating a Google Sheets chart.
+ "objectId": "A String", # The object ID of the created chart.
+ },
+ "createVideo": { # The result of creating a video. # The result of creating a video.
+ "objectId": "A String", # The object ID of the created video.
+ },
+ "createLine": { # The result of creating a line. # The result of creating a line.
+ "objectId": "A String", # The object ID of the created line.
+ },
+ "createTable": { # The result of creating a table. # The result of creating a table.
+ "objectId": "A String", # The object ID of the created table.
+ },
+ "createSlide": { # The result of creating a slide. # The result of creating a slide.
+ "objectId": "A String", # The object ID of the created slide.
+ },
+ "replaceAllShapesWithSheetsChart": { # The result of replacing shapes with a Google Sheets chart. # The result of replacing all shapes matching some criteria with a Google
+ # Sheets chart.
+ "occurrencesChanged": 42, # The number of shapes replaced with charts.
+ },
+ },
+ ],
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="create">create(body, x__xgafv=None)</code>
+ <pre>Creates a new presentation using the title given in the request. Other
+fields in the request are ignored.
+Returns the created presentation.
+
+Args:
+ body: object, The request body. (required)
+ The object takes the form of:
+
+{ # A Google Slides presentation.
+ "presentationId": "A String", # The ID of the presentation.
+ "notesMaster": { # A page in a presentation. # The notes master in the presentation. It serves three purposes:
+ #
+ # - Placeholder shapes on a notes master contain the default text styles and
+ # shape properties of all placeholder shapes on notes pages. Specifically,
+ # a `SLIDE_IMAGE` placeholder shape contains the slide thumbnail, and a
+ # `BODY` placeholder shape contains the speaker notes.
+ # - The notes master page properties define the common page properties
+ # inherited by all notes pages.
+ # - Any other shapes on the notes master will appear on all notes pages.
+ #
+ # The notes master is read-only.
+ "layoutProperties": { # The properties of Page are only # Layout specific properties. Only set if page_type = LAYOUT.
+ # relevant for pages with page_type LAYOUT.
+ "displayName": "A String", # The human readable name of the layout in the presentation's locale.
+ "name": "A String", # The name of the layout.
+ "masterObjectId": "A String", # The object ID of the master that this layout is based on.
+ },
+ "pageElements": [ # The page elements rendered on the page.
+ { # A visual element rendered on a page.
+ "wordArt": { # A PageElement kind representing # A word art page element.
+ # word art.
+ "renderedText": "A String", # The text rendered as word art.
+ },
+ "description": "A String", # The description of the page element. Combined with title to display alt
+ # text.
+ "objectId": "A String", # The object ID for this page element. Object IDs used by
+ # google.apps.slides.v1.Page and
+ # google.apps.slides.v1.PageElement share the same namespace.
+ "title": "A String", # The title of the page element. Combined with description to display alt
+ # text.
+ "image": { # A PageElement kind representing an # An image page element.
+ # image.
+ "contentUrl": "A String", # An URL to an image with a default lifetime of 30 minutes.
+ # This URL is tagged with the account of the requester. Anyone with the URL
+ # effectively accesses the image as the original requester. Access to the
+ # image may be lost if the presentation's sharing settings change.
+ "imageProperties": { # The properties of the Image. # The properties of the image.
+ "outline": { # The outline of a PageElement. # The outline of the image. If not set, the the image has no outline.
+ #
+ # 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. # The fill of the outline.
+ "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill.
+ # specified color value.
+ #
+ # If any field is unset, its value may be inherited from a parent placeholder
+ # if it exists.
+ "color": { # A themeable solid color value. # The color value of the solid fill.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel.
+ # That is, the final pixel color is defined by the equation:
+ #
+ # pixel color = alpha * (color) + (1.0 - alpha) * (background color)
+ #
+ # This means that a value of 1.0 corresponds to a solid color, whereas
+ # a value of 0.0 corresponds to a completely transparent color.
+ },
+ },
+ "propertyState": "A String", # The outline property state.
+ #
+ # Updating the the outline on a page element will implicitly update this
+ # field to`RENDERED`, unless another value is specified in the same request.
+ # To have no outline on a page element, set this field to `NOT_RENDERED`. In
+ # this case, any other outline fields set in the same request will be
+ # ignored.
+ "dashStyle": "A String", # The dash style of the outline.
+ "weight": { # A magnitude in a single direction in the specified units. # The thickness of the outline.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ },
+ "brightness": 3.14, # The brightness effect of the image. The value should be in the interval
+ # [-1.0, 1.0], where 0 means no effect. This property is read-only.
+ "recolor": { # A recolor effect applied on an image. # The recolor effect of the image. If not set, the image is not recolored.
+ # This property is read-only.
+ "recolorStops": [ # The recolor effect is represented by a gradient, which is a list of color
+ # stops.
+ #
+ # The colors in the gradient will replace the corresponding colors at
+ # the same position in the color palette and apply to the image. This
+ # property is read-only.
+ { # A color and position in a gradient band.
+ "color": { # A themeable solid color value. # The color of the gradient stop.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ "alpha": 3.14, # The alpha value of this color in the gradient band. Defaults to 1.0,
+ # fully opaque.
+ "position": 3.14, # The relative position of the color stop in the gradient band measured
+ # in percentage. The value should be in the interval [0.0, 1.0].
+ },
+ ],
+ "name": "A String", # The name of the recolor effect.
+ #
+ # The name is determined from the `recolor_stops` by matching the gradient
+ # against the colors in the page's current color scheme. This property is
+ # read-only.
+ },
+ "link": { # A hypertext link. # The hyperlink destination of the image. If unset, there is no link.
+ "url": "A String", # If set, indicates this is a link to the external web page at this URL.
+ "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
+ # in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
+ "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
+ # addressed by its position.
+ },
+ "transparency": 3.14, # The transparency effect of the image. The value should be in the interval
+ # [0.0, 1.0], where 0 means no effect and 1 means completely transparent.
+ # This property is read-only.
+ "cropProperties": { # The crop properties of an object enclosed in a container. For example, an # The crop properties of the image. If not set, the image is not cropped.
+ # This property is read-only.
+ # 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.
+ "leftOffset": 3.14, # The offset specifies the left edge of the crop rectangle that is located to
+ # the right of the original bounding rectangle left edge, relative to the
+ # object's original width.
+ "angle": 3.14, # The rotation angle of the crop window around its center, in radians.
+ # Rotation angle is applied after the offset.
+ "rightOffset": 3.14, # The offset specifies the right edge of the crop rectangle that is located
+ # to the left of the original bounding rectangle right edge, relative to the
+ # object's original width.
+ "bottomOffset": 3.14, # The offset specifies the bottom edge of the crop rectangle that is located
+ # above the original bounding rectangle bottom edge, relative to the object's
+ # original height.
+ "topOffset": 3.14, # The offset specifies the top edge of the crop rectangle that is located
+ # below the original bounding rectangle top edge, relative to the object's
+ # original height.
+ },
+ "shadow": { # The shadow properties of a page element. # The shadow of the image. If not set, the image has no shadow. This property
+ # is read-only.
+ #
+ # 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.
+ "color": { # A themeable solid color value. # The shadow color value.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ "transform": { # AffineTransform uses a 3x3 matrix with an implied last row of [ 0 0 1 ] # Transform that encodes the translate, scale, and skew of the shadow,
+ # relative to the alignment position.
+ # 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.
+ "translateX": 3.14, # The X coordinate translation element.
+ "translateY": 3.14, # The Y coordinate translation element.
+ "scaleX": 3.14, # The X coordinate scaling element.
+ "scaleY": 3.14, # The Y coordinate scaling element.
+ "shearY": 3.14, # The Y coordinate shearing element.
+ "shearX": 3.14, # The X coordinate shearing element.
+ "unit": "A String", # The units for translate elements.
+ },
+ "propertyState": "A String", # The shadow property state.
+ #
+ # Updating the the shadow on a page element will implicitly update this field
+ # to `RENDERED`, unless another value is specified in the same request. To
+ # have no shadow on a page element, set this field to `NOT_RENDERED`. In this
+ # case, any other shadow fields set in the same request will be ignored.
+ "blurRadius": { # A magnitude in a single direction in the specified units. # The radius of the shadow blur. The larger the radius, the more diffuse the
+ # shadow becomes.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "alpha": 3.14, # The alpha of the shadow's color, from 0.0 to 1.0.
+ "type": "A String", # The type of the shadow.
+ "alignment": "A String", # The alignment point of the shadow, that sets the origin for translate,
+ # scale and skew of the shadow.
+ "rotateWithShape": True or False, # Whether the shadow should rotate with the shape.
+ },
+ "contrast": 3.14, # The contrast effect of the image. The value should be in the interval
+ # [-1.0, 1.0], where 0 means no effect. This property is read-only.
+ },
+ },
+ "transform": { # AffineTransform uses a 3x3 matrix with an implied last row of [ 0 0 1 ] # The transform of the page element.
# to transform source coordinates (x,y) into destination coordinates (x', y')
# according to:
#
@@ -1504,73 +1976,1651 @@
"shearX": 3.14, # The X coordinate shearing element.
"unit": "A String", # The units for translate elements.
},
- "objectId": "A String", # The object ID of the page element to update.
+ "shape": { # A PageElement kind representing a # A generic shape.
+ # generic shape that does not have a more specific classification.
+ "text": { # The general text content. The text must reside in a compatible shape (e.g. # The text content of the shape.
+ # text box or rectangle) or a table cell in a page.
+ "lists": { # The bulleted lists contained in this text, keyed by list ID.
+ "a_key": { # 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.
+ "nestingLevel": { # A map of nesting levels to the properties of bullets at the associated
+ # level. A list has at most nine levels of nesting, so the possible values
+ # for the keys of this map are 0 through 8, inclusive.
+ "a_key": { # Contains properties describing the look and feel of a list bullet at a given
+ # level of nesting.
+ "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The style of a bullet at this level of nesting.
+ #
+ # 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.
+ "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ "bold": True or False, # Whether or not the text is rendered as bold.
+ "baselineOffset": "A String", # The text's vertical offset from its normal position.
+ #
+ # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
+ # rendered in a smaller font size, computed based on the `font_size` field.
+ # The `font_size` itself is not affected by changes in this field.
+ "strikethrough": True or False, # Whether or not the text is struck through.
+ "smallCaps": True or False, # Whether or not the text is in small capital letters.
+ "fontFamily": "A String", # The font family of the text.
+ #
+ # The font family can be any font from the Font menu in Slides or from
+ # [Google Fonts] (https://fonts.google.com/). If the font name is
+ # unrecognized, the text is rendered in `Arial`.
+ #
+ # Some fonts can affect the weight of the text. If an update request
+ # specifies values for both `font_family` and `bold`, the explicitly-set
+ # `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "italic": True or False, # Whether or not the text is italicized.
+ "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
+ # are not inherited from parent text.
+ #
+ # Changing the link in an update request causes some other changes to the
+ # text style of the range:
+ #
+ # * When setting a link, the text foreground color will be set to
+ # ThemeColorType.HYPERLINK and the text will
+ # be underlined. If these fields are modified in the same
+ # request, those values will be used instead of the link defaults.
+ # * Setting a link on a text range that overlaps with an existing link will
+ # also update the existing link to point to the new URL.
+ # * Links are not settable on newline characters. As a result, setting a link
+ # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
+ # will separate the newline character(s) into their own text runs. The
+ # link will be applied separately to the runs before and after the newline.
+ # * Removing a link will update the text style of the range to match the
+ # style of the preceding text (or the default text styles if the preceding
+ # text is another link) unless different styles are being set in the same
+ # request.
+ "url": "A String", # If set, indicates this is a link to the external web page at this URL.
+ "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
+ # in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
+ "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
+ # addressed by its position.
+ },
+ "underline": True or False, # Whether or not the text is underlined.
+ "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ },
+ },
+ },
+ "listId": "A String", # The ID of the list.
+ },
+ },
+ "textElements": [ # The text contents broken down into its component parts, including styling
+ # information. This property is read-only.
+ { # A TextElement describes the content of a range of indices in the text content
+ # of a Shape or TableCell.
+ "autoText": { # A TextElement kind that represents auto text. # A TextElement representing a spot in the text that is dynamically
+ # replaced with content that can change over time.
+ "content": "A String", # The rendered content of this auto text, if available.
+ "style": { # Represents the styling that can be applied to a TextRun. # The styling applied to this auto text.
+ #
+ # 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.
+ "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ "bold": True or False, # Whether or not the text is rendered as bold.
+ "baselineOffset": "A String", # The text's vertical offset from its normal position.
+ #
+ # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
+ # rendered in a smaller font size, computed based on the `font_size` field.
+ # The `font_size` itself is not affected by changes in this field.
+ "strikethrough": True or False, # Whether or not the text is struck through.
+ "smallCaps": True or False, # Whether or not the text is in small capital letters.
+ "fontFamily": "A String", # The font family of the text.
+ #
+ # The font family can be any font from the Font menu in Slides or from
+ # [Google Fonts] (https://fonts.google.com/). If the font name is
+ # unrecognized, the text is rendered in `Arial`.
+ #
+ # Some fonts can affect the weight of the text. If an update request
+ # specifies values for both `font_family` and `bold`, the explicitly-set
+ # `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "italic": True or False, # Whether or not the text is italicized.
+ "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
+ # are not inherited from parent text.
+ #
+ # Changing the link in an update request causes some other changes to the
+ # text style of the range:
+ #
+ # * When setting a link, the text foreground color will be set to
+ # ThemeColorType.HYPERLINK and the text will
+ # be underlined. If these fields are modified in the same
+ # request, those values will be used instead of the link defaults.
+ # * Setting a link on a text range that overlaps with an existing link will
+ # also update the existing link to point to the new URL.
+ # * Links are not settable on newline characters. As a result, setting a link
+ # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
+ # will separate the newline character(s) into their own text runs. The
+ # link will be applied separately to the runs before and after the newline.
+ # * Removing a link will update the text style of the range to match the
+ # style of the preceding text (or the default text styles if the preceding
+ # text is another link) unless different styles are being set in the same
+ # request.
+ "url": "A String", # If set, indicates this is a link to the external web page at this URL.
+ "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
+ # in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
+ "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
+ # addressed by its position.
+ },
+ "underline": True or False, # Whether or not the text is underlined.
+ "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ },
+ "type": "A String", # The type of this auto text.
+ },
+ "endIndex": 42, # The zero-based end index of this text element, exclusive, in Unicode code
+ # units.
+ "startIndex": 42, # The zero-based start index of this text element, in Unicode code units.
+ "paragraphMarker": { # A TextElement kind that represents the beginning of a new paragraph. # A marker representing the beginning of a new paragraph.
+ #
+ # The `start_index` and `end_index` of this TextElement represent the
+ # range of the paragraph. Other TextElements with an index range contained
+ # inside this paragraph's range are considered to be part of this
+ # paragraph. The range of indices of two separate paragraphs will never
+ # overlap.
+ "style": { # Styles that apply to a whole paragraph. # The paragraph's style
+ #
+ # 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.
+ "spacingMode": "A String", # The spacing mode for the paragraph.
+ "direction": "A String", # The text direction of this paragraph. If unset, the value defaults to
+ # LEFT_TO_RIGHT
+ # since text direction is not inherited.
+ "spaceBelow": { # A magnitude in a single direction in the specified units. # The amount of extra space above the paragraph. If unset, the value is
+ # inherited from the parent.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "lineSpacing": 3.14, # The amount of space between lines, as a percentage of normal, where normal
+ # is represented as 100.0. If unset, the value is inherited from the parent.
+ "indentStart": { # A magnitude in a single direction in the specified units. # The amount indentation for the paragraph on the side that corresponds to
+ # the start of the text, based on the current text direction. If unset, the
+ # value is inherited from the parent.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "spaceAbove": { # A magnitude in a single direction in the specified units. # The amount of extra space above the paragraph. If unset, the value is
+ # inherited from the parent.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "indentEnd": { # A magnitude in a single direction in the specified units. # The amount indentation for the paragraph on the side that corresponds to
+ # the end of the text, based on the current text direction. If unset, the
+ # value is inherited from the parent.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "indentFirstLine": { # A magnitude in a single direction in the specified units. # The amount of indentation for the start of the first line of the paragraph.
+ # If unset, the value is inherited from the parent.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "alignment": "A String", # The text alignment for this paragraph.
+ },
+ "bullet": { # Describes the bullet of a paragraph. # The bullet for this paragraph. If not present, the paragraph does not
+ # belong to a list.
+ "nestingLevel": 42, # The nesting level of this paragraph in the list.
+ "listId": "A String", # The ID of the list this paragraph belongs to.
+ "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The paragraph specific text style applied to this bullet.
+ #
+ # 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.
+ "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ "bold": True or False, # Whether or not the text is rendered as bold.
+ "baselineOffset": "A String", # The text's vertical offset from its normal position.
+ #
+ # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
+ # rendered in a smaller font size, computed based on the `font_size` field.
+ # The `font_size` itself is not affected by changes in this field.
+ "strikethrough": True or False, # Whether or not the text is struck through.
+ "smallCaps": True or False, # Whether or not the text is in small capital letters.
+ "fontFamily": "A String", # The font family of the text.
+ #
+ # The font family can be any font from the Font menu in Slides or from
+ # [Google Fonts] (https://fonts.google.com/). If the font name is
+ # unrecognized, the text is rendered in `Arial`.
+ #
+ # Some fonts can affect the weight of the text. If an update request
+ # specifies values for both `font_family` and `bold`, the explicitly-set
+ # `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "italic": True or False, # Whether or not the text is italicized.
+ "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
+ # are not inherited from parent text.
+ #
+ # Changing the link in an update request causes some other changes to the
+ # text style of the range:
+ #
+ # * When setting a link, the text foreground color will be set to
+ # ThemeColorType.HYPERLINK and the text will
+ # be underlined. If these fields are modified in the same
+ # request, those values will be used instead of the link defaults.
+ # * Setting a link on a text range that overlaps with an existing link will
+ # also update the existing link to point to the new URL.
+ # * Links are not settable on newline characters. As a result, setting a link
+ # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
+ # will separate the newline character(s) into their own text runs. The
+ # link will be applied separately to the runs before and after the newline.
+ # * Removing a link will update the text style of the range to match the
+ # style of the preceding text (or the default text styles if the preceding
+ # text is another link) unless different styles are being set in the same
+ # request.
+ "url": "A String", # If set, indicates this is a link to the external web page at this URL.
+ "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
+ # in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
+ "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
+ # addressed by its position.
+ },
+ "underline": True or False, # Whether or not the text is underlined.
+ "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ },
+ "glyph": "A String", # The rendered bullet glyph for this paragraph.
+ },
+ },
+ "textRun": { # A TextElement kind that represents a run of text that all has the same # A TextElement representing a run of text where all of the characters
+ # in the run have the same TextStyle.
+ #
+ # The `start_index` and `end_index` of TextRuns will always be fully
+ # contained in the index range of a single `paragraph_marker` TextElement.
+ # In other words, a TextRun will never span multiple paragraphs.
+ # styling.
+ "content": "A String", # The text of this run.
+ "style": { # Represents the styling that can be applied to a TextRun. # The styling applied to this run.
+ #
+ # 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.
+ "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ "bold": True or False, # Whether or not the text is rendered as bold.
+ "baselineOffset": "A String", # The text's vertical offset from its normal position.
+ #
+ # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
+ # rendered in a smaller font size, computed based on the `font_size` field.
+ # The `font_size` itself is not affected by changes in this field.
+ "strikethrough": True or False, # Whether or not the text is struck through.
+ "smallCaps": True or False, # Whether or not the text is in small capital letters.
+ "fontFamily": "A String", # The font family of the text.
+ #
+ # The font family can be any font from the Font menu in Slides or from
+ # [Google Fonts] (https://fonts.google.com/). If the font name is
+ # unrecognized, the text is rendered in `Arial`.
+ #
+ # Some fonts can affect the weight of the text. If an update request
+ # specifies values for both `font_family` and `bold`, the explicitly-set
+ # `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "italic": True or False, # Whether or not the text is italicized.
+ "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
+ # are not inherited from parent text.
+ #
+ # Changing the link in an update request causes some other changes to the
+ # text style of the range:
+ #
+ # * When setting a link, the text foreground color will be set to
+ # ThemeColorType.HYPERLINK and the text will
+ # be underlined. If these fields are modified in the same
+ # request, those values will be used instead of the link defaults.
+ # * Setting a link on a text range that overlaps with an existing link will
+ # also update the existing link to point to the new URL.
+ # * Links are not settable on newline characters. As a result, setting a link
+ # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
+ # will separate the newline character(s) into their own text runs. The
+ # link will be applied separately to the runs before and after the newline.
+ # * Removing a link will update the text style of the range to match the
+ # style of the preceding text (or the default text styles if the preceding
+ # text is another link) unless different styles are being set in the same
+ # request.
+ "url": "A String", # If set, indicates this is a link to the external web page at this URL.
+ "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
+ # in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
+ "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
+ # addressed by its position.
+ },
+ "underline": True or False, # Whether or not the text is underlined.
+ "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ },
+ },
+ },
+ ],
+ },
+ "shapeProperties": { # The properties of a Shape. # The properties of the 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.
+ "shadow": { # The shadow properties of a page element. # The shadow properties of the shape. If unset, the shadow is inherited from
+ # a parent placeholder if it exists. If the shape has no parent, then the
+ # default shadow matches the defaults for new shapes created in the Slides
+ # editor. This property is read-only.
+ #
+ # 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.
+ "color": { # A themeable solid color value. # The shadow color value.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ "transform": { # AffineTransform uses a 3x3 matrix with an implied last row of [ 0 0 1 ] # Transform that encodes the translate, scale, and skew of the shadow,
+ # relative to the alignment position.
+ # 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.
+ "translateX": 3.14, # The X coordinate translation element.
+ "translateY": 3.14, # The Y coordinate translation element.
+ "scaleX": 3.14, # The X coordinate scaling element.
+ "scaleY": 3.14, # The Y coordinate scaling element.
+ "shearY": 3.14, # The Y coordinate shearing element.
+ "shearX": 3.14, # The X coordinate shearing element.
+ "unit": "A String", # The units for translate elements.
+ },
+ "propertyState": "A String", # The shadow property state.
+ #
+ # Updating the the shadow on a page element will implicitly update this field
+ # to `RENDERED`, unless another value is specified in the same request. To
+ # have no shadow on a page element, set this field to `NOT_RENDERED`. In this
+ # case, any other shadow fields set in the same request will be ignored.
+ "blurRadius": { # A magnitude in a single direction in the specified units. # The radius of the shadow blur. The larger the radius, the more diffuse the
+ # shadow becomes.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "alpha": 3.14, # The alpha of the shadow's color, from 0.0 to 1.0.
+ "type": "A String", # The type of the shadow.
+ "alignment": "A String", # The alignment point of the shadow, that sets the origin for translate,
+ # scale and skew of the shadow.
+ "rotateWithShape": True or False, # Whether the shadow should rotate with the shape.
+ },
+ "shapeBackgroundFill": { # The shape background fill. # The background fill of the shape. If unset, the background fill is
+ # inherited from a parent placeholder if it exists. If the shape has no
+ # parent, then the default background fill depends on the shape type,
+ # matching the defaults for new shapes created in the Slides editor.
+ "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill.
+ # specified color value.
+ #
+ # If any field is unset, its value may be inherited from a parent placeholder
+ # if it exists.
+ "color": { # A themeable solid color value. # The color value of the solid fill.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel.
+ # That is, the final pixel color is defined by the equation:
+ #
+ # pixel color = alpha * (color) + (1.0 - alpha) * (background color)
+ #
+ # This means that a value of 1.0 corresponds to a solid color, whereas
+ # a value of 0.0 corresponds to a completely transparent color.
+ },
+ "propertyState": "A String", # The background fill property state.
+ #
+ # Updating the the fill on a shape will implicitly update this field to
+ # `RENDERED`, unless another value is specified in the same request. To
+ # have no fill on a shape, set this field to `NOT_RENDERED`. In this case,
+ # any other fill fields set in the same request will be ignored.
+ },
+ "link": { # A hypertext link. # The hyperlink destination of the shape. If unset, there is no link. Links
+ # are not inherited from parent placeholders.
+ "url": "A String", # If set, indicates this is a link to the external web page at this URL.
+ "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
+ # in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
+ "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
+ # addressed by its position.
+ },
+ "outline": { # The outline of a PageElement. # The outline of the shape. If unset, the outline is inherited from a
+ # parent placeholder if it exists. If the shape has no parent, then the
+ # default outline depends on the shape type, matching the defaults for
+ # new shapes created in the Slides editor.
+ #
+ # 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. # The fill of the outline.
+ "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill.
+ # specified color value.
+ #
+ # If any field is unset, its value may be inherited from a parent placeholder
+ # if it exists.
+ "color": { # A themeable solid color value. # The color value of the solid fill.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel.
+ # That is, the final pixel color is defined by the equation:
+ #
+ # pixel color = alpha * (color) + (1.0 - alpha) * (background color)
+ #
+ # This means that a value of 1.0 corresponds to a solid color, whereas
+ # a value of 0.0 corresponds to a completely transparent color.
+ },
+ },
+ "propertyState": "A String", # The outline property state.
+ #
+ # Updating the the outline on a page element will implicitly update this
+ # field to`RENDERED`, unless another value is specified in the same request.
+ # To have no outline on a page element, set this field to `NOT_RENDERED`. In
+ # this case, any other outline fields set in the same request will be
+ # ignored.
+ "dashStyle": "A String", # The dash style of the outline.
+ "weight": { # A magnitude in a single direction in the specified units. # The thickness of the outline.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ },
+ },
+ "placeholder": { # The placeholder information that uniquely identifies a placeholder shape. # Placeholders are shapes that are inherit from corresponding placeholders on
+ # layouts and masters.
+ #
+ # If set, the shape is a placeholder shape and any inherited properties
+ # can be resolved by looking at the parent placeholder identified by the
+ # Placeholder.parent_object_id field.
+ "parentObjectId": "A String", # The object ID of this shape's parent placeholder.
+ # If unset, the parent placeholder shape does not exist, so the shape does
+ # not inherit properties from any other shape.
+ "index": 42, # The index of the placeholder. If the same placeholder types are the present
+ # in the same page, they would have different index values.
+ "type": "A String", # The type of the placeholder.
+ },
+ "shapeType": "A String", # The type of the shape.
+ },
+ "sheetsChart": { # A PageElement kind representing # A linked chart embedded from Google Sheets. Unlinked charts are
+ # represented as images.
+ # a linked chart embedded from Google Sheets.
+ "chartId": 42, # The ID of the specific chart in the Google Sheets spreadsheet that is
+ # embedded.
+ "contentUrl": "A String", # The URL of an image of the embedded chart, with a default lifetime of 30
+ # minutes. This URL is tagged with the account of the requester. Anyone with
+ # the URL effectively accesses the image as the original requester. Access to
+ # the image may be lost if the presentation's sharing settings change.
+ "sheetsChartProperties": { # The properties of the SheetsChart. # The properties of the Sheets chart.
+ "chartImageProperties": { # The properties of the Image. # The properties of the embedded chart image.
+ "outline": { # The outline of a PageElement. # The outline of the image. If not set, the the image has no outline.
+ #
+ # 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. # The fill of the outline.
+ "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill.
+ # specified color value.
+ #
+ # If any field is unset, its value may be inherited from a parent placeholder
+ # if it exists.
+ "color": { # A themeable solid color value. # The color value of the solid fill.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel.
+ # That is, the final pixel color is defined by the equation:
+ #
+ # pixel color = alpha * (color) + (1.0 - alpha) * (background color)
+ #
+ # This means that a value of 1.0 corresponds to a solid color, whereas
+ # a value of 0.0 corresponds to a completely transparent color.
+ },
+ },
+ "propertyState": "A String", # The outline property state.
+ #
+ # Updating the the outline on a page element will implicitly update this
+ # field to`RENDERED`, unless another value is specified in the same request.
+ # To have no outline on a page element, set this field to `NOT_RENDERED`. In
+ # this case, any other outline fields set in the same request will be
+ # ignored.
+ "dashStyle": "A String", # The dash style of the outline.
+ "weight": { # A magnitude in a single direction in the specified units. # The thickness of the outline.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ },
+ "brightness": 3.14, # The brightness effect of the image. The value should be in the interval
+ # [-1.0, 1.0], where 0 means no effect. This property is read-only.
+ "recolor": { # A recolor effect applied on an image. # The recolor effect of the image. If not set, the image is not recolored.
+ # This property is read-only.
+ "recolorStops": [ # The recolor effect is represented by a gradient, which is a list of color
+ # stops.
+ #
+ # The colors in the gradient will replace the corresponding colors at
+ # the same position in the color palette and apply to the image. This
+ # property is read-only.
+ { # A color and position in a gradient band.
+ "color": { # A themeable solid color value. # The color of the gradient stop.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ "alpha": 3.14, # The alpha value of this color in the gradient band. Defaults to 1.0,
+ # fully opaque.
+ "position": 3.14, # The relative position of the color stop in the gradient band measured
+ # in percentage. The value should be in the interval [0.0, 1.0].
+ },
+ ],
+ "name": "A String", # The name of the recolor effect.
+ #
+ # The name is determined from the `recolor_stops` by matching the gradient
+ # against the colors in the page's current color scheme. This property is
+ # read-only.
+ },
+ "link": { # A hypertext link. # The hyperlink destination of the image. If unset, there is no link.
+ "url": "A String", # If set, indicates this is a link to the external web page at this URL.
+ "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
+ # in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
+ "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
+ # addressed by its position.
+ },
+ "transparency": 3.14, # The transparency effect of the image. The value should be in the interval
+ # [0.0, 1.0], where 0 means no effect and 1 means completely transparent.
+ # This property is read-only.
+ "cropProperties": { # The crop properties of an object enclosed in a container. For example, an # The crop properties of the image. If not set, the image is not cropped.
+ # This property is read-only.
+ # 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.
+ "leftOffset": 3.14, # The offset specifies the left edge of the crop rectangle that is located to
+ # the right of the original bounding rectangle left edge, relative to the
+ # object's original width.
+ "angle": 3.14, # The rotation angle of the crop window around its center, in radians.
+ # Rotation angle is applied after the offset.
+ "rightOffset": 3.14, # The offset specifies the right edge of the crop rectangle that is located
+ # to the left of the original bounding rectangle right edge, relative to the
+ # object's original width.
+ "bottomOffset": 3.14, # The offset specifies the bottom edge of the crop rectangle that is located
+ # above the original bounding rectangle bottom edge, relative to the object's
+ # original height.
+ "topOffset": 3.14, # The offset specifies the top edge of the crop rectangle that is located
+ # below the original bounding rectangle top edge, relative to the object's
+ # original height.
+ },
+ "shadow": { # The shadow properties of a page element. # The shadow of the image. If not set, the image has no shadow. This property
+ # is read-only.
+ #
+ # 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.
+ "color": { # A themeable solid color value. # The shadow color value.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ "transform": { # AffineTransform uses a 3x3 matrix with an implied last row of [ 0 0 1 ] # Transform that encodes the translate, scale, and skew of the shadow,
+ # relative to the alignment position.
+ # 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.
+ "translateX": 3.14, # The X coordinate translation element.
+ "translateY": 3.14, # The Y coordinate translation element.
+ "scaleX": 3.14, # The X coordinate scaling element.
+ "scaleY": 3.14, # The Y coordinate scaling element.
+ "shearY": 3.14, # The Y coordinate shearing element.
+ "shearX": 3.14, # The X coordinate shearing element.
+ "unit": "A String", # The units for translate elements.
+ },
+ "propertyState": "A String", # The shadow property state.
+ #
+ # Updating the the shadow on a page element will implicitly update this field
+ # to `RENDERED`, unless another value is specified in the same request. To
+ # have no shadow on a page element, set this field to `NOT_RENDERED`. In this
+ # case, any other shadow fields set in the same request will be ignored.
+ "blurRadius": { # A magnitude in a single direction in the specified units. # The radius of the shadow blur. The larger the radius, the more diffuse the
+ # shadow becomes.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "alpha": 3.14, # The alpha of the shadow's color, from 0.0 to 1.0.
+ "type": "A String", # The type of the shadow.
+ "alignment": "A String", # The alignment point of the shadow, that sets the origin for translate,
+ # scale and skew of the shadow.
+ "rotateWithShape": True or False, # Whether the shadow should rotate with the shape.
+ },
+ "contrast": 3.14, # The contrast effect of the image. The value should be in the interval
+ # [-1.0, 1.0], where 0 means no effect. This property is read-only.
+ },
+ },
+ "spreadsheetId": "A String", # The ID of the Google Sheets spreadsheet that contains the source chart.
+ },
+ "video": { # A PageElement kind representing a # A video page element.
+ # video.
+ "url": "A String", # An URL to a video. The URL is valid as long as the source video
+ # exists and sharing settings do not change.
+ "source": "A String", # The video source.
+ "id": "A String", # The video source's unique identifier for this video.
+ "videoProperties": { # The properties of the Video. # The properties of the video.
+ "outline": { # The outline of a PageElement. # The outline of the video. The default outline matches the defaults for new
+ # videos created in the Slides editor.
+ #
+ # 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. # The fill of the outline.
+ "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill.
+ # specified color value.
+ #
+ # If any field is unset, its value may be inherited from a parent placeholder
+ # if it exists.
+ "color": { # A themeable solid color value. # The color value of the solid fill.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel.
+ # That is, the final pixel color is defined by the equation:
+ #
+ # pixel color = alpha * (color) + (1.0 - alpha) * (background color)
+ #
+ # This means that a value of 1.0 corresponds to a solid color, whereas
+ # a value of 0.0 corresponds to a completely transparent color.
+ },
+ },
+ "propertyState": "A String", # The outline property state.
+ #
+ # Updating the the outline on a page element will implicitly update this
+ # field to`RENDERED`, unless another value is specified in the same request.
+ # To have no outline on a page element, set this field to `NOT_RENDERED`. In
+ # this case, any other outline fields set in the same request will be
+ # ignored.
+ "dashStyle": "A String", # The dash style of the outline.
+ "weight": { # A magnitude in a single direction in the specified units. # The thickness of the outline.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ },
+ },
+ },
+ "table": { # A PageElement kind representing a # A table page element.
+ # table.
+ "tableColumns": [ # Properties of each column.
+ { # Properties of each column in a table.
+ "columnWidth": { # A magnitude in a single direction in the specified units. # Width of a column.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ },
+ ],
+ "tableRows": [ # Properties and contents of each row.
+ #
+ # Cells that span multiple rows are contained in only one of these rows and
+ # have a row_span greater
+ # than 1.
+ { # Properties and contents of each row in a table.
+ "tableCells": [ # Properties and contents of each cell.
+ #
+ # Cells that span multiple columns are represented only once with a
+ # column_span greater
+ # than 1. As a result, the length of this collection does not always match
+ # the number of columns of the entire table.
+ { # Properties and contents of each table cell.
+ "text": { # The general text content. The text must reside in a compatible shape (e.g. # The text content of the cell.
+ # text box or rectangle) or a table cell in a page.
+ "lists": { # The bulleted lists contained in this text, keyed by list ID.
+ "a_key": { # 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.
+ "nestingLevel": { # A map of nesting levels to the properties of bullets at the associated
+ # level. A list has at most nine levels of nesting, so the possible values
+ # for the keys of this map are 0 through 8, inclusive.
+ "a_key": { # Contains properties describing the look and feel of a list bullet at a given
+ # level of nesting.
+ "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The style of a bullet at this level of nesting.
+ #
+ # 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.
+ "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ "bold": True or False, # Whether or not the text is rendered as bold.
+ "baselineOffset": "A String", # The text's vertical offset from its normal position.
+ #
+ # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
+ # rendered in a smaller font size, computed based on the `font_size` field.
+ # The `font_size` itself is not affected by changes in this field.
+ "strikethrough": True or False, # Whether or not the text is struck through.
+ "smallCaps": True or False, # Whether or not the text is in small capital letters.
+ "fontFamily": "A String", # The font family of the text.
+ #
+ # The font family can be any font from the Font menu in Slides or from
+ # [Google Fonts] (https://fonts.google.com/). If the font name is
+ # unrecognized, the text is rendered in `Arial`.
+ #
+ # Some fonts can affect the weight of the text. If an update request
+ # specifies values for both `font_family` and `bold`, the explicitly-set
+ # `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "italic": True or False, # Whether or not the text is italicized.
+ "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
+ # are not inherited from parent text.
+ #
+ # Changing the link in an update request causes some other changes to the
+ # text style of the range:
+ #
+ # * When setting a link, the text foreground color will be set to
+ # ThemeColorType.HYPERLINK and the text will
+ # be underlined. If these fields are modified in the same
+ # request, those values will be used instead of the link defaults.
+ # * Setting a link on a text range that overlaps with an existing link will
+ # also update the existing link to point to the new URL.
+ # * Links are not settable on newline characters. As a result, setting a link
+ # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
+ # will separate the newline character(s) into their own text runs. The
+ # link will be applied separately to the runs before and after the newline.
+ # * Removing a link will update the text style of the range to match the
+ # style of the preceding text (or the default text styles if the preceding
+ # text is another link) unless different styles are being set in the same
+ # request.
+ "url": "A String", # If set, indicates this is a link to the external web page at this URL.
+ "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
+ # in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
+ "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
+ # addressed by its position.
+ },
+ "underline": True or False, # Whether or not the text is underlined.
+ "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ },
+ },
+ },
+ "listId": "A String", # The ID of the list.
+ },
+ },
+ "textElements": [ # The text contents broken down into its component parts, including styling
+ # information. This property is read-only.
+ { # A TextElement describes the content of a range of indices in the text content
+ # of a Shape or TableCell.
+ "autoText": { # A TextElement kind that represents auto text. # A TextElement representing a spot in the text that is dynamically
+ # replaced with content that can change over time.
+ "content": "A String", # The rendered content of this auto text, if available.
+ "style": { # Represents the styling that can be applied to a TextRun. # The styling applied to this auto text.
+ #
+ # 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.
+ "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ "bold": True or False, # Whether or not the text is rendered as bold.
+ "baselineOffset": "A String", # The text's vertical offset from its normal position.
+ #
+ # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
+ # rendered in a smaller font size, computed based on the `font_size` field.
+ # The `font_size` itself is not affected by changes in this field.
+ "strikethrough": True or False, # Whether or not the text is struck through.
+ "smallCaps": True or False, # Whether or not the text is in small capital letters.
+ "fontFamily": "A String", # The font family of the text.
+ #
+ # The font family can be any font from the Font menu in Slides or from
+ # [Google Fonts] (https://fonts.google.com/). If the font name is
+ # unrecognized, the text is rendered in `Arial`.
+ #
+ # Some fonts can affect the weight of the text. If an update request
+ # specifies values for both `font_family` and `bold`, the explicitly-set
+ # `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "italic": True or False, # Whether or not the text is italicized.
+ "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
+ # are not inherited from parent text.
+ #
+ # Changing the link in an update request causes some other changes to the
+ # text style of the range:
+ #
+ # * When setting a link, the text foreground color will be set to
+ # ThemeColorType.HYPERLINK and the text will
+ # be underlined. If these fields are modified in the same
+ # request, those values will be used instead of the link defaults.
+ # * Setting a link on a text range that overlaps with an existing link will
+ # also update the existing link to point to the new URL.
+ # * Links are not settable on newline characters. As a result, setting a link
+ # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
+ # will separate the newline character(s) into their own text runs. The
+ # link will be applied separately to the runs before and after the newline.
+ # * Removing a link will update the text style of the range to match the
+ # style of the preceding text (or the default text styles if the preceding
+ # text is another link) unless different styles are being set in the same
+ # request.
+ "url": "A String", # If set, indicates this is a link to the external web page at this URL.
+ "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
+ # in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
+ "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
+ # addressed by its position.
+ },
+ "underline": True or False, # Whether or not the text is underlined.
+ "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ },
+ "type": "A String", # The type of this auto text.
+ },
+ "endIndex": 42, # The zero-based end index of this text element, exclusive, in Unicode code
+ # units.
+ "startIndex": 42, # The zero-based start index of this text element, in Unicode code units.
+ "paragraphMarker": { # A TextElement kind that represents the beginning of a new paragraph. # A marker representing the beginning of a new paragraph.
+ #
+ # The `start_index` and `end_index` of this TextElement represent the
+ # range of the paragraph. Other TextElements with an index range contained
+ # inside this paragraph's range are considered to be part of this
+ # paragraph. The range of indices of two separate paragraphs will never
+ # overlap.
+ "style": { # Styles that apply to a whole paragraph. # The paragraph's style
+ #
+ # 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.
+ "spacingMode": "A String", # The spacing mode for the paragraph.
+ "direction": "A String", # The text direction of this paragraph. If unset, the value defaults to
+ # LEFT_TO_RIGHT
+ # since text direction is not inherited.
+ "spaceBelow": { # A magnitude in a single direction in the specified units. # The amount of extra space above the paragraph. If unset, the value is
+ # inherited from the parent.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "lineSpacing": 3.14, # The amount of space between lines, as a percentage of normal, where normal
+ # is represented as 100.0. If unset, the value is inherited from the parent.
+ "indentStart": { # A magnitude in a single direction in the specified units. # The amount indentation for the paragraph on the side that corresponds to
+ # the start of the text, based on the current text direction. If unset, the
+ # value is inherited from the parent.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "spaceAbove": { # A magnitude in a single direction in the specified units. # The amount of extra space above the paragraph. If unset, the value is
+ # inherited from the parent.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "indentEnd": { # A magnitude in a single direction in the specified units. # The amount indentation for the paragraph on the side that corresponds to
+ # the end of the text, based on the current text direction. If unset, the
+ # value is inherited from the parent.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "indentFirstLine": { # A magnitude in a single direction in the specified units. # The amount of indentation for the start of the first line of the paragraph.
+ # If unset, the value is inherited from the parent.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "alignment": "A String", # The text alignment for this paragraph.
+ },
+ "bullet": { # Describes the bullet of a paragraph. # The bullet for this paragraph. If not present, the paragraph does not
+ # belong to a list.
+ "nestingLevel": 42, # The nesting level of this paragraph in the list.
+ "listId": "A String", # The ID of the list this paragraph belongs to.
+ "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The paragraph specific text style applied to this bullet.
+ #
+ # 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.
+ "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ "bold": True or False, # Whether or not the text is rendered as bold.
+ "baselineOffset": "A String", # The text's vertical offset from its normal position.
+ #
+ # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
+ # rendered in a smaller font size, computed based on the `font_size` field.
+ # The `font_size` itself is not affected by changes in this field.
+ "strikethrough": True or False, # Whether or not the text is struck through.
+ "smallCaps": True or False, # Whether or not the text is in small capital letters.
+ "fontFamily": "A String", # The font family of the text.
+ #
+ # The font family can be any font from the Font menu in Slides or from
+ # [Google Fonts] (https://fonts.google.com/). If the font name is
+ # unrecognized, the text is rendered in `Arial`.
+ #
+ # Some fonts can affect the weight of the text. If an update request
+ # specifies values for both `font_family` and `bold`, the explicitly-set
+ # `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "italic": True or False, # Whether or not the text is italicized.
+ "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
+ # are not inherited from parent text.
+ #
+ # Changing the link in an update request causes some other changes to the
+ # text style of the range:
+ #
+ # * When setting a link, the text foreground color will be set to
+ # ThemeColorType.HYPERLINK and the text will
+ # be underlined. If these fields are modified in the same
+ # request, those values will be used instead of the link defaults.
+ # * Setting a link on a text range that overlaps with an existing link will
+ # also update the existing link to point to the new URL.
+ # * Links are not settable on newline characters. As a result, setting a link
+ # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
+ # will separate the newline character(s) into their own text runs. The
+ # link will be applied separately to the runs before and after the newline.
+ # * Removing a link will update the text style of the range to match the
+ # style of the preceding text (or the default text styles if the preceding
+ # text is another link) unless different styles are being set in the same
+ # request.
+ "url": "A String", # If set, indicates this is a link to the external web page at this URL.
+ "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
+ # in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
+ "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
+ # addressed by its position.
+ },
+ "underline": True or False, # Whether or not the text is underlined.
+ "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ },
+ "glyph": "A String", # The rendered bullet glyph for this paragraph.
+ },
+ },
+ "textRun": { # A TextElement kind that represents a run of text that all has the same # A TextElement representing a run of text where all of the characters
+ # in the run have the same TextStyle.
+ #
+ # The `start_index` and `end_index` of TextRuns will always be fully
+ # contained in the index range of a single `paragraph_marker` TextElement.
+ # In other words, a TextRun will never span multiple paragraphs.
+ # styling.
+ "content": "A String", # The text of this run.
+ "style": { # Represents the styling that can be applied to a TextRun. # The styling applied to this run.
+ #
+ # 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.
+ "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ "bold": True or False, # Whether or not the text is rendered as bold.
+ "baselineOffset": "A String", # The text's vertical offset from its normal position.
+ #
+ # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
+ # rendered in a smaller font size, computed based on the `font_size` field.
+ # The `font_size` itself is not affected by changes in this field.
+ "strikethrough": True or False, # Whether or not the text is struck through.
+ "smallCaps": True or False, # Whether or not the text is in small capital letters.
+ "fontFamily": "A String", # The font family of the text.
+ #
+ # The font family can be any font from the Font menu in Slides or from
+ # [Google Fonts] (https://fonts.google.com/). If the font name is
+ # unrecognized, the text is rendered in `Arial`.
+ #
+ # Some fonts can affect the weight of the text. If an update request
+ # specifies values for both `font_family` and `bold`, the explicitly-set
+ # `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "italic": True or False, # Whether or not the text is italicized.
+ "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
+ # are not inherited from parent text.
+ #
+ # Changing the link in an update request causes some other changes to the
+ # text style of the range:
+ #
+ # * When setting a link, the text foreground color will be set to
+ # ThemeColorType.HYPERLINK and the text will
+ # be underlined. If these fields are modified in the same
+ # request, those values will be used instead of the link defaults.
+ # * Setting a link on a text range that overlaps with an existing link will
+ # also update the existing link to point to the new URL.
+ # * Links are not settable on newline characters. As a result, setting a link
+ # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
+ # will separate the newline character(s) into their own text runs. The
+ # link will be applied separately to the runs before and after the newline.
+ # * Removing a link will update the text style of the range to match the
+ # style of the preceding text (or the default text styles if the preceding
+ # text is another link) unless different styles are being set in the same
+ # request.
+ "url": "A String", # If set, indicates this is a link to the external web page at this URL.
+ "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
+ # in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
+ "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
+ # addressed by its position.
+ },
+ "underline": True or False, # Whether or not the text is underlined.
+ "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ },
+ },
+ },
+ ],
+ },
+ "tableCellProperties": { # The properties of the TableCell. # The properties of the table cell.
+ "tableCellBackgroundFill": { # The table cell background fill. # The background fill of the table cell. The default fill matches the fill
+ # for newly created table cells in the Slides editor.
+ "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill.
+ # specified color value.
+ #
+ # If any field is unset, its value may be inherited from a parent placeholder
+ # if it exists.
+ "color": { # A themeable solid color value. # The color value of the solid fill.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel.
+ # That is, the final pixel color is defined by the equation:
+ #
+ # pixel color = alpha * (color) + (1.0 - alpha) * (background color)
+ #
+ # This means that a value of 1.0 corresponds to a solid color, whereas
+ # a value of 0.0 corresponds to a completely transparent color.
+ },
+ "propertyState": "A String", # The background fill property state.
+ #
+ # Updating the the fill on a table cell will implicitly update this field
+ # to `RENDERED`, unless another value is specified in the same request. To
+ # have no fill on a table cell, set this field to `NOT_RENDERED`. In this
+ # case, any other fill fields set in the same request will be ignored.
+ },
+ },
+ "rowSpan": 42, # Row span of the cell.
+ "columnSpan": 42, # Column span of the cell.
+ "location": { # A location of a single table cell within a table. # The location of the cell within the table.
+ "rowIndex": 42, # The 0-based row index.
+ "columnIndex": 42, # The 0-based column index.
+ },
+ },
+ ],
+ "rowHeight": { # A magnitude in a single direction in the specified units. # Height of a row.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ },
+ ],
+ "rows": 42, # Number of rows in the table.
+ "columns": 42, # Number of columns in the table.
+ },
+ "line": { # A PageElement kind representing a # A line page element.
+ # line, curved connector, or bent connector.
+ "lineProperties": { # The properties of the Line. # The properties of the line.
+ #
+ # When unset, these fields default to values that match the appearance of
+ # new lines created in the Slides editor.
+ "dashStyle": "A String", # The dash style of the line.
+ "weight": { # A magnitude in a single direction in the specified units. # The thickness of the line.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "endArrow": "A String", # The style of the arrow at the end of the line.
+ "link": { # A hypertext link. # The hyperlink destination of the line. If unset, there is no link.
+ "url": "A String", # If set, indicates this is a link to the external web page at this URL.
+ "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
+ # in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
+ "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
+ # addressed by its position.
+ },
+ "startArrow": "A String", # The style of the arrow at the beginning of the line.
+ "lineFill": { # The fill of the line. # The fill of the line. The default line fill matches the defaults for new
+ # lines created in the Slides editor.
+ "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill.
+ # specified color value.
+ #
+ # If any field is unset, its value may be inherited from a parent placeholder
+ # if it exists.
+ "color": { # A themeable solid color value. # The color value of the solid fill.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel.
+ # That is, the final pixel color is defined by the equation:
+ #
+ # pixel color = alpha * (color) + (1.0 - alpha) * (background color)
+ #
+ # This means that a value of 1.0 corresponds to a solid color, whereas
+ # a value of 0.0 corresponds to a completely transparent color.
+ },
+ },
+ },
+ "lineType": "A String", # The type of the line.
+ },
+ "size": { # A width and height. # The size of the page element.
+ "width": { # A magnitude in a single direction in the specified units. # The width of the object.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "height": { # A magnitude in a single direction in the specified units. # The height of the object.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ },
+ "elementGroup": { # A PageElement kind representing a # A collection of page elements joined as a single unit.
+ # joined collection of PageElements.
+ "children": [ # The collection of elements in the group. The minimum size of a group is 2.
+ # Object with schema name: PageElement
+ ],
+ },
+ },
+ ],
+ "notesProperties": { # The properties of Page that are only # Notes specific properties. Only set if page_type = NOTES.
+ # relevant for pages with page_type NOTES.
+ "speakerNotesObjectId": "A String", # The object ID of the shape on this notes page that contains the speaker
+ # notes for the corresponding slide.
+ # The actual shape may not always exist on the notes page. Inserting text
+ # using this object ID will automatically create the shape. In this case, the
+ # actual shape may have different object ID. The `GetPresentation` or
+ # `GetPage` action will always return the latest object ID.
+ },
+ "objectId": "A String", # The object ID for this page. Object IDs used by
+ # Page and
+ # PageElement share the same namespace.
+ "revisionId": "A String", # The revision ID of the presentation containing this page. Can be used in
+ # update requests to assert that the presentation revision hasn't changed
+ # since the last read operation. Only populated if the user has edit access
+ # to the presentation.
+ #
+ # The format of the revision ID may change over time, so it should be treated
+ # opaquely. A returned revision ID is only guaranteed to be valid for 24
+ # hours after it has been returned and cannot be shared across
+ # users. Callers can assume that if two revision IDs are equal then the
+ # presentation has not changed.
+ "pageProperties": { # The properties of the Page. # 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.
+ "pageBackgroundFill": { # The page background fill. # The background fill of the page. If unset, the background fill is inherited
+ # from a parent page if it exists. If the page has no parent, then the
+ # background fill defaults to the corresponding fill in the Slides editor.
+ "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill.
+ # specified color value.
+ #
+ # If any field is unset, its value may be inherited from a parent placeholder
+ # if it exists.
+ "color": { # A themeable solid color value. # The color value of the solid fill.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel.
+ # That is, the final pixel color is defined by the equation:
+ #
+ # pixel color = alpha * (color) + (1.0 - alpha) * (background color)
+ #
+ # This means that a value of 1.0 corresponds to a solid color, whereas
+ # a value of 0.0 corresponds to a completely transparent color.
+ },
+ "propertyState": "A String", # The background fill property state.
+ #
+ # Updating the the fill on a page will implicitly update this field to
+ # `RENDERED`, unless another value is specified in the same request. To
+ # have no fill on a page, set this field to `NOT_RENDERED`. In this case,
+ # any other fill fields set in the same request will be ignored.
+ "stretchedPictureFill": { # The stretched picture fill. The page or page element is filled entirely with # Stretched picture fill.
+ # the specified picture. The picture is stretched to fit its container.
+ "contentUrl": "A String", # Reading the content_url:
+ #
+ # An URL to a picture with a default lifetime of 30 minutes.
+ # This URL is tagged with the account of the requester. Anyone with the URL
+ # effectively accesses the picture as the original requester. Access to the
+ # picture may be lost if the presentation's sharing settings change.
+ #
+ # Writing the content_url:
+ #
+ # The picture is fetched once at insertion time and a copy is stored for
+ # display inside the presentation. Pictures must be less than 50MB in size,
+ # cannot exceed 25 megapixels, and must be in either in PNG, JPEG, or GIF
+ # format.
+ "size": { # A width and height. # The original size of the picture fill. This field is read-only.
+ "width": { # A magnitude in a single direction in the specified units. # The width of the object.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "height": { # A magnitude in a single direction in the specified units. # The height of the object.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ },
+ },
+ },
+ "colorScheme": { # The palette of predefined colors for a page. # The color scheme of the page. If unset, the color scheme is inherited from
+ # a parent page. If the page has no parent, the color scheme uses a default
+ # Slides color scheme. This field is read-only.
+ "colors": [ # The ThemeColorType and corresponding concrete color pairs.
+ { # A pair mapping a theme color type to the concrete color it represents.
+ "color": { # An RGB color. # The concrete color corresponding to the theme color type above.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ "type": "A String", # The type of the theme color.
+ },
+ ],
},
},
- ],
- }
-
- x__xgafv: string, V1 error format.
- Allowed values
- 1 - v1 error format
- 2 - v2 error format
-
-Returns:
- An object of the form:
-
- { # Response message from a batch update.
- "presentationId": "A String", # The presentation the updates were applied to.
- "replies": [ # The reply of the updates. This maps 1:1 with the updates, although
- # replies to some requests may be empty.
- { # A single response from an update.
- "createImage": { # The result of creating an image. # The result of creating an image.
- "objectId": "A String", # The object ID of the created image.
- },
- "replaceAllShapesWithImage": { # The result of replacing shapes with an image. # The result of replacing all shapes containing the specified text with
- # an image.
- "occurrencesChanged": 42, # The number of shapes replaced with images.
- },
- "duplicateObject": { # The response of duplicating an object. # The result of duplicating an object.
- "objectId": "A String", # The ID of the new duplicate object.
- },
- "createShape": { # The result of creating a shape. # The result of creating a shape.
- "objectId": "A String", # The object ID of the created shape.
- },
- "replaceAllText": { # The result of replacing text. # The result of replacing text.
- "occurrencesChanged": 42, # The number of occurrences changed by replacing all text.
- },
- "createSheetsChart": { # The result of creating an embedded Google Sheets chart. # The result of creating a Google Sheets chart.
- "objectId": "A String", # The object ID of the created chart.
- },
- "createVideo": { # The result of creating a video. # The result of creating a video.
- "objectId": "A String", # The object ID of the created video.
- },
- "createSlide": { # The result of creating a slide. # The result of creating a slide.
- "objectId": "A String", # The object ID of the created slide.
- },
- "createTable": { # The result of creating a table. # The result of creating a table.
- "objectId": "A String", # The object ID of the created table.
- },
- "createLine": { # The result of creating a line. # The result of creating a line.
- "objectId": "A String", # The object ID of the created line.
- },
+ "pageType": "A String", # The type of the page.
+ "slideProperties": { # The properties of Page that are only # Slide specific properties. Only set if page_type = SLIDE.
+ # relevant for pages with page_type SLIDE.
+ "notesPage": # Object with schema name: Page # The notes page that this slide is associated with. It defines the visual
+ # appearance of a notes page when printing or exporting slides with speaker
+ # notes. A notes page inherits properties from the
+ # notes master.
+ # The placeholder shape with type BODY on the notes page contains the speaker
+ # notes for this slide. The ID of this shape is identified by the
+ # speakerNotesObjectId field.
+ # The notes page is read-only except for the text content and styles of the
+ # speaker notes shape.
+ "masterObjectId": "A String", # The object ID of the master that this slide is based on.
+ "layoutObjectId": "A String", # The object ID of the layout that this slide is based on.
},
- ],
- }</pre>
-</div>
-
-<div class="method">
- <code class="details" id="create">create(body, x__xgafv=None)</code>
- <pre>Creates a new presentation using the title given in the request. Other
-fields in the request are ignored.
-Returns the created presentation.
-
-Args:
- body: object, The request body. (required)
- The object takes the form of:
-
-{ # A Google Slides presentation.
- "presentationId": "A String", # The ID of the presentation.
+ },
+ "pageSize": { # A width and height. # The size of pages in the presentation.
+ "width": { # A magnitude in a single direction in the specified units. # The width of the object.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "height": { # A magnitude in a single direction in the specified units. # The height of the object.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ },
+ "title": "A String", # The title of the presentation.
+ "locale": "A String", # The locale of the presentation, as an IETF BCP 47 language tag.
+ "revisionId": "A String", # The revision ID of the presentation. Can be used in update requests
+ # to assert that the presentation revision hasn't changed since the last
+ # read operation. Only populated if the user has edit access to the
+ # presentation.
+ #
+ # The format of the revision ID may change over time, so it should be treated
+ # opaquely. A returned revision ID is only guaranteed to be valid for 24
+ # hours after it has been returned and cannot be shared across users. Callers
+ # can assume that if two revision IDs are equal then the presentation has not
+ # changed.
"masters": [ # The slide masters in the presentation. A slide master contains all common
# page elements and the common properties for a set of layouts. They serve
# three purposes:
@@ -1614,14 +3664,6 @@
# 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.
- "dashStyle": "A String", # The dash style of the outline.
- "propertyState": "A String", # The outline property state.
- #
- # Updating the the outline on a page element will implicitly update this
- # field to`RENDERED`, unless another value is specified in the same request.
- # To have no outline on a page element, set this field to `NOT_RENDERED`. In
- # this case, any other outline fields set in the same request will be
- # ignored.
"outlineFill": { # The fill of the outline. # The fill of the outline.
"solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill.
# specified color value.
@@ -1645,6 +3687,14 @@
# a value of 0.0 corresponds to a completely transparent color.
},
},
+ "propertyState": "A String", # The outline property state.
+ #
+ # Updating the the outline on a page element will implicitly update this
+ # field to`RENDERED`, unless another value is specified in the same request.
+ # To have no outline on a page element, set this field to `NOT_RENDERED`. In
+ # this case, any other outline fields set in the same request will be
+ # ignored.
+ "dashStyle": "A String", # The dash style of the outline.
"weight": { # A magnitude in a single direction in the specified units. # The thickness of the outline.
"magnitude": 3.14, # The magnitude.
"unit": "A String", # The units for magnitude.
@@ -1655,7 +3705,11 @@
"recolor": { # A recolor effect applied on an image. # The recolor effect of the image. If not set, the image is not recolored.
# This property is read-only.
"recolorStops": [ # The recolor effect is represented by a gradient, which is a list of color
- # stops. This property is read-only.
+ # stops.
+ #
+ # The colors in the gradient will replace the corresponding colors at
+ # the same position in the color palette and apply to the image. This
+ # property is read-only.
{ # A color and position in a gradient band.
"color": { # A themeable solid color value. # The color of the gradient stop.
"themeColor": "A String", # An opaque theme color.
@@ -1665,19 +3719,24 @@
"red": 3.14, # The red component of the color, from 0.0 to 1.0.
},
},
- "position": 3.14, # The relative position of the color stop in the gradient band measured
- # in percentage. The value should be in the interval [0.0, 1.0].
"alpha": 3.14, # The alpha value of this color in the gradient band. Defaults to 1.0,
# fully opaque.
+ "position": 3.14, # The relative position of the color stop in the gradient band measured
+ # in percentage. The value should be in the interval [0.0, 1.0].
},
],
+ "name": "A String", # The name of the recolor effect.
+ #
+ # The name is determined from the `recolor_stops` by matching the gradient
+ # against the colors in the page's current color scheme. This property is
+ # read-only.
},
"link": { # A hypertext link. # The hyperlink destination of the image. If unset, there is no link.
"url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
"slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
# in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
"relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
# addressed by its position.
},
@@ -1710,12 +3769,12 @@
# object's original width.
"angle": 3.14, # The rotation angle of the crop window around its center, in radians.
# Rotation angle is applied after the offset.
- "bottomOffset": 3.14, # The offset specifies the bottom edge of the crop rectangle that is located
- # above the original bounding rectangle bottom edge, relative to the object's
- # original height.
"rightOffset": 3.14, # The offset specifies the right edge of the crop rectangle that is located
# to the left of the original bounding rectangle right edge, relative to the
# object's original width.
+ "bottomOffset": 3.14, # The offset specifies the bottom edge of the crop rectangle that is located
+ # above the original bounding rectangle bottom edge, relative to the object's
+ # original height.
"topOffset": 3.14, # The offset specifies the top edge of the crop rectangle that is located
# below the original bounding rectangle top edge, relative to the object's
# original height.
@@ -1803,6 +3862,114 @@
# generic shape that does not have a more specific classification.
"text": { # The general text content. The text must reside in a compatible shape (e.g. # The text content of the shape.
# text box or rectangle) or a table cell in a page.
+ "lists": { # The bulleted lists contained in this text, keyed by list ID.
+ "a_key": { # 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.
+ "nestingLevel": { # A map of nesting levels to the properties of bullets at the associated
+ # level. A list has at most nine levels of nesting, so the possible values
+ # for the keys of this map are 0 through 8, inclusive.
+ "a_key": { # Contains properties describing the look and feel of a list bullet at a given
+ # level of nesting.
+ "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The style of a bullet at this level of nesting.
+ #
+ # 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.
+ "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ "bold": True or False, # Whether or not the text is rendered as bold.
+ "baselineOffset": "A String", # The text's vertical offset from its normal position.
+ #
+ # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
+ # rendered in a smaller font size, computed based on the `font_size` field.
+ # The `font_size` itself is not affected by changes in this field.
+ "strikethrough": True or False, # Whether or not the text is struck through.
+ "smallCaps": True or False, # Whether or not the text is in small capital letters.
+ "fontFamily": "A String", # The font family of the text.
+ #
+ # The font family can be any font from the Font menu in Slides or from
+ # [Google Fonts] (https://fonts.google.com/). If the font name is
+ # unrecognized, the text is rendered in `Arial`.
+ #
+ # Some fonts can affect the weight of the text. If an update request
+ # specifies values for both `font_family` and `bold`, the explicitly-set
+ # `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "italic": True or False, # Whether or not the text is italicized.
+ "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
+ # are not inherited from parent text.
+ #
+ # Changing the link in an update request causes some other changes to the
+ # text style of the range:
+ #
+ # * When setting a link, the text foreground color will be set to
+ # ThemeColorType.HYPERLINK and the text will
+ # be underlined. If these fields are modified in the same
+ # request, those values will be used instead of the link defaults.
+ # * Setting a link on a text range that overlaps with an existing link will
+ # also update the existing link to point to the new URL.
+ # * Links are not settable on newline characters. As a result, setting a link
+ # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
+ # will separate the newline character(s) into their own text runs. The
+ # link will be applied separately to the runs before and after the newline.
+ # * Removing a link will update the text style of the range to match the
+ # style of the preceding text (or the default text styles if the preceding
+ # text is another link) unless different styles are being set in the same
+ # request.
+ "url": "A String", # If set, indicates this is a link to the external web page at this URL.
+ "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
+ # in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
+ "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
+ # addressed by its position.
+ },
+ "underline": True or False, # Whether or not the text is underlined.
+ "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ },
+ },
+ },
+ "listId": "A String", # The ID of the list.
+ },
+ },
"textElements": [ # The text contents broken down into its component parts, including styling
# information. This property is read-only.
{ # A TextElement describes the content of a range of indices in the text content
@@ -1839,7 +4006,7 @@
},
},
},
- "bold": True or False, # Whether or not the text is bold.
+ "bold": True or False, # Whether or not the text is rendered as bold.
"baselineOffset": "A String", # The text's vertical offset from its normal position.
#
# Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
@@ -1856,6 +4023,12 @@
# Some fonts can affect the weight of the text. If an update request
# specifies values for both `font_family` and `bold`, the explicitly-set
# `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "italic": True or False, # Whether or not the text is italicized.
"link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
# are not inherited from parent text.
#
@@ -1877,19 +4050,13 @@
# text is another link) unless different styles are being set in the same
# request.
"url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
"slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
# in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
"relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
# addressed by its position.
},
- "italic": True or False, # Whether or not the text is italicized.
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
"underline": True or False, # Whether or not the text is underlined.
"backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
# transparent, depending on if the `opaque_color` field in it is set.
@@ -1929,40 +4096,40 @@
# placeholder.
#
# Inherited paragraph styles are represented as unset fields in this message.
- "spacingMode": "A String", # The spacing mode for the paragraph. This property is read-only.
- "direction": "A String", # The text direction of this paragraph. This property is read-only.
+ "spacingMode": "A String", # The spacing mode for the paragraph.
+ "direction": "A String", # The text direction of this paragraph. If unset, the value defaults to
+ # LEFT_TO_RIGHT
+ # since text direction is not inherited.
"spaceBelow": { # A magnitude in a single direction in the specified units. # The amount of extra space above the paragraph. If unset, the value is
- # inherited from the parent. This property is read-only.
+ # inherited from the parent.
"magnitude": 3.14, # The magnitude.
"unit": "A String", # The units for magnitude.
},
"lineSpacing": 3.14, # The amount of space between lines, as a percentage of normal, where normal
# is represented as 100.0. If unset, the value is inherited from the parent.
- # This property is read-only.
"indentStart": { # A magnitude in a single direction in the specified units. # The amount indentation for the paragraph on the side that corresponds to
# the start of the text, based on the current text direction. If unset, the
- # value is inherited from the parent. This property is read-only.
+ # value is inherited from the parent.
"magnitude": 3.14, # The magnitude.
"unit": "A String", # The units for magnitude.
},
"spaceAbove": { # A magnitude in a single direction in the specified units. # The amount of extra space above the paragraph. If unset, the value is
- # inherited from the parent. This property is read-only.
+ # inherited from the parent.
"magnitude": 3.14, # The magnitude.
"unit": "A String", # The units for magnitude.
},
"indentEnd": { # A magnitude in a single direction in the specified units. # The amount indentation for the paragraph on the side that corresponds to
# the end of the text, based on the current text direction. If unset, the
- # value is inherited from the parent. This property is read-only.
+ # value is inherited from the parent.
"magnitude": 3.14, # The magnitude.
"unit": "A String", # The units for magnitude.
},
"indentFirstLine": { # A magnitude in a single direction in the specified units. # The amount of indentation for the start of the first line of the paragraph.
- # If unset, the value is inherited from the parent. This property is
- # read-only.
+ # If unset, the value is inherited from the parent.
"magnitude": 3.14, # The magnitude.
"unit": "A String", # The units for magnitude.
},
- "alignment": "A String", # The text alignment for this paragraph. This property is read-only.
+ "alignment": "A String", # The text alignment for this paragraph.
},
"bullet": { # Describes the bullet of a paragraph. # The bullet for this paragraph. If not present, the paragraph does not
# belong to a list.
@@ -1997,7 +4164,7 @@
},
},
},
- "bold": True or False, # Whether or not the text is bold.
+ "bold": True or False, # Whether or not the text is rendered as bold.
"baselineOffset": "A String", # The text's vertical offset from its normal position.
#
# Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
@@ -2014,6 +4181,12 @@
# Some fonts can affect the weight of the text. If an update request
# specifies values for both `font_family` and `bold`, the explicitly-set
# `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "italic": True or False, # Whether or not the text is italicized.
"link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
# are not inherited from parent text.
#
@@ -2035,19 +4208,13 @@
# text is another link) unless different styles are being set in the same
# request.
"url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
"slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
# in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
"relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
# addressed by its position.
},
- "italic": True or False, # Whether or not the text is italicized.
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
"underline": True or False, # Whether or not the text is underlined.
"backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
# transparent, depending on if the `opaque_color` field in it is set.
@@ -2102,7 +4269,7 @@
},
},
},
- "bold": True or False, # Whether or not the text is bold.
+ "bold": True or False, # Whether or not the text is rendered as bold.
"baselineOffset": "A String", # The text's vertical offset from its normal position.
#
# Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
@@ -2119,6 +4286,12 @@
# Some fonts can affect the weight of the text. If an update request
# specifies values for both `font_family` and `bold`, the explicitly-set
# `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "italic": True or False, # Whether or not the text is italicized.
"link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
# are not inherited from parent text.
#
@@ -2140,19 +4313,13 @@
# text is another link) unless different styles are being set in the same
# request.
"url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
"slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
# in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
"relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
# addressed by its position.
},
- "italic": True or False, # Whether or not the text is italicized.
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
"underline": True or False, # Whether or not the text is underlined.
"backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
# transparent, depending on if the `opaque_color` field in it is set.
@@ -2170,114 +4337,6 @@
},
},
],
- "lists": { # The bulleted lists contained in this text, keyed by list ID.
- "a_key": { # 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.
- "nestingLevel": { # A map of nesting levels to the properties of bullets at the associated
- # level. A list has at most nine levels of nesting, so the possible values
- # for the keys of this map are 0 through 8, inclusive.
- "a_key": { # Contains properties describing the look and feel of a list bullet at a given
- # level of nesting.
- "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The style of a bullet at this level of nesting.
- #
- # 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.
- "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- "bold": True or False, # Whether or not the text is bold.
- "baselineOffset": "A String", # The text's vertical offset from its normal position.
- #
- # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
- # rendered in a smaller font size, computed based on the `font_size` field.
- # The `font_size` itself is not affected by changes in this field.
- "strikethrough": True or False, # Whether or not the text is struck through.
- "smallCaps": True or False, # Whether or not the text is in small capital letters.
- "fontFamily": "A String", # The font family of the text.
- #
- # The font family can be any font from the Font menu in Slides or from
- # [Google Fonts] (https://fonts.google.com/). If the font name is
- # unrecognized, the text is rendered in `Arial`.
- #
- # Some fonts can affect the weight of the text. If an update request
- # specifies values for both `font_family` and `bold`, the explicitly-set
- # `bold` value is used.
- "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
- # are not inherited from parent text.
- #
- # Changing the link in an update request causes some other changes to the
- # text style of the range:
- #
- # * When setting a link, the text foreground color will be set to
- # ThemeColorType.HYPERLINK and the text will
- # be underlined. If these fields are modified in the same
- # request, those values will be used instead of the link defaults.
- # * Setting a link on a text range that overlaps with an existing link will
- # also update the existing link to point to the new URL.
- # * Links are not settable on newline characters. As a result, setting a link
- # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
- # will separate the newline character(s) into their own text runs. The
- # link will be applied separately to the runs before and after the newline.
- # * Removing a link will update the text style of the range to match the
- # style of the preceding text (or the default text styles if the preceding
- # text is another link) unless different styles are being set in the same
- # request.
- "url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
- "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
- # in the presentation. There may not be a slide at this index.
- "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
- # addressed by its position.
- },
- "italic": True or False, # Whether or not the text is italicized.
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
- "underline": True or False, # Whether or not the text is underlined.
- "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- },
- },
- },
- "listId": "A String", # The ID of the list.
- },
- },
},
"shapeProperties": { # The properties of a Shape. # The properties of the shape.
#
@@ -2377,10 +4436,10 @@
"link": { # A hypertext link. # The hyperlink destination of the shape. If unset, there is no link. Links
# are not inherited from parent placeholders.
"url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
"slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
# in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
"relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
# addressed by its position.
},
@@ -2393,14 +4452,6 @@
# 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.
- "dashStyle": "A String", # The dash style of the outline.
- "propertyState": "A String", # The outline property state.
- #
- # Updating the the outline on a page element will implicitly update this
- # field to`RENDERED`, unless another value is specified in the same request.
- # To have no outline on a page element, set this field to `NOT_RENDERED`. In
- # this case, any other outline fields set in the same request will be
- # ignored.
"outlineFill": { # The fill of the outline. # The fill of the outline.
"solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill.
# specified color value.
@@ -2424,6 +4475,14 @@
# a value of 0.0 corresponds to a completely transparent color.
},
},
+ "propertyState": "A String", # The outline property state.
+ #
+ # Updating the the outline on a page element will implicitly update this
+ # field to`RENDERED`, unless another value is specified in the same request.
+ # To have no outline on a page element, set this field to `NOT_RENDERED`. In
+ # this case, any other outline fields set in the same request will be
+ # ignored.
+ "dashStyle": "A String", # The dash style of the outline.
"weight": { # A magnitude in a single direction in the specified units. # The thickness of the outline.
"magnitude": 3.14, # The magnitude.
"unit": "A String", # The units for magnitude.
@@ -2450,7 +4509,10 @@
# a linked chart embedded from Google Sheets.
"chartId": 42, # The ID of the specific chart in the Google Sheets spreadsheet that is
# embedded.
- "spreadsheetId": "A String", # The ID of the Google Sheets spreadsheet that contains the source chart.
+ "contentUrl": "A String", # The URL of an image of the embedded chart, with a default lifetime of 30
+ # minutes. This URL is tagged with the account of the requester. Anyone with
+ # the URL effectively accesses the image as the original requester. Access to
+ # the image may be lost if the presentation's sharing settings change.
"sheetsChartProperties": { # The properties of the SheetsChart. # The properties of the Sheets chart.
"chartImageProperties": { # The properties of the Image. # The properties of the embedded chart image.
"outline": { # The outline of a PageElement. # The outline of the image. If not set, the the image has no outline.
@@ -2459,14 +4521,6 @@
# 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.
- "dashStyle": "A String", # The dash style of the outline.
- "propertyState": "A String", # The outline property state.
- #
- # Updating the the outline on a page element will implicitly update this
- # field to`RENDERED`, unless another value is specified in the same request.
- # To have no outline on a page element, set this field to `NOT_RENDERED`. In
- # this case, any other outline fields set in the same request will be
- # ignored.
"outlineFill": { # The fill of the outline. # The fill of the outline.
"solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill.
# specified color value.
@@ -2490,6 +4544,14 @@
# a value of 0.0 corresponds to a completely transparent color.
},
},
+ "propertyState": "A String", # The outline property state.
+ #
+ # Updating the the outline on a page element will implicitly update this
+ # field to`RENDERED`, unless another value is specified in the same request.
+ # To have no outline on a page element, set this field to `NOT_RENDERED`. In
+ # this case, any other outline fields set in the same request will be
+ # ignored.
+ "dashStyle": "A String", # The dash style of the outline.
"weight": { # A magnitude in a single direction in the specified units. # The thickness of the outline.
"magnitude": 3.14, # The magnitude.
"unit": "A String", # The units for magnitude.
@@ -2500,7 +4562,11 @@
"recolor": { # A recolor effect applied on an image. # The recolor effect of the image. If not set, the image is not recolored.
# This property is read-only.
"recolorStops": [ # The recolor effect is represented by a gradient, which is a list of color
- # stops. This property is read-only.
+ # stops.
+ #
+ # The colors in the gradient will replace the corresponding colors at
+ # the same position in the color palette and apply to the image. This
+ # property is read-only.
{ # A color and position in a gradient band.
"color": { # A themeable solid color value. # The color of the gradient stop.
"themeColor": "A String", # An opaque theme color.
@@ -2510,19 +4576,24 @@
"red": 3.14, # The red component of the color, from 0.0 to 1.0.
},
},
- "position": 3.14, # The relative position of the color stop in the gradient band measured
- # in percentage. The value should be in the interval [0.0, 1.0].
"alpha": 3.14, # The alpha value of this color in the gradient band. Defaults to 1.0,
# fully opaque.
+ "position": 3.14, # The relative position of the color stop in the gradient band measured
+ # in percentage. The value should be in the interval [0.0, 1.0].
},
],
+ "name": "A String", # The name of the recolor effect.
+ #
+ # The name is determined from the `recolor_stops` by matching the gradient
+ # against the colors in the page's current color scheme. This property is
+ # read-only.
},
"link": { # A hypertext link. # The hyperlink destination of the image. If unset, there is no link.
"url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
"slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
# in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
"relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
# addressed by its position.
},
@@ -2555,12 +4626,12 @@
# object's original width.
"angle": 3.14, # The rotation angle of the crop window around its center, in radians.
# Rotation angle is applied after the offset.
- "bottomOffset": 3.14, # The offset specifies the bottom edge of the crop rectangle that is located
- # above the original bounding rectangle bottom edge, relative to the object's
- # original height.
"rightOffset": 3.14, # The offset specifies the right edge of the crop rectangle that is located
# to the left of the original bounding rectangle right edge, relative to the
# object's original width.
+ "bottomOffset": 3.14, # The offset specifies the bottom edge of the crop rectangle that is located
+ # above the original bounding rectangle bottom edge, relative to the object's
+ # original height.
"topOffset": 3.14, # The offset specifies the top edge of the crop rectangle that is located
# below the original bounding rectangle top edge, relative to the object's
# original height.
@@ -2623,15 +4694,14 @@
# [-1.0, 1.0], where 0 means no effect. This property is read-only.
},
},
- "contentUrl": "A String", # The URL of an image of the embedded chart, with a default lifetime of 30
- # minutes. This URL is tagged with the account of the requester. Anyone with
- # the URL effectively accesses the image as the original requester. Access to
- # the image may be lost if the presentation's sharing settings change.
+ "spreadsheetId": "A String", # The ID of the Google Sheets spreadsheet that contains the source chart.
},
"video": { # A PageElement kind representing a # A video page element.
# video.
"url": "A String", # An URL to a video. The URL is valid as long as the source video
# exists and sharing settings do not change.
+ "source": "A String", # The video source.
+ "id": "A String", # The video source's unique identifier for this video.
"videoProperties": { # The properties of the Video. # The properties of the video.
"outline": { # The outline of a PageElement. # The outline of the video. The default outline matches the defaults for new
# videos created in the Slides editor.
@@ -2640,14 +4710,6 @@
# 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.
- "dashStyle": "A String", # The dash style of the outline.
- "propertyState": "A String", # The outline property state.
- #
- # Updating the the outline on a page element will implicitly update this
- # field to`RENDERED`, unless another value is specified in the same request.
- # To have no outline on a page element, set this field to `NOT_RENDERED`. In
- # this case, any other outline fields set in the same request will be
- # ignored.
"outlineFill": { # The fill of the outline. # The fill of the outline.
"solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill.
# specified color value.
@@ -2671,14 +4733,20 @@
# a value of 0.0 corresponds to a completely transparent color.
},
},
+ "propertyState": "A String", # The outline property state.
+ #
+ # Updating the the outline on a page element will implicitly update this
+ # field to`RENDERED`, unless another value is specified in the same request.
+ # To have no outline on a page element, set this field to `NOT_RENDERED`. In
+ # this case, any other outline fields set in the same request will be
+ # ignored.
+ "dashStyle": "A String", # The dash style of the outline.
"weight": { # A magnitude in a single direction in the specified units. # The thickness of the outline.
"magnitude": 3.14, # The magnitude.
"unit": "A String", # The units for magnitude.
},
},
},
- "id": "A String", # The video source's unique identifier for this video.
- "source": "A String", # The video source.
},
"table": { # A PageElement kind representing a # A table page element.
# table.
@@ -2705,6 +4773,114 @@
{ # Properties and contents of each table cell.
"text": { # The general text content. The text must reside in a compatible shape (e.g. # The text content of the cell.
# text box or rectangle) or a table cell in a page.
+ "lists": { # The bulleted lists contained in this text, keyed by list ID.
+ "a_key": { # 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.
+ "nestingLevel": { # A map of nesting levels to the properties of bullets at the associated
+ # level. A list has at most nine levels of nesting, so the possible values
+ # for the keys of this map are 0 through 8, inclusive.
+ "a_key": { # Contains properties describing the look and feel of a list bullet at a given
+ # level of nesting.
+ "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The style of a bullet at this level of nesting.
+ #
+ # 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.
+ "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ "bold": True or False, # Whether or not the text is rendered as bold.
+ "baselineOffset": "A String", # The text's vertical offset from its normal position.
+ #
+ # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
+ # rendered in a smaller font size, computed based on the `font_size` field.
+ # The `font_size` itself is not affected by changes in this field.
+ "strikethrough": True or False, # Whether or not the text is struck through.
+ "smallCaps": True or False, # Whether or not the text is in small capital letters.
+ "fontFamily": "A String", # The font family of the text.
+ #
+ # The font family can be any font from the Font menu in Slides or from
+ # [Google Fonts] (https://fonts.google.com/). If the font name is
+ # unrecognized, the text is rendered in `Arial`.
+ #
+ # Some fonts can affect the weight of the text. If an update request
+ # specifies values for both `font_family` and `bold`, the explicitly-set
+ # `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "italic": True or False, # Whether or not the text is italicized.
+ "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
+ # are not inherited from parent text.
+ #
+ # Changing the link in an update request causes some other changes to the
+ # text style of the range:
+ #
+ # * When setting a link, the text foreground color will be set to
+ # ThemeColorType.HYPERLINK and the text will
+ # be underlined. If these fields are modified in the same
+ # request, those values will be used instead of the link defaults.
+ # * Setting a link on a text range that overlaps with an existing link will
+ # also update the existing link to point to the new URL.
+ # * Links are not settable on newline characters. As a result, setting a link
+ # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
+ # will separate the newline character(s) into their own text runs. The
+ # link will be applied separately to the runs before and after the newline.
+ # * Removing a link will update the text style of the range to match the
+ # style of the preceding text (or the default text styles if the preceding
+ # text is another link) unless different styles are being set in the same
+ # request.
+ "url": "A String", # If set, indicates this is a link to the external web page at this URL.
+ "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
+ # in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
+ "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
+ # addressed by its position.
+ },
+ "underline": True or False, # Whether or not the text is underlined.
+ "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ },
+ },
+ },
+ "listId": "A String", # The ID of the list.
+ },
+ },
"textElements": [ # The text contents broken down into its component parts, including styling
# information. This property is read-only.
{ # A TextElement describes the content of a range of indices in the text content
@@ -2741,7 +4917,7 @@
},
},
},
- "bold": True or False, # Whether or not the text is bold.
+ "bold": True or False, # Whether or not the text is rendered as bold.
"baselineOffset": "A String", # The text's vertical offset from its normal position.
#
# Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
@@ -2758,6 +4934,12 @@
# Some fonts can affect the weight of the text. If an update request
# specifies values for both `font_family` and `bold`, the explicitly-set
# `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "italic": True or False, # Whether or not the text is italicized.
"link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
# are not inherited from parent text.
#
@@ -2779,19 +4961,13 @@
# text is another link) unless different styles are being set in the same
# request.
"url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
"slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
# in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
"relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
# addressed by its position.
},
- "italic": True or False, # Whether or not the text is italicized.
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
"underline": True or False, # Whether or not the text is underlined.
"backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
# transparent, depending on if the `opaque_color` field in it is set.
@@ -2831,40 +5007,40 @@
# placeholder.
#
# Inherited paragraph styles are represented as unset fields in this message.
- "spacingMode": "A String", # The spacing mode for the paragraph. This property is read-only.
- "direction": "A String", # The text direction of this paragraph. This property is read-only.
+ "spacingMode": "A String", # The spacing mode for the paragraph.
+ "direction": "A String", # The text direction of this paragraph. If unset, the value defaults to
+ # LEFT_TO_RIGHT
+ # since text direction is not inherited.
"spaceBelow": { # A magnitude in a single direction in the specified units. # The amount of extra space above the paragraph. If unset, the value is
- # inherited from the parent. This property is read-only.
+ # inherited from the parent.
"magnitude": 3.14, # The magnitude.
"unit": "A String", # The units for magnitude.
},
"lineSpacing": 3.14, # The amount of space between lines, as a percentage of normal, where normal
# is represented as 100.0. If unset, the value is inherited from the parent.
- # This property is read-only.
"indentStart": { # A magnitude in a single direction in the specified units. # The amount indentation for the paragraph on the side that corresponds to
# the start of the text, based on the current text direction. If unset, the
- # value is inherited from the parent. This property is read-only.
+ # value is inherited from the parent.
"magnitude": 3.14, # The magnitude.
"unit": "A String", # The units for magnitude.
},
"spaceAbove": { # A magnitude in a single direction in the specified units. # The amount of extra space above the paragraph. If unset, the value is
- # inherited from the parent. This property is read-only.
+ # inherited from the parent.
"magnitude": 3.14, # The magnitude.
"unit": "A String", # The units for magnitude.
},
"indentEnd": { # A magnitude in a single direction in the specified units. # The amount indentation for the paragraph on the side that corresponds to
# the end of the text, based on the current text direction. If unset, the
- # value is inherited from the parent. This property is read-only.
+ # value is inherited from the parent.
"magnitude": 3.14, # The magnitude.
"unit": "A String", # The units for magnitude.
},
"indentFirstLine": { # A magnitude in a single direction in the specified units. # The amount of indentation for the start of the first line of the paragraph.
- # If unset, the value is inherited from the parent. This property is
- # read-only.
+ # If unset, the value is inherited from the parent.
"magnitude": 3.14, # The magnitude.
"unit": "A String", # The units for magnitude.
},
- "alignment": "A String", # The text alignment for this paragraph. This property is read-only.
+ "alignment": "A String", # The text alignment for this paragraph.
},
"bullet": { # Describes the bullet of a paragraph. # The bullet for this paragraph. If not present, the paragraph does not
# belong to a list.
@@ -2899,7 +5075,7 @@
},
},
},
- "bold": True or False, # Whether or not the text is bold.
+ "bold": True or False, # Whether or not the text is rendered as bold.
"baselineOffset": "A String", # The text's vertical offset from its normal position.
#
# Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
@@ -2916,6 +5092,12 @@
# Some fonts can affect the weight of the text. If an update request
# specifies values for both `font_family` and `bold`, the explicitly-set
# `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "italic": True or False, # Whether or not the text is italicized.
"link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
# are not inherited from parent text.
#
@@ -2937,19 +5119,13 @@
# text is another link) unless different styles are being set in the same
# request.
"url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
"slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
# in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
"relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
# addressed by its position.
},
- "italic": True or False, # Whether or not the text is italicized.
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
"underline": True or False, # Whether or not the text is underlined.
"backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
# transparent, depending on if the `opaque_color` field in it is set.
@@ -3004,7 +5180,7 @@
},
},
},
- "bold": True or False, # Whether or not the text is bold.
+ "bold": True or False, # Whether or not the text is rendered as bold.
"baselineOffset": "A String", # The text's vertical offset from its normal position.
#
# Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
@@ -3021,6 +5197,12 @@
# Some fonts can affect the weight of the text. If an update request
# specifies values for both `font_family` and `bold`, the explicitly-set
# `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "italic": True or False, # Whether or not the text is italicized.
"link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
# are not inherited from parent text.
#
@@ -3042,19 +5224,13 @@
# text is another link) unless different styles are being set in the same
# request.
"url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
"slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
# in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
"relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
# addressed by its position.
},
- "italic": True or False, # Whether or not the text is italicized.
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
"underline": True or False, # Whether or not the text is underlined.
"backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
# transparent, depending on if the `opaque_color` field in it is set.
@@ -3072,116 +5248,7 @@
},
},
],
- "lists": { # The bulleted lists contained in this text, keyed by list ID.
- "a_key": { # 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.
- "nestingLevel": { # A map of nesting levels to the properties of bullets at the associated
- # level. A list has at most nine levels of nesting, so the possible values
- # for the keys of this map are 0 through 8, inclusive.
- "a_key": { # Contains properties describing the look and feel of a list bullet at a given
- # level of nesting.
- "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The style of a bullet at this level of nesting.
- #
- # 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.
- "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- "bold": True or False, # Whether or not the text is bold.
- "baselineOffset": "A String", # The text's vertical offset from its normal position.
- #
- # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
- # rendered in a smaller font size, computed based on the `font_size` field.
- # The `font_size` itself is not affected by changes in this field.
- "strikethrough": True or False, # Whether or not the text is struck through.
- "smallCaps": True or False, # Whether or not the text is in small capital letters.
- "fontFamily": "A String", # The font family of the text.
- #
- # The font family can be any font from the Font menu in Slides or from
- # [Google Fonts] (https://fonts.google.com/). If the font name is
- # unrecognized, the text is rendered in `Arial`.
- #
- # Some fonts can affect the weight of the text. If an update request
- # specifies values for both `font_family` and `bold`, the explicitly-set
- # `bold` value is used.
- "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
- # are not inherited from parent text.
- #
- # Changing the link in an update request causes some other changes to the
- # text style of the range:
- #
- # * When setting a link, the text foreground color will be set to
- # ThemeColorType.HYPERLINK and the text will
- # be underlined. If these fields are modified in the same
- # request, those values will be used instead of the link defaults.
- # * Setting a link on a text range that overlaps with an existing link will
- # also update the existing link to point to the new URL.
- # * Links are not settable on newline characters. As a result, setting a link
- # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
- # will separate the newline character(s) into their own text runs. The
- # link will be applied separately to the runs before and after the newline.
- # * Removing a link will update the text style of the range to match the
- # style of the preceding text (or the default text styles if the preceding
- # text is another link) unless different styles are being set in the same
- # request.
- "url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
- "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
- # in the presentation. There may not be a slide at this index.
- "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
- # addressed by its position.
- },
- "italic": True or False, # Whether or not the text is italicized.
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
- "underline": True or False, # Whether or not the text is underlined.
- "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- },
- },
- },
- "listId": "A String", # The ID of the list.
- },
- },
},
- "rowSpan": 42, # Row span of the cell.
"tableCellProperties": { # The properties of the TableCell. # The properties of the table cell.
"tableCellBackgroundFill": { # The table cell background fill. # The background fill of the table cell. The default fill matches the fill
# for newly created table cells in the Slides editor.
@@ -3214,11 +5281,12 @@
# case, any other fill fields set in the same request will be ignored.
},
},
+ "rowSpan": 42, # Row span of the cell.
+ "columnSpan": 42, # Column span of the cell.
"location": { # A location of a single table cell within a table. # The location of the cell within the table.
"rowIndex": 42, # The 0-based row index.
"columnIndex": 42, # The 0-based column index.
},
- "columnSpan": 42, # Column span of the cell.
},
],
"rowHeight": { # A magnitude in a single direction in the specified units. # Height of a row.
@@ -3244,10 +5312,10 @@
"endArrow": "A String", # The style of the arrow at the end of the line.
"link": { # A hypertext link. # The hyperlink destination of the line. If unset, there is no link.
"url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
"slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
# in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
"relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
# addressed by its position.
},
@@ -3297,9 +5365,28 @@
},
},
],
+ "notesProperties": { # The properties of Page that are only # Notes specific properties. Only set if page_type = NOTES.
+ # relevant for pages with page_type NOTES.
+ "speakerNotesObjectId": "A String", # The object ID of the shape on this notes page that contains the speaker
+ # notes for the corresponding slide.
+ # The actual shape may not always exist on the notes page. Inserting text
+ # using this object ID will automatically create the shape. In this case, the
+ # actual shape may have different object ID. The `GetPresentation` or
+ # `GetPage` action will always return the latest object ID.
+ },
"objectId": "A String", # The object ID for this page. Object IDs used by
# Page and
# PageElement share the same namespace.
+ "revisionId": "A String", # The revision ID of the presentation containing this page. Can be used in
+ # update requests to assert that the presentation revision hasn't changed
+ # since the last read operation. Only populated if the user has edit access
+ # to the presentation.
+ #
+ # The format of the revision ID may change over time, so it should be treated
+ # opaquely. A returned revision ID is only guaranteed to be valid for 24
+ # hours after it has been returned and cannot be shared across
+ # users. Callers can assume that if two revision IDs are equal then the
+ # presentation has not changed.
"pageProperties": { # The properties of the Page. # The properties of the page.
#
# The page will inherit properties from the parent page. Depending on the page
@@ -3381,23 +5468,20 @@
"pageType": "A String", # The type of the page.
"slideProperties": { # The properties of Page that are only # Slide specific properties. Only set if page_type = SLIDE.
# relevant for pages with page_type SLIDE.
+ "notesPage": # Object with schema name: Page # The notes page that this slide is associated with. It defines the visual
+ # appearance of a notes page when printing or exporting slides with speaker
+ # notes. A notes page inherits properties from the
+ # notes master.
+ # The placeholder shape with type BODY on the notes page contains the speaker
+ # notes for this slide. The ID of this shape is identified by the
+ # speakerNotesObjectId field.
+ # The notes page is read-only except for the text content and styles of the
+ # speaker notes shape.
"masterObjectId": "A String", # The object ID of the master that this slide is based on.
"layoutObjectId": "A String", # The object ID of the layout that this slide is based on.
},
},
],
- "pageSize": { # A width and height. # The size of pages in the presentation.
- "width": { # A magnitude in a single direction in the specified units. # The width of the object.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
- "height": { # A magnitude in a single direction in the specified units. # The height of the object.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
- },
- "title": "A String", # The title of the presentation.
- "locale": "A String", # The locale of the presentation, as an IETF BCP 47 language tag.
"slides": [ # The slides in the presentation.
# A slide inherits properties from a slide layout.
{ # A page in a presentation.
@@ -3433,14 +5517,6 @@
# 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.
- "dashStyle": "A String", # The dash style of the outline.
- "propertyState": "A String", # The outline property state.
- #
- # Updating the the outline on a page element will implicitly update this
- # field to`RENDERED`, unless another value is specified in the same request.
- # To have no outline on a page element, set this field to `NOT_RENDERED`. In
- # this case, any other outline fields set in the same request will be
- # ignored.
"outlineFill": { # The fill of the outline. # The fill of the outline.
"solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill.
# specified color value.
@@ -3464,6 +5540,14 @@
# a value of 0.0 corresponds to a completely transparent color.
},
},
+ "propertyState": "A String", # The outline property state.
+ #
+ # Updating the the outline on a page element will implicitly update this
+ # field to`RENDERED`, unless another value is specified in the same request.
+ # To have no outline on a page element, set this field to `NOT_RENDERED`. In
+ # this case, any other outline fields set in the same request will be
+ # ignored.
+ "dashStyle": "A String", # The dash style of the outline.
"weight": { # A magnitude in a single direction in the specified units. # The thickness of the outline.
"magnitude": 3.14, # The magnitude.
"unit": "A String", # The units for magnitude.
@@ -3474,7 +5558,11 @@
"recolor": { # A recolor effect applied on an image. # The recolor effect of the image. If not set, the image is not recolored.
# This property is read-only.
"recolorStops": [ # The recolor effect is represented by a gradient, which is a list of color
- # stops. This property is read-only.
+ # stops.
+ #
+ # The colors in the gradient will replace the corresponding colors at
+ # the same position in the color palette and apply to the image. This
+ # property is read-only.
{ # A color and position in a gradient band.
"color": { # A themeable solid color value. # The color of the gradient stop.
"themeColor": "A String", # An opaque theme color.
@@ -3484,19 +5572,24 @@
"red": 3.14, # The red component of the color, from 0.0 to 1.0.
},
},
- "position": 3.14, # The relative position of the color stop in the gradient band measured
- # in percentage. The value should be in the interval [0.0, 1.0].
"alpha": 3.14, # The alpha value of this color in the gradient band. Defaults to 1.0,
# fully opaque.
+ "position": 3.14, # The relative position of the color stop in the gradient band measured
+ # in percentage. The value should be in the interval [0.0, 1.0].
},
],
+ "name": "A String", # The name of the recolor effect.
+ #
+ # The name is determined from the `recolor_stops` by matching the gradient
+ # against the colors in the page's current color scheme. This property is
+ # read-only.
},
"link": { # A hypertext link. # The hyperlink destination of the image. If unset, there is no link.
"url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
"slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
# in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
"relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
# addressed by its position.
},
@@ -3529,12 +5622,12 @@
# object's original width.
"angle": 3.14, # The rotation angle of the crop window around its center, in radians.
# Rotation angle is applied after the offset.
- "bottomOffset": 3.14, # The offset specifies the bottom edge of the crop rectangle that is located
- # above the original bounding rectangle bottom edge, relative to the object's
- # original height.
"rightOffset": 3.14, # The offset specifies the right edge of the crop rectangle that is located
# to the left of the original bounding rectangle right edge, relative to the
# object's original width.
+ "bottomOffset": 3.14, # The offset specifies the bottom edge of the crop rectangle that is located
+ # above the original bounding rectangle bottom edge, relative to the object's
+ # original height.
"topOffset": 3.14, # The offset specifies the top edge of the crop rectangle that is located
# below the original bounding rectangle top edge, relative to the object's
# original height.
@@ -3622,6 +5715,114 @@
# generic shape that does not have a more specific classification.
"text": { # The general text content. The text must reside in a compatible shape (e.g. # The text content of the shape.
# text box or rectangle) or a table cell in a page.
+ "lists": { # The bulleted lists contained in this text, keyed by list ID.
+ "a_key": { # 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.
+ "nestingLevel": { # A map of nesting levels to the properties of bullets at the associated
+ # level. A list has at most nine levels of nesting, so the possible values
+ # for the keys of this map are 0 through 8, inclusive.
+ "a_key": { # Contains properties describing the look and feel of a list bullet at a given
+ # level of nesting.
+ "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The style of a bullet at this level of nesting.
+ #
+ # 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.
+ "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ "bold": True or False, # Whether or not the text is rendered as bold.
+ "baselineOffset": "A String", # The text's vertical offset from its normal position.
+ #
+ # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
+ # rendered in a smaller font size, computed based on the `font_size` field.
+ # The `font_size` itself is not affected by changes in this field.
+ "strikethrough": True or False, # Whether or not the text is struck through.
+ "smallCaps": True or False, # Whether or not the text is in small capital letters.
+ "fontFamily": "A String", # The font family of the text.
+ #
+ # The font family can be any font from the Font menu in Slides or from
+ # [Google Fonts] (https://fonts.google.com/). If the font name is
+ # unrecognized, the text is rendered in `Arial`.
+ #
+ # Some fonts can affect the weight of the text. If an update request
+ # specifies values for both `font_family` and `bold`, the explicitly-set
+ # `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "italic": True or False, # Whether or not the text is italicized.
+ "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
+ # are not inherited from parent text.
+ #
+ # Changing the link in an update request causes some other changes to the
+ # text style of the range:
+ #
+ # * When setting a link, the text foreground color will be set to
+ # ThemeColorType.HYPERLINK and the text will
+ # be underlined. If these fields are modified in the same
+ # request, those values will be used instead of the link defaults.
+ # * Setting a link on a text range that overlaps with an existing link will
+ # also update the existing link to point to the new URL.
+ # * Links are not settable on newline characters. As a result, setting a link
+ # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
+ # will separate the newline character(s) into their own text runs. The
+ # link will be applied separately to the runs before and after the newline.
+ # * Removing a link will update the text style of the range to match the
+ # style of the preceding text (or the default text styles if the preceding
+ # text is another link) unless different styles are being set in the same
+ # request.
+ "url": "A String", # If set, indicates this is a link to the external web page at this URL.
+ "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
+ # in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
+ "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
+ # addressed by its position.
+ },
+ "underline": True or False, # Whether or not the text is underlined.
+ "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ },
+ },
+ },
+ "listId": "A String", # The ID of the list.
+ },
+ },
"textElements": [ # The text contents broken down into its component parts, including styling
# information. This property is read-only.
{ # A TextElement describes the content of a range of indices in the text content
@@ -3658,7 +5859,7 @@
},
},
},
- "bold": True or False, # Whether or not the text is bold.
+ "bold": True or False, # Whether or not the text is rendered as bold.
"baselineOffset": "A String", # The text's vertical offset from its normal position.
#
# Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
@@ -3675,6 +5876,12 @@
# Some fonts can affect the weight of the text. If an update request
# specifies values for both `font_family` and `bold`, the explicitly-set
# `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "italic": True or False, # Whether or not the text is italicized.
"link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
# are not inherited from parent text.
#
@@ -3696,19 +5903,13 @@
# text is another link) unless different styles are being set in the same
# request.
"url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
"slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
# in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
"relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
# addressed by its position.
},
- "italic": True or False, # Whether or not the text is italicized.
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
"underline": True or False, # Whether or not the text is underlined.
"backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
# transparent, depending on if the `opaque_color` field in it is set.
@@ -3748,40 +5949,40 @@
# placeholder.
#
# Inherited paragraph styles are represented as unset fields in this message.
- "spacingMode": "A String", # The spacing mode for the paragraph. This property is read-only.
- "direction": "A String", # The text direction of this paragraph. This property is read-only.
+ "spacingMode": "A String", # The spacing mode for the paragraph.
+ "direction": "A String", # The text direction of this paragraph. If unset, the value defaults to
+ # LEFT_TO_RIGHT
+ # since text direction is not inherited.
"spaceBelow": { # A magnitude in a single direction in the specified units. # The amount of extra space above the paragraph. If unset, the value is
- # inherited from the parent. This property is read-only.
+ # inherited from the parent.
"magnitude": 3.14, # The magnitude.
"unit": "A String", # The units for magnitude.
},
"lineSpacing": 3.14, # The amount of space between lines, as a percentage of normal, where normal
# is represented as 100.0. If unset, the value is inherited from the parent.
- # This property is read-only.
"indentStart": { # A magnitude in a single direction in the specified units. # The amount indentation for the paragraph on the side that corresponds to
# the start of the text, based on the current text direction. If unset, the
- # value is inherited from the parent. This property is read-only.
+ # value is inherited from the parent.
"magnitude": 3.14, # The magnitude.
"unit": "A String", # The units for magnitude.
},
"spaceAbove": { # A magnitude in a single direction in the specified units. # The amount of extra space above the paragraph. If unset, the value is
- # inherited from the parent. This property is read-only.
+ # inherited from the parent.
"magnitude": 3.14, # The magnitude.
"unit": "A String", # The units for magnitude.
},
"indentEnd": { # A magnitude in a single direction in the specified units. # The amount indentation for the paragraph on the side that corresponds to
# the end of the text, based on the current text direction. If unset, the
- # value is inherited from the parent. This property is read-only.
+ # value is inherited from the parent.
"magnitude": 3.14, # The magnitude.
"unit": "A String", # The units for magnitude.
},
"indentFirstLine": { # A magnitude in a single direction in the specified units. # The amount of indentation for the start of the first line of the paragraph.
- # If unset, the value is inherited from the parent. This property is
- # read-only.
+ # If unset, the value is inherited from the parent.
"magnitude": 3.14, # The magnitude.
"unit": "A String", # The units for magnitude.
},
- "alignment": "A String", # The text alignment for this paragraph. This property is read-only.
+ "alignment": "A String", # The text alignment for this paragraph.
},
"bullet": { # Describes the bullet of a paragraph. # The bullet for this paragraph. If not present, the paragraph does not
# belong to a list.
@@ -3816,7 +6017,7 @@
},
},
},
- "bold": True or False, # Whether or not the text is bold.
+ "bold": True or False, # Whether or not the text is rendered as bold.
"baselineOffset": "A String", # The text's vertical offset from its normal position.
#
# Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
@@ -3833,6 +6034,12 @@
# Some fonts can affect the weight of the text. If an update request
# specifies values for both `font_family` and `bold`, the explicitly-set
# `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "italic": True or False, # Whether or not the text is italicized.
"link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
# are not inherited from parent text.
#
@@ -3854,19 +6061,13 @@
# text is another link) unless different styles are being set in the same
# request.
"url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
"slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
# in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
"relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
# addressed by its position.
},
- "italic": True or False, # Whether or not the text is italicized.
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
"underline": True or False, # Whether or not the text is underlined.
"backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
# transparent, depending on if the `opaque_color` field in it is set.
@@ -3921,7 +6122,7 @@
},
},
},
- "bold": True or False, # Whether or not the text is bold.
+ "bold": True or False, # Whether or not the text is rendered as bold.
"baselineOffset": "A String", # The text's vertical offset from its normal position.
#
# Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
@@ -3938,6 +6139,12 @@
# Some fonts can affect the weight of the text. If an update request
# specifies values for both `font_family` and `bold`, the explicitly-set
# `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "italic": True or False, # Whether or not the text is italicized.
"link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
# are not inherited from parent text.
#
@@ -3959,19 +6166,13 @@
# text is another link) unless different styles are being set in the same
# request.
"url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
"slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
# in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
"relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
# addressed by its position.
},
- "italic": True or False, # Whether or not the text is italicized.
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
"underline": True or False, # Whether or not the text is underlined.
"backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
# transparent, depending on if the `opaque_color` field in it is set.
@@ -3989,114 +6190,6 @@
},
},
],
- "lists": { # The bulleted lists contained in this text, keyed by list ID.
- "a_key": { # 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.
- "nestingLevel": { # A map of nesting levels to the properties of bullets at the associated
- # level. A list has at most nine levels of nesting, so the possible values
- # for the keys of this map are 0 through 8, inclusive.
- "a_key": { # Contains properties describing the look and feel of a list bullet at a given
- # level of nesting.
- "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The style of a bullet at this level of nesting.
- #
- # 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.
- "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- "bold": True or False, # Whether or not the text is bold.
- "baselineOffset": "A String", # The text's vertical offset from its normal position.
- #
- # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
- # rendered in a smaller font size, computed based on the `font_size` field.
- # The `font_size` itself is not affected by changes in this field.
- "strikethrough": True or False, # Whether or not the text is struck through.
- "smallCaps": True or False, # Whether or not the text is in small capital letters.
- "fontFamily": "A String", # The font family of the text.
- #
- # The font family can be any font from the Font menu in Slides or from
- # [Google Fonts] (https://fonts.google.com/). If the font name is
- # unrecognized, the text is rendered in `Arial`.
- #
- # Some fonts can affect the weight of the text. If an update request
- # specifies values for both `font_family` and `bold`, the explicitly-set
- # `bold` value is used.
- "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
- # are not inherited from parent text.
- #
- # Changing the link in an update request causes some other changes to the
- # text style of the range:
- #
- # * When setting a link, the text foreground color will be set to
- # ThemeColorType.HYPERLINK and the text will
- # be underlined. If these fields are modified in the same
- # request, those values will be used instead of the link defaults.
- # * Setting a link on a text range that overlaps with an existing link will
- # also update the existing link to point to the new URL.
- # * Links are not settable on newline characters. As a result, setting a link
- # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
- # will separate the newline character(s) into their own text runs. The
- # link will be applied separately to the runs before and after the newline.
- # * Removing a link will update the text style of the range to match the
- # style of the preceding text (or the default text styles if the preceding
- # text is another link) unless different styles are being set in the same
- # request.
- "url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
- "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
- # in the presentation. There may not be a slide at this index.
- "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
- # addressed by its position.
- },
- "italic": True or False, # Whether or not the text is italicized.
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
- "underline": True or False, # Whether or not the text is underlined.
- "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- },
- },
- },
- "listId": "A String", # The ID of the list.
- },
- },
},
"shapeProperties": { # The properties of a Shape. # The properties of the shape.
#
@@ -4196,10 +6289,10 @@
"link": { # A hypertext link. # The hyperlink destination of the shape. If unset, there is no link. Links
# are not inherited from parent placeholders.
"url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
"slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
# in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
"relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
# addressed by its position.
},
@@ -4212,14 +6305,6 @@
# 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.
- "dashStyle": "A String", # The dash style of the outline.
- "propertyState": "A String", # The outline property state.
- #
- # Updating the the outline on a page element will implicitly update this
- # field to`RENDERED`, unless another value is specified in the same request.
- # To have no outline on a page element, set this field to `NOT_RENDERED`. In
- # this case, any other outline fields set in the same request will be
- # ignored.
"outlineFill": { # The fill of the outline. # The fill of the outline.
"solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill.
# specified color value.
@@ -4243,6 +6328,14 @@
# a value of 0.0 corresponds to a completely transparent color.
},
},
+ "propertyState": "A String", # The outline property state.
+ #
+ # Updating the the outline on a page element will implicitly update this
+ # field to`RENDERED`, unless another value is specified in the same request.
+ # To have no outline on a page element, set this field to `NOT_RENDERED`. In
+ # this case, any other outline fields set in the same request will be
+ # ignored.
+ "dashStyle": "A String", # The dash style of the outline.
"weight": { # A magnitude in a single direction in the specified units. # The thickness of the outline.
"magnitude": 3.14, # The magnitude.
"unit": "A String", # The units for magnitude.
@@ -4269,7 +6362,10 @@
# a linked chart embedded from Google Sheets.
"chartId": 42, # The ID of the specific chart in the Google Sheets spreadsheet that is
# embedded.
- "spreadsheetId": "A String", # The ID of the Google Sheets spreadsheet that contains the source chart.
+ "contentUrl": "A String", # The URL of an image of the embedded chart, with a default lifetime of 30
+ # minutes. This URL is tagged with the account of the requester. Anyone with
+ # the URL effectively accesses the image as the original requester. Access to
+ # the image may be lost if the presentation's sharing settings change.
"sheetsChartProperties": { # The properties of the SheetsChart. # The properties of the Sheets chart.
"chartImageProperties": { # The properties of the Image. # The properties of the embedded chart image.
"outline": { # The outline of a PageElement. # The outline of the image. If not set, the the image has no outline.
@@ -4278,14 +6374,6 @@
# 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.
- "dashStyle": "A String", # The dash style of the outline.
- "propertyState": "A String", # The outline property state.
- #
- # Updating the the outline on a page element will implicitly update this
- # field to`RENDERED`, unless another value is specified in the same request.
- # To have no outline on a page element, set this field to `NOT_RENDERED`. In
- # this case, any other outline fields set in the same request will be
- # ignored.
"outlineFill": { # The fill of the outline. # The fill of the outline.
"solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill.
# specified color value.
@@ -4309,6 +6397,14 @@
# a value of 0.0 corresponds to a completely transparent color.
},
},
+ "propertyState": "A String", # The outline property state.
+ #
+ # Updating the the outline on a page element will implicitly update this
+ # field to`RENDERED`, unless another value is specified in the same request.
+ # To have no outline on a page element, set this field to `NOT_RENDERED`. In
+ # this case, any other outline fields set in the same request will be
+ # ignored.
+ "dashStyle": "A String", # The dash style of the outline.
"weight": { # A magnitude in a single direction in the specified units. # The thickness of the outline.
"magnitude": 3.14, # The magnitude.
"unit": "A String", # The units for magnitude.
@@ -4319,7 +6415,11 @@
"recolor": { # A recolor effect applied on an image. # The recolor effect of the image. If not set, the image is not recolored.
# This property is read-only.
"recolorStops": [ # The recolor effect is represented by a gradient, which is a list of color
- # stops. This property is read-only.
+ # stops.
+ #
+ # The colors in the gradient will replace the corresponding colors at
+ # the same position in the color palette and apply to the image. This
+ # property is read-only.
{ # A color and position in a gradient band.
"color": { # A themeable solid color value. # The color of the gradient stop.
"themeColor": "A String", # An opaque theme color.
@@ -4329,19 +6429,24 @@
"red": 3.14, # The red component of the color, from 0.0 to 1.0.
},
},
- "position": 3.14, # The relative position of the color stop in the gradient band measured
- # in percentage. The value should be in the interval [0.0, 1.0].
"alpha": 3.14, # The alpha value of this color in the gradient band. Defaults to 1.0,
# fully opaque.
+ "position": 3.14, # The relative position of the color stop in the gradient band measured
+ # in percentage. The value should be in the interval [0.0, 1.0].
},
],
+ "name": "A String", # The name of the recolor effect.
+ #
+ # The name is determined from the `recolor_stops` by matching the gradient
+ # against the colors in the page's current color scheme. This property is
+ # read-only.
},
"link": { # A hypertext link. # The hyperlink destination of the image. If unset, there is no link.
"url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
"slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
# in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
"relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
# addressed by its position.
},
@@ -4374,12 +6479,12 @@
# object's original width.
"angle": 3.14, # The rotation angle of the crop window around its center, in radians.
# Rotation angle is applied after the offset.
- "bottomOffset": 3.14, # The offset specifies the bottom edge of the crop rectangle that is located
- # above the original bounding rectangle bottom edge, relative to the object's
- # original height.
"rightOffset": 3.14, # The offset specifies the right edge of the crop rectangle that is located
# to the left of the original bounding rectangle right edge, relative to the
# object's original width.
+ "bottomOffset": 3.14, # The offset specifies the bottom edge of the crop rectangle that is located
+ # above the original bounding rectangle bottom edge, relative to the object's
+ # original height.
"topOffset": 3.14, # The offset specifies the top edge of the crop rectangle that is located
# below the original bounding rectangle top edge, relative to the object's
# original height.
@@ -4442,15 +6547,14 @@
# [-1.0, 1.0], where 0 means no effect. This property is read-only.
},
},
- "contentUrl": "A String", # The URL of an image of the embedded chart, with a default lifetime of 30
- # minutes. This URL is tagged with the account of the requester. Anyone with
- # the URL effectively accesses the image as the original requester. Access to
- # the image may be lost if the presentation's sharing settings change.
+ "spreadsheetId": "A String", # The ID of the Google Sheets spreadsheet that contains the source chart.
},
"video": { # A PageElement kind representing a # A video page element.
# video.
"url": "A String", # An URL to a video. The URL is valid as long as the source video
# exists and sharing settings do not change.
+ "source": "A String", # The video source.
+ "id": "A String", # The video source's unique identifier for this video.
"videoProperties": { # The properties of the Video. # The properties of the video.
"outline": { # The outline of a PageElement. # The outline of the video. The default outline matches the defaults for new
# videos created in the Slides editor.
@@ -4459,14 +6563,6 @@
# 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.
- "dashStyle": "A String", # The dash style of the outline.
- "propertyState": "A String", # The outline property state.
- #
- # Updating the the outline on a page element will implicitly update this
- # field to`RENDERED`, unless another value is specified in the same request.
- # To have no outline on a page element, set this field to `NOT_RENDERED`. In
- # this case, any other outline fields set in the same request will be
- # ignored.
"outlineFill": { # The fill of the outline. # The fill of the outline.
"solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill.
# specified color value.
@@ -4490,14 +6586,20 @@
# a value of 0.0 corresponds to a completely transparent color.
},
},
+ "propertyState": "A String", # The outline property state.
+ #
+ # Updating the the outline on a page element will implicitly update this
+ # field to`RENDERED`, unless another value is specified in the same request.
+ # To have no outline on a page element, set this field to `NOT_RENDERED`. In
+ # this case, any other outline fields set in the same request will be
+ # ignored.
+ "dashStyle": "A String", # The dash style of the outline.
"weight": { # A magnitude in a single direction in the specified units. # The thickness of the outline.
"magnitude": 3.14, # The magnitude.
"unit": "A String", # The units for magnitude.
},
},
},
- "id": "A String", # The video source's unique identifier for this video.
- "source": "A String", # The video source.
},
"table": { # A PageElement kind representing a # A table page element.
# table.
@@ -4524,6 +6626,114 @@
{ # Properties and contents of each table cell.
"text": { # The general text content. The text must reside in a compatible shape (e.g. # The text content of the cell.
# text box or rectangle) or a table cell in a page.
+ "lists": { # The bulleted lists contained in this text, keyed by list ID.
+ "a_key": { # 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.
+ "nestingLevel": { # A map of nesting levels to the properties of bullets at the associated
+ # level. A list has at most nine levels of nesting, so the possible values
+ # for the keys of this map are 0 through 8, inclusive.
+ "a_key": { # Contains properties describing the look and feel of a list bullet at a given
+ # level of nesting.
+ "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The style of a bullet at this level of nesting.
+ #
+ # 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.
+ "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ "bold": True or False, # Whether or not the text is rendered as bold.
+ "baselineOffset": "A String", # The text's vertical offset from its normal position.
+ #
+ # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
+ # rendered in a smaller font size, computed based on the `font_size` field.
+ # The `font_size` itself is not affected by changes in this field.
+ "strikethrough": True or False, # Whether or not the text is struck through.
+ "smallCaps": True or False, # Whether or not the text is in small capital letters.
+ "fontFamily": "A String", # The font family of the text.
+ #
+ # The font family can be any font from the Font menu in Slides or from
+ # [Google Fonts] (https://fonts.google.com/). If the font name is
+ # unrecognized, the text is rendered in `Arial`.
+ #
+ # Some fonts can affect the weight of the text. If an update request
+ # specifies values for both `font_family` and `bold`, the explicitly-set
+ # `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "italic": True or False, # Whether or not the text is italicized.
+ "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
+ # are not inherited from parent text.
+ #
+ # Changing the link in an update request causes some other changes to the
+ # text style of the range:
+ #
+ # * When setting a link, the text foreground color will be set to
+ # ThemeColorType.HYPERLINK and the text will
+ # be underlined. If these fields are modified in the same
+ # request, those values will be used instead of the link defaults.
+ # * Setting a link on a text range that overlaps with an existing link will
+ # also update the existing link to point to the new URL.
+ # * Links are not settable on newline characters. As a result, setting a link
+ # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
+ # will separate the newline character(s) into their own text runs. The
+ # link will be applied separately to the runs before and after the newline.
+ # * Removing a link will update the text style of the range to match the
+ # style of the preceding text (or the default text styles if the preceding
+ # text is another link) unless different styles are being set in the same
+ # request.
+ "url": "A String", # If set, indicates this is a link to the external web page at this URL.
+ "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
+ # in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
+ "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
+ # addressed by its position.
+ },
+ "underline": True or False, # Whether or not the text is underlined.
+ "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ },
+ },
+ },
+ "listId": "A String", # The ID of the list.
+ },
+ },
"textElements": [ # The text contents broken down into its component parts, including styling
# information. This property is read-only.
{ # A TextElement describes the content of a range of indices in the text content
@@ -4560,7 +6770,7 @@
},
},
},
- "bold": True or False, # Whether or not the text is bold.
+ "bold": True or False, # Whether or not the text is rendered as bold.
"baselineOffset": "A String", # The text's vertical offset from its normal position.
#
# Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
@@ -4577,6 +6787,12 @@
# Some fonts can affect the weight of the text. If an update request
# specifies values for both `font_family` and `bold`, the explicitly-set
# `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "italic": True or False, # Whether or not the text is italicized.
"link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
# are not inherited from parent text.
#
@@ -4598,19 +6814,13 @@
# text is another link) unless different styles are being set in the same
# request.
"url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
"slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
# in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
"relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
# addressed by its position.
},
- "italic": True or False, # Whether or not the text is italicized.
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
"underline": True or False, # Whether or not the text is underlined.
"backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
# transparent, depending on if the `opaque_color` field in it is set.
@@ -4650,40 +6860,40 @@
# placeholder.
#
# Inherited paragraph styles are represented as unset fields in this message.
- "spacingMode": "A String", # The spacing mode for the paragraph. This property is read-only.
- "direction": "A String", # The text direction of this paragraph. This property is read-only.
+ "spacingMode": "A String", # The spacing mode for the paragraph.
+ "direction": "A String", # The text direction of this paragraph. If unset, the value defaults to
+ # LEFT_TO_RIGHT
+ # since text direction is not inherited.
"spaceBelow": { # A magnitude in a single direction in the specified units. # The amount of extra space above the paragraph. If unset, the value is
- # inherited from the parent. This property is read-only.
+ # inherited from the parent.
"magnitude": 3.14, # The magnitude.
"unit": "A String", # The units for magnitude.
},
"lineSpacing": 3.14, # The amount of space between lines, as a percentage of normal, where normal
# is represented as 100.0. If unset, the value is inherited from the parent.
- # This property is read-only.
"indentStart": { # A magnitude in a single direction in the specified units. # The amount indentation for the paragraph on the side that corresponds to
# the start of the text, based on the current text direction. If unset, the
- # value is inherited from the parent. This property is read-only.
+ # value is inherited from the parent.
"magnitude": 3.14, # The magnitude.
"unit": "A String", # The units for magnitude.
},
"spaceAbove": { # A magnitude in a single direction in the specified units. # The amount of extra space above the paragraph. If unset, the value is
- # inherited from the parent. This property is read-only.
+ # inherited from the parent.
"magnitude": 3.14, # The magnitude.
"unit": "A String", # The units for magnitude.
},
"indentEnd": { # A magnitude in a single direction in the specified units. # The amount indentation for the paragraph on the side that corresponds to
# the end of the text, based on the current text direction. If unset, the
- # value is inherited from the parent. This property is read-only.
+ # value is inherited from the parent.
"magnitude": 3.14, # The magnitude.
"unit": "A String", # The units for magnitude.
},
"indentFirstLine": { # A magnitude in a single direction in the specified units. # The amount of indentation for the start of the first line of the paragraph.
- # If unset, the value is inherited from the parent. This property is
- # read-only.
+ # If unset, the value is inherited from the parent.
"magnitude": 3.14, # The magnitude.
"unit": "A String", # The units for magnitude.
},
- "alignment": "A String", # The text alignment for this paragraph. This property is read-only.
+ "alignment": "A String", # The text alignment for this paragraph.
},
"bullet": { # Describes the bullet of a paragraph. # The bullet for this paragraph. If not present, the paragraph does not
# belong to a list.
@@ -4718,7 +6928,7 @@
},
},
},
- "bold": True or False, # Whether or not the text is bold.
+ "bold": True or False, # Whether or not the text is rendered as bold.
"baselineOffset": "A String", # The text's vertical offset from its normal position.
#
# Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
@@ -4735,6 +6945,12 @@
# Some fonts can affect the weight of the text. If an update request
# specifies values for both `font_family` and `bold`, the explicitly-set
# `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "italic": True or False, # Whether or not the text is italicized.
"link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
# are not inherited from parent text.
#
@@ -4756,19 +6972,13 @@
# text is another link) unless different styles are being set in the same
# request.
"url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
"slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
# in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
"relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
# addressed by its position.
},
- "italic": True or False, # Whether or not the text is italicized.
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
"underline": True or False, # Whether or not the text is underlined.
"backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
# transparent, depending on if the `opaque_color` field in it is set.
@@ -4823,7 +7033,7 @@
},
},
},
- "bold": True or False, # Whether or not the text is bold.
+ "bold": True or False, # Whether or not the text is rendered as bold.
"baselineOffset": "A String", # The text's vertical offset from its normal position.
#
# Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
@@ -4840,6 +7050,12 @@
# Some fonts can affect the weight of the text. If an update request
# specifies values for both `font_family` and `bold`, the explicitly-set
# `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "italic": True or False, # Whether or not the text is italicized.
"link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
# are not inherited from parent text.
#
@@ -4861,19 +7077,13 @@
# text is another link) unless different styles are being set in the same
# request.
"url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
"slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
# in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
"relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
# addressed by its position.
},
- "italic": True or False, # Whether or not the text is italicized.
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
"underline": True or False, # Whether or not the text is underlined.
"backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
# transparent, depending on if the `opaque_color` field in it is set.
@@ -4891,116 +7101,7 @@
},
},
],
- "lists": { # The bulleted lists contained in this text, keyed by list ID.
- "a_key": { # 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.
- "nestingLevel": { # A map of nesting levels to the properties of bullets at the associated
- # level. A list has at most nine levels of nesting, so the possible values
- # for the keys of this map are 0 through 8, inclusive.
- "a_key": { # Contains properties describing the look and feel of a list bullet at a given
- # level of nesting.
- "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The style of a bullet at this level of nesting.
- #
- # 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.
- "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- "bold": True or False, # Whether or not the text is bold.
- "baselineOffset": "A String", # The text's vertical offset from its normal position.
- #
- # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
- # rendered in a smaller font size, computed based on the `font_size` field.
- # The `font_size` itself is not affected by changes in this field.
- "strikethrough": True or False, # Whether or not the text is struck through.
- "smallCaps": True or False, # Whether or not the text is in small capital letters.
- "fontFamily": "A String", # The font family of the text.
- #
- # The font family can be any font from the Font menu in Slides or from
- # [Google Fonts] (https://fonts.google.com/). If the font name is
- # unrecognized, the text is rendered in `Arial`.
- #
- # Some fonts can affect the weight of the text. If an update request
- # specifies values for both `font_family` and `bold`, the explicitly-set
- # `bold` value is used.
- "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
- # are not inherited from parent text.
- #
- # Changing the link in an update request causes some other changes to the
- # text style of the range:
- #
- # * When setting a link, the text foreground color will be set to
- # ThemeColorType.HYPERLINK and the text will
- # be underlined. If these fields are modified in the same
- # request, those values will be used instead of the link defaults.
- # * Setting a link on a text range that overlaps with an existing link will
- # also update the existing link to point to the new URL.
- # * Links are not settable on newline characters. As a result, setting a link
- # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
- # will separate the newline character(s) into their own text runs. The
- # link will be applied separately to the runs before and after the newline.
- # * Removing a link will update the text style of the range to match the
- # style of the preceding text (or the default text styles if the preceding
- # text is another link) unless different styles are being set in the same
- # request.
- "url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
- "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
- # in the presentation. There may not be a slide at this index.
- "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
- # addressed by its position.
- },
- "italic": True or False, # Whether or not the text is italicized.
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
- "underline": True or False, # Whether or not the text is underlined.
- "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- },
- },
- },
- "listId": "A String", # The ID of the list.
- },
- },
},
- "rowSpan": 42, # Row span of the cell.
"tableCellProperties": { # The properties of the TableCell. # The properties of the table cell.
"tableCellBackgroundFill": { # The table cell background fill. # The background fill of the table cell. The default fill matches the fill
# for newly created table cells in the Slides editor.
@@ -5033,11 +7134,12 @@
# case, any other fill fields set in the same request will be ignored.
},
},
+ "rowSpan": 42, # Row span of the cell.
+ "columnSpan": 42, # Column span of the cell.
"location": { # A location of a single table cell within a table. # The location of the cell within the table.
"rowIndex": 42, # The 0-based row index.
"columnIndex": 42, # The 0-based column index.
},
- "columnSpan": 42, # Column span of the cell.
},
],
"rowHeight": { # A magnitude in a single direction in the specified units. # Height of a row.
@@ -5063,10 +7165,10 @@
"endArrow": "A String", # The style of the arrow at the end of the line.
"link": { # A hypertext link. # The hyperlink destination of the line. If unset, there is no link.
"url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
"slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
# in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
"relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
# addressed by its position.
},
@@ -5116,9 +7218,28 @@
},
},
],
+ "notesProperties": { # The properties of Page that are only # Notes specific properties. Only set if page_type = NOTES.
+ # relevant for pages with page_type NOTES.
+ "speakerNotesObjectId": "A String", # The object ID of the shape on this notes page that contains the speaker
+ # notes for the corresponding slide.
+ # The actual shape may not always exist on the notes page. Inserting text
+ # using this object ID will automatically create the shape. In this case, the
+ # actual shape may have different object ID. The `GetPresentation` or
+ # `GetPage` action will always return the latest object ID.
+ },
"objectId": "A String", # The object ID for this page. Object IDs used by
# Page and
# PageElement share the same namespace.
+ "revisionId": "A String", # The revision ID of the presentation containing this page. Can be used in
+ # update requests to assert that the presentation revision hasn't changed
+ # since the last read operation. Only populated if the user has edit access
+ # to the presentation.
+ #
+ # The format of the revision ID may change over time, so it should be treated
+ # opaquely. A returned revision ID is only guaranteed to be valid for 24
+ # hours after it has been returned and cannot be shared across
+ # users. Callers can assume that if two revision IDs are equal then the
+ # presentation has not changed.
"pageProperties": { # The properties of the Page. # The properties of the page.
#
# The page will inherit properties from the parent page. Depending on the page
@@ -5200,6 +7321,15 @@
"pageType": "A String", # The type of the page.
"slideProperties": { # The properties of Page that are only # Slide specific properties. Only set if page_type = SLIDE.
# relevant for pages with page_type SLIDE.
+ "notesPage": # Object with schema name: Page # The notes page that this slide is associated with. It defines the visual
+ # appearance of a notes page when printing or exporting slides with speaker
+ # notes. A notes page inherits properties from the
+ # notes master.
+ # The placeholder shape with type BODY on the notes page contains the speaker
+ # notes for this slide. The ID of this shape is identified by the
+ # speakerNotesObjectId field.
+ # The notes page is read-only except for the text content and styles of the
+ # speaker notes shape.
"masterObjectId": "A String", # The object ID of the master that this slide is based on.
"layoutObjectId": "A String", # The object ID of the layout that this slide is based on.
},
@@ -5241,14 +7371,6 @@
# 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.
- "dashStyle": "A String", # The dash style of the outline.
- "propertyState": "A String", # The outline property state.
- #
- # Updating the the outline on a page element will implicitly update this
- # field to`RENDERED`, unless another value is specified in the same request.
- # To have no outline on a page element, set this field to `NOT_RENDERED`. In
- # this case, any other outline fields set in the same request will be
- # ignored.
"outlineFill": { # The fill of the outline. # The fill of the outline.
"solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill.
# specified color value.
@@ -5272,6 +7394,14 @@
# a value of 0.0 corresponds to a completely transparent color.
},
},
+ "propertyState": "A String", # The outline property state.
+ #
+ # Updating the the outline on a page element will implicitly update this
+ # field to`RENDERED`, unless another value is specified in the same request.
+ # To have no outline on a page element, set this field to `NOT_RENDERED`. In
+ # this case, any other outline fields set in the same request will be
+ # ignored.
+ "dashStyle": "A String", # The dash style of the outline.
"weight": { # A magnitude in a single direction in the specified units. # The thickness of the outline.
"magnitude": 3.14, # The magnitude.
"unit": "A String", # The units for magnitude.
@@ -5282,7 +7412,11 @@
"recolor": { # A recolor effect applied on an image. # The recolor effect of the image. If not set, the image is not recolored.
# This property is read-only.
"recolorStops": [ # The recolor effect is represented by a gradient, which is a list of color
- # stops. This property is read-only.
+ # stops.
+ #
+ # The colors in the gradient will replace the corresponding colors at
+ # the same position in the color palette and apply to the image. This
+ # property is read-only.
{ # A color and position in a gradient band.
"color": { # A themeable solid color value. # The color of the gradient stop.
"themeColor": "A String", # An opaque theme color.
@@ -5292,19 +7426,24 @@
"red": 3.14, # The red component of the color, from 0.0 to 1.0.
},
},
- "position": 3.14, # The relative position of the color stop in the gradient band measured
- # in percentage. The value should be in the interval [0.0, 1.0].
"alpha": 3.14, # The alpha value of this color in the gradient band. Defaults to 1.0,
# fully opaque.
+ "position": 3.14, # The relative position of the color stop in the gradient band measured
+ # in percentage. The value should be in the interval [0.0, 1.0].
},
],
+ "name": "A String", # The name of the recolor effect.
+ #
+ # The name is determined from the `recolor_stops` by matching the gradient
+ # against the colors in the page's current color scheme. This property is
+ # read-only.
},
"link": { # A hypertext link. # The hyperlink destination of the image. If unset, there is no link.
"url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
"slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
# in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
"relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
# addressed by its position.
},
@@ -5337,12 +7476,12 @@
# object's original width.
"angle": 3.14, # The rotation angle of the crop window around its center, in radians.
# Rotation angle is applied after the offset.
- "bottomOffset": 3.14, # The offset specifies the bottom edge of the crop rectangle that is located
- # above the original bounding rectangle bottom edge, relative to the object's
- # original height.
"rightOffset": 3.14, # The offset specifies the right edge of the crop rectangle that is located
# to the left of the original bounding rectangle right edge, relative to the
# object's original width.
+ "bottomOffset": 3.14, # The offset specifies the bottom edge of the crop rectangle that is located
+ # above the original bounding rectangle bottom edge, relative to the object's
+ # original height.
"topOffset": 3.14, # The offset specifies the top edge of the crop rectangle that is located
# below the original bounding rectangle top edge, relative to the object's
# original height.
@@ -5430,6 +7569,114 @@
# generic shape that does not have a more specific classification.
"text": { # The general text content. The text must reside in a compatible shape (e.g. # The text content of the shape.
# text box or rectangle) or a table cell in a page.
+ "lists": { # The bulleted lists contained in this text, keyed by list ID.
+ "a_key": { # 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.
+ "nestingLevel": { # A map of nesting levels to the properties of bullets at the associated
+ # level. A list has at most nine levels of nesting, so the possible values
+ # for the keys of this map are 0 through 8, inclusive.
+ "a_key": { # Contains properties describing the look and feel of a list bullet at a given
+ # level of nesting.
+ "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The style of a bullet at this level of nesting.
+ #
+ # 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.
+ "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ "bold": True or False, # Whether or not the text is rendered as bold.
+ "baselineOffset": "A String", # The text's vertical offset from its normal position.
+ #
+ # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
+ # rendered in a smaller font size, computed based on the `font_size` field.
+ # The `font_size` itself is not affected by changes in this field.
+ "strikethrough": True or False, # Whether or not the text is struck through.
+ "smallCaps": True or False, # Whether or not the text is in small capital letters.
+ "fontFamily": "A String", # The font family of the text.
+ #
+ # The font family can be any font from the Font menu in Slides or from
+ # [Google Fonts] (https://fonts.google.com/). If the font name is
+ # unrecognized, the text is rendered in `Arial`.
+ #
+ # Some fonts can affect the weight of the text. If an update request
+ # specifies values for both `font_family` and `bold`, the explicitly-set
+ # `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "italic": True or False, # Whether or not the text is italicized.
+ "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
+ # are not inherited from parent text.
+ #
+ # Changing the link in an update request causes some other changes to the
+ # text style of the range:
+ #
+ # * When setting a link, the text foreground color will be set to
+ # ThemeColorType.HYPERLINK and the text will
+ # be underlined. If these fields are modified in the same
+ # request, those values will be used instead of the link defaults.
+ # * Setting a link on a text range that overlaps with an existing link will
+ # also update the existing link to point to the new URL.
+ # * Links are not settable on newline characters. As a result, setting a link
+ # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
+ # will separate the newline character(s) into their own text runs. The
+ # link will be applied separately to the runs before and after the newline.
+ # * Removing a link will update the text style of the range to match the
+ # style of the preceding text (or the default text styles if the preceding
+ # text is another link) unless different styles are being set in the same
+ # request.
+ "url": "A String", # If set, indicates this is a link to the external web page at this URL.
+ "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
+ # in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
+ "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
+ # addressed by its position.
+ },
+ "underline": True or False, # Whether or not the text is underlined.
+ "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ },
+ },
+ },
+ "listId": "A String", # The ID of the list.
+ },
+ },
"textElements": [ # The text contents broken down into its component parts, including styling
# information. This property is read-only.
{ # A TextElement describes the content of a range of indices in the text content
@@ -5466,7 +7713,7 @@
},
},
},
- "bold": True or False, # Whether or not the text is bold.
+ "bold": True or False, # Whether or not the text is rendered as bold.
"baselineOffset": "A String", # The text's vertical offset from its normal position.
#
# Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
@@ -5483,6 +7730,12 @@
# Some fonts can affect the weight of the text. If an update request
# specifies values for both `font_family` and `bold`, the explicitly-set
# `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "italic": True or False, # Whether or not the text is italicized.
"link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
# are not inherited from parent text.
#
@@ -5504,19 +7757,13 @@
# text is another link) unless different styles are being set in the same
# request.
"url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
"slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
# in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
"relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
# addressed by its position.
},
- "italic": True or False, # Whether or not the text is italicized.
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
"underline": True or False, # Whether or not the text is underlined.
"backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
# transparent, depending on if the `opaque_color` field in it is set.
@@ -5556,40 +7803,40 @@
# placeholder.
#
# Inherited paragraph styles are represented as unset fields in this message.
- "spacingMode": "A String", # The spacing mode for the paragraph. This property is read-only.
- "direction": "A String", # The text direction of this paragraph. This property is read-only.
+ "spacingMode": "A String", # The spacing mode for the paragraph.
+ "direction": "A String", # The text direction of this paragraph. If unset, the value defaults to
+ # LEFT_TO_RIGHT
+ # since text direction is not inherited.
"spaceBelow": { # A magnitude in a single direction in the specified units. # The amount of extra space above the paragraph. If unset, the value is
- # inherited from the parent. This property is read-only.
+ # inherited from the parent.
"magnitude": 3.14, # The magnitude.
"unit": "A String", # The units for magnitude.
},
"lineSpacing": 3.14, # The amount of space between lines, as a percentage of normal, where normal
# is represented as 100.0. If unset, the value is inherited from the parent.
- # This property is read-only.
"indentStart": { # A magnitude in a single direction in the specified units. # The amount indentation for the paragraph on the side that corresponds to
# the start of the text, based on the current text direction. If unset, the
- # value is inherited from the parent. This property is read-only.
+ # value is inherited from the parent.
"magnitude": 3.14, # The magnitude.
"unit": "A String", # The units for magnitude.
},
"spaceAbove": { # A magnitude in a single direction in the specified units. # The amount of extra space above the paragraph. If unset, the value is
- # inherited from the parent. This property is read-only.
+ # inherited from the parent.
"magnitude": 3.14, # The magnitude.
"unit": "A String", # The units for magnitude.
},
"indentEnd": { # A magnitude in a single direction in the specified units. # The amount indentation for the paragraph on the side that corresponds to
# the end of the text, based on the current text direction. If unset, the
- # value is inherited from the parent. This property is read-only.
+ # value is inherited from the parent.
"magnitude": 3.14, # The magnitude.
"unit": "A String", # The units for magnitude.
},
"indentFirstLine": { # A magnitude in a single direction in the specified units. # The amount of indentation for the start of the first line of the paragraph.
- # If unset, the value is inherited from the parent. This property is
- # read-only.
+ # If unset, the value is inherited from the parent.
"magnitude": 3.14, # The magnitude.
"unit": "A String", # The units for magnitude.
},
- "alignment": "A String", # The text alignment for this paragraph. This property is read-only.
+ "alignment": "A String", # The text alignment for this paragraph.
},
"bullet": { # Describes the bullet of a paragraph. # The bullet for this paragraph. If not present, the paragraph does not
# belong to a list.
@@ -5624,7 +7871,7 @@
},
},
},
- "bold": True or False, # Whether or not the text is bold.
+ "bold": True or False, # Whether or not the text is rendered as bold.
"baselineOffset": "A String", # The text's vertical offset from its normal position.
#
# Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
@@ -5641,6 +7888,12 @@
# Some fonts can affect the weight of the text. If an update request
# specifies values for both `font_family` and `bold`, the explicitly-set
# `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "italic": True or False, # Whether or not the text is italicized.
"link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
# are not inherited from parent text.
#
@@ -5662,19 +7915,13 @@
# text is another link) unless different styles are being set in the same
# request.
"url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
"slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
# in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
"relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
# addressed by its position.
},
- "italic": True or False, # Whether or not the text is italicized.
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
"underline": True or False, # Whether or not the text is underlined.
"backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
# transparent, depending on if the `opaque_color` field in it is set.
@@ -5729,7 +7976,7 @@
},
},
},
- "bold": True or False, # Whether or not the text is bold.
+ "bold": True or False, # Whether or not the text is rendered as bold.
"baselineOffset": "A String", # The text's vertical offset from its normal position.
#
# Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
@@ -5746,6 +7993,12 @@
# Some fonts can affect the weight of the text. If an update request
# specifies values for both `font_family` and `bold`, the explicitly-set
# `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "italic": True or False, # Whether or not the text is italicized.
"link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
# are not inherited from parent text.
#
@@ -5767,19 +8020,13 @@
# text is another link) unless different styles are being set in the same
# request.
"url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
"slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
# in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
"relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
# addressed by its position.
},
- "italic": True or False, # Whether or not the text is italicized.
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
"underline": True or False, # Whether or not the text is underlined.
"backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
# transparent, depending on if the `opaque_color` field in it is set.
@@ -5797,114 +8044,6 @@
},
},
],
- "lists": { # The bulleted lists contained in this text, keyed by list ID.
- "a_key": { # 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.
- "nestingLevel": { # A map of nesting levels to the properties of bullets at the associated
- # level. A list has at most nine levels of nesting, so the possible values
- # for the keys of this map are 0 through 8, inclusive.
- "a_key": { # Contains properties describing the look and feel of a list bullet at a given
- # level of nesting.
- "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The style of a bullet at this level of nesting.
- #
- # 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.
- "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- "bold": True or False, # Whether or not the text is bold.
- "baselineOffset": "A String", # The text's vertical offset from its normal position.
- #
- # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
- # rendered in a smaller font size, computed based on the `font_size` field.
- # The `font_size` itself is not affected by changes in this field.
- "strikethrough": True or False, # Whether or not the text is struck through.
- "smallCaps": True or False, # Whether or not the text is in small capital letters.
- "fontFamily": "A String", # The font family of the text.
- #
- # The font family can be any font from the Font menu in Slides or from
- # [Google Fonts] (https://fonts.google.com/). If the font name is
- # unrecognized, the text is rendered in `Arial`.
- #
- # Some fonts can affect the weight of the text. If an update request
- # specifies values for both `font_family` and `bold`, the explicitly-set
- # `bold` value is used.
- "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
- # are not inherited from parent text.
- #
- # Changing the link in an update request causes some other changes to the
- # text style of the range:
- #
- # * When setting a link, the text foreground color will be set to
- # ThemeColorType.HYPERLINK and the text will
- # be underlined. If these fields are modified in the same
- # request, those values will be used instead of the link defaults.
- # * Setting a link on a text range that overlaps with an existing link will
- # also update the existing link to point to the new URL.
- # * Links are not settable on newline characters. As a result, setting a link
- # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
- # will separate the newline character(s) into their own text runs. The
- # link will be applied separately to the runs before and after the newline.
- # * Removing a link will update the text style of the range to match the
- # style of the preceding text (or the default text styles if the preceding
- # text is another link) unless different styles are being set in the same
- # request.
- "url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
- "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
- # in the presentation. There may not be a slide at this index.
- "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
- # addressed by its position.
- },
- "italic": True or False, # Whether or not the text is italicized.
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
- "underline": True or False, # Whether or not the text is underlined.
- "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- },
- },
- },
- "listId": "A String", # The ID of the list.
- },
- },
},
"shapeProperties": { # The properties of a Shape. # The properties of the shape.
#
@@ -6004,10 +8143,10 @@
"link": { # A hypertext link. # The hyperlink destination of the shape. If unset, there is no link. Links
# are not inherited from parent placeholders.
"url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
"slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
# in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
"relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
# addressed by its position.
},
@@ -6020,14 +8159,6 @@
# 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.
- "dashStyle": "A String", # The dash style of the outline.
- "propertyState": "A String", # The outline property state.
- #
- # Updating the the outline on a page element will implicitly update this
- # field to`RENDERED`, unless another value is specified in the same request.
- # To have no outline on a page element, set this field to `NOT_RENDERED`. In
- # this case, any other outline fields set in the same request will be
- # ignored.
"outlineFill": { # The fill of the outline. # The fill of the outline.
"solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill.
# specified color value.
@@ -6051,6 +8182,14 @@
# a value of 0.0 corresponds to a completely transparent color.
},
},
+ "propertyState": "A String", # The outline property state.
+ #
+ # Updating the the outline on a page element will implicitly update this
+ # field to`RENDERED`, unless another value is specified in the same request.
+ # To have no outline on a page element, set this field to `NOT_RENDERED`. In
+ # this case, any other outline fields set in the same request will be
+ # ignored.
+ "dashStyle": "A String", # The dash style of the outline.
"weight": { # A magnitude in a single direction in the specified units. # The thickness of the outline.
"magnitude": 3.14, # The magnitude.
"unit": "A String", # The units for magnitude.
@@ -6077,7 +8216,10 @@
# a linked chart embedded from Google Sheets.
"chartId": 42, # The ID of the specific chart in the Google Sheets spreadsheet that is
# embedded.
- "spreadsheetId": "A String", # The ID of the Google Sheets spreadsheet that contains the source chart.
+ "contentUrl": "A String", # The URL of an image of the embedded chart, with a default lifetime of 30
+ # minutes. This URL is tagged with the account of the requester. Anyone with
+ # the URL effectively accesses the image as the original requester. Access to
+ # the image may be lost if the presentation's sharing settings change.
"sheetsChartProperties": { # The properties of the SheetsChart. # The properties of the Sheets chart.
"chartImageProperties": { # The properties of the Image. # The properties of the embedded chart image.
"outline": { # The outline of a PageElement. # The outline of the image. If not set, the the image has no outline.
@@ -6086,14 +8228,6 @@
# 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.
- "dashStyle": "A String", # The dash style of the outline.
- "propertyState": "A String", # The outline property state.
- #
- # Updating the the outline on a page element will implicitly update this
- # field to`RENDERED`, unless another value is specified in the same request.
- # To have no outline on a page element, set this field to `NOT_RENDERED`. In
- # this case, any other outline fields set in the same request will be
- # ignored.
"outlineFill": { # The fill of the outline. # The fill of the outline.
"solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill.
# specified color value.
@@ -6117,6 +8251,14 @@
# a value of 0.0 corresponds to a completely transparent color.
},
},
+ "propertyState": "A String", # The outline property state.
+ #
+ # Updating the the outline on a page element will implicitly update this
+ # field to`RENDERED`, unless another value is specified in the same request.
+ # To have no outline on a page element, set this field to `NOT_RENDERED`. In
+ # this case, any other outline fields set in the same request will be
+ # ignored.
+ "dashStyle": "A String", # The dash style of the outline.
"weight": { # A magnitude in a single direction in the specified units. # The thickness of the outline.
"magnitude": 3.14, # The magnitude.
"unit": "A String", # The units for magnitude.
@@ -6127,7 +8269,11 @@
"recolor": { # A recolor effect applied on an image. # The recolor effect of the image. If not set, the image is not recolored.
# This property is read-only.
"recolorStops": [ # The recolor effect is represented by a gradient, which is a list of color
- # stops. This property is read-only.
+ # stops.
+ #
+ # The colors in the gradient will replace the corresponding colors at
+ # the same position in the color palette and apply to the image. This
+ # property is read-only.
{ # A color and position in a gradient band.
"color": { # A themeable solid color value. # The color of the gradient stop.
"themeColor": "A String", # An opaque theme color.
@@ -6137,19 +8283,24 @@
"red": 3.14, # The red component of the color, from 0.0 to 1.0.
},
},
- "position": 3.14, # The relative position of the color stop in the gradient band measured
- # in percentage. The value should be in the interval [0.0, 1.0].
"alpha": 3.14, # The alpha value of this color in the gradient band. Defaults to 1.0,
# fully opaque.
+ "position": 3.14, # The relative position of the color stop in the gradient band measured
+ # in percentage. The value should be in the interval [0.0, 1.0].
},
],
+ "name": "A String", # The name of the recolor effect.
+ #
+ # The name is determined from the `recolor_stops` by matching the gradient
+ # against the colors in the page's current color scheme. This property is
+ # read-only.
},
"link": { # A hypertext link. # The hyperlink destination of the image. If unset, there is no link.
"url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
"slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
# in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
"relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
# addressed by its position.
},
@@ -6182,12 +8333,12 @@
# object's original width.
"angle": 3.14, # The rotation angle of the crop window around its center, in radians.
# Rotation angle is applied after the offset.
- "bottomOffset": 3.14, # The offset specifies the bottom edge of the crop rectangle that is located
- # above the original bounding rectangle bottom edge, relative to the object's
- # original height.
"rightOffset": 3.14, # The offset specifies the right edge of the crop rectangle that is located
# to the left of the original bounding rectangle right edge, relative to the
# object's original width.
+ "bottomOffset": 3.14, # The offset specifies the bottom edge of the crop rectangle that is located
+ # above the original bounding rectangle bottom edge, relative to the object's
+ # original height.
"topOffset": 3.14, # The offset specifies the top edge of the crop rectangle that is located
# below the original bounding rectangle top edge, relative to the object's
# original height.
@@ -6250,15 +8401,14 @@
# [-1.0, 1.0], where 0 means no effect. This property is read-only.
},
},
- "contentUrl": "A String", # The URL of an image of the embedded chart, with a default lifetime of 30
- # minutes. This URL is tagged with the account of the requester. Anyone with
- # the URL effectively accesses the image as the original requester. Access to
- # the image may be lost if the presentation's sharing settings change.
+ "spreadsheetId": "A String", # The ID of the Google Sheets spreadsheet that contains the source chart.
},
"video": { # A PageElement kind representing a # A video page element.
# video.
"url": "A String", # An URL to a video. The URL is valid as long as the source video
# exists and sharing settings do not change.
+ "source": "A String", # The video source.
+ "id": "A String", # The video source's unique identifier for this video.
"videoProperties": { # The properties of the Video. # The properties of the video.
"outline": { # The outline of a PageElement. # The outline of the video. The default outline matches the defaults for new
# videos created in the Slides editor.
@@ -6267,14 +8417,6 @@
# 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.
- "dashStyle": "A String", # The dash style of the outline.
- "propertyState": "A String", # The outline property state.
- #
- # Updating the the outline on a page element will implicitly update this
- # field to`RENDERED`, unless another value is specified in the same request.
- # To have no outline on a page element, set this field to `NOT_RENDERED`. In
- # this case, any other outline fields set in the same request will be
- # ignored.
"outlineFill": { # The fill of the outline. # The fill of the outline.
"solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill.
# specified color value.
@@ -6298,14 +8440,20 @@
# a value of 0.0 corresponds to a completely transparent color.
},
},
+ "propertyState": "A String", # The outline property state.
+ #
+ # Updating the the outline on a page element will implicitly update this
+ # field to`RENDERED`, unless another value is specified in the same request.
+ # To have no outline on a page element, set this field to `NOT_RENDERED`. In
+ # this case, any other outline fields set in the same request will be
+ # ignored.
+ "dashStyle": "A String", # The dash style of the outline.
"weight": { # A magnitude in a single direction in the specified units. # The thickness of the outline.
"magnitude": 3.14, # The magnitude.
"unit": "A String", # The units for magnitude.
},
},
},
- "id": "A String", # The video source's unique identifier for this video.
- "source": "A String", # The video source.
},
"table": { # A PageElement kind representing a # A table page element.
# table.
@@ -6332,6 +8480,114 @@
{ # Properties and contents of each table cell.
"text": { # The general text content. The text must reside in a compatible shape (e.g. # The text content of the cell.
# text box or rectangle) or a table cell in a page.
+ "lists": { # The bulleted lists contained in this text, keyed by list ID.
+ "a_key": { # 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.
+ "nestingLevel": { # A map of nesting levels to the properties of bullets at the associated
+ # level. A list has at most nine levels of nesting, so the possible values
+ # for the keys of this map are 0 through 8, inclusive.
+ "a_key": { # Contains properties describing the look and feel of a list bullet at a given
+ # level of nesting.
+ "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The style of a bullet at this level of nesting.
+ #
+ # 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.
+ "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ "bold": True or False, # Whether or not the text is rendered as bold.
+ "baselineOffset": "A String", # The text's vertical offset from its normal position.
+ #
+ # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
+ # rendered in a smaller font size, computed based on the `font_size` field.
+ # The `font_size` itself is not affected by changes in this field.
+ "strikethrough": True or False, # Whether or not the text is struck through.
+ "smallCaps": True or False, # Whether or not the text is in small capital letters.
+ "fontFamily": "A String", # The font family of the text.
+ #
+ # The font family can be any font from the Font menu in Slides or from
+ # [Google Fonts] (https://fonts.google.com/). If the font name is
+ # unrecognized, the text is rendered in `Arial`.
+ #
+ # Some fonts can affect the weight of the text. If an update request
+ # specifies values for both `font_family` and `bold`, the explicitly-set
+ # `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "italic": True or False, # Whether or not the text is italicized.
+ "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
+ # are not inherited from parent text.
+ #
+ # Changing the link in an update request causes some other changes to the
+ # text style of the range:
+ #
+ # * When setting a link, the text foreground color will be set to
+ # ThemeColorType.HYPERLINK and the text will
+ # be underlined. If these fields are modified in the same
+ # request, those values will be used instead of the link defaults.
+ # * Setting a link on a text range that overlaps with an existing link will
+ # also update the existing link to point to the new URL.
+ # * Links are not settable on newline characters. As a result, setting a link
+ # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
+ # will separate the newline character(s) into their own text runs. The
+ # link will be applied separately to the runs before and after the newline.
+ # * Removing a link will update the text style of the range to match the
+ # style of the preceding text (or the default text styles if the preceding
+ # text is another link) unless different styles are being set in the same
+ # request.
+ "url": "A String", # If set, indicates this is a link to the external web page at this URL.
+ "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
+ # in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
+ "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
+ # addressed by its position.
+ },
+ "underline": True or False, # Whether or not the text is underlined.
+ "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ },
+ },
+ },
+ "listId": "A String", # The ID of the list.
+ },
+ },
"textElements": [ # The text contents broken down into its component parts, including styling
# information. This property is read-only.
{ # A TextElement describes the content of a range of indices in the text content
@@ -6368,7 +8624,7 @@
},
},
},
- "bold": True or False, # Whether or not the text is bold.
+ "bold": True or False, # Whether or not the text is rendered as bold.
"baselineOffset": "A String", # The text's vertical offset from its normal position.
#
# Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
@@ -6385,6 +8641,12 @@
# Some fonts can affect the weight of the text. If an update request
# specifies values for both `font_family` and `bold`, the explicitly-set
# `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "italic": True or False, # Whether or not the text is italicized.
"link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
# are not inherited from parent text.
#
@@ -6406,19 +8668,13 @@
# text is another link) unless different styles are being set in the same
# request.
"url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
"slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
# in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
"relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
# addressed by its position.
},
- "italic": True or False, # Whether or not the text is italicized.
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
"underline": True or False, # Whether or not the text is underlined.
"backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
# transparent, depending on if the `opaque_color` field in it is set.
@@ -6458,40 +8714,40 @@
# placeholder.
#
# Inherited paragraph styles are represented as unset fields in this message.
- "spacingMode": "A String", # The spacing mode for the paragraph. This property is read-only.
- "direction": "A String", # The text direction of this paragraph. This property is read-only.
+ "spacingMode": "A String", # The spacing mode for the paragraph.
+ "direction": "A String", # The text direction of this paragraph. If unset, the value defaults to
+ # LEFT_TO_RIGHT
+ # since text direction is not inherited.
"spaceBelow": { # A magnitude in a single direction in the specified units. # The amount of extra space above the paragraph. If unset, the value is
- # inherited from the parent. This property is read-only.
+ # inherited from the parent.
"magnitude": 3.14, # The magnitude.
"unit": "A String", # The units for magnitude.
},
"lineSpacing": 3.14, # The amount of space between lines, as a percentage of normal, where normal
# is represented as 100.0. If unset, the value is inherited from the parent.
- # This property is read-only.
"indentStart": { # A magnitude in a single direction in the specified units. # The amount indentation for the paragraph on the side that corresponds to
# the start of the text, based on the current text direction. If unset, the
- # value is inherited from the parent. This property is read-only.
+ # value is inherited from the parent.
"magnitude": 3.14, # The magnitude.
"unit": "A String", # The units for magnitude.
},
"spaceAbove": { # A magnitude in a single direction in the specified units. # The amount of extra space above the paragraph. If unset, the value is
- # inherited from the parent. This property is read-only.
+ # inherited from the parent.
"magnitude": 3.14, # The magnitude.
"unit": "A String", # The units for magnitude.
},
"indentEnd": { # A magnitude in a single direction in the specified units. # The amount indentation for the paragraph on the side that corresponds to
# the end of the text, based on the current text direction. If unset, the
- # value is inherited from the parent. This property is read-only.
+ # value is inherited from the parent.
"magnitude": 3.14, # The magnitude.
"unit": "A String", # The units for magnitude.
},
"indentFirstLine": { # A magnitude in a single direction in the specified units. # The amount of indentation for the start of the first line of the paragraph.
- # If unset, the value is inherited from the parent. This property is
- # read-only.
+ # If unset, the value is inherited from the parent.
"magnitude": 3.14, # The magnitude.
"unit": "A String", # The units for magnitude.
},
- "alignment": "A String", # The text alignment for this paragraph. This property is read-only.
+ "alignment": "A String", # The text alignment for this paragraph.
},
"bullet": { # Describes the bullet of a paragraph. # The bullet for this paragraph. If not present, the paragraph does not
# belong to a list.
@@ -6526,7 +8782,7 @@
},
},
},
- "bold": True or False, # Whether or not the text is bold.
+ "bold": True or False, # Whether or not the text is rendered as bold.
"baselineOffset": "A String", # The text's vertical offset from its normal position.
#
# Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
@@ -6543,6 +8799,12 @@
# Some fonts can affect the weight of the text. If an update request
# specifies values for both `font_family` and `bold`, the explicitly-set
# `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "italic": True or False, # Whether or not the text is italicized.
"link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
# are not inherited from parent text.
#
@@ -6564,19 +8826,13 @@
# text is another link) unless different styles are being set in the same
# request.
"url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
"slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
# in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
"relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
# addressed by its position.
},
- "italic": True or False, # Whether or not the text is italicized.
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
"underline": True or False, # Whether or not the text is underlined.
"backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
# transparent, depending on if the `opaque_color` field in it is set.
@@ -6631,7 +8887,7 @@
},
},
},
- "bold": True or False, # Whether or not the text is bold.
+ "bold": True or False, # Whether or not the text is rendered as bold.
"baselineOffset": "A String", # The text's vertical offset from its normal position.
#
# Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
@@ -6648,6 +8904,12 @@
# Some fonts can affect the weight of the text. If an update request
# specifies values for both `font_family` and `bold`, the explicitly-set
# `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "italic": True or False, # Whether or not the text is italicized.
"link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
# are not inherited from parent text.
#
@@ -6669,19 +8931,13 @@
# text is another link) unless different styles are being set in the same
# request.
"url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
"slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
# in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
"relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
# addressed by its position.
},
- "italic": True or False, # Whether or not the text is italicized.
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
"underline": True or False, # Whether or not the text is underlined.
"backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
# transparent, depending on if the `opaque_color` field in it is set.
@@ -6699,116 +8955,7 @@
},
},
],
- "lists": { # The bulleted lists contained in this text, keyed by list ID.
- "a_key": { # 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.
- "nestingLevel": { # A map of nesting levels to the properties of bullets at the associated
- # level. A list has at most nine levels of nesting, so the possible values
- # for the keys of this map are 0 through 8, inclusive.
- "a_key": { # Contains properties describing the look and feel of a list bullet at a given
- # level of nesting.
- "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The style of a bullet at this level of nesting.
- #
- # 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.
- "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- "bold": True or False, # Whether or not the text is bold.
- "baselineOffset": "A String", # The text's vertical offset from its normal position.
- #
- # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
- # rendered in a smaller font size, computed based on the `font_size` field.
- # The `font_size` itself is not affected by changes in this field.
- "strikethrough": True or False, # Whether or not the text is struck through.
- "smallCaps": True or False, # Whether or not the text is in small capital letters.
- "fontFamily": "A String", # The font family of the text.
- #
- # The font family can be any font from the Font menu in Slides or from
- # [Google Fonts] (https://fonts.google.com/). If the font name is
- # unrecognized, the text is rendered in `Arial`.
- #
- # Some fonts can affect the weight of the text. If an update request
- # specifies values for both `font_family` and `bold`, the explicitly-set
- # `bold` value is used.
- "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
- # are not inherited from parent text.
- #
- # Changing the link in an update request causes some other changes to the
- # text style of the range:
- #
- # * When setting a link, the text foreground color will be set to
- # ThemeColorType.HYPERLINK and the text will
- # be underlined. If these fields are modified in the same
- # request, those values will be used instead of the link defaults.
- # * Setting a link on a text range that overlaps with an existing link will
- # also update the existing link to point to the new URL.
- # * Links are not settable on newline characters. As a result, setting a link
- # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
- # will separate the newline character(s) into their own text runs. The
- # link will be applied separately to the runs before and after the newline.
- # * Removing a link will update the text style of the range to match the
- # style of the preceding text (or the default text styles if the preceding
- # text is another link) unless different styles are being set in the same
- # request.
- "url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
- "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
- # in the presentation. There may not be a slide at this index.
- "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
- # addressed by its position.
- },
- "italic": True or False, # Whether or not the text is italicized.
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
- "underline": True or False, # Whether or not the text is underlined.
- "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- },
- },
- },
- "listId": "A String", # The ID of the list.
- },
- },
},
- "rowSpan": 42, # Row span of the cell.
"tableCellProperties": { # The properties of the TableCell. # The properties of the table cell.
"tableCellBackgroundFill": { # The table cell background fill. # The background fill of the table cell. The default fill matches the fill
# for newly created table cells in the Slides editor.
@@ -6841,11 +8988,12 @@
# case, any other fill fields set in the same request will be ignored.
},
},
+ "rowSpan": 42, # Row span of the cell.
+ "columnSpan": 42, # Column span of the cell.
"location": { # A location of a single table cell within a table. # The location of the cell within the table.
"rowIndex": 42, # The 0-based row index.
"columnIndex": 42, # The 0-based column index.
},
- "columnSpan": 42, # Column span of the cell.
},
],
"rowHeight": { # A magnitude in a single direction in the specified units. # Height of a row.
@@ -6871,10 +9019,10 @@
"endArrow": "A String", # The style of the arrow at the end of the line.
"link": { # A hypertext link. # The hyperlink destination of the line. If unset, there is no link.
"url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
"slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
# in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
"relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
# addressed by its position.
},
@@ -6924,9 +9072,28 @@
},
},
],
+ "notesProperties": { # The properties of Page that are only # Notes specific properties. Only set if page_type = NOTES.
+ # relevant for pages with page_type NOTES.
+ "speakerNotesObjectId": "A String", # The object ID of the shape on this notes page that contains the speaker
+ # notes for the corresponding slide.
+ # The actual shape may not always exist on the notes page. Inserting text
+ # using this object ID will automatically create the shape. In this case, the
+ # actual shape may have different object ID. The `GetPresentation` or
+ # `GetPage` action will always return the latest object ID.
+ },
"objectId": "A String", # The object ID for this page. Object IDs used by
# Page and
# PageElement share the same namespace.
+ "revisionId": "A String", # The revision ID of the presentation containing this page. Can be used in
+ # update requests to assert that the presentation revision hasn't changed
+ # since the last read operation. Only populated if the user has edit access
+ # to the presentation.
+ #
+ # The format of the revision ID may change over time, so it should be treated
+ # opaquely. A returned revision ID is only guaranteed to be valid for 24
+ # hours after it has been returned and cannot be shared across
+ # users. Callers can assume that if two revision IDs are equal then the
+ # presentation has not changed.
"pageProperties": { # The properties of the Page. # The properties of the page.
#
# The page will inherit properties from the parent page. Depending on the page
@@ -7008,6 +9175,15 @@
"pageType": "A String", # The type of the page.
"slideProperties": { # The properties of Page that are only # Slide specific properties. Only set if page_type = SLIDE.
# relevant for pages with page_type SLIDE.
+ "notesPage": # Object with schema name: Page # The notes page that this slide is associated with. It defines the visual
+ # appearance of a notes page when printing or exporting slides with speaker
+ # notes. A notes page inherits properties from the
+ # notes master.
+ # The placeholder shape with type BODY on the notes page contains the speaker
+ # notes for this slide. The ID of this shape is identified by the
+ # speakerNotesObjectId field.
+ # The notes page is read-only except for the text content and styles of the
+ # speaker notes shape.
"masterObjectId": "A String", # The object ID of the master that this slide is based on.
"layoutObjectId": "A String", # The object ID of the layout that this slide is based on.
},
@@ -7025,6 +9201,1888 @@
{ # A Google Slides presentation.
"presentationId": "A String", # The ID of the presentation.
+ "notesMaster": { # A page in a presentation. # The notes master in the presentation. It serves three purposes:
+ #
+ # - Placeholder shapes on a notes master contain the default text styles and
+ # shape properties of all placeholder shapes on notes pages. Specifically,
+ # a `SLIDE_IMAGE` placeholder shape contains the slide thumbnail, and a
+ # `BODY` placeholder shape contains the speaker notes.
+ # - The notes master page properties define the common page properties
+ # inherited by all notes pages.
+ # - Any other shapes on the notes master will appear on all notes pages.
+ #
+ # The notes master is read-only.
+ "layoutProperties": { # The properties of Page are only # Layout specific properties. Only set if page_type = LAYOUT.
+ # relevant for pages with page_type LAYOUT.
+ "displayName": "A String", # The human readable name of the layout in the presentation's locale.
+ "name": "A String", # The name of the layout.
+ "masterObjectId": "A String", # The object ID of the master that this layout is based on.
+ },
+ "pageElements": [ # The page elements rendered on the page.
+ { # A visual element rendered on a page.
+ "wordArt": { # A PageElement kind representing # A word art page element.
+ # word art.
+ "renderedText": "A String", # The text rendered as word art.
+ },
+ "description": "A String", # The description of the page element. Combined with title to display alt
+ # text.
+ "objectId": "A String", # The object ID for this page element. Object IDs used by
+ # google.apps.slides.v1.Page and
+ # google.apps.slides.v1.PageElement share the same namespace.
+ "title": "A String", # The title of the page element. Combined with description to display alt
+ # text.
+ "image": { # A PageElement kind representing an # An image page element.
+ # image.
+ "contentUrl": "A String", # An URL to an image with a default lifetime of 30 minutes.
+ # This URL is tagged with the account of the requester. Anyone with the URL
+ # effectively accesses the image as the original requester. Access to the
+ # image may be lost if the presentation's sharing settings change.
+ "imageProperties": { # The properties of the Image. # The properties of the image.
+ "outline": { # The outline of a PageElement. # The outline of the image. If not set, the the image has no outline.
+ #
+ # 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. # The fill of the outline.
+ "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill.
+ # specified color value.
+ #
+ # If any field is unset, its value may be inherited from a parent placeholder
+ # if it exists.
+ "color": { # A themeable solid color value. # The color value of the solid fill.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel.
+ # That is, the final pixel color is defined by the equation:
+ #
+ # pixel color = alpha * (color) + (1.0 - alpha) * (background color)
+ #
+ # This means that a value of 1.0 corresponds to a solid color, whereas
+ # a value of 0.0 corresponds to a completely transparent color.
+ },
+ },
+ "propertyState": "A String", # The outline property state.
+ #
+ # Updating the the outline on a page element will implicitly update this
+ # field to`RENDERED`, unless another value is specified in the same request.
+ # To have no outline on a page element, set this field to `NOT_RENDERED`. In
+ # this case, any other outline fields set in the same request will be
+ # ignored.
+ "dashStyle": "A String", # The dash style of the outline.
+ "weight": { # A magnitude in a single direction in the specified units. # The thickness of the outline.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ },
+ "brightness": 3.14, # The brightness effect of the image. The value should be in the interval
+ # [-1.0, 1.0], where 0 means no effect. This property is read-only.
+ "recolor": { # A recolor effect applied on an image. # The recolor effect of the image. If not set, the image is not recolored.
+ # This property is read-only.
+ "recolorStops": [ # The recolor effect is represented by a gradient, which is a list of color
+ # stops.
+ #
+ # The colors in the gradient will replace the corresponding colors at
+ # the same position in the color palette and apply to the image. This
+ # property is read-only.
+ { # A color and position in a gradient band.
+ "color": { # A themeable solid color value. # The color of the gradient stop.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ "alpha": 3.14, # The alpha value of this color in the gradient band. Defaults to 1.0,
+ # fully opaque.
+ "position": 3.14, # The relative position of the color stop in the gradient band measured
+ # in percentage. The value should be in the interval [0.0, 1.0].
+ },
+ ],
+ "name": "A String", # The name of the recolor effect.
+ #
+ # The name is determined from the `recolor_stops` by matching the gradient
+ # against the colors in the page's current color scheme. This property is
+ # read-only.
+ },
+ "link": { # A hypertext link. # The hyperlink destination of the image. If unset, there is no link.
+ "url": "A String", # If set, indicates this is a link to the external web page at this URL.
+ "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
+ # in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
+ "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
+ # addressed by its position.
+ },
+ "transparency": 3.14, # The transparency effect of the image. The value should be in the interval
+ # [0.0, 1.0], where 0 means no effect and 1 means completely transparent.
+ # This property is read-only.
+ "cropProperties": { # The crop properties of an object enclosed in a container. For example, an # The crop properties of the image. If not set, the image is not cropped.
+ # This property is read-only.
+ # 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.
+ "leftOffset": 3.14, # The offset specifies the left edge of the crop rectangle that is located to
+ # the right of the original bounding rectangle left edge, relative to the
+ # object's original width.
+ "angle": 3.14, # The rotation angle of the crop window around its center, in radians.
+ # Rotation angle is applied after the offset.
+ "rightOffset": 3.14, # The offset specifies the right edge of the crop rectangle that is located
+ # to the left of the original bounding rectangle right edge, relative to the
+ # object's original width.
+ "bottomOffset": 3.14, # The offset specifies the bottom edge of the crop rectangle that is located
+ # above the original bounding rectangle bottom edge, relative to the object's
+ # original height.
+ "topOffset": 3.14, # The offset specifies the top edge of the crop rectangle that is located
+ # below the original bounding rectangle top edge, relative to the object's
+ # original height.
+ },
+ "shadow": { # The shadow properties of a page element. # The shadow of the image. If not set, the image has no shadow. This property
+ # is read-only.
+ #
+ # 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.
+ "color": { # A themeable solid color value. # The shadow color value.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ "transform": { # AffineTransform uses a 3x3 matrix with an implied last row of [ 0 0 1 ] # Transform that encodes the translate, scale, and skew of the shadow,
+ # relative to the alignment position.
+ # 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.
+ "translateX": 3.14, # The X coordinate translation element.
+ "translateY": 3.14, # The Y coordinate translation element.
+ "scaleX": 3.14, # The X coordinate scaling element.
+ "scaleY": 3.14, # The Y coordinate scaling element.
+ "shearY": 3.14, # The Y coordinate shearing element.
+ "shearX": 3.14, # The X coordinate shearing element.
+ "unit": "A String", # The units for translate elements.
+ },
+ "propertyState": "A String", # The shadow property state.
+ #
+ # Updating the the shadow on a page element will implicitly update this field
+ # to `RENDERED`, unless another value is specified in the same request. To
+ # have no shadow on a page element, set this field to `NOT_RENDERED`. In this
+ # case, any other shadow fields set in the same request will be ignored.
+ "blurRadius": { # A magnitude in a single direction in the specified units. # The radius of the shadow blur. The larger the radius, the more diffuse the
+ # shadow becomes.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "alpha": 3.14, # The alpha of the shadow's color, from 0.0 to 1.0.
+ "type": "A String", # The type of the shadow.
+ "alignment": "A String", # The alignment point of the shadow, that sets the origin for translate,
+ # scale and skew of the shadow.
+ "rotateWithShape": True or False, # Whether the shadow should rotate with the shape.
+ },
+ "contrast": 3.14, # The contrast effect of the image. The value should be in the interval
+ # [-1.0, 1.0], where 0 means no effect. This property is read-only.
+ },
+ },
+ "transform": { # AffineTransform uses a 3x3 matrix with an implied last row of [ 0 0 1 ] # The transform of the page element.
+ # 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.
+ "translateX": 3.14, # The X coordinate translation element.
+ "translateY": 3.14, # The Y coordinate translation element.
+ "scaleX": 3.14, # The X coordinate scaling element.
+ "scaleY": 3.14, # The Y coordinate scaling element.
+ "shearY": 3.14, # The Y coordinate shearing element.
+ "shearX": 3.14, # The X coordinate shearing element.
+ "unit": "A String", # The units for translate elements.
+ },
+ "shape": { # A PageElement kind representing a # A generic shape.
+ # generic shape that does not have a more specific classification.
+ "text": { # The general text content. The text must reside in a compatible shape (e.g. # The text content of the shape.
+ # text box or rectangle) or a table cell in a page.
+ "lists": { # The bulleted lists contained in this text, keyed by list ID.
+ "a_key": { # 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.
+ "nestingLevel": { # A map of nesting levels to the properties of bullets at the associated
+ # level. A list has at most nine levels of nesting, so the possible values
+ # for the keys of this map are 0 through 8, inclusive.
+ "a_key": { # Contains properties describing the look and feel of a list bullet at a given
+ # level of nesting.
+ "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The style of a bullet at this level of nesting.
+ #
+ # 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.
+ "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ "bold": True or False, # Whether or not the text is rendered as bold.
+ "baselineOffset": "A String", # The text's vertical offset from its normal position.
+ #
+ # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
+ # rendered in a smaller font size, computed based on the `font_size` field.
+ # The `font_size` itself is not affected by changes in this field.
+ "strikethrough": True or False, # Whether or not the text is struck through.
+ "smallCaps": True or False, # Whether or not the text is in small capital letters.
+ "fontFamily": "A String", # The font family of the text.
+ #
+ # The font family can be any font from the Font menu in Slides or from
+ # [Google Fonts] (https://fonts.google.com/). If the font name is
+ # unrecognized, the text is rendered in `Arial`.
+ #
+ # Some fonts can affect the weight of the text. If an update request
+ # specifies values for both `font_family` and `bold`, the explicitly-set
+ # `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "italic": True or False, # Whether or not the text is italicized.
+ "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
+ # are not inherited from parent text.
+ #
+ # Changing the link in an update request causes some other changes to the
+ # text style of the range:
+ #
+ # * When setting a link, the text foreground color will be set to
+ # ThemeColorType.HYPERLINK and the text will
+ # be underlined. If these fields are modified in the same
+ # request, those values will be used instead of the link defaults.
+ # * Setting a link on a text range that overlaps with an existing link will
+ # also update the existing link to point to the new URL.
+ # * Links are not settable on newline characters. As a result, setting a link
+ # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
+ # will separate the newline character(s) into their own text runs. The
+ # link will be applied separately to the runs before and after the newline.
+ # * Removing a link will update the text style of the range to match the
+ # style of the preceding text (or the default text styles if the preceding
+ # text is another link) unless different styles are being set in the same
+ # request.
+ "url": "A String", # If set, indicates this is a link to the external web page at this URL.
+ "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
+ # in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
+ "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
+ # addressed by its position.
+ },
+ "underline": True or False, # Whether or not the text is underlined.
+ "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ },
+ },
+ },
+ "listId": "A String", # The ID of the list.
+ },
+ },
+ "textElements": [ # The text contents broken down into its component parts, including styling
+ # information. This property is read-only.
+ { # A TextElement describes the content of a range of indices in the text content
+ # of a Shape or TableCell.
+ "autoText": { # A TextElement kind that represents auto text. # A TextElement representing a spot in the text that is dynamically
+ # replaced with content that can change over time.
+ "content": "A String", # The rendered content of this auto text, if available.
+ "style": { # Represents the styling that can be applied to a TextRun. # The styling applied to this auto text.
+ #
+ # 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.
+ "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ "bold": True or False, # Whether or not the text is rendered as bold.
+ "baselineOffset": "A String", # The text's vertical offset from its normal position.
+ #
+ # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
+ # rendered in a smaller font size, computed based on the `font_size` field.
+ # The `font_size` itself is not affected by changes in this field.
+ "strikethrough": True or False, # Whether or not the text is struck through.
+ "smallCaps": True or False, # Whether or not the text is in small capital letters.
+ "fontFamily": "A String", # The font family of the text.
+ #
+ # The font family can be any font from the Font menu in Slides or from
+ # [Google Fonts] (https://fonts.google.com/). If the font name is
+ # unrecognized, the text is rendered in `Arial`.
+ #
+ # Some fonts can affect the weight of the text. If an update request
+ # specifies values for both `font_family` and `bold`, the explicitly-set
+ # `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "italic": True or False, # Whether or not the text is italicized.
+ "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
+ # are not inherited from parent text.
+ #
+ # Changing the link in an update request causes some other changes to the
+ # text style of the range:
+ #
+ # * When setting a link, the text foreground color will be set to
+ # ThemeColorType.HYPERLINK and the text will
+ # be underlined. If these fields are modified in the same
+ # request, those values will be used instead of the link defaults.
+ # * Setting a link on a text range that overlaps with an existing link will
+ # also update the existing link to point to the new URL.
+ # * Links are not settable on newline characters. As a result, setting a link
+ # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
+ # will separate the newline character(s) into their own text runs. The
+ # link will be applied separately to the runs before and after the newline.
+ # * Removing a link will update the text style of the range to match the
+ # style of the preceding text (or the default text styles if the preceding
+ # text is another link) unless different styles are being set in the same
+ # request.
+ "url": "A String", # If set, indicates this is a link to the external web page at this URL.
+ "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
+ # in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
+ "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
+ # addressed by its position.
+ },
+ "underline": True or False, # Whether or not the text is underlined.
+ "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ },
+ "type": "A String", # The type of this auto text.
+ },
+ "endIndex": 42, # The zero-based end index of this text element, exclusive, in Unicode code
+ # units.
+ "startIndex": 42, # The zero-based start index of this text element, in Unicode code units.
+ "paragraphMarker": { # A TextElement kind that represents the beginning of a new paragraph. # A marker representing the beginning of a new paragraph.
+ #
+ # The `start_index` and `end_index` of this TextElement represent the
+ # range of the paragraph. Other TextElements with an index range contained
+ # inside this paragraph's range are considered to be part of this
+ # paragraph. The range of indices of two separate paragraphs will never
+ # overlap.
+ "style": { # Styles that apply to a whole paragraph. # The paragraph's style
+ #
+ # 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.
+ "spacingMode": "A String", # The spacing mode for the paragraph.
+ "direction": "A String", # The text direction of this paragraph. If unset, the value defaults to
+ # LEFT_TO_RIGHT
+ # since text direction is not inherited.
+ "spaceBelow": { # A magnitude in a single direction in the specified units. # The amount of extra space above the paragraph. If unset, the value is
+ # inherited from the parent.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "lineSpacing": 3.14, # The amount of space between lines, as a percentage of normal, where normal
+ # is represented as 100.0. If unset, the value is inherited from the parent.
+ "indentStart": { # A magnitude in a single direction in the specified units. # The amount indentation for the paragraph on the side that corresponds to
+ # the start of the text, based on the current text direction. If unset, the
+ # value is inherited from the parent.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "spaceAbove": { # A magnitude in a single direction in the specified units. # The amount of extra space above the paragraph. If unset, the value is
+ # inherited from the parent.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "indentEnd": { # A magnitude in a single direction in the specified units. # The amount indentation for the paragraph on the side that corresponds to
+ # the end of the text, based on the current text direction. If unset, the
+ # value is inherited from the parent.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "indentFirstLine": { # A magnitude in a single direction in the specified units. # The amount of indentation for the start of the first line of the paragraph.
+ # If unset, the value is inherited from the parent.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "alignment": "A String", # The text alignment for this paragraph.
+ },
+ "bullet": { # Describes the bullet of a paragraph. # The bullet for this paragraph. If not present, the paragraph does not
+ # belong to a list.
+ "nestingLevel": 42, # The nesting level of this paragraph in the list.
+ "listId": "A String", # The ID of the list this paragraph belongs to.
+ "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The paragraph specific text style applied to this bullet.
+ #
+ # 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.
+ "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ "bold": True or False, # Whether or not the text is rendered as bold.
+ "baselineOffset": "A String", # The text's vertical offset from its normal position.
+ #
+ # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
+ # rendered in a smaller font size, computed based on the `font_size` field.
+ # The `font_size` itself is not affected by changes in this field.
+ "strikethrough": True or False, # Whether or not the text is struck through.
+ "smallCaps": True or False, # Whether or not the text is in small capital letters.
+ "fontFamily": "A String", # The font family of the text.
+ #
+ # The font family can be any font from the Font menu in Slides or from
+ # [Google Fonts] (https://fonts.google.com/). If the font name is
+ # unrecognized, the text is rendered in `Arial`.
+ #
+ # Some fonts can affect the weight of the text. If an update request
+ # specifies values for both `font_family` and `bold`, the explicitly-set
+ # `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "italic": True or False, # Whether or not the text is italicized.
+ "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
+ # are not inherited from parent text.
+ #
+ # Changing the link in an update request causes some other changes to the
+ # text style of the range:
+ #
+ # * When setting a link, the text foreground color will be set to
+ # ThemeColorType.HYPERLINK and the text will
+ # be underlined. If these fields are modified in the same
+ # request, those values will be used instead of the link defaults.
+ # * Setting a link on a text range that overlaps with an existing link will
+ # also update the existing link to point to the new URL.
+ # * Links are not settable on newline characters. As a result, setting a link
+ # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
+ # will separate the newline character(s) into their own text runs. The
+ # link will be applied separately to the runs before and after the newline.
+ # * Removing a link will update the text style of the range to match the
+ # style of the preceding text (or the default text styles if the preceding
+ # text is another link) unless different styles are being set in the same
+ # request.
+ "url": "A String", # If set, indicates this is a link to the external web page at this URL.
+ "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
+ # in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
+ "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
+ # addressed by its position.
+ },
+ "underline": True or False, # Whether or not the text is underlined.
+ "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ },
+ "glyph": "A String", # The rendered bullet glyph for this paragraph.
+ },
+ },
+ "textRun": { # A TextElement kind that represents a run of text that all has the same # A TextElement representing a run of text where all of the characters
+ # in the run have the same TextStyle.
+ #
+ # The `start_index` and `end_index` of TextRuns will always be fully
+ # contained in the index range of a single `paragraph_marker` TextElement.
+ # In other words, a TextRun will never span multiple paragraphs.
+ # styling.
+ "content": "A String", # The text of this run.
+ "style": { # Represents the styling that can be applied to a TextRun. # The styling applied to this run.
+ #
+ # 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.
+ "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ "bold": True or False, # Whether or not the text is rendered as bold.
+ "baselineOffset": "A String", # The text's vertical offset from its normal position.
+ #
+ # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
+ # rendered in a smaller font size, computed based on the `font_size` field.
+ # The `font_size` itself is not affected by changes in this field.
+ "strikethrough": True or False, # Whether or not the text is struck through.
+ "smallCaps": True or False, # Whether or not the text is in small capital letters.
+ "fontFamily": "A String", # The font family of the text.
+ #
+ # The font family can be any font from the Font menu in Slides or from
+ # [Google Fonts] (https://fonts.google.com/). If the font name is
+ # unrecognized, the text is rendered in `Arial`.
+ #
+ # Some fonts can affect the weight of the text. If an update request
+ # specifies values for both `font_family` and `bold`, the explicitly-set
+ # `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "italic": True or False, # Whether or not the text is italicized.
+ "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
+ # are not inherited from parent text.
+ #
+ # Changing the link in an update request causes some other changes to the
+ # text style of the range:
+ #
+ # * When setting a link, the text foreground color will be set to
+ # ThemeColorType.HYPERLINK and the text will
+ # be underlined. If these fields are modified in the same
+ # request, those values will be used instead of the link defaults.
+ # * Setting a link on a text range that overlaps with an existing link will
+ # also update the existing link to point to the new URL.
+ # * Links are not settable on newline characters. As a result, setting a link
+ # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
+ # will separate the newline character(s) into their own text runs. The
+ # link will be applied separately to the runs before and after the newline.
+ # * Removing a link will update the text style of the range to match the
+ # style of the preceding text (or the default text styles if the preceding
+ # text is another link) unless different styles are being set in the same
+ # request.
+ "url": "A String", # If set, indicates this is a link to the external web page at this URL.
+ "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
+ # in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
+ "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
+ # addressed by its position.
+ },
+ "underline": True or False, # Whether or not the text is underlined.
+ "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ },
+ },
+ },
+ ],
+ },
+ "shapeProperties": { # The properties of a Shape. # The properties of the 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.
+ "shadow": { # The shadow properties of a page element. # The shadow properties of the shape. If unset, the shadow is inherited from
+ # a parent placeholder if it exists. If the shape has no parent, then the
+ # default shadow matches the defaults for new shapes created in the Slides
+ # editor. This property is read-only.
+ #
+ # 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.
+ "color": { # A themeable solid color value. # The shadow color value.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ "transform": { # AffineTransform uses a 3x3 matrix with an implied last row of [ 0 0 1 ] # Transform that encodes the translate, scale, and skew of the shadow,
+ # relative to the alignment position.
+ # 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.
+ "translateX": 3.14, # The X coordinate translation element.
+ "translateY": 3.14, # The Y coordinate translation element.
+ "scaleX": 3.14, # The X coordinate scaling element.
+ "scaleY": 3.14, # The Y coordinate scaling element.
+ "shearY": 3.14, # The Y coordinate shearing element.
+ "shearX": 3.14, # The X coordinate shearing element.
+ "unit": "A String", # The units for translate elements.
+ },
+ "propertyState": "A String", # The shadow property state.
+ #
+ # Updating the the shadow on a page element will implicitly update this field
+ # to `RENDERED`, unless another value is specified in the same request. To
+ # have no shadow on a page element, set this field to `NOT_RENDERED`. In this
+ # case, any other shadow fields set in the same request will be ignored.
+ "blurRadius": { # A magnitude in a single direction in the specified units. # The radius of the shadow blur. The larger the radius, the more diffuse the
+ # shadow becomes.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "alpha": 3.14, # The alpha of the shadow's color, from 0.0 to 1.0.
+ "type": "A String", # The type of the shadow.
+ "alignment": "A String", # The alignment point of the shadow, that sets the origin for translate,
+ # scale and skew of the shadow.
+ "rotateWithShape": True or False, # Whether the shadow should rotate with the shape.
+ },
+ "shapeBackgroundFill": { # The shape background fill. # The background fill of the shape. If unset, the background fill is
+ # inherited from a parent placeholder if it exists. If the shape has no
+ # parent, then the default background fill depends on the shape type,
+ # matching the defaults for new shapes created in the Slides editor.
+ "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill.
+ # specified color value.
+ #
+ # If any field is unset, its value may be inherited from a parent placeholder
+ # if it exists.
+ "color": { # A themeable solid color value. # The color value of the solid fill.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel.
+ # That is, the final pixel color is defined by the equation:
+ #
+ # pixel color = alpha * (color) + (1.0 - alpha) * (background color)
+ #
+ # This means that a value of 1.0 corresponds to a solid color, whereas
+ # a value of 0.0 corresponds to a completely transparent color.
+ },
+ "propertyState": "A String", # The background fill property state.
+ #
+ # Updating the the fill on a shape will implicitly update this field to
+ # `RENDERED`, unless another value is specified in the same request. To
+ # have no fill on a shape, set this field to `NOT_RENDERED`. In this case,
+ # any other fill fields set in the same request will be ignored.
+ },
+ "link": { # A hypertext link. # The hyperlink destination of the shape. If unset, there is no link. Links
+ # are not inherited from parent placeholders.
+ "url": "A String", # If set, indicates this is a link to the external web page at this URL.
+ "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
+ # in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
+ "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
+ # addressed by its position.
+ },
+ "outline": { # The outline of a PageElement. # The outline of the shape. If unset, the outline is inherited from a
+ # parent placeholder if it exists. If the shape has no parent, then the
+ # default outline depends on the shape type, matching the defaults for
+ # new shapes created in the Slides editor.
+ #
+ # 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. # The fill of the outline.
+ "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill.
+ # specified color value.
+ #
+ # If any field is unset, its value may be inherited from a parent placeholder
+ # if it exists.
+ "color": { # A themeable solid color value. # The color value of the solid fill.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel.
+ # That is, the final pixel color is defined by the equation:
+ #
+ # pixel color = alpha * (color) + (1.0 - alpha) * (background color)
+ #
+ # This means that a value of 1.0 corresponds to a solid color, whereas
+ # a value of 0.0 corresponds to a completely transparent color.
+ },
+ },
+ "propertyState": "A String", # The outline property state.
+ #
+ # Updating the the outline on a page element will implicitly update this
+ # field to`RENDERED`, unless another value is specified in the same request.
+ # To have no outline on a page element, set this field to `NOT_RENDERED`. In
+ # this case, any other outline fields set in the same request will be
+ # ignored.
+ "dashStyle": "A String", # The dash style of the outline.
+ "weight": { # A magnitude in a single direction in the specified units. # The thickness of the outline.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ },
+ },
+ "placeholder": { # The placeholder information that uniquely identifies a placeholder shape. # Placeholders are shapes that are inherit from corresponding placeholders on
+ # layouts and masters.
+ #
+ # If set, the shape is a placeholder shape and any inherited properties
+ # can be resolved by looking at the parent placeholder identified by the
+ # Placeholder.parent_object_id field.
+ "parentObjectId": "A String", # The object ID of this shape's parent placeholder.
+ # If unset, the parent placeholder shape does not exist, so the shape does
+ # not inherit properties from any other shape.
+ "index": 42, # The index of the placeholder. If the same placeholder types are the present
+ # in the same page, they would have different index values.
+ "type": "A String", # The type of the placeholder.
+ },
+ "shapeType": "A String", # The type of the shape.
+ },
+ "sheetsChart": { # A PageElement kind representing # A linked chart embedded from Google Sheets. Unlinked charts are
+ # represented as images.
+ # a linked chart embedded from Google Sheets.
+ "chartId": 42, # The ID of the specific chart in the Google Sheets spreadsheet that is
+ # embedded.
+ "contentUrl": "A String", # The URL of an image of the embedded chart, with a default lifetime of 30
+ # minutes. This URL is tagged with the account of the requester. Anyone with
+ # the URL effectively accesses the image as the original requester. Access to
+ # the image may be lost if the presentation's sharing settings change.
+ "sheetsChartProperties": { # The properties of the SheetsChart. # The properties of the Sheets chart.
+ "chartImageProperties": { # The properties of the Image. # The properties of the embedded chart image.
+ "outline": { # The outline of a PageElement. # The outline of the image. If not set, the the image has no outline.
+ #
+ # 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. # The fill of the outline.
+ "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill.
+ # specified color value.
+ #
+ # If any field is unset, its value may be inherited from a parent placeholder
+ # if it exists.
+ "color": { # A themeable solid color value. # The color value of the solid fill.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel.
+ # That is, the final pixel color is defined by the equation:
+ #
+ # pixel color = alpha * (color) + (1.0 - alpha) * (background color)
+ #
+ # This means that a value of 1.0 corresponds to a solid color, whereas
+ # a value of 0.0 corresponds to a completely transparent color.
+ },
+ },
+ "propertyState": "A String", # The outline property state.
+ #
+ # Updating the the outline on a page element will implicitly update this
+ # field to`RENDERED`, unless another value is specified in the same request.
+ # To have no outline on a page element, set this field to `NOT_RENDERED`. In
+ # this case, any other outline fields set in the same request will be
+ # ignored.
+ "dashStyle": "A String", # The dash style of the outline.
+ "weight": { # A magnitude in a single direction in the specified units. # The thickness of the outline.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ },
+ "brightness": 3.14, # The brightness effect of the image. The value should be in the interval
+ # [-1.0, 1.0], where 0 means no effect. This property is read-only.
+ "recolor": { # A recolor effect applied on an image. # The recolor effect of the image. If not set, the image is not recolored.
+ # This property is read-only.
+ "recolorStops": [ # The recolor effect is represented by a gradient, which is a list of color
+ # stops.
+ #
+ # The colors in the gradient will replace the corresponding colors at
+ # the same position in the color palette and apply to the image. This
+ # property is read-only.
+ { # A color and position in a gradient band.
+ "color": { # A themeable solid color value. # The color of the gradient stop.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ "alpha": 3.14, # The alpha value of this color in the gradient band. Defaults to 1.0,
+ # fully opaque.
+ "position": 3.14, # The relative position of the color stop in the gradient band measured
+ # in percentage. The value should be in the interval [0.0, 1.0].
+ },
+ ],
+ "name": "A String", # The name of the recolor effect.
+ #
+ # The name is determined from the `recolor_stops` by matching the gradient
+ # against the colors in the page's current color scheme. This property is
+ # read-only.
+ },
+ "link": { # A hypertext link. # The hyperlink destination of the image. If unset, there is no link.
+ "url": "A String", # If set, indicates this is a link to the external web page at this URL.
+ "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
+ # in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
+ "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
+ # addressed by its position.
+ },
+ "transparency": 3.14, # The transparency effect of the image. The value should be in the interval
+ # [0.0, 1.0], where 0 means no effect and 1 means completely transparent.
+ # This property is read-only.
+ "cropProperties": { # The crop properties of an object enclosed in a container. For example, an # The crop properties of the image. If not set, the image is not cropped.
+ # This property is read-only.
+ # 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.
+ "leftOffset": 3.14, # The offset specifies the left edge of the crop rectangle that is located to
+ # the right of the original bounding rectangle left edge, relative to the
+ # object's original width.
+ "angle": 3.14, # The rotation angle of the crop window around its center, in radians.
+ # Rotation angle is applied after the offset.
+ "rightOffset": 3.14, # The offset specifies the right edge of the crop rectangle that is located
+ # to the left of the original bounding rectangle right edge, relative to the
+ # object's original width.
+ "bottomOffset": 3.14, # The offset specifies the bottom edge of the crop rectangle that is located
+ # above the original bounding rectangle bottom edge, relative to the object's
+ # original height.
+ "topOffset": 3.14, # The offset specifies the top edge of the crop rectangle that is located
+ # below the original bounding rectangle top edge, relative to the object's
+ # original height.
+ },
+ "shadow": { # The shadow properties of a page element. # The shadow of the image. If not set, the image has no shadow. This property
+ # is read-only.
+ #
+ # 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.
+ "color": { # A themeable solid color value. # The shadow color value.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ "transform": { # AffineTransform uses a 3x3 matrix with an implied last row of [ 0 0 1 ] # Transform that encodes the translate, scale, and skew of the shadow,
+ # relative to the alignment position.
+ # 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.
+ "translateX": 3.14, # The X coordinate translation element.
+ "translateY": 3.14, # The Y coordinate translation element.
+ "scaleX": 3.14, # The X coordinate scaling element.
+ "scaleY": 3.14, # The Y coordinate scaling element.
+ "shearY": 3.14, # The Y coordinate shearing element.
+ "shearX": 3.14, # The X coordinate shearing element.
+ "unit": "A String", # The units for translate elements.
+ },
+ "propertyState": "A String", # The shadow property state.
+ #
+ # Updating the the shadow on a page element will implicitly update this field
+ # to `RENDERED`, unless another value is specified in the same request. To
+ # have no shadow on a page element, set this field to `NOT_RENDERED`. In this
+ # case, any other shadow fields set in the same request will be ignored.
+ "blurRadius": { # A magnitude in a single direction in the specified units. # The radius of the shadow blur. The larger the radius, the more diffuse the
+ # shadow becomes.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "alpha": 3.14, # The alpha of the shadow's color, from 0.0 to 1.0.
+ "type": "A String", # The type of the shadow.
+ "alignment": "A String", # The alignment point of the shadow, that sets the origin for translate,
+ # scale and skew of the shadow.
+ "rotateWithShape": True or False, # Whether the shadow should rotate with the shape.
+ },
+ "contrast": 3.14, # The contrast effect of the image. The value should be in the interval
+ # [-1.0, 1.0], where 0 means no effect. This property is read-only.
+ },
+ },
+ "spreadsheetId": "A String", # The ID of the Google Sheets spreadsheet that contains the source chart.
+ },
+ "video": { # A PageElement kind representing a # A video page element.
+ # video.
+ "url": "A String", # An URL to a video. The URL is valid as long as the source video
+ # exists and sharing settings do not change.
+ "source": "A String", # The video source.
+ "id": "A String", # The video source's unique identifier for this video.
+ "videoProperties": { # The properties of the Video. # The properties of the video.
+ "outline": { # The outline of a PageElement. # The outline of the video. The default outline matches the defaults for new
+ # videos created in the Slides editor.
+ #
+ # 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. # The fill of the outline.
+ "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill.
+ # specified color value.
+ #
+ # If any field is unset, its value may be inherited from a parent placeholder
+ # if it exists.
+ "color": { # A themeable solid color value. # The color value of the solid fill.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel.
+ # That is, the final pixel color is defined by the equation:
+ #
+ # pixel color = alpha * (color) + (1.0 - alpha) * (background color)
+ #
+ # This means that a value of 1.0 corresponds to a solid color, whereas
+ # a value of 0.0 corresponds to a completely transparent color.
+ },
+ },
+ "propertyState": "A String", # The outline property state.
+ #
+ # Updating the the outline on a page element will implicitly update this
+ # field to`RENDERED`, unless another value is specified in the same request.
+ # To have no outline on a page element, set this field to `NOT_RENDERED`. In
+ # this case, any other outline fields set in the same request will be
+ # ignored.
+ "dashStyle": "A String", # The dash style of the outline.
+ "weight": { # A magnitude in a single direction in the specified units. # The thickness of the outline.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ },
+ },
+ },
+ "table": { # A PageElement kind representing a # A table page element.
+ # table.
+ "tableColumns": [ # Properties of each column.
+ { # Properties of each column in a table.
+ "columnWidth": { # A magnitude in a single direction in the specified units. # Width of a column.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ },
+ ],
+ "tableRows": [ # Properties and contents of each row.
+ #
+ # Cells that span multiple rows are contained in only one of these rows and
+ # have a row_span greater
+ # than 1.
+ { # Properties and contents of each row in a table.
+ "tableCells": [ # Properties and contents of each cell.
+ #
+ # Cells that span multiple columns are represented only once with a
+ # column_span greater
+ # than 1. As a result, the length of this collection does not always match
+ # the number of columns of the entire table.
+ { # Properties and contents of each table cell.
+ "text": { # The general text content. The text must reside in a compatible shape (e.g. # The text content of the cell.
+ # text box or rectangle) or a table cell in a page.
+ "lists": { # The bulleted lists contained in this text, keyed by list ID.
+ "a_key": { # 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.
+ "nestingLevel": { # A map of nesting levels to the properties of bullets at the associated
+ # level. A list has at most nine levels of nesting, so the possible values
+ # for the keys of this map are 0 through 8, inclusive.
+ "a_key": { # Contains properties describing the look and feel of a list bullet at a given
+ # level of nesting.
+ "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The style of a bullet at this level of nesting.
+ #
+ # 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.
+ "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ "bold": True or False, # Whether or not the text is rendered as bold.
+ "baselineOffset": "A String", # The text's vertical offset from its normal position.
+ #
+ # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
+ # rendered in a smaller font size, computed based on the `font_size` field.
+ # The `font_size` itself is not affected by changes in this field.
+ "strikethrough": True or False, # Whether or not the text is struck through.
+ "smallCaps": True or False, # Whether or not the text is in small capital letters.
+ "fontFamily": "A String", # The font family of the text.
+ #
+ # The font family can be any font from the Font menu in Slides or from
+ # [Google Fonts] (https://fonts.google.com/). If the font name is
+ # unrecognized, the text is rendered in `Arial`.
+ #
+ # Some fonts can affect the weight of the text. If an update request
+ # specifies values for both `font_family` and `bold`, the explicitly-set
+ # `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "italic": True or False, # Whether or not the text is italicized.
+ "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
+ # are not inherited from parent text.
+ #
+ # Changing the link in an update request causes some other changes to the
+ # text style of the range:
+ #
+ # * When setting a link, the text foreground color will be set to
+ # ThemeColorType.HYPERLINK and the text will
+ # be underlined. If these fields are modified in the same
+ # request, those values will be used instead of the link defaults.
+ # * Setting a link on a text range that overlaps with an existing link will
+ # also update the existing link to point to the new URL.
+ # * Links are not settable on newline characters. As a result, setting a link
+ # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
+ # will separate the newline character(s) into their own text runs. The
+ # link will be applied separately to the runs before and after the newline.
+ # * Removing a link will update the text style of the range to match the
+ # style of the preceding text (or the default text styles if the preceding
+ # text is another link) unless different styles are being set in the same
+ # request.
+ "url": "A String", # If set, indicates this is a link to the external web page at this URL.
+ "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
+ # in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
+ "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
+ # addressed by its position.
+ },
+ "underline": True or False, # Whether or not the text is underlined.
+ "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ },
+ },
+ },
+ "listId": "A String", # The ID of the list.
+ },
+ },
+ "textElements": [ # The text contents broken down into its component parts, including styling
+ # information. This property is read-only.
+ { # A TextElement describes the content of a range of indices in the text content
+ # of a Shape or TableCell.
+ "autoText": { # A TextElement kind that represents auto text. # A TextElement representing a spot in the text that is dynamically
+ # replaced with content that can change over time.
+ "content": "A String", # The rendered content of this auto text, if available.
+ "style": { # Represents the styling that can be applied to a TextRun. # The styling applied to this auto text.
+ #
+ # 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.
+ "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ "bold": True or False, # Whether or not the text is rendered as bold.
+ "baselineOffset": "A String", # The text's vertical offset from its normal position.
+ #
+ # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
+ # rendered in a smaller font size, computed based on the `font_size` field.
+ # The `font_size` itself is not affected by changes in this field.
+ "strikethrough": True or False, # Whether or not the text is struck through.
+ "smallCaps": True or False, # Whether or not the text is in small capital letters.
+ "fontFamily": "A String", # The font family of the text.
+ #
+ # The font family can be any font from the Font menu in Slides or from
+ # [Google Fonts] (https://fonts.google.com/). If the font name is
+ # unrecognized, the text is rendered in `Arial`.
+ #
+ # Some fonts can affect the weight of the text. If an update request
+ # specifies values for both `font_family` and `bold`, the explicitly-set
+ # `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "italic": True or False, # Whether or not the text is italicized.
+ "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
+ # are not inherited from parent text.
+ #
+ # Changing the link in an update request causes some other changes to the
+ # text style of the range:
+ #
+ # * When setting a link, the text foreground color will be set to
+ # ThemeColorType.HYPERLINK and the text will
+ # be underlined. If these fields are modified in the same
+ # request, those values will be used instead of the link defaults.
+ # * Setting a link on a text range that overlaps with an existing link will
+ # also update the existing link to point to the new URL.
+ # * Links are not settable on newline characters. As a result, setting a link
+ # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
+ # will separate the newline character(s) into their own text runs. The
+ # link will be applied separately to the runs before and after the newline.
+ # * Removing a link will update the text style of the range to match the
+ # style of the preceding text (or the default text styles if the preceding
+ # text is another link) unless different styles are being set in the same
+ # request.
+ "url": "A String", # If set, indicates this is a link to the external web page at this URL.
+ "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
+ # in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
+ "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
+ # addressed by its position.
+ },
+ "underline": True or False, # Whether or not the text is underlined.
+ "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ },
+ "type": "A String", # The type of this auto text.
+ },
+ "endIndex": 42, # The zero-based end index of this text element, exclusive, in Unicode code
+ # units.
+ "startIndex": 42, # The zero-based start index of this text element, in Unicode code units.
+ "paragraphMarker": { # A TextElement kind that represents the beginning of a new paragraph. # A marker representing the beginning of a new paragraph.
+ #
+ # The `start_index` and `end_index` of this TextElement represent the
+ # range of the paragraph. Other TextElements with an index range contained
+ # inside this paragraph's range are considered to be part of this
+ # paragraph. The range of indices of two separate paragraphs will never
+ # overlap.
+ "style": { # Styles that apply to a whole paragraph. # The paragraph's style
+ #
+ # 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.
+ "spacingMode": "A String", # The spacing mode for the paragraph.
+ "direction": "A String", # The text direction of this paragraph. If unset, the value defaults to
+ # LEFT_TO_RIGHT
+ # since text direction is not inherited.
+ "spaceBelow": { # A magnitude in a single direction in the specified units. # The amount of extra space above the paragraph. If unset, the value is
+ # inherited from the parent.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "lineSpacing": 3.14, # The amount of space between lines, as a percentage of normal, where normal
+ # is represented as 100.0. If unset, the value is inherited from the parent.
+ "indentStart": { # A magnitude in a single direction in the specified units. # The amount indentation for the paragraph on the side that corresponds to
+ # the start of the text, based on the current text direction. If unset, the
+ # value is inherited from the parent.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "spaceAbove": { # A magnitude in a single direction in the specified units. # The amount of extra space above the paragraph. If unset, the value is
+ # inherited from the parent.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "indentEnd": { # A magnitude in a single direction in the specified units. # The amount indentation for the paragraph on the side that corresponds to
+ # the end of the text, based on the current text direction. If unset, the
+ # value is inherited from the parent.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "indentFirstLine": { # A magnitude in a single direction in the specified units. # The amount of indentation for the start of the first line of the paragraph.
+ # If unset, the value is inherited from the parent.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "alignment": "A String", # The text alignment for this paragraph.
+ },
+ "bullet": { # Describes the bullet of a paragraph. # The bullet for this paragraph. If not present, the paragraph does not
+ # belong to a list.
+ "nestingLevel": 42, # The nesting level of this paragraph in the list.
+ "listId": "A String", # The ID of the list this paragraph belongs to.
+ "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The paragraph specific text style applied to this bullet.
+ #
+ # 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.
+ "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ "bold": True or False, # Whether or not the text is rendered as bold.
+ "baselineOffset": "A String", # The text's vertical offset from its normal position.
+ #
+ # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
+ # rendered in a smaller font size, computed based on the `font_size` field.
+ # The `font_size` itself is not affected by changes in this field.
+ "strikethrough": True or False, # Whether or not the text is struck through.
+ "smallCaps": True or False, # Whether or not the text is in small capital letters.
+ "fontFamily": "A String", # The font family of the text.
+ #
+ # The font family can be any font from the Font menu in Slides or from
+ # [Google Fonts] (https://fonts.google.com/). If the font name is
+ # unrecognized, the text is rendered in `Arial`.
+ #
+ # Some fonts can affect the weight of the text. If an update request
+ # specifies values for both `font_family` and `bold`, the explicitly-set
+ # `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "italic": True or False, # Whether or not the text is italicized.
+ "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
+ # are not inherited from parent text.
+ #
+ # Changing the link in an update request causes some other changes to the
+ # text style of the range:
+ #
+ # * When setting a link, the text foreground color will be set to
+ # ThemeColorType.HYPERLINK and the text will
+ # be underlined. If these fields are modified in the same
+ # request, those values will be used instead of the link defaults.
+ # * Setting a link on a text range that overlaps with an existing link will
+ # also update the existing link to point to the new URL.
+ # * Links are not settable on newline characters. As a result, setting a link
+ # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
+ # will separate the newline character(s) into their own text runs. The
+ # link will be applied separately to the runs before and after the newline.
+ # * Removing a link will update the text style of the range to match the
+ # style of the preceding text (or the default text styles if the preceding
+ # text is another link) unless different styles are being set in the same
+ # request.
+ "url": "A String", # If set, indicates this is a link to the external web page at this URL.
+ "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
+ # in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
+ "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
+ # addressed by its position.
+ },
+ "underline": True or False, # Whether or not the text is underlined.
+ "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ },
+ "glyph": "A String", # The rendered bullet glyph for this paragraph.
+ },
+ },
+ "textRun": { # A TextElement kind that represents a run of text that all has the same # A TextElement representing a run of text where all of the characters
+ # in the run have the same TextStyle.
+ #
+ # The `start_index` and `end_index` of TextRuns will always be fully
+ # contained in the index range of a single `paragraph_marker` TextElement.
+ # In other words, a TextRun will never span multiple paragraphs.
+ # styling.
+ "content": "A String", # The text of this run.
+ "style": { # Represents the styling that can be applied to a TextRun. # The styling applied to this run.
+ #
+ # 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.
+ "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ "bold": True or False, # Whether or not the text is rendered as bold.
+ "baselineOffset": "A String", # The text's vertical offset from its normal position.
+ #
+ # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
+ # rendered in a smaller font size, computed based on the `font_size` field.
+ # The `font_size` itself is not affected by changes in this field.
+ "strikethrough": True or False, # Whether or not the text is struck through.
+ "smallCaps": True or False, # Whether or not the text is in small capital letters.
+ "fontFamily": "A String", # The font family of the text.
+ #
+ # The font family can be any font from the Font menu in Slides or from
+ # [Google Fonts] (https://fonts.google.com/). If the font name is
+ # unrecognized, the text is rendered in `Arial`.
+ #
+ # Some fonts can affect the weight of the text. If an update request
+ # specifies values for both `font_family` and `bold`, the explicitly-set
+ # `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "italic": True or False, # Whether or not the text is italicized.
+ "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
+ # are not inherited from parent text.
+ #
+ # Changing the link in an update request causes some other changes to the
+ # text style of the range:
+ #
+ # * When setting a link, the text foreground color will be set to
+ # ThemeColorType.HYPERLINK and the text will
+ # be underlined. If these fields are modified in the same
+ # request, those values will be used instead of the link defaults.
+ # * Setting a link on a text range that overlaps with an existing link will
+ # also update the existing link to point to the new URL.
+ # * Links are not settable on newline characters. As a result, setting a link
+ # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
+ # will separate the newline character(s) into their own text runs. The
+ # link will be applied separately to the runs before and after the newline.
+ # * Removing a link will update the text style of the range to match the
+ # style of the preceding text (or the default text styles if the preceding
+ # text is another link) unless different styles are being set in the same
+ # request.
+ "url": "A String", # If set, indicates this is a link to the external web page at this URL.
+ "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
+ # in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
+ "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
+ # addressed by its position.
+ },
+ "underline": True or False, # Whether or not the text is underlined.
+ "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ },
+ },
+ },
+ ],
+ },
+ "tableCellProperties": { # The properties of the TableCell. # The properties of the table cell.
+ "tableCellBackgroundFill": { # The table cell background fill. # The background fill of the table cell. The default fill matches the fill
+ # for newly created table cells in the Slides editor.
+ "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill.
+ # specified color value.
+ #
+ # If any field is unset, its value may be inherited from a parent placeholder
+ # if it exists.
+ "color": { # A themeable solid color value. # The color value of the solid fill.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel.
+ # That is, the final pixel color is defined by the equation:
+ #
+ # pixel color = alpha * (color) + (1.0 - alpha) * (background color)
+ #
+ # This means that a value of 1.0 corresponds to a solid color, whereas
+ # a value of 0.0 corresponds to a completely transparent color.
+ },
+ "propertyState": "A String", # The background fill property state.
+ #
+ # Updating the the fill on a table cell will implicitly update this field
+ # to `RENDERED`, unless another value is specified in the same request. To
+ # have no fill on a table cell, set this field to `NOT_RENDERED`. In this
+ # case, any other fill fields set in the same request will be ignored.
+ },
+ },
+ "rowSpan": 42, # Row span of the cell.
+ "columnSpan": 42, # Column span of the cell.
+ "location": { # A location of a single table cell within a table. # The location of the cell within the table.
+ "rowIndex": 42, # The 0-based row index.
+ "columnIndex": 42, # The 0-based column index.
+ },
+ },
+ ],
+ "rowHeight": { # A magnitude in a single direction in the specified units. # Height of a row.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ },
+ ],
+ "rows": 42, # Number of rows in the table.
+ "columns": 42, # Number of columns in the table.
+ },
+ "line": { # A PageElement kind representing a # A line page element.
+ # line, curved connector, or bent connector.
+ "lineProperties": { # The properties of the Line. # The properties of the line.
+ #
+ # When unset, these fields default to values that match the appearance of
+ # new lines created in the Slides editor.
+ "dashStyle": "A String", # The dash style of the line.
+ "weight": { # A magnitude in a single direction in the specified units. # The thickness of the line.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "endArrow": "A String", # The style of the arrow at the end of the line.
+ "link": { # A hypertext link. # The hyperlink destination of the line. If unset, there is no link.
+ "url": "A String", # If set, indicates this is a link to the external web page at this URL.
+ "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
+ # in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
+ "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
+ # addressed by its position.
+ },
+ "startArrow": "A String", # The style of the arrow at the beginning of the line.
+ "lineFill": { # The fill of the line. # The fill of the line. The default line fill matches the defaults for new
+ # lines created in the Slides editor.
+ "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill.
+ # specified color value.
+ #
+ # If any field is unset, its value may be inherited from a parent placeholder
+ # if it exists.
+ "color": { # A themeable solid color value. # The color value of the solid fill.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel.
+ # That is, the final pixel color is defined by the equation:
+ #
+ # pixel color = alpha * (color) + (1.0 - alpha) * (background color)
+ #
+ # This means that a value of 1.0 corresponds to a solid color, whereas
+ # a value of 0.0 corresponds to a completely transparent color.
+ },
+ },
+ },
+ "lineType": "A String", # The type of the line.
+ },
+ "size": { # A width and height. # The size of the page element.
+ "width": { # A magnitude in a single direction in the specified units. # The width of the object.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "height": { # A magnitude in a single direction in the specified units. # The height of the object.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ },
+ "elementGroup": { # A PageElement kind representing a # A collection of page elements joined as a single unit.
+ # joined collection of PageElements.
+ "children": [ # The collection of elements in the group. The minimum size of a group is 2.
+ # Object with schema name: PageElement
+ ],
+ },
+ },
+ ],
+ "notesProperties": { # The properties of Page that are only # Notes specific properties. Only set if page_type = NOTES.
+ # relevant for pages with page_type NOTES.
+ "speakerNotesObjectId": "A String", # The object ID of the shape on this notes page that contains the speaker
+ # notes for the corresponding slide.
+ # The actual shape may not always exist on the notes page. Inserting text
+ # using this object ID will automatically create the shape. In this case, the
+ # actual shape may have different object ID. The `GetPresentation` or
+ # `GetPage` action will always return the latest object ID.
+ },
+ "objectId": "A String", # The object ID for this page. Object IDs used by
+ # Page and
+ # PageElement share the same namespace.
+ "revisionId": "A String", # The revision ID of the presentation containing this page. Can be used in
+ # update requests to assert that the presentation revision hasn't changed
+ # since the last read operation. Only populated if the user has edit access
+ # to the presentation.
+ #
+ # The format of the revision ID may change over time, so it should be treated
+ # opaquely. A returned revision ID is only guaranteed to be valid for 24
+ # hours after it has been returned and cannot be shared across
+ # users. Callers can assume that if two revision IDs are equal then the
+ # presentation has not changed.
+ "pageProperties": { # The properties of the Page. # 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.
+ "pageBackgroundFill": { # The page background fill. # The background fill of the page. If unset, the background fill is inherited
+ # from a parent page if it exists. If the page has no parent, then the
+ # background fill defaults to the corresponding fill in the Slides editor.
+ "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill.
+ # specified color value.
+ #
+ # If any field is unset, its value may be inherited from a parent placeholder
+ # if it exists.
+ "color": { # A themeable solid color value. # The color value of the solid fill.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel.
+ # That is, the final pixel color is defined by the equation:
+ #
+ # pixel color = alpha * (color) + (1.0 - alpha) * (background color)
+ #
+ # This means that a value of 1.0 corresponds to a solid color, whereas
+ # a value of 0.0 corresponds to a completely transparent color.
+ },
+ "propertyState": "A String", # The background fill property state.
+ #
+ # Updating the the fill on a page will implicitly update this field to
+ # `RENDERED`, unless another value is specified in the same request. To
+ # have no fill on a page, set this field to `NOT_RENDERED`. In this case,
+ # any other fill fields set in the same request will be ignored.
+ "stretchedPictureFill": { # The stretched picture fill. The page or page element is filled entirely with # Stretched picture fill.
+ # the specified picture. The picture is stretched to fit its container.
+ "contentUrl": "A String", # Reading the content_url:
+ #
+ # An URL to a picture with a default lifetime of 30 minutes.
+ # This URL is tagged with the account of the requester. Anyone with the URL
+ # effectively accesses the picture as the original requester. Access to the
+ # picture may be lost if the presentation's sharing settings change.
+ #
+ # Writing the content_url:
+ #
+ # The picture is fetched once at insertion time and a copy is stored for
+ # display inside the presentation. Pictures must be less than 50MB in size,
+ # cannot exceed 25 megapixels, and must be in either in PNG, JPEG, or GIF
+ # format.
+ "size": { # A width and height. # The original size of the picture fill. This field is read-only.
+ "width": { # A magnitude in a single direction in the specified units. # The width of the object.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "height": { # A magnitude in a single direction in the specified units. # The height of the object.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ },
+ },
+ },
+ "colorScheme": { # The palette of predefined colors for a page. # The color scheme of the page. If unset, the color scheme is inherited from
+ # a parent page. If the page has no parent, the color scheme uses a default
+ # Slides color scheme. This field is read-only.
+ "colors": [ # The ThemeColorType and corresponding concrete color pairs.
+ { # A pair mapping a theme color type to the concrete color it represents.
+ "color": { # An RGB color. # The concrete color corresponding to the theme color type above.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ "type": "A String", # The type of the theme color.
+ },
+ ],
+ },
+ },
+ "pageType": "A String", # The type of the page.
+ "slideProperties": { # The properties of Page that are only # Slide specific properties. Only set if page_type = SLIDE.
+ # relevant for pages with page_type SLIDE.
+ "notesPage": # Object with schema name: Page # The notes page that this slide is associated with. It defines the visual
+ # appearance of a notes page when printing or exporting slides with speaker
+ # notes. A notes page inherits properties from the
+ # notes master.
+ # The placeholder shape with type BODY on the notes page contains the speaker
+ # notes for this slide. The ID of this shape is identified by the
+ # speakerNotesObjectId field.
+ # The notes page is read-only except for the text content and styles of the
+ # speaker notes shape.
+ "masterObjectId": "A String", # The object ID of the master that this slide is based on.
+ "layoutObjectId": "A String", # The object ID of the layout that this slide is based on.
+ },
+ },
+ "pageSize": { # A width and height. # The size of pages in the presentation.
+ "width": { # A magnitude in a single direction in the specified units. # The width of the object.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "height": { # A magnitude in a single direction in the specified units. # The height of the object.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ },
+ "title": "A String", # The title of the presentation.
+ "locale": "A String", # The locale of the presentation, as an IETF BCP 47 language tag.
+ "revisionId": "A String", # The revision ID of the presentation. Can be used in update requests
+ # to assert that the presentation revision hasn't changed since the last
+ # read operation. Only populated if the user has edit access to the
+ # presentation.
+ #
+ # The format of the revision ID may change over time, so it should be treated
+ # opaquely. A returned revision ID is only guaranteed to be valid for 24
+ # hours after it has been returned and cannot be shared across users. Callers
+ # can assume that if two revision IDs are equal then the presentation has not
+ # changed.
"masters": [ # The slide masters in the presentation. A slide master contains all common
# page elements and the common properties for a set of layouts. They serve
# three purposes:
@@ -7068,14 +11126,6 @@
# 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.
- "dashStyle": "A String", # The dash style of the outline.
- "propertyState": "A String", # The outline property state.
- #
- # Updating the the outline on a page element will implicitly update this
- # field to`RENDERED`, unless another value is specified in the same request.
- # To have no outline on a page element, set this field to `NOT_RENDERED`. In
- # this case, any other outline fields set in the same request will be
- # ignored.
"outlineFill": { # The fill of the outline. # The fill of the outline.
"solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill.
# specified color value.
@@ -7099,6 +11149,14 @@
# a value of 0.0 corresponds to a completely transparent color.
},
},
+ "propertyState": "A String", # The outline property state.
+ #
+ # Updating the the outline on a page element will implicitly update this
+ # field to`RENDERED`, unless another value is specified in the same request.
+ # To have no outline on a page element, set this field to `NOT_RENDERED`. In
+ # this case, any other outline fields set in the same request will be
+ # ignored.
+ "dashStyle": "A String", # The dash style of the outline.
"weight": { # A magnitude in a single direction in the specified units. # The thickness of the outline.
"magnitude": 3.14, # The magnitude.
"unit": "A String", # The units for magnitude.
@@ -7109,7 +11167,11 @@
"recolor": { # A recolor effect applied on an image. # The recolor effect of the image. If not set, the image is not recolored.
# This property is read-only.
"recolorStops": [ # The recolor effect is represented by a gradient, which is a list of color
- # stops. This property is read-only.
+ # stops.
+ #
+ # The colors in the gradient will replace the corresponding colors at
+ # the same position in the color palette and apply to the image. This
+ # property is read-only.
{ # A color and position in a gradient band.
"color": { # A themeable solid color value. # The color of the gradient stop.
"themeColor": "A String", # An opaque theme color.
@@ -7119,19 +11181,24 @@
"red": 3.14, # The red component of the color, from 0.0 to 1.0.
},
},
- "position": 3.14, # The relative position of the color stop in the gradient band measured
- # in percentage. The value should be in the interval [0.0, 1.0].
"alpha": 3.14, # The alpha value of this color in the gradient band. Defaults to 1.0,
# fully opaque.
+ "position": 3.14, # The relative position of the color stop in the gradient band measured
+ # in percentage. The value should be in the interval [0.0, 1.0].
},
],
+ "name": "A String", # The name of the recolor effect.
+ #
+ # The name is determined from the `recolor_stops` by matching the gradient
+ # against the colors in the page's current color scheme. This property is
+ # read-only.
},
"link": { # A hypertext link. # The hyperlink destination of the image. If unset, there is no link.
"url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
"slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
# in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
"relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
# addressed by its position.
},
@@ -7164,12 +11231,12 @@
# object's original width.
"angle": 3.14, # The rotation angle of the crop window around its center, in radians.
# Rotation angle is applied after the offset.
- "bottomOffset": 3.14, # The offset specifies the bottom edge of the crop rectangle that is located
- # above the original bounding rectangle bottom edge, relative to the object's
- # original height.
"rightOffset": 3.14, # The offset specifies the right edge of the crop rectangle that is located
# to the left of the original bounding rectangle right edge, relative to the
# object's original width.
+ "bottomOffset": 3.14, # The offset specifies the bottom edge of the crop rectangle that is located
+ # above the original bounding rectangle bottom edge, relative to the object's
+ # original height.
"topOffset": 3.14, # The offset specifies the top edge of the crop rectangle that is located
# below the original bounding rectangle top edge, relative to the object's
# original height.
@@ -7257,6 +11324,114 @@
# generic shape that does not have a more specific classification.
"text": { # The general text content. The text must reside in a compatible shape (e.g. # The text content of the shape.
# text box or rectangle) or a table cell in a page.
+ "lists": { # The bulleted lists contained in this text, keyed by list ID.
+ "a_key": { # 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.
+ "nestingLevel": { # A map of nesting levels to the properties of bullets at the associated
+ # level. A list has at most nine levels of nesting, so the possible values
+ # for the keys of this map are 0 through 8, inclusive.
+ "a_key": { # Contains properties describing the look and feel of a list bullet at a given
+ # level of nesting.
+ "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The style of a bullet at this level of nesting.
+ #
+ # 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.
+ "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ "bold": True or False, # Whether or not the text is rendered as bold.
+ "baselineOffset": "A String", # The text's vertical offset from its normal position.
+ #
+ # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
+ # rendered in a smaller font size, computed based on the `font_size` field.
+ # The `font_size` itself is not affected by changes in this field.
+ "strikethrough": True or False, # Whether or not the text is struck through.
+ "smallCaps": True or False, # Whether or not the text is in small capital letters.
+ "fontFamily": "A String", # The font family of the text.
+ #
+ # The font family can be any font from the Font menu in Slides or from
+ # [Google Fonts] (https://fonts.google.com/). If the font name is
+ # unrecognized, the text is rendered in `Arial`.
+ #
+ # Some fonts can affect the weight of the text. If an update request
+ # specifies values for both `font_family` and `bold`, the explicitly-set
+ # `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "italic": True or False, # Whether or not the text is italicized.
+ "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
+ # are not inherited from parent text.
+ #
+ # Changing the link in an update request causes some other changes to the
+ # text style of the range:
+ #
+ # * When setting a link, the text foreground color will be set to
+ # ThemeColorType.HYPERLINK and the text will
+ # be underlined. If these fields are modified in the same
+ # request, those values will be used instead of the link defaults.
+ # * Setting a link on a text range that overlaps with an existing link will
+ # also update the existing link to point to the new URL.
+ # * Links are not settable on newline characters. As a result, setting a link
+ # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
+ # will separate the newline character(s) into their own text runs. The
+ # link will be applied separately to the runs before and after the newline.
+ # * Removing a link will update the text style of the range to match the
+ # style of the preceding text (or the default text styles if the preceding
+ # text is another link) unless different styles are being set in the same
+ # request.
+ "url": "A String", # If set, indicates this is a link to the external web page at this URL.
+ "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
+ # in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
+ "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
+ # addressed by its position.
+ },
+ "underline": True or False, # Whether or not the text is underlined.
+ "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ },
+ },
+ },
+ "listId": "A String", # The ID of the list.
+ },
+ },
"textElements": [ # The text contents broken down into its component parts, including styling
# information. This property is read-only.
{ # A TextElement describes the content of a range of indices in the text content
@@ -7293,7 +11468,7 @@
},
},
},
- "bold": True or False, # Whether or not the text is bold.
+ "bold": True or False, # Whether or not the text is rendered as bold.
"baselineOffset": "A String", # The text's vertical offset from its normal position.
#
# Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
@@ -7310,6 +11485,12 @@
# Some fonts can affect the weight of the text. If an update request
# specifies values for both `font_family` and `bold`, the explicitly-set
# `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "italic": True or False, # Whether or not the text is italicized.
"link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
# are not inherited from parent text.
#
@@ -7331,19 +11512,13 @@
# text is another link) unless different styles are being set in the same
# request.
"url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
"slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
# in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
"relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
# addressed by its position.
},
- "italic": True or False, # Whether or not the text is italicized.
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
"underline": True or False, # Whether or not the text is underlined.
"backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
# transparent, depending on if the `opaque_color` field in it is set.
@@ -7383,40 +11558,40 @@
# placeholder.
#
# Inherited paragraph styles are represented as unset fields in this message.
- "spacingMode": "A String", # The spacing mode for the paragraph. This property is read-only.
- "direction": "A String", # The text direction of this paragraph. This property is read-only.
+ "spacingMode": "A String", # The spacing mode for the paragraph.
+ "direction": "A String", # The text direction of this paragraph. If unset, the value defaults to
+ # LEFT_TO_RIGHT
+ # since text direction is not inherited.
"spaceBelow": { # A magnitude in a single direction in the specified units. # The amount of extra space above the paragraph. If unset, the value is
- # inherited from the parent. This property is read-only.
+ # inherited from the parent.
"magnitude": 3.14, # The magnitude.
"unit": "A String", # The units for magnitude.
},
"lineSpacing": 3.14, # The amount of space between lines, as a percentage of normal, where normal
# is represented as 100.0. If unset, the value is inherited from the parent.
- # This property is read-only.
"indentStart": { # A magnitude in a single direction in the specified units. # The amount indentation for the paragraph on the side that corresponds to
# the start of the text, based on the current text direction. If unset, the
- # value is inherited from the parent. This property is read-only.
+ # value is inherited from the parent.
"magnitude": 3.14, # The magnitude.
"unit": "A String", # The units for magnitude.
},
"spaceAbove": { # A magnitude in a single direction in the specified units. # The amount of extra space above the paragraph. If unset, the value is
- # inherited from the parent. This property is read-only.
+ # inherited from the parent.
"magnitude": 3.14, # The magnitude.
"unit": "A String", # The units for magnitude.
},
"indentEnd": { # A magnitude in a single direction in the specified units. # The amount indentation for the paragraph on the side that corresponds to
# the end of the text, based on the current text direction. If unset, the
- # value is inherited from the parent. This property is read-only.
+ # value is inherited from the parent.
"magnitude": 3.14, # The magnitude.
"unit": "A String", # The units for magnitude.
},
"indentFirstLine": { # A magnitude in a single direction in the specified units. # The amount of indentation for the start of the first line of the paragraph.
- # If unset, the value is inherited from the parent. This property is
- # read-only.
+ # If unset, the value is inherited from the parent.
"magnitude": 3.14, # The magnitude.
"unit": "A String", # The units for magnitude.
},
- "alignment": "A String", # The text alignment for this paragraph. This property is read-only.
+ "alignment": "A String", # The text alignment for this paragraph.
},
"bullet": { # Describes the bullet of a paragraph. # The bullet for this paragraph. If not present, the paragraph does not
# belong to a list.
@@ -7451,7 +11626,7 @@
},
},
},
- "bold": True or False, # Whether or not the text is bold.
+ "bold": True or False, # Whether or not the text is rendered as bold.
"baselineOffset": "A String", # The text's vertical offset from its normal position.
#
# Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
@@ -7468,6 +11643,12 @@
# Some fonts can affect the weight of the text. If an update request
# specifies values for both `font_family` and `bold`, the explicitly-set
# `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "italic": True or False, # Whether or not the text is italicized.
"link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
# are not inherited from parent text.
#
@@ -7489,19 +11670,13 @@
# text is another link) unless different styles are being set in the same
# request.
"url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
"slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
# in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
"relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
# addressed by its position.
},
- "italic": True or False, # Whether or not the text is italicized.
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
"underline": True or False, # Whether or not the text is underlined.
"backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
# transparent, depending on if the `opaque_color` field in it is set.
@@ -7556,7 +11731,7 @@
},
},
},
- "bold": True or False, # Whether or not the text is bold.
+ "bold": True or False, # Whether or not the text is rendered as bold.
"baselineOffset": "A String", # The text's vertical offset from its normal position.
#
# Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
@@ -7573,6 +11748,12 @@
# Some fonts can affect the weight of the text. If an update request
# specifies values for both `font_family` and `bold`, the explicitly-set
# `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "italic": True or False, # Whether or not the text is italicized.
"link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
# are not inherited from parent text.
#
@@ -7594,19 +11775,13 @@
# text is another link) unless different styles are being set in the same
# request.
"url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
"slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
# in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
"relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
# addressed by its position.
},
- "italic": True or False, # Whether or not the text is italicized.
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
"underline": True or False, # Whether or not the text is underlined.
"backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
# transparent, depending on if the `opaque_color` field in it is set.
@@ -7624,114 +11799,6 @@
},
},
],
- "lists": { # The bulleted lists contained in this text, keyed by list ID.
- "a_key": { # 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.
- "nestingLevel": { # A map of nesting levels to the properties of bullets at the associated
- # level. A list has at most nine levels of nesting, so the possible values
- # for the keys of this map are 0 through 8, inclusive.
- "a_key": { # Contains properties describing the look and feel of a list bullet at a given
- # level of nesting.
- "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The style of a bullet at this level of nesting.
- #
- # 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.
- "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- "bold": True or False, # Whether or not the text is bold.
- "baselineOffset": "A String", # The text's vertical offset from its normal position.
- #
- # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
- # rendered in a smaller font size, computed based on the `font_size` field.
- # The `font_size` itself is not affected by changes in this field.
- "strikethrough": True or False, # Whether or not the text is struck through.
- "smallCaps": True or False, # Whether or not the text is in small capital letters.
- "fontFamily": "A String", # The font family of the text.
- #
- # The font family can be any font from the Font menu in Slides or from
- # [Google Fonts] (https://fonts.google.com/). If the font name is
- # unrecognized, the text is rendered in `Arial`.
- #
- # Some fonts can affect the weight of the text. If an update request
- # specifies values for both `font_family` and `bold`, the explicitly-set
- # `bold` value is used.
- "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
- # are not inherited from parent text.
- #
- # Changing the link in an update request causes some other changes to the
- # text style of the range:
- #
- # * When setting a link, the text foreground color will be set to
- # ThemeColorType.HYPERLINK and the text will
- # be underlined. If these fields are modified in the same
- # request, those values will be used instead of the link defaults.
- # * Setting a link on a text range that overlaps with an existing link will
- # also update the existing link to point to the new URL.
- # * Links are not settable on newline characters. As a result, setting a link
- # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
- # will separate the newline character(s) into their own text runs. The
- # link will be applied separately to the runs before and after the newline.
- # * Removing a link will update the text style of the range to match the
- # style of the preceding text (or the default text styles if the preceding
- # text is another link) unless different styles are being set in the same
- # request.
- "url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
- "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
- # in the presentation. There may not be a slide at this index.
- "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
- # addressed by its position.
- },
- "italic": True or False, # Whether or not the text is italicized.
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
- "underline": True or False, # Whether or not the text is underlined.
- "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- },
- },
- },
- "listId": "A String", # The ID of the list.
- },
- },
},
"shapeProperties": { # The properties of a Shape. # The properties of the shape.
#
@@ -7831,10 +11898,10 @@
"link": { # A hypertext link. # The hyperlink destination of the shape. If unset, there is no link. Links
# are not inherited from parent placeholders.
"url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
"slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
# in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
"relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
# addressed by its position.
},
@@ -7847,14 +11914,6 @@
# 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.
- "dashStyle": "A String", # The dash style of the outline.
- "propertyState": "A String", # The outline property state.
- #
- # Updating the the outline on a page element will implicitly update this
- # field to`RENDERED`, unless another value is specified in the same request.
- # To have no outline on a page element, set this field to `NOT_RENDERED`. In
- # this case, any other outline fields set in the same request will be
- # ignored.
"outlineFill": { # The fill of the outline. # The fill of the outline.
"solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill.
# specified color value.
@@ -7878,6 +11937,14 @@
# a value of 0.0 corresponds to a completely transparent color.
},
},
+ "propertyState": "A String", # The outline property state.
+ #
+ # Updating the the outline on a page element will implicitly update this
+ # field to`RENDERED`, unless another value is specified in the same request.
+ # To have no outline on a page element, set this field to `NOT_RENDERED`. In
+ # this case, any other outline fields set in the same request will be
+ # ignored.
+ "dashStyle": "A String", # The dash style of the outline.
"weight": { # A magnitude in a single direction in the specified units. # The thickness of the outline.
"magnitude": 3.14, # The magnitude.
"unit": "A String", # The units for magnitude.
@@ -7904,7 +11971,10 @@
# a linked chart embedded from Google Sheets.
"chartId": 42, # The ID of the specific chart in the Google Sheets spreadsheet that is
# embedded.
- "spreadsheetId": "A String", # The ID of the Google Sheets spreadsheet that contains the source chart.
+ "contentUrl": "A String", # The URL of an image of the embedded chart, with a default lifetime of 30
+ # minutes. This URL is tagged with the account of the requester. Anyone with
+ # the URL effectively accesses the image as the original requester. Access to
+ # the image may be lost if the presentation's sharing settings change.
"sheetsChartProperties": { # The properties of the SheetsChart. # The properties of the Sheets chart.
"chartImageProperties": { # The properties of the Image. # The properties of the embedded chart image.
"outline": { # The outline of a PageElement. # The outline of the image. If not set, the the image has no outline.
@@ -7913,14 +11983,6 @@
# 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.
- "dashStyle": "A String", # The dash style of the outline.
- "propertyState": "A String", # The outline property state.
- #
- # Updating the the outline on a page element will implicitly update this
- # field to`RENDERED`, unless another value is specified in the same request.
- # To have no outline on a page element, set this field to `NOT_RENDERED`. In
- # this case, any other outline fields set in the same request will be
- # ignored.
"outlineFill": { # The fill of the outline. # The fill of the outline.
"solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill.
# specified color value.
@@ -7944,6 +12006,14 @@
# a value of 0.0 corresponds to a completely transparent color.
},
},
+ "propertyState": "A String", # The outline property state.
+ #
+ # Updating the the outline on a page element will implicitly update this
+ # field to`RENDERED`, unless another value is specified in the same request.
+ # To have no outline on a page element, set this field to `NOT_RENDERED`. In
+ # this case, any other outline fields set in the same request will be
+ # ignored.
+ "dashStyle": "A String", # The dash style of the outline.
"weight": { # A magnitude in a single direction in the specified units. # The thickness of the outline.
"magnitude": 3.14, # The magnitude.
"unit": "A String", # The units for magnitude.
@@ -7954,7 +12024,11 @@
"recolor": { # A recolor effect applied on an image. # The recolor effect of the image. If not set, the image is not recolored.
# This property is read-only.
"recolorStops": [ # The recolor effect is represented by a gradient, which is a list of color
- # stops. This property is read-only.
+ # stops.
+ #
+ # The colors in the gradient will replace the corresponding colors at
+ # the same position in the color palette and apply to the image. This
+ # property is read-only.
{ # A color and position in a gradient band.
"color": { # A themeable solid color value. # The color of the gradient stop.
"themeColor": "A String", # An opaque theme color.
@@ -7964,19 +12038,24 @@
"red": 3.14, # The red component of the color, from 0.0 to 1.0.
},
},
- "position": 3.14, # The relative position of the color stop in the gradient band measured
- # in percentage. The value should be in the interval [0.0, 1.0].
"alpha": 3.14, # The alpha value of this color in the gradient band. Defaults to 1.0,
# fully opaque.
+ "position": 3.14, # The relative position of the color stop in the gradient band measured
+ # in percentage. The value should be in the interval [0.0, 1.0].
},
],
+ "name": "A String", # The name of the recolor effect.
+ #
+ # The name is determined from the `recolor_stops` by matching the gradient
+ # against the colors in the page's current color scheme. This property is
+ # read-only.
},
"link": { # A hypertext link. # The hyperlink destination of the image. If unset, there is no link.
"url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
"slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
# in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
"relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
# addressed by its position.
},
@@ -8009,12 +12088,12 @@
# object's original width.
"angle": 3.14, # The rotation angle of the crop window around its center, in radians.
# Rotation angle is applied after the offset.
- "bottomOffset": 3.14, # The offset specifies the bottom edge of the crop rectangle that is located
- # above the original bounding rectangle bottom edge, relative to the object's
- # original height.
"rightOffset": 3.14, # The offset specifies the right edge of the crop rectangle that is located
# to the left of the original bounding rectangle right edge, relative to the
# object's original width.
+ "bottomOffset": 3.14, # The offset specifies the bottom edge of the crop rectangle that is located
+ # above the original bounding rectangle bottom edge, relative to the object's
+ # original height.
"topOffset": 3.14, # The offset specifies the top edge of the crop rectangle that is located
# below the original bounding rectangle top edge, relative to the object's
# original height.
@@ -8077,15 +12156,14 @@
# [-1.0, 1.0], where 0 means no effect. This property is read-only.
},
},
- "contentUrl": "A String", # The URL of an image of the embedded chart, with a default lifetime of 30
- # minutes. This URL is tagged with the account of the requester. Anyone with
- # the URL effectively accesses the image as the original requester. Access to
- # the image may be lost if the presentation's sharing settings change.
+ "spreadsheetId": "A String", # The ID of the Google Sheets spreadsheet that contains the source chart.
},
"video": { # A PageElement kind representing a # A video page element.
# video.
"url": "A String", # An URL to a video. The URL is valid as long as the source video
# exists and sharing settings do not change.
+ "source": "A String", # The video source.
+ "id": "A String", # The video source's unique identifier for this video.
"videoProperties": { # The properties of the Video. # The properties of the video.
"outline": { # The outline of a PageElement. # The outline of the video. The default outline matches the defaults for new
# videos created in the Slides editor.
@@ -8094,14 +12172,6 @@
# 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.
- "dashStyle": "A String", # The dash style of the outline.
- "propertyState": "A String", # The outline property state.
- #
- # Updating the the outline on a page element will implicitly update this
- # field to`RENDERED`, unless another value is specified in the same request.
- # To have no outline on a page element, set this field to `NOT_RENDERED`. In
- # this case, any other outline fields set in the same request will be
- # ignored.
"outlineFill": { # The fill of the outline. # The fill of the outline.
"solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill.
# specified color value.
@@ -8125,14 +12195,20 @@
# a value of 0.0 corresponds to a completely transparent color.
},
},
+ "propertyState": "A String", # The outline property state.
+ #
+ # Updating the the outline on a page element will implicitly update this
+ # field to`RENDERED`, unless another value is specified in the same request.
+ # To have no outline on a page element, set this field to `NOT_RENDERED`. In
+ # this case, any other outline fields set in the same request will be
+ # ignored.
+ "dashStyle": "A String", # The dash style of the outline.
"weight": { # A magnitude in a single direction in the specified units. # The thickness of the outline.
"magnitude": 3.14, # The magnitude.
"unit": "A String", # The units for magnitude.
},
},
},
- "id": "A String", # The video source's unique identifier for this video.
- "source": "A String", # The video source.
},
"table": { # A PageElement kind representing a # A table page element.
# table.
@@ -8159,6 +12235,114 @@
{ # Properties and contents of each table cell.
"text": { # The general text content. The text must reside in a compatible shape (e.g. # The text content of the cell.
# text box or rectangle) or a table cell in a page.
+ "lists": { # The bulleted lists contained in this text, keyed by list ID.
+ "a_key": { # 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.
+ "nestingLevel": { # A map of nesting levels to the properties of bullets at the associated
+ # level. A list has at most nine levels of nesting, so the possible values
+ # for the keys of this map are 0 through 8, inclusive.
+ "a_key": { # Contains properties describing the look and feel of a list bullet at a given
+ # level of nesting.
+ "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The style of a bullet at this level of nesting.
+ #
+ # 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.
+ "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ "bold": True or False, # Whether or not the text is rendered as bold.
+ "baselineOffset": "A String", # The text's vertical offset from its normal position.
+ #
+ # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
+ # rendered in a smaller font size, computed based on the `font_size` field.
+ # The `font_size` itself is not affected by changes in this field.
+ "strikethrough": True or False, # Whether or not the text is struck through.
+ "smallCaps": True or False, # Whether or not the text is in small capital letters.
+ "fontFamily": "A String", # The font family of the text.
+ #
+ # The font family can be any font from the Font menu in Slides or from
+ # [Google Fonts] (https://fonts.google.com/). If the font name is
+ # unrecognized, the text is rendered in `Arial`.
+ #
+ # Some fonts can affect the weight of the text. If an update request
+ # specifies values for both `font_family` and `bold`, the explicitly-set
+ # `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "italic": True or False, # Whether or not the text is italicized.
+ "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
+ # are not inherited from parent text.
+ #
+ # Changing the link in an update request causes some other changes to the
+ # text style of the range:
+ #
+ # * When setting a link, the text foreground color will be set to
+ # ThemeColorType.HYPERLINK and the text will
+ # be underlined. If these fields are modified in the same
+ # request, those values will be used instead of the link defaults.
+ # * Setting a link on a text range that overlaps with an existing link will
+ # also update the existing link to point to the new URL.
+ # * Links are not settable on newline characters. As a result, setting a link
+ # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
+ # will separate the newline character(s) into their own text runs. The
+ # link will be applied separately to the runs before and after the newline.
+ # * Removing a link will update the text style of the range to match the
+ # style of the preceding text (or the default text styles if the preceding
+ # text is another link) unless different styles are being set in the same
+ # request.
+ "url": "A String", # If set, indicates this is a link to the external web page at this URL.
+ "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
+ # in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
+ "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
+ # addressed by its position.
+ },
+ "underline": True or False, # Whether or not the text is underlined.
+ "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ },
+ },
+ },
+ "listId": "A String", # The ID of the list.
+ },
+ },
"textElements": [ # The text contents broken down into its component parts, including styling
# information. This property is read-only.
{ # A TextElement describes the content of a range of indices in the text content
@@ -8195,7 +12379,7 @@
},
},
},
- "bold": True or False, # Whether or not the text is bold.
+ "bold": True or False, # Whether or not the text is rendered as bold.
"baselineOffset": "A String", # The text's vertical offset from its normal position.
#
# Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
@@ -8212,6 +12396,12 @@
# Some fonts can affect the weight of the text. If an update request
# specifies values for both `font_family` and `bold`, the explicitly-set
# `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "italic": True or False, # Whether or not the text is italicized.
"link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
# are not inherited from parent text.
#
@@ -8233,19 +12423,13 @@
# text is another link) unless different styles are being set in the same
# request.
"url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
"slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
# in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
"relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
# addressed by its position.
},
- "italic": True or False, # Whether or not the text is italicized.
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
"underline": True or False, # Whether or not the text is underlined.
"backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
# transparent, depending on if the `opaque_color` field in it is set.
@@ -8285,40 +12469,40 @@
# placeholder.
#
# Inherited paragraph styles are represented as unset fields in this message.
- "spacingMode": "A String", # The spacing mode for the paragraph. This property is read-only.
- "direction": "A String", # The text direction of this paragraph. This property is read-only.
+ "spacingMode": "A String", # The spacing mode for the paragraph.
+ "direction": "A String", # The text direction of this paragraph. If unset, the value defaults to
+ # LEFT_TO_RIGHT
+ # since text direction is not inherited.
"spaceBelow": { # A magnitude in a single direction in the specified units. # The amount of extra space above the paragraph. If unset, the value is
- # inherited from the parent. This property is read-only.
+ # inherited from the parent.
"magnitude": 3.14, # The magnitude.
"unit": "A String", # The units for magnitude.
},
"lineSpacing": 3.14, # The amount of space between lines, as a percentage of normal, where normal
# is represented as 100.0. If unset, the value is inherited from the parent.
- # This property is read-only.
"indentStart": { # A magnitude in a single direction in the specified units. # The amount indentation for the paragraph on the side that corresponds to
# the start of the text, based on the current text direction. If unset, the
- # value is inherited from the parent. This property is read-only.
+ # value is inherited from the parent.
"magnitude": 3.14, # The magnitude.
"unit": "A String", # The units for magnitude.
},
"spaceAbove": { # A magnitude in a single direction in the specified units. # The amount of extra space above the paragraph. If unset, the value is
- # inherited from the parent. This property is read-only.
+ # inherited from the parent.
"magnitude": 3.14, # The magnitude.
"unit": "A String", # The units for magnitude.
},
"indentEnd": { # A magnitude in a single direction in the specified units. # The amount indentation for the paragraph on the side that corresponds to
# the end of the text, based on the current text direction. If unset, the
- # value is inherited from the parent. This property is read-only.
+ # value is inherited from the parent.
"magnitude": 3.14, # The magnitude.
"unit": "A String", # The units for magnitude.
},
"indentFirstLine": { # A magnitude in a single direction in the specified units. # The amount of indentation for the start of the first line of the paragraph.
- # If unset, the value is inherited from the parent. This property is
- # read-only.
+ # If unset, the value is inherited from the parent.
"magnitude": 3.14, # The magnitude.
"unit": "A String", # The units for magnitude.
},
- "alignment": "A String", # The text alignment for this paragraph. This property is read-only.
+ "alignment": "A String", # The text alignment for this paragraph.
},
"bullet": { # Describes the bullet of a paragraph. # The bullet for this paragraph. If not present, the paragraph does not
# belong to a list.
@@ -8353,7 +12537,7 @@
},
},
},
- "bold": True or False, # Whether or not the text is bold.
+ "bold": True or False, # Whether or not the text is rendered as bold.
"baselineOffset": "A String", # The text's vertical offset from its normal position.
#
# Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
@@ -8370,6 +12554,12 @@
# Some fonts can affect the weight of the text. If an update request
# specifies values for both `font_family` and `bold`, the explicitly-set
# `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "italic": True or False, # Whether or not the text is italicized.
"link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
# are not inherited from parent text.
#
@@ -8391,19 +12581,13 @@
# text is another link) unless different styles are being set in the same
# request.
"url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
"slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
# in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
"relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
# addressed by its position.
},
- "italic": True or False, # Whether or not the text is italicized.
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
"underline": True or False, # Whether or not the text is underlined.
"backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
# transparent, depending on if the `opaque_color` field in it is set.
@@ -8458,7 +12642,7 @@
},
},
},
- "bold": True or False, # Whether or not the text is bold.
+ "bold": True or False, # Whether or not the text is rendered as bold.
"baselineOffset": "A String", # The text's vertical offset from its normal position.
#
# Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
@@ -8475,6 +12659,12 @@
# Some fonts can affect the weight of the text. If an update request
# specifies values for both `font_family` and `bold`, the explicitly-set
# `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "italic": True or False, # Whether or not the text is italicized.
"link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
# are not inherited from parent text.
#
@@ -8496,19 +12686,13 @@
# text is another link) unless different styles are being set in the same
# request.
"url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
"slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
# in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
"relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
# addressed by its position.
},
- "italic": True or False, # Whether or not the text is italicized.
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
"underline": True or False, # Whether or not the text is underlined.
"backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
# transparent, depending on if the `opaque_color` field in it is set.
@@ -8526,116 +12710,7 @@
},
},
],
- "lists": { # The bulleted lists contained in this text, keyed by list ID.
- "a_key": { # 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.
- "nestingLevel": { # A map of nesting levels to the properties of bullets at the associated
- # level. A list has at most nine levels of nesting, so the possible values
- # for the keys of this map are 0 through 8, inclusive.
- "a_key": { # Contains properties describing the look and feel of a list bullet at a given
- # level of nesting.
- "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The style of a bullet at this level of nesting.
- #
- # 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.
- "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- "bold": True or False, # Whether or not the text is bold.
- "baselineOffset": "A String", # The text's vertical offset from its normal position.
- #
- # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
- # rendered in a smaller font size, computed based on the `font_size` field.
- # The `font_size` itself is not affected by changes in this field.
- "strikethrough": True or False, # Whether or not the text is struck through.
- "smallCaps": True or False, # Whether or not the text is in small capital letters.
- "fontFamily": "A String", # The font family of the text.
- #
- # The font family can be any font from the Font menu in Slides or from
- # [Google Fonts] (https://fonts.google.com/). If the font name is
- # unrecognized, the text is rendered in `Arial`.
- #
- # Some fonts can affect the weight of the text. If an update request
- # specifies values for both `font_family` and `bold`, the explicitly-set
- # `bold` value is used.
- "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
- # are not inherited from parent text.
- #
- # Changing the link in an update request causes some other changes to the
- # text style of the range:
- #
- # * When setting a link, the text foreground color will be set to
- # ThemeColorType.HYPERLINK and the text will
- # be underlined. If these fields are modified in the same
- # request, those values will be used instead of the link defaults.
- # * Setting a link on a text range that overlaps with an existing link will
- # also update the existing link to point to the new URL.
- # * Links are not settable on newline characters. As a result, setting a link
- # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
- # will separate the newline character(s) into their own text runs. The
- # link will be applied separately to the runs before and after the newline.
- # * Removing a link will update the text style of the range to match the
- # style of the preceding text (or the default text styles if the preceding
- # text is another link) unless different styles are being set in the same
- # request.
- "url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
- "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
- # in the presentation. There may not be a slide at this index.
- "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
- # addressed by its position.
- },
- "italic": True or False, # Whether or not the text is italicized.
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
- "underline": True or False, # Whether or not the text is underlined.
- "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- },
- },
- },
- "listId": "A String", # The ID of the list.
- },
- },
},
- "rowSpan": 42, # Row span of the cell.
"tableCellProperties": { # The properties of the TableCell. # The properties of the table cell.
"tableCellBackgroundFill": { # The table cell background fill. # The background fill of the table cell. The default fill matches the fill
# for newly created table cells in the Slides editor.
@@ -8668,11 +12743,12 @@
# case, any other fill fields set in the same request will be ignored.
},
},
+ "rowSpan": 42, # Row span of the cell.
+ "columnSpan": 42, # Column span of the cell.
"location": { # A location of a single table cell within a table. # The location of the cell within the table.
"rowIndex": 42, # The 0-based row index.
"columnIndex": 42, # The 0-based column index.
},
- "columnSpan": 42, # Column span of the cell.
},
],
"rowHeight": { # A magnitude in a single direction in the specified units. # Height of a row.
@@ -8698,10 +12774,10 @@
"endArrow": "A String", # The style of the arrow at the end of the line.
"link": { # A hypertext link. # The hyperlink destination of the line. If unset, there is no link.
"url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
"slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
# in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
"relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
# addressed by its position.
},
@@ -8751,9 +12827,28 @@
},
},
],
+ "notesProperties": { # The properties of Page that are only # Notes specific properties. Only set if page_type = NOTES.
+ # relevant for pages with page_type NOTES.
+ "speakerNotesObjectId": "A String", # The object ID of the shape on this notes page that contains the speaker
+ # notes for the corresponding slide.
+ # The actual shape may not always exist on the notes page. Inserting text
+ # using this object ID will automatically create the shape. In this case, the
+ # actual shape may have different object ID. The `GetPresentation` or
+ # `GetPage` action will always return the latest object ID.
+ },
"objectId": "A String", # The object ID for this page. Object IDs used by
# Page and
# PageElement share the same namespace.
+ "revisionId": "A String", # The revision ID of the presentation containing this page. Can be used in
+ # update requests to assert that the presentation revision hasn't changed
+ # since the last read operation. Only populated if the user has edit access
+ # to the presentation.
+ #
+ # The format of the revision ID may change over time, so it should be treated
+ # opaquely. A returned revision ID is only guaranteed to be valid for 24
+ # hours after it has been returned and cannot be shared across
+ # users. Callers can assume that if two revision IDs are equal then the
+ # presentation has not changed.
"pageProperties": { # The properties of the Page. # The properties of the page.
#
# The page will inherit properties from the parent page. Depending on the page
@@ -8835,23 +12930,20 @@
"pageType": "A String", # The type of the page.
"slideProperties": { # The properties of Page that are only # Slide specific properties. Only set if page_type = SLIDE.
# relevant for pages with page_type SLIDE.
+ "notesPage": # Object with schema name: Page # The notes page that this slide is associated with. It defines the visual
+ # appearance of a notes page when printing or exporting slides with speaker
+ # notes. A notes page inherits properties from the
+ # notes master.
+ # The placeholder shape with type BODY on the notes page contains the speaker
+ # notes for this slide. The ID of this shape is identified by the
+ # speakerNotesObjectId field.
+ # The notes page is read-only except for the text content and styles of the
+ # speaker notes shape.
"masterObjectId": "A String", # The object ID of the master that this slide is based on.
"layoutObjectId": "A String", # The object ID of the layout that this slide is based on.
},
},
],
- "pageSize": { # A width and height. # The size of pages in the presentation.
- "width": { # A magnitude in a single direction in the specified units. # The width of the object.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
- "height": { # A magnitude in a single direction in the specified units. # The height of the object.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
- },
- "title": "A String", # The title of the presentation.
- "locale": "A String", # The locale of the presentation, as an IETF BCP 47 language tag.
"slides": [ # The slides in the presentation.
# A slide inherits properties from a slide layout.
{ # A page in a presentation.
@@ -8887,14 +12979,6 @@
# 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.
- "dashStyle": "A String", # The dash style of the outline.
- "propertyState": "A String", # The outline property state.
- #
- # Updating the the outline on a page element will implicitly update this
- # field to`RENDERED`, unless another value is specified in the same request.
- # To have no outline on a page element, set this field to `NOT_RENDERED`. In
- # this case, any other outline fields set in the same request will be
- # ignored.
"outlineFill": { # The fill of the outline. # The fill of the outline.
"solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill.
# specified color value.
@@ -8918,6 +13002,14 @@
# a value of 0.0 corresponds to a completely transparent color.
},
},
+ "propertyState": "A String", # The outline property state.
+ #
+ # Updating the the outline on a page element will implicitly update this
+ # field to`RENDERED`, unless another value is specified in the same request.
+ # To have no outline on a page element, set this field to `NOT_RENDERED`. In
+ # this case, any other outline fields set in the same request will be
+ # ignored.
+ "dashStyle": "A String", # The dash style of the outline.
"weight": { # A magnitude in a single direction in the specified units. # The thickness of the outline.
"magnitude": 3.14, # The magnitude.
"unit": "A String", # The units for magnitude.
@@ -8928,7 +13020,11 @@
"recolor": { # A recolor effect applied on an image. # The recolor effect of the image. If not set, the image is not recolored.
# This property is read-only.
"recolorStops": [ # The recolor effect is represented by a gradient, which is a list of color
- # stops. This property is read-only.
+ # stops.
+ #
+ # The colors in the gradient will replace the corresponding colors at
+ # the same position in the color palette and apply to the image. This
+ # property is read-only.
{ # A color and position in a gradient band.
"color": { # A themeable solid color value. # The color of the gradient stop.
"themeColor": "A String", # An opaque theme color.
@@ -8938,19 +13034,24 @@
"red": 3.14, # The red component of the color, from 0.0 to 1.0.
},
},
- "position": 3.14, # The relative position of the color stop in the gradient band measured
- # in percentage. The value should be in the interval [0.0, 1.0].
"alpha": 3.14, # The alpha value of this color in the gradient band. Defaults to 1.0,
# fully opaque.
+ "position": 3.14, # The relative position of the color stop in the gradient band measured
+ # in percentage. The value should be in the interval [0.0, 1.0].
},
],
+ "name": "A String", # The name of the recolor effect.
+ #
+ # The name is determined from the `recolor_stops` by matching the gradient
+ # against the colors in the page's current color scheme. This property is
+ # read-only.
},
"link": { # A hypertext link. # The hyperlink destination of the image. If unset, there is no link.
"url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
"slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
# in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
"relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
# addressed by its position.
},
@@ -8983,12 +13084,12 @@
# object's original width.
"angle": 3.14, # The rotation angle of the crop window around its center, in radians.
# Rotation angle is applied after the offset.
- "bottomOffset": 3.14, # The offset specifies the bottom edge of the crop rectangle that is located
- # above the original bounding rectangle bottom edge, relative to the object's
- # original height.
"rightOffset": 3.14, # The offset specifies the right edge of the crop rectangle that is located
# to the left of the original bounding rectangle right edge, relative to the
# object's original width.
+ "bottomOffset": 3.14, # The offset specifies the bottom edge of the crop rectangle that is located
+ # above the original bounding rectangle bottom edge, relative to the object's
+ # original height.
"topOffset": 3.14, # The offset specifies the top edge of the crop rectangle that is located
# below the original bounding rectangle top edge, relative to the object's
# original height.
@@ -9076,6 +13177,114 @@
# generic shape that does not have a more specific classification.
"text": { # The general text content. The text must reside in a compatible shape (e.g. # The text content of the shape.
# text box or rectangle) or a table cell in a page.
+ "lists": { # The bulleted lists contained in this text, keyed by list ID.
+ "a_key": { # 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.
+ "nestingLevel": { # A map of nesting levels to the properties of bullets at the associated
+ # level. A list has at most nine levels of nesting, so the possible values
+ # for the keys of this map are 0 through 8, inclusive.
+ "a_key": { # Contains properties describing the look and feel of a list bullet at a given
+ # level of nesting.
+ "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The style of a bullet at this level of nesting.
+ #
+ # 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.
+ "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ "bold": True or False, # Whether or not the text is rendered as bold.
+ "baselineOffset": "A String", # The text's vertical offset from its normal position.
+ #
+ # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
+ # rendered in a smaller font size, computed based on the `font_size` field.
+ # The `font_size` itself is not affected by changes in this field.
+ "strikethrough": True or False, # Whether or not the text is struck through.
+ "smallCaps": True or False, # Whether or not the text is in small capital letters.
+ "fontFamily": "A String", # The font family of the text.
+ #
+ # The font family can be any font from the Font menu in Slides or from
+ # [Google Fonts] (https://fonts.google.com/). If the font name is
+ # unrecognized, the text is rendered in `Arial`.
+ #
+ # Some fonts can affect the weight of the text. If an update request
+ # specifies values for both `font_family` and `bold`, the explicitly-set
+ # `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "italic": True or False, # Whether or not the text is italicized.
+ "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
+ # are not inherited from parent text.
+ #
+ # Changing the link in an update request causes some other changes to the
+ # text style of the range:
+ #
+ # * When setting a link, the text foreground color will be set to
+ # ThemeColorType.HYPERLINK and the text will
+ # be underlined. If these fields are modified in the same
+ # request, those values will be used instead of the link defaults.
+ # * Setting a link on a text range that overlaps with an existing link will
+ # also update the existing link to point to the new URL.
+ # * Links are not settable on newline characters. As a result, setting a link
+ # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
+ # will separate the newline character(s) into their own text runs. The
+ # link will be applied separately to the runs before and after the newline.
+ # * Removing a link will update the text style of the range to match the
+ # style of the preceding text (or the default text styles if the preceding
+ # text is another link) unless different styles are being set in the same
+ # request.
+ "url": "A String", # If set, indicates this is a link to the external web page at this URL.
+ "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
+ # in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
+ "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
+ # addressed by its position.
+ },
+ "underline": True or False, # Whether or not the text is underlined.
+ "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ },
+ },
+ },
+ "listId": "A String", # The ID of the list.
+ },
+ },
"textElements": [ # The text contents broken down into its component parts, including styling
# information. This property is read-only.
{ # A TextElement describes the content of a range of indices in the text content
@@ -9112,7 +13321,7 @@
},
},
},
- "bold": True or False, # Whether or not the text is bold.
+ "bold": True or False, # Whether or not the text is rendered as bold.
"baselineOffset": "A String", # The text's vertical offset from its normal position.
#
# Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
@@ -9129,6 +13338,12 @@
# Some fonts can affect the weight of the text. If an update request
# specifies values for both `font_family` and `bold`, the explicitly-set
# `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "italic": True or False, # Whether or not the text is italicized.
"link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
# are not inherited from parent text.
#
@@ -9150,19 +13365,13 @@
# text is another link) unless different styles are being set in the same
# request.
"url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
"slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
# in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
"relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
# addressed by its position.
},
- "italic": True or False, # Whether or not the text is italicized.
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
"underline": True or False, # Whether or not the text is underlined.
"backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
# transparent, depending on if the `opaque_color` field in it is set.
@@ -9202,40 +13411,40 @@
# placeholder.
#
# Inherited paragraph styles are represented as unset fields in this message.
- "spacingMode": "A String", # The spacing mode for the paragraph. This property is read-only.
- "direction": "A String", # The text direction of this paragraph. This property is read-only.
+ "spacingMode": "A String", # The spacing mode for the paragraph.
+ "direction": "A String", # The text direction of this paragraph. If unset, the value defaults to
+ # LEFT_TO_RIGHT
+ # since text direction is not inherited.
"spaceBelow": { # A magnitude in a single direction in the specified units. # The amount of extra space above the paragraph. If unset, the value is
- # inherited from the parent. This property is read-only.
+ # inherited from the parent.
"magnitude": 3.14, # The magnitude.
"unit": "A String", # The units for magnitude.
},
"lineSpacing": 3.14, # The amount of space between lines, as a percentage of normal, where normal
# is represented as 100.0. If unset, the value is inherited from the parent.
- # This property is read-only.
"indentStart": { # A magnitude in a single direction in the specified units. # The amount indentation for the paragraph on the side that corresponds to
# the start of the text, based on the current text direction. If unset, the
- # value is inherited from the parent. This property is read-only.
+ # value is inherited from the parent.
"magnitude": 3.14, # The magnitude.
"unit": "A String", # The units for magnitude.
},
"spaceAbove": { # A magnitude in a single direction in the specified units. # The amount of extra space above the paragraph. If unset, the value is
- # inherited from the parent. This property is read-only.
+ # inherited from the parent.
"magnitude": 3.14, # The magnitude.
"unit": "A String", # The units for magnitude.
},
"indentEnd": { # A magnitude in a single direction in the specified units. # The amount indentation for the paragraph on the side that corresponds to
# the end of the text, based on the current text direction. If unset, the
- # value is inherited from the parent. This property is read-only.
+ # value is inherited from the parent.
"magnitude": 3.14, # The magnitude.
"unit": "A String", # The units for magnitude.
},
"indentFirstLine": { # A magnitude in a single direction in the specified units. # The amount of indentation for the start of the first line of the paragraph.
- # If unset, the value is inherited from the parent. This property is
- # read-only.
+ # If unset, the value is inherited from the parent.
"magnitude": 3.14, # The magnitude.
"unit": "A String", # The units for magnitude.
},
- "alignment": "A String", # The text alignment for this paragraph. This property is read-only.
+ "alignment": "A String", # The text alignment for this paragraph.
},
"bullet": { # Describes the bullet of a paragraph. # The bullet for this paragraph. If not present, the paragraph does not
# belong to a list.
@@ -9270,7 +13479,7 @@
},
},
},
- "bold": True or False, # Whether or not the text is bold.
+ "bold": True or False, # Whether or not the text is rendered as bold.
"baselineOffset": "A String", # The text's vertical offset from its normal position.
#
# Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
@@ -9287,6 +13496,12 @@
# Some fonts can affect the weight of the text. If an update request
# specifies values for both `font_family` and `bold`, the explicitly-set
# `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "italic": True or False, # Whether or not the text is italicized.
"link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
# are not inherited from parent text.
#
@@ -9308,19 +13523,13 @@
# text is another link) unless different styles are being set in the same
# request.
"url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
"slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
# in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
"relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
# addressed by its position.
},
- "italic": True or False, # Whether or not the text is italicized.
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
"underline": True or False, # Whether or not the text is underlined.
"backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
# transparent, depending on if the `opaque_color` field in it is set.
@@ -9375,7 +13584,7 @@
},
},
},
- "bold": True or False, # Whether or not the text is bold.
+ "bold": True or False, # Whether or not the text is rendered as bold.
"baselineOffset": "A String", # The text's vertical offset from its normal position.
#
# Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
@@ -9392,6 +13601,12 @@
# Some fonts can affect the weight of the text. If an update request
# specifies values for both `font_family` and `bold`, the explicitly-set
# `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "italic": True or False, # Whether or not the text is italicized.
"link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
# are not inherited from parent text.
#
@@ -9413,19 +13628,13 @@
# text is another link) unless different styles are being set in the same
# request.
"url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
"slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
# in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
"relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
# addressed by its position.
},
- "italic": True or False, # Whether or not the text is italicized.
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
"underline": True or False, # Whether or not the text is underlined.
"backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
# transparent, depending on if the `opaque_color` field in it is set.
@@ -9443,114 +13652,6 @@
},
},
],
- "lists": { # The bulleted lists contained in this text, keyed by list ID.
- "a_key": { # 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.
- "nestingLevel": { # A map of nesting levels to the properties of bullets at the associated
- # level. A list has at most nine levels of nesting, so the possible values
- # for the keys of this map are 0 through 8, inclusive.
- "a_key": { # Contains properties describing the look and feel of a list bullet at a given
- # level of nesting.
- "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The style of a bullet at this level of nesting.
- #
- # 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.
- "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- "bold": True or False, # Whether or not the text is bold.
- "baselineOffset": "A String", # The text's vertical offset from its normal position.
- #
- # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
- # rendered in a smaller font size, computed based on the `font_size` field.
- # The `font_size` itself is not affected by changes in this field.
- "strikethrough": True or False, # Whether or not the text is struck through.
- "smallCaps": True or False, # Whether or not the text is in small capital letters.
- "fontFamily": "A String", # The font family of the text.
- #
- # The font family can be any font from the Font menu in Slides or from
- # [Google Fonts] (https://fonts.google.com/). If the font name is
- # unrecognized, the text is rendered in `Arial`.
- #
- # Some fonts can affect the weight of the text. If an update request
- # specifies values for both `font_family` and `bold`, the explicitly-set
- # `bold` value is used.
- "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
- # are not inherited from parent text.
- #
- # Changing the link in an update request causes some other changes to the
- # text style of the range:
- #
- # * When setting a link, the text foreground color will be set to
- # ThemeColorType.HYPERLINK and the text will
- # be underlined. If these fields are modified in the same
- # request, those values will be used instead of the link defaults.
- # * Setting a link on a text range that overlaps with an existing link will
- # also update the existing link to point to the new URL.
- # * Links are not settable on newline characters. As a result, setting a link
- # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
- # will separate the newline character(s) into their own text runs. The
- # link will be applied separately to the runs before and after the newline.
- # * Removing a link will update the text style of the range to match the
- # style of the preceding text (or the default text styles if the preceding
- # text is another link) unless different styles are being set in the same
- # request.
- "url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
- "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
- # in the presentation. There may not be a slide at this index.
- "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
- # addressed by its position.
- },
- "italic": True or False, # Whether or not the text is italicized.
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
- "underline": True or False, # Whether or not the text is underlined.
- "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- },
- },
- },
- "listId": "A String", # The ID of the list.
- },
- },
},
"shapeProperties": { # The properties of a Shape. # The properties of the shape.
#
@@ -9650,10 +13751,10 @@
"link": { # A hypertext link. # The hyperlink destination of the shape. If unset, there is no link. Links
# are not inherited from parent placeholders.
"url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
"slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
# in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
"relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
# addressed by its position.
},
@@ -9666,14 +13767,6 @@
# 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.
- "dashStyle": "A String", # The dash style of the outline.
- "propertyState": "A String", # The outline property state.
- #
- # Updating the the outline on a page element will implicitly update this
- # field to`RENDERED`, unless another value is specified in the same request.
- # To have no outline on a page element, set this field to `NOT_RENDERED`. In
- # this case, any other outline fields set in the same request will be
- # ignored.
"outlineFill": { # The fill of the outline. # The fill of the outline.
"solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill.
# specified color value.
@@ -9697,6 +13790,14 @@
# a value of 0.0 corresponds to a completely transparent color.
},
},
+ "propertyState": "A String", # The outline property state.
+ #
+ # Updating the the outline on a page element will implicitly update this
+ # field to`RENDERED`, unless another value is specified in the same request.
+ # To have no outline on a page element, set this field to `NOT_RENDERED`. In
+ # this case, any other outline fields set in the same request will be
+ # ignored.
+ "dashStyle": "A String", # The dash style of the outline.
"weight": { # A magnitude in a single direction in the specified units. # The thickness of the outline.
"magnitude": 3.14, # The magnitude.
"unit": "A String", # The units for magnitude.
@@ -9723,7 +13824,10 @@
# a linked chart embedded from Google Sheets.
"chartId": 42, # The ID of the specific chart in the Google Sheets spreadsheet that is
# embedded.
- "spreadsheetId": "A String", # The ID of the Google Sheets spreadsheet that contains the source chart.
+ "contentUrl": "A String", # The URL of an image of the embedded chart, with a default lifetime of 30
+ # minutes. This URL is tagged with the account of the requester. Anyone with
+ # the URL effectively accesses the image as the original requester. Access to
+ # the image may be lost if the presentation's sharing settings change.
"sheetsChartProperties": { # The properties of the SheetsChart. # The properties of the Sheets chart.
"chartImageProperties": { # The properties of the Image. # The properties of the embedded chart image.
"outline": { # The outline of a PageElement. # The outline of the image. If not set, the the image has no outline.
@@ -9732,14 +13836,6 @@
# 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.
- "dashStyle": "A String", # The dash style of the outline.
- "propertyState": "A String", # The outline property state.
- #
- # Updating the the outline on a page element will implicitly update this
- # field to`RENDERED`, unless another value is specified in the same request.
- # To have no outline on a page element, set this field to `NOT_RENDERED`. In
- # this case, any other outline fields set in the same request will be
- # ignored.
"outlineFill": { # The fill of the outline. # The fill of the outline.
"solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill.
# specified color value.
@@ -9763,6 +13859,14 @@
# a value of 0.0 corresponds to a completely transparent color.
},
},
+ "propertyState": "A String", # The outline property state.
+ #
+ # Updating the the outline on a page element will implicitly update this
+ # field to`RENDERED`, unless another value is specified in the same request.
+ # To have no outline on a page element, set this field to `NOT_RENDERED`. In
+ # this case, any other outline fields set in the same request will be
+ # ignored.
+ "dashStyle": "A String", # The dash style of the outline.
"weight": { # A magnitude in a single direction in the specified units. # The thickness of the outline.
"magnitude": 3.14, # The magnitude.
"unit": "A String", # The units for magnitude.
@@ -9773,7 +13877,11 @@
"recolor": { # A recolor effect applied on an image. # The recolor effect of the image. If not set, the image is not recolored.
# This property is read-only.
"recolorStops": [ # The recolor effect is represented by a gradient, which is a list of color
- # stops. This property is read-only.
+ # stops.
+ #
+ # The colors in the gradient will replace the corresponding colors at
+ # the same position in the color palette and apply to the image. This
+ # property is read-only.
{ # A color and position in a gradient band.
"color": { # A themeable solid color value. # The color of the gradient stop.
"themeColor": "A String", # An opaque theme color.
@@ -9783,19 +13891,24 @@
"red": 3.14, # The red component of the color, from 0.0 to 1.0.
},
},
- "position": 3.14, # The relative position of the color stop in the gradient band measured
- # in percentage. The value should be in the interval [0.0, 1.0].
"alpha": 3.14, # The alpha value of this color in the gradient band. Defaults to 1.0,
# fully opaque.
+ "position": 3.14, # The relative position of the color stop in the gradient band measured
+ # in percentage. The value should be in the interval [0.0, 1.0].
},
],
+ "name": "A String", # The name of the recolor effect.
+ #
+ # The name is determined from the `recolor_stops` by matching the gradient
+ # against the colors in the page's current color scheme. This property is
+ # read-only.
},
"link": { # A hypertext link. # The hyperlink destination of the image. If unset, there is no link.
"url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
"slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
# in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
"relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
# addressed by its position.
},
@@ -9828,12 +13941,12 @@
# object's original width.
"angle": 3.14, # The rotation angle of the crop window around its center, in radians.
# Rotation angle is applied after the offset.
- "bottomOffset": 3.14, # The offset specifies the bottom edge of the crop rectangle that is located
- # above the original bounding rectangle bottom edge, relative to the object's
- # original height.
"rightOffset": 3.14, # The offset specifies the right edge of the crop rectangle that is located
# to the left of the original bounding rectangle right edge, relative to the
# object's original width.
+ "bottomOffset": 3.14, # The offset specifies the bottom edge of the crop rectangle that is located
+ # above the original bounding rectangle bottom edge, relative to the object's
+ # original height.
"topOffset": 3.14, # The offset specifies the top edge of the crop rectangle that is located
# below the original bounding rectangle top edge, relative to the object's
# original height.
@@ -9896,15 +14009,14 @@
# [-1.0, 1.0], where 0 means no effect. This property is read-only.
},
},
- "contentUrl": "A String", # The URL of an image of the embedded chart, with a default lifetime of 30
- # minutes. This URL is tagged with the account of the requester. Anyone with
- # the URL effectively accesses the image as the original requester. Access to
- # the image may be lost if the presentation's sharing settings change.
+ "spreadsheetId": "A String", # The ID of the Google Sheets spreadsheet that contains the source chart.
},
"video": { # A PageElement kind representing a # A video page element.
# video.
"url": "A String", # An URL to a video. The URL is valid as long as the source video
# exists and sharing settings do not change.
+ "source": "A String", # The video source.
+ "id": "A String", # The video source's unique identifier for this video.
"videoProperties": { # The properties of the Video. # The properties of the video.
"outline": { # The outline of a PageElement. # The outline of the video. The default outline matches the defaults for new
# videos created in the Slides editor.
@@ -9913,14 +14025,6 @@
# 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.
- "dashStyle": "A String", # The dash style of the outline.
- "propertyState": "A String", # The outline property state.
- #
- # Updating the the outline on a page element will implicitly update this
- # field to`RENDERED`, unless another value is specified in the same request.
- # To have no outline on a page element, set this field to `NOT_RENDERED`. In
- # this case, any other outline fields set in the same request will be
- # ignored.
"outlineFill": { # The fill of the outline. # The fill of the outline.
"solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill.
# specified color value.
@@ -9944,14 +14048,20 @@
# a value of 0.0 corresponds to a completely transparent color.
},
},
+ "propertyState": "A String", # The outline property state.
+ #
+ # Updating the the outline on a page element will implicitly update this
+ # field to`RENDERED`, unless another value is specified in the same request.
+ # To have no outline on a page element, set this field to `NOT_RENDERED`. In
+ # this case, any other outline fields set in the same request will be
+ # ignored.
+ "dashStyle": "A String", # The dash style of the outline.
"weight": { # A magnitude in a single direction in the specified units. # The thickness of the outline.
"magnitude": 3.14, # The magnitude.
"unit": "A String", # The units for magnitude.
},
},
},
- "id": "A String", # The video source's unique identifier for this video.
- "source": "A String", # The video source.
},
"table": { # A PageElement kind representing a # A table page element.
# table.
@@ -9978,6 +14088,114 @@
{ # Properties and contents of each table cell.
"text": { # The general text content. The text must reside in a compatible shape (e.g. # The text content of the cell.
# text box or rectangle) or a table cell in a page.
+ "lists": { # The bulleted lists contained in this text, keyed by list ID.
+ "a_key": { # 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.
+ "nestingLevel": { # A map of nesting levels to the properties of bullets at the associated
+ # level. A list has at most nine levels of nesting, so the possible values
+ # for the keys of this map are 0 through 8, inclusive.
+ "a_key": { # Contains properties describing the look and feel of a list bullet at a given
+ # level of nesting.
+ "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The style of a bullet at this level of nesting.
+ #
+ # 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.
+ "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ "bold": True or False, # Whether or not the text is rendered as bold.
+ "baselineOffset": "A String", # The text's vertical offset from its normal position.
+ #
+ # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
+ # rendered in a smaller font size, computed based on the `font_size` field.
+ # The `font_size` itself is not affected by changes in this field.
+ "strikethrough": True or False, # Whether or not the text is struck through.
+ "smallCaps": True or False, # Whether or not the text is in small capital letters.
+ "fontFamily": "A String", # The font family of the text.
+ #
+ # The font family can be any font from the Font menu in Slides or from
+ # [Google Fonts] (https://fonts.google.com/). If the font name is
+ # unrecognized, the text is rendered in `Arial`.
+ #
+ # Some fonts can affect the weight of the text. If an update request
+ # specifies values for both `font_family` and `bold`, the explicitly-set
+ # `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "italic": True or False, # Whether or not the text is italicized.
+ "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
+ # are not inherited from parent text.
+ #
+ # Changing the link in an update request causes some other changes to the
+ # text style of the range:
+ #
+ # * When setting a link, the text foreground color will be set to
+ # ThemeColorType.HYPERLINK and the text will
+ # be underlined. If these fields are modified in the same
+ # request, those values will be used instead of the link defaults.
+ # * Setting a link on a text range that overlaps with an existing link will
+ # also update the existing link to point to the new URL.
+ # * Links are not settable on newline characters. As a result, setting a link
+ # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
+ # will separate the newline character(s) into their own text runs. The
+ # link will be applied separately to the runs before and after the newline.
+ # * Removing a link will update the text style of the range to match the
+ # style of the preceding text (or the default text styles if the preceding
+ # text is another link) unless different styles are being set in the same
+ # request.
+ "url": "A String", # If set, indicates this is a link to the external web page at this URL.
+ "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
+ # in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
+ "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
+ # addressed by its position.
+ },
+ "underline": True or False, # Whether or not the text is underlined.
+ "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ },
+ },
+ },
+ "listId": "A String", # The ID of the list.
+ },
+ },
"textElements": [ # The text contents broken down into its component parts, including styling
# information. This property is read-only.
{ # A TextElement describes the content of a range of indices in the text content
@@ -10014,7 +14232,7 @@
},
},
},
- "bold": True or False, # Whether or not the text is bold.
+ "bold": True or False, # Whether or not the text is rendered as bold.
"baselineOffset": "A String", # The text's vertical offset from its normal position.
#
# Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
@@ -10031,6 +14249,12 @@
# Some fonts can affect the weight of the text. If an update request
# specifies values for both `font_family` and `bold`, the explicitly-set
# `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "italic": True or False, # Whether or not the text is italicized.
"link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
# are not inherited from parent text.
#
@@ -10052,19 +14276,13 @@
# text is another link) unless different styles are being set in the same
# request.
"url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
"slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
# in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
"relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
# addressed by its position.
},
- "italic": True or False, # Whether or not the text is italicized.
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
"underline": True or False, # Whether or not the text is underlined.
"backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
# transparent, depending on if the `opaque_color` field in it is set.
@@ -10104,40 +14322,40 @@
# placeholder.
#
# Inherited paragraph styles are represented as unset fields in this message.
- "spacingMode": "A String", # The spacing mode for the paragraph. This property is read-only.
- "direction": "A String", # The text direction of this paragraph. This property is read-only.
+ "spacingMode": "A String", # The spacing mode for the paragraph.
+ "direction": "A String", # The text direction of this paragraph. If unset, the value defaults to
+ # LEFT_TO_RIGHT
+ # since text direction is not inherited.
"spaceBelow": { # A magnitude in a single direction in the specified units. # The amount of extra space above the paragraph. If unset, the value is
- # inherited from the parent. This property is read-only.
+ # inherited from the parent.
"magnitude": 3.14, # The magnitude.
"unit": "A String", # The units for magnitude.
},
"lineSpacing": 3.14, # The amount of space between lines, as a percentage of normal, where normal
# is represented as 100.0. If unset, the value is inherited from the parent.
- # This property is read-only.
"indentStart": { # A magnitude in a single direction in the specified units. # The amount indentation for the paragraph on the side that corresponds to
# the start of the text, based on the current text direction. If unset, the
- # value is inherited from the parent. This property is read-only.
+ # value is inherited from the parent.
"magnitude": 3.14, # The magnitude.
"unit": "A String", # The units for magnitude.
},
"spaceAbove": { # A magnitude in a single direction in the specified units. # The amount of extra space above the paragraph. If unset, the value is
- # inherited from the parent. This property is read-only.
+ # inherited from the parent.
"magnitude": 3.14, # The magnitude.
"unit": "A String", # The units for magnitude.
},
"indentEnd": { # A magnitude in a single direction in the specified units. # The amount indentation for the paragraph on the side that corresponds to
# the end of the text, based on the current text direction. If unset, the
- # value is inherited from the parent. This property is read-only.
+ # value is inherited from the parent.
"magnitude": 3.14, # The magnitude.
"unit": "A String", # The units for magnitude.
},
"indentFirstLine": { # A magnitude in a single direction in the specified units. # The amount of indentation for the start of the first line of the paragraph.
- # If unset, the value is inherited from the parent. This property is
- # read-only.
+ # If unset, the value is inherited from the parent.
"magnitude": 3.14, # The magnitude.
"unit": "A String", # The units for magnitude.
},
- "alignment": "A String", # The text alignment for this paragraph. This property is read-only.
+ "alignment": "A String", # The text alignment for this paragraph.
},
"bullet": { # Describes the bullet of a paragraph. # The bullet for this paragraph. If not present, the paragraph does not
# belong to a list.
@@ -10172,7 +14390,7 @@
},
},
},
- "bold": True or False, # Whether or not the text is bold.
+ "bold": True or False, # Whether or not the text is rendered as bold.
"baselineOffset": "A String", # The text's vertical offset from its normal position.
#
# Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
@@ -10189,6 +14407,12 @@
# Some fonts can affect the weight of the text. If an update request
# specifies values for both `font_family` and `bold`, the explicitly-set
# `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "italic": True or False, # Whether or not the text is italicized.
"link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
# are not inherited from parent text.
#
@@ -10210,19 +14434,13 @@
# text is another link) unless different styles are being set in the same
# request.
"url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
"slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
# in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
"relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
# addressed by its position.
},
- "italic": True or False, # Whether or not the text is italicized.
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
"underline": True or False, # Whether or not the text is underlined.
"backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
# transparent, depending on if the `opaque_color` field in it is set.
@@ -10277,7 +14495,7 @@
},
},
},
- "bold": True or False, # Whether or not the text is bold.
+ "bold": True or False, # Whether or not the text is rendered as bold.
"baselineOffset": "A String", # The text's vertical offset from its normal position.
#
# Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
@@ -10294,6 +14512,12 @@
# Some fonts can affect the weight of the text. If an update request
# specifies values for both `font_family` and `bold`, the explicitly-set
# `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "italic": True or False, # Whether or not the text is italicized.
"link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
# are not inherited from parent text.
#
@@ -10315,19 +14539,13 @@
# text is another link) unless different styles are being set in the same
# request.
"url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
"slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
# in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
"relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
# addressed by its position.
},
- "italic": True or False, # Whether or not the text is italicized.
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
"underline": True or False, # Whether or not the text is underlined.
"backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
# transparent, depending on if the `opaque_color` field in it is set.
@@ -10345,116 +14563,7 @@
},
},
],
- "lists": { # The bulleted lists contained in this text, keyed by list ID.
- "a_key": { # 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.
- "nestingLevel": { # A map of nesting levels to the properties of bullets at the associated
- # level. A list has at most nine levels of nesting, so the possible values
- # for the keys of this map are 0 through 8, inclusive.
- "a_key": { # Contains properties describing the look and feel of a list bullet at a given
- # level of nesting.
- "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The style of a bullet at this level of nesting.
- #
- # 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.
- "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- "bold": True or False, # Whether or not the text is bold.
- "baselineOffset": "A String", # The text's vertical offset from its normal position.
- #
- # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
- # rendered in a smaller font size, computed based on the `font_size` field.
- # The `font_size` itself is not affected by changes in this field.
- "strikethrough": True or False, # Whether or not the text is struck through.
- "smallCaps": True or False, # Whether or not the text is in small capital letters.
- "fontFamily": "A String", # The font family of the text.
- #
- # The font family can be any font from the Font menu in Slides or from
- # [Google Fonts] (https://fonts.google.com/). If the font name is
- # unrecognized, the text is rendered in `Arial`.
- #
- # Some fonts can affect the weight of the text. If an update request
- # specifies values for both `font_family` and `bold`, the explicitly-set
- # `bold` value is used.
- "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
- # are not inherited from parent text.
- #
- # Changing the link in an update request causes some other changes to the
- # text style of the range:
- #
- # * When setting a link, the text foreground color will be set to
- # ThemeColorType.HYPERLINK and the text will
- # be underlined. If these fields are modified in the same
- # request, those values will be used instead of the link defaults.
- # * Setting a link on a text range that overlaps with an existing link will
- # also update the existing link to point to the new URL.
- # * Links are not settable on newline characters. As a result, setting a link
- # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
- # will separate the newline character(s) into their own text runs. The
- # link will be applied separately to the runs before and after the newline.
- # * Removing a link will update the text style of the range to match the
- # style of the preceding text (or the default text styles if the preceding
- # text is another link) unless different styles are being set in the same
- # request.
- "url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
- "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
- # in the presentation. There may not be a slide at this index.
- "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
- # addressed by its position.
- },
- "italic": True or False, # Whether or not the text is italicized.
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
- "underline": True or False, # Whether or not the text is underlined.
- "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- },
- },
- },
- "listId": "A String", # The ID of the list.
- },
- },
},
- "rowSpan": 42, # Row span of the cell.
"tableCellProperties": { # The properties of the TableCell. # The properties of the table cell.
"tableCellBackgroundFill": { # The table cell background fill. # The background fill of the table cell. The default fill matches the fill
# for newly created table cells in the Slides editor.
@@ -10487,11 +14596,12 @@
# case, any other fill fields set in the same request will be ignored.
},
},
+ "rowSpan": 42, # Row span of the cell.
+ "columnSpan": 42, # Column span of the cell.
"location": { # A location of a single table cell within a table. # The location of the cell within the table.
"rowIndex": 42, # The 0-based row index.
"columnIndex": 42, # The 0-based column index.
},
- "columnSpan": 42, # Column span of the cell.
},
],
"rowHeight": { # A magnitude in a single direction in the specified units. # Height of a row.
@@ -10517,10 +14627,10 @@
"endArrow": "A String", # The style of the arrow at the end of the line.
"link": { # A hypertext link. # The hyperlink destination of the line. If unset, there is no link.
"url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
"slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
# in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
"relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
# addressed by its position.
},
@@ -10570,9 +14680,28 @@
},
},
],
+ "notesProperties": { # The properties of Page that are only # Notes specific properties. Only set if page_type = NOTES.
+ # relevant for pages with page_type NOTES.
+ "speakerNotesObjectId": "A String", # The object ID of the shape on this notes page that contains the speaker
+ # notes for the corresponding slide.
+ # The actual shape may not always exist on the notes page. Inserting text
+ # using this object ID will automatically create the shape. In this case, the
+ # actual shape may have different object ID. The `GetPresentation` or
+ # `GetPage` action will always return the latest object ID.
+ },
"objectId": "A String", # The object ID for this page. Object IDs used by
# Page and
# PageElement share the same namespace.
+ "revisionId": "A String", # The revision ID of the presentation containing this page. Can be used in
+ # update requests to assert that the presentation revision hasn't changed
+ # since the last read operation. Only populated if the user has edit access
+ # to the presentation.
+ #
+ # The format of the revision ID may change over time, so it should be treated
+ # opaquely. A returned revision ID is only guaranteed to be valid for 24
+ # hours after it has been returned and cannot be shared across
+ # users. Callers can assume that if two revision IDs are equal then the
+ # presentation has not changed.
"pageProperties": { # The properties of the Page. # The properties of the page.
#
# The page will inherit properties from the parent page. Depending on the page
@@ -10654,6 +14783,15 @@
"pageType": "A String", # The type of the page.
"slideProperties": { # The properties of Page that are only # Slide specific properties. Only set if page_type = SLIDE.
# relevant for pages with page_type SLIDE.
+ "notesPage": # Object with schema name: Page # The notes page that this slide is associated with. It defines the visual
+ # appearance of a notes page when printing or exporting slides with speaker
+ # notes. A notes page inherits properties from the
+ # notes master.
+ # The placeholder shape with type BODY on the notes page contains the speaker
+ # notes for this slide. The ID of this shape is identified by the
+ # speakerNotesObjectId field.
+ # The notes page is read-only except for the text content and styles of the
+ # speaker notes shape.
"masterObjectId": "A String", # The object ID of the master that this slide is based on.
"layoutObjectId": "A String", # The object ID of the layout that this slide is based on.
},
@@ -10695,14 +14833,6 @@
# 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.
- "dashStyle": "A String", # The dash style of the outline.
- "propertyState": "A String", # The outline property state.
- #
- # Updating the the outline on a page element will implicitly update this
- # field to`RENDERED`, unless another value is specified in the same request.
- # To have no outline on a page element, set this field to `NOT_RENDERED`. In
- # this case, any other outline fields set in the same request will be
- # ignored.
"outlineFill": { # The fill of the outline. # The fill of the outline.
"solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill.
# specified color value.
@@ -10726,6 +14856,14 @@
# a value of 0.0 corresponds to a completely transparent color.
},
},
+ "propertyState": "A String", # The outline property state.
+ #
+ # Updating the the outline on a page element will implicitly update this
+ # field to`RENDERED`, unless another value is specified in the same request.
+ # To have no outline on a page element, set this field to `NOT_RENDERED`. In
+ # this case, any other outline fields set in the same request will be
+ # ignored.
+ "dashStyle": "A String", # The dash style of the outline.
"weight": { # A magnitude in a single direction in the specified units. # The thickness of the outline.
"magnitude": 3.14, # The magnitude.
"unit": "A String", # The units for magnitude.
@@ -10736,7 +14874,11 @@
"recolor": { # A recolor effect applied on an image. # The recolor effect of the image. If not set, the image is not recolored.
# This property is read-only.
"recolorStops": [ # The recolor effect is represented by a gradient, which is a list of color
- # stops. This property is read-only.
+ # stops.
+ #
+ # The colors in the gradient will replace the corresponding colors at
+ # the same position in the color palette and apply to the image. This
+ # property is read-only.
{ # A color and position in a gradient band.
"color": { # A themeable solid color value. # The color of the gradient stop.
"themeColor": "A String", # An opaque theme color.
@@ -10746,19 +14888,24 @@
"red": 3.14, # The red component of the color, from 0.0 to 1.0.
},
},
- "position": 3.14, # The relative position of the color stop in the gradient band measured
- # in percentage. The value should be in the interval [0.0, 1.0].
"alpha": 3.14, # The alpha value of this color in the gradient band. Defaults to 1.0,
# fully opaque.
+ "position": 3.14, # The relative position of the color stop in the gradient band measured
+ # in percentage. The value should be in the interval [0.0, 1.0].
},
],
+ "name": "A String", # The name of the recolor effect.
+ #
+ # The name is determined from the `recolor_stops` by matching the gradient
+ # against the colors in the page's current color scheme. This property is
+ # read-only.
},
"link": { # A hypertext link. # The hyperlink destination of the image. If unset, there is no link.
"url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
"slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
# in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
"relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
# addressed by its position.
},
@@ -10791,12 +14938,12 @@
# object's original width.
"angle": 3.14, # The rotation angle of the crop window around its center, in radians.
# Rotation angle is applied after the offset.
- "bottomOffset": 3.14, # The offset specifies the bottom edge of the crop rectangle that is located
- # above the original bounding rectangle bottom edge, relative to the object's
- # original height.
"rightOffset": 3.14, # The offset specifies the right edge of the crop rectangle that is located
# to the left of the original bounding rectangle right edge, relative to the
# object's original width.
+ "bottomOffset": 3.14, # The offset specifies the bottom edge of the crop rectangle that is located
+ # above the original bounding rectangle bottom edge, relative to the object's
+ # original height.
"topOffset": 3.14, # The offset specifies the top edge of the crop rectangle that is located
# below the original bounding rectangle top edge, relative to the object's
# original height.
@@ -10884,6 +15031,114 @@
# generic shape that does not have a more specific classification.
"text": { # The general text content. The text must reside in a compatible shape (e.g. # The text content of the shape.
# text box or rectangle) or a table cell in a page.
+ "lists": { # The bulleted lists contained in this text, keyed by list ID.
+ "a_key": { # 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.
+ "nestingLevel": { # A map of nesting levels to the properties of bullets at the associated
+ # level. A list has at most nine levels of nesting, so the possible values
+ # for the keys of this map are 0 through 8, inclusive.
+ "a_key": { # Contains properties describing the look and feel of a list bullet at a given
+ # level of nesting.
+ "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The style of a bullet at this level of nesting.
+ #
+ # 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.
+ "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ "bold": True or False, # Whether or not the text is rendered as bold.
+ "baselineOffset": "A String", # The text's vertical offset from its normal position.
+ #
+ # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
+ # rendered in a smaller font size, computed based on the `font_size` field.
+ # The `font_size` itself is not affected by changes in this field.
+ "strikethrough": True or False, # Whether or not the text is struck through.
+ "smallCaps": True or False, # Whether or not the text is in small capital letters.
+ "fontFamily": "A String", # The font family of the text.
+ #
+ # The font family can be any font from the Font menu in Slides or from
+ # [Google Fonts] (https://fonts.google.com/). If the font name is
+ # unrecognized, the text is rendered in `Arial`.
+ #
+ # Some fonts can affect the weight of the text. If an update request
+ # specifies values for both `font_family` and `bold`, the explicitly-set
+ # `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "italic": True or False, # Whether or not the text is italicized.
+ "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
+ # are not inherited from parent text.
+ #
+ # Changing the link in an update request causes some other changes to the
+ # text style of the range:
+ #
+ # * When setting a link, the text foreground color will be set to
+ # ThemeColorType.HYPERLINK and the text will
+ # be underlined. If these fields are modified in the same
+ # request, those values will be used instead of the link defaults.
+ # * Setting a link on a text range that overlaps with an existing link will
+ # also update the existing link to point to the new URL.
+ # * Links are not settable on newline characters. As a result, setting a link
+ # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
+ # will separate the newline character(s) into their own text runs. The
+ # link will be applied separately to the runs before and after the newline.
+ # * Removing a link will update the text style of the range to match the
+ # style of the preceding text (or the default text styles if the preceding
+ # text is another link) unless different styles are being set in the same
+ # request.
+ "url": "A String", # If set, indicates this is a link to the external web page at this URL.
+ "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
+ # in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
+ "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
+ # addressed by its position.
+ },
+ "underline": True or False, # Whether or not the text is underlined.
+ "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ },
+ },
+ },
+ "listId": "A String", # The ID of the list.
+ },
+ },
"textElements": [ # The text contents broken down into its component parts, including styling
# information. This property is read-only.
{ # A TextElement describes the content of a range of indices in the text content
@@ -10920,7 +15175,7 @@
},
},
},
- "bold": True or False, # Whether or not the text is bold.
+ "bold": True or False, # Whether or not the text is rendered as bold.
"baselineOffset": "A String", # The text's vertical offset from its normal position.
#
# Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
@@ -10937,6 +15192,12 @@
# Some fonts can affect the weight of the text. If an update request
# specifies values for both `font_family` and `bold`, the explicitly-set
# `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "italic": True or False, # Whether or not the text is italicized.
"link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
# are not inherited from parent text.
#
@@ -10958,19 +15219,13 @@
# text is another link) unless different styles are being set in the same
# request.
"url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
"slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
# in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
"relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
# addressed by its position.
},
- "italic": True or False, # Whether or not the text is italicized.
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
"underline": True or False, # Whether or not the text is underlined.
"backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
# transparent, depending on if the `opaque_color` field in it is set.
@@ -11010,40 +15265,40 @@
# placeholder.
#
# Inherited paragraph styles are represented as unset fields in this message.
- "spacingMode": "A String", # The spacing mode for the paragraph. This property is read-only.
- "direction": "A String", # The text direction of this paragraph. This property is read-only.
+ "spacingMode": "A String", # The spacing mode for the paragraph.
+ "direction": "A String", # The text direction of this paragraph. If unset, the value defaults to
+ # LEFT_TO_RIGHT
+ # since text direction is not inherited.
"spaceBelow": { # A magnitude in a single direction in the specified units. # The amount of extra space above the paragraph. If unset, the value is
- # inherited from the parent. This property is read-only.
+ # inherited from the parent.
"magnitude": 3.14, # The magnitude.
"unit": "A String", # The units for magnitude.
},
"lineSpacing": 3.14, # The amount of space between lines, as a percentage of normal, where normal
# is represented as 100.0. If unset, the value is inherited from the parent.
- # This property is read-only.
"indentStart": { # A magnitude in a single direction in the specified units. # The amount indentation for the paragraph on the side that corresponds to
# the start of the text, based on the current text direction. If unset, the
- # value is inherited from the parent. This property is read-only.
+ # value is inherited from the parent.
"magnitude": 3.14, # The magnitude.
"unit": "A String", # The units for magnitude.
},
"spaceAbove": { # A magnitude in a single direction in the specified units. # The amount of extra space above the paragraph. If unset, the value is
- # inherited from the parent. This property is read-only.
+ # inherited from the parent.
"magnitude": 3.14, # The magnitude.
"unit": "A String", # The units for magnitude.
},
"indentEnd": { # A magnitude in a single direction in the specified units. # The amount indentation for the paragraph on the side that corresponds to
# the end of the text, based on the current text direction. If unset, the
- # value is inherited from the parent. This property is read-only.
+ # value is inherited from the parent.
"magnitude": 3.14, # The magnitude.
"unit": "A String", # The units for magnitude.
},
"indentFirstLine": { # A magnitude in a single direction in the specified units. # The amount of indentation for the start of the first line of the paragraph.
- # If unset, the value is inherited from the parent. This property is
- # read-only.
+ # If unset, the value is inherited from the parent.
"magnitude": 3.14, # The magnitude.
"unit": "A String", # The units for magnitude.
},
- "alignment": "A String", # The text alignment for this paragraph. This property is read-only.
+ "alignment": "A String", # The text alignment for this paragraph.
},
"bullet": { # Describes the bullet of a paragraph. # The bullet for this paragraph. If not present, the paragraph does not
# belong to a list.
@@ -11078,7 +15333,7 @@
},
},
},
- "bold": True or False, # Whether or not the text is bold.
+ "bold": True or False, # Whether or not the text is rendered as bold.
"baselineOffset": "A String", # The text's vertical offset from its normal position.
#
# Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
@@ -11095,6 +15350,12 @@
# Some fonts can affect the weight of the text. If an update request
# specifies values for both `font_family` and `bold`, the explicitly-set
# `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "italic": True or False, # Whether or not the text is italicized.
"link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
# are not inherited from parent text.
#
@@ -11116,19 +15377,13 @@
# text is another link) unless different styles are being set in the same
# request.
"url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
"slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
# in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
"relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
# addressed by its position.
},
- "italic": True or False, # Whether or not the text is italicized.
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
"underline": True or False, # Whether or not the text is underlined.
"backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
# transparent, depending on if the `opaque_color` field in it is set.
@@ -11183,7 +15438,7 @@
},
},
},
- "bold": True or False, # Whether or not the text is bold.
+ "bold": True or False, # Whether or not the text is rendered as bold.
"baselineOffset": "A String", # The text's vertical offset from its normal position.
#
# Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
@@ -11200,6 +15455,12 @@
# Some fonts can affect the weight of the text. If an update request
# specifies values for both `font_family` and `bold`, the explicitly-set
# `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "italic": True or False, # Whether or not the text is italicized.
"link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
# are not inherited from parent text.
#
@@ -11221,19 +15482,13 @@
# text is another link) unless different styles are being set in the same
# request.
"url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
"slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
# in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
"relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
# addressed by its position.
},
- "italic": True or False, # Whether or not the text is italicized.
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
"underline": True or False, # Whether or not the text is underlined.
"backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
# transparent, depending on if the `opaque_color` field in it is set.
@@ -11251,114 +15506,6 @@
},
},
],
- "lists": { # The bulleted lists contained in this text, keyed by list ID.
- "a_key": { # 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.
- "nestingLevel": { # A map of nesting levels to the properties of bullets at the associated
- # level. A list has at most nine levels of nesting, so the possible values
- # for the keys of this map are 0 through 8, inclusive.
- "a_key": { # Contains properties describing the look and feel of a list bullet at a given
- # level of nesting.
- "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The style of a bullet at this level of nesting.
- #
- # 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.
- "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- "bold": True or False, # Whether or not the text is bold.
- "baselineOffset": "A String", # The text's vertical offset from its normal position.
- #
- # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
- # rendered in a smaller font size, computed based on the `font_size` field.
- # The `font_size` itself is not affected by changes in this field.
- "strikethrough": True or False, # Whether or not the text is struck through.
- "smallCaps": True or False, # Whether or not the text is in small capital letters.
- "fontFamily": "A String", # The font family of the text.
- #
- # The font family can be any font from the Font menu in Slides or from
- # [Google Fonts] (https://fonts.google.com/). If the font name is
- # unrecognized, the text is rendered in `Arial`.
- #
- # Some fonts can affect the weight of the text. If an update request
- # specifies values for both `font_family` and `bold`, the explicitly-set
- # `bold` value is used.
- "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
- # are not inherited from parent text.
- #
- # Changing the link in an update request causes some other changes to the
- # text style of the range:
- #
- # * When setting a link, the text foreground color will be set to
- # ThemeColorType.HYPERLINK and the text will
- # be underlined. If these fields are modified in the same
- # request, those values will be used instead of the link defaults.
- # * Setting a link on a text range that overlaps with an existing link will
- # also update the existing link to point to the new URL.
- # * Links are not settable on newline characters. As a result, setting a link
- # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
- # will separate the newline character(s) into their own text runs. The
- # link will be applied separately to the runs before and after the newline.
- # * Removing a link will update the text style of the range to match the
- # style of the preceding text (or the default text styles if the preceding
- # text is another link) unless different styles are being set in the same
- # request.
- "url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
- "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
- # in the presentation. There may not be a slide at this index.
- "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
- # addressed by its position.
- },
- "italic": True or False, # Whether or not the text is italicized.
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
- "underline": True or False, # Whether or not the text is underlined.
- "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- },
- },
- },
- "listId": "A String", # The ID of the list.
- },
- },
},
"shapeProperties": { # The properties of a Shape. # The properties of the shape.
#
@@ -11458,10 +15605,10 @@
"link": { # A hypertext link. # The hyperlink destination of the shape. If unset, there is no link. Links
# are not inherited from parent placeholders.
"url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
"slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
# in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
"relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
# addressed by its position.
},
@@ -11474,14 +15621,6 @@
# 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.
- "dashStyle": "A String", # The dash style of the outline.
- "propertyState": "A String", # The outline property state.
- #
- # Updating the the outline on a page element will implicitly update this
- # field to`RENDERED`, unless another value is specified in the same request.
- # To have no outline on a page element, set this field to `NOT_RENDERED`. In
- # this case, any other outline fields set in the same request will be
- # ignored.
"outlineFill": { # The fill of the outline. # The fill of the outline.
"solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill.
# specified color value.
@@ -11505,6 +15644,14 @@
# a value of 0.0 corresponds to a completely transparent color.
},
},
+ "propertyState": "A String", # The outline property state.
+ #
+ # Updating the the outline on a page element will implicitly update this
+ # field to`RENDERED`, unless another value is specified in the same request.
+ # To have no outline on a page element, set this field to `NOT_RENDERED`. In
+ # this case, any other outline fields set in the same request will be
+ # ignored.
+ "dashStyle": "A String", # The dash style of the outline.
"weight": { # A magnitude in a single direction in the specified units. # The thickness of the outline.
"magnitude": 3.14, # The magnitude.
"unit": "A String", # The units for magnitude.
@@ -11531,7 +15678,10 @@
# a linked chart embedded from Google Sheets.
"chartId": 42, # The ID of the specific chart in the Google Sheets spreadsheet that is
# embedded.
- "spreadsheetId": "A String", # The ID of the Google Sheets spreadsheet that contains the source chart.
+ "contentUrl": "A String", # The URL of an image of the embedded chart, with a default lifetime of 30
+ # minutes. This URL is tagged with the account of the requester. Anyone with
+ # the URL effectively accesses the image as the original requester. Access to
+ # the image may be lost if the presentation's sharing settings change.
"sheetsChartProperties": { # The properties of the SheetsChart. # The properties of the Sheets chart.
"chartImageProperties": { # The properties of the Image. # The properties of the embedded chart image.
"outline": { # The outline of a PageElement. # The outline of the image. If not set, the the image has no outline.
@@ -11540,14 +15690,6 @@
# 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.
- "dashStyle": "A String", # The dash style of the outline.
- "propertyState": "A String", # The outline property state.
- #
- # Updating the the outline on a page element will implicitly update this
- # field to`RENDERED`, unless another value is specified in the same request.
- # To have no outline on a page element, set this field to `NOT_RENDERED`. In
- # this case, any other outline fields set in the same request will be
- # ignored.
"outlineFill": { # The fill of the outline. # The fill of the outline.
"solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill.
# specified color value.
@@ -11571,6 +15713,14 @@
# a value of 0.0 corresponds to a completely transparent color.
},
},
+ "propertyState": "A String", # The outline property state.
+ #
+ # Updating the the outline on a page element will implicitly update this
+ # field to`RENDERED`, unless another value is specified in the same request.
+ # To have no outline on a page element, set this field to `NOT_RENDERED`. In
+ # this case, any other outline fields set in the same request will be
+ # ignored.
+ "dashStyle": "A String", # The dash style of the outline.
"weight": { # A magnitude in a single direction in the specified units. # The thickness of the outline.
"magnitude": 3.14, # The magnitude.
"unit": "A String", # The units for magnitude.
@@ -11581,7 +15731,11 @@
"recolor": { # A recolor effect applied on an image. # The recolor effect of the image. If not set, the image is not recolored.
# This property is read-only.
"recolorStops": [ # The recolor effect is represented by a gradient, which is a list of color
- # stops. This property is read-only.
+ # stops.
+ #
+ # The colors in the gradient will replace the corresponding colors at
+ # the same position in the color palette and apply to the image. This
+ # property is read-only.
{ # A color and position in a gradient band.
"color": { # A themeable solid color value. # The color of the gradient stop.
"themeColor": "A String", # An opaque theme color.
@@ -11591,19 +15745,24 @@
"red": 3.14, # The red component of the color, from 0.0 to 1.0.
},
},
- "position": 3.14, # The relative position of the color stop in the gradient band measured
- # in percentage. The value should be in the interval [0.0, 1.0].
"alpha": 3.14, # The alpha value of this color in the gradient band. Defaults to 1.0,
# fully opaque.
+ "position": 3.14, # The relative position of the color stop in the gradient band measured
+ # in percentage. The value should be in the interval [0.0, 1.0].
},
],
+ "name": "A String", # The name of the recolor effect.
+ #
+ # The name is determined from the `recolor_stops` by matching the gradient
+ # against the colors in the page's current color scheme. This property is
+ # read-only.
},
"link": { # A hypertext link. # The hyperlink destination of the image. If unset, there is no link.
"url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
"slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
# in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
"relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
# addressed by its position.
},
@@ -11636,12 +15795,12 @@
# object's original width.
"angle": 3.14, # The rotation angle of the crop window around its center, in radians.
# Rotation angle is applied after the offset.
- "bottomOffset": 3.14, # The offset specifies the bottom edge of the crop rectangle that is located
- # above the original bounding rectangle bottom edge, relative to the object's
- # original height.
"rightOffset": 3.14, # The offset specifies the right edge of the crop rectangle that is located
# to the left of the original bounding rectangle right edge, relative to the
# object's original width.
+ "bottomOffset": 3.14, # The offset specifies the bottom edge of the crop rectangle that is located
+ # above the original bounding rectangle bottom edge, relative to the object's
+ # original height.
"topOffset": 3.14, # The offset specifies the top edge of the crop rectangle that is located
# below the original bounding rectangle top edge, relative to the object's
# original height.
@@ -11704,15 +15863,14 @@
# [-1.0, 1.0], where 0 means no effect. This property is read-only.
},
},
- "contentUrl": "A String", # The URL of an image of the embedded chart, with a default lifetime of 30
- # minutes. This URL is tagged with the account of the requester. Anyone with
- # the URL effectively accesses the image as the original requester. Access to
- # the image may be lost if the presentation's sharing settings change.
+ "spreadsheetId": "A String", # The ID of the Google Sheets spreadsheet that contains the source chart.
},
"video": { # A PageElement kind representing a # A video page element.
# video.
"url": "A String", # An URL to a video. The URL is valid as long as the source video
# exists and sharing settings do not change.
+ "source": "A String", # The video source.
+ "id": "A String", # The video source's unique identifier for this video.
"videoProperties": { # The properties of the Video. # The properties of the video.
"outline": { # The outline of a PageElement. # The outline of the video. The default outline matches the defaults for new
# videos created in the Slides editor.
@@ -11721,14 +15879,6 @@
# 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.
- "dashStyle": "A String", # The dash style of the outline.
- "propertyState": "A String", # The outline property state.
- #
- # Updating the the outline on a page element will implicitly update this
- # field to`RENDERED`, unless another value is specified in the same request.
- # To have no outline on a page element, set this field to `NOT_RENDERED`. In
- # this case, any other outline fields set in the same request will be
- # ignored.
"outlineFill": { # The fill of the outline. # The fill of the outline.
"solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill.
# specified color value.
@@ -11752,14 +15902,20 @@
# a value of 0.0 corresponds to a completely transparent color.
},
},
+ "propertyState": "A String", # The outline property state.
+ #
+ # Updating the the outline on a page element will implicitly update this
+ # field to`RENDERED`, unless another value is specified in the same request.
+ # To have no outline on a page element, set this field to `NOT_RENDERED`. In
+ # this case, any other outline fields set in the same request will be
+ # ignored.
+ "dashStyle": "A String", # The dash style of the outline.
"weight": { # A magnitude in a single direction in the specified units. # The thickness of the outline.
"magnitude": 3.14, # The magnitude.
"unit": "A String", # The units for magnitude.
},
},
},
- "id": "A String", # The video source's unique identifier for this video.
- "source": "A String", # The video source.
},
"table": { # A PageElement kind representing a # A table page element.
# table.
@@ -11786,6 +15942,114 @@
{ # Properties and contents of each table cell.
"text": { # The general text content. The text must reside in a compatible shape (e.g. # The text content of the cell.
# text box or rectangle) or a table cell in a page.
+ "lists": { # The bulleted lists contained in this text, keyed by list ID.
+ "a_key": { # 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.
+ "nestingLevel": { # A map of nesting levels to the properties of bullets at the associated
+ # level. A list has at most nine levels of nesting, so the possible values
+ # for the keys of this map are 0 through 8, inclusive.
+ "a_key": { # Contains properties describing the look and feel of a list bullet at a given
+ # level of nesting.
+ "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The style of a bullet at this level of nesting.
+ #
+ # 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.
+ "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ "bold": True or False, # Whether or not the text is rendered as bold.
+ "baselineOffset": "A String", # The text's vertical offset from its normal position.
+ #
+ # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
+ # rendered in a smaller font size, computed based on the `font_size` field.
+ # The `font_size` itself is not affected by changes in this field.
+ "strikethrough": True or False, # Whether or not the text is struck through.
+ "smallCaps": True or False, # Whether or not the text is in small capital letters.
+ "fontFamily": "A String", # The font family of the text.
+ #
+ # The font family can be any font from the Font menu in Slides or from
+ # [Google Fonts] (https://fonts.google.com/). If the font name is
+ # unrecognized, the text is rendered in `Arial`.
+ #
+ # Some fonts can affect the weight of the text. If an update request
+ # specifies values for both `font_family` and `bold`, the explicitly-set
+ # `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "italic": True or False, # Whether or not the text is italicized.
+ "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
+ # are not inherited from parent text.
+ #
+ # Changing the link in an update request causes some other changes to the
+ # text style of the range:
+ #
+ # * When setting a link, the text foreground color will be set to
+ # ThemeColorType.HYPERLINK and the text will
+ # be underlined. If these fields are modified in the same
+ # request, those values will be used instead of the link defaults.
+ # * Setting a link on a text range that overlaps with an existing link will
+ # also update the existing link to point to the new URL.
+ # * Links are not settable on newline characters. As a result, setting a link
+ # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
+ # will separate the newline character(s) into their own text runs. The
+ # link will be applied separately to the runs before and after the newline.
+ # * Removing a link will update the text style of the range to match the
+ # style of the preceding text (or the default text styles if the preceding
+ # text is another link) unless different styles are being set in the same
+ # request.
+ "url": "A String", # If set, indicates this is a link to the external web page at this URL.
+ "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
+ # in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
+ "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
+ # addressed by its position.
+ },
+ "underline": True or False, # Whether or not the text is underlined.
+ "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ },
+ },
+ },
+ "listId": "A String", # The ID of the list.
+ },
+ },
"textElements": [ # The text contents broken down into its component parts, including styling
# information. This property is read-only.
{ # A TextElement describes the content of a range of indices in the text content
@@ -11822,7 +16086,7 @@
},
},
},
- "bold": True or False, # Whether or not the text is bold.
+ "bold": True or False, # Whether or not the text is rendered as bold.
"baselineOffset": "A String", # The text's vertical offset from its normal position.
#
# Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
@@ -11839,6 +16103,12 @@
# Some fonts can affect the weight of the text. If an update request
# specifies values for both `font_family` and `bold`, the explicitly-set
# `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "italic": True or False, # Whether or not the text is italicized.
"link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
# are not inherited from parent text.
#
@@ -11860,19 +16130,13 @@
# text is another link) unless different styles are being set in the same
# request.
"url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
"slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
# in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
"relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
# addressed by its position.
},
- "italic": True or False, # Whether or not the text is italicized.
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
"underline": True or False, # Whether or not the text is underlined.
"backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
# transparent, depending on if the `opaque_color` field in it is set.
@@ -11912,40 +16176,40 @@
# placeholder.
#
# Inherited paragraph styles are represented as unset fields in this message.
- "spacingMode": "A String", # The spacing mode for the paragraph. This property is read-only.
- "direction": "A String", # The text direction of this paragraph. This property is read-only.
+ "spacingMode": "A String", # The spacing mode for the paragraph.
+ "direction": "A String", # The text direction of this paragraph. If unset, the value defaults to
+ # LEFT_TO_RIGHT
+ # since text direction is not inherited.
"spaceBelow": { # A magnitude in a single direction in the specified units. # The amount of extra space above the paragraph. If unset, the value is
- # inherited from the parent. This property is read-only.
+ # inherited from the parent.
"magnitude": 3.14, # The magnitude.
"unit": "A String", # The units for magnitude.
},
"lineSpacing": 3.14, # The amount of space between lines, as a percentage of normal, where normal
# is represented as 100.0. If unset, the value is inherited from the parent.
- # This property is read-only.
"indentStart": { # A magnitude in a single direction in the specified units. # The amount indentation for the paragraph on the side that corresponds to
# the start of the text, based on the current text direction. If unset, the
- # value is inherited from the parent. This property is read-only.
+ # value is inherited from the parent.
"magnitude": 3.14, # The magnitude.
"unit": "A String", # The units for magnitude.
},
"spaceAbove": { # A magnitude in a single direction in the specified units. # The amount of extra space above the paragraph. If unset, the value is
- # inherited from the parent. This property is read-only.
+ # inherited from the parent.
"magnitude": 3.14, # The magnitude.
"unit": "A String", # The units for magnitude.
},
"indentEnd": { # A magnitude in a single direction in the specified units. # The amount indentation for the paragraph on the side that corresponds to
# the end of the text, based on the current text direction. If unset, the
- # value is inherited from the parent. This property is read-only.
+ # value is inherited from the parent.
"magnitude": 3.14, # The magnitude.
"unit": "A String", # The units for magnitude.
},
"indentFirstLine": { # A magnitude in a single direction in the specified units. # The amount of indentation for the start of the first line of the paragraph.
- # If unset, the value is inherited from the parent. This property is
- # read-only.
+ # If unset, the value is inherited from the parent.
"magnitude": 3.14, # The magnitude.
"unit": "A String", # The units for magnitude.
},
- "alignment": "A String", # The text alignment for this paragraph. This property is read-only.
+ "alignment": "A String", # The text alignment for this paragraph.
},
"bullet": { # Describes the bullet of a paragraph. # The bullet for this paragraph. If not present, the paragraph does not
# belong to a list.
@@ -11980,7 +16244,7 @@
},
},
},
- "bold": True or False, # Whether or not the text is bold.
+ "bold": True or False, # Whether or not the text is rendered as bold.
"baselineOffset": "A String", # The text's vertical offset from its normal position.
#
# Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
@@ -11997,6 +16261,12 @@
# Some fonts can affect the weight of the text. If an update request
# specifies values for both `font_family` and `bold`, the explicitly-set
# `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "italic": True or False, # Whether or not the text is italicized.
"link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
# are not inherited from parent text.
#
@@ -12018,19 +16288,13 @@
# text is another link) unless different styles are being set in the same
# request.
"url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
"slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
# in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
"relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
# addressed by its position.
},
- "italic": True or False, # Whether or not the text is italicized.
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
"underline": True or False, # Whether or not the text is underlined.
"backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
# transparent, depending on if the `opaque_color` field in it is set.
@@ -12085,7 +16349,7 @@
},
},
},
- "bold": True or False, # Whether or not the text is bold.
+ "bold": True or False, # Whether or not the text is rendered as bold.
"baselineOffset": "A String", # The text's vertical offset from its normal position.
#
# Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
@@ -12102,6 +16366,12 @@
# Some fonts can affect the weight of the text. If an update request
# specifies values for both `font_family` and `bold`, the explicitly-set
# `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "italic": True or False, # Whether or not the text is italicized.
"link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
# are not inherited from parent text.
#
@@ -12123,19 +16393,13 @@
# text is another link) unless different styles are being set in the same
# request.
"url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
"slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
# in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
"relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
# addressed by its position.
},
- "italic": True or False, # Whether or not the text is italicized.
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
"underline": True or False, # Whether or not the text is underlined.
"backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
# transparent, depending on if the `opaque_color` field in it is set.
@@ -12153,116 +16417,7 @@
},
},
],
- "lists": { # The bulleted lists contained in this text, keyed by list ID.
- "a_key": { # 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.
- "nestingLevel": { # A map of nesting levels to the properties of bullets at the associated
- # level. A list has at most nine levels of nesting, so the possible values
- # for the keys of this map are 0 through 8, inclusive.
- "a_key": { # Contains properties describing the look and feel of a list bullet at a given
- # level of nesting.
- "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The style of a bullet at this level of nesting.
- #
- # 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.
- "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- "bold": True or False, # Whether or not the text is bold.
- "baselineOffset": "A String", # The text's vertical offset from its normal position.
- #
- # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
- # rendered in a smaller font size, computed based on the `font_size` field.
- # The `font_size` itself is not affected by changes in this field.
- "strikethrough": True or False, # Whether or not the text is struck through.
- "smallCaps": True or False, # Whether or not the text is in small capital letters.
- "fontFamily": "A String", # The font family of the text.
- #
- # The font family can be any font from the Font menu in Slides or from
- # [Google Fonts] (https://fonts.google.com/). If the font name is
- # unrecognized, the text is rendered in `Arial`.
- #
- # Some fonts can affect the weight of the text. If an update request
- # specifies values for both `font_family` and `bold`, the explicitly-set
- # `bold` value is used.
- "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
- # are not inherited from parent text.
- #
- # Changing the link in an update request causes some other changes to the
- # text style of the range:
- #
- # * When setting a link, the text foreground color will be set to
- # ThemeColorType.HYPERLINK and the text will
- # be underlined. If these fields are modified in the same
- # request, those values will be used instead of the link defaults.
- # * Setting a link on a text range that overlaps with an existing link will
- # also update the existing link to point to the new URL.
- # * Links are not settable on newline characters. As a result, setting a link
- # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
- # will separate the newline character(s) into their own text runs. The
- # link will be applied separately to the runs before and after the newline.
- # * Removing a link will update the text style of the range to match the
- # style of the preceding text (or the default text styles if the preceding
- # text is another link) unless different styles are being set in the same
- # request.
- "url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
- "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
- # in the presentation. There may not be a slide at this index.
- "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
- # addressed by its position.
- },
- "italic": True or False, # Whether or not the text is italicized.
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
- "underline": True or False, # Whether or not the text is underlined.
- "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- },
- },
- },
- "listId": "A String", # The ID of the list.
- },
- },
},
- "rowSpan": 42, # Row span of the cell.
"tableCellProperties": { # The properties of the TableCell. # The properties of the table cell.
"tableCellBackgroundFill": { # The table cell background fill. # The background fill of the table cell. The default fill matches the fill
# for newly created table cells in the Slides editor.
@@ -12295,11 +16450,12 @@
# case, any other fill fields set in the same request will be ignored.
},
},
+ "rowSpan": 42, # Row span of the cell.
+ "columnSpan": 42, # Column span of the cell.
"location": { # A location of a single table cell within a table. # The location of the cell within the table.
"rowIndex": 42, # The 0-based row index.
"columnIndex": 42, # The 0-based column index.
},
- "columnSpan": 42, # Column span of the cell.
},
],
"rowHeight": { # A magnitude in a single direction in the specified units. # Height of a row.
@@ -12325,10 +16481,10 @@
"endArrow": "A String", # The style of the arrow at the end of the line.
"link": { # A hypertext link. # The hyperlink destination of the line. If unset, there is no link.
"url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
"slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
# in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
"relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
# addressed by its position.
},
@@ -12378,9 +16534,28 @@
},
},
],
+ "notesProperties": { # The properties of Page that are only # Notes specific properties. Only set if page_type = NOTES.
+ # relevant for pages with page_type NOTES.
+ "speakerNotesObjectId": "A String", # The object ID of the shape on this notes page that contains the speaker
+ # notes for the corresponding slide.
+ # The actual shape may not always exist on the notes page. Inserting text
+ # using this object ID will automatically create the shape. In this case, the
+ # actual shape may have different object ID. The `GetPresentation` or
+ # `GetPage` action will always return the latest object ID.
+ },
"objectId": "A String", # The object ID for this page. Object IDs used by
# Page and
# PageElement share the same namespace.
+ "revisionId": "A String", # The revision ID of the presentation containing this page. Can be used in
+ # update requests to assert that the presentation revision hasn't changed
+ # since the last read operation. Only populated if the user has edit access
+ # to the presentation.
+ #
+ # The format of the revision ID may change over time, so it should be treated
+ # opaquely. A returned revision ID is only guaranteed to be valid for 24
+ # hours after it has been returned and cannot be shared across
+ # users. Callers can assume that if two revision IDs are equal then the
+ # presentation has not changed.
"pageProperties": { # The properties of the Page. # The properties of the page.
#
# The page will inherit properties from the parent page. Depending on the page
@@ -12462,6 +16637,15 @@
"pageType": "A String", # The type of the page.
"slideProperties": { # The properties of Page that are only # Slide specific properties. Only set if page_type = SLIDE.
# relevant for pages with page_type SLIDE.
+ "notesPage": # Object with schema name: Page # The notes page that this slide is associated with. It defines the visual
+ # appearance of a notes page when printing or exporting slides with speaker
+ # notes. A notes page inherits properties from the
+ # notes master.
+ # The placeholder shape with type BODY on the notes page contains the speaker
+ # notes for this slide. The ID of this shape is identified by the
+ # speakerNotesObjectId field.
+ # The notes page is read-only except for the text content and styles of the
+ # speaker notes shape.
"masterObjectId": "A String", # The object ID of the master that this slide is based on.
"layoutObjectId": "A String", # The object ID of the layout that this slide is based on.
},
@@ -12486,6 +16670,1888 @@
{ # A Google Slides presentation.
"presentationId": "A String", # The ID of the presentation.
+ "notesMaster": { # A page in a presentation. # The notes master in the presentation. It serves three purposes:
+ #
+ # - Placeholder shapes on a notes master contain the default text styles and
+ # shape properties of all placeholder shapes on notes pages. Specifically,
+ # a `SLIDE_IMAGE` placeholder shape contains the slide thumbnail, and a
+ # `BODY` placeholder shape contains the speaker notes.
+ # - The notes master page properties define the common page properties
+ # inherited by all notes pages.
+ # - Any other shapes on the notes master will appear on all notes pages.
+ #
+ # The notes master is read-only.
+ "layoutProperties": { # The properties of Page are only # Layout specific properties. Only set if page_type = LAYOUT.
+ # relevant for pages with page_type LAYOUT.
+ "displayName": "A String", # The human readable name of the layout in the presentation's locale.
+ "name": "A String", # The name of the layout.
+ "masterObjectId": "A String", # The object ID of the master that this layout is based on.
+ },
+ "pageElements": [ # The page elements rendered on the page.
+ { # A visual element rendered on a page.
+ "wordArt": { # A PageElement kind representing # A word art page element.
+ # word art.
+ "renderedText": "A String", # The text rendered as word art.
+ },
+ "description": "A String", # The description of the page element. Combined with title to display alt
+ # text.
+ "objectId": "A String", # The object ID for this page element. Object IDs used by
+ # google.apps.slides.v1.Page and
+ # google.apps.slides.v1.PageElement share the same namespace.
+ "title": "A String", # The title of the page element. Combined with description to display alt
+ # text.
+ "image": { # A PageElement kind representing an # An image page element.
+ # image.
+ "contentUrl": "A String", # An URL to an image with a default lifetime of 30 minutes.
+ # This URL is tagged with the account of the requester. Anyone with the URL
+ # effectively accesses the image as the original requester. Access to the
+ # image may be lost if the presentation's sharing settings change.
+ "imageProperties": { # The properties of the Image. # The properties of the image.
+ "outline": { # The outline of a PageElement. # The outline of the image. If not set, the the image has no outline.
+ #
+ # 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. # The fill of the outline.
+ "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill.
+ # specified color value.
+ #
+ # If any field is unset, its value may be inherited from a parent placeholder
+ # if it exists.
+ "color": { # A themeable solid color value. # The color value of the solid fill.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel.
+ # That is, the final pixel color is defined by the equation:
+ #
+ # pixel color = alpha * (color) + (1.0 - alpha) * (background color)
+ #
+ # This means that a value of 1.0 corresponds to a solid color, whereas
+ # a value of 0.0 corresponds to a completely transparent color.
+ },
+ },
+ "propertyState": "A String", # The outline property state.
+ #
+ # Updating the the outline on a page element will implicitly update this
+ # field to`RENDERED`, unless another value is specified in the same request.
+ # To have no outline on a page element, set this field to `NOT_RENDERED`. In
+ # this case, any other outline fields set in the same request will be
+ # ignored.
+ "dashStyle": "A String", # The dash style of the outline.
+ "weight": { # A magnitude in a single direction in the specified units. # The thickness of the outline.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ },
+ "brightness": 3.14, # The brightness effect of the image. The value should be in the interval
+ # [-1.0, 1.0], where 0 means no effect. This property is read-only.
+ "recolor": { # A recolor effect applied on an image. # The recolor effect of the image. If not set, the image is not recolored.
+ # This property is read-only.
+ "recolorStops": [ # The recolor effect is represented by a gradient, which is a list of color
+ # stops.
+ #
+ # The colors in the gradient will replace the corresponding colors at
+ # the same position in the color palette and apply to the image. This
+ # property is read-only.
+ { # A color and position in a gradient band.
+ "color": { # A themeable solid color value. # The color of the gradient stop.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ "alpha": 3.14, # The alpha value of this color in the gradient band. Defaults to 1.0,
+ # fully opaque.
+ "position": 3.14, # The relative position of the color stop in the gradient band measured
+ # in percentage. The value should be in the interval [0.0, 1.0].
+ },
+ ],
+ "name": "A String", # The name of the recolor effect.
+ #
+ # The name is determined from the `recolor_stops` by matching the gradient
+ # against the colors in the page's current color scheme. This property is
+ # read-only.
+ },
+ "link": { # A hypertext link. # The hyperlink destination of the image. If unset, there is no link.
+ "url": "A String", # If set, indicates this is a link to the external web page at this URL.
+ "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
+ # in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
+ "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
+ # addressed by its position.
+ },
+ "transparency": 3.14, # The transparency effect of the image. The value should be in the interval
+ # [0.0, 1.0], where 0 means no effect and 1 means completely transparent.
+ # This property is read-only.
+ "cropProperties": { # The crop properties of an object enclosed in a container. For example, an # The crop properties of the image. If not set, the image is not cropped.
+ # This property is read-only.
+ # 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.
+ "leftOffset": 3.14, # The offset specifies the left edge of the crop rectangle that is located to
+ # the right of the original bounding rectangle left edge, relative to the
+ # object's original width.
+ "angle": 3.14, # The rotation angle of the crop window around its center, in radians.
+ # Rotation angle is applied after the offset.
+ "rightOffset": 3.14, # The offset specifies the right edge of the crop rectangle that is located
+ # to the left of the original bounding rectangle right edge, relative to the
+ # object's original width.
+ "bottomOffset": 3.14, # The offset specifies the bottom edge of the crop rectangle that is located
+ # above the original bounding rectangle bottom edge, relative to the object's
+ # original height.
+ "topOffset": 3.14, # The offset specifies the top edge of the crop rectangle that is located
+ # below the original bounding rectangle top edge, relative to the object's
+ # original height.
+ },
+ "shadow": { # The shadow properties of a page element. # The shadow of the image. If not set, the image has no shadow. This property
+ # is read-only.
+ #
+ # 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.
+ "color": { # A themeable solid color value. # The shadow color value.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ "transform": { # AffineTransform uses a 3x3 matrix with an implied last row of [ 0 0 1 ] # Transform that encodes the translate, scale, and skew of the shadow,
+ # relative to the alignment position.
+ # 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.
+ "translateX": 3.14, # The X coordinate translation element.
+ "translateY": 3.14, # The Y coordinate translation element.
+ "scaleX": 3.14, # The X coordinate scaling element.
+ "scaleY": 3.14, # The Y coordinate scaling element.
+ "shearY": 3.14, # The Y coordinate shearing element.
+ "shearX": 3.14, # The X coordinate shearing element.
+ "unit": "A String", # The units for translate elements.
+ },
+ "propertyState": "A String", # The shadow property state.
+ #
+ # Updating the the shadow on a page element will implicitly update this field
+ # to `RENDERED`, unless another value is specified in the same request. To
+ # have no shadow on a page element, set this field to `NOT_RENDERED`. In this
+ # case, any other shadow fields set in the same request will be ignored.
+ "blurRadius": { # A magnitude in a single direction in the specified units. # The radius of the shadow blur. The larger the radius, the more diffuse the
+ # shadow becomes.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "alpha": 3.14, # The alpha of the shadow's color, from 0.0 to 1.0.
+ "type": "A String", # The type of the shadow.
+ "alignment": "A String", # The alignment point of the shadow, that sets the origin for translate,
+ # scale and skew of the shadow.
+ "rotateWithShape": True or False, # Whether the shadow should rotate with the shape.
+ },
+ "contrast": 3.14, # The contrast effect of the image. The value should be in the interval
+ # [-1.0, 1.0], where 0 means no effect. This property is read-only.
+ },
+ },
+ "transform": { # AffineTransform uses a 3x3 matrix with an implied last row of [ 0 0 1 ] # The transform of the page element.
+ # 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.
+ "translateX": 3.14, # The X coordinate translation element.
+ "translateY": 3.14, # The Y coordinate translation element.
+ "scaleX": 3.14, # The X coordinate scaling element.
+ "scaleY": 3.14, # The Y coordinate scaling element.
+ "shearY": 3.14, # The Y coordinate shearing element.
+ "shearX": 3.14, # The X coordinate shearing element.
+ "unit": "A String", # The units for translate elements.
+ },
+ "shape": { # A PageElement kind representing a # A generic shape.
+ # generic shape that does not have a more specific classification.
+ "text": { # The general text content. The text must reside in a compatible shape (e.g. # The text content of the shape.
+ # text box or rectangle) or a table cell in a page.
+ "lists": { # The bulleted lists contained in this text, keyed by list ID.
+ "a_key": { # 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.
+ "nestingLevel": { # A map of nesting levels to the properties of bullets at the associated
+ # level. A list has at most nine levels of nesting, so the possible values
+ # for the keys of this map are 0 through 8, inclusive.
+ "a_key": { # Contains properties describing the look and feel of a list bullet at a given
+ # level of nesting.
+ "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The style of a bullet at this level of nesting.
+ #
+ # 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.
+ "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ "bold": True or False, # Whether or not the text is rendered as bold.
+ "baselineOffset": "A String", # The text's vertical offset from its normal position.
+ #
+ # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
+ # rendered in a smaller font size, computed based on the `font_size` field.
+ # The `font_size` itself is not affected by changes in this field.
+ "strikethrough": True or False, # Whether or not the text is struck through.
+ "smallCaps": True or False, # Whether or not the text is in small capital letters.
+ "fontFamily": "A String", # The font family of the text.
+ #
+ # The font family can be any font from the Font menu in Slides or from
+ # [Google Fonts] (https://fonts.google.com/). If the font name is
+ # unrecognized, the text is rendered in `Arial`.
+ #
+ # Some fonts can affect the weight of the text. If an update request
+ # specifies values for both `font_family` and `bold`, the explicitly-set
+ # `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "italic": True or False, # Whether or not the text is italicized.
+ "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
+ # are not inherited from parent text.
+ #
+ # Changing the link in an update request causes some other changes to the
+ # text style of the range:
+ #
+ # * When setting a link, the text foreground color will be set to
+ # ThemeColorType.HYPERLINK and the text will
+ # be underlined. If these fields are modified in the same
+ # request, those values will be used instead of the link defaults.
+ # * Setting a link on a text range that overlaps with an existing link will
+ # also update the existing link to point to the new URL.
+ # * Links are not settable on newline characters. As a result, setting a link
+ # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
+ # will separate the newline character(s) into their own text runs. The
+ # link will be applied separately to the runs before and after the newline.
+ # * Removing a link will update the text style of the range to match the
+ # style of the preceding text (or the default text styles if the preceding
+ # text is another link) unless different styles are being set in the same
+ # request.
+ "url": "A String", # If set, indicates this is a link to the external web page at this URL.
+ "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
+ # in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
+ "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
+ # addressed by its position.
+ },
+ "underline": True or False, # Whether or not the text is underlined.
+ "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ },
+ },
+ },
+ "listId": "A String", # The ID of the list.
+ },
+ },
+ "textElements": [ # The text contents broken down into its component parts, including styling
+ # information. This property is read-only.
+ { # A TextElement describes the content of a range of indices in the text content
+ # of a Shape or TableCell.
+ "autoText": { # A TextElement kind that represents auto text. # A TextElement representing a spot in the text that is dynamically
+ # replaced with content that can change over time.
+ "content": "A String", # The rendered content of this auto text, if available.
+ "style": { # Represents the styling that can be applied to a TextRun. # The styling applied to this auto text.
+ #
+ # 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.
+ "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ "bold": True or False, # Whether or not the text is rendered as bold.
+ "baselineOffset": "A String", # The text's vertical offset from its normal position.
+ #
+ # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
+ # rendered in a smaller font size, computed based on the `font_size` field.
+ # The `font_size` itself is not affected by changes in this field.
+ "strikethrough": True or False, # Whether or not the text is struck through.
+ "smallCaps": True or False, # Whether or not the text is in small capital letters.
+ "fontFamily": "A String", # The font family of the text.
+ #
+ # The font family can be any font from the Font menu in Slides or from
+ # [Google Fonts] (https://fonts.google.com/). If the font name is
+ # unrecognized, the text is rendered in `Arial`.
+ #
+ # Some fonts can affect the weight of the text. If an update request
+ # specifies values for both `font_family` and `bold`, the explicitly-set
+ # `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "italic": True or False, # Whether or not the text is italicized.
+ "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
+ # are not inherited from parent text.
+ #
+ # Changing the link in an update request causes some other changes to the
+ # text style of the range:
+ #
+ # * When setting a link, the text foreground color will be set to
+ # ThemeColorType.HYPERLINK and the text will
+ # be underlined. If these fields are modified in the same
+ # request, those values will be used instead of the link defaults.
+ # * Setting a link on a text range that overlaps with an existing link will
+ # also update the existing link to point to the new URL.
+ # * Links are not settable on newline characters. As a result, setting a link
+ # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
+ # will separate the newline character(s) into their own text runs. The
+ # link will be applied separately to the runs before and after the newline.
+ # * Removing a link will update the text style of the range to match the
+ # style of the preceding text (or the default text styles if the preceding
+ # text is another link) unless different styles are being set in the same
+ # request.
+ "url": "A String", # If set, indicates this is a link to the external web page at this URL.
+ "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
+ # in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
+ "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
+ # addressed by its position.
+ },
+ "underline": True or False, # Whether or not the text is underlined.
+ "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ },
+ "type": "A String", # The type of this auto text.
+ },
+ "endIndex": 42, # The zero-based end index of this text element, exclusive, in Unicode code
+ # units.
+ "startIndex": 42, # The zero-based start index of this text element, in Unicode code units.
+ "paragraphMarker": { # A TextElement kind that represents the beginning of a new paragraph. # A marker representing the beginning of a new paragraph.
+ #
+ # The `start_index` and `end_index` of this TextElement represent the
+ # range of the paragraph. Other TextElements with an index range contained
+ # inside this paragraph's range are considered to be part of this
+ # paragraph. The range of indices of two separate paragraphs will never
+ # overlap.
+ "style": { # Styles that apply to a whole paragraph. # The paragraph's style
+ #
+ # 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.
+ "spacingMode": "A String", # The spacing mode for the paragraph.
+ "direction": "A String", # The text direction of this paragraph. If unset, the value defaults to
+ # LEFT_TO_RIGHT
+ # since text direction is not inherited.
+ "spaceBelow": { # A magnitude in a single direction in the specified units. # The amount of extra space above the paragraph. If unset, the value is
+ # inherited from the parent.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "lineSpacing": 3.14, # The amount of space between lines, as a percentage of normal, where normal
+ # is represented as 100.0. If unset, the value is inherited from the parent.
+ "indentStart": { # A magnitude in a single direction in the specified units. # The amount indentation for the paragraph on the side that corresponds to
+ # the start of the text, based on the current text direction. If unset, the
+ # value is inherited from the parent.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "spaceAbove": { # A magnitude in a single direction in the specified units. # The amount of extra space above the paragraph. If unset, the value is
+ # inherited from the parent.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "indentEnd": { # A magnitude in a single direction in the specified units. # The amount indentation for the paragraph on the side that corresponds to
+ # the end of the text, based on the current text direction. If unset, the
+ # value is inherited from the parent.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "indentFirstLine": { # A magnitude in a single direction in the specified units. # The amount of indentation for the start of the first line of the paragraph.
+ # If unset, the value is inherited from the parent.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "alignment": "A String", # The text alignment for this paragraph.
+ },
+ "bullet": { # Describes the bullet of a paragraph. # The bullet for this paragraph. If not present, the paragraph does not
+ # belong to a list.
+ "nestingLevel": 42, # The nesting level of this paragraph in the list.
+ "listId": "A String", # The ID of the list this paragraph belongs to.
+ "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The paragraph specific text style applied to this bullet.
+ #
+ # 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.
+ "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ "bold": True or False, # Whether or not the text is rendered as bold.
+ "baselineOffset": "A String", # The text's vertical offset from its normal position.
+ #
+ # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
+ # rendered in a smaller font size, computed based on the `font_size` field.
+ # The `font_size` itself is not affected by changes in this field.
+ "strikethrough": True or False, # Whether or not the text is struck through.
+ "smallCaps": True or False, # Whether or not the text is in small capital letters.
+ "fontFamily": "A String", # The font family of the text.
+ #
+ # The font family can be any font from the Font menu in Slides or from
+ # [Google Fonts] (https://fonts.google.com/). If the font name is
+ # unrecognized, the text is rendered in `Arial`.
+ #
+ # Some fonts can affect the weight of the text. If an update request
+ # specifies values for both `font_family` and `bold`, the explicitly-set
+ # `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "italic": True or False, # Whether or not the text is italicized.
+ "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
+ # are not inherited from parent text.
+ #
+ # Changing the link in an update request causes some other changes to the
+ # text style of the range:
+ #
+ # * When setting a link, the text foreground color will be set to
+ # ThemeColorType.HYPERLINK and the text will
+ # be underlined. If these fields are modified in the same
+ # request, those values will be used instead of the link defaults.
+ # * Setting a link on a text range that overlaps with an existing link will
+ # also update the existing link to point to the new URL.
+ # * Links are not settable on newline characters. As a result, setting a link
+ # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
+ # will separate the newline character(s) into their own text runs. The
+ # link will be applied separately to the runs before and after the newline.
+ # * Removing a link will update the text style of the range to match the
+ # style of the preceding text (or the default text styles if the preceding
+ # text is another link) unless different styles are being set in the same
+ # request.
+ "url": "A String", # If set, indicates this is a link to the external web page at this URL.
+ "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
+ # in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
+ "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
+ # addressed by its position.
+ },
+ "underline": True or False, # Whether or not the text is underlined.
+ "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ },
+ "glyph": "A String", # The rendered bullet glyph for this paragraph.
+ },
+ },
+ "textRun": { # A TextElement kind that represents a run of text that all has the same # A TextElement representing a run of text where all of the characters
+ # in the run have the same TextStyle.
+ #
+ # The `start_index` and `end_index` of TextRuns will always be fully
+ # contained in the index range of a single `paragraph_marker` TextElement.
+ # In other words, a TextRun will never span multiple paragraphs.
+ # styling.
+ "content": "A String", # The text of this run.
+ "style": { # Represents the styling that can be applied to a TextRun. # The styling applied to this run.
+ #
+ # 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.
+ "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ "bold": True or False, # Whether or not the text is rendered as bold.
+ "baselineOffset": "A String", # The text's vertical offset from its normal position.
+ #
+ # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
+ # rendered in a smaller font size, computed based on the `font_size` field.
+ # The `font_size` itself is not affected by changes in this field.
+ "strikethrough": True or False, # Whether or not the text is struck through.
+ "smallCaps": True or False, # Whether or not the text is in small capital letters.
+ "fontFamily": "A String", # The font family of the text.
+ #
+ # The font family can be any font from the Font menu in Slides or from
+ # [Google Fonts] (https://fonts.google.com/). If the font name is
+ # unrecognized, the text is rendered in `Arial`.
+ #
+ # Some fonts can affect the weight of the text. If an update request
+ # specifies values for both `font_family` and `bold`, the explicitly-set
+ # `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "italic": True or False, # Whether or not the text is italicized.
+ "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
+ # are not inherited from parent text.
+ #
+ # Changing the link in an update request causes some other changes to the
+ # text style of the range:
+ #
+ # * When setting a link, the text foreground color will be set to
+ # ThemeColorType.HYPERLINK and the text will
+ # be underlined. If these fields are modified in the same
+ # request, those values will be used instead of the link defaults.
+ # * Setting a link on a text range that overlaps with an existing link will
+ # also update the existing link to point to the new URL.
+ # * Links are not settable on newline characters. As a result, setting a link
+ # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
+ # will separate the newline character(s) into their own text runs. The
+ # link will be applied separately to the runs before and after the newline.
+ # * Removing a link will update the text style of the range to match the
+ # style of the preceding text (or the default text styles if the preceding
+ # text is another link) unless different styles are being set in the same
+ # request.
+ "url": "A String", # If set, indicates this is a link to the external web page at this URL.
+ "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
+ # in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
+ "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
+ # addressed by its position.
+ },
+ "underline": True or False, # Whether or not the text is underlined.
+ "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ },
+ },
+ },
+ ],
+ },
+ "shapeProperties": { # The properties of a Shape. # The properties of the 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.
+ "shadow": { # The shadow properties of a page element. # The shadow properties of the shape. If unset, the shadow is inherited from
+ # a parent placeholder if it exists. If the shape has no parent, then the
+ # default shadow matches the defaults for new shapes created in the Slides
+ # editor. This property is read-only.
+ #
+ # 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.
+ "color": { # A themeable solid color value. # The shadow color value.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ "transform": { # AffineTransform uses a 3x3 matrix with an implied last row of [ 0 0 1 ] # Transform that encodes the translate, scale, and skew of the shadow,
+ # relative to the alignment position.
+ # 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.
+ "translateX": 3.14, # The X coordinate translation element.
+ "translateY": 3.14, # The Y coordinate translation element.
+ "scaleX": 3.14, # The X coordinate scaling element.
+ "scaleY": 3.14, # The Y coordinate scaling element.
+ "shearY": 3.14, # The Y coordinate shearing element.
+ "shearX": 3.14, # The X coordinate shearing element.
+ "unit": "A String", # The units for translate elements.
+ },
+ "propertyState": "A String", # The shadow property state.
+ #
+ # Updating the the shadow on a page element will implicitly update this field
+ # to `RENDERED`, unless another value is specified in the same request. To
+ # have no shadow on a page element, set this field to `NOT_RENDERED`. In this
+ # case, any other shadow fields set in the same request will be ignored.
+ "blurRadius": { # A magnitude in a single direction in the specified units. # The radius of the shadow blur. The larger the radius, the more diffuse the
+ # shadow becomes.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "alpha": 3.14, # The alpha of the shadow's color, from 0.0 to 1.0.
+ "type": "A String", # The type of the shadow.
+ "alignment": "A String", # The alignment point of the shadow, that sets the origin for translate,
+ # scale and skew of the shadow.
+ "rotateWithShape": True or False, # Whether the shadow should rotate with the shape.
+ },
+ "shapeBackgroundFill": { # The shape background fill. # The background fill of the shape. If unset, the background fill is
+ # inherited from a parent placeholder if it exists. If the shape has no
+ # parent, then the default background fill depends on the shape type,
+ # matching the defaults for new shapes created in the Slides editor.
+ "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill.
+ # specified color value.
+ #
+ # If any field is unset, its value may be inherited from a parent placeholder
+ # if it exists.
+ "color": { # A themeable solid color value. # The color value of the solid fill.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel.
+ # That is, the final pixel color is defined by the equation:
+ #
+ # pixel color = alpha * (color) + (1.0 - alpha) * (background color)
+ #
+ # This means that a value of 1.0 corresponds to a solid color, whereas
+ # a value of 0.0 corresponds to a completely transparent color.
+ },
+ "propertyState": "A String", # The background fill property state.
+ #
+ # Updating the the fill on a shape will implicitly update this field to
+ # `RENDERED`, unless another value is specified in the same request. To
+ # have no fill on a shape, set this field to `NOT_RENDERED`. In this case,
+ # any other fill fields set in the same request will be ignored.
+ },
+ "link": { # A hypertext link. # The hyperlink destination of the shape. If unset, there is no link. Links
+ # are not inherited from parent placeholders.
+ "url": "A String", # If set, indicates this is a link to the external web page at this URL.
+ "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
+ # in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
+ "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
+ # addressed by its position.
+ },
+ "outline": { # The outline of a PageElement. # The outline of the shape. If unset, the outline is inherited from a
+ # parent placeholder if it exists. If the shape has no parent, then the
+ # default outline depends on the shape type, matching the defaults for
+ # new shapes created in the Slides editor.
+ #
+ # 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. # The fill of the outline.
+ "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill.
+ # specified color value.
+ #
+ # If any field is unset, its value may be inherited from a parent placeholder
+ # if it exists.
+ "color": { # A themeable solid color value. # The color value of the solid fill.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel.
+ # That is, the final pixel color is defined by the equation:
+ #
+ # pixel color = alpha * (color) + (1.0 - alpha) * (background color)
+ #
+ # This means that a value of 1.0 corresponds to a solid color, whereas
+ # a value of 0.0 corresponds to a completely transparent color.
+ },
+ },
+ "propertyState": "A String", # The outline property state.
+ #
+ # Updating the the outline on a page element will implicitly update this
+ # field to`RENDERED`, unless another value is specified in the same request.
+ # To have no outline on a page element, set this field to `NOT_RENDERED`. In
+ # this case, any other outline fields set in the same request will be
+ # ignored.
+ "dashStyle": "A String", # The dash style of the outline.
+ "weight": { # A magnitude in a single direction in the specified units. # The thickness of the outline.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ },
+ },
+ "placeholder": { # The placeholder information that uniquely identifies a placeholder shape. # Placeholders are shapes that are inherit from corresponding placeholders on
+ # layouts and masters.
+ #
+ # If set, the shape is a placeholder shape and any inherited properties
+ # can be resolved by looking at the parent placeholder identified by the
+ # Placeholder.parent_object_id field.
+ "parentObjectId": "A String", # The object ID of this shape's parent placeholder.
+ # If unset, the parent placeholder shape does not exist, so the shape does
+ # not inherit properties from any other shape.
+ "index": 42, # The index of the placeholder. If the same placeholder types are the present
+ # in the same page, they would have different index values.
+ "type": "A String", # The type of the placeholder.
+ },
+ "shapeType": "A String", # The type of the shape.
+ },
+ "sheetsChart": { # A PageElement kind representing # A linked chart embedded from Google Sheets. Unlinked charts are
+ # represented as images.
+ # a linked chart embedded from Google Sheets.
+ "chartId": 42, # The ID of the specific chart in the Google Sheets spreadsheet that is
+ # embedded.
+ "contentUrl": "A String", # The URL of an image of the embedded chart, with a default lifetime of 30
+ # minutes. This URL is tagged with the account of the requester. Anyone with
+ # the URL effectively accesses the image as the original requester. Access to
+ # the image may be lost if the presentation's sharing settings change.
+ "sheetsChartProperties": { # The properties of the SheetsChart. # The properties of the Sheets chart.
+ "chartImageProperties": { # The properties of the Image. # The properties of the embedded chart image.
+ "outline": { # The outline of a PageElement. # The outline of the image. If not set, the the image has no outline.
+ #
+ # 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. # The fill of the outline.
+ "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill.
+ # specified color value.
+ #
+ # If any field is unset, its value may be inherited from a parent placeholder
+ # if it exists.
+ "color": { # A themeable solid color value. # The color value of the solid fill.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel.
+ # That is, the final pixel color is defined by the equation:
+ #
+ # pixel color = alpha * (color) + (1.0 - alpha) * (background color)
+ #
+ # This means that a value of 1.0 corresponds to a solid color, whereas
+ # a value of 0.0 corresponds to a completely transparent color.
+ },
+ },
+ "propertyState": "A String", # The outline property state.
+ #
+ # Updating the the outline on a page element will implicitly update this
+ # field to`RENDERED`, unless another value is specified in the same request.
+ # To have no outline on a page element, set this field to `NOT_RENDERED`. In
+ # this case, any other outline fields set in the same request will be
+ # ignored.
+ "dashStyle": "A String", # The dash style of the outline.
+ "weight": { # A magnitude in a single direction in the specified units. # The thickness of the outline.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ },
+ "brightness": 3.14, # The brightness effect of the image. The value should be in the interval
+ # [-1.0, 1.0], where 0 means no effect. This property is read-only.
+ "recolor": { # A recolor effect applied on an image. # The recolor effect of the image. If not set, the image is not recolored.
+ # This property is read-only.
+ "recolorStops": [ # The recolor effect is represented by a gradient, which is a list of color
+ # stops.
+ #
+ # The colors in the gradient will replace the corresponding colors at
+ # the same position in the color palette and apply to the image. This
+ # property is read-only.
+ { # A color and position in a gradient band.
+ "color": { # A themeable solid color value. # The color of the gradient stop.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ "alpha": 3.14, # The alpha value of this color in the gradient band. Defaults to 1.0,
+ # fully opaque.
+ "position": 3.14, # The relative position of the color stop in the gradient band measured
+ # in percentage. The value should be in the interval [0.0, 1.0].
+ },
+ ],
+ "name": "A String", # The name of the recolor effect.
+ #
+ # The name is determined from the `recolor_stops` by matching the gradient
+ # against the colors in the page's current color scheme. This property is
+ # read-only.
+ },
+ "link": { # A hypertext link. # The hyperlink destination of the image. If unset, there is no link.
+ "url": "A String", # If set, indicates this is a link to the external web page at this URL.
+ "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
+ # in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
+ "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
+ # addressed by its position.
+ },
+ "transparency": 3.14, # The transparency effect of the image. The value should be in the interval
+ # [0.0, 1.0], where 0 means no effect and 1 means completely transparent.
+ # This property is read-only.
+ "cropProperties": { # The crop properties of an object enclosed in a container. For example, an # The crop properties of the image. If not set, the image is not cropped.
+ # This property is read-only.
+ # 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.
+ "leftOffset": 3.14, # The offset specifies the left edge of the crop rectangle that is located to
+ # the right of the original bounding rectangle left edge, relative to the
+ # object's original width.
+ "angle": 3.14, # The rotation angle of the crop window around its center, in radians.
+ # Rotation angle is applied after the offset.
+ "rightOffset": 3.14, # The offset specifies the right edge of the crop rectangle that is located
+ # to the left of the original bounding rectangle right edge, relative to the
+ # object's original width.
+ "bottomOffset": 3.14, # The offset specifies the bottom edge of the crop rectangle that is located
+ # above the original bounding rectangle bottom edge, relative to the object's
+ # original height.
+ "topOffset": 3.14, # The offset specifies the top edge of the crop rectangle that is located
+ # below the original bounding rectangle top edge, relative to the object's
+ # original height.
+ },
+ "shadow": { # The shadow properties of a page element. # The shadow of the image. If not set, the image has no shadow. This property
+ # is read-only.
+ #
+ # 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.
+ "color": { # A themeable solid color value. # The shadow color value.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ "transform": { # AffineTransform uses a 3x3 matrix with an implied last row of [ 0 0 1 ] # Transform that encodes the translate, scale, and skew of the shadow,
+ # relative to the alignment position.
+ # 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.
+ "translateX": 3.14, # The X coordinate translation element.
+ "translateY": 3.14, # The Y coordinate translation element.
+ "scaleX": 3.14, # The X coordinate scaling element.
+ "scaleY": 3.14, # The Y coordinate scaling element.
+ "shearY": 3.14, # The Y coordinate shearing element.
+ "shearX": 3.14, # The X coordinate shearing element.
+ "unit": "A String", # The units for translate elements.
+ },
+ "propertyState": "A String", # The shadow property state.
+ #
+ # Updating the the shadow on a page element will implicitly update this field
+ # to `RENDERED`, unless another value is specified in the same request. To
+ # have no shadow on a page element, set this field to `NOT_RENDERED`. In this
+ # case, any other shadow fields set in the same request will be ignored.
+ "blurRadius": { # A magnitude in a single direction in the specified units. # The radius of the shadow blur. The larger the radius, the more diffuse the
+ # shadow becomes.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "alpha": 3.14, # The alpha of the shadow's color, from 0.0 to 1.0.
+ "type": "A String", # The type of the shadow.
+ "alignment": "A String", # The alignment point of the shadow, that sets the origin for translate,
+ # scale and skew of the shadow.
+ "rotateWithShape": True or False, # Whether the shadow should rotate with the shape.
+ },
+ "contrast": 3.14, # The contrast effect of the image. The value should be in the interval
+ # [-1.0, 1.0], where 0 means no effect. This property is read-only.
+ },
+ },
+ "spreadsheetId": "A String", # The ID of the Google Sheets spreadsheet that contains the source chart.
+ },
+ "video": { # A PageElement kind representing a # A video page element.
+ # video.
+ "url": "A String", # An URL to a video. The URL is valid as long as the source video
+ # exists and sharing settings do not change.
+ "source": "A String", # The video source.
+ "id": "A String", # The video source's unique identifier for this video.
+ "videoProperties": { # The properties of the Video. # The properties of the video.
+ "outline": { # The outline of a PageElement. # The outline of the video. The default outline matches the defaults for new
+ # videos created in the Slides editor.
+ #
+ # 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. # The fill of the outline.
+ "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill.
+ # specified color value.
+ #
+ # If any field is unset, its value may be inherited from a parent placeholder
+ # if it exists.
+ "color": { # A themeable solid color value. # The color value of the solid fill.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel.
+ # That is, the final pixel color is defined by the equation:
+ #
+ # pixel color = alpha * (color) + (1.0 - alpha) * (background color)
+ #
+ # This means that a value of 1.0 corresponds to a solid color, whereas
+ # a value of 0.0 corresponds to a completely transparent color.
+ },
+ },
+ "propertyState": "A String", # The outline property state.
+ #
+ # Updating the the outline on a page element will implicitly update this
+ # field to`RENDERED`, unless another value is specified in the same request.
+ # To have no outline on a page element, set this field to `NOT_RENDERED`. In
+ # this case, any other outline fields set in the same request will be
+ # ignored.
+ "dashStyle": "A String", # The dash style of the outline.
+ "weight": { # A magnitude in a single direction in the specified units. # The thickness of the outline.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ },
+ },
+ },
+ "table": { # A PageElement kind representing a # A table page element.
+ # table.
+ "tableColumns": [ # Properties of each column.
+ { # Properties of each column in a table.
+ "columnWidth": { # A magnitude in a single direction in the specified units. # Width of a column.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ },
+ ],
+ "tableRows": [ # Properties and contents of each row.
+ #
+ # Cells that span multiple rows are contained in only one of these rows and
+ # have a row_span greater
+ # than 1.
+ { # Properties and contents of each row in a table.
+ "tableCells": [ # Properties and contents of each cell.
+ #
+ # Cells that span multiple columns are represented only once with a
+ # column_span greater
+ # than 1. As a result, the length of this collection does not always match
+ # the number of columns of the entire table.
+ { # Properties and contents of each table cell.
+ "text": { # The general text content. The text must reside in a compatible shape (e.g. # The text content of the cell.
+ # text box or rectangle) or a table cell in a page.
+ "lists": { # The bulleted lists contained in this text, keyed by list ID.
+ "a_key": { # 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.
+ "nestingLevel": { # A map of nesting levels to the properties of bullets at the associated
+ # level. A list has at most nine levels of nesting, so the possible values
+ # for the keys of this map are 0 through 8, inclusive.
+ "a_key": { # Contains properties describing the look and feel of a list bullet at a given
+ # level of nesting.
+ "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The style of a bullet at this level of nesting.
+ #
+ # 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.
+ "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ "bold": True or False, # Whether or not the text is rendered as bold.
+ "baselineOffset": "A String", # The text's vertical offset from its normal position.
+ #
+ # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
+ # rendered in a smaller font size, computed based on the `font_size` field.
+ # The `font_size` itself is not affected by changes in this field.
+ "strikethrough": True or False, # Whether or not the text is struck through.
+ "smallCaps": True or False, # Whether or not the text is in small capital letters.
+ "fontFamily": "A String", # The font family of the text.
+ #
+ # The font family can be any font from the Font menu in Slides or from
+ # [Google Fonts] (https://fonts.google.com/). If the font name is
+ # unrecognized, the text is rendered in `Arial`.
+ #
+ # Some fonts can affect the weight of the text. If an update request
+ # specifies values for both `font_family` and `bold`, the explicitly-set
+ # `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "italic": True or False, # Whether or not the text is italicized.
+ "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
+ # are not inherited from parent text.
+ #
+ # Changing the link in an update request causes some other changes to the
+ # text style of the range:
+ #
+ # * When setting a link, the text foreground color will be set to
+ # ThemeColorType.HYPERLINK and the text will
+ # be underlined. If these fields are modified in the same
+ # request, those values will be used instead of the link defaults.
+ # * Setting a link on a text range that overlaps with an existing link will
+ # also update the existing link to point to the new URL.
+ # * Links are not settable on newline characters. As a result, setting a link
+ # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
+ # will separate the newline character(s) into their own text runs. The
+ # link will be applied separately to the runs before and after the newline.
+ # * Removing a link will update the text style of the range to match the
+ # style of the preceding text (or the default text styles if the preceding
+ # text is another link) unless different styles are being set in the same
+ # request.
+ "url": "A String", # If set, indicates this is a link to the external web page at this URL.
+ "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
+ # in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
+ "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
+ # addressed by its position.
+ },
+ "underline": True or False, # Whether or not the text is underlined.
+ "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ },
+ },
+ },
+ "listId": "A String", # The ID of the list.
+ },
+ },
+ "textElements": [ # The text contents broken down into its component parts, including styling
+ # information. This property is read-only.
+ { # A TextElement describes the content of a range of indices in the text content
+ # of a Shape or TableCell.
+ "autoText": { # A TextElement kind that represents auto text. # A TextElement representing a spot in the text that is dynamically
+ # replaced with content that can change over time.
+ "content": "A String", # The rendered content of this auto text, if available.
+ "style": { # Represents the styling that can be applied to a TextRun. # The styling applied to this auto text.
+ #
+ # 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.
+ "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ "bold": True or False, # Whether or not the text is rendered as bold.
+ "baselineOffset": "A String", # The text's vertical offset from its normal position.
+ #
+ # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
+ # rendered in a smaller font size, computed based on the `font_size` field.
+ # The `font_size` itself is not affected by changes in this field.
+ "strikethrough": True or False, # Whether or not the text is struck through.
+ "smallCaps": True or False, # Whether or not the text is in small capital letters.
+ "fontFamily": "A String", # The font family of the text.
+ #
+ # The font family can be any font from the Font menu in Slides or from
+ # [Google Fonts] (https://fonts.google.com/). If the font name is
+ # unrecognized, the text is rendered in `Arial`.
+ #
+ # Some fonts can affect the weight of the text. If an update request
+ # specifies values for both `font_family` and `bold`, the explicitly-set
+ # `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "italic": True or False, # Whether or not the text is italicized.
+ "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
+ # are not inherited from parent text.
+ #
+ # Changing the link in an update request causes some other changes to the
+ # text style of the range:
+ #
+ # * When setting a link, the text foreground color will be set to
+ # ThemeColorType.HYPERLINK and the text will
+ # be underlined. If these fields are modified in the same
+ # request, those values will be used instead of the link defaults.
+ # * Setting a link on a text range that overlaps with an existing link will
+ # also update the existing link to point to the new URL.
+ # * Links are not settable on newline characters. As a result, setting a link
+ # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
+ # will separate the newline character(s) into their own text runs. The
+ # link will be applied separately to the runs before and after the newline.
+ # * Removing a link will update the text style of the range to match the
+ # style of the preceding text (or the default text styles if the preceding
+ # text is another link) unless different styles are being set in the same
+ # request.
+ "url": "A String", # If set, indicates this is a link to the external web page at this URL.
+ "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
+ # in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
+ "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
+ # addressed by its position.
+ },
+ "underline": True or False, # Whether or not the text is underlined.
+ "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ },
+ "type": "A String", # The type of this auto text.
+ },
+ "endIndex": 42, # The zero-based end index of this text element, exclusive, in Unicode code
+ # units.
+ "startIndex": 42, # The zero-based start index of this text element, in Unicode code units.
+ "paragraphMarker": { # A TextElement kind that represents the beginning of a new paragraph. # A marker representing the beginning of a new paragraph.
+ #
+ # The `start_index` and `end_index` of this TextElement represent the
+ # range of the paragraph. Other TextElements with an index range contained
+ # inside this paragraph's range are considered to be part of this
+ # paragraph. The range of indices of two separate paragraphs will never
+ # overlap.
+ "style": { # Styles that apply to a whole paragraph. # The paragraph's style
+ #
+ # 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.
+ "spacingMode": "A String", # The spacing mode for the paragraph.
+ "direction": "A String", # The text direction of this paragraph. If unset, the value defaults to
+ # LEFT_TO_RIGHT
+ # since text direction is not inherited.
+ "spaceBelow": { # A magnitude in a single direction in the specified units. # The amount of extra space above the paragraph. If unset, the value is
+ # inherited from the parent.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "lineSpacing": 3.14, # The amount of space between lines, as a percentage of normal, where normal
+ # is represented as 100.0. If unset, the value is inherited from the parent.
+ "indentStart": { # A magnitude in a single direction in the specified units. # The amount indentation for the paragraph on the side that corresponds to
+ # the start of the text, based on the current text direction. If unset, the
+ # value is inherited from the parent.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "spaceAbove": { # A magnitude in a single direction in the specified units. # The amount of extra space above the paragraph. If unset, the value is
+ # inherited from the parent.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "indentEnd": { # A magnitude in a single direction in the specified units. # The amount indentation for the paragraph on the side that corresponds to
+ # the end of the text, based on the current text direction. If unset, the
+ # value is inherited from the parent.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "indentFirstLine": { # A magnitude in a single direction in the specified units. # The amount of indentation for the start of the first line of the paragraph.
+ # If unset, the value is inherited from the parent.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "alignment": "A String", # The text alignment for this paragraph.
+ },
+ "bullet": { # Describes the bullet of a paragraph. # The bullet for this paragraph. If not present, the paragraph does not
+ # belong to a list.
+ "nestingLevel": 42, # The nesting level of this paragraph in the list.
+ "listId": "A String", # The ID of the list this paragraph belongs to.
+ "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The paragraph specific text style applied to this bullet.
+ #
+ # 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.
+ "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ "bold": True or False, # Whether or not the text is rendered as bold.
+ "baselineOffset": "A String", # The text's vertical offset from its normal position.
+ #
+ # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
+ # rendered in a smaller font size, computed based on the `font_size` field.
+ # The `font_size` itself is not affected by changes in this field.
+ "strikethrough": True or False, # Whether or not the text is struck through.
+ "smallCaps": True or False, # Whether or not the text is in small capital letters.
+ "fontFamily": "A String", # The font family of the text.
+ #
+ # The font family can be any font from the Font menu in Slides or from
+ # [Google Fonts] (https://fonts.google.com/). If the font name is
+ # unrecognized, the text is rendered in `Arial`.
+ #
+ # Some fonts can affect the weight of the text. If an update request
+ # specifies values for both `font_family` and `bold`, the explicitly-set
+ # `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "italic": True or False, # Whether or not the text is italicized.
+ "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
+ # are not inherited from parent text.
+ #
+ # Changing the link in an update request causes some other changes to the
+ # text style of the range:
+ #
+ # * When setting a link, the text foreground color will be set to
+ # ThemeColorType.HYPERLINK and the text will
+ # be underlined. If these fields are modified in the same
+ # request, those values will be used instead of the link defaults.
+ # * Setting a link on a text range that overlaps with an existing link will
+ # also update the existing link to point to the new URL.
+ # * Links are not settable on newline characters. As a result, setting a link
+ # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
+ # will separate the newline character(s) into their own text runs. The
+ # link will be applied separately to the runs before and after the newline.
+ # * Removing a link will update the text style of the range to match the
+ # style of the preceding text (or the default text styles if the preceding
+ # text is another link) unless different styles are being set in the same
+ # request.
+ "url": "A String", # If set, indicates this is a link to the external web page at this URL.
+ "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
+ # in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
+ "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
+ # addressed by its position.
+ },
+ "underline": True or False, # Whether or not the text is underlined.
+ "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ },
+ "glyph": "A String", # The rendered bullet glyph for this paragraph.
+ },
+ },
+ "textRun": { # A TextElement kind that represents a run of text that all has the same # A TextElement representing a run of text where all of the characters
+ # in the run have the same TextStyle.
+ #
+ # The `start_index` and `end_index` of TextRuns will always be fully
+ # contained in the index range of a single `paragraph_marker` TextElement.
+ # In other words, a TextRun will never span multiple paragraphs.
+ # styling.
+ "content": "A String", # The text of this run.
+ "style": { # Represents the styling that can be applied to a TextRun. # The styling applied to this run.
+ #
+ # 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.
+ "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ "bold": True or False, # Whether or not the text is rendered as bold.
+ "baselineOffset": "A String", # The text's vertical offset from its normal position.
+ #
+ # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
+ # rendered in a smaller font size, computed based on the `font_size` field.
+ # The `font_size` itself is not affected by changes in this field.
+ "strikethrough": True or False, # Whether or not the text is struck through.
+ "smallCaps": True or False, # Whether or not the text is in small capital letters.
+ "fontFamily": "A String", # The font family of the text.
+ #
+ # The font family can be any font from the Font menu in Slides or from
+ # [Google Fonts] (https://fonts.google.com/). If the font name is
+ # unrecognized, the text is rendered in `Arial`.
+ #
+ # Some fonts can affect the weight of the text. If an update request
+ # specifies values for both `font_family` and `bold`, the explicitly-set
+ # `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "italic": True or False, # Whether or not the text is italicized.
+ "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
+ # are not inherited from parent text.
+ #
+ # Changing the link in an update request causes some other changes to the
+ # text style of the range:
+ #
+ # * When setting a link, the text foreground color will be set to
+ # ThemeColorType.HYPERLINK and the text will
+ # be underlined. If these fields are modified in the same
+ # request, those values will be used instead of the link defaults.
+ # * Setting a link on a text range that overlaps with an existing link will
+ # also update the existing link to point to the new URL.
+ # * Links are not settable on newline characters. As a result, setting a link
+ # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
+ # will separate the newline character(s) into their own text runs. The
+ # link will be applied separately to the runs before and after the newline.
+ # * Removing a link will update the text style of the range to match the
+ # style of the preceding text (or the default text styles if the preceding
+ # text is another link) unless different styles are being set in the same
+ # request.
+ "url": "A String", # If set, indicates this is a link to the external web page at this URL.
+ "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
+ # in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
+ "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
+ # addressed by its position.
+ },
+ "underline": True or False, # Whether or not the text is underlined.
+ "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ },
+ },
+ },
+ ],
+ },
+ "tableCellProperties": { # The properties of the TableCell. # The properties of the table cell.
+ "tableCellBackgroundFill": { # The table cell background fill. # The background fill of the table cell. The default fill matches the fill
+ # for newly created table cells in the Slides editor.
+ "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill.
+ # specified color value.
+ #
+ # If any field is unset, its value may be inherited from a parent placeholder
+ # if it exists.
+ "color": { # A themeable solid color value. # The color value of the solid fill.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel.
+ # That is, the final pixel color is defined by the equation:
+ #
+ # pixel color = alpha * (color) + (1.0 - alpha) * (background color)
+ #
+ # This means that a value of 1.0 corresponds to a solid color, whereas
+ # a value of 0.0 corresponds to a completely transparent color.
+ },
+ "propertyState": "A String", # The background fill property state.
+ #
+ # Updating the the fill on a table cell will implicitly update this field
+ # to `RENDERED`, unless another value is specified in the same request. To
+ # have no fill on a table cell, set this field to `NOT_RENDERED`. In this
+ # case, any other fill fields set in the same request will be ignored.
+ },
+ },
+ "rowSpan": 42, # Row span of the cell.
+ "columnSpan": 42, # Column span of the cell.
+ "location": { # A location of a single table cell within a table. # The location of the cell within the table.
+ "rowIndex": 42, # The 0-based row index.
+ "columnIndex": 42, # The 0-based column index.
+ },
+ },
+ ],
+ "rowHeight": { # A magnitude in a single direction in the specified units. # Height of a row.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ },
+ ],
+ "rows": 42, # Number of rows in the table.
+ "columns": 42, # Number of columns in the table.
+ },
+ "line": { # A PageElement kind representing a # A line page element.
+ # line, curved connector, or bent connector.
+ "lineProperties": { # The properties of the Line. # The properties of the line.
+ #
+ # When unset, these fields default to values that match the appearance of
+ # new lines created in the Slides editor.
+ "dashStyle": "A String", # The dash style of the line.
+ "weight": { # A magnitude in a single direction in the specified units. # The thickness of the line.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "endArrow": "A String", # The style of the arrow at the end of the line.
+ "link": { # A hypertext link. # The hyperlink destination of the line. If unset, there is no link.
+ "url": "A String", # If set, indicates this is a link to the external web page at this URL.
+ "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
+ # in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
+ "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
+ # addressed by its position.
+ },
+ "startArrow": "A String", # The style of the arrow at the beginning of the line.
+ "lineFill": { # The fill of the line. # The fill of the line. The default line fill matches the defaults for new
+ # lines created in the Slides editor.
+ "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill.
+ # specified color value.
+ #
+ # If any field is unset, its value may be inherited from a parent placeholder
+ # if it exists.
+ "color": { # A themeable solid color value. # The color value of the solid fill.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel.
+ # That is, the final pixel color is defined by the equation:
+ #
+ # pixel color = alpha * (color) + (1.0 - alpha) * (background color)
+ #
+ # This means that a value of 1.0 corresponds to a solid color, whereas
+ # a value of 0.0 corresponds to a completely transparent color.
+ },
+ },
+ },
+ "lineType": "A String", # The type of the line.
+ },
+ "size": { # A width and height. # The size of the page element.
+ "width": { # A magnitude in a single direction in the specified units. # The width of the object.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "height": { # A magnitude in a single direction in the specified units. # The height of the object.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ },
+ "elementGroup": { # A PageElement kind representing a # A collection of page elements joined as a single unit.
+ # joined collection of PageElements.
+ "children": [ # The collection of elements in the group. The minimum size of a group is 2.
+ # Object with schema name: PageElement
+ ],
+ },
+ },
+ ],
+ "notesProperties": { # The properties of Page that are only # Notes specific properties. Only set if page_type = NOTES.
+ # relevant for pages with page_type NOTES.
+ "speakerNotesObjectId": "A String", # The object ID of the shape on this notes page that contains the speaker
+ # notes for the corresponding slide.
+ # The actual shape may not always exist on the notes page. Inserting text
+ # using this object ID will automatically create the shape. In this case, the
+ # actual shape may have different object ID. The `GetPresentation` or
+ # `GetPage` action will always return the latest object ID.
+ },
+ "objectId": "A String", # The object ID for this page. Object IDs used by
+ # Page and
+ # PageElement share the same namespace.
+ "revisionId": "A String", # The revision ID of the presentation containing this page. Can be used in
+ # update requests to assert that the presentation revision hasn't changed
+ # since the last read operation. Only populated if the user has edit access
+ # to the presentation.
+ #
+ # The format of the revision ID may change over time, so it should be treated
+ # opaquely. A returned revision ID is only guaranteed to be valid for 24
+ # hours after it has been returned and cannot be shared across
+ # users. Callers can assume that if two revision IDs are equal then the
+ # presentation has not changed.
+ "pageProperties": { # The properties of the Page. # 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.
+ "pageBackgroundFill": { # The page background fill. # The background fill of the page. If unset, the background fill is inherited
+ # from a parent page if it exists. If the page has no parent, then the
+ # background fill defaults to the corresponding fill in the Slides editor.
+ "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill.
+ # specified color value.
+ #
+ # If any field is unset, its value may be inherited from a parent placeholder
+ # if it exists.
+ "color": { # A themeable solid color value. # The color value of the solid fill.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel.
+ # That is, the final pixel color is defined by the equation:
+ #
+ # pixel color = alpha * (color) + (1.0 - alpha) * (background color)
+ #
+ # This means that a value of 1.0 corresponds to a solid color, whereas
+ # a value of 0.0 corresponds to a completely transparent color.
+ },
+ "propertyState": "A String", # The background fill property state.
+ #
+ # Updating the the fill on a page will implicitly update this field to
+ # `RENDERED`, unless another value is specified in the same request. To
+ # have no fill on a page, set this field to `NOT_RENDERED`. In this case,
+ # any other fill fields set in the same request will be ignored.
+ "stretchedPictureFill": { # The stretched picture fill. The page or page element is filled entirely with # Stretched picture fill.
+ # the specified picture. The picture is stretched to fit its container.
+ "contentUrl": "A String", # Reading the content_url:
+ #
+ # An URL to a picture with a default lifetime of 30 minutes.
+ # This URL is tagged with the account of the requester. Anyone with the URL
+ # effectively accesses the picture as the original requester. Access to the
+ # picture may be lost if the presentation's sharing settings change.
+ #
+ # Writing the content_url:
+ #
+ # The picture is fetched once at insertion time and a copy is stored for
+ # display inside the presentation. Pictures must be less than 50MB in size,
+ # cannot exceed 25 megapixels, and must be in either in PNG, JPEG, or GIF
+ # format.
+ "size": { # A width and height. # The original size of the picture fill. This field is read-only.
+ "width": { # A magnitude in a single direction in the specified units. # The width of the object.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "height": { # A magnitude in a single direction in the specified units. # The height of the object.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ },
+ },
+ },
+ "colorScheme": { # The palette of predefined colors for a page. # The color scheme of the page. If unset, the color scheme is inherited from
+ # a parent page. If the page has no parent, the color scheme uses a default
+ # Slides color scheme. This field is read-only.
+ "colors": [ # The ThemeColorType and corresponding concrete color pairs.
+ { # A pair mapping a theme color type to the concrete color it represents.
+ "color": { # An RGB color. # The concrete color corresponding to the theme color type above.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ "type": "A String", # The type of the theme color.
+ },
+ ],
+ },
+ },
+ "pageType": "A String", # The type of the page.
+ "slideProperties": { # The properties of Page that are only # Slide specific properties. Only set if page_type = SLIDE.
+ # relevant for pages with page_type SLIDE.
+ "notesPage": # Object with schema name: Page # The notes page that this slide is associated with. It defines the visual
+ # appearance of a notes page when printing or exporting slides with speaker
+ # notes. A notes page inherits properties from the
+ # notes master.
+ # The placeholder shape with type BODY on the notes page contains the speaker
+ # notes for this slide. The ID of this shape is identified by the
+ # speakerNotesObjectId field.
+ # The notes page is read-only except for the text content and styles of the
+ # speaker notes shape.
+ "masterObjectId": "A String", # The object ID of the master that this slide is based on.
+ "layoutObjectId": "A String", # The object ID of the layout that this slide is based on.
+ },
+ },
+ "pageSize": { # A width and height. # The size of pages in the presentation.
+ "width": { # A magnitude in a single direction in the specified units. # The width of the object.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "height": { # A magnitude in a single direction in the specified units. # The height of the object.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ },
+ "title": "A String", # The title of the presentation.
+ "locale": "A String", # The locale of the presentation, as an IETF BCP 47 language tag.
+ "revisionId": "A String", # The revision ID of the presentation. Can be used in update requests
+ # to assert that the presentation revision hasn't changed since the last
+ # read operation. Only populated if the user has edit access to the
+ # presentation.
+ #
+ # The format of the revision ID may change over time, so it should be treated
+ # opaquely. A returned revision ID is only guaranteed to be valid for 24
+ # hours after it has been returned and cannot be shared across users. Callers
+ # can assume that if two revision IDs are equal then the presentation has not
+ # changed.
"masters": [ # The slide masters in the presentation. A slide master contains all common
# page elements and the common properties for a set of layouts. They serve
# three purposes:
@@ -12529,14 +18595,6 @@
# 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.
- "dashStyle": "A String", # The dash style of the outline.
- "propertyState": "A String", # The outline property state.
- #
- # Updating the the outline on a page element will implicitly update this
- # field to`RENDERED`, unless another value is specified in the same request.
- # To have no outline on a page element, set this field to `NOT_RENDERED`. In
- # this case, any other outline fields set in the same request will be
- # ignored.
"outlineFill": { # The fill of the outline. # The fill of the outline.
"solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill.
# specified color value.
@@ -12560,6 +18618,14 @@
# a value of 0.0 corresponds to a completely transparent color.
},
},
+ "propertyState": "A String", # The outline property state.
+ #
+ # Updating the the outline on a page element will implicitly update this
+ # field to`RENDERED`, unless another value is specified in the same request.
+ # To have no outline on a page element, set this field to `NOT_RENDERED`. In
+ # this case, any other outline fields set in the same request will be
+ # ignored.
+ "dashStyle": "A String", # The dash style of the outline.
"weight": { # A magnitude in a single direction in the specified units. # The thickness of the outline.
"magnitude": 3.14, # The magnitude.
"unit": "A String", # The units for magnitude.
@@ -12570,7 +18636,11 @@
"recolor": { # A recolor effect applied on an image. # The recolor effect of the image. If not set, the image is not recolored.
# This property is read-only.
"recolorStops": [ # The recolor effect is represented by a gradient, which is a list of color
- # stops. This property is read-only.
+ # stops.
+ #
+ # The colors in the gradient will replace the corresponding colors at
+ # the same position in the color palette and apply to the image. This
+ # property is read-only.
{ # A color and position in a gradient band.
"color": { # A themeable solid color value. # The color of the gradient stop.
"themeColor": "A String", # An opaque theme color.
@@ -12580,19 +18650,24 @@
"red": 3.14, # The red component of the color, from 0.0 to 1.0.
},
},
- "position": 3.14, # The relative position of the color stop in the gradient band measured
- # in percentage. The value should be in the interval [0.0, 1.0].
"alpha": 3.14, # The alpha value of this color in the gradient band. Defaults to 1.0,
# fully opaque.
+ "position": 3.14, # The relative position of the color stop in the gradient band measured
+ # in percentage. The value should be in the interval [0.0, 1.0].
},
],
+ "name": "A String", # The name of the recolor effect.
+ #
+ # The name is determined from the `recolor_stops` by matching the gradient
+ # against the colors in the page's current color scheme. This property is
+ # read-only.
},
"link": { # A hypertext link. # The hyperlink destination of the image. If unset, there is no link.
"url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
"slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
# in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
"relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
# addressed by its position.
},
@@ -12625,12 +18700,12 @@
# object's original width.
"angle": 3.14, # The rotation angle of the crop window around its center, in radians.
# Rotation angle is applied after the offset.
- "bottomOffset": 3.14, # The offset specifies the bottom edge of the crop rectangle that is located
- # above the original bounding rectangle bottom edge, relative to the object's
- # original height.
"rightOffset": 3.14, # The offset specifies the right edge of the crop rectangle that is located
# to the left of the original bounding rectangle right edge, relative to the
# object's original width.
+ "bottomOffset": 3.14, # The offset specifies the bottom edge of the crop rectangle that is located
+ # above the original bounding rectangle bottom edge, relative to the object's
+ # original height.
"topOffset": 3.14, # The offset specifies the top edge of the crop rectangle that is located
# below the original bounding rectangle top edge, relative to the object's
# original height.
@@ -12718,6 +18793,114 @@
# generic shape that does not have a more specific classification.
"text": { # The general text content. The text must reside in a compatible shape (e.g. # The text content of the shape.
# text box or rectangle) or a table cell in a page.
+ "lists": { # The bulleted lists contained in this text, keyed by list ID.
+ "a_key": { # 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.
+ "nestingLevel": { # A map of nesting levels to the properties of bullets at the associated
+ # level. A list has at most nine levels of nesting, so the possible values
+ # for the keys of this map are 0 through 8, inclusive.
+ "a_key": { # Contains properties describing the look and feel of a list bullet at a given
+ # level of nesting.
+ "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The style of a bullet at this level of nesting.
+ #
+ # 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.
+ "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ "bold": True or False, # Whether or not the text is rendered as bold.
+ "baselineOffset": "A String", # The text's vertical offset from its normal position.
+ #
+ # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
+ # rendered in a smaller font size, computed based on the `font_size` field.
+ # The `font_size` itself is not affected by changes in this field.
+ "strikethrough": True or False, # Whether or not the text is struck through.
+ "smallCaps": True or False, # Whether or not the text is in small capital letters.
+ "fontFamily": "A String", # The font family of the text.
+ #
+ # The font family can be any font from the Font menu in Slides or from
+ # [Google Fonts] (https://fonts.google.com/). If the font name is
+ # unrecognized, the text is rendered in `Arial`.
+ #
+ # Some fonts can affect the weight of the text. If an update request
+ # specifies values for both `font_family` and `bold`, the explicitly-set
+ # `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "italic": True or False, # Whether or not the text is italicized.
+ "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
+ # are not inherited from parent text.
+ #
+ # Changing the link in an update request causes some other changes to the
+ # text style of the range:
+ #
+ # * When setting a link, the text foreground color will be set to
+ # ThemeColorType.HYPERLINK and the text will
+ # be underlined. If these fields are modified in the same
+ # request, those values will be used instead of the link defaults.
+ # * Setting a link on a text range that overlaps with an existing link will
+ # also update the existing link to point to the new URL.
+ # * Links are not settable on newline characters. As a result, setting a link
+ # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
+ # will separate the newline character(s) into their own text runs. The
+ # link will be applied separately to the runs before and after the newline.
+ # * Removing a link will update the text style of the range to match the
+ # style of the preceding text (or the default text styles if the preceding
+ # text is another link) unless different styles are being set in the same
+ # request.
+ "url": "A String", # If set, indicates this is a link to the external web page at this URL.
+ "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
+ # in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
+ "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
+ # addressed by its position.
+ },
+ "underline": True or False, # Whether or not the text is underlined.
+ "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ },
+ },
+ },
+ "listId": "A String", # The ID of the list.
+ },
+ },
"textElements": [ # The text contents broken down into its component parts, including styling
# information. This property is read-only.
{ # A TextElement describes the content of a range of indices in the text content
@@ -12754,7 +18937,7 @@
},
},
},
- "bold": True or False, # Whether or not the text is bold.
+ "bold": True or False, # Whether or not the text is rendered as bold.
"baselineOffset": "A String", # The text's vertical offset from its normal position.
#
# Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
@@ -12771,6 +18954,12 @@
# Some fonts can affect the weight of the text. If an update request
# specifies values for both `font_family` and `bold`, the explicitly-set
# `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "italic": True or False, # Whether or not the text is italicized.
"link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
# are not inherited from parent text.
#
@@ -12792,19 +18981,13 @@
# text is another link) unless different styles are being set in the same
# request.
"url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
"slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
# in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
"relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
# addressed by its position.
},
- "italic": True or False, # Whether or not the text is italicized.
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
"underline": True or False, # Whether or not the text is underlined.
"backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
# transparent, depending on if the `opaque_color` field in it is set.
@@ -12844,40 +19027,40 @@
# placeholder.
#
# Inherited paragraph styles are represented as unset fields in this message.
- "spacingMode": "A String", # The spacing mode for the paragraph. This property is read-only.
- "direction": "A String", # The text direction of this paragraph. This property is read-only.
+ "spacingMode": "A String", # The spacing mode for the paragraph.
+ "direction": "A String", # The text direction of this paragraph. If unset, the value defaults to
+ # LEFT_TO_RIGHT
+ # since text direction is not inherited.
"spaceBelow": { # A magnitude in a single direction in the specified units. # The amount of extra space above the paragraph. If unset, the value is
- # inherited from the parent. This property is read-only.
+ # inherited from the parent.
"magnitude": 3.14, # The magnitude.
"unit": "A String", # The units for magnitude.
},
"lineSpacing": 3.14, # The amount of space between lines, as a percentage of normal, where normal
# is represented as 100.0. If unset, the value is inherited from the parent.
- # This property is read-only.
"indentStart": { # A magnitude in a single direction in the specified units. # The amount indentation for the paragraph on the side that corresponds to
# the start of the text, based on the current text direction. If unset, the
- # value is inherited from the parent. This property is read-only.
+ # value is inherited from the parent.
"magnitude": 3.14, # The magnitude.
"unit": "A String", # The units for magnitude.
},
"spaceAbove": { # A magnitude in a single direction in the specified units. # The amount of extra space above the paragraph. If unset, the value is
- # inherited from the parent. This property is read-only.
+ # inherited from the parent.
"magnitude": 3.14, # The magnitude.
"unit": "A String", # The units for magnitude.
},
"indentEnd": { # A magnitude in a single direction in the specified units. # The amount indentation for the paragraph on the side that corresponds to
# the end of the text, based on the current text direction. If unset, the
- # value is inherited from the parent. This property is read-only.
+ # value is inherited from the parent.
"magnitude": 3.14, # The magnitude.
"unit": "A String", # The units for magnitude.
},
"indentFirstLine": { # A magnitude in a single direction in the specified units. # The amount of indentation for the start of the first line of the paragraph.
- # If unset, the value is inherited from the parent. This property is
- # read-only.
+ # If unset, the value is inherited from the parent.
"magnitude": 3.14, # The magnitude.
"unit": "A String", # The units for magnitude.
},
- "alignment": "A String", # The text alignment for this paragraph. This property is read-only.
+ "alignment": "A String", # The text alignment for this paragraph.
},
"bullet": { # Describes the bullet of a paragraph. # The bullet for this paragraph. If not present, the paragraph does not
# belong to a list.
@@ -12912,7 +19095,7 @@
},
},
},
- "bold": True or False, # Whether or not the text is bold.
+ "bold": True or False, # Whether or not the text is rendered as bold.
"baselineOffset": "A String", # The text's vertical offset from its normal position.
#
# Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
@@ -12929,6 +19112,12 @@
# Some fonts can affect the weight of the text. If an update request
# specifies values for both `font_family` and `bold`, the explicitly-set
# `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "italic": True or False, # Whether or not the text is italicized.
"link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
# are not inherited from parent text.
#
@@ -12950,19 +19139,13 @@
# text is another link) unless different styles are being set in the same
# request.
"url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
"slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
# in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
"relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
# addressed by its position.
},
- "italic": True or False, # Whether or not the text is italicized.
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
"underline": True or False, # Whether or not the text is underlined.
"backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
# transparent, depending on if the `opaque_color` field in it is set.
@@ -13017,7 +19200,7 @@
},
},
},
- "bold": True or False, # Whether or not the text is bold.
+ "bold": True or False, # Whether or not the text is rendered as bold.
"baselineOffset": "A String", # The text's vertical offset from its normal position.
#
# Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
@@ -13034,6 +19217,12 @@
# Some fonts can affect the weight of the text. If an update request
# specifies values for both `font_family` and `bold`, the explicitly-set
# `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "italic": True or False, # Whether or not the text is italicized.
"link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
# are not inherited from parent text.
#
@@ -13055,19 +19244,13 @@
# text is another link) unless different styles are being set in the same
# request.
"url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
"slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
# in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
"relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
# addressed by its position.
},
- "italic": True or False, # Whether or not the text is italicized.
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
"underline": True or False, # Whether or not the text is underlined.
"backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
# transparent, depending on if the `opaque_color` field in it is set.
@@ -13085,114 +19268,6 @@
},
},
],
- "lists": { # The bulleted lists contained in this text, keyed by list ID.
- "a_key": { # 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.
- "nestingLevel": { # A map of nesting levels to the properties of bullets at the associated
- # level. A list has at most nine levels of nesting, so the possible values
- # for the keys of this map are 0 through 8, inclusive.
- "a_key": { # Contains properties describing the look and feel of a list bullet at a given
- # level of nesting.
- "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The style of a bullet at this level of nesting.
- #
- # 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.
- "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- "bold": True or False, # Whether or not the text is bold.
- "baselineOffset": "A String", # The text's vertical offset from its normal position.
- #
- # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
- # rendered in a smaller font size, computed based on the `font_size` field.
- # The `font_size` itself is not affected by changes in this field.
- "strikethrough": True or False, # Whether or not the text is struck through.
- "smallCaps": True or False, # Whether or not the text is in small capital letters.
- "fontFamily": "A String", # The font family of the text.
- #
- # The font family can be any font from the Font menu in Slides or from
- # [Google Fonts] (https://fonts.google.com/). If the font name is
- # unrecognized, the text is rendered in `Arial`.
- #
- # Some fonts can affect the weight of the text. If an update request
- # specifies values for both `font_family` and `bold`, the explicitly-set
- # `bold` value is used.
- "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
- # are not inherited from parent text.
- #
- # Changing the link in an update request causes some other changes to the
- # text style of the range:
- #
- # * When setting a link, the text foreground color will be set to
- # ThemeColorType.HYPERLINK and the text will
- # be underlined. If these fields are modified in the same
- # request, those values will be used instead of the link defaults.
- # * Setting a link on a text range that overlaps with an existing link will
- # also update the existing link to point to the new URL.
- # * Links are not settable on newline characters. As a result, setting a link
- # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
- # will separate the newline character(s) into their own text runs. The
- # link will be applied separately to the runs before and after the newline.
- # * Removing a link will update the text style of the range to match the
- # style of the preceding text (or the default text styles if the preceding
- # text is another link) unless different styles are being set in the same
- # request.
- "url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
- "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
- # in the presentation. There may not be a slide at this index.
- "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
- # addressed by its position.
- },
- "italic": True or False, # Whether or not the text is italicized.
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
- "underline": True or False, # Whether or not the text is underlined.
- "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- },
- },
- },
- "listId": "A String", # The ID of the list.
- },
- },
},
"shapeProperties": { # The properties of a Shape. # The properties of the shape.
#
@@ -13292,10 +19367,10 @@
"link": { # A hypertext link. # The hyperlink destination of the shape. If unset, there is no link. Links
# are not inherited from parent placeholders.
"url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
"slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
# in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
"relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
# addressed by its position.
},
@@ -13308,14 +19383,6 @@
# 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.
- "dashStyle": "A String", # The dash style of the outline.
- "propertyState": "A String", # The outline property state.
- #
- # Updating the the outline on a page element will implicitly update this
- # field to`RENDERED`, unless another value is specified in the same request.
- # To have no outline on a page element, set this field to `NOT_RENDERED`. In
- # this case, any other outline fields set in the same request will be
- # ignored.
"outlineFill": { # The fill of the outline. # The fill of the outline.
"solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill.
# specified color value.
@@ -13339,6 +19406,14 @@
# a value of 0.0 corresponds to a completely transparent color.
},
},
+ "propertyState": "A String", # The outline property state.
+ #
+ # Updating the the outline on a page element will implicitly update this
+ # field to`RENDERED`, unless another value is specified in the same request.
+ # To have no outline on a page element, set this field to `NOT_RENDERED`. In
+ # this case, any other outline fields set in the same request will be
+ # ignored.
+ "dashStyle": "A String", # The dash style of the outline.
"weight": { # A magnitude in a single direction in the specified units. # The thickness of the outline.
"magnitude": 3.14, # The magnitude.
"unit": "A String", # The units for magnitude.
@@ -13365,7 +19440,10 @@
# a linked chart embedded from Google Sheets.
"chartId": 42, # The ID of the specific chart in the Google Sheets spreadsheet that is
# embedded.
- "spreadsheetId": "A String", # The ID of the Google Sheets spreadsheet that contains the source chart.
+ "contentUrl": "A String", # The URL of an image of the embedded chart, with a default lifetime of 30
+ # minutes. This URL is tagged with the account of the requester. Anyone with
+ # the URL effectively accesses the image as the original requester. Access to
+ # the image may be lost if the presentation's sharing settings change.
"sheetsChartProperties": { # The properties of the SheetsChart. # The properties of the Sheets chart.
"chartImageProperties": { # The properties of the Image. # The properties of the embedded chart image.
"outline": { # The outline of a PageElement. # The outline of the image. If not set, the the image has no outline.
@@ -13374,14 +19452,6 @@
# 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.
- "dashStyle": "A String", # The dash style of the outline.
- "propertyState": "A String", # The outline property state.
- #
- # Updating the the outline on a page element will implicitly update this
- # field to`RENDERED`, unless another value is specified in the same request.
- # To have no outline on a page element, set this field to `NOT_RENDERED`. In
- # this case, any other outline fields set in the same request will be
- # ignored.
"outlineFill": { # The fill of the outline. # The fill of the outline.
"solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill.
# specified color value.
@@ -13405,6 +19475,14 @@
# a value of 0.0 corresponds to a completely transparent color.
},
},
+ "propertyState": "A String", # The outline property state.
+ #
+ # Updating the the outline on a page element will implicitly update this
+ # field to`RENDERED`, unless another value is specified in the same request.
+ # To have no outline on a page element, set this field to `NOT_RENDERED`. In
+ # this case, any other outline fields set in the same request will be
+ # ignored.
+ "dashStyle": "A String", # The dash style of the outline.
"weight": { # A magnitude in a single direction in the specified units. # The thickness of the outline.
"magnitude": 3.14, # The magnitude.
"unit": "A String", # The units for magnitude.
@@ -13415,7 +19493,11 @@
"recolor": { # A recolor effect applied on an image. # The recolor effect of the image. If not set, the image is not recolored.
# This property is read-only.
"recolorStops": [ # The recolor effect is represented by a gradient, which is a list of color
- # stops. This property is read-only.
+ # stops.
+ #
+ # The colors in the gradient will replace the corresponding colors at
+ # the same position in the color palette and apply to the image. This
+ # property is read-only.
{ # A color and position in a gradient band.
"color": { # A themeable solid color value. # The color of the gradient stop.
"themeColor": "A String", # An opaque theme color.
@@ -13425,19 +19507,24 @@
"red": 3.14, # The red component of the color, from 0.0 to 1.0.
},
},
- "position": 3.14, # The relative position of the color stop in the gradient band measured
- # in percentage. The value should be in the interval [0.0, 1.0].
"alpha": 3.14, # The alpha value of this color in the gradient band. Defaults to 1.0,
# fully opaque.
+ "position": 3.14, # The relative position of the color stop in the gradient band measured
+ # in percentage. The value should be in the interval [0.0, 1.0].
},
],
+ "name": "A String", # The name of the recolor effect.
+ #
+ # The name is determined from the `recolor_stops` by matching the gradient
+ # against the colors in the page's current color scheme. This property is
+ # read-only.
},
"link": { # A hypertext link. # The hyperlink destination of the image. If unset, there is no link.
"url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
"slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
# in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
"relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
# addressed by its position.
},
@@ -13470,12 +19557,12 @@
# object's original width.
"angle": 3.14, # The rotation angle of the crop window around its center, in radians.
# Rotation angle is applied after the offset.
- "bottomOffset": 3.14, # The offset specifies the bottom edge of the crop rectangle that is located
- # above the original bounding rectangle bottom edge, relative to the object's
- # original height.
"rightOffset": 3.14, # The offset specifies the right edge of the crop rectangle that is located
# to the left of the original bounding rectangle right edge, relative to the
# object's original width.
+ "bottomOffset": 3.14, # The offset specifies the bottom edge of the crop rectangle that is located
+ # above the original bounding rectangle bottom edge, relative to the object's
+ # original height.
"topOffset": 3.14, # The offset specifies the top edge of the crop rectangle that is located
# below the original bounding rectangle top edge, relative to the object's
# original height.
@@ -13538,15 +19625,14 @@
# [-1.0, 1.0], where 0 means no effect. This property is read-only.
},
},
- "contentUrl": "A String", # The URL of an image of the embedded chart, with a default lifetime of 30
- # minutes. This URL is tagged with the account of the requester. Anyone with
- # the URL effectively accesses the image as the original requester. Access to
- # the image may be lost if the presentation's sharing settings change.
+ "spreadsheetId": "A String", # The ID of the Google Sheets spreadsheet that contains the source chart.
},
"video": { # A PageElement kind representing a # A video page element.
# video.
"url": "A String", # An URL to a video. The URL is valid as long as the source video
# exists and sharing settings do not change.
+ "source": "A String", # The video source.
+ "id": "A String", # The video source's unique identifier for this video.
"videoProperties": { # The properties of the Video. # The properties of the video.
"outline": { # The outline of a PageElement. # The outline of the video. The default outline matches the defaults for new
# videos created in the Slides editor.
@@ -13555,14 +19641,6 @@
# 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.
- "dashStyle": "A String", # The dash style of the outline.
- "propertyState": "A String", # The outline property state.
- #
- # Updating the the outline on a page element will implicitly update this
- # field to`RENDERED`, unless another value is specified in the same request.
- # To have no outline on a page element, set this field to `NOT_RENDERED`. In
- # this case, any other outline fields set in the same request will be
- # ignored.
"outlineFill": { # The fill of the outline. # The fill of the outline.
"solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill.
# specified color value.
@@ -13586,14 +19664,20 @@
# a value of 0.0 corresponds to a completely transparent color.
},
},
+ "propertyState": "A String", # The outline property state.
+ #
+ # Updating the the outline on a page element will implicitly update this
+ # field to`RENDERED`, unless another value is specified in the same request.
+ # To have no outline on a page element, set this field to `NOT_RENDERED`. In
+ # this case, any other outline fields set in the same request will be
+ # ignored.
+ "dashStyle": "A String", # The dash style of the outline.
"weight": { # A magnitude in a single direction in the specified units. # The thickness of the outline.
"magnitude": 3.14, # The magnitude.
"unit": "A String", # The units for magnitude.
},
},
},
- "id": "A String", # The video source's unique identifier for this video.
- "source": "A String", # The video source.
},
"table": { # A PageElement kind representing a # A table page element.
# table.
@@ -13620,6 +19704,114 @@
{ # Properties and contents of each table cell.
"text": { # The general text content. The text must reside in a compatible shape (e.g. # The text content of the cell.
# text box or rectangle) or a table cell in a page.
+ "lists": { # The bulleted lists contained in this text, keyed by list ID.
+ "a_key": { # 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.
+ "nestingLevel": { # A map of nesting levels to the properties of bullets at the associated
+ # level. A list has at most nine levels of nesting, so the possible values
+ # for the keys of this map are 0 through 8, inclusive.
+ "a_key": { # Contains properties describing the look and feel of a list bullet at a given
+ # level of nesting.
+ "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The style of a bullet at this level of nesting.
+ #
+ # 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.
+ "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ "bold": True or False, # Whether or not the text is rendered as bold.
+ "baselineOffset": "A String", # The text's vertical offset from its normal position.
+ #
+ # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
+ # rendered in a smaller font size, computed based on the `font_size` field.
+ # The `font_size` itself is not affected by changes in this field.
+ "strikethrough": True or False, # Whether or not the text is struck through.
+ "smallCaps": True or False, # Whether or not the text is in small capital letters.
+ "fontFamily": "A String", # The font family of the text.
+ #
+ # The font family can be any font from the Font menu in Slides or from
+ # [Google Fonts] (https://fonts.google.com/). If the font name is
+ # unrecognized, the text is rendered in `Arial`.
+ #
+ # Some fonts can affect the weight of the text. If an update request
+ # specifies values for both `font_family` and `bold`, the explicitly-set
+ # `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "italic": True or False, # Whether or not the text is italicized.
+ "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
+ # are not inherited from parent text.
+ #
+ # Changing the link in an update request causes some other changes to the
+ # text style of the range:
+ #
+ # * When setting a link, the text foreground color will be set to
+ # ThemeColorType.HYPERLINK and the text will
+ # be underlined. If these fields are modified in the same
+ # request, those values will be used instead of the link defaults.
+ # * Setting a link on a text range that overlaps with an existing link will
+ # also update the existing link to point to the new URL.
+ # * Links are not settable on newline characters. As a result, setting a link
+ # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
+ # will separate the newline character(s) into their own text runs. The
+ # link will be applied separately to the runs before and after the newline.
+ # * Removing a link will update the text style of the range to match the
+ # style of the preceding text (or the default text styles if the preceding
+ # text is another link) unless different styles are being set in the same
+ # request.
+ "url": "A String", # If set, indicates this is a link to the external web page at this URL.
+ "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
+ # in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
+ "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
+ # addressed by its position.
+ },
+ "underline": True or False, # Whether or not the text is underlined.
+ "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ },
+ },
+ },
+ "listId": "A String", # The ID of the list.
+ },
+ },
"textElements": [ # The text contents broken down into its component parts, including styling
# information. This property is read-only.
{ # A TextElement describes the content of a range of indices in the text content
@@ -13656,7 +19848,7 @@
},
},
},
- "bold": True or False, # Whether or not the text is bold.
+ "bold": True or False, # Whether or not the text is rendered as bold.
"baselineOffset": "A String", # The text's vertical offset from its normal position.
#
# Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
@@ -13673,6 +19865,12 @@
# Some fonts can affect the weight of the text. If an update request
# specifies values for both `font_family` and `bold`, the explicitly-set
# `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "italic": True or False, # Whether or not the text is italicized.
"link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
# are not inherited from parent text.
#
@@ -13694,19 +19892,13 @@
# text is another link) unless different styles are being set in the same
# request.
"url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
"slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
# in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
"relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
# addressed by its position.
},
- "italic": True or False, # Whether or not the text is italicized.
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
"underline": True or False, # Whether or not the text is underlined.
"backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
# transparent, depending on if the `opaque_color` field in it is set.
@@ -13746,40 +19938,40 @@
# placeholder.
#
# Inherited paragraph styles are represented as unset fields in this message.
- "spacingMode": "A String", # The spacing mode for the paragraph. This property is read-only.
- "direction": "A String", # The text direction of this paragraph. This property is read-only.
+ "spacingMode": "A String", # The spacing mode for the paragraph.
+ "direction": "A String", # The text direction of this paragraph. If unset, the value defaults to
+ # LEFT_TO_RIGHT
+ # since text direction is not inherited.
"spaceBelow": { # A magnitude in a single direction in the specified units. # The amount of extra space above the paragraph. If unset, the value is
- # inherited from the parent. This property is read-only.
+ # inherited from the parent.
"magnitude": 3.14, # The magnitude.
"unit": "A String", # The units for magnitude.
},
"lineSpacing": 3.14, # The amount of space between lines, as a percentage of normal, where normal
# is represented as 100.0. If unset, the value is inherited from the parent.
- # This property is read-only.
"indentStart": { # A magnitude in a single direction in the specified units. # The amount indentation for the paragraph on the side that corresponds to
# the start of the text, based on the current text direction. If unset, the
- # value is inherited from the parent. This property is read-only.
+ # value is inherited from the parent.
"magnitude": 3.14, # The magnitude.
"unit": "A String", # The units for magnitude.
},
"spaceAbove": { # A magnitude in a single direction in the specified units. # The amount of extra space above the paragraph. If unset, the value is
- # inherited from the parent. This property is read-only.
+ # inherited from the parent.
"magnitude": 3.14, # The magnitude.
"unit": "A String", # The units for magnitude.
},
"indentEnd": { # A magnitude in a single direction in the specified units. # The amount indentation for the paragraph on the side that corresponds to
# the end of the text, based on the current text direction. If unset, the
- # value is inherited from the parent. This property is read-only.
+ # value is inherited from the parent.
"magnitude": 3.14, # The magnitude.
"unit": "A String", # The units for magnitude.
},
"indentFirstLine": { # A magnitude in a single direction in the specified units. # The amount of indentation for the start of the first line of the paragraph.
- # If unset, the value is inherited from the parent. This property is
- # read-only.
+ # If unset, the value is inherited from the parent.
"magnitude": 3.14, # The magnitude.
"unit": "A String", # The units for magnitude.
},
- "alignment": "A String", # The text alignment for this paragraph. This property is read-only.
+ "alignment": "A String", # The text alignment for this paragraph.
},
"bullet": { # Describes the bullet of a paragraph. # The bullet for this paragraph. If not present, the paragraph does not
# belong to a list.
@@ -13814,7 +20006,7 @@
},
},
},
- "bold": True or False, # Whether or not the text is bold.
+ "bold": True or False, # Whether or not the text is rendered as bold.
"baselineOffset": "A String", # The text's vertical offset from its normal position.
#
# Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
@@ -13831,6 +20023,12 @@
# Some fonts can affect the weight of the text. If an update request
# specifies values for both `font_family` and `bold`, the explicitly-set
# `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "italic": True or False, # Whether or not the text is italicized.
"link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
# are not inherited from parent text.
#
@@ -13852,19 +20050,13 @@
# text is another link) unless different styles are being set in the same
# request.
"url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
"slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
# in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
"relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
# addressed by its position.
},
- "italic": True or False, # Whether or not the text is italicized.
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
"underline": True or False, # Whether or not the text is underlined.
"backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
# transparent, depending on if the `opaque_color` field in it is set.
@@ -13919,7 +20111,7 @@
},
},
},
- "bold": True or False, # Whether or not the text is bold.
+ "bold": True or False, # Whether or not the text is rendered as bold.
"baselineOffset": "A String", # The text's vertical offset from its normal position.
#
# Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
@@ -13936,6 +20128,12 @@
# Some fonts can affect the weight of the text. If an update request
# specifies values for both `font_family` and `bold`, the explicitly-set
# `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "italic": True or False, # Whether or not the text is italicized.
"link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
# are not inherited from parent text.
#
@@ -13957,19 +20155,13 @@
# text is another link) unless different styles are being set in the same
# request.
"url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
"slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
# in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
"relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
# addressed by its position.
},
- "italic": True or False, # Whether or not the text is italicized.
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
"underline": True or False, # Whether or not the text is underlined.
"backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
# transparent, depending on if the `opaque_color` field in it is set.
@@ -13987,116 +20179,7 @@
},
},
],
- "lists": { # The bulleted lists contained in this text, keyed by list ID.
- "a_key": { # 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.
- "nestingLevel": { # A map of nesting levels to the properties of bullets at the associated
- # level. A list has at most nine levels of nesting, so the possible values
- # for the keys of this map are 0 through 8, inclusive.
- "a_key": { # Contains properties describing the look and feel of a list bullet at a given
- # level of nesting.
- "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The style of a bullet at this level of nesting.
- #
- # 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.
- "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- "bold": True or False, # Whether or not the text is bold.
- "baselineOffset": "A String", # The text's vertical offset from its normal position.
- #
- # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
- # rendered in a smaller font size, computed based on the `font_size` field.
- # The `font_size` itself is not affected by changes in this field.
- "strikethrough": True or False, # Whether or not the text is struck through.
- "smallCaps": True or False, # Whether or not the text is in small capital letters.
- "fontFamily": "A String", # The font family of the text.
- #
- # The font family can be any font from the Font menu in Slides or from
- # [Google Fonts] (https://fonts.google.com/). If the font name is
- # unrecognized, the text is rendered in `Arial`.
- #
- # Some fonts can affect the weight of the text. If an update request
- # specifies values for both `font_family` and `bold`, the explicitly-set
- # `bold` value is used.
- "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
- # are not inherited from parent text.
- #
- # Changing the link in an update request causes some other changes to the
- # text style of the range:
- #
- # * When setting a link, the text foreground color will be set to
- # ThemeColorType.HYPERLINK and the text will
- # be underlined. If these fields are modified in the same
- # request, those values will be used instead of the link defaults.
- # * Setting a link on a text range that overlaps with an existing link will
- # also update the existing link to point to the new URL.
- # * Links are not settable on newline characters. As a result, setting a link
- # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
- # will separate the newline character(s) into their own text runs. The
- # link will be applied separately to the runs before and after the newline.
- # * Removing a link will update the text style of the range to match the
- # style of the preceding text (or the default text styles if the preceding
- # text is another link) unless different styles are being set in the same
- # request.
- "url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
- "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
- # in the presentation. There may not be a slide at this index.
- "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
- # addressed by its position.
- },
- "italic": True or False, # Whether or not the text is italicized.
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
- "underline": True or False, # Whether or not the text is underlined.
- "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- },
- },
- },
- "listId": "A String", # The ID of the list.
- },
- },
},
- "rowSpan": 42, # Row span of the cell.
"tableCellProperties": { # The properties of the TableCell. # The properties of the table cell.
"tableCellBackgroundFill": { # The table cell background fill. # The background fill of the table cell. The default fill matches the fill
# for newly created table cells in the Slides editor.
@@ -14129,11 +20212,12 @@
# case, any other fill fields set in the same request will be ignored.
},
},
+ "rowSpan": 42, # Row span of the cell.
+ "columnSpan": 42, # Column span of the cell.
"location": { # A location of a single table cell within a table. # The location of the cell within the table.
"rowIndex": 42, # The 0-based row index.
"columnIndex": 42, # The 0-based column index.
},
- "columnSpan": 42, # Column span of the cell.
},
],
"rowHeight": { # A magnitude in a single direction in the specified units. # Height of a row.
@@ -14159,10 +20243,10 @@
"endArrow": "A String", # The style of the arrow at the end of the line.
"link": { # A hypertext link. # The hyperlink destination of the line. If unset, there is no link.
"url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
"slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
# in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
"relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
# addressed by its position.
},
@@ -14212,9 +20296,28 @@
},
},
],
+ "notesProperties": { # The properties of Page that are only # Notes specific properties. Only set if page_type = NOTES.
+ # relevant for pages with page_type NOTES.
+ "speakerNotesObjectId": "A String", # The object ID of the shape on this notes page that contains the speaker
+ # notes for the corresponding slide.
+ # The actual shape may not always exist on the notes page. Inserting text
+ # using this object ID will automatically create the shape. In this case, the
+ # actual shape may have different object ID. The `GetPresentation` or
+ # `GetPage` action will always return the latest object ID.
+ },
"objectId": "A String", # The object ID for this page. Object IDs used by
# Page and
# PageElement share the same namespace.
+ "revisionId": "A String", # The revision ID of the presentation containing this page. Can be used in
+ # update requests to assert that the presentation revision hasn't changed
+ # since the last read operation. Only populated if the user has edit access
+ # to the presentation.
+ #
+ # The format of the revision ID may change over time, so it should be treated
+ # opaquely. A returned revision ID is only guaranteed to be valid for 24
+ # hours after it has been returned and cannot be shared across
+ # users. Callers can assume that if two revision IDs are equal then the
+ # presentation has not changed.
"pageProperties": { # The properties of the Page. # The properties of the page.
#
# The page will inherit properties from the parent page. Depending on the page
@@ -14296,23 +20399,20 @@
"pageType": "A String", # The type of the page.
"slideProperties": { # The properties of Page that are only # Slide specific properties. Only set if page_type = SLIDE.
# relevant for pages with page_type SLIDE.
+ "notesPage": # Object with schema name: Page # The notes page that this slide is associated with. It defines the visual
+ # appearance of a notes page when printing or exporting slides with speaker
+ # notes. A notes page inherits properties from the
+ # notes master.
+ # The placeholder shape with type BODY on the notes page contains the speaker
+ # notes for this slide. The ID of this shape is identified by the
+ # speakerNotesObjectId field.
+ # The notes page is read-only except for the text content and styles of the
+ # speaker notes shape.
"masterObjectId": "A String", # The object ID of the master that this slide is based on.
"layoutObjectId": "A String", # The object ID of the layout that this slide is based on.
},
},
],
- "pageSize": { # A width and height. # The size of pages in the presentation.
- "width": { # A magnitude in a single direction in the specified units. # The width of the object.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
- "height": { # A magnitude in a single direction in the specified units. # The height of the object.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
- },
- "title": "A String", # The title of the presentation.
- "locale": "A String", # The locale of the presentation, as an IETF BCP 47 language tag.
"slides": [ # The slides in the presentation.
# A slide inherits properties from a slide layout.
{ # A page in a presentation.
@@ -14348,14 +20448,6 @@
# 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.
- "dashStyle": "A String", # The dash style of the outline.
- "propertyState": "A String", # The outline property state.
- #
- # Updating the the outline on a page element will implicitly update this
- # field to`RENDERED`, unless another value is specified in the same request.
- # To have no outline on a page element, set this field to `NOT_RENDERED`. In
- # this case, any other outline fields set in the same request will be
- # ignored.
"outlineFill": { # The fill of the outline. # The fill of the outline.
"solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill.
# specified color value.
@@ -14379,6 +20471,14 @@
# a value of 0.0 corresponds to a completely transparent color.
},
},
+ "propertyState": "A String", # The outline property state.
+ #
+ # Updating the the outline on a page element will implicitly update this
+ # field to`RENDERED`, unless another value is specified in the same request.
+ # To have no outline on a page element, set this field to `NOT_RENDERED`. In
+ # this case, any other outline fields set in the same request will be
+ # ignored.
+ "dashStyle": "A String", # The dash style of the outline.
"weight": { # A magnitude in a single direction in the specified units. # The thickness of the outline.
"magnitude": 3.14, # The magnitude.
"unit": "A String", # The units for magnitude.
@@ -14389,7 +20489,11 @@
"recolor": { # A recolor effect applied on an image. # The recolor effect of the image. If not set, the image is not recolored.
# This property is read-only.
"recolorStops": [ # The recolor effect is represented by a gradient, which is a list of color
- # stops. This property is read-only.
+ # stops.
+ #
+ # The colors in the gradient will replace the corresponding colors at
+ # the same position in the color palette and apply to the image. This
+ # property is read-only.
{ # A color and position in a gradient band.
"color": { # A themeable solid color value. # The color of the gradient stop.
"themeColor": "A String", # An opaque theme color.
@@ -14399,19 +20503,24 @@
"red": 3.14, # The red component of the color, from 0.0 to 1.0.
},
},
- "position": 3.14, # The relative position of the color stop in the gradient band measured
- # in percentage. The value should be in the interval [0.0, 1.0].
"alpha": 3.14, # The alpha value of this color in the gradient band. Defaults to 1.0,
# fully opaque.
+ "position": 3.14, # The relative position of the color stop in the gradient band measured
+ # in percentage. The value should be in the interval [0.0, 1.0].
},
],
+ "name": "A String", # The name of the recolor effect.
+ #
+ # The name is determined from the `recolor_stops` by matching the gradient
+ # against the colors in the page's current color scheme. This property is
+ # read-only.
},
"link": { # A hypertext link. # The hyperlink destination of the image. If unset, there is no link.
"url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
"slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
# in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
"relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
# addressed by its position.
},
@@ -14444,12 +20553,12 @@
# object's original width.
"angle": 3.14, # The rotation angle of the crop window around its center, in radians.
# Rotation angle is applied after the offset.
- "bottomOffset": 3.14, # The offset specifies the bottom edge of the crop rectangle that is located
- # above the original bounding rectangle bottom edge, relative to the object's
- # original height.
"rightOffset": 3.14, # The offset specifies the right edge of the crop rectangle that is located
# to the left of the original bounding rectangle right edge, relative to the
# object's original width.
+ "bottomOffset": 3.14, # The offset specifies the bottom edge of the crop rectangle that is located
+ # above the original bounding rectangle bottom edge, relative to the object's
+ # original height.
"topOffset": 3.14, # The offset specifies the top edge of the crop rectangle that is located
# below the original bounding rectangle top edge, relative to the object's
# original height.
@@ -14537,6 +20646,114 @@
# generic shape that does not have a more specific classification.
"text": { # The general text content. The text must reside in a compatible shape (e.g. # The text content of the shape.
# text box or rectangle) or a table cell in a page.
+ "lists": { # The bulleted lists contained in this text, keyed by list ID.
+ "a_key": { # 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.
+ "nestingLevel": { # A map of nesting levels to the properties of bullets at the associated
+ # level. A list has at most nine levels of nesting, so the possible values
+ # for the keys of this map are 0 through 8, inclusive.
+ "a_key": { # Contains properties describing the look and feel of a list bullet at a given
+ # level of nesting.
+ "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The style of a bullet at this level of nesting.
+ #
+ # 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.
+ "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ "bold": True or False, # Whether or not the text is rendered as bold.
+ "baselineOffset": "A String", # The text's vertical offset from its normal position.
+ #
+ # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
+ # rendered in a smaller font size, computed based on the `font_size` field.
+ # The `font_size` itself is not affected by changes in this field.
+ "strikethrough": True or False, # Whether or not the text is struck through.
+ "smallCaps": True or False, # Whether or not the text is in small capital letters.
+ "fontFamily": "A String", # The font family of the text.
+ #
+ # The font family can be any font from the Font menu in Slides or from
+ # [Google Fonts] (https://fonts.google.com/). If the font name is
+ # unrecognized, the text is rendered in `Arial`.
+ #
+ # Some fonts can affect the weight of the text. If an update request
+ # specifies values for both `font_family` and `bold`, the explicitly-set
+ # `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "italic": True or False, # Whether or not the text is italicized.
+ "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
+ # are not inherited from parent text.
+ #
+ # Changing the link in an update request causes some other changes to the
+ # text style of the range:
+ #
+ # * When setting a link, the text foreground color will be set to
+ # ThemeColorType.HYPERLINK and the text will
+ # be underlined. If these fields are modified in the same
+ # request, those values will be used instead of the link defaults.
+ # * Setting a link on a text range that overlaps with an existing link will
+ # also update the existing link to point to the new URL.
+ # * Links are not settable on newline characters. As a result, setting a link
+ # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
+ # will separate the newline character(s) into their own text runs. The
+ # link will be applied separately to the runs before and after the newline.
+ # * Removing a link will update the text style of the range to match the
+ # style of the preceding text (or the default text styles if the preceding
+ # text is another link) unless different styles are being set in the same
+ # request.
+ "url": "A String", # If set, indicates this is a link to the external web page at this URL.
+ "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
+ # in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
+ "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
+ # addressed by its position.
+ },
+ "underline": True or False, # Whether or not the text is underlined.
+ "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ },
+ },
+ },
+ "listId": "A String", # The ID of the list.
+ },
+ },
"textElements": [ # The text contents broken down into its component parts, including styling
# information. This property is read-only.
{ # A TextElement describes the content of a range of indices in the text content
@@ -14573,7 +20790,7 @@
},
},
},
- "bold": True or False, # Whether or not the text is bold.
+ "bold": True or False, # Whether or not the text is rendered as bold.
"baselineOffset": "A String", # The text's vertical offset from its normal position.
#
# Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
@@ -14590,6 +20807,12 @@
# Some fonts can affect the weight of the text. If an update request
# specifies values for both `font_family` and `bold`, the explicitly-set
# `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "italic": True or False, # Whether or not the text is italicized.
"link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
# are not inherited from parent text.
#
@@ -14611,19 +20834,13 @@
# text is another link) unless different styles are being set in the same
# request.
"url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
"slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
# in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
"relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
# addressed by its position.
},
- "italic": True or False, # Whether or not the text is italicized.
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
"underline": True or False, # Whether or not the text is underlined.
"backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
# transparent, depending on if the `opaque_color` field in it is set.
@@ -14663,40 +20880,40 @@
# placeholder.
#
# Inherited paragraph styles are represented as unset fields in this message.
- "spacingMode": "A String", # The spacing mode for the paragraph. This property is read-only.
- "direction": "A String", # The text direction of this paragraph. This property is read-only.
+ "spacingMode": "A String", # The spacing mode for the paragraph.
+ "direction": "A String", # The text direction of this paragraph. If unset, the value defaults to
+ # LEFT_TO_RIGHT
+ # since text direction is not inherited.
"spaceBelow": { # A magnitude in a single direction in the specified units. # The amount of extra space above the paragraph. If unset, the value is
- # inherited from the parent. This property is read-only.
+ # inherited from the parent.
"magnitude": 3.14, # The magnitude.
"unit": "A String", # The units for magnitude.
},
"lineSpacing": 3.14, # The amount of space between lines, as a percentage of normal, where normal
# is represented as 100.0. If unset, the value is inherited from the parent.
- # This property is read-only.
"indentStart": { # A magnitude in a single direction in the specified units. # The amount indentation for the paragraph on the side that corresponds to
# the start of the text, based on the current text direction. If unset, the
- # value is inherited from the parent. This property is read-only.
+ # value is inherited from the parent.
"magnitude": 3.14, # The magnitude.
"unit": "A String", # The units for magnitude.
},
"spaceAbove": { # A magnitude in a single direction in the specified units. # The amount of extra space above the paragraph. If unset, the value is
- # inherited from the parent. This property is read-only.
+ # inherited from the parent.
"magnitude": 3.14, # The magnitude.
"unit": "A String", # The units for magnitude.
},
"indentEnd": { # A magnitude in a single direction in the specified units. # The amount indentation for the paragraph on the side that corresponds to
# the end of the text, based on the current text direction. If unset, the
- # value is inherited from the parent. This property is read-only.
+ # value is inherited from the parent.
"magnitude": 3.14, # The magnitude.
"unit": "A String", # The units for magnitude.
},
"indentFirstLine": { # A magnitude in a single direction in the specified units. # The amount of indentation for the start of the first line of the paragraph.
- # If unset, the value is inherited from the parent. This property is
- # read-only.
+ # If unset, the value is inherited from the parent.
"magnitude": 3.14, # The magnitude.
"unit": "A String", # The units for magnitude.
},
- "alignment": "A String", # The text alignment for this paragraph. This property is read-only.
+ "alignment": "A String", # The text alignment for this paragraph.
},
"bullet": { # Describes the bullet of a paragraph. # The bullet for this paragraph. If not present, the paragraph does not
# belong to a list.
@@ -14731,7 +20948,7 @@
},
},
},
- "bold": True or False, # Whether or not the text is bold.
+ "bold": True or False, # Whether or not the text is rendered as bold.
"baselineOffset": "A String", # The text's vertical offset from its normal position.
#
# Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
@@ -14748,6 +20965,12 @@
# Some fonts can affect the weight of the text. If an update request
# specifies values for both `font_family` and `bold`, the explicitly-set
# `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "italic": True or False, # Whether or not the text is italicized.
"link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
# are not inherited from parent text.
#
@@ -14769,19 +20992,13 @@
# text is another link) unless different styles are being set in the same
# request.
"url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
"slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
# in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
"relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
# addressed by its position.
},
- "italic": True or False, # Whether or not the text is italicized.
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
"underline": True or False, # Whether or not the text is underlined.
"backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
# transparent, depending on if the `opaque_color` field in it is set.
@@ -14836,7 +21053,7 @@
},
},
},
- "bold": True or False, # Whether or not the text is bold.
+ "bold": True or False, # Whether or not the text is rendered as bold.
"baselineOffset": "A String", # The text's vertical offset from its normal position.
#
# Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
@@ -14853,6 +21070,12 @@
# Some fonts can affect the weight of the text. If an update request
# specifies values for both `font_family` and `bold`, the explicitly-set
# `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "italic": True or False, # Whether or not the text is italicized.
"link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
# are not inherited from parent text.
#
@@ -14874,19 +21097,13 @@
# text is another link) unless different styles are being set in the same
# request.
"url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
"slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
# in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
"relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
# addressed by its position.
},
- "italic": True or False, # Whether or not the text is italicized.
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
"underline": True or False, # Whether or not the text is underlined.
"backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
# transparent, depending on if the `opaque_color` field in it is set.
@@ -14904,114 +21121,6 @@
},
},
],
- "lists": { # The bulleted lists contained in this text, keyed by list ID.
- "a_key": { # 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.
- "nestingLevel": { # A map of nesting levels to the properties of bullets at the associated
- # level. A list has at most nine levels of nesting, so the possible values
- # for the keys of this map are 0 through 8, inclusive.
- "a_key": { # Contains properties describing the look and feel of a list bullet at a given
- # level of nesting.
- "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The style of a bullet at this level of nesting.
- #
- # 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.
- "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- "bold": True or False, # Whether or not the text is bold.
- "baselineOffset": "A String", # The text's vertical offset from its normal position.
- #
- # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
- # rendered in a smaller font size, computed based on the `font_size` field.
- # The `font_size` itself is not affected by changes in this field.
- "strikethrough": True or False, # Whether or not the text is struck through.
- "smallCaps": True or False, # Whether or not the text is in small capital letters.
- "fontFamily": "A String", # The font family of the text.
- #
- # The font family can be any font from the Font menu in Slides or from
- # [Google Fonts] (https://fonts.google.com/). If the font name is
- # unrecognized, the text is rendered in `Arial`.
- #
- # Some fonts can affect the weight of the text. If an update request
- # specifies values for both `font_family` and `bold`, the explicitly-set
- # `bold` value is used.
- "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
- # are not inherited from parent text.
- #
- # Changing the link in an update request causes some other changes to the
- # text style of the range:
- #
- # * When setting a link, the text foreground color will be set to
- # ThemeColorType.HYPERLINK and the text will
- # be underlined. If these fields are modified in the same
- # request, those values will be used instead of the link defaults.
- # * Setting a link on a text range that overlaps with an existing link will
- # also update the existing link to point to the new URL.
- # * Links are not settable on newline characters. As a result, setting a link
- # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
- # will separate the newline character(s) into their own text runs. The
- # link will be applied separately to the runs before and after the newline.
- # * Removing a link will update the text style of the range to match the
- # style of the preceding text (or the default text styles if the preceding
- # text is another link) unless different styles are being set in the same
- # request.
- "url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
- "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
- # in the presentation. There may not be a slide at this index.
- "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
- # addressed by its position.
- },
- "italic": True or False, # Whether or not the text is italicized.
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
- "underline": True or False, # Whether or not the text is underlined.
- "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- },
- },
- },
- "listId": "A String", # The ID of the list.
- },
- },
},
"shapeProperties": { # The properties of a Shape. # The properties of the shape.
#
@@ -15111,10 +21220,10 @@
"link": { # A hypertext link. # The hyperlink destination of the shape. If unset, there is no link. Links
# are not inherited from parent placeholders.
"url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
"slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
# in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
"relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
# addressed by its position.
},
@@ -15127,14 +21236,6 @@
# 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.
- "dashStyle": "A String", # The dash style of the outline.
- "propertyState": "A String", # The outline property state.
- #
- # Updating the the outline on a page element will implicitly update this
- # field to`RENDERED`, unless another value is specified in the same request.
- # To have no outline on a page element, set this field to `NOT_RENDERED`. In
- # this case, any other outline fields set in the same request will be
- # ignored.
"outlineFill": { # The fill of the outline. # The fill of the outline.
"solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill.
# specified color value.
@@ -15158,6 +21259,14 @@
# a value of 0.0 corresponds to a completely transparent color.
},
},
+ "propertyState": "A String", # The outline property state.
+ #
+ # Updating the the outline on a page element will implicitly update this
+ # field to`RENDERED`, unless another value is specified in the same request.
+ # To have no outline on a page element, set this field to `NOT_RENDERED`. In
+ # this case, any other outline fields set in the same request will be
+ # ignored.
+ "dashStyle": "A String", # The dash style of the outline.
"weight": { # A magnitude in a single direction in the specified units. # The thickness of the outline.
"magnitude": 3.14, # The magnitude.
"unit": "A String", # The units for magnitude.
@@ -15184,7 +21293,10 @@
# a linked chart embedded from Google Sheets.
"chartId": 42, # The ID of the specific chart in the Google Sheets spreadsheet that is
# embedded.
- "spreadsheetId": "A String", # The ID of the Google Sheets spreadsheet that contains the source chart.
+ "contentUrl": "A String", # The URL of an image of the embedded chart, with a default lifetime of 30
+ # minutes. This URL is tagged with the account of the requester. Anyone with
+ # the URL effectively accesses the image as the original requester. Access to
+ # the image may be lost if the presentation's sharing settings change.
"sheetsChartProperties": { # The properties of the SheetsChart. # The properties of the Sheets chart.
"chartImageProperties": { # The properties of the Image. # The properties of the embedded chart image.
"outline": { # The outline of a PageElement. # The outline of the image. If not set, the the image has no outline.
@@ -15193,14 +21305,6 @@
# 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.
- "dashStyle": "A String", # The dash style of the outline.
- "propertyState": "A String", # The outline property state.
- #
- # Updating the the outline on a page element will implicitly update this
- # field to`RENDERED`, unless another value is specified in the same request.
- # To have no outline on a page element, set this field to `NOT_RENDERED`. In
- # this case, any other outline fields set in the same request will be
- # ignored.
"outlineFill": { # The fill of the outline. # The fill of the outline.
"solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill.
# specified color value.
@@ -15224,6 +21328,14 @@
# a value of 0.0 corresponds to a completely transparent color.
},
},
+ "propertyState": "A String", # The outline property state.
+ #
+ # Updating the the outline on a page element will implicitly update this
+ # field to`RENDERED`, unless another value is specified in the same request.
+ # To have no outline on a page element, set this field to `NOT_RENDERED`. In
+ # this case, any other outline fields set in the same request will be
+ # ignored.
+ "dashStyle": "A String", # The dash style of the outline.
"weight": { # A magnitude in a single direction in the specified units. # The thickness of the outline.
"magnitude": 3.14, # The magnitude.
"unit": "A String", # The units for magnitude.
@@ -15234,7 +21346,11 @@
"recolor": { # A recolor effect applied on an image. # The recolor effect of the image. If not set, the image is not recolored.
# This property is read-only.
"recolorStops": [ # The recolor effect is represented by a gradient, which is a list of color
- # stops. This property is read-only.
+ # stops.
+ #
+ # The colors in the gradient will replace the corresponding colors at
+ # the same position in the color palette and apply to the image. This
+ # property is read-only.
{ # A color and position in a gradient band.
"color": { # A themeable solid color value. # The color of the gradient stop.
"themeColor": "A String", # An opaque theme color.
@@ -15244,19 +21360,24 @@
"red": 3.14, # The red component of the color, from 0.0 to 1.0.
},
},
- "position": 3.14, # The relative position of the color stop in the gradient band measured
- # in percentage. The value should be in the interval [0.0, 1.0].
"alpha": 3.14, # The alpha value of this color in the gradient band. Defaults to 1.0,
# fully opaque.
+ "position": 3.14, # The relative position of the color stop in the gradient band measured
+ # in percentage. The value should be in the interval [0.0, 1.0].
},
],
+ "name": "A String", # The name of the recolor effect.
+ #
+ # The name is determined from the `recolor_stops` by matching the gradient
+ # against the colors in the page's current color scheme. This property is
+ # read-only.
},
"link": { # A hypertext link. # The hyperlink destination of the image. If unset, there is no link.
"url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
"slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
# in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
"relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
# addressed by its position.
},
@@ -15289,12 +21410,12 @@
# object's original width.
"angle": 3.14, # The rotation angle of the crop window around its center, in radians.
# Rotation angle is applied after the offset.
- "bottomOffset": 3.14, # The offset specifies the bottom edge of the crop rectangle that is located
- # above the original bounding rectangle bottom edge, relative to the object's
- # original height.
"rightOffset": 3.14, # The offset specifies the right edge of the crop rectangle that is located
# to the left of the original bounding rectangle right edge, relative to the
# object's original width.
+ "bottomOffset": 3.14, # The offset specifies the bottom edge of the crop rectangle that is located
+ # above the original bounding rectangle bottom edge, relative to the object's
+ # original height.
"topOffset": 3.14, # The offset specifies the top edge of the crop rectangle that is located
# below the original bounding rectangle top edge, relative to the object's
# original height.
@@ -15357,15 +21478,14 @@
# [-1.0, 1.0], where 0 means no effect. This property is read-only.
},
},
- "contentUrl": "A String", # The URL of an image of the embedded chart, with a default lifetime of 30
- # minutes. This URL is tagged with the account of the requester. Anyone with
- # the URL effectively accesses the image as the original requester. Access to
- # the image may be lost if the presentation's sharing settings change.
+ "spreadsheetId": "A String", # The ID of the Google Sheets spreadsheet that contains the source chart.
},
"video": { # A PageElement kind representing a # A video page element.
# video.
"url": "A String", # An URL to a video. The URL is valid as long as the source video
# exists and sharing settings do not change.
+ "source": "A String", # The video source.
+ "id": "A String", # The video source's unique identifier for this video.
"videoProperties": { # The properties of the Video. # The properties of the video.
"outline": { # The outline of a PageElement. # The outline of the video. The default outline matches the defaults for new
# videos created in the Slides editor.
@@ -15374,14 +21494,6 @@
# 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.
- "dashStyle": "A String", # The dash style of the outline.
- "propertyState": "A String", # The outline property state.
- #
- # Updating the the outline on a page element will implicitly update this
- # field to`RENDERED`, unless another value is specified in the same request.
- # To have no outline on a page element, set this field to `NOT_RENDERED`. In
- # this case, any other outline fields set in the same request will be
- # ignored.
"outlineFill": { # The fill of the outline. # The fill of the outline.
"solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill.
# specified color value.
@@ -15405,14 +21517,20 @@
# a value of 0.0 corresponds to a completely transparent color.
},
},
+ "propertyState": "A String", # The outline property state.
+ #
+ # Updating the the outline on a page element will implicitly update this
+ # field to`RENDERED`, unless another value is specified in the same request.
+ # To have no outline on a page element, set this field to `NOT_RENDERED`. In
+ # this case, any other outline fields set in the same request will be
+ # ignored.
+ "dashStyle": "A String", # The dash style of the outline.
"weight": { # A magnitude in a single direction in the specified units. # The thickness of the outline.
"magnitude": 3.14, # The magnitude.
"unit": "A String", # The units for magnitude.
},
},
},
- "id": "A String", # The video source's unique identifier for this video.
- "source": "A String", # The video source.
},
"table": { # A PageElement kind representing a # A table page element.
# table.
@@ -15439,6 +21557,114 @@
{ # Properties and contents of each table cell.
"text": { # The general text content. The text must reside in a compatible shape (e.g. # The text content of the cell.
# text box or rectangle) or a table cell in a page.
+ "lists": { # The bulleted lists contained in this text, keyed by list ID.
+ "a_key": { # 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.
+ "nestingLevel": { # A map of nesting levels to the properties of bullets at the associated
+ # level. A list has at most nine levels of nesting, so the possible values
+ # for the keys of this map are 0 through 8, inclusive.
+ "a_key": { # Contains properties describing the look and feel of a list bullet at a given
+ # level of nesting.
+ "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The style of a bullet at this level of nesting.
+ #
+ # 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.
+ "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ "bold": True or False, # Whether or not the text is rendered as bold.
+ "baselineOffset": "A String", # The text's vertical offset from its normal position.
+ #
+ # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
+ # rendered in a smaller font size, computed based on the `font_size` field.
+ # The `font_size` itself is not affected by changes in this field.
+ "strikethrough": True or False, # Whether or not the text is struck through.
+ "smallCaps": True or False, # Whether or not the text is in small capital letters.
+ "fontFamily": "A String", # The font family of the text.
+ #
+ # The font family can be any font from the Font menu in Slides or from
+ # [Google Fonts] (https://fonts.google.com/). If the font name is
+ # unrecognized, the text is rendered in `Arial`.
+ #
+ # Some fonts can affect the weight of the text. If an update request
+ # specifies values for both `font_family` and `bold`, the explicitly-set
+ # `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "italic": True or False, # Whether or not the text is italicized.
+ "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
+ # are not inherited from parent text.
+ #
+ # Changing the link in an update request causes some other changes to the
+ # text style of the range:
+ #
+ # * When setting a link, the text foreground color will be set to
+ # ThemeColorType.HYPERLINK and the text will
+ # be underlined. If these fields are modified in the same
+ # request, those values will be used instead of the link defaults.
+ # * Setting a link on a text range that overlaps with an existing link will
+ # also update the existing link to point to the new URL.
+ # * Links are not settable on newline characters. As a result, setting a link
+ # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
+ # will separate the newline character(s) into their own text runs. The
+ # link will be applied separately to the runs before and after the newline.
+ # * Removing a link will update the text style of the range to match the
+ # style of the preceding text (or the default text styles if the preceding
+ # text is another link) unless different styles are being set in the same
+ # request.
+ "url": "A String", # If set, indicates this is a link to the external web page at this URL.
+ "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
+ # in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
+ "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
+ # addressed by its position.
+ },
+ "underline": True or False, # Whether or not the text is underlined.
+ "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ },
+ },
+ },
+ "listId": "A String", # The ID of the list.
+ },
+ },
"textElements": [ # The text contents broken down into its component parts, including styling
# information. This property is read-only.
{ # A TextElement describes the content of a range of indices in the text content
@@ -15475,7 +21701,7 @@
},
},
},
- "bold": True or False, # Whether or not the text is bold.
+ "bold": True or False, # Whether or not the text is rendered as bold.
"baselineOffset": "A String", # The text's vertical offset from its normal position.
#
# Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
@@ -15492,6 +21718,12 @@
# Some fonts can affect the weight of the text. If an update request
# specifies values for both `font_family` and `bold`, the explicitly-set
# `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "italic": True or False, # Whether or not the text is italicized.
"link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
# are not inherited from parent text.
#
@@ -15513,19 +21745,13 @@
# text is another link) unless different styles are being set in the same
# request.
"url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
"slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
# in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
"relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
# addressed by its position.
},
- "italic": True or False, # Whether or not the text is italicized.
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
"underline": True or False, # Whether or not the text is underlined.
"backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
# transparent, depending on if the `opaque_color` field in it is set.
@@ -15565,40 +21791,40 @@
# placeholder.
#
# Inherited paragraph styles are represented as unset fields in this message.
- "spacingMode": "A String", # The spacing mode for the paragraph. This property is read-only.
- "direction": "A String", # The text direction of this paragraph. This property is read-only.
+ "spacingMode": "A String", # The spacing mode for the paragraph.
+ "direction": "A String", # The text direction of this paragraph. If unset, the value defaults to
+ # LEFT_TO_RIGHT
+ # since text direction is not inherited.
"spaceBelow": { # A magnitude in a single direction in the specified units. # The amount of extra space above the paragraph. If unset, the value is
- # inherited from the parent. This property is read-only.
+ # inherited from the parent.
"magnitude": 3.14, # The magnitude.
"unit": "A String", # The units for magnitude.
},
"lineSpacing": 3.14, # The amount of space between lines, as a percentage of normal, where normal
# is represented as 100.0. If unset, the value is inherited from the parent.
- # This property is read-only.
"indentStart": { # A magnitude in a single direction in the specified units. # The amount indentation for the paragraph on the side that corresponds to
# the start of the text, based on the current text direction. If unset, the
- # value is inherited from the parent. This property is read-only.
+ # value is inherited from the parent.
"magnitude": 3.14, # The magnitude.
"unit": "A String", # The units for magnitude.
},
"spaceAbove": { # A magnitude in a single direction in the specified units. # The amount of extra space above the paragraph. If unset, the value is
- # inherited from the parent. This property is read-only.
+ # inherited from the parent.
"magnitude": 3.14, # The magnitude.
"unit": "A String", # The units for magnitude.
},
"indentEnd": { # A magnitude in a single direction in the specified units. # The amount indentation for the paragraph on the side that corresponds to
# the end of the text, based on the current text direction. If unset, the
- # value is inherited from the parent. This property is read-only.
+ # value is inherited from the parent.
"magnitude": 3.14, # The magnitude.
"unit": "A String", # The units for magnitude.
},
"indentFirstLine": { # A magnitude in a single direction in the specified units. # The amount of indentation for the start of the first line of the paragraph.
- # If unset, the value is inherited from the parent. This property is
- # read-only.
+ # If unset, the value is inherited from the parent.
"magnitude": 3.14, # The magnitude.
"unit": "A String", # The units for magnitude.
},
- "alignment": "A String", # The text alignment for this paragraph. This property is read-only.
+ "alignment": "A String", # The text alignment for this paragraph.
},
"bullet": { # Describes the bullet of a paragraph. # The bullet for this paragraph. If not present, the paragraph does not
# belong to a list.
@@ -15633,7 +21859,7 @@
},
},
},
- "bold": True or False, # Whether or not the text is bold.
+ "bold": True or False, # Whether or not the text is rendered as bold.
"baselineOffset": "A String", # The text's vertical offset from its normal position.
#
# Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
@@ -15650,6 +21876,12 @@
# Some fonts can affect the weight of the text. If an update request
# specifies values for both `font_family` and `bold`, the explicitly-set
# `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "italic": True or False, # Whether or not the text is italicized.
"link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
# are not inherited from parent text.
#
@@ -15671,19 +21903,13 @@
# text is another link) unless different styles are being set in the same
# request.
"url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
"slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
# in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
"relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
# addressed by its position.
},
- "italic": True or False, # Whether or not the text is italicized.
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
"underline": True or False, # Whether or not the text is underlined.
"backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
# transparent, depending on if the `opaque_color` field in it is set.
@@ -15738,7 +21964,7 @@
},
},
},
- "bold": True or False, # Whether or not the text is bold.
+ "bold": True or False, # Whether or not the text is rendered as bold.
"baselineOffset": "A String", # The text's vertical offset from its normal position.
#
# Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
@@ -15755,6 +21981,12 @@
# Some fonts can affect the weight of the text. If an update request
# specifies values for both `font_family` and `bold`, the explicitly-set
# `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "italic": True or False, # Whether or not the text is italicized.
"link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
# are not inherited from parent text.
#
@@ -15776,19 +22008,13 @@
# text is another link) unless different styles are being set in the same
# request.
"url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
"slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
# in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
"relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
# addressed by its position.
},
- "italic": True or False, # Whether or not the text is italicized.
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
"underline": True or False, # Whether or not the text is underlined.
"backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
# transparent, depending on if the `opaque_color` field in it is set.
@@ -15806,116 +22032,7 @@
},
},
],
- "lists": { # The bulleted lists contained in this text, keyed by list ID.
- "a_key": { # 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.
- "nestingLevel": { # A map of nesting levels to the properties of bullets at the associated
- # level. A list has at most nine levels of nesting, so the possible values
- # for the keys of this map are 0 through 8, inclusive.
- "a_key": { # Contains properties describing the look and feel of a list bullet at a given
- # level of nesting.
- "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The style of a bullet at this level of nesting.
- #
- # 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.
- "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- "bold": True or False, # Whether or not the text is bold.
- "baselineOffset": "A String", # The text's vertical offset from its normal position.
- #
- # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
- # rendered in a smaller font size, computed based on the `font_size` field.
- # The `font_size` itself is not affected by changes in this field.
- "strikethrough": True or False, # Whether or not the text is struck through.
- "smallCaps": True or False, # Whether or not the text is in small capital letters.
- "fontFamily": "A String", # The font family of the text.
- #
- # The font family can be any font from the Font menu in Slides or from
- # [Google Fonts] (https://fonts.google.com/). If the font name is
- # unrecognized, the text is rendered in `Arial`.
- #
- # Some fonts can affect the weight of the text. If an update request
- # specifies values for both `font_family` and `bold`, the explicitly-set
- # `bold` value is used.
- "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
- # are not inherited from parent text.
- #
- # Changing the link in an update request causes some other changes to the
- # text style of the range:
- #
- # * When setting a link, the text foreground color will be set to
- # ThemeColorType.HYPERLINK and the text will
- # be underlined. If these fields are modified in the same
- # request, those values will be used instead of the link defaults.
- # * Setting a link on a text range that overlaps with an existing link will
- # also update the existing link to point to the new URL.
- # * Links are not settable on newline characters. As a result, setting a link
- # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
- # will separate the newline character(s) into their own text runs. The
- # link will be applied separately to the runs before and after the newline.
- # * Removing a link will update the text style of the range to match the
- # style of the preceding text (or the default text styles if the preceding
- # text is another link) unless different styles are being set in the same
- # request.
- "url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
- "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
- # in the presentation. There may not be a slide at this index.
- "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
- # addressed by its position.
- },
- "italic": True or False, # Whether or not the text is italicized.
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
- "underline": True or False, # Whether or not the text is underlined.
- "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- },
- },
- },
- "listId": "A String", # The ID of the list.
- },
- },
},
- "rowSpan": 42, # Row span of the cell.
"tableCellProperties": { # The properties of the TableCell. # The properties of the table cell.
"tableCellBackgroundFill": { # The table cell background fill. # The background fill of the table cell. The default fill matches the fill
# for newly created table cells in the Slides editor.
@@ -15948,11 +22065,12 @@
# case, any other fill fields set in the same request will be ignored.
},
},
+ "rowSpan": 42, # Row span of the cell.
+ "columnSpan": 42, # Column span of the cell.
"location": { # A location of a single table cell within a table. # The location of the cell within the table.
"rowIndex": 42, # The 0-based row index.
"columnIndex": 42, # The 0-based column index.
},
- "columnSpan": 42, # Column span of the cell.
},
],
"rowHeight": { # A magnitude in a single direction in the specified units. # Height of a row.
@@ -15978,10 +22096,10 @@
"endArrow": "A String", # The style of the arrow at the end of the line.
"link": { # A hypertext link. # The hyperlink destination of the line. If unset, there is no link.
"url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
"slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
# in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
"relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
# addressed by its position.
},
@@ -16031,9 +22149,28 @@
},
},
],
+ "notesProperties": { # The properties of Page that are only # Notes specific properties. Only set if page_type = NOTES.
+ # relevant for pages with page_type NOTES.
+ "speakerNotesObjectId": "A String", # The object ID of the shape on this notes page that contains the speaker
+ # notes for the corresponding slide.
+ # The actual shape may not always exist on the notes page. Inserting text
+ # using this object ID will automatically create the shape. In this case, the
+ # actual shape may have different object ID. The `GetPresentation` or
+ # `GetPage` action will always return the latest object ID.
+ },
"objectId": "A String", # The object ID for this page. Object IDs used by
# Page and
# PageElement share the same namespace.
+ "revisionId": "A String", # The revision ID of the presentation containing this page. Can be used in
+ # update requests to assert that the presentation revision hasn't changed
+ # since the last read operation. Only populated if the user has edit access
+ # to the presentation.
+ #
+ # The format of the revision ID may change over time, so it should be treated
+ # opaquely. A returned revision ID is only guaranteed to be valid for 24
+ # hours after it has been returned and cannot be shared across
+ # users. Callers can assume that if two revision IDs are equal then the
+ # presentation has not changed.
"pageProperties": { # The properties of the Page. # The properties of the page.
#
# The page will inherit properties from the parent page. Depending on the page
@@ -16115,6 +22252,15 @@
"pageType": "A String", # The type of the page.
"slideProperties": { # The properties of Page that are only # Slide specific properties. Only set if page_type = SLIDE.
# relevant for pages with page_type SLIDE.
+ "notesPage": # Object with schema name: Page # The notes page that this slide is associated with. It defines the visual
+ # appearance of a notes page when printing or exporting slides with speaker
+ # notes. A notes page inherits properties from the
+ # notes master.
+ # The placeholder shape with type BODY on the notes page contains the speaker
+ # notes for this slide. The ID of this shape is identified by the
+ # speakerNotesObjectId field.
+ # The notes page is read-only except for the text content and styles of the
+ # speaker notes shape.
"masterObjectId": "A String", # The object ID of the master that this slide is based on.
"layoutObjectId": "A String", # The object ID of the layout that this slide is based on.
},
@@ -16156,14 +22302,6 @@
# 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.
- "dashStyle": "A String", # The dash style of the outline.
- "propertyState": "A String", # The outline property state.
- #
- # Updating the the outline on a page element will implicitly update this
- # field to`RENDERED`, unless another value is specified in the same request.
- # To have no outline on a page element, set this field to `NOT_RENDERED`. In
- # this case, any other outline fields set in the same request will be
- # ignored.
"outlineFill": { # The fill of the outline. # The fill of the outline.
"solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill.
# specified color value.
@@ -16187,6 +22325,14 @@
# a value of 0.0 corresponds to a completely transparent color.
},
},
+ "propertyState": "A String", # The outline property state.
+ #
+ # Updating the the outline on a page element will implicitly update this
+ # field to`RENDERED`, unless another value is specified in the same request.
+ # To have no outline on a page element, set this field to `NOT_RENDERED`. In
+ # this case, any other outline fields set in the same request will be
+ # ignored.
+ "dashStyle": "A String", # The dash style of the outline.
"weight": { # A magnitude in a single direction in the specified units. # The thickness of the outline.
"magnitude": 3.14, # The magnitude.
"unit": "A String", # The units for magnitude.
@@ -16197,7 +22343,11 @@
"recolor": { # A recolor effect applied on an image. # The recolor effect of the image. If not set, the image is not recolored.
# This property is read-only.
"recolorStops": [ # The recolor effect is represented by a gradient, which is a list of color
- # stops. This property is read-only.
+ # stops.
+ #
+ # The colors in the gradient will replace the corresponding colors at
+ # the same position in the color palette and apply to the image. This
+ # property is read-only.
{ # A color and position in a gradient band.
"color": { # A themeable solid color value. # The color of the gradient stop.
"themeColor": "A String", # An opaque theme color.
@@ -16207,19 +22357,24 @@
"red": 3.14, # The red component of the color, from 0.0 to 1.0.
},
},
- "position": 3.14, # The relative position of the color stop in the gradient band measured
- # in percentage. The value should be in the interval [0.0, 1.0].
"alpha": 3.14, # The alpha value of this color in the gradient band. Defaults to 1.0,
# fully opaque.
+ "position": 3.14, # The relative position of the color stop in the gradient band measured
+ # in percentage. The value should be in the interval [0.0, 1.0].
},
],
+ "name": "A String", # The name of the recolor effect.
+ #
+ # The name is determined from the `recolor_stops` by matching the gradient
+ # against the colors in the page's current color scheme. This property is
+ # read-only.
},
"link": { # A hypertext link. # The hyperlink destination of the image. If unset, there is no link.
"url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
"slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
# in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
"relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
# addressed by its position.
},
@@ -16252,12 +22407,12 @@
# object's original width.
"angle": 3.14, # The rotation angle of the crop window around its center, in radians.
# Rotation angle is applied after the offset.
- "bottomOffset": 3.14, # The offset specifies the bottom edge of the crop rectangle that is located
- # above the original bounding rectangle bottom edge, relative to the object's
- # original height.
"rightOffset": 3.14, # The offset specifies the right edge of the crop rectangle that is located
# to the left of the original bounding rectangle right edge, relative to the
# object's original width.
+ "bottomOffset": 3.14, # The offset specifies the bottom edge of the crop rectangle that is located
+ # above the original bounding rectangle bottom edge, relative to the object's
+ # original height.
"topOffset": 3.14, # The offset specifies the top edge of the crop rectangle that is located
# below the original bounding rectangle top edge, relative to the object's
# original height.
@@ -16345,6 +22500,114 @@
# generic shape that does not have a more specific classification.
"text": { # The general text content. The text must reside in a compatible shape (e.g. # The text content of the shape.
# text box or rectangle) or a table cell in a page.
+ "lists": { # The bulleted lists contained in this text, keyed by list ID.
+ "a_key": { # 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.
+ "nestingLevel": { # A map of nesting levels to the properties of bullets at the associated
+ # level. A list has at most nine levels of nesting, so the possible values
+ # for the keys of this map are 0 through 8, inclusive.
+ "a_key": { # Contains properties describing the look and feel of a list bullet at a given
+ # level of nesting.
+ "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The style of a bullet at this level of nesting.
+ #
+ # 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.
+ "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ "bold": True or False, # Whether or not the text is rendered as bold.
+ "baselineOffset": "A String", # The text's vertical offset from its normal position.
+ #
+ # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
+ # rendered in a smaller font size, computed based on the `font_size` field.
+ # The `font_size` itself is not affected by changes in this field.
+ "strikethrough": True or False, # Whether or not the text is struck through.
+ "smallCaps": True or False, # Whether or not the text is in small capital letters.
+ "fontFamily": "A String", # The font family of the text.
+ #
+ # The font family can be any font from the Font menu in Slides or from
+ # [Google Fonts] (https://fonts.google.com/). If the font name is
+ # unrecognized, the text is rendered in `Arial`.
+ #
+ # Some fonts can affect the weight of the text. If an update request
+ # specifies values for both `font_family` and `bold`, the explicitly-set
+ # `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "italic": True or False, # Whether or not the text is italicized.
+ "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
+ # are not inherited from parent text.
+ #
+ # Changing the link in an update request causes some other changes to the
+ # text style of the range:
+ #
+ # * When setting a link, the text foreground color will be set to
+ # ThemeColorType.HYPERLINK and the text will
+ # be underlined. If these fields are modified in the same
+ # request, those values will be used instead of the link defaults.
+ # * Setting a link on a text range that overlaps with an existing link will
+ # also update the existing link to point to the new URL.
+ # * Links are not settable on newline characters. As a result, setting a link
+ # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
+ # will separate the newline character(s) into their own text runs. The
+ # link will be applied separately to the runs before and after the newline.
+ # * Removing a link will update the text style of the range to match the
+ # style of the preceding text (or the default text styles if the preceding
+ # text is another link) unless different styles are being set in the same
+ # request.
+ "url": "A String", # If set, indicates this is a link to the external web page at this URL.
+ "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
+ # in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
+ "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
+ # addressed by its position.
+ },
+ "underline": True or False, # Whether or not the text is underlined.
+ "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ },
+ },
+ },
+ "listId": "A String", # The ID of the list.
+ },
+ },
"textElements": [ # The text contents broken down into its component parts, including styling
# information. This property is read-only.
{ # A TextElement describes the content of a range of indices in the text content
@@ -16381,7 +22644,7 @@
},
},
},
- "bold": True or False, # Whether or not the text is bold.
+ "bold": True or False, # Whether or not the text is rendered as bold.
"baselineOffset": "A String", # The text's vertical offset from its normal position.
#
# Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
@@ -16398,6 +22661,12 @@
# Some fonts can affect the weight of the text. If an update request
# specifies values for both `font_family` and `bold`, the explicitly-set
# `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "italic": True or False, # Whether or not the text is italicized.
"link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
# are not inherited from parent text.
#
@@ -16419,19 +22688,13 @@
# text is another link) unless different styles are being set in the same
# request.
"url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
"slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
# in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
"relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
# addressed by its position.
},
- "italic": True or False, # Whether or not the text is italicized.
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
"underline": True or False, # Whether or not the text is underlined.
"backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
# transparent, depending on if the `opaque_color` field in it is set.
@@ -16471,40 +22734,40 @@
# placeholder.
#
# Inherited paragraph styles are represented as unset fields in this message.
- "spacingMode": "A String", # The spacing mode for the paragraph. This property is read-only.
- "direction": "A String", # The text direction of this paragraph. This property is read-only.
+ "spacingMode": "A String", # The spacing mode for the paragraph.
+ "direction": "A String", # The text direction of this paragraph. If unset, the value defaults to
+ # LEFT_TO_RIGHT
+ # since text direction is not inherited.
"spaceBelow": { # A magnitude in a single direction in the specified units. # The amount of extra space above the paragraph. If unset, the value is
- # inherited from the parent. This property is read-only.
+ # inherited from the parent.
"magnitude": 3.14, # The magnitude.
"unit": "A String", # The units for magnitude.
},
"lineSpacing": 3.14, # The amount of space between lines, as a percentage of normal, where normal
# is represented as 100.0. If unset, the value is inherited from the parent.
- # This property is read-only.
"indentStart": { # A magnitude in a single direction in the specified units. # The amount indentation for the paragraph on the side that corresponds to
# the start of the text, based on the current text direction. If unset, the
- # value is inherited from the parent. This property is read-only.
+ # value is inherited from the parent.
"magnitude": 3.14, # The magnitude.
"unit": "A String", # The units for magnitude.
},
"spaceAbove": { # A magnitude in a single direction in the specified units. # The amount of extra space above the paragraph. If unset, the value is
- # inherited from the parent. This property is read-only.
+ # inherited from the parent.
"magnitude": 3.14, # The magnitude.
"unit": "A String", # The units for magnitude.
},
"indentEnd": { # A magnitude in a single direction in the specified units. # The amount indentation for the paragraph on the side that corresponds to
# the end of the text, based on the current text direction. If unset, the
- # value is inherited from the parent. This property is read-only.
+ # value is inherited from the parent.
"magnitude": 3.14, # The magnitude.
"unit": "A String", # The units for magnitude.
},
"indentFirstLine": { # A magnitude in a single direction in the specified units. # The amount of indentation for the start of the first line of the paragraph.
- # If unset, the value is inherited from the parent. This property is
- # read-only.
+ # If unset, the value is inherited from the parent.
"magnitude": 3.14, # The magnitude.
"unit": "A String", # The units for magnitude.
},
- "alignment": "A String", # The text alignment for this paragraph. This property is read-only.
+ "alignment": "A String", # The text alignment for this paragraph.
},
"bullet": { # Describes the bullet of a paragraph. # The bullet for this paragraph. If not present, the paragraph does not
# belong to a list.
@@ -16539,7 +22802,7 @@
},
},
},
- "bold": True or False, # Whether or not the text is bold.
+ "bold": True or False, # Whether or not the text is rendered as bold.
"baselineOffset": "A String", # The text's vertical offset from its normal position.
#
# Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
@@ -16556,6 +22819,12 @@
# Some fonts can affect the weight of the text. If an update request
# specifies values for both `font_family` and `bold`, the explicitly-set
# `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "italic": True or False, # Whether or not the text is italicized.
"link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
# are not inherited from parent text.
#
@@ -16577,19 +22846,13 @@
# text is another link) unless different styles are being set in the same
# request.
"url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
"slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
# in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
"relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
# addressed by its position.
},
- "italic": True or False, # Whether or not the text is italicized.
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
"underline": True or False, # Whether or not the text is underlined.
"backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
# transparent, depending on if the `opaque_color` field in it is set.
@@ -16644,7 +22907,7 @@
},
},
},
- "bold": True or False, # Whether or not the text is bold.
+ "bold": True or False, # Whether or not the text is rendered as bold.
"baselineOffset": "A String", # The text's vertical offset from its normal position.
#
# Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
@@ -16661,6 +22924,12 @@
# Some fonts can affect the weight of the text. If an update request
# specifies values for both `font_family` and `bold`, the explicitly-set
# `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "italic": True or False, # Whether or not the text is italicized.
"link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
# are not inherited from parent text.
#
@@ -16682,19 +22951,13 @@
# text is another link) unless different styles are being set in the same
# request.
"url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
"slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
# in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
"relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
# addressed by its position.
},
- "italic": True or False, # Whether or not the text is italicized.
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
"underline": True or False, # Whether or not the text is underlined.
"backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
# transparent, depending on if the `opaque_color` field in it is set.
@@ -16712,114 +22975,6 @@
},
},
],
- "lists": { # The bulleted lists contained in this text, keyed by list ID.
- "a_key": { # 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.
- "nestingLevel": { # A map of nesting levels to the properties of bullets at the associated
- # level. A list has at most nine levels of nesting, so the possible values
- # for the keys of this map are 0 through 8, inclusive.
- "a_key": { # Contains properties describing the look and feel of a list bullet at a given
- # level of nesting.
- "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The style of a bullet at this level of nesting.
- #
- # 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.
- "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- "bold": True or False, # Whether or not the text is bold.
- "baselineOffset": "A String", # The text's vertical offset from its normal position.
- #
- # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
- # rendered in a smaller font size, computed based on the `font_size` field.
- # The `font_size` itself is not affected by changes in this field.
- "strikethrough": True or False, # Whether or not the text is struck through.
- "smallCaps": True or False, # Whether or not the text is in small capital letters.
- "fontFamily": "A String", # The font family of the text.
- #
- # The font family can be any font from the Font menu in Slides or from
- # [Google Fonts] (https://fonts.google.com/). If the font name is
- # unrecognized, the text is rendered in `Arial`.
- #
- # Some fonts can affect the weight of the text. If an update request
- # specifies values for both `font_family` and `bold`, the explicitly-set
- # `bold` value is used.
- "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
- # are not inherited from parent text.
- #
- # Changing the link in an update request causes some other changes to the
- # text style of the range:
- #
- # * When setting a link, the text foreground color will be set to
- # ThemeColorType.HYPERLINK and the text will
- # be underlined. If these fields are modified in the same
- # request, those values will be used instead of the link defaults.
- # * Setting a link on a text range that overlaps with an existing link will
- # also update the existing link to point to the new URL.
- # * Links are not settable on newline characters. As a result, setting a link
- # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
- # will separate the newline character(s) into their own text runs. The
- # link will be applied separately to the runs before and after the newline.
- # * Removing a link will update the text style of the range to match the
- # style of the preceding text (or the default text styles if the preceding
- # text is another link) unless different styles are being set in the same
- # request.
- "url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
- "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
- # in the presentation. There may not be a slide at this index.
- "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
- # addressed by its position.
- },
- "italic": True or False, # Whether or not the text is italicized.
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
- "underline": True or False, # Whether or not the text is underlined.
- "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- },
- },
- },
- "listId": "A String", # The ID of the list.
- },
- },
},
"shapeProperties": { # The properties of a Shape. # The properties of the shape.
#
@@ -16919,10 +23074,10 @@
"link": { # A hypertext link. # The hyperlink destination of the shape. If unset, there is no link. Links
# are not inherited from parent placeholders.
"url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
"slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
# in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
"relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
# addressed by its position.
},
@@ -16935,14 +23090,6 @@
# 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.
- "dashStyle": "A String", # The dash style of the outline.
- "propertyState": "A String", # The outline property state.
- #
- # Updating the the outline on a page element will implicitly update this
- # field to`RENDERED`, unless another value is specified in the same request.
- # To have no outline on a page element, set this field to `NOT_RENDERED`. In
- # this case, any other outline fields set in the same request will be
- # ignored.
"outlineFill": { # The fill of the outline. # The fill of the outline.
"solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill.
# specified color value.
@@ -16966,6 +23113,14 @@
# a value of 0.0 corresponds to a completely transparent color.
},
},
+ "propertyState": "A String", # The outline property state.
+ #
+ # Updating the the outline on a page element will implicitly update this
+ # field to`RENDERED`, unless another value is specified in the same request.
+ # To have no outline on a page element, set this field to `NOT_RENDERED`. In
+ # this case, any other outline fields set in the same request will be
+ # ignored.
+ "dashStyle": "A String", # The dash style of the outline.
"weight": { # A magnitude in a single direction in the specified units. # The thickness of the outline.
"magnitude": 3.14, # The magnitude.
"unit": "A String", # The units for magnitude.
@@ -16992,7 +23147,10 @@
# a linked chart embedded from Google Sheets.
"chartId": 42, # The ID of the specific chart in the Google Sheets spreadsheet that is
# embedded.
- "spreadsheetId": "A String", # The ID of the Google Sheets spreadsheet that contains the source chart.
+ "contentUrl": "A String", # The URL of an image of the embedded chart, with a default lifetime of 30
+ # minutes. This URL is tagged with the account of the requester. Anyone with
+ # the URL effectively accesses the image as the original requester. Access to
+ # the image may be lost if the presentation's sharing settings change.
"sheetsChartProperties": { # The properties of the SheetsChart. # The properties of the Sheets chart.
"chartImageProperties": { # The properties of the Image. # The properties of the embedded chart image.
"outline": { # The outline of a PageElement. # The outline of the image. If not set, the the image has no outline.
@@ -17001,14 +23159,6 @@
# 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.
- "dashStyle": "A String", # The dash style of the outline.
- "propertyState": "A String", # The outline property state.
- #
- # Updating the the outline on a page element will implicitly update this
- # field to`RENDERED`, unless another value is specified in the same request.
- # To have no outline on a page element, set this field to `NOT_RENDERED`. In
- # this case, any other outline fields set in the same request will be
- # ignored.
"outlineFill": { # The fill of the outline. # The fill of the outline.
"solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill.
# specified color value.
@@ -17032,6 +23182,14 @@
# a value of 0.0 corresponds to a completely transparent color.
},
},
+ "propertyState": "A String", # The outline property state.
+ #
+ # Updating the the outline on a page element will implicitly update this
+ # field to`RENDERED`, unless another value is specified in the same request.
+ # To have no outline on a page element, set this field to `NOT_RENDERED`. In
+ # this case, any other outline fields set in the same request will be
+ # ignored.
+ "dashStyle": "A String", # The dash style of the outline.
"weight": { # A magnitude in a single direction in the specified units. # The thickness of the outline.
"magnitude": 3.14, # The magnitude.
"unit": "A String", # The units for magnitude.
@@ -17042,7 +23200,11 @@
"recolor": { # A recolor effect applied on an image. # The recolor effect of the image. If not set, the image is not recolored.
# This property is read-only.
"recolorStops": [ # The recolor effect is represented by a gradient, which is a list of color
- # stops. This property is read-only.
+ # stops.
+ #
+ # The colors in the gradient will replace the corresponding colors at
+ # the same position in the color palette and apply to the image. This
+ # property is read-only.
{ # A color and position in a gradient band.
"color": { # A themeable solid color value. # The color of the gradient stop.
"themeColor": "A String", # An opaque theme color.
@@ -17052,19 +23214,24 @@
"red": 3.14, # The red component of the color, from 0.0 to 1.0.
},
},
- "position": 3.14, # The relative position of the color stop in the gradient band measured
- # in percentage. The value should be in the interval [0.0, 1.0].
"alpha": 3.14, # The alpha value of this color in the gradient band. Defaults to 1.0,
# fully opaque.
+ "position": 3.14, # The relative position of the color stop in the gradient band measured
+ # in percentage. The value should be in the interval [0.0, 1.0].
},
],
+ "name": "A String", # The name of the recolor effect.
+ #
+ # The name is determined from the `recolor_stops` by matching the gradient
+ # against the colors in the page's current color scheme. This property is
+ # read-only.
},
"link": { # A hypertext link. # The hyperlink destination of the image. If unset, there is no link.
"url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
"slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
# in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
"relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
# addressed by its position.
},
@@ -17097,12 +23264,12 @@
# object's original width.
"angle": 3.14, # The rotation angle of the crop window around its center, in radians.
# Rotation angle is applied after the offset.
- "bottomOffset": 3.14, # The offset specifies the bottom edge of the crop rectangle that is located
- # above the original bounding rectangle bottom edge, relative to the object's
- # original height.
"rightOffset": 3.14, # The offset specifies the right edge of the crop rectangle that is located
# to the left of the original bounding rectangle right edge, relative to the
# object's original width.
+ "bottomOffset": 3.14, # The offset specifies the bottom edge of the crop rectangle that is located
+ # above the original bounding rectangle bottom edge, relative to the object's
+ # original height.
"topOffset": 3.14, # The offset specifies the top edge of the crop rectangle that is located
# below the original bounding rectangle top edge, relative to the object's
# original height.
@@ -17165,15 +23332,14 @@
# [-1.0, 1.0], where 0 means no effect. This property is read-only.
},
},
- "contentUrl": "A String", # The URL of an image of the embedded chart, with a default lifetime of 30
- # minutes. This URL is tagged with the account of the requester. Anyone with
- # the URL effectively accesses the image as the original requester. Access to
- # the image may be lost if the presentation's sharing settings change.
+ "spreadsheetId": "A String", # The ID of the Google Sheets spreadsheet that contains the source chart.
},
"video": { # A PageElement kind representing a # A video page element.
# video.
"url": "A String", # An URL to a video. The URL is valid as long as the source video
# exists and sharing settings do not change.
+ "source": "A String", # The video source.
+ "id": "A String", # The video source's unique identifier for this video.
"videoProperties": { # The properties of the Video. # The properties of the video.
"outline": { # The outline of a PageElement. # The outline of the video. The default outline matches the defaults for new
# videos created in the Slides editor.
@@ -17182,14 +23348,6 @@
# 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.
- "dashStyle": "A String", # The dash style of the outline.
- "propertyState": "A String", # The outline property state.
- #
- # Updating the the outline on a page element will implicitly update this
- # field to`RENDERED`, unless another value is specified in the same request.
- # To have no outline on a page element, set this field to `NOT_RENDERED`. In
- # this case, any other outline fields set in the same request will be
- # ignored.
"outlineFill": { # The fill of the outline. # The fill of the outline.
"solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill.
# specified color value.
@@ -17213,14 +23371,20 @@
# a value of 0.0 corresponds to a completely transparent color.
},
},
+ "propertyState": "A String", # The outline property state.
+ #
+ # Updating the the outline on a page element will implicitly update this
+ # field to`RENDERED`, unless another value is specified in the same request.
+ # To have no outline on a page element, set this field to `NOT_RENDERED`. In
+ # this case, any other outline fields set in the same request will be
+ # ignored.
+ "dashStyle": "A String", # The dash style of the outline.
"weight": { # A magnitude in a single direction in the specified units. # The thickness of the outline.
"magnitude": 3.14, # The magnitude.
"unit": "A String", # The units for magnitude.
},
},
},
- "id": "A String", # The video source's unique identifier for this video.
- "source": "A String", # The video source.
},
"table": { # A PageElement kind representing a # A table page element.
# table.
@@ -17247,6 +23411,114 @@
{ # Properties and contents of each table cell.
"text": { # The general text content. The text must reside in a compatible shape (e.g. # The text content of the cell.
# text box or rectangle) or a table cell in a page.
+ "lists": { # The bulleted lists contained in this text, keyed by list ID.
+ "a_key": { # 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.
+ "nestingLevel": { # A map of nesting levels to the properties of bullets at the associated
+ # level. A list has at most nine levels of nesting, so the possible values
+ # for the keys of this map are 0 through 8, inclusive.
+ "a_key": { # Contains properties describing the look and feel of a list bullet at a given
+ # level of nesting.
+ "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The style of a bullet at this level of nesting.
+ #
+ # 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.
+ "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ "bold": True or False, # Whether or not the text is rendered as bold.
+ "baselineOffset": "A String", # The text's vertical offset from its normal position.
+ #
+ # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
+ # rendered in a smaller font size, computed based on the `font_size` field.
+ # The `font_size` itself is not affected by changes in this field.
+ "strikethrough": True or False, # Whether or not the text is struck through.
+ "smallCaps": True or False, # Whether or not the text is in small capital letters.
+ "fontFamily": "A String", # The font family of the text.
+ #
+ # The font family can be any font from the Font menu in Slides or from
+ # [Google Fonts] (https://fonts.google.com/). If the font name is
+ # unrecognized, the text is rendered in `Arial`.
+ #
+ # Some fonts can affect the weight of the text. If an update request
+ # specifies values for both `font_family` and `bold`, the explicitly-set
+ # `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "italic": True or False, # Whether or not the text is italicized.
+ "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
+ # are not inherited from parent text.
+ #
+ # Changing the link in an update request causes some other changes to the
+ # text style of the range:
+ #
+ # * When setting a link, the text foreground color will be set to
+ # ThemeColorType.HYPERLINK and the text will
+ # be underlined. If these fields are modified in the same
+ # request, those values will be used instead of the link defaults.
+ # * Setting a link on a text range that overlaps with an existing link will
+ # also update the existing link to point to the new URL.
+ # * Links are not settable on newline characters. As a result, setting a link
+ # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
+ # will separate the newline character(s) into their own text runs. The
+ # link will be applied separately to the runs before and after the newline.
+ # * Removing a link will update the text style of the range to match the
+ # style of the preceding text (or the default text styles if the preceding
+ # text is another link) unless different styles are being set in the same
+ # request.
+ "url": "A String", # If set, indicates this is a link to the external web page at this URL.
+ "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
+ # in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
+ "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
+ # addressed by its position.
+ },
+ "underline": True or False, # Whether or not the text is underlined.
+ "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ },
+ },
+ },
+ "listId": "A String", # The ID of the list.
+ },
+ },
"textElements": [ # The text contents broken down into its component parts, including styling
# information. This property is read-only.
{ # A TextElement describes the content of a range of indices in the text content
@@ -17283,7 +23555,7 @@
},
},
},
- "bold": True or False, # Whether or not the text is bold.
+ "bold": True or False, # Whether or not the text is rendered as bold.
"baselineOffset": "A String", # The text's vertical offset from its normal position.
#
# Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
@@ -17300,6 +23572,12 @@
# Some fonts can affect the weight of the text. If an update request
# specifies values for both `font_family` and `bold`, the explicitly-set
# `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "italic": True or False, # Whether or not the text is italicized.
"link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
# are not inherited from parent text.
#
@@ -17321,19 +23599,13 @@
# text is another link) unless different styles are being set in the same
# request.
"url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
"slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
# in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
"relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
# addressed by its position.
},
- "italic": True or False, # Whether or not the text is italicized.
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
"underline": True or False, # Whether or not the text is underlined.
"backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
# transparent, depending on if the `opaque_color` field in it is set.
@@ -17373,40 +23645,40 @@
# placeholder.
#
# Inherited paragraph styles are represented as unset fields in this message.
- "spacingMode": "A String", # The spacing mode for the paragraph. This property is read-only.
- "direction": "A String", # The text direction of this paragraph. This property is read-only.
+ "spacingMode": "A String", # The spacing mode for the paragraph.
+ "direction": "A String", # The text direction of this paragraph. If unset, the value defaults to
+ # LEFT_TO_RIGHT
+ # since text direction is not inherited.
"spaceBelow": { # A magnitude in a single direction in the specified units. # The amount of extra space above the paragraph. If unset, the value is
- # inherited from the parent. This property is read-only.
+ # inherited from the parent.
"magnitude": 3.14, # The magnitude.
"unit": "A String", # The units for magnitude.
},
"lineSpacing": 3.14, # The amount of space between lines, as a percentage of normal, where normal
# is represented as 100.0. If unset, the value is inherited from the parent.
- # This property is read-only.
"indentStart": { # A magnitude in a single direction in the specified units. # The amount indentation for the paragraph on the side that corresponds to
# the start of the text, based on the current text direction. If unset, the
- # value is inherited from the parent. This property is read-only.
+ # value is inherited from the parent.
"magnitude": 3.14, # The magnitude.
"unit": "A String", # The units for magnitude.
},
"spaceAbove": { # A magnitude in a single direction in the specified units. # The amount of extra space above the paragraph. If unset, the value is
- # inherited from the parent. This property is read-only.
+ # inherited from the parent.
"magnitude": 3.14, # The magnitude.
"unit": "A String", # The units for magnitude.
},
"indentEnd": { # A magnitude in a single direction in the specified units. # The amount indentation for the paragraph on the side that corresponds to
# the end of the text, based on the current text direction. If unset, the
- # value is inherited from the parent. This property is read-only.
+ # value is inherited from the parent.
"magnitude": 3.14, # The magnitude.
"unit": "A String", # The units for magnitude.
},
"indentFirstLine": { # A magnitude in a single direction in the specified units. # The amount of indentation for the start of the first line of the paragraph.
- # If unset, the value is inherited from the parent. This property is
- # read-only.
+ # If unset, the value is inherited from the parent.
"magnitude": 3.14, # The magnitude.
"unit": "A String", # The units for magnitude.
},
- "alignment": "A String", # The text alignment for this paragraph. This property is read-only.
+ "alignment": "A String", # The text alignment for this paragraph.
},
"bullet": { # Describes the bullet of a paragraph. # The bullet for this paragraph. If not present, the paragraph does not
# belong to a list.
@@ -17441,7 +23713,7 @@
},
},
},
- "bold": True or False, # Whether or not the text is bold.
+ "bold": True or False, # Whether or not the text is rendered as bold.
"baselineOffset": "A String", # The text's vertical offset from its normal position.
#
# Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
@@ -17458,6 +23730,12 @@
# Some fonts can affect the weight of the text. If an update request
# specifies values for both `font_family` and `bold`, the explicitly-set
# `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "italic": True or False, # Whether or not the text is italicized.
"link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
# are not inherited from parent text.
#
@@ -17479,19 +23757,13 @@
# text is another link) unless different styles are being set in the same
# request.
"url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
"slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
# in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
"relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
# addressed by its position.
},
- "italic": True or False, # Whether or not the text is italicized.
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
"underline": True or False, # Whether or not the text is underlined.
"backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
# transparent, depending on if the `opaque_color` field in it is set.
@@ -17546,7 +23818,7 @@
},
},
},
- "bold": True or False, # Whether or not the text is bold.
+ "bold": True or False, # Whether or not the text is rendered as bold.
"baselineOffset": "A String", # The text's vertical offset from its normal position.
#
# Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
@@ -17563,6 +23835,12 @@
# Some fonts can affect the weight of the text. If an update request
# specifies values for both `font_family` and `bold`, the explicitly-set
# `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "italic": True or False, # Whether or not the text is italicized.
"link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
# are not inherited from parent text.
#
@@ -17584,19 +23862,13 @@
# text is another link) unless different styles are being set in the same
# request.
"url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
"slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
# in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
"relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
# addressed by its position.
},
- "italic": True or False, # Whether or not the text is italicized.
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
"underline": True or False, # Whether or not the text is underlined.
"backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
# transparent, depending on if the `opaque_color` field in it is set.
@@ -17614,116 +23886,7 @@
},
},
],
- "lists": { # The bulleted lists contained in this text, keyed by list ID.
- "a_key": { # 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.
- "nestingLevel": { # A map of nesting levels to the properties of bullets at the associated
- # level. A list has at most nine levels of nesting, so the possible values
- # for the keys of this map are 0 through 8, inclusive.
- "a_key": { # Contains properties describing the look and feel of a list bullet at a given
- # level of nesting.
- "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The style of a bullet at this level of nesting.
- #
- # 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.
- "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- "bold": True or False, # Whether or not the text is bold.
- "baselineOffset": "A String", # The text's vertical offset from its normal position.
- #
- # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
- # rendered in a smaller font size, computed based on the `font_size` field.
- # The `font_size` itself is not affected by changes in this field.
- "strikethrough": True or False, # Whether or not the text is struck through.
- "smallCaps": True or False, # Whether or not the text is in small capital letters.
- "fontFamily": "A String", # The font family of the text.
- #
- # The font family can be any font from the Font menu in Slides or from
- # [Google Fonts] (https://fonts.google.com/). If the font name is
- # unrecognized, the text is rendered in `Arial`.
- #
- # Some fonts can affect the weight of the text. If an update request
- # specifies values for both `font_family` and `bold`, the explicitly-set
- # `bold` value is used.
- "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
- # are not inherited from parent text.
- #
- # Changing the link in an update request causes some other changes to the
- # text style of the range:
- #
- # * When setting a link, the text foreground color will be set to
- # ThemeColorType.HYPERLINK and the text will
- # be underlined. If these fields are modified in the same
- # request, those values will be used instead of the link defaults.
- # * Setting a link on a text range that overlaps with an existing link will
- # also update the existing link to point to the new URL.
- # * Links are not settable on newline characters. As a result, setting a link
- # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
- # will separate the newline character(s) into their own text runs. The
- # link will be applied separately to the runs before and after the newline.
- # * Removing a link will update the text style of the range to match the
- # style of the preceding text (or the default text styles if the preceding
- # text is another link) unless different styles are being set in the same
- # request.
- "url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
- "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
- # in the presentation. There may not be a slide at this index.
- "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
- # addressed by its position.
- },
- "italic": True or False, # Whether or not the text is italicized.
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
- "underline": True or False, # Whether or not the text is underlined.
- "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- },
- },
- },
- "listId": "A String", # The ID of the list.
- },
- },
},
- "rowSpan": 42, # Row span of the cell.
"tableCellProperties": { # The properties of the TableCell. # The properties of the table cell.
"tableCellBackgroundFill": { # The table cell background fill. # The background fill of the table cell. The default fill matches the fill
# for newly created table cells in the Slides editor.
@@ -17756,11 +23919,12 @@
# case, any other fill fields set in the same request will be ignored.
},
},
+ "rowSpan": 42, # Row span of the cell.
+ "columnSpan": 42, # Column span of the cell.
"location": { # A location of a single table cell within a table. # The location of the cell within the table.
"rowIndex": 42, # The 0-based row index.
"columnIndex": 42, # The 0-based column index.
},
- "columnSpan": 42, # Column span of the cell.
},
],
"rowHeight": { # A magnitude in a single direction in the specified units. # Height of a row.
@@ -17786,10 +23950,10 @@
"endArrow": "A String", # The style of the arrow at the end of the line.
"link": { # A hypertext link. # The hyperlink destination of the line. If unset, there is no link.
"url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
"slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
# in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
"relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
# addressed by its position.
},
@@ -17839,9 +24003,28 @@
},
},
],
+ "notesProperties": { # The properties of Page that are only # Notes specific properties. Only set if page_type = NOTES.
+ # relevant for pages with page_type NOTES.
+ "speakerNotesObjectId": "A String", # The object ID of the shape on this notes page that contains the speaker
+ # notes for the corresponding slide.
+ # The actual shape may not always exist on the notes page. Inserting text
+ # using this object ID will automatically create the shape. In this case, the
+ # actual shape may have different object ID. The `GetPresentation` or
+ # `GetPage` action will always return the latest object ID.
+ },
"objectId": "A String", # The object ID for this page. Object IDs used by
# Page and
# PageElement share the same namespace.
+ "revisionId": "A String", # The revision ID of the presentation containing this page. Can be used in
+ # update requests to assert that the presentation revision hasn't changed
+ # since the last read operation. Only populated if the user has edit access
+ # to the presentation.
+ #
+ # The format of the revision ID may change over time, so it should be treated
+ # opaquely. A returned revision ID is only guaranteed to be valid for 24
+ # hours after it has been returned and cannot be shared across
+ # users. Callers can assume that if two revision IDs are equal then the
+ # presentation has not changed.
"pageProperties": { # The properties of the Page. # The properties of the page.
#
# The page will inherit properties from the parent page. Depending on the page
@@ -17923,6 +24106,15 @@
"pageType": "A String", # The type of the page.
"slideProperties": { # The properties of Page that are only # Slide specific properties. Only set if page_type = SLIDE.
# relevant for pages with page_type SLIDE.
+ "notesPage": # Object with schema name: Page # The notes page that this slide is associated with. It defines the visual
+ # appearance of a notes page when printing or exporting slides with speaker
+ # notes. A notes page inherits properties from the
+ # notes master.
+ # The placeholder shape with type BODY on the notes page contains the speaker
+ # notes for this slide. The ID of this shape is identified by the
+ # speakerNotesObjectId field.
+ # The notes page is read-only except for the text content and styles of the
+ # speaker notes shape.
"masterObjectId": "A String", # The object ID of the master that this slide is based on.
"layoutObjectId": "A String", # The object ID of the layout that this slide is based on.
},