docs: update docs (#916)
* fix: re-run script
* test: fix noxfile
diff --git a/docs/dyn/slides_v1.presentations.pages.html b/docs/dyn/slides_v1.presentations.pages.html
index 7e5bc34..7b9f2c7 100644
--- a/docs/dyn/slides_v1.presentations.pages.html
+++ b/docs/dyn/slides_v1.presentations.pages.html
@@ -97,102 +97,6 @@
An object of the form:
{ # A page in a presentation.
- "objectId": "A String", # The object ID for this page. Object IDs used by
- # Page and
- # PageElement share the same namespace.
- "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.
- "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, matching the defaults in the Slides editor.
- #
- # Only the concrete colors of the first 12 ThemeColorTypes are editable. In addition, only
- # the color scheme on `Master` pages can be updated. To update the field, a
- # color scheme containing mappings from all the first 12 ThemeColorTypes to
- # their concrete colors must be provided. Colors for the remaining
- # ThemeColorTypes will be ignored.
- "colors": [ # The ThemeColorType and corresponding concrete color pairs.
- { # A pair mapping a theme color type to the concrete color it represents.
- "type": "A String", # The type of the theme color.
- "color": { # An RGB color. # The concrete color corresponding to the theme color type above.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "blue": 3.14, # The blue 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.
- },
- },
- ],
- },
- "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.
- "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.
- "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.
- "unit": "A String", # The units for magnitude.
- "magnitude": 3.14, # The magnitude.
- },
- "height": { # A magnitude in a single direction in the specified units. # The height of the object.
- "unit": "A String", # The units for magnitude.
- "magnitude": 3.14, # The magnitude.
- },
- },
- "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 one of PNG, JPEG, or GIF
- # format.
- #
- # The provided URL can be at most 2 kB in length.
- },
- "propertyState": "A String", # The background fill property state.
- #
- # Updating 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.
- "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.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "blue": 3.14, # The blue 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.
- },
- },
- },
- "layoutProperties": { # The properties of Page are only # Layout specific properties. Only set if page_type = LAYOUT.
- # relevant for pages with page_type LAYOUT.
- "masterObjectId": "A String", # The object ID of the master that this layout is based on.
- "displayName": "A String", # The human-readable name of the layout.
- "name": "A String", # The name of the layout.
- },
- "pageType": "A String", # The type of the page.
"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
@@ -208,6 +112,10 @@
},
"slideProperties": { # The properties of Page that are only # Slide specific properties. Only set if page_type = SLIDE.
# relevant for pages with page_type SLIDE.
+ "masterObjectId": "A String", # The object ID of the master that this slide is based on. This property is
+ # read-only.
+ "layoutObjectId": "A String", # The object ID of the layout that this slide is based on. This property is
+ # read-only.
"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
@@ -217,122 +125,15 @@
# speakerNotesObjectId field.
# The notes page is read-only except for the text content and styles of the
# speaker notes shape. This property is read-only.
- "masterObjectId": "A String", # The object ID of the master that this slide is based on. This property is
- # read-only.
- "layoutObjectId": "A String", # The object ID of the layout that this slide is based on. This property is
- # read-only.
},
"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.
- },
- "title": "A String", # The title of the page element. Combined with description to display alt
- # text.
"description": "A String", # The description of the page element. Combined with title to display alt
# text.
+ "title": "A String", # The title of the page element. Combined with description to display alt
+ # text.
"table": { # A PageElement kind representing a # A table page element.
# table.
- "columns": 42, # Number of columns in the table.
- "verticalBorderRows": [ # Properties of vertical cell borders.
- #
- # A table's vertical cell borders are represented as a grid. The grid has the
- # same number of rows as the table and one more column than the number of
- # columns in the table. For example, if the table is 3 x 3, its vertical
- # borders will be represented as a grid with 3 rows and 4 columns.
- { # Contents of each border row in a table.
- "tableBorderCells": [ # Properties of each border cell. When a border's adjacent table cells are
- # merged, it is not included in the response.
- { # The properties of each border cell.
- "location": { # A location of a single table cell within a table. # The location of the border within the border table.
- "rowIndex": 42, # The 0-based row index.
- "columnIndex": 42, # The 0-based column index.
- },
- "tableBorderProperties": { # The border styling properties of the # The border properties.
- # TableBorderCell.
- "dashStyle": "A String", # The dash style of the border.
- "tableBorderFill": { # The fill of the border. # The fill of the table border.
- "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid 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.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "blue": 3.14, # The blue 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.
- },
- },
- "weight": { # A magnitude in a single direction in the specified units. # The thickness of the border.
- "unit": "A String", # The units for magnitude.
- "magnitude": 3.14, # The magnitude.
- },
- },
- },
- ],
- },
- ],
- "horizontalBorderRows": [ # Properties of horizontal cell borders.
- #
- # A table's horizontal cell borders are represented as a grid. The grid has
- # one more row than the number of rows in the table and the same number of
- # columns as the table. For example, if the table is 3 x 3, its horizontal
- # borders will be represented as a grid with 4 rows and 3 columns.
- { # Contents of each border row in a table.
- "tableBorderCells": [ # Properties of each border cell. When a border's adjacent table cells are
- # merged, it is not included in the response.
- { # The properties of each border cell.
- "location": { # A location of a single table cell within a table. # The location of the border within the border table.
- "rowIndex": 42, # The 0-based row index.
- "columnIndex": 42, # The 0-based column index.
- },
- "tableBorderProperties": { # The border styling properties of the # The border properties.
- # TableBorderCell.
- "dashStyle": "A String", # The dash style of the border.
- "tableBorderFill": { # The fill of the border. # The fill of the table border.
- "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid 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.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "blue": 3.14, # The blue 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.
- },
- },
- "weight": { # A magnitude in a single direction in the specified units. # The thickness of the border.
- "unit": "A String", # The units for magnitude.
- "magnitude": 3.14, # The magnitude.
- },
- },
- },
- ],
- },
- ],
"rows": 42, # Number of rows in the table.
"tableRows": [ # Properties and contents of each row.
#
@@ -340,18 +141,6 @@
# have a row_span greater
# than 1.
{ # Properties and contents of each row in a table.
- "rowHeight": { # A magnitude in a single direction in the specified units. # Height of a row.
- "unit": "A String", # The units for magnitude.
- "magnitude": 3.14, # The magnitude.
- },
- "tableRowProperties": { # Properties of each row in a table. # Properties of the row.
- "minRowHeight": { # A magnitude in a single direction in the specified units. # Minimum height of the row. The row will be rendered in the Slides editor at
- # a height equal to or greater than this value in order to show all the text
- # in the row's cell(s).
- "unit": "A String", # The units for magnitude.
- "magnitude": 3.14, # The magnitude.
- },
- },
"tableCells": [ # Properties and contents of each cell.
#
# Cells that span multiple columns are represented only once with a
@@ -360,8 +149,8 @@
# the number of columns of the entire table.
{ # Properties and contents of each table 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.
+ "rowIndex": 42, # The 0-based row index.
},
"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.
@@ -392,52 +181,6 @@
# 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.
- "strikethrough": True or False, # Whether or not the text is struck through.
- "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.
- "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.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "blue": 3.14, # The blue 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.
- },
- },
- },
- "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.
- "unit": "A String", # The units for magnitude.
- "magnitude": 3.14, # The magnitude.
- },
- "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.
- "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.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "blue": 3.14, # The blue 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.
- "italic": True or False, # Whether or not the text is italicized.
"smallCaps": True or False, # Whether or not the text is in small capital letters.
"weightedFontFamily": { # Represents a font family and weight used to style a TextRun. # The font family and rendered weight of the text.
#
@@ -503,13 +246,59 @@
# 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.
+ "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.
"url": "A String", # If set, indicates this is a link to the external web page at this URL.
"relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
# addressed by its position.
- "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.
+ },
+ "strikethrough": True or False, # Whether or not the text is struck through.
+ "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.
+ "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.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "red": 3.14, # The red 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.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ },
+ "themeColor": "A String", # An opaque theme color.
+ },
+ },
+ "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.
+ "unit": "A String", # The units for magnitude.
+ "magnitude": 3.14, # The magnitude.
+ },
+ "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.
+ "italic": True or False, # Whether or not the text is italicized.
+ "bold": True or False, # Whether or not the text is rendered as bold.
+ "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.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "red": 3.14, # The red 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.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ },
+ "themeColor": "A String", # An opaque theme color.
+ },
},
},
},
@@ -527,6 +316,54 @@
# 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.
+ "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.
+ "unit": "A String", # The units for magnitude.
+ "magnitude": 3.14, # The magnitude.
+ },
+ "spacingMode": "A String", # The spacing mode for the paragraph.
+ "spaceBelow": { # A magnitude in a single direction in the specified units. # The amount of extra space below the paragraph. If unset, the value is
+ # inherited from the parent.
+ "unit": "A String", # The units for magnitude.
+ "magnitude": 3.14, # The magnitude.
+ },
+ "alignment": "A String", # The text alignment for this paragraph.
+ "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.
+ "unit": "A String", # The units for magnitude.
+ "magnitude": 3.14, # The 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.
+ "unit": "A String", # The units for magnitude.
+ "magnitude": 3.14, # The magnitude.
+ },
+ "direction": "A String", # The text direction of this paragraph. If unset, the value defaults to
+ # LEFT_TO_RIGHT since
+ # text direction is not inherited.
+ "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.
+ "unit": "A String", # The units for magnitude.
+ "magnitude": 3.14, # The magnitude.
+ },
+ },
"bullet": { # Describes the bullet of a paragraph. # The bullet for this paragraph. If not present, the paragraph does not
# belong to a list.
"listId": "A String", # The ID of the list this paragraph belongs to.
@@ -549,52 +386,6 @@
# 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.
- "strikethrough": True or False, # Whether or not the text is struck through.
- "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.
- "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.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "blue": 3.14, # The blue 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.
- },
- },
- },
- "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.
- "unit": "A String", # The units for magnitude.
- "magnitude": 3.14, # The magnitude.
- },
- "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.
- "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.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "blue": 3.14, # The blue 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.
- "italic": True or False, # Whether or not the text is italicized.
"smallCaps": True or False, # Whether or not the text is in small capital letters.
"weightedFontFamily": { # Represents a font family and weight used to style a TextRun. # The font family and rendered weight of the text.
#
@@ -660,64 +451,62 @@
# 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.
+ "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.
"url": "A String", # If set, indicates this is a link to the external web page at this URL.
"relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
# addressed by its position.
- "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.
+ },
+ "strikethrough": True or False, # Whether or not the text is struck through.
+ "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.
+ "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.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "red": 3.14, # The red 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.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ },
+ "themeColor": "A String", # An opaque theme color.
+ },
+ },
+ "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.
+ "unit": "A String", # The units for magnitude.
+ "magnitude": 3.14, # The magnitude.
+ },
+ "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.
+ "italic": True or False, # Whether or not the text is italicized.
+ "bold": True or False, # Whether or not the text is rendered as bold.
+ "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.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "red": 3.14, # The red 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.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ },
+ "themeColor": "A String", # An opaque theme color.
+ },
},
},
},
- "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.
- "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.
- "unit": "A String", # The units for magnitude.
- "magnitude": 3.14, # The 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.
- "unit": "A String", # The units for magnitude.
- "magnitude": 3.14, # The magnitude.
- },
- "spacingMode": "A String", # The spacing mode for the paragraph.
- "spaceBelow": { # A magnitude in a single direction in the specified units. # The amount of extra space below the paragraph. If unset, the value is
- # inherited from the parent.
- "unit": "A String", # The units for magnitude.
- "magnitude": 3.14, # The 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.
- "unit": "A String", # The units for magnitude.
- "magnitude": 3.14, # The magnitude.
- },
- "alignment": "A String", # The text alignment for this paragraph.
- "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.
- "unit": "A String", # The units for magnitude.
- "magnitude": 3.14, # The magnitude.
- },
- "direction": "A String", # The text direction of this paragraph. If unset, the value defaults to
- # LEFT_TO_RIGHT since
- # text direction is not inherited.
- "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.
- },
},
"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.
@@ -740,52 +529,6 @@
# 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.
- "strikethrough": True or False, # Whether or not the text is struck through.
- "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.
- "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.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "blue": 3.14, # The blue 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.
- },
- },
- },
- "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.
- "unit": "A String", # The units for magnitude.
- "magnitude": 3.14, # The magnitude.
- },
- "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.
- "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.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "blue": 3.14, # The blue 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.
- "italic": True or False, # Whether or not the text is italicized.
"smallCaps": True or False, # Whether or not the text is in small capital letters.
"weightedFontFamily": { # Represents a font family and weight used to style a TextRun. # The font family and rendered weight of the text.
#
@@ -851,13 +594,59 @@
# 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.
+ "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.
"url": "A String", # If set, indicates this is a link to the external web page at this URL.
"relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
# addressed by its position.
- "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.
+ },
+ "strikethrough": True or False, # Whether or not the text is struck through.
+ "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.
+ "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.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "red": 3.14, # The red 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.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ },
+ "themeColor": "A String", # An opaque theme color.
+ },
+ },
+ "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.
+ "unit": "A String", # The units for magnitude.
+ "magnitude": 3.14, # The magnitude.
+ },
+ "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.
+ "italic": True or False, # Whether or not the text is italicized.
+ "bold": True or False, # Whether or not the text is rendered as bold.
+ "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.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "red": 3.14, # The red 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.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ },
+ "themeColor": "A String", # An opaque theme color.
+ },
},
},
},
@@ -886,52 +675,6 @@
# 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.
- "strikethrough": True or False, # Whether or not the text is struck through.
- "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.
- "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.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "blue": 3.14, # The blue 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.
- },
- },
- },
- "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.
- "unit": "A String", # The units for magnitude.
- "magnitude": 3.14, # The magnitude.
- },
- "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.
- "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.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "blue": 3.14, # The blue 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.
- "italic": True or False, # Whether or not the text is italicized.
"smallCaps": True or False, # Whether or not the text is in small capital letters.
"weightedFontFamily": { # Represents a font family and weight used to style a TextRun. # The font family and rendered weight of the text.
#
@@ -997,13 +740,59 @@
# 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.
+ "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.
"url": "A String", # If set, indicates this is a link to the external web page at this URL.
"relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
# addressed by its position.
- "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.
+ },
+ "strikethrough": True or False, # Whether or not the text is struck through.
+ "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.
+ "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.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "red": 3.14, # The red 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.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ },
+ "themeColor": "A String", # An opaque theme color.
+ },
+ },
+ "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.
+ "unit": "A String", # The units for magnitude.
+ "magnitude": 3.14, # The magnitude.
+ },
+ "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.
+ "italic": True or False, # Whether or not the text is italicized.
+ "bold": True or False, # Whether or not the text is rendered as bold.
+ "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.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "red": 3.14, # The red 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.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ },
+ "themeColor": "A String", # An opaque theme color.
+ },
},
},
},
@@ -1029,12 +818,12 @@
# 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.
+ "red": 3.14, # The red 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.
"blue": 3.14, # The blue 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.
},
+ "themeColor": "A String", # An opaque theme color.
},
"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:
@@ -1051,6 +840,18 @@
"rowSpan": 42, # Row span of the cell.
},
],
+ "rowHeight": { # A magnitude in a single direction in the specified units. # Height of a row.
+ "unit": "A String", # The units for magnitude.
+ "magnitude": 3.14, # The magnitude.
+ },
+ "tableRowProperties": { # Properties of each row in a table. # Properties of the row.
+ "minRowHeight": { # A magnitude in a single direction in the specified units. # Minimum height of the row. The row will be rendered in the Slides editor at
+ # a height equal to or greater than this value in order to show all the text
+ # in the row's cell(s).
+ "unit": "A String", # The units for magnitude.
+ "magnitude": 3.14, # The magnitude.
+ },
+ },
},
],
"tableColumns": [ # Properties of each column.
@@ -1061,6 +862,105 @@
},
},
],
+ "columns": 42, # Number of columns in the table.
+ "verticalBorderRows": [ # Properties of vertical cell borders.
+ #
+ # A table's vertical cell borders are represented as a grid. The grid has the
+ # same number of rows as the table and one more column than the number of
+ # columns in the table. For example, if the table is 3 x 3, its vertical
+ # borders will be represented as a grid with 3 rows and 4 columns.
+ { # Contents of each border row in a table.
+ "tableBorderCells": [ # Properties of each border cell. When a border's adjacent table cells are
+ # merged, it is not included in the response.
+ { # The properties of each border cell.
+ "location": { # A location of a single table cell within a table. # The location of the border within the border table.
+ "columnIndex": 42, # The 0-based column index.
+ "rowIndex": 42, # The 0-based row index.
+ },
+ "tableBorderProperties": { # The border styling properties of the # The border properties.
+ # TableBorderCell.
+ "dashStyle": "A String", # The dash style of the border.
+ "tableBorderFill": { # The fill of the border. # The fill of the table border.
+ "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid 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.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "red": 3.14, # The red 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.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ },
+ "themeColor": "A String", # An opaque theme color.
+ },
+ "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.
+ },
+ },
+ "weight": { # A magnitude in a single direction in the specified units. # The thickness of the border.
+ "unit": "A String", # The units for magnitude.
+ "magnitude": 3.14, # The magnitude.
+ },
+ },
+ },
+ ],
+ },
+ ],
+ "horizontalBorderRows": [ # Properties of horizontal cell borders.
+ #
+ # A table's horizontal cell borders are represented as a grid. The grid has
+ # one more row than the number of rows in the table and the same number of
+ # columns as the table. For example, if the table is 3 x 3, its horizontal
+ # borders will be represented as a grid with 4 rows and 3 columns.
+ { # Contents of each border row in a table.
+ "tableBorderCells": [ # Properties of each border cell. When a border's adjacent table cells are
+ # merged, it is not included in the response.
+ { # The properties of each border cell.
+ "location": { # A location of a single table cell within a table. # The location of the border within the border table.
+ "columnIndex": 42, # The 0-based column index.
+ "rowIndex": 42, # The 0-based row index.
+ },
+ "tableBorderProperties": { # The border styling properties of the # The border properties.
+ # TableBorderCell.
+ "dashStyle": "A String", # The dash style of the border.
+ "tableBorderFill": { # The fill of the border. # The fill of the table border.
+ "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid 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.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "red": 3.14, # The red 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.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ },
+ "themeColor": "A String", # An opaque theme color.
+ },
+ "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.
+ },
+ },
+ "weight": { # A magnitude in a single direction in the specified units. # The thickness of the border.
+ "unit": "A String", # The units for magnitude.
+ "magnitude": 3.14, # The magnitude.
+ },
+ },
+ },
+ ],
+ },
+ ],
},
"transform": { # AffineTransform uses a 3x3 matrix with an implied last row of [ 0 0 1 ] # The transform of the page element.
#
@@ -1088,21 +988,26 @@
"translateX": 3.14, # The X coordinate translation element.
"translateY": 3.14, # The Y coordinate translation element.
"scaleX": 3.14, # The X coordinate scaling element.
- "unit": "A String", # The units for translate elements.
"shearX": 3.14, # The X coordinate shearing element.
+ "unit": "A String", # The units for translate elements.
},
"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.
"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.
- "sourceUrl": "A String", # The source URL is the URL used to insert the image. The source URL can be
- # empty.
"imageProperties": { # The properties of the Image. # The properties of the image.
+ "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.
+ "link": { # A hypertext link. # The hyperlink destination of the image. If unset, there is no link.
+ "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.
+ "url": "A String", # If set, indicates this is a link to the external web page at this URL.
+ "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 image. If not set, the image has no outline.
#
# If these fields are unset, they may be inherited from a parent placeholder
@@ -1116,12 +1021,12 @@
# 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.
+ "red": 3.14, # The red 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.
"blue": 3.14, # The blue 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.
},
+ "themeColor": "A String", # An opaque theme color.
},
"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:
@@ -1145,6 +1050,9 @@
"magnitude": 3.14, # The magnitude.
},
},
+ "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.
"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
@@ -1159,12 +1067,12 @@
"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].
"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.
+ "red": 3.14, # The red 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.
"blue": 3.14, # The blue 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.
},
+ "themeColor": "A String", # An opaque theme color.
},
},
],
@@ -1174,9 +1082,6 @@
# against the colors in the page's current color scheme. This property is
# read-only.
},
- "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.
"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.
"shadow": { # The shadow properties of a page element. # The shadow of the image. If not set, the image has no shadow. This property
@@ -1186,6 +1091,30 @@
# 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.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "red": 3.14, # The red 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.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ },
+ "themeColor": "A String", # An opaque theme color.
+ },
+ "alignment": "A String", # The alignment point of the shadow, that sets the origin for translate,
+ # scale and skew of the shadow. This property is read-only.
+ "type": "A String", # The type of the shadow. This property is read-only.
+ "propertyState": "A String", # The shadow property state.
+ #
+ # Updating 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.
+ "rotateWithShape": True or False, # Whether the shadow should rotate with the shape. This property is
+ # read-only.
+ "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.
+ "unit": "A String", # The units for magnitude.
+ "magnitude": 3.14, # The magnitude.
+ },
"alpha": 3.14, # The alpha of the shadow's 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.
@@ -1206,32 +1135,8 @@
"translateX": 3.14, # The X coordinate translation element.
"translateY": 3.14, # The Y coordinate translation element.
"scaleX": 3.14, # The X coordinate scaling element.
- "unit": "A String", # The units for translate elements.
"shearX": 3.14, # The X coordinate shearing element.
- },
- "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.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "blue": 3.14, # The blue 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.
- },
- },
- "alignment": "A String", # The alignment point of the shadow, that sets the origin for translate,
- # scale and skew of the shadow. This property is read-only.
- "type": "A String", # The type of the shadow. This property is read-only.
- "propertyState": "A String", # The shadow property state.
- #
- # Updating 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.
- "rotateWithShape": True or False, # Whether the shadow should rotate with the shape. This property is
- # read-only.
- "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.
- "unit": "A String", # The units for magnitude.
- "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for translate elements.
},
},
"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.
@@ -1255,12 +1160,6 @@
#
# 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.
- "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.
@@ -1269,19 +1168,20 @@
# 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.
+ "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.
+ "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.
},
- "link": { # A hypertext link. # The hyperlink destination of the image. If unset, there is no link.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
- "url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
- # addressed by its position.
- "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.
- },
- "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.
},
+ "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.
+ "sourceUrl": "A String", # The source URL is the URL used to insert the image. The source URL can be
+ # empty.
},
"video": { # A PageElement kind representing a # A video page element.
# video.
@@ -1318,12 +1218,12 @@
# 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.
+ "red": 3.14, # The red 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.
"blue": 3.14, # The blue 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.
},
+ "themeColor": "A String", # An opaque theme color.
},
"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:
@@ -1349,199 +1249,6 @@
},
},
},
- "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.
- "spreadsheetId": "A String", # The ID of the Google Sheets spreadsheet that contains the source chart.
- "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 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.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "blue": 3.14, # The blue 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.
- },
- },
- "dashStyle": "A String", # The dash style of the outline.
- "propertyState": "A String", # The outline property state.
- #
- # Updating 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.
- "weight": { # A magnitude in a single direction in the specified units. # The thickness of the outline.
- "unit": "A String", # The units for magnitude.
- "magnitude": 3.14, # The magnitude.
- },
- },
- "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.
- "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].
- "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.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "blue": 3.14, # The blue 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.
- },
- },
- },
- ],
- "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.
- },
- "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.
- "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.
- "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.
- "alpha": 3.14, # The alpha of the shadow's 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.
- "shearY": 3.14, # The Y coordinate shearing element.
- "scaleY": 3.14, # The Y coordinate scaling element.
- "translateX": 3.14, # The X coordinate translation element.
- "translateY": 3.14, # The Y coordinate translation element.
- "scaleX": 3.14, # The X coordinate scaling element.
- "unit": "A String", # The units for translate elements.
- "shearX": 3.14, # The X coordinate shearing element.
- },
- "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.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "blue": 3.14, # The blue 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.
- },
- },
- "alignment": "A String", # The alignment point of the shadow, that sets the origin for translate,
- # scale and skew of the shadow. This property is read-only.
- "type": "A String", # The type of the shadow. This property is read-only.
- "propertyState": "A String", # The shadow property state.
- #
- # Updating 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.
- "rotateWithShape": True or False, # Whether the shadow should rotate with the shape. This property is
- # read-only.
- "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.
- "unit": "A String", # The units for magnitude.
- "magnitude": 3.14, # The magnitude.
- },
- },
- "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.
- "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.
- "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.
- "angle": 3.14, # The rotation angle of the crop window around its center, in radians.
- # Rotation angle is applied after the offset.
- },
- "link": { # A hypertext link. # The hyperlink destination of the image. If unset, there is no link.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
- "url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
- # addressed by its position.
- "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.
- },
- "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.
- },
- },
- },
"line": { # A PageElement kind representing a # A line page element.
# non-connector line, straight connector, curved connector, or bent connector.
"lineCategory": "A String", # The category of the line.
@@ -1553,38 +1260,6 @@
#
# 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.
- "endConnection": { # The properties for one end of a Line # The connection at the end of the line. If unset, there is no connection.
- #
- # Only lines with a Type indicating it is
- # a "connector" can have an `end_connection`.
- # connection.
- "connectionSiteIndex": 42, # The index of the connection site on the connected page element.
- #
- # In most cases, it corresponds to the predefined connection site index from
- # the ECMA-376 standard. More information on those connection sites can be
- # found in the description of the "cnx" attribute in section 20.1.9.9 and
- # Annex H. "Predefined DrawingML Shape and Text Geometries" of "Office Open
- # XML File Formats-Fundamentals and Markup Language Reference", part 1 of
- # [ECMA-376 5th edition]
- # (http://www.ecma-international.org/publications/standards/Ecma-376.htm).
- #
- # The position of each connection site can also be viewed from Slides editor.
- "connectedObjectId": "A String", # The object ID of the connected page element.
- #
- # Some page elements, such as groups, tables, and lines
- # do not have connection sites and therefore cannot be connected to a
- # connector line.
- },
- "link": { # A hypertext link. # The hyperlink destination of the line. If unset, there is no link.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
- "url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
- # addressed by its position.
- "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.
- },
"startConnection": { # The properties for one end of a Line # The connection at the beginning of the line. If unset, there is no
# connection.
#
@@ -1622,12 +1297,12 @@
# 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.
+ "red": 3.14, # The red 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.
"blue": 3.14, # The blue 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.
},
+ "themeColor": "A String", # An opaque theme color.
},
"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:
@@ -1638,6 +1313,231 @@
# a value of 0.0 corresponds to a completely transparent color.
},
},
+ "dashStyle": "A String", # The dash style of the line.
+ "endConnection": { # The properties for one end of a Line # The connection at the end of the line. If unset, there is no connection.
+ #
+ # Only lines with a Type indicating it is
+ # a "connector" can have an `end_connection`.
+ # connection.
+ "connectionSiteIndex": 42, # The index of the connection site on the connected page element.
+ #
+ # In most cases, it corresponds to the predefined connection site index from
+ # the ECMA-376 standard. More information on those connection sites can be
+ # found in the description of the "cnx" attribute in section 20.1.9.9 and
+ # Annex H. "Predefined DrawingML Shape and Text Geometries" of "Office Open
+ # XML File Formats-Fundamentals and Markup Language Reference", part 1 of
+ # [ECMA-376 5th edition]
+ # (http://www.ecma-international.org/publications/standards/Ecma-376.htm).
+ #
+ # The position of each connection site can also be viewed from Slides editor.
+ "connectedObjectId": "A String", # The object ID of the connected page element.
+ #
+ # Some page elements, such as groups, tables, and lines
+ # do not have connection sites and therefore cannot be connected to a
+ # connector line.
+ },
+ "link": { # A hypertext link. # The hyperlink destination of the line. If unset, there is no link.
+ "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.
+ "url": "A String", # If set, indicates this is a link to the external web page at this URL.
+ "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
+ # addressed by its position.
+ },
+ },
+ },
+ "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.
+ "spreadsheetId": "A String", # The ID of the Google Sheets spreadsheet that contains the source chart.
+ "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.
+ "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.
+ "link": { # A hypertext link. # The hyperlink destination of the image. If unset, there is no link.
+ "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.
+ "url": "A String", # If set, indicates this is a link to the external web page at this URL.
+ "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 image. If not set, 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.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "red": 3.14, # The red 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.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ },
+ "themeColor": "A String", # An opaque theme color.
+ },
+ "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.
+ },
+ },
+ "dashStyle": "A String", # The dash style of the outline.
+ "propertyState": "A String", # The outline property state.
+ #
+ # Updating 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.
+ "weight": { # A magnitude in a single direction in the specified units. # The thickness of the outline.
+ "unit": "A String", # The units for magnitude.
+ "magnitude": 3.14, # The magnitude.
+ },
+ },
+ "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.
+ "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.
+ "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].
+ "color": { # A themeable solid color value. # The color of the gradient stop.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "red": 3.14, # The red 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.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ },
+ "themeColor": "A String", # An opaque theme color.
+ },
+ },
+ ],
+ "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.
+ },
+ "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.
+ "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.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "red": 3.14, # The red 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.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ },
+ "themeColor": "A String", # An opaque theme color.
+ },
+ "alignment": "A String", # The alignment point of the shadow, that sets the origin for translate,
+ # scale and skew of the shadow. This property is read-only.
+ "type": "A String", # The type of the shadow. This property is read-only.
+ "propertyState": "A String", # The shadow property state.
+ #
+ # Updating 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.
+ "rotateWithShape": True or False, # Whether the shadow should rotate with the shape. This property is
+ # read-only.
+ "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.
+ "unit": "A String", # The units for magnitude.
+ "magnitude": 3.14, # The magnitude.
+ },
+ "alpha": 3.14, # The alpha of the shadow's 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.
+ "shearY": 3.14, # The Y coordinate shearing element.
+ "scaleY": 3.14, # The Y coordinate scaling element.
+ "translateX": 3.14, # The X coordinate translation element.
+ "translateY": 3.14, # The Y coordinate translation element.
+ "scaleX": 3.14, # The X coordinate scaling element.
+ "shearX": 3.14, # The X coordinate shearing element.
+ "unit": "A String", # The units for translate elements.
+ },
+ },
+ "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.
+ "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.
+ "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.
+ "angle": 3.14, # The rotation angle of the crop window around its center, in radians.
+ # Rotation angle is applied after the offset.
+ "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.
+ "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.
+ },
+ },
},
},
"size": { # A width and height. # The size of the page element.
@@ -1658,6 +1558,657 @@
},
"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.
+ "listId": "A String", # The ID of the list.
+ "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.
+ "smallCaps": True or False, # Whether or not the text is in small capital letters.
+ "weightedFontFamily": { # Represents a font family and weight used to style a TextRun. # The font family and rendered weight of the text.
+ #
+ # This field is an extension of `font_family` meant to support explicit font
+ # weights without breaking backwards compatibility. As such, when reading the
+ # style of a range of text, the value of `weighted_font_family#font_family`
+ # will always be equal to that of `font_family`. However, when writing, if
+ # both fields are included in the field mask (either explicitly or through
+ # the wildcard `"*"`), their values are reconciled as follows:
+ #
+ # * If `font_family` is set and `weighted_font_family` is not, the value of
+ # `font_family` is applied with weight `400` ("normal").
+ # * If both fields are set, the value of `font_family` must match that of
+ # `weighted_font_family#font_family`. If so, the font family and weight of
+ # `weighted_font_family` is applied. Otherwise, a 400 bad request error is
+ # returned.
+ # * If `weighted_font_family` is set and `font_family` is not, the font
+ # family and weight of `weighted_font_family` is applied.
+ # * If neither field is set, the font family and weight of the text inherit
+ # from the parent. Note that these properties cannot inherit separately
+ # from each other.
+ #
+ # If an update request specifies values for both `weighted_font_family` and
+ # `bold`, the `weighted_font_family` is applied first, then `bold`.
+ #
+ # If `weighted_font_family#weight` is not set, it defaults to `400`.
+ #
+ # If `weighted_font_family` is set, then `weighted_font_family#font_family`
+ # must also be set with a non-empty value. Otherwise, a 400 bad request error
+ # is returned.
+ "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`.
+ "weight": 42, # The rendered weight of the text. This field can have any value that is a
+ # multiple of `100` between `100` and `900`, inclusive. This range
+ # corresponds to the numerical values described in the CSS 2.1
+ # Specification,
+ # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness),
+ # with non-numerical values disallowed. Weights greater than or equal to
+ # `700` are considered bold, and weights less than `700`are not bold. The
+ # default value is `400` ("normal").
+ },
+ "underline": True or False, # Whether or not the text is underlined.
+ "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.
+ "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.
+ "url": "A String", # If set, indicates this is a link to the external web page at this URL.
+ "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
+ # addressed by its position.
+ },
+ "strikethrough": True or False, # Whether or not the text is struck through.
+ "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.
+ "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.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "red": 3.14, # The red 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.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ },
+ "themeColor": "A String", # An opaque theme color.
+ },
+ },
+ "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.
+ "unit": "A String", # The units for magnitude.
+ "magnitude": 3.14, # The magnitude.
+ },
+ "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.
+ "italic": True or False, # Whether or not the text is italicized.
+ "bold": True or False, # Whether or not the text is rendered as bold.
+ "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.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "red": 3.14, # The red 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.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ },
+ "themeColor": "A String", # An opaque theme color.
+ },
+ },
+ },
+ },
+ },
+ },
+ },
+ "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.
+ "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.
+ "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.
+ "unit": "A String", # The units for magnitude.
+ "magnitude": 3.14, # The magnitude.
+ },
+ "spacingMode": "A String", # The spacing mode for the paragraph.
+ "spaceBelow": { # A magnitude in a single direction in the specified units. # The amount of extra space below the paragraph. If unset, the value is
+ # inherited from the parent.
+ "unit": "A String", # The units for magnitude.
+ "magnitude": 3.14, # The magnitude.
+ },
+ "alignment": "A String", # The text alignment for this paragraph.
+ "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.
+ "unit": "A String", # The units for magnitude.
+ "magnitude": 3.14, # The 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.
+ "unit": "A String", # The units for magnitude.
+ "magnitude": 3.14, # The magnitude.
+ },
+ "direction": "A String", # The text direction of this paragraph. If unset, the value defaults to
+ # LEFT_TO_RIGHT since
+ # text direction is not inherited.
+ "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.
+ "unit": "A String", # The units for magnitude.
+ "magnitude": 3.14, # The magnitude.
+ },
+ },
+ "bullet": { # Describes the bullet of a paragraph. # The bullet for this paragraph. If not present, the paragraph does not
+ # belong to a list.
+ "listId": "A String", # The ID of the list this paragraph belongs to.
+ "glyph": "A String", # The rendered bullet glyph for this paragraph.
+ "nestingLevel": 42, # The nesting level of this paragraph in the list.
+ "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.
+ "smallCaps": True or False, # Whether or not the text is in small capital letters.
+ "weightedFontFamily": { # Represents a font family and weight used to style a TextRun. # The font family and rendered weight of the text.
+ #
+ # This field is an extension of `font_family` meant to support explicit font
+ # weights without breaking backwards compatibility. As such, when reading the
+ # style of a range of text, the value of `weighted_font_family#font_family`
+ # will always be equal to that of `font_family`. However, when writing, if
+ # both fields are included in the field mask (either explicitly or through
+ # the wildcard `"*"`), their values are reconciled as follows:
+ #
+ # * If `font_family` is set and `weighted_font_family` is not, the value of
+ # `font_family` is applied with weight `400` ("normal").
+ # * If both fields are set, the value of `font_family` must match that of
+ # `weighted_font_family#font_family`. If so, the font family and weight of
+ # `weighted_font_family` is applied. Otherwise, a 400 bad request error is
+ # returned.
+ # * If `weighted_font_family` is set and `font_family` is not, the font
+ # family and weight of `weighted_font_family` is applied.
+ # * If neither field is set, the font family and weight of the text inherit
+ # from the parent. Note that these properties cannot inherit separately
+ # from each other.
+ #
+ # If an update request specifies values for both `weighted_font_family` and
+ # `bold`, the `weighted_font_family` is applied first, then `bold`.
+ #
+ # If `weighted_font_family#weight` is not set, it defaults to `400`.
+ #
+ # If `weighted_font_family` is set, then `weighted_font_family#font_family`
+ # must also be set with a non-empty value. Otherwise, a 400 bad request error
+ # is returned.
+ "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`.
+ "weight": 42, # The rendered weight of the text. This field can have any value that is a
+ # multiple of `100` between `100` and `900`, inclusive. This range
+ # corresponds to the numerical values described in the CSS 2.1
+ # Specification,
+ # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness),
+ # with non-numerical values disallowed. Weights greater than or equal to
+ # `700` are considered bold, and weights less than `700`are not bold. The
+ # default value is `400` ("normal").
+ },
+ "underline": True or False, # Whether or not the text is underlined.
+ "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.
+ "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.
+ "url": "A String", # If set, indicates this is a link to the external web page at this URL.
+ "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
+ # addressed by its position.
+ },
+ "strikethrough": True or False, # Whether or not the text is struck through.
+ "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.
+ "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.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "red": 3.14, # The red 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.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ },
+ "themeColor": "A String", # An opaque theme color.
+ },
+ },
+ "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.
+ "unit": "A String", # The units for magnitude.
+ "magnitude": 3.14, # The magnitude.
+ },
+ "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.
+ "italic": True or False, # Whether or not the text is italicized.
+ "bold": True or False, # Whether or not the text is rendered as bold.
+ "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.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "red": 3.14, # The red 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.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ },
+ "themeColor": "A String", # An opaque theme color.
+ },
+ },
+ },
+ },
+ },
+ "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.
+ "type": "A String", # The type of this auto text.
+ "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.
+ "smallCaps": True or False, # Whether or not the text is in small capital letters.
+ "weightedFontFamily": { # Represents a font family and weight used to style a TextRun. # The font family and rendered weight of the text.
+ #
+ # This field is an extension of `font_family` meant to support explicit font
+ # weights without breaking backwards compatibility. As such, when reading the
+ # style of a range of text, the value of `weighted_font_family#font_family`
+ # will always be equal to that of `font_family`. However, when writing, if
+ # both fields are included in the field mask (either explicitly or through
+ # the wildcard `"*"`), their values are reconciled as follows:
+ #
+ # * If `font_family` is set and `weighted_font_family` is not, the value of
+ # `font_family` is applied with weight `400` ("normal").
+ # * If both fields are set, the value of `font_family` must match that of
+ # `weighted_font_family#font_family`. If so, the font family and weight of
+ # `weighted_font_family` is applied. Otherwise, a 400 bad request error is
+ # returned.
+ # * If `weighted_font_family` is set and `font_family` is not, the font
+ # family and weight of `weighted_font_family` is applied.
+ # * If neither field is set, the font family and weight of the text inherit
+ # from the parent. Note that these properties cannot inherit separately
+ # from each other.
+ #
+ # If an update request specifies values for both `weighted_font_family` and
+ # `bold`, the `weighted_font_family` is applied first, then `bold`.
+ #
+ # If `weighted_font_family#weight` is not set, it defaults to `400`.
+ #
+ # If `weighted_font_family` is set, then `weighted_font_family#font_family`
+ # must also be set with a non-empty value. Otherwise, a 400 bad request error
+ # is returned.
+ "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`.
+ "weight": 42, # The rendered weight of the text. This field can have any value that is a
+ # multiple of `100` between `100` and `900`, inclusive. This range
+ # corresponds to the numerical values described in the CSS 2.1
+ # Specification,
+ # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness),
+ # with non-numerical values disallowed. Weights greater than or equal to
+ # `700` are considered bold, and weights less than `700`are not bold. The
+ # default value is `400` ("normal").
+ },
+ "underline": True or False, # Whether or not the text is underlined.
+ "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.
+ "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.
+ "url": "A String", # If set, indicates this is a link to the external web page at this URL.
+ "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
+ # addressed by its position.
+ },
+ "strikethrough": True or False, # Whether or not the text is struck through.
+ "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.
+ "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.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "red": 3.14, # The red 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.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ },
+ "themeColor": "A String", # An opaque theme color.
+ },
+ },
+ "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.
+ "unit": "A String", # The units for magnitude.
+ "magnitude": 3.14, # The magnitude.
+ },
+ "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.
+ "italic": True or False, # Whether or not the text is italicized.
+ "bold": True or False, # Whether or not the text is rendered as bold.
+ "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.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "red": 3.14, # The red 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.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ },
+ "themeColor": "A String", # An opaque theme color.
+ },
+ },
+ },
+ },
+ "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.
+ "smallCaps": True or False, # Whether or not the text is in small capital letters.
+ "weightedFontFamily": { # Represents a font family and weight used to style a TextRun. # The font family and rendered weight of the text.
+ #
+ # This field is an extension of `font_family` meant to support explicit font
+ # weights without breaking backwards compatibility. As such, when reading the
+ # style of a range of text, the value of `weighted_font_family#font_family`
+ # will always be equal to that of `font_family`. However, when writing, if
+ # both fields are included in the field mask (either explicitly or through
+ # the wildcard `"*"`), their values are reconciled as follows:
+ #
+ # * If `font_family` is set and `weighted_font_family` is not, the value of
+ # `font_family` is applied with weight `400` ("normal").
+ # * If both fields are set, the value of `font_family` must match that of
+ # `weighted_font_family#font_family`. If so, the font family and weight of
+ # `weighted_font_family` is applied. Otherwise, a 400 bad request error is
+ # returned.
+ # * If `weighted_font_family` is set and `font_family` is not, the font
+ # family and weight of `weighted_font_family` is applied.
+ # * If neither field is set, the font family and weight of the text inherit
+ # from the parent. Note that these properties cannot inherit separately
+ # from each other.
+ #
+ # If an update request specifies values for both `weighted_font_family` and
+ # `bold`, the `weighted_font_family` is applied first, then `bold`.
+ #
+ # If `weighted_font_family#weight` is not set, it defaults to `400`.
+ #
+ # If `weighted_font_family` is set, then `weighted_font_family#font_family`
+ # must also be set with a non-empty value. Otherwise, a 400 bad request error
+ # is returned.
+ "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`.
+ "weight": 42, # The rendered weight of the text. This field can have any value that is a
+ # multiple of `100` between `100` and `900`, inclusive. This range
+ # corresponds to the numerical values described in the CSS 2.1
+ # Specification,
+ # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness),
+ # with non-numerical values disallowed. Weights greater than or equal to
+ # `700` are considered bold, and weights less than `700`are not bold. The
+ # default value is `400` ("normal").
+ },
+ "underline": True or False, # Whether or not the text is underlined.
+ "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.
+ "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.
+ "url": "A String", # If set, indicates this is a link to the external web page at this URL.
+ "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
+ # addressed by its position.
+ },
+ "strikethrough": True or False, # Whether or not the text is struck through.
+ "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.
+ "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.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "red": 3.14, # The red 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.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ },
+ "themeColor": "A String", # An opaque theme color.
+ },
+ },
+ "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.
+ "unit": "A String", # The units for magnitude.
+ "magnitude": 3.14, # The magnitude.
+ },
+ "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.
+ "italic": True or False, # Whether or not the text is italicized.
+ "bold": True or False, # Whether or not the text is rendered as bold.
+ "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.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "red": 3.14, # The red 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.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ },
+ "themeColor": "A String", # An opaque theme color.
+ },
+ },
+ },
+ },
+ "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.
+ },
+ ],
+ },
+ "shapeType": "A String", # The type of the shape.
"placeholder": { # The placeholder information that uniquely identifies a placeholder shape. # Placeholders are shapes that are inherit from corresponding placeholders on
# layouts and masters.
#
@@ -1678,16 +2229,6 @@
# properties may be inherited from a parent placeholder shape.
# Determining the rendered value of the property depends on the corresponding
# property_state field value.
- "link": { # A hypertext link. # The hyperlink destination of the shape. If unset, there is no link. Links
- # are not inherited from parent placeholders.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
- "url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
- # addressed by its position.
- "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.
- },
"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,
@@ -1704,12 +2245,12 @@
# 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.
+ "red": 3.14, # The red 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.
"blue": 3.14, # The blue 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.
},
+ "themeColor": "A String", # An opaque theme color.
},
"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:
@@ -1736,12 +2277,12 @@
# 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.
+ "red": 3.14, # The red 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.
"blue": 3.14, # The blue 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.
},
+ "themeColor": "A String", # An opaque theme color.
},
"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:
@@ -1774,6 +2315,30 @@
# 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.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "red": 3.14, # The red 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.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ },
+ "themeColor": "A String", # An opaque theme color.
+ },
+ "alignment": "A String", # The alignment point of the shadow, that sets the origin for translate,
+ # scale and skew of the shadow. This property is read-only.
+ "type": "A String", # The type of the shadow. This property is read-only.
+ "propertyState": "A String", # The shadow property state.
+ #
+ # Updating 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.
+ "rotateWithShape": True or False, # Whether the shadow should rotate with the shape. This property is
+ # read-only.
+ "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.
+ "unit": "A String", # The units for magnitude.
+ "magnitude": 3.14, # The magnitude.
+ },
"alpha": 3.14, # The alpha of the shadow's 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.
@@ -1794,690 +2359,29 @@
"translateX": 3.14, # The X coordinate translation element.
"translateY": 3.14, # The Y coordinate translation element.
"scaleX": 3.14, # The X coordinate scaling element.
- "unit": "A String", # The units for translate elements.
"shearX": 3.14, # The X coordinate shearing element.
- },
- "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.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "blue": 3.14, # The blue 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.
- },
- },
- "alignment": "A String", # The alignment point of the shadow, that sets the origin for translate,
- # scale and skew of the shadow. This property is read-only.
- "type": "A String", # The type of the shadow. This property is read-only.
- "propertyState": "A String", # The shadow property state.
- #
- # Updating 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.
- "rotateWithShape": True or False, # Whether the shadow should rotate with the shape. This property is
- # read-only.
- "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.
- "unit": "A String", # The units for magnitude.
- "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for translate elements.
},
},
"contentAlignment": "A String", # The alignment of the content in the shape. If unspecified,
# the alignment is inherited from a parent placeholder if it exists. If the
# shape has no parent, the default alignment matches the alignment for new
# shapes created in the Slides editor.
- },
- "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.
- "listId": "A String", # The ID of the list.
- "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.
- "strikethrough": True or False, # Whether or not the text is struck through.
- "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.
- "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.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "blue": 3.14, # The blue 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.
- },
- },
- },
- "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.
- "unit": "A String", # The units for magnitude.
- "magnitude": 3.14, # The magnitude.
- },
- "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.
- "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.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "blue": 3.14, # The blue 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.
- "italic": True or False, # Whether or not the text is italicized.
- "smallCaps": True or False, # Whether or not the text is in small capital letters.
- "weightedFontFamily": { # Represents a font family and weight used to style a TextRun. # The font family and rendered weight of the text.
- #
- # This field is an extension of `font_family` meant to support explicit font
- # weights without breaking backwards compatibility. As such, when reading the
- # style of a range of text, the value of `weighted_font_family#font_family`
- # will always be equal to that of `font_family`. However, when writing, if
- # both fields are included in the field mask (either explicitly or through
- # the wildcard `"*"`), their values are reconciled as follows:
- #
- # * If `font_family` is set and `weighted_font_family` is not, the value of
- # `font_family` is applied with weight `400` ("normal").
- # * If both fields are set, the value of `font_family` must match that of
- # `weighted_font_family#font_family`. If so, the font family and weight of
- # `weighted_font_family` is applied. Otherwise, a 400 bad request error is
- # returned.
- # * If `weighted_font_family` is set and `font_family` is not, the font
- # family and weight of `weighted_font_family` is applied.
- # * If neither field is set, the font family and weight of the text inherit
- # from the parent. Note that these properties cannot inherit separately
- # from each other.
- #
- # If an update request specifies values for both `weighted_font_family` and
- # `bold`, the `weighted_font_family` is applied first, then `bold`.
- #
- # If `weighted_font_family#weight` is not set, it defaults to `400`.
- #
- # If `weighted_font_family` is set, then `weighted_font_family#font_family`
- # must also be set with a non-empty value. Otherwise, a 400 bad request error
- # is returned.
- "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`.
- "weight": 42, # The rendered weight of the text. This field can have any value that is a
- # multiple of `100` between `100` and `900`, inclusive. This range
- # corresponds to the numerical values described in the CSS 2.1
- # Specification,
- # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness),
- # with non-numerical values disallowed. Weights greater than or equal to
- # `700` are considered bold, and weights less than `700`are not bold. The
- # default value is `400` ("normal").
- },
- "underline": True or False, # Whether or not the text is underlined.
- "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.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
- "url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
- # addressed by its position.
- "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.
- },
- },
- },
- },
- },
+ "link": { # A hypertext link. # The hyperlink destination of the shape. If unset, there is no link. Links
+ # are not inherited from parent placeholders.
+ "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.
+ "url": "A String", # If set, indicates this is a link to the external web page at this URL.
+ "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
+ # addressed by its position.
},
- "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.
- "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.
- "bullet": { # Describes the bullet of a paragraph. # The bullet for this paragraph. If not present, the paragraph does not
- # belong to a list.
- "listId": "A String", # The ID of the list this paragraph belongs to.
- "glyph": "A String", # The rendered bullet glyph for this paragraph.
- "nestingLevel": 42, # The nesting level of this paragraph in the list.
- "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.
- "strikethrough": True or False, # Whether or not the text is struck through.
- "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.
- "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.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "blue": 3.14, # The blue 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.
- },
- },
- },
- "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.
- "unit": "A String", # The units for magnitude.
- "magnitude": 3.14, # The magnitude.
- },
- "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.
- "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.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "blue": 3.14, # The blue 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.
- "italic": True or False, # Whether or not the text is italicized.
- "smallCaps": True or False, # Whether or not the text is in small capital letters.
- "weightedFontFamily": { # Represents a font family and weight used to style a TextRun. # The font family and rendered weight of the text.
- #
- # This field is an extension of `font_family` meant to support explicit font
- # weights without breaking backwards compatibility. As such, when reading the
- # style of a range of text, the value of `weighted_font_family#font_family`
- # will always be equal to that of `font_family`. However, when writing, if
- # both fields are included in the field mask (either explicitly or through
- # the wildcard `"*"`), their values are reconciled as follows:
- #
- # * If `font_family` is set and `weighted_font_family` is not, the value of
- # `font_family` is applied with weight `400` ("normal").
- # * If both fields are set, the value of `font_family` must match that of
- # `weighted_font_family#font_family`. If so, the font family and weight of
- # `weighted_font_family` is applied. Otherwise, a 400 bad request error is
- # returned.
- # * If `weighted_font_family` is set and `font_family` is not, the font
- # family and weight of `weighted_font_family` is applied.
- # * If neither field is set, the font family and weight of the text inherit
- # from the parent. Note that these properties cannot inherit separately
- # from each other.
- #
- # If an update request specifies values for both `weighted_font_family` and
- # `bold`, the `weighted_font_family` is applied first, then `bold`.
- #
- # If `weighted_font_family#weight` is not set, it defaults to `400`.
- #
- # If `weighted_font_family` is set, then `weighted_font_family#font_family`
- # must also be set with a non-empty value. Otherwise, a 400 bad request error
- # is returned.
- "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`.
- "weight": 42, # The rendered weight of the text. This field can have any value that is a
- # multiple of `100` between `100` and `900`, inclusive. This range
- # corresponds to the numerical values described in the CSS 2.1
- # Specification,
- # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness),
- # with non-numerical values disallowed. Weights greater than or equal to
- # `700` are considered bold, and weights less than `700`are not bold. The
- # default value is `400` ("normal").
- },
- "underline": True or False, # Whether or not the text is underlined.
- "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.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
- "url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
- # addressed by its position.
- "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.
- },
- },
- },
- "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.
- "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.
- "unit": "A String", # The units for magnitude.
- "magnitude": 3.14, # The 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.
- "unit": "A String", # The units for magnitude.
- "magnitude": 3.14, # The magnitude.
- },
- "spacingMode": "A String", # The spacing mode for the paragraph.
- "spaceBelow": { # A magnitude in a single direction in the specified units. # The amount of extra space below the paragraph. If unset, the value is
- # inherited from the parent.
- "unit": "A String", # The units for magnitude.
- "magnitude": 3.14, # The 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.
- "unit": "A String", # The units for magnitude.
- "magnitude": 3.14, # The magnitude.
- },
- "alignment": "A String", # The text alignment for this paragraph.
- "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.
- "unit": "A String", # The units for magnitude.
- "magnitude": 3.14, # The magnitude.
- },
- "direction": "A String", # The text direction of this paragraph. If unset, the value defaults to
- # LEFT_TO_RIGHT since
- # text direction is not inherited.
- "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.
- },
- },
- "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.
- "type": "A String", # The type of this auto text.
- "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.
- "strikethrough": True or False, # Whether or not the text is struck through.
- "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.
- "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.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "blue": 3.14, # The blue 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.
- },
- },
- },
- "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.
- "unit": "A String", # The units for magnitude.
- "magnitude": 3.14, # The magnitude.
- },
- "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.
- "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.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "blue": 3.14, # The blue 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.
- "italic": True or False, # Whether or not the text is italicized.
- "smallCaps": True or False, # Whether or not the text is in small capital letters.
- "weightedFontFamily": { # Represents a font family and weight used to style a TextRun. # The font family and rendered weight of the text.
- #
- # This field is an extension of `font_family` meant to support explicit font
- # weights without breaking backwards compatibility. As such, when reading the
- # style of a range of text, the value of `weighted_font_family#font_family`
- # will always be equal to that of `font_family`. However, when writing, if
- # both fields are included in the field mask (either explicitly or through
- # the wildcard `"*"`), their values are reconciled as follows:
- #
- # * If `font_family` is set and `weighted_font_family` is not, the value of
- # `font_family` is applied with weight `400` ("normal").
- # * If both fields are set, the value of `font_family` must match that of
- # `weighted_font_family#font_family`. If so, the font family and weight of
- # `weighted_font_family` is applied. Otherwise, a 400 bad request error is
- # returned.
- # * If `weighted_font_family` is set and `font_family` is not, the font
- # family and weight of `weighted_font_family` is applied.
- # * If neither field is set, the font family and weight of the text inherit
- # from the parent. Note that these properties cannot inherit separately
- # from each other.
- #
- # If an update request specifies values for both `weighted_font_family` and
- # `bold`, the `weighted_font_family` is applied first, then `bold`.
- #
- # If `weighted_font_family#weight` is not set, it defaults to `400`.
- #
- # If `weighted_font_family` is set, then `weighted_font_family#font_family`
- # must also be set with a non-empty value. Otherwise, a 400 bad request error
- # is returned.
- "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`.
- "weight": 42, # The rendered weight of the text. This field can have any value that is a
- # multiple of `100` between `100` and `900`, inclusive. This range
- # corresponds to the numerical values described in the CSS 2.1
- # Specification,
- # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness),
- # with non-numerical values disallowed. Weights greater than or equal to
- # `700` are considered bold, and weights less than `700`are not bold. The
- # default value is `400` ("normal").
- },
- "underline": True or False, # Whether or not the text is underlined.
- "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.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
- "url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
- # addressed by its position.
- "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.
- },
- },
- },
- "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.
- "strikethrough": True or False, # Whether or not the text is struck through.
- "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.
- "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.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "blue": 3.14, # The blue 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.
- },
- },
- },
- "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.
- "unit": "A String", # The units for magnitude.
- "magnitude": 3.14, # The magnitude.
- },
- "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.
- "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.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "blue": 3.14, # The blue 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.
- "italic": True or False, # Whether or not the text is italicized.
- "smallCaps": True or False, # Whether or not the text is in small capital letters.
- "weightedFontFamily": { # Represents a font family and weight used to style a TextRun. # The font family and rendered weight of the text.
- #
- # This field is an extension of `font_family` meant to support explicit font
- # weights without breaking backwards compatibility. As such, when reading the
- # style of a range of text, the value of `weighted_font_family#font_family`
- # will always be equal to that of `font_family`. However, when writing, if
- # both fields are included in the field mask (either explicitly or through
- # the wildcard `"*"`), their values are reconciled as follows:
- #
- # * If `font_family` is set and `weighted_font_family` is not, the value of
- # `font_family` is applied with weight `400` ("normal").
- # * If both fields are set, the value of `font_family` must match that of
- # `weighted_font_family#font_family`. If so, the font family and weight of
- # `weighted_font_family` is applied. Otherwise, a 400 bad request error is
- # returned.
- # * If `weighted_font_family` is set and `font_family` is not, the font
- # family and weight of `weighted_font_family` is applied.
- # * If neither field is set, the font family and weight of the text inherit
- # from the parent. Note that these properties cannot inherit separately
- # from each other.
- #
- # If an update request specifies values for both `weighted_font_family` and
- # `bold`, the `weighted_font_family` is applied first, then `bold`.
- #
- # If `weighted_font_family#weight` is not set, it defaults to `400`.
- #
- # If `weighted_font_family` is set, then `weighted_font_family#font_family`
- # must also be set with a non-empty value. Otherwise, a 400 bad request error
- # is returned.
- "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`.
- "weight": 42, # The rendered weight of the text. This field can have any value that is a
- # multiple of `100` between `100` and `900`, inclusive. This range
- # corresponds to the numerical values described in the CSS 2.1
- # Specification,
- # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness),
- # with non-numerical values disallowed. Weights greater than or equal to
- # `700` are considered bold, and weights less than `700`are not bold. The
- # default value is `400` ("normal").
- },
- "underline": True or False, # Whether or not the text is underlined.
- "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.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
- "url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
- # addressed by its position.
- "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.
- },
- },
- },
- "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.
- },
- ],
},
- "shapeType": "A String", # The type of the shape.
+ },
+ "wordArt": { # A PageElement kind representing # A word art page element.
+ # word art.
+ "renderedText": "A String", # The text rendered as word art.
},
},
],
@@ -2493,6 +2397,102 @@
# changed. Conversely, a changed ID (for the same presentation and user)
# usually means the presentation has been updated; however, a changed ID can
# also be due to internal factors such as ID format changes.
+ "objectId": "A String", # The object ID for this page. Object IDs used by
+ # Page and
+ # PageElement share the same namespace.
+ "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.
+ "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 one of PNG, JPEG, or GIF
+ # format.
+ #
+ # The provided URL can be at most 2 kB in length.
+ "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.
+ "unit": "A String", # The units for magnitude.
+ "magnitude": 3.14, # The magnitude.
+ },
+ "height": { # A magnitude in a single direction in the specified units. # The height of the object.
+ "unit": "A String", # The units for magnitude.
+ "magnitude": 3.14, # The magnitude.
+ },
+ },
+ },
+ "propertyState": "A String", # The background fill property state.
+ #
+ # Updating 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.
+ "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.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "red": 3.14, # The red 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.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ },
+ "themeColor": "A String", # An opaque theme color.
+ },
+ "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.
+ },
+ },
+ "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, matching the defaults in the Slides editor.
+ #
+ # Only the concrete colors of the first 12 ThemeColorTypes are editable. In addition, only
+ # the color scheme on `Master` pages can be updated. To update the field, a
+ # color scheme containing mappings from all the first 12 ThemeColorTypes to
+ # their concrete colors must be provided. Colors for the remaining
+ # ThemeColorTypes will be ignored.
+ "colors": [ # The ThemeColorType and corresponding concrete color pairs.
+ { # A pair mapping a theme color type to the concrete color it represents.
+ "type": "A String", # The type of the theme color.
+ "color": { # An RGB color. # The concrete color corresponding to the theme color type above.
+ "red": 3.14, # The red 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.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ },
+ },
+ ],
+ },
+ },
+ "layoutProperties": { # The properties of Page are only # Layout specific properties. Only set if page_type = LAYOUT.
+ # relevant for pages with page_type LAYOUT.
+ "masterObjectId": "A String", # The object ID of the master that this layout is based on.
+ "displayName": "A String", # The human-readable name of the layout.
+ "name": "A String", # The name of the layout.
+ },
+ "pageType": "A String", # The type of the page.
}</pre>
</div>
@@ -2523,6 +2523,8 @@
An object of the form:
{ # The thumbnail of a page.
+ "width": 42, # The positive width in pixels of the thumbnail image.
+ "height": 42, # The positive height in pixels of the thumbnail image.
"contentUrl": "A String", # The content URL of the thumbnail image.
#
# The URL to the image has a default lifetime of 30 minutes.
@@ -2531,8 +2533,6 @@
# image may be lost if the presentation's sharing settings change.
# The mime type of the thumbnail image is the same as specified in the
# `GetPageThumbnailRequest`.
- "width": 42, # The positive width in pixels of the thumbnail image.
- "height": 42, # The positive height in pixels of the thumbnail image.
}</pre>
</div>