Regen all docs. (#700)
* Stop recursing if discovery == {}
* Generate docs with 'make docs'.
diff --git a/docs/dyn/slides_v1.presentations.html b/docs/dyn/slides_v1.presentations.html
index 5f9bb60..9562b8d 100644
--- a/docs/dyn/slides_v1.presentations.html
+++ b/docs/dyn/slides_v1.presentations.html
@@ -84,7 +84,7 @@
<p class="firstline">Applies one or more updates to the presentation.</p>
<p class="toc_element">
<code><a href="#create">create(body, x__xgafv=None)</a></code></p>
-<p class="firstline">Creates a new presentation using the title given in the request. Other</p>
+<p class="firstline">Creates a blank presentation using the title given in the request. If a</p>
<p class="toc_element">
<code><a href="#get">get(presentationId, x__xgafv=None)</a></code></p>
<p class="firstline">Gets the latest version of the specified presentation.</p>
@@ -167,10 +167,50 @@
"columnIndex": 42, # The 0-based column index.
},
},
+ "createParagraphBullets": { # Creates bullets for all of the paragraphs that overlap with the given # Creates bullets for paragraphs.
+ # text index range.
+ #
+ # The nesting level of each paragraph will be determined by counting leading
+ # tabs in front of each paragraph. To avoid excess space between the bullet and
+ # the corresponding paragraph, these leading tabs are removed by this request.
+ # This may change the indices of parts of the text.
+ #
+ # If the paragraph immediately before paragraphs being updated is in a list
+ # with a matching preset, the paragraphs being updated are added to that
+ # preceding list.
+ "bulletPreset": "A String", # The kinds of bullet glyphs to be used. Defaults to the
+ # `BULLET_DISC_CIRCLE_SQUARE` preset.
+ "textRange": { # Specifies a contiguous range of an indexed collection, such as characters in # The range of text to apply the bullet presets to, based on TextElement indexes.
+ # text.
+ "endIndex": 42, # The optional zero-based index of the end of the collection.
+ # Required for `FIXED_RANGE` ranges.
+ "startIndex": 42, # The optional zero-based index of the beginning of the collection.
+ # Required for `FIXED_RANGE` and `FROM_START_INDEX` ranges.
+ "type": "A String", # The type of range.
+ },
+ "objectId": "A String", # The object ID of the shape or table containing the text to add bullets to.
+ "cellLocation": { # A location of a single table cell within a table. # The optional table cell location if the text to be modified is in a table
+ # cell. If present, the object_id must refer to a table.
+ "rowIndex": 42, # The 0-based row index.
+ "columnIndex": 42, # The 0-based column index.
+ },
+ },
"createVideo": { # Creates a video. # Creates a video.
+ #
+ # NOTE: Creating a video from Google Drive requires that the requesting app
+ # have at least one of the drive, drive.readonly, or drive.file OAuth scopes.
"source": "A String", # The video source.
"elementProperties": { # Common properties for a page element. # The element properties for the video.
#
+ # The PageElementProperties.size property is
+ # optional. If you don't specify a size, a default size is chosen by the
+ # server.
+ #
+ # The PageElementProperties.transform property is
+ # optional. The transform must not have shear components.
+ # If you don't specify a transform, the video will be placed at the top left
+ # corner of the page.
+ #
# Note: When you initially create a
# PageElement, the API may modify
# the values of both `size` and `transform`, but the
@@ -221,7 +261,9 @@
"id": "A String", # The video source's unique identifier for this video.
#
# e.g. For YouTube video https://www.youtube.com/watch?v=7U3axjORYZ0,
- # the ID is 7U3axjORYZ0.
+ # the ID is 7U3axjORYZ0. For a Google Drive video
+ # https://drive.google.com/file/d/1xCgQLFTJi5_Xl8DgW_lcUYq5e-q6Hi5Q the ID
+ # is 1xCgQLFTJi5_Xl8DgW_lcUYq5e-q6Hi5Q.
},
"deleteTableRow": { # Deletes a row from a table. # Deletes a row from a table.
"cellLocation": { # A location of a single table cell within a table. # The reference table cell location from which a row will be deleted.
@@ -234,6 +276,15 @@
},
"tableObjectId": "A String", # The table to delete rows from.
},
+ "rerouteLine": { # Reroutes a line such that it's connected at the # Reroutes a line such that it's connected
+ # at the two closest connection sites on the connected page elements.
+ # two closest connection sites on the connected page elements.
+ "objectId": "A String", # The object ID of the line to reroute.
+ #
+ # Only a line with a category
+ # indicating it is a "connector" can be rerouted. The start and end
+ # connections of the line must be on different page elements.
+ },
"updateImageProperties": { # Update the properties of an Image. # Updates the properties of an Image.
"fields": "A String", # The fields that should be updated.
#
@@ -247,7 +298,7 @@
# To reset a property to its default value, include its field name in the
# field mask but leave the field itself unset.
"imageProperties": { # The properties of the Image. # The image properties to update.
- "outline": { # The outline of a PageElement. # The outline of the image. If not set, the the image has no outline.
+ "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
@@ -278,9 +329,9 @@
},
"propertyState": "A String", # The outline property state.
#
- # Updating the the outline on a page element will implicitly update this
- # field to`RENDERED`, unless another value is specified in the same request.
- # To have no outline on a page element, set this field to `NOT_RENDERED`. In
+ # 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.
"dashStyle": "A String", # The dash style of the outline.
@@ -356,14 +407,14 @@
"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.
"angle": 3.14, # The rotation angle of the crop window around its center, in radians.
# Rotation angle is applied after the offset.
"rightOffset": 3.14, # The offset specifies the right edge of the crop rectangle that is located
# to the left of the original bounding rectangle right edge, relative to the
# object's original width.
- "bottomOffset": 3.14, # The offset specifies the bottom edge of the crop rectangle that is located
- # above the original bounding rectangle bottom edge, relative to the object's
- # original height.
"topOffset": 3.14, # The offset specifies the top edge of the crop rectangle that is located
# below the original bounding rectangle top edge, relative to the object's
# original height.
@@ -407,9 +458,9 @@
},
"propertyState": "A String", # The shadow property state.
#
- # Updating the the shadow on a page element will implicitly update this field
- # to `RENDERED`, unless another value is specified in the same request. To
- # have no shadow on a page element, set this field to `NOT_RENDERED`. In this
+ # 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.
"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.
@@ -417,10 +468,11 @@
"unit": "A String", # The units for magnitude.
},
"alpha": 3.14, # The alpha of the shadow's color, from 0.0 to 1.0.
- "type": "A String", # The type of the shadow.
+ "type": "A String", # The type of the shadow. This property is read-only.
"alignment": "A String", # The alignment point of the shadow, that sets the origin for translate,
- # scale and skew of the shadow.
- "rotateWithShape": True or False, # Whether the shadow should rotate with the shape.
+ # scale and skew of the shadow. This property is read-only.
+ "rotateWithShape": True or False, # Whether the shadow should rotate with the shape. 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.
@@ -428,7 +480,29 @@
"objectId": "A String", # The object ID of the image the updates are applied to.
},
"createLine": { # Creates a line. # Creates a line.
- "lineCategory": "A String", # The category of line to be created.
+ "category": "A String", # The category of the line to be created.
+ #
+ # The exact line type created is
+ # determined based on the category and how it's routed to connect to other
+ # page elements.
+ #
+ # If you specify both a `category` and a `line_category`, the `category`
+ # takes precedence.
+ #
+ # If you do not specify a value for `category`, but specify a value for
+ # `line_category`, then the specified `line_category` value is used.
+ #
+ # If you do not specify either, then STRAIGHT is used.
+ "lineCategory": "A String", # The category of the line to be created.
+ #
+ # <b>Deprecated</b>: use `category` instead.
+ #
+ # The exact line type created is
+ # determined based on the category and how it's routed to connect to other
+ # page elements.
+ #
+ # If you specify both a `category` and a `line_category`, the `category`
+ # takes precedence.
"elementProperties": { # Common properties for a page element. # The element properties for the line.
#
# Note: When you initially create a
@@ -485,16 +559,10 @@
#
# NOTE: Replacing shapes with a chart requires at least one of the
# spreadsheets.readonly, spreadsheets, drive.readonly, or drive OAuth scopes.
- "chartId": 42, # The ID of the specific chart in the Google Sheets spreadsheet.
"spreadsheetId": "A String", # The ID of the Google Sheets spreadsheet that contains the chart.
- "containsText": { # A criteria that matches a specific string of text in a shape or table. # The criteria that the shapes must match in order to be replaced. The
- # request will replace all of the shapes that contain the given text.
- "text": "A String", # The text to search for in the shape or table.
- "matchCase": True or False, # Indicates whether the search should respect case:
- #
- # - `True`: the search is case sensitive.
- # - `False`: the search is case insensitive.
- },
+ "chartId": 42, # The ID of the specific chart in the Google Sheets spreadsheet.
+ "linkingMode": "A String", # The mode with which the chart is linked to the source spreadsheet. When
+ # not specified, the chart will be an image that is not linked.
"pageObjectIds": [ # If non-empty, limits the matches to page elements only on the given pages.
#
# Returns a 400 bad request error if given the page object ID of a
@@ -503,16 +571,38 @@
# page with that object ID doesn't exist in the presentation.
"A String",
],
- "linkingMode": "A String", # The mode with which the chart is linked to the source spreadsheet. When
- # not specified, the chart will be an image that is not linked.
+ "containsText": { # A criteria that matches a specific string of text in a shape or table. # The criteria that the shapes must match in order to be replaced. The
+ # request will replace all of the shapes that contain the given text.
+ "text": "A String", # The text to search for in the shape or table.
+ "matchCase": True or False, # Indicates whether the search should respect case:
+ #
+ # - `True`: the search is case sensitive.
+ # - `False`: the search is case insensitive.
+ },
+ },
+ "updatePageElementsZOrder": { # Updates the Z-order of page elements. Z-order is an ordering of the elements # Updates the Z-order of page elements.
+ # on the page from back to front. The page element in the front may cover the
+ # elements that are behind it.
+ "pageElementObjectIds": [ # The object IDs of the page elements to update.
+ #
+ # All the page elements must be on the same page and must not be grouped.
+ "A String",
+ ],
+ "operation": "A String", # The Z-order operation to apply on the page elements.
+ #
+ # When applying the operation on multiple page elements, the relative
+ # Z-orders within these page elements before the operation is maintained.
},
"createImage": { # Creates an image. # Creates an image.
"url": "A String", # The image URL.
#
# The image is fetched once at insertion time and a copy is stored for
# display inside the presentation. Images must be less than 50MB in size,
- # cannot exceed 25 megapixels, and must be in either in PNG, JPEG, or GIF
+ # 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. The URL itself is saved
+ # with the image, and exposed via the Image.source_url field.
"elementProperties": { # Common properties for a page element. # The element properties for the image.
#
# When the aspect ratio of the provided size does not match the image aspect
@@ -520,6 +610,14 @@
# to maintain aspect ratio. The provided transform is applied after this
# operation.
#
+ # The PageElementProperties.size property is
+ # optional. If you don't specify the size, the default size of the image is
+ # used.
+ #
+ # The PageElementProperties.transform property is
+ # optional. If you don't specify a transform, the image will be placed at the
+ # top left corner of the page.
+ #
# Note: When you initially create a
# PageElement, the API may modify
# the values of both `size` and `transform`, but the
@@ -570,6 +668,19 @@
},
"updateVideoProperties": { # Update the properties of a Video. # Updates the properties of a Video.
"videoProperties": { # The properties of the Video. # The video properties to update.
+ "start": 42, # The time at which to start playback, measured in seconds from the beginning
+ # of the video.
+ # If set, the start time should be before the end time.
+ # If you set this to a value that exceeds the video's length in seconds, the
+ # video will be played from the last second.
+ # If not set, the video will be played from the beginning.
+ "autoPlay": True or False, # Whether to enable video autoplay when the page is displayed in present
+ # mode. Defaults to false.
+ "end": 42, # The time at which to end playback, measured in seconds from the beginning
+ # of the video.
+ # If set, the end time should be after the start time.
+ # If not set or if you set this to a value that exceeds the video's length,
+ # the video will be played until its end.
"outline": { # The outline of a PageElement. # The outline of the video. The default outline matches the defaults for new
# videos created in the Slides editor.
#
@@ -602,9 +713,9 @@
},
"propertyState": "A String", # The outline property state.
#
- # Updating the the outline on a page element will implicitly update this
- # field to`RENDERED`, unless another value is specified in the same request.
- # To have no outline on a page element, set this field to `NOT_RENDERED`. In
+ # 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.
"dashStyle": "A String", # The dash style of the outline.
@@ -613,6 +724,7 @@
"unit": "A String", # The units for magnitude.
},
},
+ "mute": True or False, # Whether to mute the audio during video playback. Defaults to false.
},
"objectId": "A String", # The object ID of the video the updates are applied to.
"fields": "A String", # The fields that should be updated.
@@ -627,18 +739,24 @@
# To reset a property to its default value, include its field name in the
# field mask but leave the field itself unset.
},
+ "updateLineCategory": { # Updates the category of a line. # Updates the category of a line.
+ "lineCategory": "A String", # The line category to update to.
+ #
+ # The exact line type is determined based
+ # on the category to update to and how it's routed to connect to other page
+ # elements.
+ "objectId": "A String", # The object ID of the line the update is applied to.
+ #
+ # Only a line with a category
+ # indicating it is a "connector" can be updated.
+ #
+ # The line may be rerouted after updating its category.
+ },
"deleteParagraphBullets": { # Deletes bullets from all of the paragraphs that overlap with the given text # Deletes bullets from paragraphs.
# index range.
#
# The nesting level of each paragraph will be visually preserved by adding
# indent to the start of the corresponding paragraph.
- "cellLocation": { # A location of a single table cell within a table. # The optional table cell location if the text to be modified is in a table
- # cell. If present, the object_id must refer to a table.
- "rowIndex": 42, # The 0-based row index.
- "columnIndex": 42, # The 0-based column index.
- },
- "objectId": "A String", # The object ID of the shape or table containing the text to delete bullets
- # from.
"textRange": { # Specifies a contiguous range of an indexed collection, such as characters in # The range of text to delete bullets from, based on TextElement indexes.
# text.
"endIndex": 42, # The optional zero-based index of the end of the collection.
@@ -647,6 +765,13 @@
# Required for `FIXED_RANGE` and `FROM_START_INDEX` ranges.
"type": "A String", # The type of range.
},
+ "objectId": "A String", # The object ID of the shape or table containing the text to delete bullets
+ # from.
+ "cellLocation": { # A location of a single table cell within a table. # The optional table cell location if the text to be modified is in a table
+ # cell. If present, the object_id must refer to a table.
+ "rowIndex": 42, # The 0-based row index.
+ "columnIndex": 42, # The 0-based column index.
+ },
},
"updateLineProperties": { # Updates the properties of a Line. # Updates the properties of a Line.
"fields": "A String", # The fields that should be updated.
@@ -703,11 +828,62 @@
# a value of 0.0 corresponds to a completely transparent color.
},
},
+ "startConnection": { # The properties for one end of a Line # The connection at the beginning of the line. If unset, there is no
+ # connection.
+ #
+ # Only lines with a Type indicating it is
+ # a "connector" can have a `start_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.
+ },
+ "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.
+ },
"startArrow": "A String", # The style of the arrow at the beginning of the line.
},
"objectId": "A String", # The object ID of the line the update is applied to.
},
"deleteText": { # Deletes text from a shape or a table cell. # Deletes text from a shape or a table cell.
+ "cellLocation": { # A location of a single table cell within a table. # The optional table cell location if the text is to be deleted from a table
+ # cell. If present, the object_id must refer to a table.
+ "rowIndex": 42, # The 0-based row index.
+ "columnIndex": 42, # The 0-based column index.
+ },
+ "objectId": "A String", # The object ID of the shape or table from which the text will be deleted.
"textRange": { # Specifies a contiguous range of an indexed collection, such as characters in # The range of text to delete, based on TextElement indexes.
#
# There is always an implicit newline character at the end of a shape's or
@@ -729,12 +905,6 @@
# Required for `FIXED_RANGE` and `FROM_START_INDEX` ranges.
"type": "A String", # The type of range.
},
- "objectId": "A String", # The object ID of the shape or table from which the text will be deleted.
- "cellLocation": { # A location of a single table cell within a table. # The optional table cell location if the text is to be deleted from a table
- # cell. If present, the object_id must refer to a table.
- "rowIndex": 42, # The 0-based row index.
- "columnIndex": 42, # The 0-based column index.
- },
},
"updatePageProperties": { # Updates the properties of a Page. # Updates the properties of a Page.
"pageProperties": { # The properties of the Page. # The page properties to update.
@@ -769,7 +939,7 @@
},
"propertyState": "A String", # The background fill property state.
#
- # Updating the the fill on a page will implicitly update this field to
+ # 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.
@@ -786,8 +956,10 @@
#
# The picture is fetched once at insertion time and a copy is stored for
# display inside the presentation. Pictures must be less than 50MB in size,
- # cannot exceed 25 megapixels, and must be in either in PNG, JPEG, or GIF
+ # 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.
"magnitude": 3.14, # The magnitude.
@@ -876,7 +1048,18 @@
},
},
},
- "bold": True or False, # Whether or not the text is rendered as bold.
+ "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
"baselineOffset": "A String", # The text's vertical offset from its normal position.
#
# Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
@@ -920,7 +1103,8 @@
"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),
+ # 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").
@@ -935,6 +1119,11 @@
# Some fonts can affect the weight of the text. If an update request
# specifies values for both `font_family` and `bold`, the explicitly-set
# `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
"italic": True or False, # Whether or not the text is italicized.
"link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
# are not inherited from parent text.
@@ -964,24 +1153,8 @@
"relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
# addressed by its position.
},
- "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
"underline": True or False, # Whether or not the text is underlined.
+ "bold": True or False, # Whether or not the text is rendered as bold.
},
"textRange": { # Specifies a contiguous range of an indexed collection, such as characters in # The range of text to style.
#
@@ -1005,30 +1178,17 @@
},
},
"updateTableCellProperties": { # Update the properties of a TableCell. # Updates the properties of a TableCell.
- "tableRange": { # A table range represents a reference to a subset of a table. # The table range representing the subset of the table to which the updates
- # are applied. If a table range is not specified, the updates will apply to
- # the entire table.
+ "fields": "A String", # The fields that should be updated.
#
- # It's important to note that the cells specified by a table range do not
- # necessarily form a rectangle. For example, let's say we have a 3 x 3 table
- # where all the cells of the last row are merged together. The table looks
- # like this:
+ # At least one field must be specified. The root `tableCellProperties` is
+ # implied and should not be specified. A single `"*"` can be used as
+ # short-hand for listing every field.
#
+ # For example to update the table cell background solid fill color, set
+ # `fields` to `"tableCellBackgroundFill.solidFill.color"`.
#
- # [ ]
- #
- # A table range with location = (0, 0), row span = 3 and column span = 2
- # specifies the following cells:
- #
- # x x
- # [ x ]
- "rowSpan": 42, # The row span of the table range.
- "columnSpan": 42, # The column span of the table range.
- "location": { # A location of a single table cell within a table. # The starting location of the table range.
- "rowIndex": 42, # The 0-based row index.
- "columnIndex": 42, # The 0-based column index.
- },
- },
+ # To reset a property to its default value, include its field name in the
+ # field mask but leave the field itself unset.
"tableCellProperties": { # The properties of the TableCell. # The table cell properties to update.
"tableCellBackgroundFill": { # The table cell background fill. # The background fill of the table cell. The default fill matches the fill
# for newly created table cells in the Slides editor.
@@ -1055,34 +1215,98 @@
},
"propertyState": "A String", # The background fill property state.
#
- # Updating the the fill on a table cell will implicitly update this field
+ # Updating the fill on a table cell will implicitly update this field
# to `RENDERED`, unless another value is specified in the same request. To
# have no fill on a table cell, set this field to `NOT_RENDERED`. In this
# case, any other fill fields set in the same request will be ignored.
},
+ "contentAlignment": "A String", # The alignment of the content in the table cell. The default alignment
+ # matches the alignment for newly created table cells in the Slides editor.
+ },
+ "objectId": "A String", # The object ID of the table.
+ "tableRange": { # A table range represents a reference to a subset of a table. # The table range representing the subset of the table to which the updates
+ # are applied. If a table range is not specified, the updates will apply to
+ # the entire table.
+ #
+ # It's important to note that the cells specified by a table range do not
+ # necessarily form a rectangle. For example, let's say we have a 3 x 3 table
+ # where all the cells of the last row are merged together. The table looks
+ # like this:
+ #
+ #
+ # [ ]
+ #
+ # A table range with location = (0, 0), row span = 3 and column span = 2
+ # specifies the following cells:
+ #
+ # x x
+ # [ x x x ]
+ "rowSpan": 42, # The row span of the table range.
+ "columnSpan": 42, # The column span of the table range.
+ "location": { # A location of a single table cell within a table. # The starting location of the table range.
+ "rowIndex": 42, # The 0-based row index.
+ "columnIndex": 42, # The 0-based column index.
+ },
+ },
+ },
+ "groupObjects": { # Groups objects to create an object group. For example, groups PageElements to create a Group on the same page as all the children. # Groups objects, such as page elements.
+ "groupObjectId": "A String", # A user-supplied object ID for the group to be created.
+ #
+ # If you specify an ID, it must be unique among all pages and page elements
+ # in the presentation. The ID must start with an alphanumeric character or an
+ # underscore (matches regex `[a-zA-Z0-9_]`); remaining characters
+ # may include those as well as a hyphen or colon (matches regex
+ # `[a-zA-Z0-9_-:]`).
+ # The length of the ID must not be less than 5 or greater than 50.
+ #
+ # If you don't specify an ID, a unique one is generated.
+ "childrenObjectIds": [ # The object IDs of the objects to group.
+ #
+ # Only page elements can be grouped. There should be at least two page
+ # elements on the same page that are not already in another group. Some page
+ # elements, such as videos, tables and placeholder shapes cannot be grouped.
+ "A String",
+ ],
+ },
+ "updateTableRowProperties": { # Updates the properties of a Table row. # Updates the properties of a Table row.
+ "rowIndices": [ # The list of zero-based indices specifying which rows to update. If no
+ # indices are provided, all rows in the table will be updated.
+ 42,
+ ],
+ "tableRowProperties": { # Properties of each row in a table. # The table row properties to update.
+ "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).
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
},
"objectId": "A String", # The object ID of the table.
"fields": "A String", # The fields that should be updated.
#
- # At least one field must be specified. The root `tableCellProperties` is
+ # At least one field must be specified. The root `tableRowProperties` is
# implied and should not be specified. A single `"*"` can be used as
# short-hand for listing every field.
#
- # For example to update the table cell background solid fill color, set
- # `fields` to `"tableCellBackgroundFill.solidFill.color"`.
+ # For example to update the minimum row height, set `fields` to
+ # `"min_row_height"`.
#
- # To reset a property to its default value, include its field name in the
- # field mask but leave the field itself unset.
+ # If '"min_row_height"' is included in the field mask but the property is
+ # left unset, the minimum row height will default to 0.
},
"replaceAllShapesWithImage": { # Replaces all shapes that match the given criteria with the provided image. # Replaces all shapes matching some criteria with an image.
- "containsText": { # A criteria that matches a specific string of text in a shape or table. # If set, this request will replace all of the shapes that contain the
- # given text.
- "text": "A String", # The text to search for in the shape or table.
- "matchCase": True or False, # Indicates whether the search should respect case:
- #
- # - `True`: the search is case sensitive.
- # - `False`: the search is case insensitive.
- },
+ #
+ # The images replacing the shapes are rectangular after being inserted into
+ # the presentation and do not take on the forms of the shapes.
+ "imageUrl": "A String", # The image URL.
+ #
+ # The image is fetched once at insertion time and a copy is stored for
+ # display inside the presentation. Images must be less than 50MB in size,
+ # cannot exceed 25 megapixels, and must be in one of PNG, JPEG, or GIF
+ # format.
+ #
+ # The provided URL can be at most 2 kB in length. The URL itself is saved
+ # with the image, and exposed via the Image.source_url field.
"pageObjectIds": [ # If non-empty, limits the matches to page elements only on the given pages.
#
# Returns a 400 bad request error if given the page object ID of a
@@ -1091,13 +1315,30 @@
# page with that object ID doesn't exist in the presentation.
"A String",
],
- "imageUrl": "A String", # The image URL.
+ "imageReplaceMethod": "A String", # The image replace method.
#
- # The image is fetched once at insertion time and a copy is stored for
- # display inside the presentation. Images must be less than 50MB in size,
- # cannot exceed 25 megapixels, and must be in either in PNG, JPEG, or GIF
- # format.
+ # If you specify both a `replace_method` and an `image_replace_method`, the
+ # `image_replace_method` takes precedence.
+ #
+ # If you do not specify a value for `image_replace_method`, but specify a
+ # value for `replace_method`, then the specified `replace_method` value is
+ # used.
+ #
+ # If you do not specify either, then CENTER_INSIDE is used.
+ "containsText": { # A criteria that matches a specific string of text in a shape or table. # If set, this request will replace all of the shapes that contain the
+ # given text.
+ "text": "A String", # The text to search for in the shape or table.
+ "matchCase": True or False, # Indicates whether the search should respect case:
+ #
+ # - `True`: the search is case sensitive.
+ # - `False`: the search is case insensitive.
+ },
"replaceMethod": "A String", # The replace method.
+ #
+ # <b>Deprecated</b>: use `image_replace_method` instead.
+ #
+ # If you specify both a `replace_method` and an `image_replace_method`, the
+ # `image_replace_method` takes precedence.
},
"updateSlidesPosition": { # Updates the position of slides in the presentation. # Updates the position of a set of slides in the presentation.
"slideObjectIds": [ # The IDs of the slides in the presentation that should be moved.
@@ -1166,7 +1407,7 @@
"direction": "A String", # The text direction of this paragraph. If unset, the value defaults to
# LEFT_TO_RIGHT since
# text direction is not inherited.
- "spaceBelow": { # A magnitude in a single direction in the specified units. # The amount of extra space above the paragraph. If unset, the value is
+ "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.
"magnitude": 3.14, # The magnitude.
"unit": "A String", # The units for magnitude.
@@ -1237,12 +1478,84 @@
],
"replaceText": "A String", # The text that will replace the matched text.
},
+ "updateTableBorderProperties": { # Updates the properties of the table borders in a Table. # Updates the properties of the table borders in a Table.
+ "tableBorderProperties": { # The border styling properties of the # The table border properties to update.
+ # TableBorderCell.
+ "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.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel.
+ # That is, the final pixel color is defined by the equation:
+ #
+ # pixel color = alpha * (color) + (1.0 - alpha) * (background color)
+ #
+ # This means that a value of 1.0 corresponds to a solid color, whereas
+ # a value of 0.0 corresponds to a completely transparent color.
+ },
+ },
+ "dashStyle": "A String", # The dash style of the border.
+ "weight": { # A magnitude in a single direction in the specified units. # The thickness of the border.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ },
+ "fields": "A String", # The fields that should be updated.
+ #
+ # At least one field must be specified. The root `tableBorderProperties` is
+ # implied and should not be specified. A single `"*"` can be used as
+ # short-hand for listing every field.
+ #
+ # For example to update the table border solid fill color, set
+ # `fields` to `"tableBorderFill.solidFill.color"`.
+ #
+ # To reset a property to its default value, include its field name in the
+ # field mask but leave the field itself unset.
+ "borderPosition": "A String", # The border position in the table range the updates should apply to. If a
+ # border position is not specified, the updates will apply to all borders in
+ # the table range.
+ "objectId": "A String", # The object ID of the table.
+ "tableRange": { # A table range represents a reference to a subset of a table. # The table range representing the subset of the table to which the updates
+ # are applied. If a table range is not specified, the updates will apply to
+ # the entire table.
+ #
+ # It's important to note that the cells specified by a table range do not
+ # necessarily form a rectangle. For example, let's say we have a 3 x 3 table
+ # where all the cells of the last row are merged together. The table looks
+ # like this:
+ #
+ #
+ # [ ]
+ #
+ # A table range with location = (0, 0), row span = 3 and column span = 2
+ # specifies the following cells:
+ #
+ # x x
+ # [ x x x ]
+ "rowSpan": 42, # The row span of the table range.
+ "columnSpan": 42, # The column span of the table range.
+ "location": { # A location of a single table cell within a table. # The starting location of the table range.
+ "rowIndex": 42, # The 0-based row index.
+ "columnIndex": 42, # The 0-based column index.
+ },
+ },
+ },
"createSheetsChart": { # Creates an embedded Google Sheets chart. # Creates an embedded Google Sheets chart.
#
# NOTE: Chart creation requires at least one of the spreadsheets.readonly,
- # spreadsheets, drive.readonly, or drive OAuth scopes.
- "chartId": 42, # The ID of the specific chart in the Google Sheets spreadsheet.
+ # spreadsheets, drive.readonly, drive.file, or drive OAuth scopes.
"spreadsheetId": "A String", # The ID of the Google Sheets spreadsheet that contains the chart.
+ "chartId": 42, # The ID of the specific chart in the Google Sheets spreadsheet.
"linkingMode": "A String", # The mode with which the chart is linked to the source spreadsheet. When
# not specified, the chart will be an image that is not linked.
"elementProperties": { # Common properties for a page element. # The element properties for the chart.
@@ -1297,6 +1610,37 @@
# The length of the ID should not be less than 5 or greater than 50.
# If empty, a unique identifier will be generated.
},
+ "unmergeTableCells": { # Unmerges cells in a Table. # Unmerges cells in a Table.
+ "tableRange": { # A table range represents a reference to a subset of a table. # The table range specifying which cells of the table to unmerge.
+ #
+ # All merged cells in this range will be unmerged, and cells that are already
+ # unmerged will not be affected. If the range has no merged cells, the
+ # request will do nothing. If there is text in any of the merged cells, the
+ # text will remain in the upper-left ("head") cell of the resulting block of
+ # unmerged cells.
+ #
+ # It's important to note that the cells specified by a table range do not
+ # necessarily form a rectangle. For example, let's say we have a 3 x 3 table
+ # where all the cells of the last row are merged together. The table looks
+ # like this:
+ #
+ #
+ # [ ]
+ #
+ # A table range with location = (0, 0), row span = 3 and column span = 2
+ # specifies the following cells:
+ #
+ # x x
+ # [ x x x ]
+ "rowSpan": 42, # The row span of the table range.
+ "columnSpan": 42, # The column span of the table range.
+ "location": { # A location of a single table cell within a table. # The starting location of the table range.
+ "rowIndex": 42, # The 0-based row index.
+ "columnIndex": 42, # The 0-based column index.
+ },
+ },
+ "objectId": "A String", # The object ID of the table.
+ },
"createSlide": { # Creates a new slide. # Creates a new slide.
"placeholderIdMappings": [ # An optional list of object ID mappings from the placeholder(s) on the layout to the placeholder(s)
# that will be created on the new slide from that specified layout. Can only
@@ -1431,9 +1775,9 @@
},
"propertyState": "A String", # The shadow property state.
#
- # Updating the the shadow on a page element will implicitly update this field
- # to `RENDERED`, unless another value is specified in the same request. To
- # have no shadow on a page element, set this field to `NOT_RENDERED`. In this
+ # 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.
"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.
@@ -1441,10 +1785,11 @@
"unit": "A String", # The units for magnitude.
},
"alpha": 3.14, # The alpha of the shadow's color, from 0.0 to 1.0.
- "type": "A String", # The type of the shadow.
+ "type": "A String", # The type of the shadow. This property is read-only.
"alignment": "A String", # The alignment point of the shadow, that sets the origin for translate,
- # scale and skew of the shadow.
- "rotateWithShape": True or False, # Whether the shadow should rotate with the shape.
+ # scale and skew of the shadow. This property is read-only.
+ "rotateWithShape": True or False, # Whether the shadow should rotate with the shape. This property is
+ # read-only.
},
"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
@@ -1473,7 +1818,7 @@
},
"propertyState": "A String", # The background fill property state.
#
- # Updating the the fill on a shape will implicitly update this field to
+ # Updating the fill on a shape will implicitly update this field to
# `RENDERED`, unless another value is specified in the same request. To
# have no fill on a shape, set this field to `NOT_RENDERED`. In this case,
# any other fill fields set in the same request will be ignored.
@@ -1522,9 +1867,9 @@
},
"propertyState": "A String", # The outline property state.
#
- # Updating the the outline on a page element will implicitly update this
- # field to`RENDERED`, unless another value is specified in the same request.
- # To have no outline on a page element, set this field to `NOT_RENDERED`. In
+ # 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.
"dashStyle": "A String", # The dash style of the outline.
@@ -1533,9 +1878,40 @@
"unit": "A String", # The units for magnitude.
},
},
+ "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.
},
"objectId": "A String", # The object ID of the shape the updates are applied to.
},
+ "updateTableColumnProperties": { # Updates the properties of a Table column. # Updates the properties of a Table
+ # column.
+ "columnIndices": [ # The list of zero-based indices specifying which columns to update. If no
+ # indices are provided, all columns in the table will be updated.
+ 42,
+ ],
+ "fields": "A String", # The fields that should be updated.
+ #
+ # At least one field must be specified. The root `tableColumnProperties` is
+ # implied and should not be specified. A single `"*"` can be used as
+ # short-hand for listing every field.
+ #
+ # For example to update the column width, set `fields` to `"column_width"`.
+ #
+ # If '"column_width"' is included in the field mask but the property is left
+ # unset, the column width will default to 406,400 EMU (32 points).
+ "tableColumnProperties": { # Properties of each column in a table. # The table column properties to update.
+ #
+ # If the value of `table_column_properties#column_width` in the request is
+ # less than 406,400 EMU (32 points), a 400 bad request error is returned.
+ "columnWidth": { # A magnitude in a single direction in the specified units. # Width of a column.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ },
+ "objectId": "A String", # The object ID of the table.
+ },
"createShape": { # Creates a new shape. # Creates a new shape.
"elementProperties": { # Common properties for a page element. # The element properties for the shape.
#
@@ -1587,51 +1963,30 @@
# The length of the ID must not be less than 5 or greater than 50.
# If empty, a unique identifier will be generated.
},
- "insertTableColumns": { # Inserts columns into a table. # Inserts columns into a table.
- #
- # Other columns in the table will be resized to fit the new column.
- "number": 42, # The number of columns to be inserted. Maximum 20 per request.
- "insertRight": True or False, # Whether to insert new columns to the right of the reference cell location.
+ "ungroupObjects": { # Ungroups objects, such as groups. # Ungroups objects, such as groups.
+ "objectIds": [ # The object IDs of the objects to ungroup.
#
- # - `True`: insert to the right.
- # - `False`: insert to the left.
- "cellLocation": { # A location of a single table cell within a table. # The reference table cell location from which columns will be inserted.
- #
- # A new column will be inserted to the left (or right) of the column where
- # the reference cell is. If the reference cell is a merged cell, a new
- # column will be inserted to the left (or right) of the merged cell.
- "rowIndex": 42, # The 0-based row index.
- "columnIndex": 42, # The 0-based column index.
- },
- "tableObjectId": "A String", # The table to insert columns into.
+ # Only groups that are not inside other
+ # groups can be ungrouped. All the groups
+ # should be on the same page. The group itself is deleted. The visual sizes
+ # and positions of all the children are preserved.
+ "A String",
+ ],
},
- "createParagraphBullets": { # Creates bullets for all of the paragraphs that overlap with the given # Creates bullets for paragraphs.
- # text index range.
+ "replaceImage": { # Replaces an existing image with a new image. # Replaces an existing image with a new image.
#
- # The nesting level of each paragraph will be determined by counting leading
- # tabs in front of each paragraph. To avoid excess space between the bullet and
- # the corresponding paragraph, these leading tabs are removed by this request.
- # This may change the indices of parts of the text.
- #
- # If the paragraph immediately before paragraphs being updated is in a list
- # with a matching preset, the paragraphs being updated are added to that
- # preceding list.
- "bulletPreset": "A String", # The kinds of bullet glyphs to be used. Defaults to the
- # `BULLET_DISC_CIRCLE_SQUARE` preset.
- "textRange": { # Specifies a contiguous range of an indexed collection, such as characters in # The range of text to apply the bullet presets to, based on TextElement indexes.
- # text.
- "endIndex": 42, # The optional zero-based index of the end of the collection.
- # Required for `FIXED_RANGE` ranges.
- "startIndex": 42, # The optional zero-based index of the beginning of the collection.
- # Required for `FIXED_RANGE` and `FROM_START_INDEX` ranges.
- "type": "A String", # The type of range.
- },
- "objectId": "A String", # The object ID of the shape or table containing the text to add bullets to.
- "cellLocation": { # A location of a single table cell within a table. # The optional table cell location if the text to be modified is in a table
- # cell. If present, the object_id must refer to a table.
- "rowIndex": 42, # The 0-based row index.
- "columnIndex": 42, # The 0-based column index.
- },
+ # Replacing an image removes some image effects from the existing image.
+ "imageObjectId": "A String", # The ID of the existing image that will be replaced.
+ "url": "A String", # The URL of the new image.
+ #
+ # The image is fetched once at insertion time and a copy is stored for
+ # display inside the presentation. Images must be less than 50MB in size,
+ # cannot exceed 25 megapixels, and must be in one of PNG, JPEG, or GIF
+ # format.
+ #
+ # The provided URL can be at most 2 kB in length. The URL itself is saved
+ # with the image, and exposed via the Image.source_url field.
+ "imageReplaceMethod": "A String", # The replacement method.
},
"createTable": { # Creates a new table. # Creates a new table.
"rows": 42, # Number of rows in the table.
@@ -1703,7 +2058,42 @@
},
"tableObjectId": "A String", # The table to delete columns from.
},
+ "insertTableColumns": { # Inserts columns into a table. # Inserts columns into a table.
+ #
+ # Other columns in the table will be resized to fit the new column.
+ "tableObjectId": "A String", # The table to insert columns into.
+ "insertRight": True or False, # Whether to insert new columns to the right of the reference cell location.
+ #
+ # - `True`: insert to the right.
+ # - `False`: insert to the left.
+ "number": 42, # The number of columns to be inserted. Maximum 20 per request.
+ "cellLocation": { # A location of a single table cell within a table. # The reference table cell location from which columns will be inserted.
+ #
+ # A new column will be inserted to the left (or right) of the column where
+ # the reference cell is. If the reference cell is a merged cell, a new
+ # column will be inserted to the left (or right) of the merged cell.
+ "rowIndex": 42, # The 0-based row index.
+ "columnIndex": 42, # The 0-based column index.
+ },
+ },
+ "updatePageElementAltText": { # Updates the alt text title and/or description of a # Updates the alt text title and/or description of a
+ # page element.
+ # page element.
+ "description": "A String", # The updated alt text description of the page element. If unset the existing
+ # value will be maintained. The description is exposed to screen readers
+ # and other accessibility interfaces. Only use human readable values related
+ # to the content of the page element.
+ "objectId": "A String", # The object ID of the page element the updates are applied to.
+ "title": "A String", # The updated alt text title of the page element. If unset the
+ # existing value will be maintained. The title is exposed to screen readers
+ # and other accessibility interfaces. Only use human readable values related
+ # to the content of the page element.
+ },
"updatePageElementTransform": { # Updates the transform of a page element. # Updates the transform of a page element.
+ #
+ # Updating the transform of a group will change the absolute transform of the
+ # page elements in that group, which can change their visual appearance. See
+ # the documentation for PageElement.transform for more details.
"applyMode": "A String", # The apply mode of the transform update.
"transform": { # AffineTransform uses a 3x3 matrix with an implied last row of [ 0 0 1 ] # The input transform matrix used to update the page element.
# to transform source coordinates (x,y) into destination coordinates (x', y')
@@ -1728,6 +2118,36 @@
},
"objectId": "A String", # The object ID of the page element to update.
},
+ "mergeTableCells": { # Merges cells in a Table. # Merges cells in a Table.
+ "tableRange": { # A table range represents a reference to a subset of a table. # The table range specifying which cells of the table to merge.
+ #
+ # Any text in the cells being merged will be concatenated and stored in the
+ # upper-left ("head") cell of the range. If the range is non-rectangular
+ # (which can occur in some cases where the range covers cells that are
+ # already merged), a 400 bad request error is returned.
+ #
+ # It's important to note that the cells specified by a table range do not
+ # necessarily form a rectangle. For example, let's say we have a 3 x 3 table
+ # where all the cells of the last row are merged together. The table looks
+ # like this:
+ #
+ #
+ # [ ]
+ #
+ # A table range with location = (0, 0), row span = 3 and column span = 2
+ # specifies the following cells:
+ #
+ # x x
+ # [ x x x ]
+ "rowSpan": 42, # The row span of the table range.
+ "columnSpan": 42, # The column span of the table range.
+ "location": { # A location of a single table cell within a table. # The starting location of the table range.
+ "rowIndex": 42, # The 0-based row index.
+ "columnIndex": 42, # The 0-based column index.
+ },
+ },
+ "objectId": "A String", # The object ID of the table.
+ },
},
],
"writeControl": { # Provides control over how write requests are executed. # Provides control over how write requests are executed.
@@ -1748,6 +2168,12 @@
{ # Response message from a batch update.
"presentationId": "A String", # The presentation the updates were applied to.
+ "writeControl": { # Provides control over how write requests are executed. # The updated write control after applying the request.
+ "requiredRevisionId": "A String", # The revision ID of the presentation required for the write request. If
+ # specified and the `required_revision_id` doesn't exactly match the
+ # presentation's current `revision_id`, the request will not be processed and
+ # will return a 400 bad request error.
+ },
"replies": [ # The reply of the updates. This maps 1:1 with the updates, although
# replies to some requests may be empty.
{ # A single response from an update.
@@ -1779,6 +2205,9 @@
"createTable": { # The result of creating a table. # The result of creating a table.
"objectId": "A String", # The object ID of the created table.
},
+ "groupObjects": { # The result of grouping objects. # The result of grouping objects.
+ "objectId": "A String", # The object ID of the created group.
+ },
"createSlide": { # The result of creating a slide. # The result of creating a slide.
"objectId": "A String", # The object ID of the created slide.
},
@@ -1793,8 +2222,10 @@
<div class="method">
<code class="details" id="create">create(body, x__xgafv=None)</code>
- <pre>Creates a new presentation using the title given in the request. Other
-fields in the request are ignored.
+ <pre>Creates a blank presentation using the title given in the request. If a
+`presentationId` is provided, it is used as the ID of the new presentation.
+Otherwise, a new ID is generated. Other fields in the request, including
+any provided content, are ignored.
Returns the created presentation.
Args:
@@ -1803,6 +2234,2433 @@
{ # A Google Slides presentation.
"presentationId": "A String", # The ID of the presentation.
+ "masters": [ # The slide masters in the presentation. A slide master contains all common
+ # page elements and the common properties for a set of layouts. They serve
+ # three purposes:
+ #
+ # - Placeholder shapes on a master contain the default text styles and shape
+ # properties of all placeholder shapes on pages that use that master.
+ # - The master page properties define the common page properties inherited by
+ # its layouts.
+ # - Any other shapes on the master slide will appear on all slides using that
+ # master, regardless of their layout.
+ { # A page in a presentation.
+ "layoutProperties": { # The properties of Page are only # Layout specific properties. Only set if page_type = LAYOUT.
+ # relevant for pages with page_type LAYOUT.
+ "displayName": "A String", # The human-readable name of the layout.
+ "name": "A String", # The name of the layout.
+ "masterObjectId": "A String", # The object ID of the master that this layout is based on.
+ },
+ "pageElements": [ # The page elements rendered on the page.
+ { # A visual element rendered on a page.
+ "wordArt": { # A PageElement kind representing # A word art page element.
+ # word art.
+ "renderedText": "A String", # The text rendered as word art.
+ },
+ "elementGroup": { # A PageElement kind representing a # A collection of page elements joined as a single unit.
+ # joined collection of PageElements.
+ "children": [ # The collection of elements in the group. The minimum size of a group is 2.
+ # Object with schema name: PageElement
+ ],
+ },
+ "objectId": "A String", # The object ID for this page element. Object IDs used by
+ # google.apps.slides.v1.Page and
+ # google.apps.slides.v1.PageElement share the same namespace.
+ "title": "A String", # The title of the page element. Combined with description to display alt
+ # text.
+ "image": { # A PageElement kind representing an # An image page element.
+ # image.
+ "contentUrl": "A String", # An URL to an image with a default lifetime of 30 minutes.
+ # This URL is tagged with the account of the requester. Anyone with the URL
+ # effectively accesses the image as the original requester. Access to the
+ # image may be lost if the presentation's sharing settings change.
+ "imageProperties": { # The properties of the Image. # The properties of the image.
+ "outline": { # The outline of a PageElement. # The outline of the image. If not set, the image has no outline.
+ #
+ # If these fields are unset, they may be inherited from a parent placeholder
+ # if it exists. If there is no parent, the fields will default to the value
+ # used for new page elements created in the Slides editor, which may depend on
+ # the page element kind.
+ "outlineFill": { # The fill of the outline. # The fill of the outline.
+ "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill.
+ # specified color value.
+ #
+ # If any field is unset, its value may be inherited from a parent placeholder
+ # if it exists.
+ "color": { # A themeable solid color value. # The color value of the solid fill.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel.
+ # That is, the final pixel color is defined by the equation:
+ #
+ # pixel color = alpha * (color) + (1.0 - alpha) * (background color)
+ #
+ # This means that a value of 1.0 corresponds to a solid color, whereas
+ # a value of 0.0 corresponds to a completely transparent color.
+ },
+ },
+ "propertyState": "A String", # The outline property state.
+ #
+ # Updating the outline on a page element will implicitly update this field
+ # to `RENDERED`, unless another value is specified in the same request. To
+ # have no outline on a page element, set this field to `NOT_RENDERED`. In
+ # this case, any other outline fields set in the same request will be
+ # ignored.
+ "dashStyle": "A String", # The dash style of the outline.
+ "weight": { # A magnitude in a single direction in the specified units. # The thickness of the outline.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ },
+ "brightness": 3.14, # The brightness effect of the image. The value should be in the interval
+ # [-1.0, 1.0], where 0 means no effect. This property is read-only.
+ "recolor": { # A recolor effect applied on an image. # The recolor effect of the image. If not set, the image is not recolored.
+ # This property is read-only.
+ "recolorStops": [ # The recolor effect is represented by a gradient, which is a list of color
+ # stops.
+ #
+ # The colors in the gradient will replace the corresponding colors at
+ # the same position in the color palette and apply to the image. This
+ # property is read-only.
+ { # A color and position in a gradient band.
+ "color": { # A themeable solid color value. # The color of the gradient stop.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ "alpha": 3.14, # The alpha value of this color in the gradient band. Defaults to 1.0,
+ # fully opaque.
+ "position": 3.14, # The relative position of the color stop in the gradient band measured
+ # in percentage. The value should be in the interval [0.0, 1.0].
+ },
+ ],
+ "name": "A String", # The name of the recolor effect.
+ #
+ # The name is determined from the `recolor_stops` by matching the gradient
+ # against the colors in the page's current color scheme. This property is
+ # read-only.
+ },
+ "link": { # A hypertext link. # The hyperlink destination of the image. If unset, there is no link.
+ "url": "A String", # If set, indicates this is a link to the external web page at this URL.
+ "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
+ # in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
+ "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
+ # addressed by its position.
+ },
+ "transparency": 3.14, # The transparency effect of the image. The value should be in the interval
+ # [0.0, 1.0], where 0 means no effect and 1 means completely transparent.
+ # This property is read-only.
+ "cropProperties": { # The crop properties of an object enclosed in a container. For example, an # The crop properties of the image. If not set, the image is not cropped.
+ # This property is read-only.
+ # Image.
+ #
+ # The crop properties is represented by the offsets of four edges which define
+ # a crop rectangle. The offsets are measured in percentage from the
+ # corresponding edges of the object's original bounding rectangle towards
+ # inside, relative to the object's original dimensions.
+ #
+ # - If the offset is in the interval (0, 1), the corresponding edge of crop
+ # rectangle is positioned inside of the object's original bounding rectangle.
+ # - If the offset is negative or greater than 1, the corresponding edge of crop
+ # rectangle is positioned outside of the object's original bounding rectangle.
+ # - If the left edge of the crop rectangle is on the right side of its right
+ # edge, the object will be flipped horizontally.
+ # - If the top edge of the crop rectangle is below its bottom edge, the object
+ # will be flipped vertically.
+ # - If all offsets and rotation angle is 0, the object is not cropped.
+ #
+ # After cropping, the content in the crop rectangle will be stretched to fit
+ # its container.
+ "leftOffset": 3.14, # The offset specifies the left edge of the crop rectangle that is located to
+ # the right of the original bounding rectangle left edge, relative to the
+ # object's original width.
+ "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.
+ "angle": 3.14, # The rotation angle of the crop window around its center, in radians.
+ # Rotation angle is applied after the offset.
+ "rightOffset": 3.14, # The offset specifies the right edge of the crop rectangle that is located
+ # to the left of the original bounding rectangle right edge, relative to the
+ # object's original width.
+ "topOffset": 3.14, # The offset specifies the top edge of the crop rectangle that is located
+ # below the original bounding rectangle top edge, relative to the object's
+ # original height.
+ },
+ "shadow": { # The shadow properties of a page element. # The shadow of the image. If not set, the image has no shadow. This property
+ # is read-only.
+ #
+ # If these fields are unset, they may be inherited from a parent placeholder
+ # if it exists. If there is no parent, the fields will default to the value
+ # used for new page elements created in the Slides editor, which may depend on
+ # the page element kind.
+ "color": { # A themeable solid color value. # The shadow color value.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ "transform": { # AffineTransform uses a 3x3 matrix with an implied last row of [ 0 0 1 ] # Transform that encodes the translate, scale, and skew of the shadow,
+ # relative to the alignment position.
+ # to transform source coordinates (x,y) into destination coordinates (x', y')
+ # according to:
+ #
+ # x' x = shear_y scale_y translate_y
+ # 1 [ 1 ]
+ #
+ # After transformation,
+ #
+ # x' = scale_x * x + shear_x * y + translate_x;
+ # y' = scale_y * y + shear_y * x + translate_y;
+ #
+ # This message is therefore composed of these six matrix elements.
+ "translateX": 3.14, # The X coordinate translation element.
+ "translateY": 3.14, # The Y coordinate translation element.
+ "scaleX": 3.14, # The X coordinate scaling element.
+ "scaleY": 3.14, # The Y coordinate scaling element.
+ "shearY": 3.14, # The Y coordinate shearing element.
+ "shearX": 3.14, # The X coordinate shearing element.
+ "unit": "A String", # The units for translate elements.
+ },
+ "propertyState": "A String", # The shadow property state.
+ #
+ # Updating the shadow on a page element will implicitly update this field to
+ # `RENDERED`, unless another value is specified in the same request. To have
+ # no shadow on a page element, set this field to `NOT_RENDERED`. In this
+ # case, any other shadow fields set in the same request will be ignored.
+ "blurRadius": { # A magnitude in a single direction in the specified units. # The radius of the shadow blur. The larger the radius, the more diffuse the
+ # shadow becomes.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "alpha": 3.14, # The alpha of the shadow's color, from 0.0 to 1.0.
+ "type": "A String", # The type of the shadow. This property is read-only.
+ "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.
+ "rotateWithShape": True or False, # Whether the shadow should rotate with the shape. 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.
+ },
+ "sourceUrl": "A String", # The source URL is the URL used to insert the image. The source URL can be
+ # empty.
+ },
+ "transform": { # AffineTransform uses a 3x3 matrix with an implied last row of [ 0 0 1 ] # The transform of the page element.
+ #
+ # The visual appearance of the page element is determined by its absolute
+ # transform. To compute the absolute transform, preconcatenate a page
+ # element's transform with the transforms of all of its parent groups. If the
+ # page element is not in a group, its absolute transform is the same as the
+ # value in this field.
+ #
+ # The initial transform for the newly created Group is always the identity transform.
+ # to transform source coordinates (x,y) into destination coordinates (x', y')
+ # according to:
+ #
+ # x' x = shear_y scale_y translate_y
+ # 1 [ 1 ]
+ #
+ # After transformation,
+ #
+ # x' = scale_x * x + shear_x * y + translate_x;
+ # y' = scale_y * y + shear_y * x + translate_y;
+ #
+ # This message is therefore composed of these six matrix elements.
+ "translateX": 3.14, # The X coordinate translation element.
+ "translateY": 3.14, # The Y coordinate translation element.
+ "scaleX": 3.14, # The X coordinate scaling element.
+ "scaleY": 3.14, # The Y coordinate scaling element.
+ "shearY": 3.14, # The Y coordinate shearing element.
+ "shearX": 3.14, # The X coordinate shearing element.
+ "unit": "A String", # The units for translate elements.
+ },
+ "shape": { # A PageElement kind representing a # A generic shape.
+ # generic shape that does not have a more specific classification.
+ "text": { # The general text content. The text must reside in a compatible shape (e.g. # The text content of the shape.
+ # text box or rectangle) or a table cell in a page.
+ "textElements": [ # The text contents broken down into its component parts, including styling
+ # information. This property is read-only.
+ { # A TextElement describes the content of a range of indices in the text content
+ # of a Shape or TableCell.
+ "autoText": { # A TextElement kind that represents auto text. # A TextElement representing a spot in the text that is dynamically
+ # replaced with content that can change over time.
+ "content": "A String", # The rendered content of this auto text, if available.
+ "style": { # Represents the styling that can be applied to a TextRun. # The styling applied to this auto text.
+ #
+ # If this text is contained in a shape with a parent placeholder, then these text styles may be
+ # inherited from the parent. Which text styles are inherited depend on the
+ # nesting level of lists:
+ #
+ # * A text run in a paragraph that is not in a list will inherit its text style
+ # from the the newline character in the paragraph at the 0 nesting level of
+ # the list inside the parent placeholder.
+ # * A text run in a paragraph that is in a list will inherit its text style
+ # from the newline character in the paragraph at its corresponding nesting
+ # level of the list inside the parent placeholder.
+ #
+ # Inherited text styles are represented as unset fields in this message. If
+ # text is contained in a shape without a parent placeholder, unsetting these
+ # fields will revert the style to a value matching the defaults in the Slides
+ # editor.
+ "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ "baselineOffset": "A String", # The text's vertical offset from its normal position.
+ #
+ # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
+ # rendered in a smaller font size, computed based on the `font_size` field.
+ # The `font_size` itself is not affected by changes in this field.
+ "strikethrough": True or False, # Whether or not the text is struck through.
+ "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").
+ },
+ "smallCaps": True or False, # Whether or not the text is in small capital letters.
+ "fontFamily": "A String", # The font family of the text.
+ #
+ # The font family can be any font from the Font menu in Slides or from
+ # [Google Fonts] (https://fonts.google.com/). If the font name is
+ # unrecognized, the text is rendered in `Arial`.
+ #
+ # Some fonts can affect the weight of the text. If an update request
+ # specifies values for both `font_family` and `bold`, the explicitly-set
+ # `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "italic": True or False, # Whether or not the text is italicized.
+ "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
+ # are not inherited from parent text.
+ #
+ # Changing the link in an update request causes some other changes to the
+ # text style of the range:
+ #
+ # * When setting a link, the text foreground color will be set to
+ # ThemeColorType.HYPERLINK and the text will
+ # be underlined. If these fields are modified in the same
+ # request, those values will be used instead of the link defaults.
+ # * Setting a link on a text range that overlaps with an existing link will
+ # also update the existing link to point to the new URL.
+ # * Links are not settable on newline characters. As a result, setting a link
+ # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
+ # will separate the newline character(s) into their own text runs. The
+ # link will be applied separately to the runs before and after the newline.
+ # * Removing a link will update the text style of the range to match the
+ # style of the preceding text (or the default text styles if the preceding
+ # text is another link) unless different styles are being set in the same
+ # request.
+ "url": "A String", # If set, indicates this is a link to the external web page at this URL.
+ "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
+ # in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
+ "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
+ # addressed by its position.
+ },
+ "underline": True or False, # Whether or not the text is underlined.
+ "bold": True or False, # Whether or not the text is rendered as bold.
+ },
+ "type": "A String", # The type of this auto text.
+ },
+ "endIndex": 42, # The zero-based end index of this text element, exclusive, in Unicode code
+ # units.
+ "startIndex": 42, # The zero-based start index of this text element, in Unicode code units.
+ "paragraphMarker": { # A TextElement kind that represents the beginning of a new paragraph. # A marker representing the beginning of a new paragraph.
+ #
+ # The `start_index` and `end_index` of this TextElement represent the
+ # range of the paragraph. Other TextElements with an index range contained
+ # inside this paragraph's range are considered to be part of this
+ # paragraph. The range of indices of two separate paragraphs will never
+ # overlap.
+ "style": { # Styles that apply to a whole paragraph. # The paragraph's style
+ #
+ # If this text is contained in a shape with a parent placeholder, then these paragraph styles may be
+ # inherited from the parent. Which paragraph styles are inherited depend on the
+ # nesting level of lists:
+ #
+ # * A paragraph not in a list will inherit its paragraph style from the
+ # paragraph at the 0 nesting level of the list inside the parent placeholder.
+ # * A paragraph in a list will inherit its paragraph style from the paragraph
+ # at its corresponding nesting level of the list inside the parent
+ # placeholder.
+ #
+ # Inherited paragraph styles are represented as unset fields in this message.
+ "spacingMode": "A String", # The spacing mode for the paragraph.
+ "direction": "A String", # The text direction of this paragraph. If unset, the value defaults to
+ # LEFT_TO_RIGHT since
+ # text direction is not inherited.
+ "spaceBelow": { # A magnitude in a single direction in the specified units. # The amount of extra space below the paragraph. If unset, the value is
+ # inherited from the parent.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "lineSpacing": 3.14, # The amount of space between lines, as a percentage of normal, where normal
+ # is represented as 100.0. If unset, the value is inherited from the parent.
+ "indentStart": { # A magnitude in a single direction in the specified units. # The amount indentation for the paragraph on the side that corresponds to
+ # the start of the text, based on the current text direction. If unset, the
+ # value is inherited from the parent.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "spaceAbove": { # A magnitude in a single direction in the specified units. # The amount of extra space above the paragraph. If unset, the value is
+ # inherited from the parent.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "indentEnd": { # A magnitude in a single direction in the specified units. # The amount indentation for the paragraph on the side that corresponds to
+ # the end of the text, based on the current text direction. If unset, the
+ # value is inherited from the parent.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "indentFirstLine": { # A magnitude in a single direction in the specified units. # The amount of indentation for the start of the first line of the paragraph.
+ # If unset, the value is inherited from the parent.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "alignment": "A String", # The text alignment for this paragraph.
+ },
+ "bullet": { # Describes the bullet of a paragraph. # The bullet for this paragraph. If not present, the paragraph does not
+ # belong to a list.
+ "nestingLevel": 42, # The nesting level of this paragraph in the list.
+ "listId": "A String", # The ID of the list this paragraph belongs to.
+ "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The paragraph specific text style applied to this bullet.
+ #
+ # If this text is contained in a shape with a parent placeholder, then these text styles may be
+ # inherited from the parent. Which text styles are inherited depend on the
+ # nesting level of lists:
+ #
+ # * A text run in a paragraph that is not in a list will inherit its text style
+ # from the the newline character in the paragraph at the 0 nesting level of
+ # the list inside the parent placeholder.
+ # * A text run in a paragraph that is in a list will inherit its text style
+ # from the newline character in the paragraph at its corresponding nesting
+ # level of the list inside the parent placeholder.
+ #
+ # Inherited text styles are represented as unset fields in this message. If
+ # text is contained in a shape without a parent placeholder, unsetting these
+ # fields will revert the style to a value matching the defaults in the Slides
+ # editor.
+ "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ "baselineOffset": "A String", # The text's vertical offset from its normal position.
+ #
+ # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
+ # rendered in a smaller font size, computed based on the `font_size` field.
+ # The `font_size` itself is not affected by changes in this field.
+ "strikethrough": True or False, # Whether or not the text is struck through.
+ "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").
+ },
+ "smallCaps": True or False, # Whether or not the text is in small capital letters.
+ "fontFamily": "A String", # The font family of the text.
+ #
+ # The font family can be any font from the Font menu in Slides or from
+ # [Google Fonts] (https://fonts.google.com/). If the font name is
+ # unrecognized, the text is rendered in `Arial`.
+ #
+ # Some fonts can affect the weight of the text. If an update request
+ # specifies values for both `font_family` and `bold`, the explicitly-set
+ # `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "italic": True or False, # Whether or not the text is italicized.
+ "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
+ # are not inherited from parent text.
+ #
+ # Changing the link in an update request causes some other changes to the
+ # text style of the range:
+ #
+ # * When setting a link, the text foreground color will be set to
+ # ThemeColorType.HYPERLINK and the text will
+ # be underlined. If these fields are modified in the same
+ # request, those values will be used instead of the link defaults.
+ # * Setting a link on a text range that overlaps with an existing link will
+ # also update the existing link to point to the new URL.
+ # * Links are not settable on newline characters. As a result, setting a link
+ # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
+ # will separate the newline character(s) into their own text runs. The
+ # link will be applied separately to the runs before and after the newline.
+ # * Removing a link will update the text style of the range to match the
+ # style of the preceding text (or the default text styles if the preceding
+ # text is another link) unless different styles are being set in the same
+ # request.
+ "url": "A String", # If set, indicates this is a link to the external web page at this URL.
+ "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
+ # in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
+ "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
+ # addressed by its position.
+ },
+ "underline": True or False, # Whether or not the text is underlined.
+ "bold": True or False, # Whether or not the text is rendered as bold.
+ },
+ "glyph": "A String", # The rendered bullet glyph for this paragraph.
+ },
+ },
+ "textRun": { # A TextElement kind that represents a run of text that all has the same # A TextElement representing a run of text where all of the characters
+ # in the run have the same TextStyle.
+ #
+ # The `start_index` and `end_index` of TextRuns will always be fully
+ # contained in the index range of a single `paragraph_marker` TextElement.
+ # In other words, a TextRun will never span multiple paragraphs.
+ # styling.
+ "content": "A String", # The text of this run.
+ "style": { # Represents the styling that can be applied to a TextRun. # The styling applied to this run.
+ #
+ # If this text is contained in a shape with a parent placeholder, then these text styles may be
+ # inherited from the parent. Which text styles are inherited depend on the
+ # nesting level of lists:
+ #
+ # * A text run in a paragraph that is not in a list will inherit its text style
+ # from the the newline character in the paragraph at the 0 nesting level of
+ # the list inside the parent placeholder.
+ # * A text run in a paragraph that is in a list will inherit its text style
+ # from the newline character in the paragraph at its corresponding nesting
+ # level of the list inside the parent placeholder.
+ #
+ # Inherited text styles are represented as unset fields in this message. If
+ # text is contained in a shape without a parent placeholder, unsetting these
+ # fields will revert the style to a value matching the defaults in the Slides
+ # editor.
+ "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ "baselineOffset": "A String", # The text's vertical offset from its normal position.
+ #
+ # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
+ # rendered in a smaller font size, computed based on the `font_size` field.
+ # The `font_size` itself is not affected by changes in this field.
+ "strikethrough": True or False, # Whether or not the text is struck through.
+ "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").
+ },
+ "smallCaps": True or False, # Whether or not the text is in small capital letters.
+ "fontFamily": "A String", # The font family of the text.
+ #
+ # The font family can be any font from the Font menu in Slides or from
+ # [Google Fonts] (https://fonts.google.com/). If the font name is
+ # unrecognized, the text is rendered in `Arial`.
+ #
+ # Some fonts can affect the weight of the text. If an update request
+ # specifies values for both `font_family` and `bold`, the explicitly-set
+ # `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "italic": True or False, # Whether or not the text is italicized.
+ "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
+ # are not inherited from parent text.
+ #
+ # Changing the link in an update request causes some other changes to the
+ # text style of the range:
+ #
+ # * When setting a link, the text foreground color will be set to
+ # ThemeColorType.HYPERLINK and the text will
+ # be underlined. If these fields are modified in the same
+ # request, those values will be used instead of the link defaults.
+ # * Setting a link on a text range that overlaps with an existing link will
+ # also update the existing link to point to the new URL.
+ # * Links are not settable on newline characters. As a result, setting a link
+ # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
+ # will separate the newline character(s) into their own text runs. The
+ # link will be applied separately to the runs before and after the newline.
+ # * Removing a link will update the text style of the range to match the
+ # style of the preceding text (or the default text styles if the preceding
+ # text is another link) unless different styles are being set in the same
+ # request.
+ "url": "A String", # If set, indicates this is a link to the external web page at this URL.
+ "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
+ # in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
+ "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
+ # addressed by its position.
+ },
+ "underline": True or False, # Whether or not the text is underlined.
+ "bold": True or False, # Whether or not the text is rendered as bold.
+ },
+ },
+ },
+ ],
+ "lists": { # The bulleted lists contained in this text, keyed by list ID.
+ "a_key": { # A List describes the look and feel of bullets belonging to paragraphs
+ # associated with a list. A paragraph that is part of a list has an implicit
+ # reference to that list's ID.
+ "nestingLevel": { # A map of nesting levels to the properties of bullets at the associated
+ # level. A list has at most nine levels of nesting, so the possible values
+ # for the keys of this map are 0 through 8, inclusive.
+ "a_key": { # Contains properties describing the look and feel of a list bullet at a given
+ # level of nesting.
+ "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The style of a bullet at this level of nesting.
+ #
+ # If this text is contained in a shape with a parent placeholder, then these text styles may be
+ # inherited from the parent. Which text styles are inherited depend on the
+ # nesting level of lists:
+ #
+ # * A text run in a paragraph that is not in a list will inherit its text style
+ # from the the newline character in the paragraph at the 0 nesting level of
+ # the list inside the parent placeholder.
+ # * A text run in a paragraph that is in a list will inherit its text style
+ # from the newline character in the paragraph at its corresponding nesting
+ # level of the list inside the parent placeholder.
+ #
+ # Inherited text styles are represented as unset fields in this message. If
+ # text is contained in a shape without a parent placeholder, unsetting these
+ # fields will revert the style to a value matching the defaults in the Slides
+ # editor.
+ "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ "baselineOffset": "A String", # The text's vertical offset from its normal position.
+ #
+ # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
+ # rendered in a smaller font size, computed based on the `font_size` field.
+ # The `font_size` itself is not affected by changes in this field.
+ "strikethrough": True or False, # Whether or not the text is struck through.
+ "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").
+ },
+ "smallCaps": True or False, # Whether or not the text is in small capital letters.
+ "fontFamily": "A String", # The font family of the text.
+ #
+ # The font family can be any font from the Font menu in Slides or from
+ # [Google Fonts] (https://fonts.google.com/). If the font name is
+ # unrecognized, the text is rendered in `Arial`.
+ #
+ # Some fonts can affect the weight of the text. If an update request
+ # specifies values for both `font_family` and `bold`, the explicitly-set
+ # `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "italic": True or False, # Whether or not the text is italicized.
+ "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
+ # are not inherited from parent text.
+ #
+ # Changing the link in an update request causes some other changes to the
+ # text style of the range:
+ #
+ # * When setting a link, the text foreground color will be set to
+ # ThemeColorType.HYPERLINK and the text will
+ # be underlined. If these fields are modified in the same
+ # request, those values will be used instead of the link defaults.
+ # * Setting a link on a text range that overlaps with an existing link will
+ # also update the existing link to point to the new URL.
+ # * Links are not settable on newline characters. As a result, setting a link
+ # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
+ # will separate the newline character(s) into their own text runs. The
+ # link will be applied separately to the runs before and after the newline.
+ # * Removing a link will update the text style of the range to match the
+ # style of the preceding text (or the default text styles if the preceding
+ # text is another link) unless different styles are being set in the same
+ # request.
+ "url": "A String", # If set, indicates this is a link to the external web page at this URL.
+ "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
+ # in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
+ "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
+ # addressed by its position.
+ },
+ "underline": True or False, # Whether or not the text is underlined.
+ "bold": True or False, # Whether or not the text is rendered as bold.
+ },
+ },
+ },
+ "listId": "A String", # The ID of the list.
+ },
+ },
+ },
+ "shapeProperties": { # The properties of a Shape. # The properties of the shape.
+ #
+ # If the shape is a placeholder shape as determined by the
+ # placeholder field, then these
+ # properties may be inherited from a parent placeholder shape.
+ # Determining the rendered value of the property depends on the corresponding
+ # property_state field value.
+ "shadow": { # The shadow properties of a page element. # The shadow properties of the shape. If unset, the shadow is inherited from
+ # a parent placeholder if it exists. If the shape has no parent, then the
+ # default shadow matches the defaults for new shapes created in the Slides
+ # editor. This property is read-only.
+ #
+ # If these fields are unset, they may be inherited from a parent placeholder
+ # if it exists. If there is no parent, the fields will default to the value
+ # used for new page elements created in the Slides editor, which may depend on
+ # the page element kind.
+ "color": { # A themeable solid color value. # The shadow color value.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ "transform": { # AffineTransform uses a 3x3 matrix with an implied last row of [ 0 0 1 ] # Transform that encodes the translate, scale, and skew of the shadow,
+ # relative to the alignment position.
+ # to transform source coordinates (x,y) into destination coordinates (x', y')
+ # according to:
+ #
+ # x' x = shear_y scale_y translate_y
+ # 1 [ 1 ]
+ #
+ # After transformation,
+ #
+ # x' = scale_x * x + shear_x * y + translate_x;
+ # y' = scale_y * y + shear_y * x + translate_y;
+ #
+ # This message is therefore composed of these six matrix elements.
+ "translateX": 3.14, # The X coordinate translation element.
+ "translateY": 3.14, # The Y coordinate translation element.
+ "scaleX": 3.14, # The X coordinate scaling element.
+ "scaleY": 3.14, # The Y coordinate scaling element.
+ "shearY": 3.14, # The Y coordinate shearing element.
+ "shearX": 3.14, # The X coordinate shearing element.
+ "unit": "A String", # The units for translate elements.
+ },
+ "propertyState": "A String", # The shadow property state.
+ #
+ # Updating the shadow on a page element will implicitly update this field to
+ # `RENDERED`, unless another value is specified in the same request. To have
+ # no shadow on a page element, set this field to `NOT_RENDERED`. In this
+ # case, any other shadow fields set in the same request will be ignored.
+ "blurRadius": { # A magnitude in a single direction in the specified units. # The radius of the shadow blur. The larger the radius, the more diffuse the
+ # shadow becomes.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "alpha": 3.14, # The alpha of the shadow's color, from 0.0 to 1.0.
+ "type": "A String", # The type of the shadow. This property is read-only.
+ "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.
+ "rotateWithShape": True or False, # Whether the shadow should rotate with the shape. This property is
+ # read-only.
+ },
+ "shapeBackgroundFill": { # The shape background fill. # The background fill of the shape. If unset, the background fill is
+ # inherited from a parent placeholder if it exists. If the shape has no
+ # parent, then the default background fill depends on the shape type,
+ # matching the defaults for new shapes created in the Slides editor.
+ "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill.
+ # specified color value.
+ #
+ # If any field is unset, its value may be inherited from a parent placeholder
+ # if it exists.
+ "color": { # A themeable solid color value. # The color value of the solid fill.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel.
+ # That is, the final pixel color is defined by the equation:
+ #
+ # pixel color = alpha * (color) + (1.0 - alpha) * (background color)
+ #
+ # This means that a value of 1.0 corresponds to a solid color, whereas
+ # a value of 0.0 corresponds to a completely transparent color.
+ },
+ "propertyState": "A String", # The background fill property state.
+ #
+ # Updating the fill on a shape will implicitly update this field to
+ # `RENDERED`, unless another value is specified in the same request. To
+ # have no fill on a shape, set this field to `NOT_RENDERED`. In this case,
+ # any other fill fields set in the same request will be ignored.
+ },
+ "link": { # A hypertext link. # The hyperlink destination of the shape. If unset, there is no link. Links
+ # are not inherited from parent placeholders.
+ "url": "A String", # If set, indicates this is a link to the external web page at this URL.
+ "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
+ # in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
+ "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
+ # addressed by its position.
+ },
+ "outline": { # The outline of a PageElement. # The outline of the shape. If unset, the outline is inherited from a
+ # parent placeholder if it exists. If the shape has no parent, then the
+ # default outline depends on the shape type, matching the defaults for
+ # new shapes created in the Slides editor.
+ #
+ # If these fields are unset, they may be inherited from a parent placeholder
+ # if it exists. If there is no parent, the fields will default to the value
+ # used for new page elements created in the Slides editor, which may depend on
+ # the page element kind.
+ "outlineFill": { # The fill of the outline. # The fill of the outline.
+ "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill.
+ # specified color value.
+ #
+ # If any field is unset, its value may be inherited from a parent placeholder
+ # if it exists.
+ "color": { # A themeable solid color value. # The color value of the solid fill.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel.
+ # That is, the final pixel color is defined by the equation:
+ #
+ # pixel color = alpha * (color) + (1.0 - alpha) * (background color)
+ #
+ # This means that a value of 1.0 corresponds to a solid color, whereas
+ # a value of 0.0 corresponds to a completely transparent color.
+ },
+ },
+ "propertyState": "A String", # The outline property state.
+ #
+ # Updating the outline on a page element will implicitly update this field
+ # to `RENDERED`, unless another value is specified in the same request. To
+ # have no outline on a page element, set this field to `NOT_RENDERED`. In
+ # this case, any other outline fields set in the same request will be
+ # ignored.
+ "dashStyle": "A String", # The dash style of the outline.
+ "weight": { # A magnitude in a single direction in the specified units. # The thickness of the outline.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ },
+ "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.
+ },
+ "placeholder": { # The placeholder information that uniquely identifies a placeholder shape. # Placeholders are shapes that are inherit from corresponding placeholders on
+ # layouts and masters.
+ #
+ # If set, the shape is a placeholder shape and any inherited properties
+ # can be resolved by looking at the parent placeholder identified by the
+ # Placeholder.parent_object_id field.
+ "parentObjectId": "A String", # The object ID of this shape's parent placeholder.
+ # If unset, the parent placeholder shape does not exist, so the shape does
+ # not inherit properties from any other shape.
+ "index": 42, # The index of the placeholder. If the same placeholder types are present in
+ # the same page, they would have different index values.
+ "type": "A String", # The type of the placeholder.
+ },
+ "shapeType": "A String", # The type of the shape.
+ },
+ "sheetsChart": { # A PageElement kind representing # A linked chart embedded from Google Sheets. Unlinked charts are
+ # represented as images.
+ # a linked chart embedded from Google Sheets.
+ "contentUrl": "A String", # The URL of an image of the embedded chart, with a default lifetime of 30
+ # minutes. This URL is tagged with the account of the requester. Anyone with
+ # the URL effectively accesses the image as the original requester. Access to
+ # the image may be lost if the presentation's sharing settings change.
+ "spreadsheetId": "A String", # The ID of the Google Sheets spreadsheet that contains the source chart.
+ "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.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel.
+ # That is, the final pixel color is defined by the equation:
+ #
+ # pixel color = alpha * (color) + (1.0 - alpha) * (background color)
+ #
+ # This means that a value of 1.0 corresponds to a solid color, whereas
+ # a value of 0.0 corresponds to a completely transparent color.
+ },
+ },
+ "propertyState": "A String", # The outline property state.
+ #
+ # Updating the outline on a page element will implicitly update this field
+ # to `RENDERED`, unless another value is specified in the same request. To
+ # have no outline on a page element, set this field to `NOT_RENDERED`. In
+ # this case, any other outline fields set in the same request will be
+ # ignored.
+ "dashStyle": "A String", # The dash style of the outline.
+ "weight": { # A magnitude in a single direction in the specified units. # The thickness of the outline.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ },
+ "brightness": 3.14, # The brightness effect of the image. The value should be in the interval
+ # [-1.0, 1.0], where 0 means no effect. This property is read-only.
+ "recolor": { # A recolor effect applied on an image. # The recolor effect of the image. If not set, the image is not recolored.
+ # This property is read-only.
+ "recolorStops": [ # The recolor effect is represented by a gradient, which is a list of color
+ # stops.
+ #
+ # The colors in the gradient will replace the corresponding colors at
+ # the same position in the color palette and apply to the image. This
+ # property is read-only.
+ { # A color and position in a gradient band.
+ "color": { # A themeable solid color value. # The color of the gradient stop.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ "alpha": 3.14, # The alpha value of this color in the gradient band. Defaults to 1.0,
+ # fully opaque.
+ "position": 3.14, # The relative position of the color stop in the gradient band measured
+ # in percentage. The value should be in the interval [0.0, 1.0].
+ },
+ ],
+ "name": "A String", # The name of the recolor effect.
+ #
+ # The name is determined from the `recolor_stops` by matching the gradient
+ # against the colors in the page's current color scheme. This property is
+ # read-only.
+ },
+ "link": { # A hypertext link. # The hyperlink destination of the image. If unset, there is no link.
+ "url": "A String", # If set, indicates this is a link to the external web page at this URL.
+ "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
+ # in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
+ "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
+ # addressed by its position.
+ },
+ "transparency": 3.14, # The transparency effect of the image. The value should be in the interval
+ # [0.0, 1.0], where 0 means no effect and 1 means completely transparent.
+ # This property is read-only.
+ "cropProperties": { # The crop properties of an object enclosed in a container. For example, an # The crop properties of the image. If not set, the image is not cropped.
+ # This property is read-only.
+ # Image.
+ #
+ # The crop properties is represented by the offsets of four edges which define
+ # a crop rectangle. The offsets are measured in percentage from the
+ # corresponding edges of the object's original bounding rectangle towards
+ # inside, relative to the object's original dimensions.
+ #
+ # - If the offset is in the interval (0, 1), the corresponding edge of crop
+ # rectangle is positioned inside of the object's original bounding rectangle.
+ # - If the offset is negative or greater than 1, the corresponding edge of crop
+ # rectangle is positioned outside of the object's original bounding rectangle.
+ # - If the left edge of the crop rectangle is on the right side of its right
+ # edge, the object will be flipped horizontally.
+ # - If the top edge of the crop rectangle is below its bottom edge, the object
+ # will be flipped vertically.
+ # - If all offsets and rotation angle is 0, the object is not cropped.
+ #
+ # After cropping, the content in the crop rectangle will be stretched to fit
+ # its container.
+ "leftOffset": 3.14, # The offset specifies the left edge of the crop rectangle that is located to
+ # the right of the original bounding rectangle left edge, relative to the
+ # object's original width.
+ "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.
+ "angle": 3.14, # The rotation angle of the crop window around its center, in radians.
+ # Rotation angle is applied after the offset.
+ "rightOffset": 3.14, # The offset specifies the right edge of the crop rectangle that is located
+ # to the left of the original bounding rectangle right edge, relative to the
+ # object's original width.
+ "topOffset": 3.14, # The offset specifies the top edge of the crop rectangle that is located
+ # below the original bounding rectangle top edge, relative to the object's
+ # original height.
+ },
+ "shadow": { # The shadow properties of a page element. # The shadow of the image. If not set, the image has no shadow. This property
+ # is read-only.
+ #
+ # If these fields are unset, they may be inherited from a parent placeholder
+ # if it exists. If there is no parent, the fields will default to the value
+ # used for new page elements created in the Slides editor, which may depend on
+ # the page element kind.
+ "color": { # A themeable solid color value. # The shadow color value.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ "transform": { # AffineTransform uses a 3x3 matrix with an implied last row of [ 0 0 1 ] # Transform that encodes the translate, scale, and skew of the shadow,
+ # relative to the alignment position.
+ # to transform source coordinates (x,y) into destination coordinates (x', y')
+ # according to:
+ #
+ # x' x = shear_y scale_y translate_y
+ # 1 [ 1 ]
+ #
+ # After transformation,
+ #
+ # x' = scale_x * x + shear_x * y + translate_x;
+ # y' = scale_y * y + shear_y * x + translate_y;
+ #
+ # This message is therefore composed of these six matrix elements.
+ "translateX": 3.14, # The X coordinate translation element.
+ "translateY": 3.14, # The Y coordinate translation element.
+ "scaleX": 3.14, # The X coordinate scaling element.
+ "scaleY": 3.14, # The Y coordinate scaling element.
+ "shearY": 3.14, # The Y coordinate shearing element.
+ "shearX": 3.14, # The X coordinate shearing element.
+ "unit": "A String", # The units for translate elements.
+ },
+ "propertyState": "A String", # The shadow property state.
+ #
+ # Updating the shadow on a page element will implicitly update this field to
+ # `RENDERED`, unless another value is specified in the same request. To have
+ # no shadow on a page element, set this field to `NOT_RENDERED`. In this
+ # case, any other shadow fields set in the same request will be ignored.
+ "blurRadius": { # A magnitude in a single direction in the specified units. # The radius of the shadow blur. The larger the radius, the more diffuse the
+ # shadow becomes.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "alpha": 3.14, # The alpha of the shadow's color, from 0.0 to 1.0.
+ "type": "A String", # The type of the shadow. This property is read-only.
+ "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.
+ "rotateWithShape": True or False, # Whether the shadow should rotate with the shape. 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.
+ },
+ },
+ "chartId": 42, # The ID of the specific chart in the Google Sheets spreadsheet that is
+ # embedded.
+ },
+ "video": { # A PageElement kind representing a # A video page element.
+ # video.
+ "url": "A String", # An URL to a video. The URL is valid as long as the source video exists and
+ # sharing settings do not change.
+ "videoProperties": { # The properties of the Video. # The properties of the video.
+ "start": 42, # The time at which to start playback, measured in seconds from the beginning
+ # of the video.
+ # If set, the start time should be before the end time.
+ # If you set this to a value that exceeds the video's length in seconds, the
+ # video will be played from the last second.
+ # If not set, the video will be played from the beginning.
+ "autoPlay": True or False, # Whether to enable video autoplay when the page is displayed in present
+ # mode. Defaults to false.
+ "end": 42, # The time at which to end playback, measured in seconds from the beginning
+ # of the video.
+ # If set, the end time should be after the start time.
+ # If not set or if you set this to a value that exceeds the video's length,
+ # the video will be played until its end.
+ "outline": { # The outline of a PageElement. # The outline of the video. The default outline matches the defaults for new
+ # videos created in the Slides editor.
+ #
+ # If these fields are unset, they may be inherited from a parent placeholder
+ # if it exists. If there is no parent, the fields will default to the value
+ # used for new page elements created in the Slides editor, which may depend on
+ # the page element kind.
+ "outlineFill": { # The fill of the outline. # The fill of the outline.
+ "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill.
+ # specified color value.
+ #
+ # If any field is unset, its value may be inherited from a parent placeholder
+ # if it exists.
+ "color": { # A themeable solid color value. # The color value of the solid fill.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel.
+ # That is, the final pixel color is defined by the equation:
+ #
+ # pixel color = alpha * (color) + (1.0 - alpha) * (background color)
+ #
+ # This means that a value of 1.0 corresponds to a solid color, whereas
+ # a value of 0.0 corresponds to a completely transparent color.
+ },
+ },
+ "propertyState": "A String", # The outline property state.
+ #
+ # Updating the outline on a page element will implicitly update this field
+ # to `RENDERED`, unless another value is specified in the same request. To
+ # have no outline on a page element, set this field to `NOT_RENDERED`. In
+ # this case, any other outline fields set in the same request will be
+ # ignored.
+ "dashStyle": "A String", # The dash style of the outline.
+ "weight": { # A magnitude in a single direction in the specified units. # The thickness of the outline.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ },
+ "mute": True or False, # Whether to mute the audio during video playback. Defaults to false.
+ },
+ "id": "A String", # The video source's unique identifier for this video.
+ "source": "A String", # The video source.
+ },
+ "table": { # A PageElement kind representing a # A table page element.
+ # table.
+ "rows": 42, # Number of rows in the table.
+ "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.
+ "tableBorderProperties": { # The border styling properties of the # The border properties.
+ # TableBorderCell.
+ "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.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel.
+ # That is, the final pixel color is defined by the equation:
+ #
+ # pixel color = alpha * (color) + (1.0 - alpha) * (background color)
+ #
+ # This means that a value of 1.0 corresponds to a solid color, whereas
+ # a value of 0.0 corresponds to a completely transparent color.
+ },
+ },
+ "dashStyle": "A String", # The dash style of the border.
+ "weight": { # A magnitude in a single direction in the specified units. # The thickness of the border.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ },
+ "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.
+ },
+ },
+ ],
+ },
+ ],
+ "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.
+ "tableBorderProperties": { # The border styling properties of the # The border properties.
+ # TableBorderCell.
+ "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.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel.
+ # That is, the final pixel color is defined by the equation:
+ #
+ # pixel color = alpha * (color) + (1.0 - alpha) * (background color)
+ #
+ # This means that a value of 1.0 corresponds to a solid color, whereas
+ # a value of 0.0 corresponds to a completely transparent color.
+ },
+ },
+ "dashStyle": "A String", # The dash style of the border.
+ "weight": { # A magnitude in a single direction in the specified units. # The thickness of the border.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ },
+ "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.
+ },
+ },
+ ],
+ },
+ ],
+ "tableColumns": [ # Properties of each column.
+ { # Properties of each column in a table.
+ "columnWidth": { # A magnitude in a single direction in the specified units. # Width of a column.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ },
+ ],
+ "tableRows": [ # Properties and contents of each row.
+ #
+ # Cells that span multiple rows are contained in only one of these rows and
+ # have a row_span greater
+ # than 1.
+ { # Properties and contents of each row in a table.
+ "tableCells": [ # Properties and contents of each cell.
+ #
+ # Cells that span multiple columns are represented only once with a
+ # column_span greater
+ # than 1. As a result, the length of this collection does not always match
+ # the number of columns of the entire table.
+ { # Properties and contents of each table cell.
+ "text": { # The general text content. The text must reside in a compatible shape (e.g. # The text content of the cell.
+ # text box or rectangle) or a table cell in a page.
+ "textElements": [ # The text contents broken down into its component parts, including styling
+ # information. This property is read-only.
+ { # A TextElement describes the content of a range of indices in the text content
+ # of a Shape or TableCell.
+ "autoText": { # A TextElement kind that represents auto text. # A TextElement representing a spot in the text that is dynamically
+ # replaced with content that can change over time.
+ "content": "A String", # The rendered content of this auto text, if available.
+ "style": { # Represents the styling that can be applied to a TextRun. # The styling applied to this auto text.
+ #
+ # If this text is contained in a shape with a parent placeholder, then these text styles may be
+ # inherited from the parent. Which text styles are inherited depend on the
+ # nesting level of lists:
+ #
+ # * A text run in a paragraph that is not in a list will inherit its text style
+ # from the the newline character in the paragraph at the 0 nesting level of
+ # the list inside the parent placeholder.
+ # * A text run in a paragraph that is in a list will inherit its text style
+ # from the newline character in the paragraph at its corresponding nesting
+ # level of the list inside the parent placeholder.
+ #
+ # Inherited text styles are represented as unset fields in this message. If
+ # text is contained in a shape without a parent placeholder, unsetting these
+ # fields will revert the style to a value matching the defaults in the Slides
+ # editor.
+ "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ "baselineOffset": "A String", # The text's vertical offset from its normal position.
+ #
+ # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
+ # rendered in a smaller font size, computed based on the `font_size` field.
+ # The `font_size` itself is not affected by changes in this field.
+ "strikethrough": True or False, # Whether or not the text is struck through.
+ "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").
+ },
+ "smallCaps": True or False, # Whether or not the text is in small capital letters.
+ "fontFamily": "A String", # The font family of the text.
+ #
+ # The font family can be any font from the Font menu in Slides or from
+ # [Google Fonts] (https://fonts.google.com/). If the font name is
+ # unrecognized, the text is rendered in `Arial`.
+ #
+ # Some fonts can affect the weight of the text. If an update request
+ # specifies values for both `font_family` and `bold`, the explicitly-set
+ # `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "italic": True or False, # Whether or not the text is italicized.
+ "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
+ # are not inherited from parent text.
+ #
+ # Changing the link in an update request causes some other changes to the
+ # text style of the range:
+ #
+ # * When setting a link, the text foreground color will be set to
+ # ThemeColorType.HYPERLINK and the text will
+ # be underlined. If these fields are modified in the same
+ # request, those values will be used instead of the link defaults.
+ # * Setting a link on a text range that overlaps with an existing link will
+ # also update the existing link to point to the new URL.
+ # * Links are not settable on newline characters. As a result, setting a link
+ # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
+ # will separate the newline character(s) into their own text runs. The
+ # link will be applied separately to the runs before and after the newline.
+ # * Removing a link will update the text style of the range to match the
+ # style of the preceding text (or the default text styles if the preceding
+ # text is another link) unless different styles are being set in the same
+ # request.
+ "url": "A String", # If set, indicates this is a link to the external web page at this URL.
+ "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
+ # in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
+ "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
+ # addressed by its position.
+ },
+ "underline": True or False, # Whether or not the text is underlined.
+ "bold": True or False, # Whether or not the text is rendered as bold.
+ },
+ "type": "A String", # The type of this auto text.
+ },
+ "endIndex": 42, # The zero-based end index of this text element, exclusive, in Unicode code
+ # units.
+ "startIndex": 42, # The zero-based start index of this text element, in Unicode code units.
+ "paragraphMarker": { # A TextElement kind that represents the beginning of a new paragraph. # A marker representing the beginning of a new paragraph.
+ #
+ # The `start_index` and `end_index` of this TextElement represent the
+ # range of the paragraph. Other TextElements with an index range contained
+ # inside this paragraph's range are considered to be part of this
+ # paragraph. The range of indices of two separate paragraphs will never
+ # overlap.
+ "style": { # Styles that apply to a whole paragraph. # The paragraph's style
+ #
+ # If this text is contained in a shape with a parent placeholder, then these paragraph styles may be
+ # inherited from the parent. Which paragraph styles are inherited depend on the
+ # nesting level of lists:
+ #
+ # * A paragraph not in a list will inherit its paragraph style from the
+ # paragraph at the 0 nesting level of the list inside the parent placeholder.
+ # * A paragraph in a list will inherit its paragraph style from the paragraph
+ # at its corresponding nesting level of the list inside the parent
+ # placeholder.
+ #
+ # Inherited paragraph styles are represented as unset fields in this message.
+ "spacingMode": "A String", # The spacing mode for the paragraph.
+ "direction": "A String", # The text direction of this paragraph. If unset, the value defaults to
+ # LEFT_TO_RIGHT since
+ # text direction is not inherited.
+ "spaceBelow": { # A magnitude in a single direction in the specified units. # The amount of extra space below the paragraph. If unset, the value is
+ # inherited from the parent.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "lineSpacing": 3.14, # The amount of space between lines, as a percentage of normal, where normal
+ # is represented as 100.0. If unset, the value is inherited from the parent.
+ "indentStart": { # A magnitude in a single direction in the specified units. # The amount indentation for the paragraph on the side that corresponds to
+ # the start of the text, based on the current text direction. If unset, the
+ # value is inherited from the parent.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "spaceAbove": { # A magnitude in a single direction in the specified units. # The amount of extra space above the paragraph. If unset, the value is
+ # inherited from the parent.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "indentEnd": { # A magnitude in a single direction in the specified units. # The amount indentation for the paragraph on the side that corresponds to
+ # the end of the text, based on the current text direction. If unset, the
+ # value is inherited from the parent.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "indentFirstLine": { # A magnitude in a single direction in the specified units. # The amount of indentation for the start of the first line of the paragraph.
+ # If unset, the value is inherited from the parent.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "alignment": "A String", # The text alignment for this paragraph.
+ },
+ "bullet": { # Describes the bullet of a paragraph. # The bullet for this paragraph. If not present, the paragraph does not
+ # belong to a list.
+ "nestingLevel": 42, # The nesting level of this paragraph in the list.
+ "listId": "A String", # The ID of the list this paragraph belongs to.
+ "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The paragraph specific text style applied to this bullet.
+ #
+ # If this text is contained in a shape with a parent placeholder, then these text styles may be
+ # inherited from the parent. Which text styles are inherited depend on the
+ # nesting level of lists:
+ #
+ # * A text run in a paragraph that is not in a list will inherit its text style
+ # from the the newline character in the paragraph at the 0 nesting level of
+ # the list inside the parent placeholder.
+ # * A text run in a paragraph that is in a list will inherit its text style
+ # from the newline character in the paragraph at its corresponding nesting
+ # level of the list inside the parent placeholder.
+ #
+ # Inherited text styles are represented as unset fields in this message. If
+ # text is contained in a shape without a parent placeholder, unsetting these
+ # fields will revert the style to a value matching the defaults in the Slides
+ # editor.
+ "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ "baselineOffset": "A String", # The text's vertical offset from its normal position.
+ #
+ # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
+ # rendered in a smaller font size, computed based on the `font_size` field.
+ # The `font_size` itself is not affected by changes in this field.
+ "strikethrough": True or False, # Whether or not the text is struck through.
+ "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").
+ },
+ "smallCaps": True or False, # Whether or not the text is in small capital letters.
+ "fontFamily": "A String", # The font family of the text.
+ #
+ # The font family can be any font from the Font menu in Slides or from
+ # [Google Fonts] (https://fonts.google.com/). If the font name is
+ # unrecognized, the text is rendered in `Arial`.
+ #
+ # Some fonts can affect the weight of the text. If an update request
+ # specifies values for both `font_family` and `bold`, the explicitly-set
+ # `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "italic": True or False, # Whether or not the text is italicized.
+ "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
+ # are not inherited from parent text.
+ #
+ # Changing the link in an update request causes some other changes to the
+ # text style of the range:
+ #
+ # * When setting a link, the text foreground color will be set to
+ # ThemeColorType.HYPERLINK and the text will
+ # be underlined. If these fields are modified in the same
+ # request, those values will be used instead of the link defaults.
+ # * Setting a link on a text range that overlaps with an existing link will
+ # also update the existing link to point to the new URL.
+ # * Links are not settable on newline characters. As a result, setting a link
+ # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
+ # will separate the newline character(s) into their own text runs. The
+ # link will be applied separately to the runs before and after the newline.
+ # * Removing a link will update the text style of the range to match the
+ # style of the preceding text (or the default text styles if the preceding
+ # text is another link) unless different styles are being set in the same
+ # request.
+ "url": "A String", # If set, indicates this is a link to the external web page at this URL.
+ "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
+ # in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
+ "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
+ # addressed by its position.
+ },
+ "underline": True or False, # Whether or not the text is underlined.
+ "bold": True or False, # Whether or not the text is rendered as bold.
+ },
+ "glyph": "A String", # The rendered bullet glyph for this paragraph.
+ },
+ },
+ "textRun": { # A TextElement kind that represents a run of text that all has the same # A TextElement representing a run of text where all of the characters
+ # in the run have the same TextStyle.
+ #
+ # The `start_index` and `end_index` of TextRuns will always be fully
+ # contained in the index range of a single `paragraph_marker` TextElement.
+ # In other words, a TextRun will never span multiple paragraphs.
+ # styling.
+ "content": "A String", # The text of this run.
+ "style": { # Represents the styling that can be applied to a TextRun. # The styling applied to this run.
+ #
+ # If this text is contained in a shape with a parent placeholder, then these text styles may be
+ # inherited from the parent. Which text styles are inherited depend on the
+ # nesting level of lists:
+ #
+ # * A text run in a paragraph that is not in a list will inherit its text style
+ # from the the newline character in the paragraph at the 0 nesting level of
+ # the list inside the parent placeholder.
+ # * A text run in a paragraph that is in a list will inherit its text style
+ # from the newline character in the paragraph at its corresponding nesting
+ # level of the list inside the parent placeholder.
+ #
+ # Inherited text styles are represented as unset fields in this message. If
+ # text is contained in a shape without a parent placeholder, unsetting these
+ # fields will revert the style to a value matching the defaults in the Slides
+ # editor.
+ "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ "baselineOffset": "A String", # The text's vertical offset from its normal position.
+ #
+ # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
+ # rendered in a smaller font size, computed based on the `font_size` field.
+ # The `font_size` itself is not affected by changes in this field.
+ "strikethrough": True or False, # Whether or not the text is struck through.
+ "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").
+ },
+ "smallCaps": True or False, # Whether or not the text is in small capital letters.
+ "fontFamily": "A String", # The font family of the text.
+ #
+ # The font family can be any font from the Font menu in Slides or from
+ # [Google Fonts] (https://fonts.google.com/). If the font name is
+ # unrecognized, the text is rendered in `Arial`.
+ #
+ # Some fonts can affect the weight of the text. If an update request
+ # specifies values for both `font_family` and `bold`, the explicitly-set
+ # `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "italic": True or False, # Whether or not the text is italicized.
+ "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
+ # are not inherited from parent text.
+ #
+ # Changing the link in an update request causes some other changes to the
+ # text style of the range:
+ #
+ # * When setting a link, the text foreground color will be set to
+ # ThemeColorType.HYPERLINK and the text will
+ # be underlined. If these fields are modified in the same
+ # request, those values will be used instead of the link defaults.
+ # * Setting a link on a text range that overlaps with an existing link will
+ # also update the existing link to point to the new URL.
+ # * Links are not settable on newline characters. As a result, setting a link
+ # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
+ # will separate the newline character(s) into their own text runs. The
+ # link will be applied separately to the runs before and after the newline.
+ # * Removing a link will update the text style of the range to match the
+ # style of the preceding text (or the default text styles if the preceding
+ # text is another link) unless different styles are being set in the same
+ # request.
+ "url": "A String", # If set, indicates this is a link to the external web page at this URL.
+ "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
+ # in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
+ "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
+ # addressed by its position.
+ },
+ "underline": True or False, # Whether or not the text is underlined.
+ "bold": True or False, # Whether or not the text is rendered as bold.
+ },
+ },
+ },
+ ],
+ "lists": { # The bulleted lists contained in this text, keyed by list ID.
+ "a_key": { # A List describes the look and feel of bullets belonging to paragraphs
+ # associated with a list. A paragraph that is part of a list has an implicit
+ # reference to that list's ID.
+ "nestingLevel": { # A map of nesting levels to the properties of bullets at the associated
+ # level. A list has at most nine levels of nesting, so the possible values
+ # for the keys of this map are 0 through 8, inclusive.
+ "a_key": { # Contains properties describing the look and feel of a list bullet at a given
+ # level of nesting.
+ "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The style of a bullet at this level of nesting.
+ #
+ # If this text is contained in a shape with a parent placeholder, then these text styles may be
+ # inherited from the parent. Which text styles are inherited depend on the
+ # nesting level of lists:
+ #
+ # * A text run in a paragraph that is not in a list will inherit its text style
+ # from the the newline character in the paragraph at the 0 nesting level of
+ # the list inside the parent placeholder.
+ # * A text run in a paragraph that is in a list will inherit its text style
+ # from the newline character in the paragraph at its corresponding nesting
+ # level of the list inside the parent placeholder.
+ #
+ # Inherited text styles are represented as unset fields in this message. If
+ # text is contained in a shape without a parent placeholder, unsetting these
+ # fields will revert the style to a value matching the defaults in the Slides
+ # editor.
+ "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ "baselineOffset": "A String", # The text's vertical offset from its normal position.
+ #
+ # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
+ # rendered in a smaller font size, computed based on the `font_size` field.
+ # The `font_size` itself is not affected by changes in this field.
+ "strikethrough": True or False, # Whether or not the text is struck through.
+ "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").
+ },
+ "smallCaps": True or False, # Whether or not the text is in small capital letters.
+ "fontFamily": "A String", # The font family of the text.
+ #
+ # The font family can be any font from the Font menu in Slides or from
+ # [Google Fonts] (https://fonts.google.com/). If the font name is
+ # unrecognized, the text is rendered in `Arial`.
+ #
+ # Some fonts can affect the weight of the text. If an update request
+ # specifies values for both `font_family` and `bold`, the explicitly-set
+ # `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "italic": True or False, # Whether or not the text is italicized.
+ "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
+ # are not inherited from parent text.
+ #
+ # Changing the link in an update request causes some other changes to the
+ # text style of the range:
+ #
+ # * When setting a link, the text foreground color will be set to
+ # ThemeColorType.HYPERLINK and the text will
+ # be underlined. If these fields are modified in the same
+ # request, those values will be used instead of the link defaults.
+ # * Setting a link on a text range that overlaps with an existing link will
+ # also update the existing link to point to the new URL.
+ # * Links are not settable on newline characters. As a result, setting a link
+ # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
+ # will separate the newline character(s) into their own text runs. The
+ # link will be applied separately to the runs before and after the newline.
+ # * Removing a link will update the text style of the range to match the
+ # style of the preceding text (or the default text styles if the preceding
+ # text is another link) unless different styles are being set in the same
+ # request.
+ "url": "A String", # If set, indicates this is a link to the external web page at this URL.
+ "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
+ # in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
+ "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
+ # addressed by its position.
+ },
+ "underline": True or False, # Whether or not the text is underlined.
+ "bold": True or False, # Whether or not the text is rendered as bold.
+ },
+ },
+ },
+ "listId": "A String", # The ID of the list.
+ },
+ },
+ },
+ "tableCellProperties": { # The properties of the TableCell. # The properties of the table cell.
+ "tableCellBackgroundFill": { # The table cell background fill. # The background fill of the table cell. The default fill matches the fill
+ # for newly created table cells in the Slides editor.
+ "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill.
+ # specified color value.
+ #
+ # If any field is unset, its value may be inherited from a parent placeholder
+ # if it exists.
+ "color": { # A themeable solid color value. # The color value of the solid fill.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel.
+ # That is, the final pixel color is defined by the equation:
+ #
+ # pixel color = alpha * (color) + (1.0 - alpha) * (background color)
+ #
+ # This means that a value of 1.0 corresponds to a solid color, whereas
+ # a value of 0.0 corresponds to a completely transparent color.
+ },
+ "propertyState": "A String", # The background fill property state.
+ #
+ # Updating the fill on a table cell will implicitly update this field
+ # to `RENDERED`, unless another value is specified in the same request. To
+ # have no fill on a table cell, set this field to `NOT_RENDERED`. In this
+ # case, any other fill fields set in the same request will be ignored.
+ },
+ "contentAlignment": "A String", # The alignment of the content in the table cell. The default alignment
+ # matches the alignment for newly created table cells in the Slides editor.
+ },
+ "rowSpan": 42, # Row span of the cell.
+ "columnSpan": 42, # Column span of the cell.
+ "location": { # A location of a single table cell within a table. # The location of the cell within the table.
+ "rowIndex": 42, # The 0-based row index.
+ "columnIndex": 42, # The 0-based column index.
+ },
+ },
+ ],
+ "rowHeight": { # A magnitude in a single direction in the specified units. # Height of a row.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "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).
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ },
+ },
+ ],
+ "columns": 42, # Number of columns in the table.
+ },
+ "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.
+ #
+ # It matches the `category` specified in CreateLineRequest, and can be updated with
+ # UpdateLineCategoryRequest.
+ "lineProperties": { # The properties of the Line. # The properties of the line.
+ #
+ # When unset, these fields default to values that match the appearance of
+ # new lines created in the Slides editor.
+ "dashStyle": "A String", # The dash style of the line.
+ "weight": { # A magnitude in a single direction in the specified units. # The thickness of the line.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "endArrow": "A String", # The style of the arrow at the end of the line.
+ "link": { # A hypertext link. # The hyperlink destination of the line. If unset, there is no link.
+ "url": "A String", # If set, indicates this is a link to the external web page at this URL.
+ "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
+ # in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
+ "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
+ # addressed by its position.
+ },
+ "lineFill": { # The fill of the line. # The fill of the line. The default line fill matches the defaults for new
+ # lines created in the Slides editor.
+ "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill.
+ # specified color value.
+ #
+ # If any field is unset, its value may be inherited from a parent placeholder
+ # if it exists.
+ "color": { # A themeable solid color value. # The color value of the solid fill.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel.
+ # That is, the final pixel color is defined by the equation:
+ #
+ # pixel color = alpha * (color) + (1.0 - alpha) * (background color)
+ #
+ # This means that a value of 1.0 corresponds to a solid color, whereas
+ # a value of 0.0 corresponds to a completely transparent color.
+ },
+ },
+ "startConnection": { # The properties for one end of a Line # The connection at the beginning of the line. If unset, there is no
+ # connection.
+ #
+ # Only lines with a Type indicating it is
+ # a "connector" can have a `start_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.
+ },
+ "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.
+ },
+ "startArrow": "A String", # The style of the arrow at the beginning of the line.
+ },
+ "lineType": "A String", # The type of the line.
+ },
+ "size": { # A width and height. # The size of the page element.
+ "width": { # A magnitude in a single direction in the specified units. # The width of the object.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "height": { # A magnitude in a single direction in the specified units. # The height of the object.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ },
+ "description": "A String", # The description of the page element. Combined with title to display alt
+ # text.
+ },
+ ],
+ "notesProperties": { # The properties of Page that are only # Notes specific properties. Only set if page_type = NOTES.
+ # relevant for pages with page_type NOTES.
+ "speakerNotesObjectId": "A String", # The object ID of the shape on this notes page that contains the speaker
+ # notes for the corresponding slide.
+ # The actual shape may not always exist on the notes page. Inserting text
+ # using this object ID will automatically create the shape. In this case, the
+ # actual shape may have different object ID. The `GetPresentation` or
+ # `GetPage` action will always return the latest object ID.
+ },
+ "objectId": "A String", # The object ID for this page. Object IDs used by
+ # Page and
+ # PageElement share the same namespace.
+ "revisionId": "A String", # The revision ID of the presentation containing this page. Can be used in
+ # update requests to assert that the presentation revision hasn't changed
+ # since the last read operation. Only populated if the user has edit access
+ # to the presentation.
+ #
+ # The format of the revision ID may change over time, so it should be treated
+ # opaquely. A returned revision ID is only guaranteed to be valid for 24
+ # hours after it has been returned and cannot be shared across users. If the
+ # revision ID is unchanged between calls, then the presentation has not
+ # 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.
+ "masterProperties": { # The properties of Page that are only # Master specific properties. Only set if page_type = MASTER.
+ # relevant for pages with page_type MASTER.
+ "displayName": "A String", # The human-readable name of the master.
+ },
+ "pageProperties": { # The properties of the Page. # The properties of the page.
+ #
+ # The page will inherit properties from the parent page. Depending on the page
+ # type the hierarchy is defined in either
+ # SlideProperties or
+ # LayoutProperties.
+ "pageBackgroundFill": { # The page background fill. # The background fill of the page. If unset, the background fill is inherited
+ # from a parent page if it exists. If the page has no parent, then the
+ # background fill defaults to the corresponding fill in the Slides editor.
+ "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill.
+ # specified color value.
+ #
+ # If any field is unset, its value may be inherited from a parent placeholder
+ # if it exists.
+ "color": { # A themeable solid color value. # The color value of the solid fill.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel.
+ # That is, the final pixel color is defined by the equation:
+ #
+ # pixel color = alpha * (color) + (1.0 - alpha) * (background color)
+ #
+ # This means that a value of 1.0 corresponds to a solid color, whereas
+ # a value of 0.0 corresponds to a completely transparent color.
+ },
+ "propertyState": "A String", # The background fill property state.
+ #
+ # Updating the fill on a page will implicitly update this field to
+ # `RENDERED`, unless another value is specified in the same request. To
+ # have no fill on a page, set this field to `NOT_RENDERED`. In this case,
+ # any other fill fields set in the same request will be ignored.
+ "stretchedPictureFill": { # The stretched picture fill. The page or page element is filled entirely with # Stretched picture fill.
+ # the specified picture. The picture is stretched to fit its container.
+ "contentUrl": "A String", # Reading the content_url:
+ #
+ # An URL to a picture with a default lifetime of 30 minutes.
+ # This URL is tagged with the account of the requester. Anyone with the URL
+ # effectively accesses the picture as the original requester. Access to the
+ # picture may be lost if the presentation's sharing settings change.
+ #
+ # Writing the content_url:
+ #
+ # The picture is fetched once at insertion time and a copy is stored for
+ # display inside the presentation. Pictures must be less than 50MB in size,
+ # cannot exceed 25 megapixels, and must be in 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.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "height": { # A magnitude in a single direction in the specified units. # The height of the object.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ },
+ },
+ },
+ "colorScheme": { # The palette of predefined colors for a page. # The color scheme of the page. If unset, the color scheme is inherited from
+ # a parent page. If the page has no parent, the color scheme uses a default
+ # Slides color scheme. This field is read-only.
+ "colors": [ # The ThemeColorType and corresponding concrete color pairs.
+ { # A pair mapping a theme color type to the concrete color it represents.
+ "color": { # An RGB color. # The concrete color corresponding to the theme color type above.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ "type": "A String", # The type of the theme color.
+ },
+ ],
+ },
+ },
+ "pageType": "A String", # The type of the page.
+ "slideProperties": { # The properties of Page that are only # Slide specific properties. Only set if page_type = SLIDE.
+ # relevant for pages with page_type SLIDE.
+ "notesPage": # Object with schema name: Page # The notes page that this slide is associated with. It defines the visual
+ # appearance of a notes page when printing or exporting slides with speaker
+ # notes. A notes page inherits properties from the
+ # notes master.
+ # The placeholder shape with type BODY on the notes page contains the speaker
+ # notes for this slide. The ID of this shape is identified by the
+ # speakerNotesObjectId field.
+ # The notes page is read-only except for the text content and styles of the
+ # speaker notes shape. 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.
+ },
+ },
+ ],
+ "pageSize": { # A width and height. # The size of pages in the presentation.
+ "width": { # A magnitude in a single direction in the specified units. # The width of the object.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "height": { # A magnitude in a single direction in the specified units. # The height of the object.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ },
+ "title": "A String", # The title of the presentation.
+ "locale": "A String", # The locale of the presentation, as an IETF BCP 47 language tag.
+ "revisionId": "A String", # The revision ID of the presentation. Can be used in update requests
+ # to assert that the presentation revision hasn't changed since the last
+ # read operation. Only populated if the user has edit access to the
+ # presentation.
+ #
+ # The format of the revision ID may change over time, so it should be treated
+ # opaquely. A returned revision ID is only guaranteed to be valid for 24
+ # hours after it has been returned and cannot be shared across users. If the
+ # revision ID is unchanged between calls, then the presentation has not
+ # 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.
"notesMaster": { # A page in a presentation. # The notes master in the presentation. It serves three purposes:
#
# - Placeholder shapes on a notes master contain the default text styles and
@@ -1816,7 +4674,7 @@
# The notes master is read-only.
"layoutProperties": { # The properties of Page are only # Layout specific properties. Only set if page_type = LAYOUT.
# relevant for pages with page_type LAYOUT.
- "displayName": "A String", # The human readable name of the layout in the presentation's locale.
+ "displayName": "A String", # The human-readable name of the layout.
"name": "A String", # The name of the layout.
"masterObjectId": "A String", # The object ID of the master that this layout is based on.
},
@@ -1826,8 +4684,12 @@
# word art.
"renderedText": "A String", # The text rendered as word art.
},
- "description": "A String", # The description of the page element. Combined with title to display alt
- # text.
+ "elementGroup": { # A PageElement kind representing a # A collection of page elements joined as a single unit.
+ # joined collection of PageElements.
+ "children": [ # The collection of elements in the group. The minimum size of a group is 2.
+ # Object with schema name: PageElement
+ ],
+ },
"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.
@@ -1840,7 +4702,7 @@
# effectively accesses the image as the original requester. Access to the
# image may be lost if the presentation's sharing settings change.
"imageProperties": { # The properties of the Image. # The properties of the image.
- "outline": { # The outline of a PageElement. # The outline of the image. If not set, the the image has no outline.
+ "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
@@ -1871,9 +4733,9 @@
},
"propertyState": "A String", # The outline property state.
#
- # Updating the the outline on a page element will implicitly update this
- # field to`RENDERED`, unless another value is specified in the same request.
- # To have no outline on a page element, set this field to `NOT_RENDERED`. In
+ # 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.
"dashStyle": "A String", # The dash style of the outline.
@@ -1949,14 +4811,14 @@
"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.
"angle": 3.14, # The rotation angle of the crop window around its center, in radians.
# Rotation angle is applied after the offset.
"rightOffset": 3.14, # The offset specifies the right edge of the crop rectangle that is located
# to the left of the original bounding rectangle right edge, relative to the
# object's original width.
- "bottomOffset": 3.14, # The offset specifies the bottom edge of the crop rectangle that is located
- # above the original bounding rectangle bottom edge, relative to the object's
- # original height.
"topOffset": 3.14, # The offset specifies the top edge of the crop rectangle that is located
# below the original bounding rectangle top edge, relative to the object's
# original height.
@@ -2000,9 +4862,9 @@
},
"propertyState": "A String", # The shadow property state.
#
- # Updating the the shadow on a page element will implicitly update this field
- # to `RENDERED`, unless another value is specified in the same request. To
- # have no shadow on a page element, set this field to `NOT_RENDERED`. In this
+ # 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.
"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.
@@ -2010,16 +4872,27 @@
"unit": "A String", # The units for magnitude.
},
"alpha": 3.14, # The alpha of the shadow's color, from 0.0 to 1.0.
- "type": "A String", # The type of the shadow.
+ "type": "A String", # The type of the shadow. This property is read-only.
"alignment": "A String", # The alignment point of the shadow, that sets the origin for translate,
- # scale and skew of the shadow.
- "rotateWithShape": True or False, # Whether the shadow should rotate with the shape.
+ # scale and skew of the shadow. This property is read-only.
+ "rotateWithShape": True or False, # Whether the shadow should rotate with the shape. 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.
},
+ "sourceUrl": "A String", # The source URL is the URL used to insert the image. The source URL can be
+ # empty.
},
"transform": { # AffineTransform uses a 3x3 matrix with an implied last row of [ 0 0 1 ] # The transform of the page element.
+ #
+ # The visual appearance of the page element is determined by its absolute
+ # transform. To compute the absolute transform, preconcatenate a page
+ # element's transform with the transforms of all of its parent groups. If the
+ # page element is not in a group, its absolute transform is the same as the
+ # value in this field.
+ #
+ # The initial transform for the newly created Group is always the identity transform.
# to transform source coordinates (x,y) into destination coordinates (x', y')
# according to:
#
@@ -2044,156 +4917,6 @@
# generic shape that does not have a more specific classification.
"text": { # The general text content. The text must reside in a compatible shape (e.g. # The text content of the shape.
# text box or rectangle) or a table cell in a page.
- "lists": { # The bulleted lists contained in this text, keyed by list ID.
- "a_key": { # A List describes the look and feel of bullets belonging to paragraphs
- # associated with a list. A paragraph that is part of a list has an implicit
- # reference to that list's ID.
- "nestingLevel": { # A map of nesting levels to the properties of bullets at the associated
- # level. A list has at most nine levels of nesting, so the possible values
- # for the keys of this map are 0 through 8, inclusive.
- "a_key": { # Contains properties describing the look and feel of a list bullet at a given
- # level of nesting.
- "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The style of a bullet at this level of nesting.
- #
- # If this text is contained in a shape with a parent placeholder, then these text styles may be
- # inherited from the parent. Which text styles are inherited depend on the
- # nesting level of lists:
- #
- # * A text run in a paragraph that is not in a list will inherit its text style
- # from the the newline character in the paragraph at the 0 nesting level of
- # the list inside the parent placeholder.
- # * A text run in a paragraph that is in a list will inherit its text style
- # from the newline character in the paragraph at its corresponding nesting
- # level of the list inside the parent placeholder.
- #
- # Inherited text styles are represented as unset fields in this message. If
- # text is contained in a shape without a parent placeholder, unsetting these
- # fields will revert the style to a value matching the defaults in the Slides
- # editor.
- "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- "bold": True or False, # Whether or not the text is rendered as bold.
- "baselineOffset": "A String", # The text's vertical offset from its normal position.
- #
- # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
- # rendered in a smaller font size, computed based on the `font_size` field.
- # The `font_size` itself is not affected by changes in this field.
- "strikethrough": True or False, # Whether or not the text is struck through.
- "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").
- },
- "smallCaps": True or False, # Whether or not the text is in small capital letters.
- "fontFamily": "A String", # The font family of the text.
- #
- # The font family can be any font from the Font menu in Slides or from
- # [Google Fonts] (https://fonts.google.com/). If the font name is
- # unrecognized, the text is rendered in `Arial`.
- #
- # Some fonts can affect the weight of the text. If an update request
- # specifies values for both `font_family` and `bold`, the explicitly-set
- # `bold` value is used.
- "italic": True or False, # Whether or not the text is italicized.
- "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
- # are not inherited from parent text.
- #
- # Changing the link in an update request causes some other changes to the
- # text style of the range:
- #
- # * When setting a link, the text foreground color will be set to
- # ThemeColorType.HYPERLINK and the text will
- # be underlined. If these fields are modified in the same
- # request, those values will be used instead of the link defaults.
- # * Setting a link on a text range that overlaps with an existing link will
- # also update the existing link to point to the new URL.
- # * Links are not settable on newline characters. As a result, setting a link
- # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
- # will separate the newline character(s) into their own text runs. The
- # link will be applied separately to the runs before and after the newline.
- # * Removing a link will update the text style of the range to match the
- # style of the preceding text (or the default text styles if the preceding
- # text is another link) unless different styles are being set in the same
- # request.
- "url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
- # in the presentation. There may not be a slide at this index.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
- "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
- # addressed by its position.
- },
- "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
- "underline": True or False, # Whether or not the text is underlined.
- },
- },
- },
- "listId": "A String", # The ID of the list.
- },
- },
"textElements": [ # The text contents broken down into its component parts, including styling
# information. This property is read-only.
{ # A TextElement describes the content of a range of indices in the text content
@@ -2230,7 +4953,18 @@
},
},
},
- "bold": True or False, # Whether or not the text is rendered as bold.
+ "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
"baselineOffset": "A String", # The text's vertical offset from its normal position.
#
# Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
@@ -2274,7 +5008,8 @@
"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),
+ # 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").
@@ -2289,6 +5024,11 @@
# Some fonts can affect the weight of the text. If an update request
# specifies values for both `font_family` and `bold`, the explicitly-set
# `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
"italic": True or False, # Whether or not the text is italicized.
"link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
# are not inherited from parent text.
@@ -2318,24 +5058,8 @@
"relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
# addressed by its position.
},
- "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
"underline": True or False, # Whether or not the text is underlined.
+ "bold": True or False, # Whether or not the text is rendered as bold.
},
"type": "A String", # The type of this auto text.
},
@@ -2366,7 +5090,7 @@
"direction": "A String", # The text direction of this paragraph. If unset, the value defaults to
# LEFT_TO_RIGHT since
# text direction is not inherited.
- "spaceBelow": { # A magnitude in a single direction in the specified units. # The amount of extra space above the paragraph. If unset, the value is
+ "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.
"magnitude": 3.14, # The magnitude.
"unit": "A String", # The units for magnitude.
@@ -2430,7 +5154,18 @@
},
},
},
- "bold": True or False, # Whether or not the text is rendered as bold.
+ "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
"baselineOffset": "A String", # The text's vertical offset from its normal position.
#
# Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
@@ -2474,7 +5209,8 @@
"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),
+ # 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").
@@ -2489,6 +5225,11 @@
# Some fonts can affect the weight of the text. If an update request
# specifies values for both `font_family` and `bold`, the explicitly-set
# `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
"italic": True or False, # Whether or not the text is italicized.
"link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
# are not inherited from parent text.
@@ -2518,24 +5259,8 @@
"relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
# addressed by its position.
},
- "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
"underline": True or False, # Whether or not the text is underlined.
+ "bold": True or False, # Whether or not the text is rendered as bold.
},
"glyph": "A String", # The rendered bullet glyph for this paragraph.
},
@@ -2577,7 +5302,18 @@
},
},
},
- "bold": True or False, # Whether or not the text is rendered as bold.
+ "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
"baselineOffset": "A String", # The text's vertical offset from its normal position.
#
# Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
@@ -2621,7 +5357,8 @@
"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),
+ # 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").
@@ -2636,6 +5373,11 @@
# Some fonts can affect the weight of the text. If an update request
# specifies values for both `font_family` and `bold`, the explicitly-set
# `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
"italic": True or False, # Whether or not the text is italicized.
"link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
# are not inherited from parent text.
@@ -2665,28 +5407,163 @@
"relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
# addressed by its position.
},
- "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
"underline": True or False, # Whether or not the text is underlined.
+ "bold": True or False, # Whether or not the text is rendered as bold.
},
},
},
],
+ "lists": { # The bulleted lists contained in this text, keyed by list ID.
+ "a_key": { # A List describes the look and feel of bullets belonging to paragraphs
+ # associated with a list. A paragraph that is part of a list has an implicit
+ # reference to that list's ID.
+ "nestingLevel": { # A map of nesting levels to the properties of bullets at the associated
+ # level. A list has at most nine levels of nesting, so the possible values
+ # for the keys of this map are 0 through 8, inclusive.
+ "a_key": { # Contains properties describing the look and feel of a list bullet at a given
+ # level of nesting.
+ "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The style of a bullet at this level of nesting.
+ #
+ # If this text is contained in a shape with a parent placeholder, then these text styles may be
+ # inherited from the parent. Which text styles are inherited depend on the
+ # nesting level of lists:
+ #
+ # * A text run in a paragraph that is not in a list will inherit its text style
+ # from the the newline character in the paragraph at the 0 nesting level of
+ # the list inside the parent placeholder.
+ # * A text run in a paragraph that is in a list will inherit its text style
+ # from the newline character in the paragraph at its corresponding nesting
+ # level of the list inside the parent placeholder.
+ #
+ # Inherited text styles are represented as unset fields in this message. If
+ # text is contained in a shape without a parent placeholder, unsetting these
+ # fields will revert the style to a value matching the defaults in the Slides
+ # editor.
+ "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ "baselineOffset": "A String", # The text's vertical offset from its normal position.
+ #
+ # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
+ # rendered in a smaller font size, computed based on the `font_size` field.
+ # The `font_size` itself is not affected by changes in this field.
+ "strikethrough": True or False, # Whether or not the text is struck through.
+ "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").
+ },
+ "smallCaps": True or False, # Whether or not the text is in small capital letters.
+ "fontFamily": "A String", # The font family of the text.
+ #
+ # The font family can be any font from the Font menu in Slides or from
+ # [Google Fonts] (https://fonts.google.com/). If the font name is
+ # unrecognized, the text is rendered in `Arial`.
+ #
+ # Some fonts can affect the weight of the text. If an update request
+ # specifies values for both `font_family` and `bold`, the explicitly-set
+ # `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "italic": True or False, # Whether or not the text is italicized.
+ "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
+ # are not inherited from parent text.
+ #
+ # Changing the link in an update request causes some other changes to the
+ # text style of the range:
+ #
+ # * When setting a link, the text foreground color will be set to
+ # ThemeColorType.HYPERLINK and the text will
+ # be underlined. If these fields are modified in the same
+ # request, those values will be used instead of the link defaults.
+ # * Setting a link on a text range that overlaps with an existing link will
+ # also update the existing link to point to the new URL.
+ # * Links are not settable on newline characters. As a result, setting a link
+ # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
+ # will separate the newline character(s) into their own text runs. The
+ # link will be applied separately to the runs before and after the newline.
+ # * Removing a link will update the text style of the range to match the
+ # style of the preceding text (or the default text styles if the preceding
+ # text is another link) unless different styles are being set in the same
+ # request.
+ "url": "A String", # If set, indicates this is a link to the external web page at this URL.
+ "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
+ # in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
+ "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
+ # addressed by its position.
+ },
+ "underline": True or False, # Whether or not the text is underlined.
+ "bold": True or False, # Whether or not the text is rendered as bold.
+ },
+ },
+ },
+ "listId": "A String", # The ID of the list.
+ },
+ },
},
"shapeProperties": { # The properties of a Shape. # The properties of the shape.
#
@@ -2736,9 +5613,9 @@
},
"propertyState": "A String", # The shadow property state.
#
- # Updating the the shadow on a page element will implicitly update this field
- # to `RENDERED`, unless another value is specified in the same request. To
- # have no shadow on a page element, set this field to `NOT_RENDERED`. In this
+ # 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.
"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.
@@ -2746,10 +5623,11 @@
"unit": "A String", # The units for magnitude.
},
"alpha": 3.14, # The alpha of the shadow's color, from 0.0 to 1.0.
- "type": "A String", # The type of the shadow.
+ "type": "A String", # The type of the shadow. This property is read-only.
"alignment": "A String", # The alignment point of the shadow, that sets the origin for translate,
- # scale and skew of the shadow.
- "rotateWithShape": True or False, # Whether the shadow should rotate with the shape.
+ # scale and skew of the shadow. This property is read-only.
+ "rotateWithShape": True or False, # Whether the shadow should rotate with the shape. This property is
+ # read-only.
},
"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
@@ -2778,7 +5656,7 @@
},
"propertyState": "A String", # The background fill property state.
#
- # Updating the the fill on a shape will implicitly update this field to
+ # Updating the fill on a shape will implicitly update this field to
# `RENDERED`, unless another value is specified in the same request. To
# have no fill on a shape, set this field to `NOT_RENDERED`. In this case,
# any other fill fields set in the same request will be ignored.
@@ -2827,9 +5705,9 @@
},
"propertyState": "A String", # The outline property state.
#
- # Updating the the outline on a page element will implicitly update this
- # field to`RENDERED`, unless another value is specified in the same request.
- # To have no outline on a page element, set this field to `NOT_RENDERED`. In
+ # 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.
"dashStyle": "A String", # The dash style of the outline.
@@ -2838,6 +5716,10 @@
"unit": "A String", # The units for magnitude.
},
},
+ "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.
},
"placeholder": { # The placeholder information that uniquely identifies a placeholder shape. # Placeholders are shapes that are inherit from corresponding placeholders on
# layouts and masters.
@@ -2864,7 +5746,7 @@
"spreadsheetId": "A String", # The ID of the Google Sheets spreadsheet that contains the source chart.
"sheetsChartProperties": { # The properties of the SheetsChart. # The properties of the Sheets chart.
"chartImageProperties": { # The properties of the Image. # The properties of the embedded chart image.
- "outline": { # The outline of a PageElement. # The outline of the image. If not set, the the image has no outline.
+ "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
@@ -2895,9 +5777,9 @@
},
"propertyState": "A String", # The outline property state.
#
- # Updating the the outline on a page element will implicitly update this
- # field to`RENDERED`, unless another value is specified in the same request.
- # To have no outline on a page element, set this field to `NOT_RENDERED`. In
+ # 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.
"dashStyle": "A String", # The dash style of the outline.
@@ -2973,14 +5855,14 @@
"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.
"angle": 3.14, # The rotation angle of the crop window around its center, in radians.
# Rotation angle is applied after the offset.
"rightOffset": 3.14, # The offset specifies the right edge of the crop rectangle that is located
# to the left of the original bounding rectangle right edge, relative to the
# object's original width.
- "bottomOffset": 3.14, # The offset specifies the bottom edge of the crop rectangle that is located
- # above the original bounding rectangle bottom edge, relative to the object's
- # original height.
"topOffset": 3.14, # The offset specifies the top edge of the crop rectangle that is located
# below the original bounding rectangle top edge, relative to the object's
# original height.
@@ -3024,9 +5906,9 @@
},
"propertyState": "A String", # The shadow property state.
#
- # Updating the the shadow on a page element will implicitly update this field
- # to `RENDERED`, unless another value is specified in the same request. To
- # have no shadow on a page element, set this field to `NOT_RENDERED`. In this
+ # 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.
"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.
@@ -3034,10 +5916,11 @@
"unit": "A String", # The units for magnitude.
},
"alpha": 3.14, # The alpha of the shadow's color, from 0.0 to 1.0.
- "type": "A String", # The type of the shadow.
+ "type": "A String", # The type of the shadow. This property is read-only.
"alignment": "A String", # The alignment point of the shadow, that sets the origin for translate,
- # scale and skew of the shadow.
- "rotateWithShape": True or False, # Whether the shadow should rotate with the shape.
+ # scale and skew of the shadow. This property is read-only.
+ "rotateWithShape": True or False, # Whether the shadow should rotate with the shape. 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.
@@ -3048,9 +5931,22 @@
},
"video": { # A PageElement kind representing a # A video page element.
# video.
- "url": "A String", # An URL to a video. The URL is valid as long as the source video
- # exists and sharing settings do not change.
+ "url": "A String", # An URL to a video. The URL is valid as long as the source video exists and
+ # sharing settings do not change.
"videoProperties": { # The properties of the Video. # The properties of the video.
+ "start": 42, # The time at which to start playback, measured in seconds from the beginning
+ # of the video.
+ # If set, the start time should be before the end time.
+ # If you set this to a value that exceeds the video's length in seconds, the
+ # video will be played from the last second.
+ # If not set, the video will be played from the beginning.
+ "autoPlay": True or False, # Whether to enable video autoplay when the page is displayed in present
+ # mode. Defaults to false.
+ "end": 42, # The time at which to end playback, measured in seconds from the beginning
+ # of the video.
+ # If set, the end time should be after the start time.
+ # If not set or if you set this to a value that exceeds the video's length,
+ # the video will be played until its end.
"outline": { # The outline of a PageElement. # The outline of the video. The default outline matches the defaults for new
# videos created in the Slides editor.
#
@@ -3083,9 +5979,9 @@
},
"propertyState": "A String", # The outline property state.
#
- # Updating the the outline on a page element will implicitly update this
- # field to`RENDERED`, unless another value is specified in the same request.
- # To have no outline on a page element, set this field to `NOT_RENDERED`. In
+ # 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.
"dashStyle": "A String", # The dash style of the outline.
@@ -3094,18 +5990,112 @@
"unit": "A String", # The units for magnitude.
},
},
+ "mute": True or False, # Whether to mute the audio during video playback. Defaults to false.
},
"id": "A String", # The video source's unique identifier for this video.
"source": "A String", # The video source.
},
- "elementGroup": { # A PageElement kind representing a # A collection of page elements joined as a single unit.
- # joined collection of PageElements.
- "children": [ # The collection of elements in the group. The minimum size of a group is 2.
- # Object with schema name: PageElement
- ],
- },
"table": { # A PageElement kind representing a # A table page element.
# table.
+ "rows": 42, # Number of rows in the table.
+ "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.
+ "tableBorderProperties": { # The border styling properties of the # The border properties.
+ # TableBorderCell.
+ "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.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel.
+ # That is, the final pixel color is defined by the equation:
+ #
+ # pixel color = alpha * (color) + (1.0 - alpha) * (background color)
+ #
+ # This means that a value of 1.0 corresponds to a solid color, whereas
+ # a value of 0.0 corresponds to a completely transparent color.
+ },
+ },
+ "dashStyle": "A String", # The dash style of the border.
+ "weight": { # A magnitude in a single direction in the specified units. # The thickness of the border.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ },
+ "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.
+ },
+ },
+ ],
+ },
+ ],
+ "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.
+ "tableBorderProperties": { # The border styling properties of the # The border properties.
+ # TableBorderCell.
+ "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.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel.
+ # That is, the final pixel color is defined by the equation:
+ #
+ # pixel color = alpha * (color) + (1.0 - alpha) * (background color)
+ #
+ # This means that a value of 1.0 corresponds to a solid color, whereas
+ # a value of 0.0 corresponds to a completely transparent color.
+ },
+ },
+ "dashStyle": "A String", # The dash style of the border.
+ "weight": { # A magnitude in a single direction in the specified units. # The thickness of the border.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ },
+ "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.
+ },
+ },
+ ],
+ },
+ ],
"tableColumns": [ # Properties of each column.
{ # Properties of each column in a table.
"columnWidth": { # A magnitude in a single direction in the specified units. # Width of a column.
@@ -3129,156 +6119,6 @@
{ # Properties and contents of each table cell.
"text": { # The general text content. The text must reside in a compatible shape (e.g. # The text content of the cell.
# text box or rectangle) or a table cell in a page.
- "lists": { # The bulleted lists contained in this text, keyed by list ID.
- "a_key": { # A List describes the look and feel of bullets belonging to paragraphs
- # associated with a list. A paragraph that is part of a list has an implicit
- # reference to that list's ID.
- "nestingLevel": { # A map of nesting levels to the properties of bullets at the associated
- # level. A list has at most nine levels of nesting, so the possible values
- # for the keys of this map are 0 through 8, inclusive.
- "a_key": { # Contains properties describing the look and feel of a list bullet at a given
- # level of nesting.
- "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The style of a bullet at this level of nesting.
- #
- # If this text is contained in a shape with a parent placeholder, then these text styles may be
- # inherited from the parent. Which text styles are inherited depend on the
- # nesting level of lists:
- #
- # * A text run in a paragraph that is not in a list will inherit its text style
- # from the the newline character in the paragraph at the 0 nesting level of
- # the list inside the parent placeholder.
- # * A text run in a paragraph that is in a list will inherit its text style
- # from the newline character in the paragraph at its corresponding nesting
- # level of the list inside the parent placeholder.
- #
- # Inherited text styles are represented as unset fields in this message. If
- # text is contained in a shape without a parent placeholder, unsetting these
- # fields will revert the style to a value matching the defaults in the Slides
- # editor.
- "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- "bold": True or False, # Whether or not the text is rendered as bold.
- "baselineOffset": "A String", # The text's vertical offset from its normal position.
- #
- # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
- # rendered in a smaller font size, computed based on the `font_size` field.
- # The `font_size` itself is not affected by changes in this field.
- "strikethrough": True or False, # Whether or not the text is struck through.
- "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").
- },
- "smallCaps": True or False, # Whether or not the text is in small capital letters.
- "fontFamily": "A String", # The font family of the text.
- #
- # The font family can be any font from the Font menu in Slides or from
- # [Google Fonts] (https://fonts.google.com/). If the font name is
- # unrecognized, the text is rendered in `Arial`.
- #
- # Some fonts can affect the weight of the text. If an update request
- # specifies values for both `font_family` and `bold`, the explicitly-set
- # `bold` value is used.
- "italic": True or False, # Whether or not the text is italicized.
- "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
- # are not inherited from parent text.
- #
- # Changing the link in an update request causes some other changes to the
- # text style of the range:
- #
- # * When setting a link, the text foreground color will be set to
- # ThemeColorType.HYPERLINK and the text will
- # be underlined. If these fields are modified in the same
- # request, those values will be used instead of the link defaults.
- # * Setting a link on a text range that overlaps with an existing link will
- # also update the existing link to point to the new URL.
- # * Links are not settable on newline characters. As a result, setting a link
- # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
- # will separate the newline character(s) into their own text runs. The
- # link will be applied separately to the runs before and after the newline.
- # * Removing a link will update the text style of the range to match the
- # style of the preceding text (or the default text styles if the preceding
- # text is another link) unless different styles are being set in the same
- # request.
- "url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
- # in the presentation. There may not be a slide at this index.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
- "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
- # addressed by its position.
- },
- "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
- "underline": True or False, # Whether or not the text is underlined.
- },
- },
- },
- "listId": "A String", # The ID of the list.
- },
- },
"textElements": [ # The text contents broken down into its component parts, including styling
# information. This property is read-only.
{ # A TextElement describes the content of a range of indices in the text content
@@ -3315,7 +6155,18 @@
},
},
},
- "bold": True or False, # Whether or not the text is rendered as bold.
+ "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
"baselineOffset": "A String", # The text's vertical offset from its normal position.
#
# Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
@@ -3359,7 +6210,8 @@
"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),
+ # 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").
@@ -3374,6 +6226,11 @@
# Some fonts can affect the weight of the text. If an update request
# specifies values for both `font_family` and `bold`, the explicitly-set
# `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
"italic": True or False, # Whether or not the text is italicized.
"link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
# are not inherited from parent text.
@@ -3403,24 +6260,8 @@
"relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
# addressed by its position.
},
- "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
"underline": True or False, # Whether or not the text is underlined.
+ "bold": True or False, # Whether or not the text is rendered as bold.
},
"type": "A String", # The type of this auto text.
},
@@ -3451,7 +6292,7 @@
"direction": "A String", # The text direction of this paragraph. If unset, the value defaults to
# LEFT_TO_RIGHT since
# text direction is not inherited.
- "spaceBelow": { # A magnitude in a single direction in the specified units. # The amount of extra space above the paragraph. If unset, the value is
+ "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.
"magnitude": 3.14, # The magnitude.
"unit": "A String", # The units for magnitude.
@@ -3515,7 +6356,18 @@
},
},
},
- "bold": True or False, # Whether or not the text is rendered as bold.
+ "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
"baselineOffset": "A String", # The text's vertical offset from its normal position.
#
# Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
@@ -3559,7 +6411,8 @@
"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),
+ # 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").
@@ -3574,6 +6427,11 @@
# Some fonts can affect the weight of the text. If an update request
# specifies values for both `font_family` and `bold`, the explicitly-set
# `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
"italic": True or False, # Whether or not the text is italicized.
"link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
# are not inherited from parent text.
@@ -3603,24 +6461,8 @@
"relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
# addressed by its position.
},
- "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
"underline": True or False, # Whether or not the text is underlined.
+ "bold": True or False, # Whether or not the text is rendered as bold.
},
"glyph": "A String", # The rendered bullet glyph for this paragraph.
},
@@ -3662,7 +6504,18 @@
},
},
},
- "bold": True or False, # Whether or not the text is rendered as bold.
+ "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
"baselineOffset": "A String", # The text's vertical offset from its normal position.
#
# Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
@@ -3706,7 +6559,8 @@
"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),
+ # 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").
@@ -3721,6 +6575,11 @@
# Some fonts can affect the weight of the text. If an update request
# specifies values for both `font_family` and `bold`, the explicitly-set
# `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
"italic": True or False, # Whether or not the text is italicized.
"link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
# are not inherited from parent text.
@@ -3750,28 +6609,163 @@
"relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
# addressed by its position.
},
- "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
"underline": True or False, # Whether or not the text is underlined.
+ "bold": True or False, # Whether or not the text is rendered as bold.
},
},
},
],
+ "lists": { # The bulleted lists contained in this text, keyed by list ID.
+ "a_key": { # A List describes the look and feel of bullets belonging to paragraphs
+ # associated with a list. A paragraph that is part of a list has an implicit
+ # reference to that list's ID.
+ "nestingLevel": { # A map of nesting levels to the properties of bullets at the associated
+ # level. A list has at most nine levels of nesting, so the possible values
+ # for the keys of this map are 0 through 8, inclusive.
+ "a_key": { # Contains properties describing the look and feel of a list bullet at a given
+ # level of nesting.
+ "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The style of a bullet at this level of nesting.
+ #
+ # If this text is contained in a shape with a parent placeholder, then these text styles may be
+ # inherited from the parent. Which text styles are inherited depend on the
+ # nesting level of lists:
+ #
+ # * A text run in a paragraph that is not in a list will inherit its text style
+ # from the the newline character in the paragraph at the 0 nesting level of
+ # the list inside the parent placeholder.
+ # * A text run in a paragraph that is in a list will inherit its text style
+ # from the newline character in the paragraph at its corresponding nesting
+ # level of the list inside the parent placeholder.
+ #
+ # Inherited text styles are represented as unset fields in this message. If
+ # text is contained in a shape without a parent placeholder, unsetting these
+ # fields will revert the style to a value matching the defaults in the Slides
+ # editor.
+ "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ "baselineOffset": "A String", # The text's vertical offset from its normal position.
+ #
+ # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
+ # rendered in a smaller font size, computed based on the `font_size` field.
+ # The `font_size` itself is not affected by changes in this field.
+ "strikethrough": True or False, # Whether or not the text is struck through.
+ "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").
+ },
+ "smallCaps": True or False, # Whether or not the text is in small capital letters.
+ "fontFamily": "A String", # The font family of the text.
+ #
+ # The font family can be any font from the Font menu in Slides or from
+ # [Google Fonts] (https://fonts.google.com/). If the font name is
+ # unrecognized, the text is rendered in `Arial`.
+ #
+ # Some fonts can affect the weight of the text. If an update request
+ # specifies values for both `font_family` and `bold`, the explicitly-set
+ # `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "italic": True or False, # Whether or not the text is italicized.
+ "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
+ # are not inherited from parent text.
+ #
+ # Changing the link in an update request causes some other changes to the
+ # text style of the range:
+ #
+ # * When setting a link, the text foreground color will be set to
+ # ThemeColorType.HYPERLINK and the text will
+ # be underlined. If these fields are modified in the same
+ # request, those values will be used instead of the link defaults.
+ # * Setting a link on a text range that overlaps with an existing link will
+ # also update the existing link to point to the new URL.
+ # * Links are not settable on newline characters. As a result, setting a link
+ # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
+ # will separate the newline character(s) into their own text runs. The
+ # link will be applied separately to the runs before and after the newline.
+ # * Removing a link will update the text style of the range to match the
+ # style of the preceding text (or the default text styles if the preceding
+ # text is another link) unless different styles are being set in the same
+ # request.
+ "url": "A String", # If set, indicates this is a link to the external web page at this URL.
+ "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
+ # in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
+ "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
+ # addressed by its position.
+ },
+ "underline": True or False, # Whether or not the text is underlined.
+ "bold": True or False, # Whether or not the text is rendered as bold.
+ },
+ },
+ },
+ "listId": "A String", # The ID of the list.
+ },
+ },
},
"tableCellProperties": { # The properties of the TableCell. # The properties of the table cell.
"tableCellBackgroundFill": { # The table cell background fill. # The background fill of the table cell. The default fill matches the fill
@@ -3799,11 +6793,13 @@
},
"propertyState": "A String", # The background fill property state.
#
- # Updating the the fill on a table cell will implicitly update this field
+ # Updating the fill on a table cell will implicitly update this field
# to `RENDERED`, unless another value is specified in the same request. To
# have no fill on a table cell, set this field to `NOT_RENDERED`. In this
# case, any other fill fields set in the same request will be ignored.
},
+ "contentAlignment": "A String", # The alignment of the content in the table cell. The default alignment
+ # matches the alignment for newly created table cells in the Slides editor.
},
"rowSpan": 42, # Row span of the cell.
"columnSpan": 42, # Column span of the cell.
@@ -3817,13 +6813,24 @@
"magnitude": 3.14, # The magnitude.
"unit": "A String", # The units for 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).
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ },
},
],
- "rows": 42, # Number of rows in the table.
"columns": 42, # Number of columns in the table.
},
"line": { # A PageElement kind representing a # A line page element.
- # line, curved connector, or bent connector.
+ # non-connector line, straight connector, curved connector, or bent connector.
+ "lineCategory": "A String", # The category of the line.
+ #
+ # It matches the `category` specified in CreateLineRequest, and can be updated with
+ # UpdateLineCategoryRequest.
"lineProperties": { # The properties of the Line. # The properties of the line.
#
# When unset, these fields default to values that match the appearance of
@@ -3867,6 +6874,51 @@
# a value of 0.0 corresponds to a completely transparent color.
},
},
+ "startConnection": { # The properties for one end of a Line # The connection at the beginning of the line. If unset, there is no
+ # connection.
+ #
+ # Only lines with a Type indicating it is
+ # a "connector" can have a `start_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.
+ },
+ "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.
+ },
"startArrow": "A String", # The style of the arrow at the beginning of the line.
},
"lineType": "A String", # The type of the line.
@@ -3881,6 +6933,8 @@
"unit": "A String", # The units for magnitude.
},
},
+ "description": "A String", # The description of the page element. Combined with title to display alt
+ # text.
},
],
"notesProperties": { # The properties of Page that are only # Notes specific properties. Only set if page_type = NOTES.
@@ -3907,6 +6961,10 @@
# 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.
+ "masterProperties": { # The properties of Page that are only # Master specific properties. Only set if page_type = MASTER.
+ # relevant for pages with page_type MASTER.
+ "displayName": "A String", # The human-readable name of the master.
+ },
"pageProperties": { # The properties of the Page. # The properties of the page.
#
# The page will inherit properties from the parent page. Depending on the page
@@ -3939,7 +6997,7 @@
},
"propertyState": "A String", # The background fill property state.
#
- # Updating the the fill on a page will implicitly update this field to
+ # 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.
@@ -3956,8 +7014,10 @@
#
# The picture is fetched once at insertion time and a copy is stored for
# display inside the presentation. Pictures must be less than 50MB in size,
- # cannot exceed 25 megapixels, and must be in either in PNG, JPEG, or GIF
+ # 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.
"magnitude": 3.14, # The magnitude.
@@ -3996,2240 +7056,19 @@
# notes for this slide. The ID of this shape is identified by the
# speakerNotesObjectId field.
# The notes page is read-only except for the text content and styles of the
- # speaker notes shape.
- "masterObjectId": "A String", # The object ID of the master that this slide is based on.
- "layoutObjectId": "A String", # The object ID of the layout that this slide is based on.
+ # 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.
},
},
- "pageSize": { # A width and height. # The size of pages in the presentation.
- "width": { # A magnitude in a single direction in the specified units. # The width of the object.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
- "height": { # A magnitude in a single direction in the specified units. # The height of the object.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
- },
- "title": "A String", # The title of the presentation.
- "locale": "A String", # The locale of the presentation, as an IETF BCP 47 language tag.
- "revisionId": "A String", # The revision ID of the presentation. Can be used in update requests
- # to assert that the presentation revision hasn't changed since the last
- # read operation. Only populated if the user has edit access to the
- # presentation.
- #
- # The format of the revision ID may change over time, so it should be treated
- # opaquely. A returned revision ID is only guaranteed to be valid for 24
- # hours after it has been returned and cannot be shared across users. If the
- # revision ID is unchanged between calls, then the presentation has not
- # 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.
- "masters": [ # The slide masters in the presentation. A slide master contains all common
- # page elements and the common properties for a set of layouts. They serve
- # three purposes:
- #
- # - Placeholder shapes on a master contain the default text styles and shape
- # properties of all placeholder shapes on pages that use that master.
- # - The master page properties define the common page properties inherited by
- # its layouts.
- # - Any other shapes on the master slide will appear on all slides using that
- # master, regardless of their layout.
- { # A page in a presentation.
- "layoutProperties": { # The properties of Page are only # Layout specific properties. Only set if page_type = LAYOUT.
- # relevant for pages with page_type LAYOUT.
- "displayName": "A String", # The human readable name of the layout in the presentation's locale.
- "name": "A String", # The name of the layout.
- "masterObjectId": "A String", # The object ID of the master that this layout is based on.
- },
- "pageElements": [ # The page elements rendered on the page.
- { # A visual element rendered on a page.
- "wordArt": { # A PageElement kind representing # A word art page element.
- # word art.
- "renderedText": "A String", # The text rendered as word art.
- },
- "description": "A String", # The description of the page element. Combined with title to display alt
- # text.
- "objectId": "A String", # The object ID for this page element. Object IDs used by
- # google.apps.slides.v1.Page and
- # google.apps.slides.v1.PageElement share the same namespace.
- "title": "A String", # The title of the page element. Combined with description to display alt
- # text.
- "image": { # A PageElement kind representing an # An image page element.
- # image.
- "contentUrl": "A String", # An URL to an image with a default lifetime of 30 minutes.
- # This URL is tagged with the account of the requester. Anyone with the URL
- # effectively accesses the image as the original requester. Access to the
- # image may be lost if the presentation's sharing settings change.
- "imageProperties": { # The properties of the Image. # The properties of the image.
- "outline": { # The outline of a PageElement. # The outline of the image. If not set, the the image has no outline.
- #
- # If these fields are unset, they may be inherited from a parent placeholder
- # if it exists. If there is no parent, the fields will default to the value
- # used for new page elements created in the Slides editor, which may depend on
- # the page element kind.
- "outlineFill": { # The fill of the outline. # The fill of the outline.
- "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill.
- # specified color value.
- #
- # If any field is unset, its value may be inherited from a parent placeholder
- # if it exists.
- "color": { # A themeable solid color value. # The color value of the solid fill.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel.
- # That is, the final pixel color is defined by the equation:
- #
- # pixel color = alpha * (color) + (1.0 - alpha) * (background color)
- #
- # This means that a value of 1.0 corresponds to a solid color, whereas
- # a value of 0.0 corresponds to a completely transparent color.
- },
- },
- "propertyState": "A String", # The outline property state.
- #
- # Updating the the outline on a page element will implicitly update this
- # field to`RENDERED`, unless another value is specified in the same request.
- # To have no outline on a page element, set this field to `NOT_RENDERED`. In
- # this case, any other outline fields set in the same request will be
- # ignored.
- "dashStyle": "A String", # The dash style of the outline.
- "weight": { # A magnitude in a single direction in the specified units. # The thickness of the outline.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
- },
- "brightness": 3.14, # The brightness effect of the image. The value should be in the interval
- # [-1.0, 1.0], where 0 means no effect. This property is read-only.
- "recolor": { # A recolor effect applied on an image. # The recolor effect of the image. If not set, the image is not recolored.
- # This property is read-only.
- "recolorStops": [ # The recolor effect is represented by a gradient, which is a list of color
- # stops.
- #
- # The colors in the gradient will replace the corresponding colors at
- # the same position in the color palette and apply to the image. This
- # property is read-only.
- { # A color and position in a gradient band.
- "color": { # A themeable solid color value. # The color of the gradient stop.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- "alpha": 3.14, # The alpha value of this color in the gradient band. Defaults to 1.0,
- # fully opaque.
- "position": 3.14, # The relative position of the color stop in the gradient band measured
- # in percentage. The value should be in the interval [0.0, 1.0].
- },
- ],
- "name": "A String", # The name of the recolor effect.
- #
- # The name is determined from the `recolor_stops` by matching the gradient
- # against the colors in the page's current color scheme. This property is
- # read-only.
- },
- "link": { # A hypertext link. # The hyperlink destination of the image. If unset, there is no link.
- "url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
- # in the presentation. There may not be a slide at this index.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
- "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
- # addressed by its position.
- },
- "transparency": 3.14, # The transparency effect of the image. The value should be in the interval
- # [0.0, 1.0], where 0 means no effect and 1 means completely transparent.
- # This property is read-only.
- "cropProperties": { # The crop properties of an object enclosed in a container. For example, an # The crop properties of the image. If not set, the image is not cropped.
- # This property is read-only.
- # Image.
- #
- # The crop properties is represented by the offsets of four edges which define
- # a crop rectangle. The offsets are measured in percentage from the
- # corresponding edges of the object's original bounding rectangle towards
- # inside, relative to the object's original dimensions.
- #
- # - If the offset is in the interval (0, 1), the corresponding edge of crop
- # rectangle is positioned inside of the object's original bounding rectangle.
- # - If the offset is negative or greater than 1, the corresponding edge of crop
- # rectangle is positioned outside of the object's original bounding rectangle.
- # - If the left edge of the crop rectangle is on the right side of its right
- # edge, the object will be flipped horizontally.
- # - If the top edge of the crop rectangle is below its bottom edge, the object
- # will be flipped vertically.
- # - If all offsets and rotation angle is 0, the object is not cropped.
- #
- # After cropping, the content in the crop rectangle will be stretched to fit
- # its container.
- "leftOffset": 3.14, # The offset specifies the left edge of the crop rectangle that is located to
- # the right of the original bounding rectangle left edge, relative to the
- # object's original width.
- "angle": 3.14, # The rotation angle of the crop window around its center, in radians.
- # Rotation angle is applied after the offset.
- "rightOffset": 3.14, # The offset specifies the right edge of the crop rectangle that is located
- # to the left of the original bounding rectangle right edge, relative to the
- # object's original width.
- "bottomOffset": 3.14, # The offset specifies the bottom edge of the crop rectangle that is located
- # above the original bounding rectangle bottom edge, relative to the object's
- # original height.
- "topOffset": 3.14, # The offset specifies the top edge of the crop rectangle that is located
- # below the original bounding rectangle top edge, relative to the object's
- # original height.
- },
- "shadow": { # The shadow properties of a page element. # The shadow of the image. If not set, the image has no shadow. This property
- # is read-only.
- #
- # If these fields are unset, they may be inherited from a parent placeholder
- # if it exists. If there is no parent, the fields will default to the value
- # used for new page elements created in the Slides editor, which may depend on
- # the page element kind.
- "color": { # A themeable solid color value. # The shadow color value.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- "transform": { # AffineTransform uses a 3x3 matrix with an implied last row of [ 0 0 1 ] # Transform that encodes the translate, scale, and skew of the shadow,
- # relative to the alignment position.
- # to transform source coordinates (x,y) into destination coordinates (x', y')
- # according to:
- #
- # x' x = shear_y scale_y translate_y
- # 1 [ 1 ]
- #
- # After transformation,
- #
- # x' = scale_x * x + shear_x * y + translate_x;
- # y' = scale_y * y + shear_y * x + translate_y;
- #
- # This message is therefore composed of these six matrix elements.
- "translateX": 3.14, # The X coordinate translation element.
- "translateY": 3.14, # The Y coordinate translation element.
- "scaleX": 3.14, # The X coordinate scaling element.
- "scaleY": 3.14, # The Y coordinate scaling element.
- "shearY": 3.14, # The Y coordinate shearing element.
- "shearX": 3.14, # The X coordinate shearing element.
- "unit": "A String", # The units for translate elements.
- },
- "propertyState": "A String", # The shadow property state.
- #
- # Updating the the shadow on a page element will implicitly update this field
- # to `RENDERED`, unless another value is specified in the same request. To
- # have no shadow on a page element, set this field to `NOT_RENDERED`. In this
- # case, any other shadow fields set in the same request will be ignored.
- "blurRadius": { # A magnitude in a single direction in the specified units. # The radius of the shadow blur. The larger the radius, the more diffuse the
- # shadow becomes.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
- "alpha": 3.14, # The alpha of the shadow's color, from 0.0 to 1.0.
- "type": "A String", # The type of the shadow.
- "alignment": "A String", # The alignment point of the shadow, that sets the origin for translate,
- # scale and skew of the shadow.
- "rotateWithShape": True or False, # Whether the shadow should rotate with the shape.
- },
- "contrast": 3.14, # The contrast effect of the image. The value should be in the interval
- # [-1.0, 1.0], where 0 means no effect. This property is read-only.
- },
- },
- "transform": { # AffineTransform uses a 3x3 matrix with an implied last row of [ 0 0 1 ] # The transform of the page element.
- # to transform source coordinates (x,y) into destination coordinates (x', y')
- # according to:
- #
- # x' x = shear_y scale_y translate_y
- # 1 [ 1 ]
- #
- # After transformation,
- #
- # x' = scale_x * x + shear_x * y + translate_x;
- # y' = scale_y * y + shear_y * x + translate_y;
- #
- # This message is therefore composed of these six matrix elements.
- "translateX": 3.14, # The X coordinate translation element.
- "translateY": 3.14, # The Y coordinate translation element.
- "scaleX": 3.14, # The X coordinate scaling element.
- "scaleY": 3.14, # The Y coordinate scaling element.
- "shearY": 3.14, # The Y coordinate shearing element.
- "shearX": 3.14, # The X coordinate shearing element.
- "unit": "A String", # The units for translate elements.
- },
- "shape": { # A PageElement kind representing a # A generic shape.
- # generic shape that does not have a more specific classification.
- "text": { # The general text content. The text must reside in a compatible shape (e.g. # The text content of the shape.
- # text box or rectangle) or a table cell in a page.
- "lists": { # The bulleted lists contained in this text, keyed by list ID.
- "a_key": { # A List describes the look and feel of bullets belonging to paragraphs
- # associated with a list. A paragraph that is part of a list has an implicit
- # reference to that list's ID.
- "nestingLevel": { # A map of nesting levels to the properties of bullets at the associated
- # level. A list has at most nine levels of nesting, so the possible values
- # for the keys of this map are 0 through 8, inclusive.
- "a_key": { # Contains properties describing the look and feel of a list bullet at a given
- # level of nesting.
- "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The style of a bullet at this level of nesting.
- #
- # If this text is contained in a shape with a parent placeholder, then these text styles may be
- # inherited from the parent. Which text styles are inherited depend on the
- # nesting level of lists:
- #
- # * A text run in a paragraph that is not in a list will inherit its text style
- # from the the newline character in the paragraph at the 0 nesting level of
- # the list inside the parent placeholder.
- # * A text run in a paragraph that is in a list will inherit its text style
- # from the newline character in the paragraph at its corresponding nesting
- # level of the list inside the parent placeholder.
- #
- # Inherited text styles are represented as unset fields in this message. If
- # text is contained in a shape without a parent placeholder, unsetting these
- # fields will revert the style to a value matching the defaults in the Slides
- # editor.
- "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- "bold": True or False, # Whether or not the text is rendered as bold.
- "baselineOffset": "A String", # The text's vertical offset from its normal position.
- #
- # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
- # rendered in a smaller font size, computed based on the `font_size` field.
- # The `font_size` itself is not affected by changes in this field.
- "strikethrough": True or False, # Whether or not the text is struck through.
- "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").
- },
- "smallCaps": True or False, # Whether or not the text is in small capital letters.
- "fontFamily": "A String", # The font family of the text.
- #
- # The font family can be any font from the Font menu in Slides or from
- # [Google Fonts] (https://fonts.google.com/). If the font name is
- # unrecognized, the text is rendered in `Arial`.
- #
- # Some fonts can affect the weight of the text. If an update request
- # specifies values for both `font_family` and `bold`, the explicitly-set
- # `bold` value is used.
- "italic": True or False, # Whether or not the text is italicized.
- "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
- # are not inherited from parent text.
- #
- # Changing the link in an update request causes some other changes to the
- # text style of the range:
- #
- # * When setting a link, the text foreground color will be set to
- # ThemeColorType.HYPERLINK and the text will
- # be underlined. If these fields are modified in the same
- # request, those values will be used instead of the link defaults.
- # * Setting a link on a text range that overlaps with an existing link will
- # also update the existing link to point to the new URL.
- # * Links are not settable on newline characters. As a result, setting a link
- # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
- # will separate the newline character(s) into their own text runs. The
- # link will be applied separately to the runs before and after the newline.
- # * Removing a link will update the text style of the range to match the
- # style of the preceding text (or the default text styles if the preceding
- # text is another link) unless different styles are being set in the same
- # request.
- "url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
- # in the presentation. There may not be a slide at this index.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
- "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
- # addressed by its position.
- },
- "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
- "underline": True or False, # Whether or not the text is underlined.
- },
- },
- },
- "listId": "A String", # The ID of the list.
- },
- },
- "textElements": [ # The text contents broken down into its component parts, including styling
- # information. This property is read-only.
- { # A TextElement describes the content of a range of indices in the text content
- # of a Shape or TableCell.
- "autoText": { # A TextElement kind that represents auto text. # A TextElement representing a spot in the text that is dynamically
- # replaced with content that can change over time.
- "content": "A String", # The rendered content of this auto text, if available.
- "style": { # Represents the styling that can be applied to a TextRun. # The styling applied to this auto text.
- #
- # If this text is contained in a shape with a parent placeholder, then these text styles may be
- # inherited from the parent. Which text styles are inherited depend on the
- # nesting level of lists:
- #
- # * A text run in a paragraph that is not in a list will inherit its text style
- # from the the newline character in the paragraph at the 0 nesting level of
- # the list inside the parent placeholder.
- # * A text run in a paragraph that is in a list will inherit its text style
- # from the newline character in the paragraph at its corresponding nesting
- # level of the list inside the parent placeholder.
- #
- # Inherited text styles are represented as unset fields in this message. If
- # text is contained in a shape without a parent placeholder, unsetting these
- # fields will revert the style to a value matching the defaults in the Slides
- # editor.
- "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- "bold": True or False, # Whether or not the text is rendered as bold.
- "baselineOffset": "A String", # The text's vertical offset from its normal position.
- #
- # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
- # rendered in a smaller font size, computed based on the `font_size` field.
- # The `font_size` itself is not affected by changes in this field.
- "strikethrough": True or False, # Whether or not the text is struck through.
- "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").
- },
- "smallCaps": True or False, # Whether or not the text is in small capital letters.
- "fontFamily": "A String", # The font family of the text.
- #
- # The font family can be any font from the Font menu in Slides or from
- # [Google Fonts] (https://fonts.google.com/). If the font name is
- # unrecognized, the text is rendered in `Arial`.
- #
- # Some fonts can affect the weight of the text. If an update request
- # specifies values for both `font_family` and `bold`, the explicitly-set
- # `bold` value is used.
- "italic": True or False, # Whether or not the text is italicized.
- "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
- # are not inherited from parent text.
- #
- # Changing the link in an update request causes some other changes to the
- # text style of the range:
- #
- # * When setting a link, the text foreground color will be set to
- # ThemeColorType.HYPERLINK and the text will
- # be underlined. If these fields are modified in the same
- # request, those values will be used instead of the link defaults.
- # * Setting a link on a text range that overlaps with an existing link will
- # also update the existing link to point to the new URL.
- # * Links are not settable on newline characters. As a result, setting a link
- # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
- # will separate the newline character(s) into their own text runs. The
- # link will be applied separately to the runs before and after the newline.
- # * Removing a link will update the text style of the range to match the
- # style of the preceding text (or the default text styles if the preceding
- # text is another link) unless different styles are being set in the same
- # request.
- "url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
- # in the presentation. There may not be a slide at this index.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
- "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
- # addressed by its position.
- },
- "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
- "underline": True or False, # Whether or not the text is underlined.
- },
- "type": "A String", # The type of this auto text.
- },
- "endIndex": 42, # The zero-based end index of this text element, exclusive, in Unicode code
- # units.
- "startIndex": 42, # The zero-based start index of this text element, in Unicode code units.
- "paragraphMarker": { # A TextElement kind that represents the beginning of a new paragraph. # A marker representing the beginning of a new paragraph.
- #
- # The `start_index` and `end_index` of this TextElement represent the
- # range of the paragraph. Other TextElements with an index range contained
- # inside this paragraph's range are considered to be part of this
- # paragraph. The range of indices of two separate paragraphs will never
- # overlap.
- "style": { # Styles that apply to a whole paragraph. # The paragraph's style
- #
- # If this text is contained in a shape with a parent placeholder, then these paragraph styles may be
- # inherited from the parent. Which paragraph styles are inherited depend on the
- # nesting level of lists:
- #
- # * A paragraph not in a list will inherit its paragraph style from the
- # paragraph at the 0 nesting level of the list inside the parent placeholder.
- # * A paragraph in a list will inherit its paragraph style from the paragraph
- # at its corresponding nesting level of the list inside the parent
- # placeholder.
- #
- # Inherited paragraph styles are represented as unset fields in this message.
- "spacingMode": "A String", # The spacing mode for the paragraph.
- "direction": "A String", # The text direction of this paragraph. If unset, the value defaults to
- # LEFT_TO_RIGHT since
- # text direction is not inherited.
- "spaceBelow": { # A magnitude in a single direction in the specified units. # The amount of extra space above the paragraph. If unset, the value is
- # inherited from the parent.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
- "lineSpacing": 3.14, # The amount of space between lines, as a percentage of normal, where normal
- # is represented as 100.0. If unset, the value is inherited from the parent.
- "indentStart": { # A magnitude in a single direction in the specified units. # The amount indentation for the paragraph on the side that corresponds to
- # the start of the text, based on the current text direction. If unset, the
- # value is inherited from the parent.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
- "spaceAbove": { # A magnitude in a single direction in the specified units. # The amount of extra space above the paragraph. If unset, the value is
- # inherited from the parent.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
- "indentEnd": { # A magnitude in a single direction in the specified units. # The amount indentation for the paragraph on the side that corresponds to
- # the end of the text, based on the current text direction. If unset, the
- # value is inherited from the parent.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
- "indentFirstLine": { # A magnitude in a single direction in the specified units. # The amount of indentation for the start of the first line of the paragraph.
- # If unset, the value is inherited from the parent.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
- "alignment": "A String", # The text alignment for this paragraph.
- },
- "bullet": { # Describes the bullet of a paragraph. # The bullet for this paragraph. If not present, the paragraph does not
- # belong to a list.
- "nestingLevel": 42, # The nesting level of this paragraph in the list.
- "listId": "A String", # The ID of the list this paragraph belongs to.
- "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The paragraph specific text style applied to this bullet.
- #
- # If this text is contained in a shape with a parent placeholder, then these text styles may be
- # inherited from the parent. Which text styles are inherited depend on the
- # nesting level of lists:
- #
- # * A text run in a paragraph that is not in a list will inherit its text style
- # from the the newline character in the paragraph at the 0 nesting level of
- # the list inside the parent placeholder.
- # * A text run in a paragraph that is in a list will inherit its text style
- # from the newline character in the paragraph at its corresponding nesting
- # level of the list inside the parent placeholder.
- #
- # Inherited text styles are represented as unset fields in this message. If
- # text is contained in a shape without a parent placeholder, unsetting these
- # fields will revert the style to a value matching the defaults in the Slides
- # editor.
- "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- "bold": True or False, # Whether or not the text is rendered as bold.
- "baselineOffset": "A String", # The text's vertical offset from its normal position.
- #
- # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
- # rendered in a smaller font size, computed based on the `font_size` field.
- # The `font_size` itself is not affected by changes in this field.
- "strikethrough": True or False, # Whether or not the text is struck through.
- "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").
- },
- "smallCaps": True or False, # Whether or not the text is in small capital letters.
- "fontFamily": "A String", # The font family of the text.
- #
- # The font family can be any font from the Font menu in Slides or from
- # [Google Fonts] (https://fonts.google.com/). If the font name is
- # unrecognized, the text is rendered in `Arial`.
- #
- # Some fonts can affect the weight of the text. If an update request
- # specifies values for both `font_family` and `bold`, the explicitly-set
- # `bold` value is used.
- "italic": True or False, # Whether or not the text is italicized.
- "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
- # are not inherited from parent text.
- #
- # Changing the link in an update request causes some other changes to the
- # text style of the range:
- #
- # * When setting a link, the text foreground color will be set to
- # ThemeColorType.HYPERLINK and the text will
- # be underlined. If these fields are modified in the same
- # request, those values will be used instead of the link defaults.
- # * Setting a link on a text range that overlaps with an existing link will
- # also update the existing link to point to the new URL.
- # * Links are not settable on newline characters. As a result, setting a link
- # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
- # will separate the newline character(s) into their own text runs. The
- # link will be applied separately to the runs before and after the newline.
- # * Removing a link will update the text style of the range to match the
- # style of the preceding text (or the default text styles if the preceding
- # text is another link) unless different styles are being set in the same
- # request.
- "url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
- # in the presentation. There may not be a slide at this index.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
- "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
- # addressed by its position.
- },
- "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
- "underline": True or False, # Whether or not the text is underlined.
- },
- "glyph": "A String", # The rendered bullet glyph for this paragraph.
- },
- },
- "textRun": { # A TextElement kind that represents a run of text that all has the same # A TextElement representing a run of text where all of the characters
- # in the run have the same TextStyle.
- #
- # The `start_index` and `end_index` of TextRuns will always be fully
- # contained in the index range of a single `paragraph_marker` TextElement.
- # In other words, a TextRun will never span multiple paragraphs.
- # styling.
- "content": "A String", # The text of this run.
- "style": { # Represents the styling that can be applied to a TextRun. # The styling applied to this run.
- #
- # If this text is contained in a shape with a parent placeholder, then these text styles may be
- # inherited from the parent. Which text styles are inherited depend on the
- # nesting level of lists:
- #
- # * A text run in a paragraph that is not in a list will inherit its text style
- # from the the newline character in the paragraph at the 0 nesting level of
- # the list inside the parent placeholder.
- # * A text run in a paragraph that is in a list will inherit its text style
- # from the newline character in the paragraph at its corresponding nesting
- # level of the list inside the parent placeholder.
- #
- # Inherited text styles are represented as unset fields in this message. If
- # text is contained in a shape without a parent placeholder, unsetting these
- # fields will revert the style to a value matching the defaults in the Slides
- # editor.
- "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- "bold": True or False, # Whether or not the text is rendered as bold.
- "baselineOffset": "A String", # The text's vertical offset from its normal position.
- #
- # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
- # rendered in a smaller font size, computed based on the `font_size` field.
- # The `font_size` itself is not affected by changes in this field.
- "strikethrough": True or False, # Whether or not the text is struck through.
- "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").
- },
- "smallCaps": True or False, # Whether or not the text is in small capital letters.
- "fontFamily": "A String", # The font family of the text.
- #
- # The font family can be any font from the Font menu in Slides or from
- # [Google Fonts] (https://fonts.google.com/). If the font name is
- # unrecognized, the text is rendered in `Arial`.
- #
- # Some fonts can affect the weight of the text. If an update request
- # specifies values for both `font_family` and `bold`, the explicitly-set
- # `bold` value is used.
- "italic": True or False, # Whether or not the text is italicized.
- "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
- # are not inherited from parent text.
- #
- # Changing the link in an update request causes some other changes to the
- # text style of the range:
- #
- # * When setting a link, the text foreground color will be set to
- # ThemeColorType.HYPERLINK and the text will
- # be underlined. If these fields are modified in the same
- # request, those values will be used instead of the link defaults.
- # * Setting a link on a text range that overlaps with an existing link will
- # also update the existing link to point to the new URL.
- # * Links are not settable on newline characters. As a result, setting a link
- # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
- # will separate the newline character(s) into their own text runs. The
- # link will be applied separately to the runs before and after the newline.
- # * Removing a link will update the text style of the range to match the
- # style of the preceding text (or the default text styles if the preceding
- # text is another link) unless different styles are being set in the same
- # request.
- "url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
- # in the presentation. There may not be a slide at this index.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
- "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
- # addressed by its position.
- },
- "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
- "underline": True or False, # Whether or not the text is underlined.
- },
- },
- },
- ],
- },
- "shapeProperties": { # The properties of a Shape. # The properties of the shape.
- #
- # If the shape is a placeholder shape as determined by the
- # placeholder field, then these
- # properties may be inherited from a parent placeholder shape.
- # Determining the rendered value of the property depends on the corresponding
- # property_state field value.
- "shadow": { # The shadow properties of a page element. # The shadow properties of the shape. If unset, the shadow is inherited from
- # a parent placeholder if it exists. If the shape has no parent, then the
- # default shadow matches the defaults for new shapes created in the Slides
- # editor. This property is read-only.
- #
- # If these fields are unset, they may be inherited from a parent placeholder
- # if it exists. If there is no parent, the fields will default to the value
- # used for new page elements created in the Slides editor, which may depend on
- # the page element kind.
- "color": { # A themeable solid color value. # The shadow color value.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- "transform": { # AffineTransform uses a 3x3 matrix with an implied last row of [ 0 0 1 ] # Transform that encodes the translate, scale, and skew of the shadow,
- # relative to the alignment position.
- # to transform source coordinates (x,y) into destination coordinates (x', y')
- # according to:
- #
- # x' x = shear_y scale_y translate_y
- # 1 [ 1 ]
- #
- # After transformation,
- #
- # x' = scale_x * x + shear_x * y + translate_x;
- # y' = scale_y * y + shear_y * x + translate_y;
- #
- # This message is therefore composed of these six matrix elements.
- "translateX": 3.14, # The X coordinate translation element.
- "translateY": 3.14, # The Y coordinate translation element.
- "scaleX": 3.14, # The X coordinate scaling element.
- "scaleY": 3.14, # The Y coordinate scaling element.
- "shearY": 3.14, # The Y coordinate shearing element.
- "shearX": 3.14, # The X coordinate shearing element.
- "unit": "A String", # The units for translate elements.
- },
- "propertyState": "A String", # The shadow property state.
- #
- # Updating the the shadow on a page element will implicitly update this field
- # to `RENDERED`, unless another value is specified in the same request. To
- # have no shadow on a page element, set this field to `NOT_RENDERED`. In this
- # case, any other shadow fields set in the same request will be ignored.
- "blurRadius": { # A magnitude in a single direction in the specified units. # The radius of the shadow blur. The larger the radius, the more diffuse the
- # shadow becomes.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
- "alpha": 3.14, # The alpha of the shadow's color, from 0.0 to 1.0.
- "type": "A String", # The type of the shadow.
- "alignment": "A String", # The alignment point of the shadow, that sets the origin for translate,
- # scale and skew of the shadow.
- "rotateWithShape": True or False, # Whether the shadow should rotate with the shape.
- },
- "shapeBackgroundFill": { # The shape background fill. # The background fill of the shape. If unset, the background fill is
- # inherited from a parent placeholder if it exists. If the shape has no
- # parent, then the default background fill depends on the shape type,
- # matching the defaults for new shapes created in the Slides editor.
- "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill.
- # specified color value.
- #
- # If any field is unset, its value may be inherited from a parent placeholder
- # if it exists.
- "color": { # A themeable solid color value. # The color value of the solid fill.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel.
- # That is, the final pixel color is defined by the equation:
- #
- # pixel color = alpha * (color) + (1.0 - alpha) * (background color)
- #
- # This means that a value of 1.0 corresponds to a solid color, whereas
- # a value of 0.0 corresponds to a completely transparent color.
- },
- "propertyState": "A String", # The background fill property state.
- #
- # Updating the the fill on a shape will implicitly update this field to
- # `RENDERED`, unless another value is specified in the same request. To
- # have no fill on a shape, set this field to `NOT_RENDERED`. In this case,
- # any other fill fields set in the same request will be ignored.
- },
- "link": { # A hypertext link. # The hyperlink destination of the shape. If unset, there is no link. Links
- # are not inherited from parent placeholders.
- "url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
- # in the presentation. There may not be a slide at this index.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
- "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
- # addressed by its position.
- },
- "outline": { # The outline of a PageElement. # The outline of the shape. If unset, the outline is inherited from a
- # parent placeholder if it exists. If the shape has no parent, then the
- # default outline depends on the shape type, matching the defaults for
- # new shapes created in the Slides editor.
- #
- # If these fields are unset, they may be inherited from a parent placeholder
- # if it exists. If there is no parent, the fields will default to the value
- # used for new page elements created in the Slides editor, which may depend on
- # the page element kind.
- "outlineFill": { # The fill of the outline. # The fill of the outline.
- "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill.
- # specified color value.
- #
- # If any field is unset, its value may be inherited from a parent placeholder
- # if it exists.
- "color": { # A themeable solid color value. # The color value of the solid fill.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel.
- # That is, the final pixel color is defined by the equation:
- #
- # pixel color = alpha * (color) + (1.0 - alpha) * (background color)
- #
- # This means that a value of 1.0 corresponds to a solid color, whereas
- # a value of 0.0 corresponds to a completely transparent color.
- },
- },
- "propertyState": "A String", # The outline property state.
- #
- # Updating the the outline on a page element will implicitly update this
- # field to`RENDERED`, unless another value is specified in the same request.
- # To have no outline on a page element, set this field to `NOT_RENDERED`. In
- # this case, any other outline fields set in the same request will be
- # ignored.
- "dashStyle": "A String", # The dash style of the outline.
- "weight": { # A magnitude in a single direction in the specified units. # The thickness of the outline.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
- },
- },
- "placeholder": { # The placeholder information that uniquely identifies a placeholder shape. # Placeholders are shapes that are inherit from corresponding placeholders on
- # layouts and masters.
- #
- # If set, the shape is a placeholder shape and any inherited properties
- # can be resolved by looking at the parent placeholder identified by the
- # Placeholder.parent_object_id field.
- "parentObjectId": "A String", # The object ID of this shape's parent placeholder.
- # If unset, the parent placeholder shape does not exist, so the shape does
- # not inherit properties from any other shape.
- "index": 42, # The index of the placeholder. If the same placeholder types are present in
- # the same page, they would have different index values.
- "type": "A String", # The type of the placeholder.
- },
- "shapeType": "A String", # The type of the shape.
- },
- "sheetsChart": { # A PageElement kind representing # A linked chart embedded from Google Sheets. Unlinked charts are
- # represented as images.
- # a linked chart embedded from Google Sheets.
- "contentUrl": "A String", # The URL of an image of the embedded chart, with a default lifetime of 30
- # minutes. This URL is tagged with the account of the requester. Anyone with
- # the URL effectively accesses the image as the original requester. Access to
- # the image may be lost if the presentation's sharing settings change.
- "spreadsheetId": "A String", # The ID of the Google Sheets spreadsheet that contains the source chart.
- "sheetsChartProperties": { # The properties of the SheetsChart. # The properties of the Sheets chart.
- "chartImageProperties": { # The properties of the Image. # The properties of the embedded chart image.
- "outline": { # The outline of a PageElement. # The outline of the image. If not set, the the image has no outline.
- #
- # If these fields are unset, they may be inherited from a parent placeholder
- # if it exists. If there is no parent, the fields will default to the value
- # used for new page elements created in the Slides editor, which may depend on
- # the page element kind.
- "outlineFill": { # The fill of the outline. # The fill of the outline.
- "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill.
- # specified color value.
- #
- # If any field is unset, its value may be inherited from a parent placeholder
- # if it exists.
- "color": { # A themeable solid color value. # The color value of the solid fill.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel.
- # That is, the final pixel color is defined by the equation:
- #
- # pixel color = alpha * (color) + (1.0 - alpha) * (background color)
- #
- # This means that a value of 1.0 corresponds to a solid color, whereas
- # a value of 0.0 corresponds to a completely transparent color.
- },
- },
- "propertyState": "A String", # The outline property state.
- #
- # Updating the the outline on a page element will implicitly update this
- # field to`RENDERED`, unless another value is specified in the same request.
- # To have no outline on a page element, set this field to `NOT_RENDERED`. In
- # this case, any other outline fields set in the same request will be
- # ignored.
- "dashStyle": "A String", # The dash style of the outline.
- "weight": { # A magnitude in a single direction in the specified units. # The thickness of the outline.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
- },
- "brightness": 3.14, # The brightness effect of the image. The value should be in the interval
- # [-1.0, 1.0], where 0 means no effect. This property is read-only.
- "recolor": { # A recolor effect applied on an image. # The recolor effect of the image. If not set, the image is not recolored.
- # This property is read-only.
- "recolorStops": [ # The recolor effect is represented by a gradient, which is a list of color
- # stops.
- #
- # The colors in the gradient will replace the corresponding colors at
- # the same position in the color palette and apply to the image. This
- # property is read-only.
- { # A color and position in a gradient band.
- "color": { # A themeable solid color value. # The color of the gradient stop.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- "alpha": 3.14, # The alpha value of this color in the gradient band. Defaults to 1.0,
- # fully opaque.
- "position": 3.14, # The relative position of the color stop in the gradient band measured
- # in percentage. The value should be in the interval [0.0, 1.0].
- },
- ],
- "name": "A String", # The name of the recolor effect.
- #
- # The name is determined from the `recolor_stops` by matching the gradient
- # against the colors in the page's current color scheme. This property is
- # read-only.
- },
- "link": { # A hypertext link. # The hyperlink destination of the image. If unset, there is no link.
- "url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
- # in the presentation. There may not be a slide at this index.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
- "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
- # addressed by its position.
- },
- "transparency": 3.14, # The transparency effect of the image. The value should be in the interval
- # [0.0, 1.0], where 0 means no effect and 1 means completely transparent.
- # This property is read-only.
- "cropProperties": { # The crop properties of an object enclosed in a container. For example, an # The crop properties of the image. If not set, the image is not cropped.
- # This property is read-only.
- # Image.
- #
- # The crop properties is represented by the offsets of four edges which define
- # a crop rectangle. The offsets are measured in percentage from the
- # corresponding edges of the object's original bounding rectangle towards
- # inside, relative to the object's original dimensions.
- #
- # - If the offset is in the interval (0, 1), the corresponding edge of crop
- # rectangle is positioned inside of the object's original bounding rectangle.
- # - If the offset is negative or greater than 1, the corresponding edge of crop
- # rectangle is positioned outside of the object's original bounding rectangle.
- # - If the left edge of the crop rectangle is on the right side of its right
- # edge, the object will be flipped horizontally.
- # - If the top edge of the crop rectangle is below its bottom edge, the object
- # will be flipped vertically.
- # - If all offsets and rotation angle is 0, the object is not cropped.
- #
- # After cropping, the content in the crop rectangle will be stretched to fit
- # its container.
- "leftOffset": 3.14, # The offset specifies the left edge of the crop rectangle that is located to
- # the right of the original bounding rectangle left edge, relative to the
- # object's original width.
- "angle": 3.14, # The rotation angle of the crop window around its center, in radians.
- # Rotation angle is applied after the offset.
- "rightOffset": 3.14, # The offset specifies the right edge of the crop rectangle that is located
- # to the left of the original bounding rectangle right edge, relative to the
- # object's original width.
- "bottomOffset": 3.14, # The offset specifies the bottom edge of the crop rectangle that is located
- # above the original bounding rectangle bottom edge, relative to the object's
- # original height.
- "topOffset": 3.14, # The offset specifies the top edge of the crop rectangle that is located
- # below the original bounding rectangle top edge, relative to the object's
- # original height.
- },
- "shadow": { # The shadow properties of a page element. # The shadow of the image. If not set, the image has no shadow. This property
- # is read-only.
- #
- # If these fields are unset, they may be inherited from a parent placeholder
- # if it exists. If there is no parent, the fields will default to the value
- # used for new page elements created in the Slides editor, which may depend on
- # the page element kind.
- "color": { # A themeable solid color value. # The shadow color value.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- "transform": { # AffineTransform uses a 3x3 matrix with an implied last row of [ 0 0 1 ] # Transform that encodes the translate, scale, and skew of the shadow,
- # relative to the alignment position.
- # to transform source coordinates (x,y) into destination coordinates (x', y')
- # according to:
- #
- # x' x = shear_y scale_y translate_y
- # 1 [ 1 ]
- #
- # After transformation,
- #
- # x' = scale_x * x + shear_x * y + translate_x;
- # y' = scale_y * y + shear_y * x + translate_y;
- #
- # This message is therefore composed of these six matrix elements.
- "translateX": 3.14, # The X coordinate translation element.
- "translateY": 3.14, # The Y coordinate translation element.
- "scaleX": 3.14, # The X coordinate scaling element.
- "scaleY": 3.14, # The Y coordinate scaling element.
- "shearY": 3.14, # The Y coordinate shearing element.
- "shearX": 3.14, # The X coordinate shearing element.
- "unit": "A String", # The units for translate elements.
- },
- "propertyState": "A String", # The shadow property state.
- #
- # Updating the the shadow on a page element will implicitly update this field
- # to `RENDERED`, unless another value is specified in the same request. To
- # have no shadow on a page element, set this field to `NOT_RENDERED`. In this
- # case, any other shadow fields set in the same request will be ignored.
- "blurRadius": { # A magnitude in a single direction in the specified units. # The radius of the shadow blur. The larger the radius, the more diffuse the
- # shadow becomes.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
- "alpha": 3.14, # The alpha of the shadow's color, from 0.0 to 1.0.
- "type": "A String", # The type of the shadow.
- "alignment": "A String", # The alignment point of the shadow, that sets the origin for translate,
- # scale and skew of the shadow.
- "rotateWithShape": True or False, # Whether the shadow should rotate with the shape.
- },
- "contrast": 3.14, # The contrast effect of the image. The value should be in the interval
- # [-1.0, 1.0], where 0 means no effect. This property is read-only.
- },
- },
- "chartId": 42, # The ID of the specific chart in the Google Sheets spreadsheet that is
- # embedded.
- },
- "video": { # A PageElement kind representing a # A video page element.
- # video.
- "url": "A String", # An URL to a video. The URL is valid as long as the source video
- # exists and sharing settings do not change.
- "videoProperties": { # The properties of the Video. # The properties of the video.
- "outline": { # The outline of a PageElement. # The outline of the video. The default outline matches the defaults for new
- # videos created in the Slides editor.
- #
- # If these fields are unset, they may be inherited from a parent placeholder
- # if it exists. If there is no parent, the fields will default to the value
- # used for new page elements created in the Slides editor, which may depend on
- # the page element kind.
- "outlineFill": { # The fill of the outline. # The fill of the outline.
- "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill.
- # specified color value.
- #
- # If any field is unset, its value may be inherited from a parent placeholder
- # if it exists.
- "color": { # A themeable solid color value. # The color value of the solid fill.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel.
- # That is, the final pixel color is defined by the equation:
- #
- # pixel color = alpha * (color) + (1.0 - alpha) * (background color)
- #
- # This means that a value of 1.0 corresponds to a solid color, whereas
- # a value of 0.0 corresponds to a completely transparent color.
- },
- },
- "propertyState": "A String", # The outline property state.
- #
- # Updating the the outline on a page element will implicitly update this
- # field to`RENDERED`, unless another value is specified in the same request.
- # To have no outline on a page element, set this field to `NOT_RENDERED`. In
- # this case, any other outline fields set in the same request will be
- # ignored.
- "dashStyle": "A String", # The dash style of the outline.
- "weight": { # A magnitude in a single direction in the specified units. # The thickness of the outline.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
- },
- },
- "id": "A String", # The video source's unique identifier for this video.
- "source": "A String", # The video source.
- },
- "elementGroup": { # A PageElement kind representing a # A collection of page elements joined as a single unit.
- # joined collection of PageElements.
- "children": [ # The collection of elements in the group. The minimum size of a group is 2.
- # Object with schema name: PageElement
- ],
- },
- "table": { # A PageElement kind representing a # A table page element.
- # table.
- "tableColumns": [ # Properties of each column.
- { # Properties of each column in a table.
- "columnWidth": { # A magnitude in a single direction in the specified units. # Width of a column.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
- },
- ],
- "tableRows": [ # Properties and contents of each row.
- #
- # Cells that span multiple rows are contained in only one of these rows and
- # have a row_span greater
- # than 1.
- { # Properties and contents of each row in a table.
- "tableCells": [ # Properties and contents of each cell.
- #
- # Cells that span multiple columns are represented only once with a
- # column_span greater
- # than 1. As a result, the length of this collection does not always match
- # the number of columns of the entire table.
- { # Properties and contents of each table cell.
- "text": { # The general text content. The text must reside in a compatible shape (e.g. # The text content of the cell.
- # text box or rectangle) or a table cell in a page.
- "lists": { # The bulleted lists contained in this text, keyed by list ID.
- "a_key": { # A List describes the look and feel of bullets belonging to paragraphs
- # associated with a list. A paragraph that is part of a list has an implicit
- # reference to that list's ID.
- "nestingLevel": { # A map of nesting levels to the properties of bullets at the associated
- # level. A list has at most nine levels of nesting, so the possible values
- # for the keys of this map are 0 through 8, inclusive.
- "a_key": { # Contains properties describing the look and feel of a list bullet at a given
- # level of nesting.
- "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The style of a bullet at this level of nesting.
- #
- # If this text is contained in a shape with a parent placeholder, then these text styles may be
- # inherited from the parent. Which text styles are inherited depend on the
- # nesting level of lists:
- #
- # * A text run in a paragraph that is not in a list will inherit its text style
- # from the the newline character in the paragraph at the 0 nesting level of
- # the list inside the parent placeholder.
- # * A text run in a paragraph that is in a list will inherit its text style
- # from the newline character in the paragraph at its corresponding nesting
- # level of the list inside the parent placeholder.
- #
- # Inherited text styles are represented as unset fields in this message. If
- # text is contained in a shape without a parent placeholder, unsetting these
- # fields will revert the style to a value matching the defaults in the Slides
- # editor.
- "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- "bold": True or False, # Whether or not the text is rendered as bold.
- "baselineOffset": "A String", # The text's vertical offset from its normal position.
- #
- # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
- # rendered in a smaller font size, computed based on the `font_size` field.
- # The `font_size` itself is not affected by changes in this field.
- "strikethrough": True or False, # Whether or not the text is struck through.
- "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").
- },
- "smallCaps": True or False, # Whether or not the text is in small capital letters.
- "fontFamily": "A String", # The font family of the text.
- #
- # The font family can be any font from the Font menu in Slides or from
- # [Google Fonts] (https://fonts.google.com/). If the font name is
- # unrecognized, the text is rendered in `Arial`.
- #
- # Some fonts can affect the weight of the text. If an update request
- # specifies values for both `font_family` and `bold`, the explicitly-set
- # `bold` value is used.
- "italic": True or False, # Whether or not the text is italicized.
- "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
- # are not inherited from parent text.
- #
- # Changing the link in an update request causes some other changes to the
- # text style of the range:
- #
- # * When setting a link, the text foreground color will be set to
- # ThemeColorType.HYPERLINK and the text will
- # be underlined. If these fields are modified in the same
- # request, those values will be used instead of the link defaults.
- # * Setting a link on a text range that overlaps with an existing link will
- # also update the existing link to point to the new URL.
- # * Links are not settable on newline characters. As a result, setting a link
- # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
- # will separate the newline character(s) into their own text runs. The
- # link will be applied separately to the runs before and after the newline.
- # * Removing a link will update the text style of the range to match the
- # style of the preceding text (or the default text styles if the preceding
- # text is another link) unless different styles are being set in the same
- # request.
- "url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
- # in the presentation. There may not be a slide at this index.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
- "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
- # addressed by its position.
- },
- "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
- "underline": True or False, # Whether or not the text is underlined.
- },
- },
- },
- "listId": "A String", # The ID of the list.
- },
- },
- "textElements": [ # The text contents broken down into its component parts, including styling
- # information. This property is read-only.
- { # A TextElement describes the content of a range of indices in the text content
- # of a Shape or TableCell.
- "autoText": { # A TextElement kind that represents auto text. # A TextElement representing a spot in the text that is dynamically
- # replaced with content that can change over time.
- "content": "A String", # The rendered content of this auto text, if available.
- "style": { # Represents the styling that can be applied to a TextRun. # The styling applied to this auto text.
- #
- # If this text is contained in a shape with a parent placeholder, then these text styles may be
- # inherited from the parent. Which text styles are inherited depend on the
- # nesting level of lists:
- #
- # * A text run in a paragraph that is not in a list will inherit its text style
- # from the the newline character in the paragraph at the 0 nesting level of
- # the list inside the parent placeholder.
- # * A text run in a paragraph that is in a list will inherit its text style
- # from the newline character in the paragraph at its corresponding nesting
- # level of the list inside the parent placeholder.
- #
- # Inherited text styles are represented as unset fields in this message. If
- # text is contained in a shape without a parent placeholder, unsetting these
- # fields will revert the style to a value matching the defaults in the Slides
- # editor.
- "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- "bold": True or False, # Whether or not the text is rendered as bold.
- "baselineOffset": "A String", # The text's vertical offset from its normal position.
- #
- # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
- # rendered in a smaller font size, computed based on the `font_size` field.
- # The `font_size` itself is not affected by changes in this field.
- "strikethrough": True or False, # Whether or not the text is struck through.
- "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").
- },
- "smallCaps": True or False, # Whether or not the text is in small capital letters.
- "fontFamily": "A String", # The font family of the text.
- #
- # The font family can be any font from the Font menu in Slides or from
- # [Google Fonts] (https://fonts.google.com/). If the font name is
- # unrecognized, the text is rendered in `Arial`.
- #
- # Some fonts can affect the weight of the text. If an update request
- # specifies values for both `font_family` and `bold`, the explicitly-set
- # `bold` value is used.
- "italic": True or False, # Whether or not the text is italicized.
- "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
- # are not inherited from parent text.
- #
- # Changing the link in an update request causes some other changes to the
- # text style of the range:
- #
- # * When setting a link, the text foreground color will be set to
- # ThemeColorType.HYPERLINK and the text will
- # be underlined. If these fields are modified in the same
- # request, those values will be used instead of the link defaults.
- # * Setting a link on a text range that overlaps with an existing link will
- # also update the existing link to point to the new URL.
- # * Links are not settable on newline characters. As a result, setting a link
- # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
- # will separate the newline character(s) into their own text runs. The
- # link will be applied separately to the runs before and after the newline.
- # * Removing a link will update the text style of the range to match the
- # style of the preceding text (or the default text styles if the preceding
- # text is another link) unless different styles are being set in the same
- # request.
- "url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
- # in the presentation. There may not be a slide at this index.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
- "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
- # addressed by its position.
- },
- "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
- "underline": True or False, # Whether or not the text is underlined.
- },
- "type": "A String", # The type of this auto text.
- },
- "endIndex": 42, # The zero-based end index of this text element, exclusive, in Unicode code
- # units.
- "startIndex": 42, # The zero-based start index of this text element, in Unicode code units.
- "paragraphMarker": { # A TextElement kind that represents the beginning of a new paragraph. # A marker representing the beginning of a new paragraph.
- #
- # The `start_index` and `end_index` of this TextElement represent the
- # range of the paragraph. Other TextElements with an index range contained
- # inside this paragraph's range are considered to be part of this
- # paragraph. The range of indices of two separate paragraphs will never
- # overlap.
- "style": { # Styles that apply to a whole paragraph. # The paragraph's style
- #
- # If this text is contained in a shape with a parent placeholder, then these paragraph styles may be
- # inherited from the parent. Which paragraph styles are inherited depend on the
- # nesting level of lists:
- #
- # * A paragraph not in a list will inherit its paragraph style from the
- # paragraph at the 0 nesting level of the list inside the parent placeholder.
- # * A paragraph in a list will inherit its paragraph style from the paragraph
- # at its corresponding nesting level of the list inside the parent
- # placeholder.
- #
- # Inherited paragraph styles are represented as unset fields in this message.
- "spacingMode": "A String", # The spacing mode for the paragraph.
- "direction": "A String", # The text direction of this paragraph. If unset, the value defaults to
- # LEFT_TO_RIGHT since
- # text direction is not inherited.
- "spaceBelow": { # A magnitude in a single direction in the specified units. # The amount of extra space above the paragraph. If unset, the value is
- # inherited from the parent.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
- "lineSpacing": 3.14, # The amount of space between lines, as a percentage of normal, where normal
- # is represented as 100.0. If unset, the value is inherited from the parent.
- "indentStart": { # A magnitude in a single direction in the specified units. # The amount indentation for the paragraph on the side that corresponds to
- # the start of the text, based on the current text direction. If unset, the
- # value is inherited from the parent.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
- "spaceAbove": { # A magnitude in a single direction in the specified units. # The amount of extra space above the paragraph. If unset, the value is
- # inherited from the parent.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
- "indentEnd": { # A magnitude in a single direction in the specified units. # The amount indentation for the paragraph on the side that corresponds to
- # the end of the text, based on the current text direction. If unset, the
- # value is inherited from the parent.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
- "indentFirstLine": { # A magnitude in a single direction in the specified units. # The amount of indentation for the start of the first line of the paragraph.
- # If unset, the value is inherited from the parent.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
- "alignment": "A String", # The text alignment for this paragraph.
- },
- "bullet": { # Describes the bullet of a paragraph. # The bullet for this paragraph. If not present, the paragraph does not
- # belong to a list.
- "nestingLevel": 42, # The nesting level of this paragraph in the list.
- "listId": "A String", # The ID of the list this paragraph belongs to.
- "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The paragraph specific text style applied to this bullet.
- #
- # If this text is contained in a shape with a parent placeholder, then these text styles may be
- # inherited from the parent. Which text styles are inherited depend on the
- # nesting level of lists:
- #
- # * A text run in a paragraph that is not in a list will inherit its text style
- # from the the newline character in the paragraph at the 0 nesting level of
- # the list inside the parent placeholder.
- # * A text run in a paragraph that is in a list will inherit its text style
- # from the newline character in the paragraph at its corresponding nesting
- # level of the list inside the parent placeholder.
- #
- # Inherited text styles are represented as unset fields in this message. If
- # text is contained in a shape without a parent placeholder, unsetting these
- # fields will revert the style to a value matching the defaults in the Slides
- # editor.
- "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- "bold": True or False, # Whether or not the text is rendered as bold.
- "baselineOffset": "A String", # The text's vertical offset from its normal position.
- #
- # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
- # rendered in a smaller font size, computed based on the `font_size` field.
- # The `font_size` itself is not affected by changes in this field.
- "strikethrough": True or False, # Whether or not the text is struck through.
- "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").
- },
- "smallCaps": True or False, # Whether or not the text is in small capital letters.
- "fontFamily": "A String", # The font family of the text.
- #
- # The font family can be any font from the Font menu in Slides or from
- # [Google Fonts] (https://fonts.google.com/). If the font name is
- # unrecognized, the text is rendered in `Arial`.
- #
- # Some fonts can affect the weight of the text. If an update request
- # specifies values for both `font_family` and `bold`, the explicitly-set
- # `bold` value is used.
- "italic": True or False, # Whether or not the text is italicized.
- "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
- # are not inherited from parent text.
- #
- # Changing the link in an update request causes some other changes to the
- # text style of the range:
- #
- # * When setting a link, the text foreground color will be set to
- # ThemeColorType.HYPERLINK and the text will
- # be underlined. If these fields are modified in the same
- # request, those values will be used instead of the link defaults.
- # * Setting a link on a text range that overlaps with an existing link will
- # also update the existing link to point to the new URL.
- # * Links are not settable on newline characters. As a result, setting a link
- # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
- # will separate the newline character(s) into their own text runs. The
- # link will be applied separately to the runs before and after the newline.
- # * Removing a link will update the text style of the range to match the
- # style of the preceding text (or the default text styles if the preceding
- # text is another link) unless different styles are being set in the same
- # request.
- "url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
- # in the presentation. There may not be a slide at this index.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
- "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
- # addressed by its position.
- },
- "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
- "underline": True or False, # Whether or not the text is underlined.
- },
- "glyph": "A String", # The rendered bullet glyph for this paragraph.
- },
- },
- "textRun": { # A TextElement kind that represents a run of text that all has the same # A TextElement representing a run of text where all of the characters
- # in the run have the same TextStyle.
- #
- # The `start_index` and `end_index` of TextRuns will always be fully
- # contained in the index range of a single `paragraph_marker` TextElement.
- # In other words, a TextRun will never span multiple paragraphs.
- # styling.
- "content": "A String", # The text of this run.
- "style": { # Represents the styling that can be applied to a TextRun. # The styling applied to this run.
- #
- # If this text is contained in a shape with a parent placeholder, then these text styles may be
- # inherited from the parent. Which text styles are inherited depend on the
- # nesting level of lists:
- #
- # * A text run in a paragraph that is not in a list will inherit its text style
- # from the the newline character in the paragraph at the 0 nesting level of
- # the list inside the parent placeholder.
- # * A text run in a paragraph that is in a list will inherit its text style
- # from the newline character in the paragraph at its corresponding nesting
- # level of the list inside the parent placeholder.
- #
- # Inherited text styles are represented as unset fields in this message. If
- # text is contained in a shape without a parent placeholder, unsetting these
- # fields will revert the style to a value matching the defaults in the Slides
- # editor.
- "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- "bold": True or False, # Whether or not the text is rendered as bold.
- "baselineOffset": "A String", # The text's vertical offset from its normal position.
- #
- # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
- # rendered in a smaller font size, computed based on the `font_size` field.
- # The `font_size` itself is not affected by changes in this field.
- "strikethrough": True or False, # Whether or not the text is struck through.
- "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").
- },
- "smallCaps": True or False, # Whether or not the text is in small capital letters.
- "fontFamily": "A String", # The font family of the text.
- #
- # The font family can be any font from the Font menu in Slides or from
- # [Google Fonts] (https://fonts.google.com/). If the font name is
- # unrecognized, the text is rendered in `Arial`.
- #
- # Some fonts can affect the weight of the text. If an update request
- # specifies values for both `font_family` and `bold`, the explicitly-set
- # `bold` value is used.
- "italic": True or False, # Whether or not the text is italicized.
- "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
- # are not inherited from parent text.
- #
- # Changing the link in an update request causes some other changes to the
- # text style of the range:
- #
- # * When setting a link, the text foreground color will be set to
- # ThemeColorType.HYPERLINK and the text will
- # be underlined. If these fields are modified in the same
- # request, those values will be used instead of the link defaults.
- # * Setting a link on a text range that overlaps with an existing link will
- # also update the existing link to point to the new URL.
- # * Links are not settable on newline characters. As a result, setting a link
- # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
- # will separate the newline character(s) into their own text runs. The
- # link will be applied separately to the runs before and after the newline.
- # * Removing a link will update the text style of the range to match the
- # style of the preceding text (or the default text styles if the preceding
- # text is another link) unless different styles are being set in the same
- # request.
- "url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
- # in the presentation. There may not be a slide at this index.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
- "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
- # addressed by its position.
- },
- "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
- "underline": True or False, # Whether or not the text is underlined.
- },
- },
- },
- ],
- },
- "tableCellProperties": { # The properties of the TableCell. # The properties of the table cell.
- "tableCellBackgroundFill": { # The table cell background fill. # The background fill of the table cell. The default fill matches the fill
- # for newly created table cells in the Slides editor.
- "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill.
- # specified color value.
- #
- # If any field is unset, its value may be inherited from a parent placeholder
- # if it exists.
- "color": { # A themeable solid color value. # The color value of the solid fill.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel.
- # That is, the final pixel color is defined by the equation:
- #
- # pixel color = alpha * (color) + (1.0 - alpha) * (background color)
- #
- # This means that a value of 1.0 corresponds to a solid color, whereas
- # a value of 0.0 corresponds to a completely transparent color.
- },
- "propertyState": "A String", # The background fill property state.
- #
- # Updating the the fill on a table cell will implicitly update this field
- # to `RENDERED`, unless another value is specified in the same request. To
- # have no fill on a table cell, set this field to `NOT_RENDERED`. In this
- # case, any other fill fields set in the same request will be ignored.
- },
- },
- "rowSpan": 42, # Row span of the cell.
- "columnSpan": 42, # Column span of the cell.
- "location": { # A location of a single table cell within a table. # The location of the cell within the table.
- "rowIndex": 42, # The 0-based row index.
- "columnIndex": 42, # The 0-based column index.
- },
- },
- ],
- "rowHeight": { # A magnitude in a single direction in the specified units. # Height of a row.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
- },
- ],
- "rows": 42, # Number of rows in the table.
- "columns": 42, # Number of columns in the table.
- },
- "line": { # A PageElement kind representing a # A line page element.
- # line, curved connector, or bent connector.
- "lineProperties": { # The properties of the Line. # The properties of the line.
- #
- # When unset, these fields default to values that match the appearance of
- # new lines created in the Slides editor.
- "dashStyle": "A String", # The dash style of the line.
- "weight": { # A magnitude in a single direction in the specified units. # The thickness of the line.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
- "endArrow": "A String", # The style of the arrow at the end of the line.
- "link": { # A hypertext link. # The hyperlink destination of the line. If unset, there is no link.
- "url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
- # in the presentation. There may not be a slide at this index.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
- "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
- # addressed by its position.
- },
- "lineFill": { # The fill of the line. # The fill of the line. The default line fill matches the defaults for new
- # lines created in the Slides editor.
- "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill.
- # specified color value.
- #
- # If any field is unset, its value may be inherited from a parent placeholder
- # if it exists.
- "color": { # A themeable solid color value. # The color value of the solid fill.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel.
- # That is, the final pixel color is defined by the equation:
- #
- # pixel color = alpha * (color) + (1.0 - alpha) * (background color)
- #
- # This means that a value of 1.0 corresponds to a solid color, whereas
- # a value of 0.0 corresponds to a completely transparent color.
- },
- },
- "startArrow": "A String", # The style of the arrow at the beginning of the line.
- },
- "lineType": "A String", # The type of the line.
- },
- "size": { # A width and height. # The size of the page element.
- "width": { # A magnitude in a single direction in the specified units. # The width of the object.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
- "height": { # A magnitude in a single direction in the specified units. # The height of the object.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
- },
- },
- ],
- "notesProperties": { # The properties of Page that are only # Notes specific properties. Only set if page_type = NOTES.
- # relevant for pages with page_type NOTES.
- "speakerNotesObjectId": "A String", # The object ID of the shape on this notes page that contains the speaker
- # notes for the corresponding slide.
- # The actual shape may not always exist on the notes page. Inserting text
- # using this object ID will automatically create the shape. In this case, the
- # actual shape may have different object ID. The `GetPresentation` or
- # `GetPage` action will always return the latest object ID.
- },
- "objectId": "A String", # The object ID for this page. Object IDs used by
- # Page and
- # PageElement share the same namespace.
- "revisionId": "A String", # The revision ID of the presentation containing this page. Can be used in
- # update requests to assert that the presentation revision hasn't changed
- # since the last read operation. Only populated if the user has edit access
- # to the presentation.
- #
- # The format of the revision ID may change over time, so it should be treated
- # opaquely. A returned revision ID is only guaranteed to be valid for 24
- # hours after it has been returned and cannot be shared across users. If the
- # revision ID is unchanged between calls, then the presentation has not
- # 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.
- "pageProperties": { # The properties of the Page. # The properties of the page.
- #
- # The page will inherit properties from the parent page. Depending on the page
- # type the hierarchy is defined in either
- # SlideProperties or
- # LayoutProperties.
- "pageBackgroundFill": { # The page background fill. # The background fill of the page. If unset, the background fill is inherited
- # from a parent page if it exists. If the page has no parent, then the
- # background fill defaults to the corresponding fill in the Slides editor.
- "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill.
- # specified color value.
- #
- # If any field is unset, its value may be inherited from a parent placeholder
- # if it exists.
- "color": { # A themeable solid color value. # The color value of the solid fill.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel.
- # That is, the final pixel color is defined by the equation:
- #
- # pixel color = alpha * (color) + (1.0 - alpha) * (background color)
- #
- # This means that a value of 1.0 corresponds to a solid color, whereas
- # a value of 0.0 corresponds to a completely transparent color.
- },
- "propertyState": "A String", # The background fill property state.
- #
- # Updating the the fill on a page will implicitly update this field to
- # `RENDERED`, unless another value is specified in the same request. To
- # have no fill on a page, set this field to `NOT_RENDERED`. In this case,
- # any other fill fields set in the same request will be ignored.
- "stretchedPictureFill": { # The stretched picture fill. The page or page element is filled entirely with # Stretched picture fill.
- # the specified picture. The picture is stretched to fit its container.
- "contentUrl": "A String", # Reading the content_url:
- #
- # An URL to a picture with a default lifetime of 30 minutes.
- # This URL is tagged with the account of the requester. Anyone with the URL
- # effectively accesses the picture as the original requester. Access to the
- # picture may be lost if the presentation's sharing settings change.
- #
- # Writing the content_url:
- #
- # The picture is fetched once at insertion time and a copy is stored for
- # display inside the presentation. Pictures must be less than 50MB in size,
- # cannot exceed 25 megapixels, and must be in either in PNG, JPEG, or GIF
- # format.
- "size": { # A width and height. # The original size of the picture fill. This field is read-only.
- "width": { # A magnitude in a single direction in the specified units. # The width of the object.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
- "height": { # A magnitude in a single direction in the specified units. # The height of the object.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
- },
- },
- },
- "colorScheme": { # The palette of predefined colors for a page. # The color scheme of the page. If unset, the color scheme is inherited from
- # a parent page. If the page has no parent, the color scheme uses a default
- # Slides color scheme. This field is read-only.
- "colors": [ # The ThemeColorType and corresponding concrete color pairs.
- { # A pair mapping a theme color type to the concrete color it represents.
- "color": { # An RGB color. # The concrete color corresponding to the theme color type above.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- "type": "A String", # The type of the theme color.
- },
- ],
- },
- },
- "pageType": "A String", # The type of the page.
- "slideProperties": { # The properties of Page that are only # Slide specific properties. Only set if page_type = SLIDE.
- # relevant for pages with page_type SLIDE.
- "notesPage": # Object with schema name: Page # The notes page that this slide is associated with. It defines the visual
- # appearance of a notes page when printing or exporting slides with speaker
- # notes. A notes page inherits properties from the
- # notes master.
- # The placeholder shape with type BODY on the notes page contains the speaker
- # notes for this slide. The ID of this shape is identified by the
- # speakerNotesObjectId field.
- # The notes page is read-only except for the text content and styles of the
- # speaker notes shape.
- "masterObjectId": "A String", # The object ID of the master that this slide is based on.
- "layoutObjectId": "A String", # The object ID of the layout that this slide is based on.
- },
- },
- ],
"slides": [ # The slides in the presentation.
# A slide inherits properties from a slide layout.
{ # A page in a presentation.
"layoutProperties": { # The properties of Page are only # Layout specific properties. Only set if page_type = LAYOUT.
# relevant for pages with page_type LAYOUT.
- "displayName": "A String", # The human readable name of the layout in the presentation's locale.
+ "displayName": "A String", # The human-readable name of the layout.
"name": "A String", # The name of the layout.
"masterObjectId": "A String", # The object ID of the master that this layout is based on.
},
@@ -6239,8 +7078,12 @@
# word art.
"renderedText": "A String", # The text rendered as word art.
},
- "description": "A String", # The description of the page element. Combined with title to display alt
- # text.
+ "elementGroup": { # A PageElement kind representing a # A collection of page elements joined as a single unit.
+ # joined collection of PageElements.
+ "children": [ # The collection of elements in the group. The minimum size of a group is 2.
+ # Object with schema name: PageElement
+ ],
+ },
"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.
@@ -6253,7 +7096,7 @@
# effectively accesses the image as the original requester. Access to the
# image may be lost if the presentation's sharing settings change.
"imageProperties": { # The properties of the Image. # The properties of the image.
- "outline": { # The outline of a PageElement. # The outline of the image. If not set, the the image has no outline.
+ "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
@@ -6284,9 +7127,9 @@
},
"propertyState": "A String", # The outline property state.
#
- # Updating the the outline on a page element will implicitly update this
- # field to`RENDERED`, unless another value is specified in the same request.
- # To have no outline on a page element, set this field to `NOT_RENDERED`. In
+ # 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.
"dashStyle": "A String", # The dash style of the outline.
@@ -6362,14 +7205,14 @@
"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.
"angle": 3.14, # The rotation angle of the crop window around its center, in radians.
# Rotation angle is applied after the offset.
"rightOffset": 3.14, # The offset specifies the right edge of the crop rectangle that is located
# to the left of the original bounding rectangle right edge, relative to the
# object's original width.
- "bottomOffset": 3.14, # The offset specifies the bottom edge of the crop rectangle that is located
- # above the original bounding rectangle bottom edge, relative to the object's
- # original height.
"topOffset": 3.14, # The offset specifies the top edge of the crop rectangle that is located
# below the original bounding rectangle top edge, relative to the object's
# original height.
@@ -6413,9 +7256,9 @@
},
"propertyState": "A String", # The shadow property state.
#
- # Updating the the shadow on a page element will implicitly update this field
- # to `RENDERED`, unless another value is specified in the same request. To
- # have no shadow on a page element, set this field to `NOT_RENDERED`. In this
+ # 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.
"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.
@@ -6423,16 +7266,27 @@
"unit": "A String", # The units for magnitude.
},
"alpha": 3.14, # The alpha of the shadow's color, from 0.0 to 1.0.
- "type": "A String", # The type of the shadow.
+ "type": "A String", # The type of the shadow. This property is read-only.
"alignment": "A String", # The alignment point of the shadow, that sets the origin for translate,
- # scale and skew of the shadow.
- "rotateWithShape": True or False, # Whether the shadow should rotate with the shape.
+ # scale and skew of the shadow. This property is read-only.
+ "rotateWithShape": True or False, # Whether the shadow should rotate with the shape. 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.
},
+ "sourceUrl": "A String", # The source URL is the URL used to insert the image. The source URL can be
+ # empty.
},
"transform": { # AffineTransform uses a 3x3 matrix with an implied last row of [ 0 0 1 ] # The transform of the page element.
+ #
+ # The visual appearance of the page element is determined by its absolute
+ # transform. To compute the absolute transform, preconcatenate a page
+ # element's transform with the transforms of all of its parent groups. If the
+ # page element is not in a group, its absolute transform is the same as the
+ # value in this field.
+ #
+ # The initial transform for the newly created Group is always the identity transform.
# to transform source coordinates (x,y) into destination coordinates (x', y')
# according to:
#
@@ -6457,156 +7311,6 @@
# generic shape that does not have a more specific classification.
"text": { # The general text content. The text must reside in a compatible shape (e.g. # The text content of the shape.
# text box or rectangle) or a table cell in a page.
- "lists": { # The bulleted lists contained in this text, keyed by list ID.
- "a_key": { # A List describes the look and feel of bullets belonging to paragraphs
- # associated with a list. A paragraph that is part of a list has an implicit
- # reference to that list's ID.
- "nestingLevel": { # A map of nesting levels to the properties of bullets at the associated
- # level. A list has at most nine levels of nesting, so the possible values
- # for the keys of this map are 0 through 8, inclusive.
- "a_key": { # Contains properties describing the look and feel of a list bullet at a given
- # level of nesting.
- "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The style of a bullet at this level of nesting.
- #
- # If this text is contained in a shape with a parent placeholder, then these text styles may be
- # inherited from the parent. Which text styles are inherited depend on the
- # nesting level of lists:
- #
- # * A text run in a paragraph that is not in a list will inherit its text style
- # from the the newline character in the paragraph at the 0 nesting level of
- # the list inside the parent placeholder.
- # * A text run in a paragraph that is in a list will inherit its text style
- # from the newline character in the paragraph at its corresponding nesting
- # level of the list inside the parent placeholder.
- #
- # Inherited text styles are represented as unset fields in this message. If
- # text is contained in a shape without a parent placeholder, unsetting these
- # fields will revert the style to a value matching the defaults in the Slides
- # editor.
- "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- "bold": True or False, # Whether or not the text is rendered as bold.
- "baselineOffset": "A String", # The text's vertical offset from its normal position.
- #
- # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
- # rendered in a smaller font size, computed based on the `font_size` field.
- # The `font_size` itself is not affected by changes in this field.
- "strikethrough": True or False, # Whether or not the text is struck through.
- "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").
- },
- "smallCaps": True or False, # Whether or not the text is in small capital letters.
- "fontFamily": "A String", # The font family of the text.
- #
- # The font family can be any font from the Font menu in Slides or from
- # [Google Fonts] (https://fonts.google.com/). If the font name is
- # unrecognized, the text is rendered in `Arial`.
- #
- # Some fonts can affect the weight of the text. If an update request
- # specifies values for both `font_family` and `bold`, the explicitly-set
- # `bold` value is used.
- "italic": True or False, # Whether or not the text is italicized.
- "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
- # are not inherited from parent text.
- #
- # Changing the link in an update request causes some other changes to the
- # text style of the range:
- #
- # * When setting a link, the text foreground color will be set to
- # ThemeColorType.HYPERLINK and the text will
- # be underlined. If these fields are modified in the same
- # request, those values will be used instead of the link defaults.
- # * Setting a link on a text range that overlaps with an existing link will
- # also update the existing link to point to the new URL.
- # * Links are not settable on newline characters. As a result, setting a link
- # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
- # will separate the newline character(s) into their own text runs. The
- # link will be applied separately to the runs before and after the newline.
- # * Removing a link will update the text style of the range to match the
- # style of the preceding text (or the default text styles if the preceding
- # text is another link) unless different styles are being set in the same
- # request.
- "url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
- # in the presentation. There may not be a slide at this index.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
- "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
- # addressed by its position.
- },
- "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
- "underline": True or False, # Whether or not the text is underlined.
- },
- },
- },
- "listId": "A String", # The ID of the list.
- },
- },
"textElements": [ # The text contents broken down into its component parts, including styling
# information. This property is read-only.
{ # A TextElement describes the content of a range of indices in the text content
@@ -6643,7 +7347,18 @@
},
},
},
- "bold": True or False, # Whether or not the text is rendered as bold.
+ "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
"baselineOffset": "A String", # The text's vertical offset from its normal position.
#
# Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
@@ -6687,7 +7402,8 @@
"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),
+ # 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").
@@ -6702,6 +7418,11 @@
# Some fonts can affect the weight of the text. If an update request
# specifies values for both `font_family` and `bold`, the explicitly-set
# `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
"italic": True or False, # Whether or not the text is italicized.
"link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
# are not inherited from parent text.
@@ -6731,24 +7452,8 @@
"relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
# addressed by its position.
},
- "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
"underline": True or False, # Whether or not the text is underlined.
+ "bold": True or False, # Whether or not the text is rendered as bold.
},
"type": "A String", # The type of this auto text.
},
@@ -6779,7 +7484,7 @@
"direction": "A String", # The text direction of this paragraph. If unset, the value defaults to
# LEFT_TO_RIGHT since
# text direction is not inherited.
- "spaceBelow": { # A magnitude in a single direction in the specified units. # The amount of extra space above the paragraph. If unset, the value is
+ "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.
"magnitude": 3.14, # The magnitude.
"unit": "A String", # The units for magnitude.
@@ -6843,7 +7548,18 @@
},
},
},
- "bold": True or False, # Whether or not the text is rendered as bold.
+ "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
"baselineOffset": "A String", # The text's vertical offset from its normal position.
#
# Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
@@ -6887,7 +7603,8 @@
"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),
+ # 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").
@@ -6902,6 +7619,11 @@
# Some fonts can affect the weight of the text. If an update request
# specifies values for both `font_family` and `bold`, the explicitly-set
# `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
"italic": True or False, # Whether or not the text is italicized.
"link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
# are not inherited from parent text.
@@ -6931,24 +7653,8 @@
"relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
# addressed by its position.
},
- "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
"underline": True or False, # Whether or not the text is underlined.
+ "bold": True or False, # Whether or not the text is rendered as bold.
},
"glyph": "A String", # The rendered bullet glyph for this paragraph.
},
@@ -6990,7 +7696,18 @@
},
},
},
- "bold": True or False, # Whether or not the text is rendered as bold.
+ "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
"baselineOffset": "A String", # The text's vertical offset from its normal position.
#
# Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
@@ -7034,7 +7751,8 @@
"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),
+ # 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").
@@ -7049,6 +7767,11 @@
# Some fonts can affect the weight of the text. If an update request
# specifies values for both `font_family` and `bold`, the explicitly-set
# `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
"italic": True or False, # Whether or not the text is italicized.
"link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
# are not inherited from parent text.
@@ -7078,28 +7801,163 @@
"relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
# addressed by its position.
},
- "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
"underline": True or False, # Whether or not the text is underlined.
+ "bold": True or False, # Whether or not the text is rendered as bold.
},
},
},
],
+ "lists": { # The bulleted lists contained in this text, keyed by list ID.
+ "a_key": { # A List describes the look and feel of bullets belonging to paragraphs
+ # associated with a list. A paragraph that is part of a list has an implicit
+ # reference to that list's ID.
+ "nestingLevel": { # A map of nesting levels to the properties of bullets at the associated
+ # level. A list has at most nine levels of nesting, so the possible values
+ # for the keys of this map are 0 through 8, inclusive.
+ "a_key": { # Contains properties describing the look and feel of a list bullet at a given
+ # level of nesting.
+ "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The style of a bullet at this level of nesting.
+ #
+ # If this text is contained in a shape with a parent placeholder, then these text styles may be
+ # inherited from the parent. Which text styles are inherited depend on the
+ # nesting level of lists:
+ #
+ # * A text run in a paragraph that is not in a list will inherit its text style
+ # from the the newline character in the paragraph at the 0 nesting level of
+ # the list inside the parent placeholder.
+ # * A text run in a paragraph that is in a list will inherit its text style
+ # from the newline character in the paragraph at its corresponding nesting
+ # level of the list inside the parent placeholder.
+ #
+ # Inherited text styles are represented as unset fields in this message. If
+ # text is contained in a shape without a parent placeholder, unsetting these
+ # fields will revert the style to a value matching the defaults in the Slides
+ # editor.
+ "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ "baselineOffset": "A String", # The text's vertical offset from its normal position.
+ #
+ # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
+ # rendered in a smaller font size, computed based on the `font_size` field.
+ # The `font_size` itself is not affected by changes in this field.
+ "strikethrough": True or False, # Whether or not the text is struck through.
+ "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").
+ },
+ "smallCaps": True or False, # Whether or not the text is in small capital letters.
+ "fontFamily": "A String", # The font family of the text.
+ #
+ # The font family can be any font from the Font menu in Slides or from
+ # [Google Fonts] (https://fonts.google.com/). If the font name is
+ # unrecognized, the text is rendered in `Arial`.
+ #
+ # Some fonts can affect the weight of the text. If an update request
+ # specifies values for both `font_family` and `bold`, the explicitly-set
+ # `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "italic": True or False, # Whether or not the text is italicized.
+ "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
+ # are not inherited from parent text.
+ #
+ # Changing the link in an update request causes some other changes to the
+ # text style of the range:
+ #
+ # * When setting a link, the text foreground color will be set to
+ # ThemeColorType.HYPERLINK and the text will
+ # be underlined. If these fields are modified in the same
+ # request, those values will be used instead of the link defaults.
+ # * Setting a link on a text range that overlaps with an existing link will
+ # also update the existing link to point to the new URL.
+ # * Links are not settable on newline characters. As a result, setting a link
+ # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
+ # will separate the newline character(s) into their own text runs. The
+ # link will be applied separately to the runs before and after the newline.
+ # * Removing a link will update the text style of the range to match the
+ # style of the preceding text (or the default text styles if the preceding
+ # text is another link) unless different styles are being set in the same
+ # request.
+ "url": "A String", # If set, indicates this is a link to the external web page at this URL.
+ "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
+ # in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
+ "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
+ # addressed by its position.
+ },
+ "underline": True or False, # Whether or not the text is underlined.
+ "bold": True or False, # Whether or not the text is rendered as bold.
+ },
+ },
+ },
+ "listId": "A String", # The ID of the list.
+ },
+ },
},
"shapeProperties": { # The properties of a Shape. # The properties of the shape.
#
@@ -7149,9 +8007,9 @@
},
"propertyState": "A String", # The shadow property state.
#
- # Updating the the shadow on a page element will implicitly update this field
- # to `RENDERED`, unless another value is specified in the same request. To
- # have no shadow on a page element, set this field to `NOT_RENDERED`. In this
+ # 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.
"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.
@@ -7159,10 +8017,11 @@
"unit": "A String", # The units for magnitude.
},
"alpha": 3.14, # The alpha of the shadow's color, from 0.0 to 1.0.
- "type": "A String", # The type of the shadow.
+ "type": "A String", # The type of the shadow. This property is read-only.
"alignment": "A String", # The alignment point of the shadow, that sets the origin for translate,
- # scale and skew of the shadow.
- "rotateWithShape": True or False, # Whether the shadow should rotate with the shape.
+ # scale and skew of the shadow. This property is read-only.
+ "rotateWithShape": True or False, # Whether the shadow should rotate with the shape. This property is
+ # read-only.
},
"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
@@ -7191,7 +8050,7 @@
},
"propertyState": "A String", # The background fill property state.
#
- # Updating the the fill on a shape will implicitly update this field to
+ # Updating the fill on a shape will implicitly update this field to
# `RENDERED`, unless another value is specified in the same request. To
# have no fill on a shape, set this field to `NOT_RENDERED`. In this case,
# any other fill fields set in the same request will be ignored.
@@ -7240,9 +8099,9 @@
},
"propertyState": "A String", # The outline property state.
#
- # Updating the the outline on a page element will implicitly update this
- # field to`RENDERED`, unless another value is specified in the same request.
- # To have no outline on a page element, set this field to `NOT_RENDERED`. In
+ # 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.
"dashStyle": "A String", # The dash style of the outline.
@@ -7251,6 +8110,10 @@
"unit": "A String", # The units for magnitude.
},
},
+ "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.
},
"placeholder": { # The placeholder information that uniquely identifies a placeholder shape. # Placeholders are shapes that are inherit from corresponding placeholders on
# layouts and masters.
@@ -7277,7 +8140,7 @@
"spreadsheetId": "A String", # The ID of the Google Sheets spreadsheet that contains the source chart.
"sheetsChartProperties": { # The properties of the SheetsChart. # The properties of the Sheets chart.
"chartImageProperties": { # The properties of the Image. # The properties of the embedded chart image.
- "outline": { # The outline of a PageElement. # The outline of the image. If not set, the the image has no outline.
+ "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
@@ -7308,9 +8171,9 @@
},
"propertyState": "A String", # The outline property state.
#
- # Updating the the outline on a page element will implicitly update this
- # field to`RENDERED`, unless another value is specified in the same request.
- # To have no outline on a page element, set this field to `NOT_RENDERED`. In
+ # 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.
"dashStyle": "A String", # The dash style of the outline.
@@ -7386,14 +8249,14 @@
"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.
"angle": 3.14, # The rotation angle of the crop window around its center, in radians.
# Rotation angle is applied after the offset.
"rightOffset": 3.14, # The offset specifies the right edge of the crop rectangle that is located
# to the left of the original bounding rectangle right edge, relative to the
# object's original width.
- "bottomOffset": 3.14, # The offset specifies the bottom edge of the crop rectangle that is located
- # above the original bounding rectangle bottom edge, relative to the object's
- # original height.
"topOffset": 3.14, # The offset specifies the top edge of the crop rectangle that is located
# below the original bounding rectangle top edge, relative to the object's
# original height.
@@ -7437,9 +8300,9 @@
},
"propertyState": "A String", # The shadow property state.
#
- # Updating the the shadow on a page element will implicitly update this field
- # to `RENDERED`, unless another value is specified in the same request. To
- # have no shadow on a page element, set this field to `NOT_RENDERED`. In this
+ # 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.
"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.
@@ -7447,10 +8310,11 @@
"unit": "A String", # The units for magnitude.
},
"alpha": 3.14, # The alpha of the shadow's color, from 0.0 to 1.0.
- "type": "A String", # The type of the shadow.
+ "type": "A String", # The type of the shadow. This property is read-only.
"alignment": "A String", # The alignment point of the shadow, that sets the origin for translate,
- # scale and skew of the shadow.
- "rotateWithShape": True or False, # Whether the shadow should rotate with the shape.
+ # scale and skew of the shadow. This property is read-only.
+ "rotateWithShape": True or False, # Whether the shadow should rotate with the shape. 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.
@@ -7461,9 +8325,22 @@
},
"video": { # A PageElement kind representing a # A video page element.
# video.
- "url": "A String", # An URL to a video. The URL is valid as long as the source video
- # exists and sharing settings do not change.
+ "url": "A String", # An URL to a video. The URL is valid as long as the source video exists and
+ # sharing settings do not change.
"videoProperties": { # The properties of the Video. # The properties of the video.
+ "start": 42, # The time at which to start playback, measured in seconds from the beginning
+ # of the video.
+ # If set, the start time should be before the end time.
+ # If you set this to a value that exceeds the video's length in seconds, the
+ # video will be played from the last second.
+ # If not set, the video will be played from the beginning.
+ "autoPlay": True or False, # Whether to enable video autoplay when the page is displayed in present
+ # mode. Defaults to false.
+ "end": 42, # The time at which to end playback, measured in seconds from the beginning
+ # of the video.
+ # If set, the end time should be after the start time.
+ # If not set or if you set this to a value that exceeds the video's length,
+ # the video will be played until its end.
"outline": { # The outline of a PageElement. # The outline of the video. The default outline matches the defaults for new
# videos created in the Slides editor.
#
@@ -7496,9 +8373,9 @@
},
"propertyState": "A String", # The outline property state.
#
- # Updating the the outline on a page element will implicitly update this
- # field to`RENDERED`, unless another value is specified in the same request.
- # To have no outline on a page element, set this field to `NOT_RENDERED`. In
+ # 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.
"dashStyle": "A String", # The dash style of the outline.
@@ -7507,18 +8384,112 @@
"unit": "A String", # The units for magnitude.
},
},
+ "mute": True or False, # Whether to mute the audio during video playback. Defaults to false.
},
"id": "A String", # The video source's unique identifier for this video.
"source": "A String", # The video source.
},
- "elementGroup": { # A PageElement kind representing a # A collection of page elements joined as a single unit.
- # joined collection of PageElements.
- "children": [ # The collection of elements in the group. The minimum size of a group is 2.
- # Object with schema name: PageElement
- ],
- },
"table": { # A PageElement kind representing a # A table page element.
# table.
+ "rows": 42, # Number of rows in the table.
+ "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.
+ "tableBorderProperties": { # The border styling properties of the # The border properties.
+ # TableBorderCell.
+ "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.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel.
+ # That is, the final pixel color is defined by the equation:
+ #
+ # pixel color = alpha * (color) + (1.0 - alpha) * (background color)
+ #
+ # This means that a value of 1.0 corresponds to a solid color, whereas
+ # a value of 0.0 corresponds to a completely transparent color.
+ },
+ },
+ "dashStyle": "A String", # The dash style of the border.
+ "weight": { # A magnitude in a single direction in the specified units. # The thickness of the border.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ },
+ "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.
+ },
+ },
+ ],
+ },
+ ],
+ "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.
+ "tableBorderProperties": { # The border styling properties of the # The border properties.
+ # TableBorderCell.
+ "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.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel.
+ # That is, the final pixel color is defined by the equation:
+ #
+ # pixel color = alpha * (color) + (1.0 - alpha) * (background color)
+ #
+ # This means that a value of 1.0 corresponds to a solid color, whereas
+ # a value of 0.0 corresponds to a completely transparent color.
+ },
+ },
+ "dashStyle": "A String", # The dash style of the border.
+ "weight": { # A magnitude in a single direction in the specified units. # The thickness of the border.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ },
+ "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.
+ },
+ },
+ ],
+ },
+ ],
"tableColumns": [ # Properties of each column.
{ # Properties of each column in a table.
"columnWidth": { # A magnitude in a single direction in the specified units. # Width of a column.
@@ -7542,156 +8513,6 @@
{ # Properties and contents of each table cell.
"text": { # The general text content. The text must reside in a compatible shape (e.g. # The text content of the cell.
# text box or rectangle) or a table cell in a page.
- "lists": { # The bulleted lists contained in this text, keyed by list ID.
- "a_key": { # A List describes the look and feel of bullets belonging to paragraphs
- # associated with a list. A paragraph that is part of a list has an implicit
- # reference to that list's ID.
- "nestingLevel": { # A map of nesting levels to the properties of bullets at the associated
- # level. A list has at most nine levels of nesting, so the possible values
- # for the keys of this map are 0 through 8, inclusive.
- "a_key": { # Contains properties describing the look and feel of a list bullet at a given
- # level of nesting.
- "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The style of a bullet at this level of nesting.
- #
- # If this text is contained in a shape with a parent placeholder, then these text styles may be
- # inherited from the parent. Which text styles are inherited depend on the
- # nesting level of lists:
- #
- # * A text run in a paragraph that is not in a list will inherit its text style
- # from the the newline character in the paragraph at the 0 nesting level of
- # the list inside the parent placeholder.
- # * A text run in a paragraph that is in a list will inherit its text style
- # from the newline character in the paragraph at its corresponding nesting
- # level of the list inside the parent placeholder.
- #
- # Inherited text styles are represented as unset fields in this message. If
- # text is contained in a shape without a parent placeholder, unsetting these
- # fields will revert the style to a value matching the defaults in the Slides
- # editor.
- "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- "bold": True or False, # Whether or not the text is rendered as bold.
- "baselineOffset": "A String", # The text's vertical offset from its normal position.
- #
- # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
- # rendered in a smaller font size, computed based on the `font_size` field.
- # The `font_size` itself is not affected by changes in this field.
- "strikethrough": True or False, # Whether or not the text is struck through.
- "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").
- },
- "smallCaps": True or False, # Whether or not the text is in small capital letters.
- "fontFamily": "A String", # The font family of the text.
- #
- # The font family can be any font from the Font menu in Slides or from
- # [Google Fonts] (https://fonts.google.com/). If the font name is
- # unrecognized, the text is rendered in `Arial`.
- #
- # Some fonts can affect the weight of the text. If an update request
- # specifies values for both `font_family` and `bold`, the explicitly-set
- # `bold` value is used.
- "italic": True or False, # Whether or not the text is italicized.
- "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
- # are not inherited from parent text.
- #
- # Changing the link in an update request causes some other changes to the
- # text style of the range:
- #
- # * When setting a link, the text foreground color will be set to
- # ThemeColorType.HYPERLINK and the text will
- # be underlined. If these fields are modified in the same
- # request, those values will be used instead of the link defaults.
- # * Setting a link on a text range that overlaps with an existing link will
- # also update the existing link to point to the new URL.
- # * Links are not settable on newline characters. As a result, setting a link
- # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
- # will separate the newline character(s) into their own text runs. The
- # link will be applied separately to the runs before and after the newline.
- # * Removing a link will update the text style of the range to match the
- # style of the preceding text (or the default text styles if the preceding
- # text is another link) unless different styles are being set in the same
- # request.
- "url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
- # in the presentation. There may not be a slide at this index.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
- "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
- # addressed by its position.
- },
- "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
- "underline": True or False, # Whether or not the text is underlined.
- },
- },
- },
- "listId": "A String", # The ID of the list.
- },
- },
"textElements": [ # The text contents broken down into its component parts, including styling
# information. This property is read-only.
{ # A TextElement describes the content of a range of indices in the text content
@@ -7728,7 +8549,18 @@
},
},
},
- "bold": True or False, # Whether or not the text is rendered as bold.
+ "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
"baselineOffset": "A String", # The text's vertical offset from its normal position.
#
# Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
@@ -7772,7 +8604,8 @@
"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),
+ # 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").
@@ -7787,6 +8620,11 @@
# Some fonts can affect the weight of the text. If an update request
# specifies values for both `font_family` and `bold`, the explicitly-set
# `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
"italic": True or False, # Whether or not the text is italicized.
"link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
# are not inherited from parent text.
@@ -7816,24 +8654,8 @@
"relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
# addressed by its position.
},
- "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
"underline": True or False, # Whether or not the text is underlined.
+ "bold": True or False, # Whether or not the text is rendered as bold.
},
"type": "A String", # The type of this auto text.
},
@@ -7864,7 +8686,7 @@
"direction": "A String", # The text direction of this paragraph. If unset, the value defaults to
# LEFT_TO_RIGHT since
# text direction is not inherited.
- "spaceBelow": { # A magnitude in a single direction in the specified units. # The amount of extra space above the paragraph. If unset, the value is
+ "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.
"magnitude": 3.14, # The magnitude.
"unit": "A String", # The units for magnitude.
@@ -7928,7 +8750,18 @@
},
},
},
- "bold": True or False, # Whether or not the text is rendered as bold.
+ "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
"baselineOffset": "A String", # The text's vertical offset from its normal position.
#
# Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
@@ -7972,7 +8805,8 @@
"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),
+ # 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").
@@ -7987,6 +8821,11 @@
# Some fonts can affect the weight of the text. If an update request
# specifies values for both `font_family` and `bold`, the explicitly-set
# `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
"italic": True or False, # Whether or not the text is italicized.
"link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
# are not inherited from parent text.
@@ -8016,24 +8855,8 @@
"relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
# addressed by its position.
},
- "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
"underline": True or False, # Whether or not the text is underlined.
+ "bold": True or False, # Whether or not the text is rendered as bold.
},
"glyph": "A String", # The rendered bullet glyph for this paragraph.
},
@@ -8075,7 +8898,18 @@
},
},
},
- "bold": True or False, # Whether or not the text is rendered as bold.
+ "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
"baselineOffset": "A String", # The text's vertical offset from its normal position.
#
# Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
@@ -8119,7 +8953,8 @@
"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),
+ # 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").
@@ -8134,6 +8969,11 @@
# Some fonts can affect the weight of the text. If an update request
# specifies values for both `font_family` and `bold`, the explicitly-set
# `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
"italic": True or False, # Whether or not the text is italicized.
"link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
# are not inherited from parent text.
@@ -8163,28 +9003,163 @@
"relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
# addressed by its position.
},
- "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
"underline": True or False, # Whether or not the text is underlined.
+ "bold": True or False, # Whether or not the text is rendered as bold.
},
},
},
],
+ "lists": { # The bulleted lists contained in this text, keyed by list ID.
+ "a_key": { # A List describes the look and feel of bullets belonging to paragraphs
+ # associated with a list. A paragraph that is part of a list has an implicit
+ # reference to that list's ID.
+ "nestingLevel": { # A map of nesting levels to the properties of bullets at the associated
+ # level. A list has at most nine levels of nesting, so the possible values
+ # for the keys of this map are 0 through 8, inclusive.
+ "a_key": { # Contains properties describing the look and feel of a list bullet at a given
+ # level of nesting.
+ "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The style of a bullet at this level of nesting.
+ #
+ # If this text is contained in a shape with a parent placeholder, then these text styles may be
+ # inherited from the parent. Which text styles are inherited depend on the
+ # nesting level of lists:
+ #
+ # * A text run in a paragraph that is not in a list will inherit its text style
+ # from the the newline character in the paragraph at the 0 nesting level of
+ # the list inside the parent placeholder.
+ # * A text run in a paragraph that is in a list will inherit its text style
+ # from the newline character in the paragraph at its corresponding nesting
+ # level of the list inside the parent placeholder.
+ #
+ # Inherited text styles are represented as unset fields in this message. If
+ # text is contained in a shape without a parent placeholder, unsetting these
+ # fields will revert the style to a value matching the defaults in the Slides
+ # editor.
+ "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ "baselineOffset": "A String", # The text's vertical offset from its normal position.
+ #
+ # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
+ # rendered in a smaller font size, computed based on the `font_size` field.
+ # The `font_size` itself is not affected by changes in this field.
+ "strikethrough": True or False, # Whether or not the text is struck through.
+ "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").
+ },
+ "smallCaps": True or False, # Whether or not the text is in small capital letters.
+ "fontFamily": "A String", # The font family of the text.
+ #
+ # The font family can be any font from the Font menu in Slides or from
+ # [Google Fonts] (https://fonts.google.com/). If the font name is
+ # unrecognized, the text is rendered in `Arial`.
+ #
+ # Some fonts can affect the weight of the text. If an update request
+ # specifies values for both `font_family` and `bold`, the explicitly-set
+ # `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "italic": True or False, # Whether or not the text is italicized.
+ "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
+ # are not inherited from parent text.
+ #
+ # Changing the link in an update request causes some other changes to the
+ # text style of the range:
+ #
+ # * When setting a link, the text foreground color will be set to
+ # ThemeColorType.HYPERLINK and the text will
+ # be underlined. If these fields are modified in the same
+ # request, those values will be used instead of the link defaults.
+ # * Setting a link on a text range that overlaps with an existing link will
+ # also update the existing link to point to the new URL.
+ # * Links are not settable on newline characters. As a result, setting a link
+ # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
+ # will separate the newline character(s) into their own text runs. The
+ # link will be applied separately to the runs before and after the newline.
+ # * Removing a link will update the text style of the range to match the
+ # style of the preceding text (or the default text styles if the preceding
+ # text is another link) unless different styles are being set in the same
+ # request.
+ "url": "A String", # If set, indicates this is a link to the external web page at this URL.
+ "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
+ # in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
+ "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
+ # addressed by its position.
+ },
+ "underline": True or False, # Whether or not the text is underlined.
+ "bold": True or False, # Whether or not the text is rendered as bold.
+ },
+ },
+ },
+ "listId": "A String", # The ID of the list.
+ },
+ },
},
"tableCellProperties": { # The properties of the TableCell. # The properties of the table cell.
"tableCellBackgroundFill": { # The table cell background fill. # The background fill of the table cell. The default fill matches the fill
@@ -8212,11 +9187,13 @@
},
"propertyState": "A String", # The background fill property state.
#
- # Updating the the fill on a table cell will implicitly update this field
+ # Updating the fill on a table cell will implicitly update this field
# to `RENDERED`, unless another value is specified in the same request. To
# have no fill on a table cell, set this field to `NOT_RENDERED`. In this
# case, any other fill fields set in the same request will be ignored.
},
+ "contentAlignment": "A String", # The alignment of the content in the table cell. The default alignment
+ # matches the alignment for newly created table cells in the Slides editor.
},
"rowSpan": 42, # Row span of the cell.
"columnSpan": 42, # Column span of the cell.
@@ -8230,13 +9207,24 @@
"magnitude": 3.14, # The magnitude.
"unit": "A String", # The units for 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).
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ },
},
],
- "rows": 42, # Number of rows in the table.
"columns": 42, # Number of columns in the table.
},
"line": { # A PageElement kind representing a # A line page element.
- # line, curved connector, or bent connector.
+ # non-connector line, straight connector, curved connector, or bent connector.
+ "lineCategory": "A String", # The category of the line.
+ #
+ # It matches the `category` specified in CreateLineRequest, and can be updated with
+ # UpdateLineCategoryRequest.
"lineProperties": { # The properties of the Line. # The properties of the line.
#
# When unset, these fields default to values that match the appearance of
@@ -8280,6 +9268,51 @@
# a value of 0.0 corresponds to a completely transparent color.
},
},
+ "startConnection": { # The properties for one end of a Line # The connection at the beginning of the line. If unset, there is no
+ # connection.
+ #
+ # Only lines with a Type indicating it is
+ # a "connector" can have a `start_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.
+ },
+ "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.
+ },
"startArrow": "A String", # The style of the arrow at the beginning of the line.
},
"lineType": "A String", # The type of the line.
@@ -8294,6 +9327,8 @@
"unit": "A String", # The units for magnitude.
},
},
+ "description": "A String", # The description of the page element. Combined with title to display alt
+ # text.
},
],
"notesProperties": { # The properties of Page that are only # Notes specific properties. Only set if page_type = NOTES.
@@ -8320,6 +9355,10 @@
# 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.
+ "masterProperties": { # The properties of Page that are only # Master specific properties. Only set if page_type = MASTER.
+ # relevant for pages with page_type MASTER.
+ "displayName": "A String", # The human-readable name of the master.
+ },
"pageProperties": { # The properties of the Page. # The properties of the page.
#
# The page will inherit properties from the parent page. Depending on the page
@@ -8352,7 +9391,7 @@
},
"propertyState": "A String", # The background fill property state.
#
- # Updating the the fill on a page will implicitly update this field to
+ # 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.
@@ -8369,8 +9408,10 @@
#
# The picture is fetched once at insertion time and a copy is stored for
# display inside the presentation. Pictures must be less than 50MB in size,
- # cannot exceed 25 megapixels, and must be in either in PNG, JPEG, or GIF
+ # 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.
"magnitude": 3.14, # The magnitude.
@@ -8409,9 +9450,11 @@
# notes for this slide. The ID of this shape is identified by the
# speakerNotesObjectId field.
# The notes page is read-only except for the text content and styles of the
- # speaker notes shape.
- "masterObjectId": "A String", # The object ID of the master that this slide is based on.
- "layoutObjectId": "A String", # The object ID of the layout that this slide is based on.
+ # 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.
},
},
],
@@ -8421,7 +9464,7 @@
{ # A page in a presentation.
"layoutProperties": { # The properties of Page are only # Layout specific properties. Only set if page_type = LAYOUT.
# relevant for pages with page_type LAYOUT.
- "displayName": "A String", # The human readable name of the layout in the presentation's locale.
+ "displayName": "A String", # The human-readable name of the layout.
"name": "A String", # The name of the layout.
"masterObjectId": "A String", # The object ID of the master that this layout is based on.
},
@@ -8431,8 +9474,12 @@
# word art.
"renderedText": "A String", # The text rendered as word art.
},
- "description": "A String", # The description of the page element. Combined with title to display alt
- # text.
+ "elementGroup": { # A PageElement kind representing a # A collection of page elements joined as a single unit.
+ # joined collection of PageElements.
+ "children": [ # The collection of elements in the group. The minimum size of a group is 2.
+ # Object with schema name: PageElement
+ ],
+ },
"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.
@@ -8445,7 +9492,7 @@
# effectively accesses the image as the original requester. Access to the
# image may be lost if the presentation's sharing settings change.
"imageProperties": { # The properties of the Image. # The properties of the image.
- "outline": { # The outline of a PageElement. # The outline of the image. If not set, the the image has no outline.
+ "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
@@ -8476,9 +9523,9 @@
},
"propertyState": "A String", # The outline property state.
#
- # Updating the the outline on a page element will implicitly update this
- # field to`RENDERED`, unless another value is specified in the same request.
- # To have no outline on a page element, set this field to `NOT_RENDERED`. In
+ # 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.
"dashStyle": "A String", # The dash style of the outline.
@@ -8554,14 +9601,14 @@
"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.
"angle": 3.14, # The rotation angle of the crop window around its center, in radians.
# Rotation angle is applied after the offset.
"rightOffset": 3.14, # The offset specifies the right edge of the crop rectangle that is located
# to the left of the original bounding rectangle right edge, relative to the
# object's original width.
- "bottomOffset": 3.14, # The offset specifies the bottom edge of the crop rectangle that is located
- # above the original bounding rectangle bottom edge, relative to the object's
- # original height.
"topOffset": 3.14, # The offset specifies the top edge of the crop rectangle that is located
# below the original bounding rectangle top edge, relative to the object's
# original height.
@@ -8605,9 +9652,9 @@
},
"propertyState": "A String", # The shadow property state.
#
- # Updating the the shadow on a page element will implicitly update this field
- # to `RENDERED`, unless another value is specified in the same request. To
- # have no shadow on a page element, set this field to `NOT_RENDERED`. In this
+ # 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.
"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.
@@ -8615,16 +9662,27 @@
"unit": "A String", # The units for magnitude.
},
"alpha": 3.14, # The alpha of the shadow's color, from 0.0 to 1.0.
- "type": "A String", # The type of the shadow.
+ "type": "A String", # The type of the shadow. This property is read-only.
"alignment": "A String", # The alignment point of the shadow, that sets the origin for translate,
- # scale and skew of the shadow.
- "rotateWithShape": True or False, # Whether the shadow should rotate with the shape.
+ # scale and skew of the shadow. This property is read-only.
+ "rotateWithShape": True or False, # Whether the shadow should rotate with the shape. 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.
},
+ "sourceUrl": "A String", # The source URL is the URL used to insert the image. The source URL can be
+ # empty.
},
"transform": { # AffineTransform uses a 3x3 matrix with an implied last row of [ 0 0 1 ] # The transform of the page element.
+ #
+ # The visual appearance of the page element is determined by its absolute
+ # transform. To compute the absolute transform, preconcatenate a page
+ # element's transform with the transforms of all of its parent groups. If the
+ # page element is not in a group, its absolute transform is the same as the
+ # value in this field.
+ #
+ # The initial transform for the newly created Group is always the identity transform.
# to transform source coordinates (x,y) into destination coordinates (x', y')
# according to:
#
@@ -8649,156 +9707,6 @@
# generic shape that does not have a more specific classification.
"text": { # The general text content. The text must reside in a compatible shape (e.g. # The text content of the shape.
# text box or rectangle) or a table cell in a page.
- "lists": { # The bulleted lists contained in this text, keyed by list ID.
- "a_key": { # A List describes the look and feel of bullets belonging to paragraphs
- # associated with a list. A paragraph that is part of a list has an implicit
- # reference to that list's ID.
- "nestingLevel": { # A map of nesting levels to the properties of bullets at the associated
- # level. A list has at most nine levels of nesting, so the possible values
- # for the keys of this map are 0 through 8, inclusive.
- "a_key": { # Contains properties describing the look and feel of a list bullet at a given
- # level of nesting.
- "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The style of a bullet at this level of nesting.
- #
- # If this text is contained in a shape with a parent placeholder, then these text styles may be
- # inherited from the parent. Which text styles are inherited depend on the
- # nesting level of lists:
- #
- # * A text run in a paragraph that is not in a list will inherit its text style
- # from the the newline character in the paragraph at the 0 nesting level of
- # the list inside the parent placeholder.
- # * A text run in a paragraph that is in a list will inherit its text style
- # from the newline character in the paragraph at its corresponding nesting
- # level of the list inside the parent placeholder.
- #
- # Inherited text styles are represented as unset fields in this message. If
- # text is contained in a shape without a parent placeholder, unsetting these
- # fields will revert the style to a value matching the defaults in the Slides
- # editor.
- "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- "bold": True or False, # Whether or not the text is rendered as bold.
- "baselineOffset": "A String", # The text's vertical offset from its normal position.
- #
- # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
- # rendered in a smaller font size, computed based on the `font_size` field.
- # The `font_size` itself is not affected by changes in this field.
- "strikethrough": True or False, # Whether or not the text is struck through.
- "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").
- },
- "smallCaps": True or False, # Whether or not the text is in small capital letters.
- "fontFamily": "A String", # The font family of the text.
- #
- # The font family can be any font from the Font menu in Slides or from
- # [Google Fonts] (https://fonts.google.com/). If the font name is
- # unrecognized, the text is rendered in `Arial`.
- #
- # Some fonts can affect the weight of the text. If an update request
- # specifies values for both `font_family` and `bold`, the explicitly-set
- # `bold` value is used.
- "italic": True or False, # Whether or not the text is italicized.
- "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
- # are not inherited from parent text.
- #
- # Changing the link in an update request causes some other changes to the
- # text style of the range:
- #
- # * When setting a link, the text foreground color will be set to
- # ThemeColorType.HYPERLINK and the text will
- # be underlined. If these fields are modified in the same
- # request, those values will be used instead of the link defaults.
- # * Setting a link on a text range that overlaps with an existing link will
- # also update the existing link to point to the new URL.
- # * Links are not settable on newline characters. As a result, setting a link
- # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
- # will separate the newline character(s) into their own text runs. The
- # link will be applied separately to the runs before and after the newline.
- # * Removing a link will update the text style of the range to match the
- # style of the preceding text (or the default text styles if the preceding
- # text is another link) unless different styles are being set in the same
- # request.
- "url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
- # in the presentation. There may not be a slide at this index.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
- "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
- # addressed by its position.
- },
- "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
- "underline": True or False, # Whether or not the text is underlined.
- },
- },
- },
- "listId": "A String", # The ID of the list.
- },
- },
"textElements": [ # The text contents broken down into its component parts, including styling
# information. This property is read-only.
{ # A TextElement describes the content of a range of indices in the text content
@@ -8835,7 +9743,18 @@
},
},
},
- "bold": True or False, # Whether or not the text is rendered as bold.
+ "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
"baselineOffset": "A String", # The text's vertical offset from its normal position.
#
# Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
@@ -8879,7 +9798,8 @@
"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),
+ # 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").
@@ -8894,6 +9814,11 @@
# Some fonts can affect the weight of the text. If an update request
# specifies values for both `font_family` and `bold`, the explicitly-set
# `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
"italic": True or False, # Whether or not the text is italicized.
"link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
# are not inherited from parent text.
@@ -8923,24 +9848,8 @@
"relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
# addressed by its position.
},
- "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
"underline": True or False, # Whether or not the text is underlined.
+ "bold": True or False, # Whether or not the text is rendered as bold.
},
"type": "A String", # The type of this auto text.
},
@@ -8971,7 +9880,7 @@
"direction": "A String", # The text direction of this paragraph. If unset, the value defaults to
# LEFT_TO_RIGHT since
# text direction is not inherited.
- "spaceBelow": { # A magnitude in a single direction in the specified units. # The amount of extra space above the paragraph. If unset, the value is
+ "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.
"magnitude": 3.14, # The magnitude.
"unit": "A String", # The units for magnitude.
@@ -9035,7 +9944,18 @@
},
},
},
- "bold": True or False, # Whether or not the text is rendered as bold.
+ "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
"baselineOffset": "A String", # The text's vertical offset from its normal position.
#
# Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
@@ -9079,7 +9999,8 @@
"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),
+ # 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").
@@ -9094,6 +10015,11 @@
# Some fonts can affect the weight of the text. If an update request
# specifies values for both `font_family` and `bold`, the explicitly-set
# `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
"italic": True or False, # Whether or not the text is italicized.
"link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
# are not inherited from parent text.
@@ -9123,24 +10049,8 @@
"relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
# addressed by its position.
},
- "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
"underline": True or False, # Whether or not the text is underlined.
+ "bold": True or False, # Whether or not the text is rendered as bold.
},
"glyph": "A String", # The rendered bullet glyph for this paragraph.
},
@@ -9182,7 +10092,18 @@
},
},
},
- "bold": True or False, # Whether or not the text is rendered as bold.
+ "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
"baselineOffset": "A String", # The text's vertical offset from its normal position.
#
# Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
@@ -9226,7 +10147,8 @@
"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),
+ # 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").
@@ -9241,6 +10163,11 @@
# Some fonts can affect the weight of the text. If an update request
# specifies values for both `font_family` and `bold`, the explicitly-set
# `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
"italic": True or False, # Whether or not the text is italicized.
"link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
# are not inherited from parent text.
@@ -9270,28 +10197,163 @@
"relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
# addressed by its position.
},
- "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
"underline": True or False, # Whether or not the text is underlined.
+ "bold": True or False, # Whether or not the text is rendered as bold.
},
},
},
],
+ "lists": { # The bulleted lists contained in this text, keyed by list ID.
+ "a_key": { # A List describes the look and feel of bullets belonging to paragraphs
+ # associated with a list. A paragraph that is part of a list has an implicit
+ # reference to that list's ID.
+ "nestingLevel": { # A map of nesting levels to the properties of bullets at the associated
+ # level. A list has at most nine levels of nesting, so the possible values
+ # for the keys of this map are 0 through 8, inclusive.
+ "a_key": { # Contains properties describing the look and feel of a list bullet at a given
+ # level of nesting.
+ "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The style of a bullet at this level of nesting.
+ #
+ # If this text is contained in a shape with a parent placeholder, then these text styles may be
+ # inherited from the parent. Which text styles are inherited depend on the
+ # nesting level of lists:
+ #
+ # * A text run in a paragraph that is not in a list will inherit its text style
+ # from the the newline character in the paragraph at the 0 nesting level of
+ # the list inside the parent placeholder.
+ # * A text run in a paragraph that is in a list will inherit its text style
+ # from the newline character in the paragraph at its corresponding nesting
+ # level of the list inside the parent placeholder.
+ #
+ # Inherited text styles are represented as unset fields in this message. If
+ # text is contained in a shape without a parent placeholder, unsetting these
+ # fields will revert the style to a value matching the defaults in the Slides
+ # editor.
+ "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ "baselineOffset": "A String", # The text's vertical offset from its normal position.
+ #
+ # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
+ # rendered in a smaller font size, computed based on the `font_size` field.
+ # The `font_size` itself is not affected by changes in this field.
+ "strikethrough": True or False, # Whether or not the text is struck through.
+ "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").
+ },
+ "smallCaps": True or False, # Whether or not the text is in small capital letters.
+ "fontFamily": "A String", # The font family of the text.
+ #
+ # The font family can be any font from the Font menu in Slides or from
+ # [Google Fonts] (https://fonts.google.com/). If the font name is
+ # unrecognized, the text is rendered in `Arial`.
+ #
+ # Some fonts can affect the weight of the text. If an update request
+ # specifies values for both `font_family` and `bold`, the explicitly-set
+ # `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "italic": True or False, # Whether or not the text is italicized.
+ "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
+ # are not inherited from parent text.
+ #
+ # Changing the link in an update request causes some other changes to the
+ # text style of the range:
+ #
+ # * When setting a link, the text foreground color will be set to
+ # ThemeColorType.HYPERLINK and the text will
+ # be underlined. If these fields are modified in the same
+ # request, those values will be used instead of the link defaults.
+ # * Setting a link on a text range that overlaps with an existing link will
+ # also update the existing link to point to the new URL.
+ # * Links are not settable on newline characters. As a result, setting a link
+ # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
+ # will separate the newline character(s) into their own text runs. The
+ # link will be applied separately to the runs before and after the newline.
+ # * Removing a link will update the text style of the range to match the
+ # style of the preceding text (or the default text styles if the preceding
+ # text is another link) unless different styles are being set in the same
+ # request.
+ "url": "A String", # If set, indicates this is a link to the external web page at this URL.
+ "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
+ # in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
+ "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
+ # addressed by its position.
+ },
+ "underline": True or False, # Whether or not the text is underlined.
+ "bold": True or False, # Whether or not the text is rendered as bold.
+ },
+ },
+ },
+ "listId": "A String", # The ID of the list.
+ },
+ },
},
"shapeProperties": { # The properties of a Shape. # The properties of the shape.
#
@@ -9341,9 +10403,9 @@
},
"propertyState": "A String", # The shadow property state.
#
- # Updating the the shadow on a page element will implicitly update this field
- # to `RENDERED`, unless another value is specified in the same request. To
- # have no shadow on a page element, set this field to `NOT_RENDERED`. In this
+ # 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.
"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.
@@ -9351,10 +10413,11 @@
"unit": "A String", # The units for magnitude.
},
"alpha": 3.14, # The alpha of the shadow's color, from 0.0 to 1.0.
- "type": "A String", # The type of the shadow.
+ "type": "A String", # The type of the shadow. This property is read-only.
"alignment": "A String", # The alignment point of the shadow, that sets the origin for translate,
- # scale and skew of the shadow.
- "rotateWithShape": True or False, # Whether the shadow should rotate with the shape.
+ # scale and skew of the shadow. This property is read-only.
+ "rotateWithShape": True or False, # Whether the shadow should rotate with the shape. This property is
+ # read-only.
},
"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
@@ -9383,7 +10446,7 @@
},
"propertyState": "A String", # The background fill property state.
#
- # Updating the the fill on a shape will implicitly update this field to
+ # Updating the fill on a shape will implicitly update this field to
# `RENDERED`, unless another value is specified in the same request. To
# have no fill on a shape, set this field to `NOT_RENDERED`. In this case,
# any other fill fields set in the same request will be ignored.
@@ -9432,9 +10495,9 @@
},
"propertyState": "A String", # The outline property state.
#
- # Updating the the outline on a page element will implicitly update this
- # field to`RENDERED`, unless another value is specified in the same request.
- # To have no outline on a page element, set this field to `NOT_RENDERED`. In
+ # 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.
"dashStyle": "A String", # The dash style of the outline.
@@ -9443,6 +10506,10 @@
"unit": "A String", # The units for magnitude.
},
},
+ "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.
},
"placeholder": { # The placeholder information that uniquely identifies a placeholder shape. # Placeholders are shapes that are inherit from corresponding placeholders on
# layouts and masters.
@@ -9469,7 +10536,7 @@
"spreadsheetId": "A String", # The ID of the Google Sheets spreadsheet that contains the source chart.
"sheetsChartProperties": { # The properties of the SheetsChart. # The properties of the Sheets chart.
"chartImageProperties": { # The properties of the Image. # The properties of the embedded chart image.
- "outline": { # The outline of a PageElement. # The outline of the image. If not set, the the image has no outline.
+ "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
@@ -9500,9 +10567,9 @@
},
"propertyState": "A String", # The outline property state.
#
- # Updating the the outline on a page element will implicitly update this
- # field to`RENDERED`, unless another value is specified in the same request.
- # To have no outline on a page element, set this field to `NOT_RENDERED`. In
+ # 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.
"dashStyle": "A String", # The dash style of the outline.
@@ -9578,14 +10645,14 @@
"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.
"angle": 3.14, # The rotation angle of the crop window around its center, in radians.
# Rotation angle is applied after the offset.
"rightOffset": 3.14, # The offset specifies the right edge of the crop rectangle that is located
# to the left of the original bounding rectangle right edge, relative to the
# object's original width.
- "bottomOffset": 3.14, # The offset specifies the bottom edge of the crop rectangle that is located
- # above the original bounding rectangle bottom edge, relative to the object's
- # original height.
"topOffset": 3.14, # The offset specifies the top edge of the crop rectangle that is located
# below the original bounding rectangle top edge, relative to the object's
# original height.
@@ -9629,9 +10696,9 @@
},
"propertyState": "A String", # The shadow property state.
#
- # Updating the the shadow on a page element will implicitly update this field
- # to `RENDERED`, unless another value is specified in the same request. To
- # have no shadow on a page element, set this field to `NOT_RENDERED`. In this
+ # 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.
"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.
@@ -9639,10 +10706,11 @@
"unit": "A String", # The units for magnitude.
},
"alpha": 3.14, # The alpha of the shadow's color, from 0.0 to 1.0.
- "type": "A String", # The type of the shadow.
+ "type": "A String", # The type of the shadow. This property is read-only.
"alignment": "A String", # The alignment point of the shadow, that sets the origin for translate,
- # scale and skew of the shadow.
- "rotateWithShape": True or False, # Whether the shadow should rotate with the shape.
+ # scale and skew of the shadow. This property is read-only.
+ "rotateWithShape": True or False, # Whether the shadow should rotate with the shape. 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.
@@ -9653,9 +10721,22 @@
},
"video": { # A PageElement kind representing a # A video page element.
# video.
- "url": "A String", # An URL to a video. The URL is valid as long as the source video
- # exists and sharing settings do not change.
+ "url": "A String", # An URL to a video. The URL is valid as long as the source video exists and
+ # sharing settings do not change.
"videoProperties": { # The properties of the Video. # The properties of the video.
+ "start": 42, # The time at which to start playback, measured in seconds from the beginning
+ # of the video.
+ # If set, the start time should be before the end time.
+ # If you set this to a value that exceeds the video's length in seconds, the
+ # video will be played from the last second.
+ # If not set, the video will be played from the beginning.
+ "autoPlay": True or False, # Whether to enable video autoplay when the page is displayed in present
+ # mode. Defaults to false.
+ "end": 42, # The time at which to end playback, measured in seconds from the beginning
+ # of the video.
+ # If set, the end time should be after the start time.
+ # If not set or if you set this to a value that exceeds the video's length,
+ # the video will be played until its end.
"outline": { # The outline of a PageElement. # The outline of the video. The default outline matches the defaults for new
# videos created in the Slides editor.
#
@@ -9688,9 +10769,9 @@
},
"propertyState": "A String", # The outline property state.
#
- # Updating the the outline on a page element will implicitly update this
- # field to`RENDERED`, unless another value is specified in the same request.
- # To have no outline on a page element, set this field to `NOT_RENDERED`. In
+ # 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.
"dashStyle": "A String", # The dash style of the outline.
@@ -9699,18 +10780,112 @@
"unit": "A String", # The units for magnitude.
},
},
+ "mute": True or False, # Whether to mute the audio during video playback. Defaults to false.
},
"id": "A String", # The video source's unique identifier for this video.
"source": "A String", # The video source.
},
- "elementGroup": { # A PageElement kind representing a # A collection of page elements joined as a single unit.
- # joined collection of PageElements.
- "children": [ # The collection of elements in the group. The minimum size of a group is 2.
- # Object with schema name: PageElement
- ],
- },
"table": { # A PageElement kind representing a # A table page element.
# table.
+ "rows": 42, # Number of rows in the table.
+ "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.
+ "tableBorderProperties": { # The border styling properties of the # The border properties.
+ # TableBorderCell.
+ "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.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel.
+ # That is, the final pixel color is defined by the equation:
+ #
+ # pixel color = alpha * (color) + (1.0 - alpha) * (background color)
+ #
+ # This means that a value of 1.0 corresponds to a solid color, whereas
+ # a value of 0.0 corresponds to a completely transparent color.
+ },
+ },
+ "dashStyle": "A String", # The dash style of the border.
+ "weight": { # A magnitude in a single direction in the specified units. # The thickness of the border.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ },
+ "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.
+ },
+ },
+ ],
+ },
+ ],
+ "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.
+ "tableBorderProperties": { # The border styling properties of the # The border properties.
+ # TableBorderCell.
+ "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.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel.
+ # That is, the final pixel color is defined by the equation:
+ #
+ # pixel color = alpha * (color) + (1.0 - alpha) * (background color)
+ #
+ # This means that a value of 1.0 corresponds to a solid color, whereas
+ # a value of 0.0 corresponds to a completely transparent color.
+ },
+ },
+ "dashStyle": "A String", # The dash style of the border.
+ "weight": { # A magnitude in a single direction in the specified units. # The thickness of the border.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ },
+ "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.
+ },
+ },
+ ],
+ },
+ ],
"tableColumns": [ # Properties of each column.
{ # Properties of each column in a table.
"columnWidth": { # A magnitude in a single direction in the specified units. # Width of a column.
@@ -9734,156 +10909,6 @@
{ # Properties and contents of each table cell.
"text": { # The general text content. The text must reside in a compatible shape (e.g. # The text content of the cell.
# text box or rectangle) or a table cell in a page.
- "lists": { # The bulleted lists contained in this text, keyed by list ID.
- "a_key": { # A List describes the look and feel of bullets belonging to paragraphs
- # associated with a list. A paragraph that is part of a list has an implicit
- # reference to that list's ID.
- "nestingLevel": { # A map of nesting levels to the properties of bullets at the associated
- # level. A list has at most nine levels of nesting, so the possible values
- # for the keys of this map are 0 through 8, inclusive.
- "a_key": { # Contains properties describing the look and feel of a list bullet at a given
- # level of nesting.
- "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The style of a bullet at this level of nesting.
- #
- # If this text is contained in a shape with a parent placeholder, then these text styles may be
- # inherited from the parent. Which text styles are inherited depend on the
- # nesting level of lists:
- #
- # * A text run in a paragraph that is not in a list will inherit its text style
- # from the the newline character in the paragraph at the 0 nesting level of
- # the list inside the parent placeholder.
- # * A text run in a paragraph that is in a list will inherit its text style
- # from the newline character in the paragraph at its corresponding nesting
- # level of the list inside the parent placeholder.
- #
- # Inherited text styles are represented as unset fields in this message. If
- # text is contained in a shape without a parent placeholder, unsetting these
- # fields will revert the style to a value matching the defaults in the Slides
- # editor.
- "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- "bold": True or False, # Whether or not the text is rendered as bold.
- "baselineOffset": "A String", # The text's vertical offset from its normal position.
- #
- # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
- # rendered in a smaller font size, computed based on the `font_size` field.
- # The `font_size` itself is not affected by changes in this field.
- "strikethrough": True or False, # Whether or not the text is struck through.
- "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").
- },
- "smallCaps": True or False, # Whether or not the text is in small capital letters.
- "fontFamily": "A String", # The font family of the text.
- #
- # The font family can be any font from the Font menu in Slides or from
- # [Google Fonts] (https://fonts.google.com/). If the font name is
- # unrecognized, the text is rendered in `Arial`.
- #
- # Some fonts can affect the weight of the text. If an update request
- # specifies values for both `font_family` and `bold`, the explicitly-set
- # `bold` value is used.
- "italic": True or False, # Whether or not the text is italicized.
- "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
- # are not inherited from parent text.
- #
- # Changing the link in an update request causes some other changes to the
- # text style of the range:
- #
- # * When setting a link, the text foreground color will be set to
- # ThemeColorType.HYPERLINK and the text will
- # be underlined. If these fields are modified in the same
- # request, those values will be used instead of the link defaults.
- # * Setting a link on a text range that overlaps with an existing link will
- # also update the existing link to point to the new URL.
- # * Links are not settable on newline characters. As a result, setting a link
- # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
- # will separate the newline character(s) into their own text runs. The
- # link will be applied separately to the runs before and after the newline.
- # * Removing a link will update the text style of the range to match the
- # style of the preceding text (or the default text styles if the preceding
- # text is another link) unless different styles are being set in the same
- # request.
- "url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
- # in the presentation. There may not be a slide at this index.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
- "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
- # addressed by its position.
- },
- "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
- "underline": True or False, # Whether or not the text is underlined.
- },
- },
- },
- "listId": "A String", # The ID of the list.
- },
- },
"textElements": [ # The text contents broken down into its component parts, including styling
# information. This property is read-only.
{ # A TextElement describes the content of a range of indices in the text content
@@ -9920,7 +10945,18 @@
},
},
},
- "bold": True or False, # Whether or not the text is rendered as bold.
+ "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
"baselineOffset": "A String", # The text's vertical offset from its normal position.
#
# Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
@@ -9964,7 +11000,8 @@
"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),
+ # 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").
@@ -9979,6 +11016,11 @@
# Some fonts can affect the weight of the text. If an update request
# specifies values for both `font_family` and `bold`, the explicitly-set
# `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
"italic": True or False, # Whether or not the text is italicized.
"link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
# are not inherited from parent text.
@@ -10008,24 +11050,8 @@
"relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
# addressed by its position.
},
- "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
"underline": True or False, # Whether or not the text is underlined.
+ "bold": True or False, # Whether or not the text is rendered as bold.
},
"type": "A String", # The type of this auto text.
},
@@ -10056,7 +11082,7 @@
"direction": "A String", # The text direction of this paragraph. If unset, the value defaults to
# LEFT_TO_RIGHT since
# text direction is not inherited.
- "spaceBelow": { # A magnitude in a single direction in the specified units. # The amount of extra space above the paragraph. If unset, the value is
+ "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.
"magnitude": 3.14, # The magnitude.
"unit": "A String", # The units for magnitude.
@@ -10120,7 +11146,18 @@
},
},
},
- "bold": True or False, # Whether or not the text is rendered as bold.
+ "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
"baselineOffset": "A String", # The text's vertical offset from its normal position.
#
# Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
@@ -10164,7 +11201,8 @@
"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),
+ # 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").
@@ -10179,6 +11217,11 @@
# Some fonts can affect the weight of the text. If an update request
# specifies values for both `font_family` and `bold`, the explicitly-set
# `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
"italic": True or False, # Whether or not the text is italicized.
"link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
# are not inherited from parent text.
@@ -10208,24 +11251,8 @@
"relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
# addressed by its position.
},
- "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
"underline": True or False, # Whether or not the text is underlined.
+ "bold": True or False, # Whether or not the text is rendered as bold.
},
"glyph": "A String", # The rendered bullet glyph for this paragraph.
},
@@ -10267,7 +11294,18 @@
},
},
},
- "bold": True or False, # Whether or not the text is rendered as bold.
+ "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
"baselineOffset": "A String", # The text's vertical offset from its normal position.
#
# Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
@@ -10311,7 +11349,8 @@
"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),
+ # 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").
@@ -10326,6 +11365,11 @@
# Some fonts can affect the weight of the text. If an update request
# specifies values for both `font_family` and `bold`, the explicitly-set
# `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
"italic": True or False, # Whether or not the text is italicized.
"link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
# are not inherited from parent text.
@@ -10355,28 +11399,163 @@
"relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
# addressed by its position.
},
- "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
"underline": True or False, # Whether or not the text is underlined.
+ "bold": True or False, # Whether or not the text is rendered as bold.
},
},
},
],
+ "lists": { # The bulleted lists contained in this text, keyed by list ID.
+ "a_key": { # A List describes the look and feel of bullets belonging to paragraphs
+ # associated with a list. A paragraph that is part of a list has an implicit
+ # reference to that list's ID.
+ "nestingLevel": { # A map of nesting levels to the properties of bullets at the associated
+ # level. A list has at most nine levels of nesting, so the possible values
+ # for the keys of this map are 0 through 8, inclusive.
+ "a_key": { # Contains properties describing the look and feel of a list bullet at a given
+ # level of nesting.
+ "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The style of a bullet at this level of nesting.
+ #
+ # If this text is contained in a shape with a parent placeholder, then these text styles may be
+ # inherited from the parent. Which text styles are inherited depend on the
+ # nesting level of lists:
+ #
+ # * A text run in a paragraph that is not in a list will inherit its text style
+ # from the the newline character in the paragraph at the 0 nesting level of
+ # the list inside the parent placeholder.
+ # * A text run in a paragraph that is in a list will inherit its text style
+ # from the newline character in the paragraph at its corresponding nesting
+ # level of the list inside the parent placeholder.
+ #
+ # Inherited text styles are represented as unset fields in this message. If
+ # text is contained in a shape without a parent placeholder, unsetting these
+ # fields will revert the style to a value matching the defaults in the Slides
+ # editor.
+ "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ "baselineOffset": "A String", # The text's vertical offset from its normal position.
+ #
+ # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
+ # rendered in a smaller font size, computed based on the `font_size` field.
+ # The `font_size` itself is not affected by changes in this field.
+ "strikethrough": True or False, # Whether or not the text is struck through.
+ "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").
+ },
+ "smallCaps": True or False, # Whether or not the text is in small capital letters.
+ "fontFamily": "A String", # The font family of the text.
+ #
+ # The font family can be any font from the Font menu in Slides or from
+ # [Google Fonts] (https://fonts.google.com/). If the font name is
+ # unrecognized, the text is rendered in `Arial`.
+ #
+ # Some fonts can affect the weight of the text. If an update request
+ # specifies values for both `font_family` and `bold`, the explicitly-set
+ # `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "italic": True or False, # Whether or not the text is italicized.
+ "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
+ # are not inherited from parent text.
+ #
+ # Changing the link in an update request causes some other changes to the
+ # text style of the range:
+ #
+ # * When setting a link, the text foreground color will be set to
+ # ThemeColorType.HYPERLINK and the text will
+ # be underlined. If these fields are modified in the same
+ # request, those values will be used instead of the link defaults.
+ # * Setting a link on a text range that overlaps with an existing link will
+ # also update the existing link to point to the new URL.
+ # * Links are not settable on newline characters. As a result, setting a link
+ # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
+ # will separate the newline character(s) into their own text runs. The
+ # link will be applied separately to the runs before and after the newline.
+ # * Removing a link will update the text style of the range to match the
+ # style of the preceding text (or the default text styles if the preceding
+ # text is another link) unless different styles are being set in the same
+ # request.
+ "url": "A String", # If set, indicates this is a link to the external web page at this URL.
+ "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
+ # in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
+ "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
+ # addressed by its position.
+ },
+ "underline": True or False, # Whether or not the text is underlined.
+ "bold": True or False, # Whether or not the text is rendered as bold.
+ },
+ },
+ },
+ "listId": "A String", # The ID of the list.
+ },
+ },
},
"tableCellProperties": { # The properties of the TableCell. # The properties of the table cell.
"tableCellBackgroundFill": { # The table cell background fill. # The background fill of the table cell. The default fill matches the fill
@@ -10404,11 +11583,13 @@
},
"propertyState": "A String", # The background fill property state.
#
- # Updating the the fill on a table cell will implicitly update this field
+ # Updating the fill on a table cell will implicitly update this field
# to `RENDERED`, unless another value is specified in the same request. To
# have no fill on a table cell, set this field to `NOT_RENDERED`. In this
# case, any other fill fields set in the same request will be ignored.
},
+ "contentAlignment": "A String", # The alignment of the content in the table cell. The default alignment
+ # matches the alignment for newly created table cells in the Slides editor.
},
"rowSpan": 42, # Row span of the cell.
"columnSpan": 42, # Column span of the cell.
@@ -10422,13 +11603,24 @@
"magnitude": 3.14, # The magnitude.
"unit": "A String", # The units for 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).
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ },
},
],
- "rows": 42, # Number of rows in the table.
"columns": 42, # Number of columns in the table.
},
"line": { # A PageElement kind representing a # A line page element.
- # line, curved connector, or bent connector.
+ # non-connector line, straight connector, curved connector, or bent connector.
+ "lineCategory": "A String", # The category of the line.
+ #
+ # It matches the `category` specified in CreateLineRequest, and can be updated with
+ # UpdateLineCategoryRequest.
"lineProperties": { # The properties of the Line. # The properties of the line.
#
# When unset, these fields default to values that match the appearance of
@@ -10472,6 +11664,51 @@
# a value of 0.0 corresponds to a completely transparent color.
},
},
+ "startConnection": { # The properties for one end of a Line # The connection at the beginning of the line. If unset, there is no
+ # connection.
+ #
+ # Only lines with a Type indicating it is
+ # a "connector" can have a `start_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.
+ },
+ "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.
+ },
"startArrow": "A String", # The style of the arrow at the beginning of the line.
},
"lineType": "A String", # The type of the line.
@@ -10486,6 +11723,8 @@
"unit": "A String", # The units for magnitude.
},
},
+ "description": "A String", # The description of the page element. Combined with title to display alt
+ # text.
},
],
"notesProperties": { # The properties of Page that are only # Notes specific properties. Only set if page_type = NOTES.
@@ -10512,6 +11751,10 @@
# 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.
+ "masterProperties": { # The properties of Page that are only # Master specific properties. Only set if page_type = MASTER.
+ # relevant for pages with page_type MASTER.
+ "displayName": "A String", # The human-readable name of the master.
+ },
"pageProperties": { # The properties of the Page. # The properties of the page.
#
# The page will inherit properties from the parent page. Depending on the page
@@ -10544,7 +11787,7 @@
},
"propertyState": "A String", # The background fill property state.
#
- # Updating the the fill on a page will implicitly update this field to
+ # 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.
@@ -10561,8 +11804,10 @@
#
# The picture is fetched once at insertion time and a copy is stored for
# display inside the presentation. Pictures must be less than 50MB in size,
- # cannot exceed 25 megapixels, and must be in either in PNG, JPEG, or GIF
+ # 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.
"magnitude": 3.14, # The magnitude.
@@ -10601,9 +11846,11 @@
# notes for this slide. The ID of this shape is identified by the
# speakerNotesObjectId field.
# The notes page is read-only except for the text content and styles of the
- # speaker notes shape.
- "masterObjectId": "A String", # The object ID of the master that this slide is based on.
- "layoutObjectId": "A String", # The object ID of the layout that this slide is based on.
+ # 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.
},
},
],
@@ -10619,1068 +11866,48 @@
{ # A Google Slides presentation.
"presentationId": "A String", # The ID of the presentation.
- "notesMaster": { # A page in a presentation. # The notes master in the presentation. It serves three purposes:
+ "masters": [ # The slide masters in the presentation. A slide master contains all common
+ # page elements and the common properties for a set of layouts. They serve
+ # three purposes:
#
- # - Placeholder shapes on a notes master contain the default text styles and
- # shape properties of all placeholder shapes on notes pages. Specifically,
- # a `SLIDE_IMAGE` placeholder shape contains the slide thumbnail, and a
- # `BODY` placeholder shape contains the speaker notes.
- # - The notes master page properties define the common page properties
- # inherited by all notes pages.
- # - Any other shapes on the notes master will appear on all notes pages.
- #
- # The notes master is read-only.
- "layoutProperties": { # The properties of Page are only # Layout specific properties. Only set if page_type = LAYOUT.
- # relevant for pages with page_type LAYOUT.
- "displayName": "A String", # The human readable name of the layout in the presentation's locale.
- "name": "A String", # The name of the layout.
- "masterObjectId": "A String", # The object ID of the master that this layout is based on.
- },
- "pageElements": [ # The page elements rendered on the page.
- { # A visual element rendered on a page.
- "wordArt": { # A PageElement kind representing # A word art page element.
- # word art.
- "renderedText": "A String", # The text rendered as word art.
- },
- "description": "A String", # The description of the page element. Combined with title to display alt
- # text.
- "objectId": "A String", # The object ID for this page element. Object IDs used by
- # google.apps.slides.v1.Page and
- # google.apps.slides.v1.PageElement share the same namespace.
- "title": "A String", # The title of the page element. Combined with description to display alt
- # text.
- "image": { # A PageElement kind representing an # An image page element.
- # image.
- "contentUrl": "A String", # An URL to an image with a default lifetime of 30 minutes.
- # This URL is tagged with the account of the requester. Anyone with the URL
- # effectively accesses the image as the original requester. Access to the
- # image may be lost if the presentation's sharing settings change.
- "imageProperties": { # The properties of the Image. # The properties of the image.
- "outline": { # The outline of a PageElement. # The outline of the image. If not set, the the image has no outline.
- #
- # If these fields are unset, they may be inherited from a parent placeholder
- # if it exists. If there is no parent, the fields will default to the value
- # used for new page elements created in the Slides editor, which may depend on
- # the page element kind.
- "outlineFill": { # The fill of the outline. # The fill of the outline.
- "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill.
- # specified color value.
- #
- # If any field is unset, its value may be inherited from a parent placeholder
- # if it exists.
- "color": { # A themeable solid color value. # The color value of the solid fill.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel.
- # That is, the final pixel color is defined by the equation:
- #
- # pixel color = alpha * (color) + (1.0 - alpha) * (background color)
- #
- # This means that a value of 1.0 corresponds to a solid color, whereas
- # a value of 0.0 corresponds to a completely transparent color.
- },
- },
- "propertyState": "A String", # The outline property state.
- #
- # Updating the the outline on a page element will implicitly update this
- # field to`RENDERED`, unless another value is specified in the same request.
- # To have no outline on a page element, set this field to `NOT_RENDERED`. In
- # this case, any other outline fields set in the same request will be
- # ignored.
- "dashStyle": "A String", # The dash style of the outline.
- "weight": { # A magnitude in a single direction in the specified units. # The thickness of the outline.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
- },
- "brightness": 3.14, # The brightness effect of the image. The value should be in the interval
- # [-1.0, 1.0], where 0 means no effect. This property is read-only.
- "recolor": { # A recolor effect applied on an image. # The recolor effect of the image. If not set, the image is not recolored.
- # This property is read-only.
- "recolorStops": [ # The recolor effect is represented by a gradient, which is a list of color
- # stops.
- #
- # The colors in the gradient will replace the corresponding colors at
- # the same position in the color palette and apply to the image. This
- # property is read-only.
- { # A color and position in a gradient band.
- "color": { # A themeable solid color value. # The color of the gradient stop.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- "alpha": 3.14, # The alpha value of this color in the gradient band. Defaults to 1.0,
- # fully opaque.
- "position": 3.14, # The relative position of the color stop in the gradient band measured
- # in percentage. The value should be in the interval [0.0, 1.0].
- },
- ],
- "name": "A String", # The name of the recolor effect.
- #
- # The name is determined from the `recolor_stops` by matching the gradient
- # against the colors in the page's current color scheme. This property is
- # read-only.
- },
- "link": { # A hypertext link. # The hyperlink destination of the image. If unset, there is no link.
- "url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
- # in the presentation. There may not be a slide at this index.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
- "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
- # addressed by its position.
- },
- "transparency": 3.14, # The transparency effect of the image. The value should be in the interval
- # [0.0, 1.0], where 0 means no effect and 1 means completely transparent.
- # This property is read-only.
- "cropProperties": { # The crop properties of an object enclosed in a container. For example, an # The crop properties of the image. If not set, the image is not cropped.
- # This property is read-only.
- # Image.
- #
- # The crop properties is represented by the offsets of four edges which define
- # a crop rectangle. The offsets are measured in percentage from the
- # corresponding edges of the object's original bounding rectangle towards
- # inside, relative to the object's original dimensions.
- #
- # - If the offset is in the interval (0, 1), the corresponding edge of crop
- # rectangle is positioned inside of the object's original bounding rectangle.
- # - If the offset is negative or greater than 1, the corresponding edge of crop
- # rectangle is positioned outside of the object's original bounding rectangle.
- # - If the left edge of the crop rectangle is on the right side of its right
- # edge, the object will be flipped horizontally.
- # - If the top edge of the crop rectangle is below its bottom edge, the object
- # will be flipped vertically.
- # - If all offsets and rotation angle is 0, the object is not cropped.
- #
- # After cropping, the content in the crop rectangle will be stretched to fit
- # its container.
- "leftOffset": 3.14, # The offset specifies the left edge of the crop rectangle that is located to
- # the right of the original bounding rectangle left edge, relative to the
- # object's original width.
- "angle": 3.14, # The rotation angle of the crop window around its center, in radians.
- # Rotation angle is applied after the offset.
- "rightOffset": 3.14, # The offset specifies the right edge of the crop rectangle that is located
- # to the left of the original bounding rectangle right edge, relative to the
- # object's original width.
- "bottomOffset": 3.14, # The offset specifies the bottom edge of the crop rectangle that is located
- # above the original bounding rectangle bottom edge, relative to the object's
- # original height.
- "topOffset": 3.14, # The offset specifies the top edge of the crop rectangle that is located
- # below the original bounding rectangle top edge, relative to the object's
- # original height.
- },
- "shadow": { # The shadow properties of a page element. # The shadow of the image. If not set, the image has no shadow. This property
- # is read-only.
- #
- # If these fields are unset, they may be inherited from a parent placeholder
- # if it exists. If there is no parent, the fields will default to the value
- # used for new page elements created in the Slides editor, which may depend on
- # the page element kind.
- "color": { # A themeable solid color value. # The shadow color value.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- "transform": { # AffineTransform uses a 3x3 matrix with an implied last row of [ 0 0 1 ] # Transform that encodes the translate, scale, and skew of the shadow,
- # relative to the alignment position.
- # to transform source coordinates (x,y) into destination coordinates (x', y')
- # according to:
- #
- # x' x = shear_y scale_y translate_y
- # 1 [ 1 ]
- #
- # After transformation,
- #
- # x' = scale_x * x + shear_x * y + translate_x;
- # y' = scale_y * y + shear_y * x + translate_y;
- #
- # This message is therefore composed of these six matrix elements.
- "translateX": 3.14, # The X coordinate translation element.
- "translateY": 3.14, # The Y coordinate translation element.
- "scaleX": 3.14, # The X coordinate scaling element.
- "scaleY": 3.14, # The Y coordinate scaling element.
- "shearY": 3.14, # The Y coordinate shearing element.
- "shearX": 3.14, # The X coordinate shearing element.
- "unit": "A String", # The units for translate elements.
- },
- "propertyState": "A String", # The shadow property state.
- #
- # Updating the the shadow on a page element will implicitly update this field
- # to `RENDERED`, unless another value is specified in the same request. To
- # have no shadow on a page element, set this field to `NOT_RENDERED`. In this
- # case, any other shadow fields set in the same request will be ignored.
- "blurRadius": { # A magnitude in a single direction in the specified units. # The radius of the shadow blur. The larger the radius, the more diffuse the
- # shadow becomes.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
- "alpha": 3.14, # The alpha of the shadow's color, from 0.0 to 1.0.
- "type": "A String", # The type of the shadow.
- "alignment": "A String", # The alignment point of the shadow, that sets the origin for translate,
- # scale and skew of the shadow.
- "rotateWithShape": True or False, # Whether the shadow should rotate with the shape.
- },
- "contrast": 3.14, # The contrast effect of the image. The value should be in the interval
- # [-1.0, 1.0], where 0 means no effect. This property is read-only.
+ # - Placeholder shapes on a master contain the default text styles and shape
+ # properties of all placeholder shapes on pages that use that master.
+ # - The master page properties define the common page properties inherited by
+ # its layouts.
+ # - Any other shapes on the master slide will appear on all slides using that
+ # master, regardless of their layout.
+ { # A page in a presentation.
+ "layoutProperties": { # The properties of Page are only # Layout specific properties. Only set if page_type = LAYOUT.
+ # relevant for pages with page_type LAYOUT.
+ "displayName": "A String", # The human-readable name of the layout.
+ "name": "A String", # The name of the layout.
+ "masterObjectId": "A String", # The object ID of the master that this layout is based on.
+ },
+ "pageElements": [ # The page elements rendered on the page.
+ { # A visual element rendered on a page.
+ "wordArt": { # A PageElement kind representing # A word art page element.
+ # word art.
+ "renderedText": "A String", # The text rendered as word art.
},
- },
- "transform": { # AffineTransform uses a 3x3 matrix with an implied last row of [ 0 0 1 ] # The transform of the page element.
- # to transform source coordinates (x,y) into destination coordinates (x', y')
- # according to:
- #
- # x' x = shear_y scale_y translate_y
- # 1 [ 1 ]
- #
- # After transformation,
- #
- # x' = scale_x * x + shear_x * y + translate_x;
- # y' = scale_y * y + shear_y * x + translate_y;
- #
- # This message is therefore composed of these six matrix elements.
- "translateX": 3.14, # The X coordinate translation element.
- "translateY": 3.14, # The Y coordinate translation element.
- "scaleX": 3.14, # The X coordinate scaling element.
- "scaleY": 3.14, # The Y coordinate scaling element.
- "shearY": 3.14, # The Y coordinate shearing element.
- "shearX": 3.14, # The X coordinate shearing element.
- "unit": "A String", # The units for translate elements.
- },
- "shape": { # A PageElement kind representing a # A generic shape.
- # generic shape that does not have a more specific classification.
- "text": { # The general text content. The text must reside in a compatible shape (e.g. # The text content of the shape.
- # text box or rectangle) or a table cell in a page.
- "lists": { # The bulleted lists contained in this text, keyed by list ID.
- "a_key": { # A List describes the look and feel of bullets belonging to paragraphs
- # associated with a list. A paragraph that is part of a list has an implicit
- # reference to that list's ID.
- "nestingLevel": { # A map of nesting levels to the properties of bullets at the associated
- # level. A list has at most nine levels of nesting, so the possible values
- # for the keys of this map are 0 through 8, inclusive.
- "a_key": { # Contains properties describing the look and feel of a list bullet at a given
- # level of nesting.
- "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The style of a bullet at this level of nesting.
- #
- # If this text is contained in a shape with a parent placeholder, then these text styles may be
- # inherited from the parent. Which text styles are inherited depend on the
- # nesting level of lists:
- #
- # * A text run in a paragraph that is not in a list will inherit its text style
- # from the the newline character in the paragraph at the 0 nesting level of
- # the list inside the parent placeholder.
- # * A text run in a paragraph that is in a list will inherit its text style
- # from the newline character in the paragraph at its corresponding nesting
- # level of the list inside the parent placeholder.
- #
- # Inherited text styles are represented as unset fields in this message. If
- # text is contained in a shape without a parent placeholder, unsetting these
- # fields will revert the style to a value matching the defaults in the Slides
- # editor.
- "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- "bold": True or False, # Whether or not the text is rendered as bold.
- "baselineOffset": "A String", # The text's vertical offset from its normal position.
- #
- # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
- # rendered in a smaller font size, computed based on the `font_size` field.
- # The `font_size` itself is not affected by changes in this field.
- "strikethrough": True or False, # Whether or not the text is struck through.
- "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").
- },
- "smallCaps": True or False, # Whether or not the text is in small capital letters.
- "fontFamily": "A String", # The font family of the text.
- #
- # The font family can be any font from the Font menu in Slides or from
- # [Google Fonts] (https://fonts.google.com/). If the font name is
- # unrecognized, the text is rendered in `Arial`.
- #
- # Some fonts can affect the weight of the text. If an update request
- # specifies values for both `font_family` and `bold`, the explicitly-set
- # `bold` value is used.
- "italic": True or False, # Whether or not the text is italicized.
- "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
- # are not inherited from parent text.
- #
- # Changing the link in an update request causes some other changes to the
- # text style of the range:
- #
- # * When setting a link, the text foreground color will be set to
- # ThemeColorType.HYPERLINK and the text will
- # be underlined. If these fields are modified in the same
- # request, those values will be used instead of the link defaults.
- # * Setting a link on a text range that overlaps with an existing link will
- # also update the existing link to point to the new URL.
- # * Links are not settable on newline characters. As a result, setting a link
- # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
- # will separate the newline character(s) into their own text runs. The
- # link will be applied separately to the runs before and after the newline.
- # * Removing a link will update the text style of the range to match the
- # style of the preceding text (or the default text styles if the preceding
- # text is another link) unless different styles are being set in the same
- # request.
- "url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
- # in the presentation. There may not be a slide at this index.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
- "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
- # addressed by its position.
- },
- "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
- "underline": True or False, # Whether or not the text is underlined.
- },
- },
- },
- "listId": "A String", # The ID of the list.
- },
- },
- "textElements": [ # The text contents broken down into its component parts, including styling
- # information. This property is read-only.
- { # A TextElement describes the content of a range of indices in the text content
- # of a Shape or TableCell.
- "autoText": { # A TextElement kind that represents auto text. # A TextElement representing a spot in the text that is dynamically
- # replaced with content that can change over time.
- "content": "A String", # The rendered content of this auto text, if available.
- "style": { # Represents the styling that can be applied to a TextRun. # The styling applied to this auto text.
- #
- # If this text is contained in a shape with a parent placeholder, then these text styles may be
- # inherited from the parent. Which text styles are inherited depend on the
- # nesting level of lists:
- #
- # * A text run in a paragraph that is not in a list will inherit its text style
- # from the the newline character in the paragraph at the 0 nesting level of
- # the list inside the parent placeholder.
- # * A text run in a paragraph that is in a list will inherit its text style
- # from the newline character in the paragraph at its corresponding nesting
- # level of the list inside the parent placeholder.
- #
- # Inherited text styles are represented as unset fields in this message. If
- # text is contained in a shape without a parent placeholder, unsetting these
- # fields will revert the style to a value matching the defaults in the Slides
- # editor.
- "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- "bold": True or False, # Whether or not the text is rendered as bold.
- "baselineOffset": "A String", # The text's vertical offset from its normal position.
- #
- # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
- # rendered in a smaller font size, computed based on the `font_size` field.
- # The `font_size` itself is not affected by changes in this field.
- "strikethrough": True or False, # Whether or not the text is struck through.
- "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").
- },
- "smallCaps": True or False, # Whether or not the text is in small capital letters.
- "fontFamily": "A String", # The font family of the text.
- #
- # The font family can be any font from the Font menu in Slides or from
- # [Google Fonts] (https://fonts.google.com/). If the font name is
- # unrecognized, the text is rendered in `Arial`.
- #
- # Some fonts can affect the weight of the text. If an update request
- # specifies values for both `font_family` and `bold`, the explicitly-set
- # `bold` value is used.
- "italic": True or False, # Whether or not the text is italicized.
- "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
- # are not inherited from parent text.
- #
- # Changing the link in an update request causes some other changes to the
- # text style of the range:
- #
- # * When setting a link, the text foreground color will be set to
- # ThemeColorType.HYPERLINK and the text will
- # be underlined. If these fields are modified in the same
- # request, those values will be used instead of the link defaults.
- # * Setting a link on a text range that overlaps with an existing link will
- # also update the existing link to point to the new URL.
- # * Links are not settable on newline characters. As a result, setting a link
- # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
- # will separate the newline character(s) into their own text runs. The
- # link will be applied separately to the runs before and after the newline.
- # * Removing a link will update the text style of the range to match the
- # style of the preceding text (or the default text styles if the preceding
- # text is another link) unless different styles are being set in the same
- # request.
- "url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
- # in the presentation. There may not be a slide at this index.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
- "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
- # addressed by its position.
- },
- "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
- "underline": True or False, # Whether or not the text is underlined.
- },
- "type": "A String", # The type of this auto text.
- },
- "endIndex": 42, # The zero-based end index of this text element, exclusive, in Unicode code
- # units.
- "startIndex": 42, # The zero-based start index of this text element, in Unicode code units.
- "paragraphMarker": { # A TextElement kind that represents the beginning of a new paragraph. # A marker representing the beginning of a new paragraph.
- #
- # The `start_index` and `end_index` of this TextElement represent the
- # range of the paragraph. Other TextElements with an index range contained
- # inside this paragraph's range are considered to be part of this
- # paragraph. The range of indices of two separate paragraphs will never
- # overlap.
- "style": { # Styles that apply to a whole paragraph. # The paragraph's style
- #
- # If this text is contained in a shape with a parent placeholder, then these paragraph styles may be
- # inherited from the parent. Which paragraph styles are inherited depend on the
- # nesting level of lists:
- #
- # * A paragraph not in a list will inherit its paragraph style from the
- # paragraph at the 0 nesting level of the list inside the parent placeholder.
- # * A paragraph in a list will inherit its paragraph style from the paragraph
- # at its corresponding nesting level of the list inside the parent
- # placeholder.
- #
- # Inherited paragraph styles are represented as unset fields in this message.
- "spacingMode": "A String", # The spacing mode for the paragraph.
- "direction": "A String", # The text direction of this paragraph. If unset, the value defaults to
- # LEFT_TO_RIGHT since
- # text direction is not inherited.
- "spaceBelow": { # A magnitude in a single direction in the specified units. # The amount of extra space above the paragraph. If unset, the value is
- # inherited from the parent.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
- "lineSpacing": 3.14, # The amount of space between lines, as a percentage of normal, where normal
- # is represented as 100.0. If unset, the value is inherited from the parent.
- "indentStart": { # A magnitude in a single direction in the specified units. # The amount indentation for the paragraph on the side that corresponds to
- # the start of the text, based on the current text direction. If unset, the
- # value is inherited from the parent.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
- "spaceAbove": { # A magnitude in a single direction in the specified units. # The amount of extra space above the paragraph. If unset, the value is
- # inherited from the parent.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
- "indentEnd": { # A magnitude in a single direction in the specified units. # The amount indentation for the paragraph on the side that corresponds to
- # the end of the text, based on the current text direction. If unset, the
- # value is inherited from the parent.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
- "indentFirstLine": { # A magnitude in a single direction in the specified units. # The amount of indentation for the start of the first line of the paragraph.
- # If unset, the value is inherited from the parent.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
- "alignment": "A String", # The text alignment for this paragraph.
- },
- "bullet": { # Describes the bullet of a paragraph. # The bullet for this paragraph. If not present, the paragraph does not
- # belong to a list.
- "nestingLevel": 42, # The nesting level of this paragraph in the list.
- "listId": "A String", # The ID of the list this paragraph belongs to.
- "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The paragraph specific text style applied to this bullet.
- #
- # If this text is contained in a shape with a parent placeholder, then these text styles may be
- # inherited from the parent. Which text styles are inherited depend on the
- # nesting level of lists:
- #
- # * A text run in a paragraph that is not in a list will inherit its text style
- # from the the newline character in the paragraph at the 0 nesting level of
- # the list inside the parent placeholder.
- # * A text run in a paragraph that is in a list will inherit its text style
- # from the newline character in the paragraph at its corresponding nesting
- # level of the list inside the parent placeholder.
- #
- # Inherited text styles are represented as unset fields in this message. If
- # text is contained in a shape without a parent placeholder, unsetting these
- # fields will revert the style to a value matching the defaults in the Slides
- # editor.
- "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- "bold": True or False, # Whether or not the text is rendered as bold.
- "baselineOffset": "A String", # The text's vertical offset from its normal position.
- #
- # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
- # rendered in a smaller font size, computed based on the `font_size` field.
- # The `font_size` itself is not affected by changes in this field.
- "strikethrough": True or False, # Whether or not the text is struck through.
- "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").
- },
- "smallCaps": True or False, # Whether or not the text is in small capital letters.
- "fontFamily": "A String", # The font family of the text.
- #
- # The font family can be any font from the Font menu in Slides or from
- # [Google Fonts] (https://fonts.google.com/). If the font name is
- # unrecognized, the text is rendered in `Arial`.
- #
- # Some fonts can affect the weight of the text. If an update request
- # specifies values for both `font_family` and `bold`, the explicitly-set
- # `bold` value is used.
- "italic": True or False, # Whether or not the text is italicized.
- "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
- # are not inherited from parent text.
- #
- # Changing the link in an update request causes some other changes to the
- # text style of the range:
- #
- # * When setting a link, the text foreground color will be set to
- # ThemeColorType.HYPERLINK and the text will
- # be underlined. If these fields are modified in the same
- # request, those values will be used instead of the link defaults.
- # * Setting a link on a text range that overlaps with an existing link will
- # also update the existing link to point to the new URL.
- # * Links are not settable on newline characters. As a result, setting a link
- # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
- # will separate the newline character(s) into their own text runs. The
- # link will be applied separately to the runs before and after the newline.
- # * Removing a link will update the text style of the range to match the
- # style of the preceding text (or the default text styles if the preceding
- # text is another link) unless different styles are being set in the same
- # request.
- "url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
- # in the presentation. There may not be a slide at this index.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
- "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
- # addressed by its position.
- },
- "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
- "underline": True or False, # Whether or not the text is underlined.
- },
- "glyph": "A String", # The rendered bullet glyph for this paragraph.
- },
- },
- "textRun": { # A TextElement kind that represents a run of text that all has the same # A TextElement representing a run of text where all of the characters
- # in the run have the same TextStyle.
- #
- # The `start_index` and `end_index` of TextRuns will always be fully
- # contained in the index range of a single `paragraph_marker` TextElement.
- # In other words, a TextRun will never span multiple paragraphs.
- # styling.
- "content": "A String", # The text of this run.
- "style": { # Represents the styling that can be applied to a TextRun. # The styling applied to this run.
- #
- # If this text is contained in a shape with a parent placeholder, then these text styles may be
- # inherited from the parent. Which text styles are inherited depend on the
- # nesting level of lists:
- #
- # * A text run in a paragraph that is not in a list will inherit its text style
- # from the the newline character in the paragraph at the 0 nesting level of
- # the list inside the parent placeholder.
- # * A text run in a paragraph that is in a list will inherit its text style
- # from the newline character in the paragraph at its corresponding nesting
- # level of the list inside the parent placeholder.
- #
- # Inherited text styles are represented as unset fields in this message. If
- # text is contained in a shape without a parent placeholder, unsetting these
- # fields will revert the style to a value matching the defaults in the Slides
- # editor.
- "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- "bold": True or False, # Whether or not the text is rendered as bold.
- "baselineOffset": "A String", # The text's vertical offset from its normal position.
- #
- # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
- # rendered in a smaller font size, computed based on the `font_size` field.
- # The `font_size` itself is not affected by changes in this field.
- "strikethrough": True or False, # Whether or not the text is struck through.
- "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").
- },
- "smallCaps": True or False, # Whether or not the text is in small capital letters.
- "fontFamily": "A String", # The font family of the text.
- #
- # The font family can be any font from the Font menu in Slides or from
- # [Google Fonts] (https://fonts.google.com/). If the font name is
- # unrecognized, the text is rendered in `Arial`.
- #
- # Some fonts can affect the weight of the text. If an update request
- # specifies values for both `font_family` and `bold`, the explicitly-set
- # `bold` value is used.
- "italic": True or False, # Whether or not the text is italicized.
- "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
- # are not inherited from parent text.
- #
- # Changing the link in an update request causes some other changes to the
- # text style of the range:
- #
- # * When setting a link, the text foreground color will be set to
- # ThemeColorType.HYPERLINK and the text will
- # be underlined. If these fields are modified in the same
- # request, those values will be used instead of the link defaults.
- # * Setting a link on a text range that overlaps with an existing link will
- # also update the existing link to point to the new URL.
- # * Links are not settable on newline characters. As a result, setting a link
- # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
- # will separate the newline character(s) into their own text runs. The
- # link will be applied separately to the runs before and after the newline.
- # * Removing a link will update the text style of the range to match the
- # style of the preceding text (or the default text styles if the preceding
- # text is another link) unless different styles are being set in the same
- # request.
- "url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
- # in the presentation. There may not be a slide at this index.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
- "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
- # addressed by its position.
- },
- "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
- "underline": True or False, # Whether or not the text is underlined.
- },
- },
- },
+ "elementGroup": { # A PageElement kind representing a # A collection of page elements joined as a single unit.
+ # joined collection of PageElements.
+ "children": [ # The collection of elements in the group. The minimum size of a group is 2.
+ # Object with schema name: PageElement
],
},
- "shapeProperties": { # The properties of a Shape. # The properties of the shape.
- #
- # If the shape is a placeholder shape as determined by the
- # placeholder field, then these
- # properties may be inherited from a parent placeholder shape.
- # Determining the rendered value of the property depends on the corresponding
- # property_state field value.
- "shadow": { # The shadow properties of a page element. # The shadow properties of the shape. If unset, the shadow is inherited from
- # a parent placeholder if it exists. If the shape has no parent, then the
- # default shadow matches the defaults for new shapes created in the Slides
- # editor. This property is read-only.
- #
- # If these fields are unset, they may be inherited from a parent placeholder
- # if it exists. If there is no parent, the fields will default to the value
- # used for new page elements created in the Slides editor, which may depend on
- # the page element kind.
- "color": { # A themeable solid color value. # The shadow color value.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- "transform": { # AffineTransform uses a 3x3 matrix with an implied last row of [ 0 0 1 ] # Transform that encodes the translate, scale, and skew of the shadow,
- # relative to the alignment position.
- # to transform source coordinates (x,y) into destination coordinates (x', y')
- # according to:
- #
- # x' x = shear_y scale_y translate_y
- # 1 [ 1 ]
- #
- # After transformation,
- #
- # x' = scale_x * x + shear_x * y + translate_x;
- # y' = scale_y * y + shear_y * x + translate_y;
- #
- # This message is therefore composed of these six matrix elements.
- "translateX": 3.14, # The X coordinate translation element.
- "translateY": 3.14, # The Y coordinate translation element.
- "scaleX": 3.14, # The X coordinate scaling element.
- "scaleY": 3.14, # The Y coordinate scaling element.
- "shearY": 3.14, # The Y coordinate shearing element.
- "shearX": 3.14, # The X coordinate shearing element.
- "unit": "A String", # The units for translate elements.
- },
- "propertyState": "A String", # The shadow property state.
- #
- # Updating the the shadow on a page element will implicitly update this field
- # to `RENDERED`, unless another value is specified in the same request. To
- # have no shadow on a page element, set this field to `NOT_RENDERED`. In this
- # case, any other shadow fields set in the same request will be ignored.
- "blurRadius": { # A magnitude in a single direction in the specified units. # The radius of the shadow blur. The larger the radius, the more diffuse the
- # shadow becomes.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
- "alpha": 3.14, # The alpha of the shadow's color, from 0.0 to 1.0.
- "type": "A String", # The type of the shadow.
- "alignment": "A String", # The alignment point of the shadow, that sets the origin for translate,
- # scale and skew of the shadow.
- "rotateWithShape": True or False, # Whether the shadow should rotate with the shape.
- },
- "shapeBackgroundFill": { # The shape background fill. # The background fill of the shape. If unset, the background fill is
- # inherited from a parent placeholder if it exists. If the shape has no
- # parent, then the default background fill depends on the shape type,
- # matching the defaults for new shapes created in the Slides editor.
- "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill.
- # specified color value.
- #
- # If any field is unset, its value may be inherited from a parent placeholder
- # if it exists.
- "color": { # A themeable solid color value. # The color value of the solid fill.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel.
- # That is, the final pixel color is defined by the equation:
- #
- # pixel color = alpha * (color) + (1.0 - alpha) * (background color)
- #
- # This means that a value of 1.0 corresponds to a solid color, whereas
- # a value of 0.0 corresponds to a completely transparent color.
- },
- "propertyState": "A String", # The background fill property state.
- #
- # Updating the the fill on a shape will implicitly update this field to
- # `RENDERED`, unless another value is specified in the same request. To
- # have no fill on a shape, set this field to `NOT_RENDERED`. In this case,
- # any other fill fields set in the same request will be ignored.
- },
- "link": { # A hypertext link. # The hyperlink destination of the shape. If unset, there is no link. Links
- # are not inherited from parent placeholders.
- "url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
- # in the presentation. There may not be a slide at this index.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
- "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
- # addressed by its position.
- },
- "outline": { # The outline of a PageElement. # The outline of the shape. If unset, the outline is inherited from a
- # parent placeholder if it exists. If the shape has no parent, then the
- # default outline depends on the shape type, matching the defaults for
- # new shapes created in the Slides editor.
- #
- # If these fields are unset, they may be inherited from a parent placeholder
- # if it exists. If there is no parent, the fields will default to the value
- # used for new page elements created in the Slides editor, which may depend on
- # the page element kind.
- "outlineFill": { # The fill of the outline. # The fill of the outline.
- "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill.
- # specified color value.
- #
- # If any field is unset, its value may be inherited from a parent placeholder
- # if it exists.
- "color": { # A themeable solid color value. # The color value of the solid fill.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel.
- # That is, the final pixel color is defined by the equation:
- #
- # pixel color = alpha * (color) + (1.0 - alpha) * (background color)
- #
- # This means that a value of 1.0 corresponds to a solid color, whereas
- # a value of 0.0 corresponds to a completely transparent color.
- },
- },
- "propertyState": "A String", # The outline property state.
- #
- # Updating the the outline on a page element will implicitly update this
- # field to`RENDERED`, unless another value is specified in the same request.
- # To have no outline on a page element, set this field to `NOT_RENDERED`. In
- # this case, any other outline fields set in the same request will be
- # ignored.
- "dashStyle": "A String", # The dash style of the outline.
- "weight": { # A magnitude in a single direction in the specified units. # The thickness of the outline.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
- },
- },
- "placeholder": { # The placeholder information that uniquely identifies a placeholder shape. # Placeholders are shapes that are inherit from corresponding placeholders on
- # layouts and masters.
- #
- # If set, the shape is a placeholder shape and any inherited properties
- # can be resolved by looking at the parent placeholder identified by the
- # Placeholder.parent_object_id field.
- "parentObjectId": "A String", # The object ID of this shape's parent placeholder.
- # If unset, the parent placeholder shape does not exist, so the shape does
- # not inherit properties from any other shape.
- "index": 42, # The index of the placeholder. If the same placeholder types are present in
- # the same page, they would have different index values.
- "type": "A String", # The type of the placeholder.
- },
- "shapeType": "A String", # The type of the shape.
- },
- "sheetsChart": { # A PageElement kind representing # A linked chart embedded from Google Sheets. Unlinked charts are
- # represented as images.
- # a linked chart embedded from Google Sheets.
- "contentUrl": "A String", # The URL of an image of the embedded chart, with a default lifetime of 30
- # minutes. This URL is tagged with the account of the requester. Anyone with
- # the URL effectively accesses the image as the original requester. Access to
- # the image may be lost if the presentation's sharing settings change.
- "spreadsheetId": "A String", # The ID of the Google Sheets spreadsheet that contains the source chart.
- "sheetsChartProperties": { # The properties of the SheetsChart. # The properties of the Sheets chart.
- "chartImageProperties": { # The properties of the Image. # The properties of the embedded chart image.
- "outline": { # The outline of a PageElement. # The outline of the image. If not set, the the image has no outline.
+ "objectId": "A String", # The object ID for this page element. Object IDs used by
+ # google.apps.slides.v1.Page and
+ # google.apps.slides.v1.PageElement share the same namespace.
+ "title": "A String", # The title of the page element. Combined with description to display alt
+ # text.
+ "image": { # A PageElement kind representing an # An image page element.
+ # image.
+ "contentUrl": "A String", # An URL to an image with a default lifetime of 30 minutes.
+ # This URL is tagged with the account of the requester. Anyone with the URL
+ # effectively accesses the image as the original requester. Access to the
+ # image may be lost if the presentation's sharing settings change.
+ "imageProperties": { # The properties of the Image. # The properties of the image.
+ "outline": { # The outline of a PageElement. # The outline of the image. If not set, the 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
@@ -11711,9 +11938,9 @@
},
"propertyState": "A String", # The outline property state.
#
- # Updating the the outline on a page element will implicitly update this
- # field to`RENDERED`, unless another value is specified in the same request.
- # To have no outline on a page element, set this field to `NOT_RENDERED`. In
+ # 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.
"dashStyle": "A String", # The dash style of the outline.
@@ -11789,14 +12016,14 @@
"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.
"angle": 3.14, # The rotation angle of the crop window around its center, in radians.
# Rotation angle is applied after the offset.
"rightOffset": 3.14, # The offset specifies the right edge of the crop rectangle that is located
# to the left of the original bounding rectangle right edge, relative to the
# object's original width.
- "bottomOffset": 3.14, # The offset specifies the bottom edge of the crop rectangle that is located
- # above the original bounding rectangle bottom edge, relative to the object's
- # original height.
"topOffset": 3.14, # The offset specifies the top edge of the crop rectangle that is located
# below the original bounding rectangle top edge, relative to the object's
# original height.
@@ -11840,9 +12067,9 @@
},
"propertyState": "A String", # The shadow property state.
#
- # Updating the the shadow on a page element will implicitly update this field
- # to `RENDERED`, unless another value is specified in the same request. To
- # have no shadow on a page element, set this field to `NOT_RENDERED`. In this
+ # 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.
"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.
@@ -11850,31 +12077,1986 @@
"unit": "A String", # The units for magnitude.
},
"alpha": 3.14, # The alpha of the shadow's color, from 0.0 to 1.0.
- "type": "A String", # The type of the shadow.
+ "type": "A String", # The type of the shadow. This property is read-only.
"alignment": "A String", # The alignment point of the shadow, that sets the origin for translate,
- # scale and skew of the shadow.
- "rotateWithShape": True or False, # Whether the shadow should rotate with the shape.
+ # scale and skew of the shadow. This property is read-only.
+ "rotateWithShape": True or False, # Whether the shadow should rotate with the shape. 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.
},
+ "sourceUrl": "A String", # The source URL is the URL used to insert the image. The source URL can be
+ # empty.
},
- "chartId": 42, # The ID of the specific chart in the Google Sheets spreadsheet that is
- # embedded.
- },
- "video": { # A PageElement kind representing a # A video page element.
- # video.
- "url": "A String", # An URL to a video. The URL is valid as long as the source video
- # exists and sharing settings do not change.
- "videoProperties": { # The properties of the Video. # The properties of the video.
- "outline": { # The outline of a PageElement. # The outline of the video. The default outline matches the defaults for new
- # videos created in the Slides editor.
+ "transform": { # AffineTransform uses a 3x3 matrix with an implied last row of [ 0 0 1 ] # The transform of the page element.
+ #
+ # The visual appearance of the page element is determined by its absolute
+ # transform. To compute the absolute transform, preconcatenate a page
+ # element's transform with the transforms of all of its parent groups. If the
+ # page element is not in a group, its absolute transform is the same as the
+ # value in this field.
+ #
+ # The initial transform for the newly created Group is always the identity transform.
+ # to transform source coordinates (x,y) into destination coordinates (x', y')
+ # according to:
+ #
+ # x' x = shear_y scale_y translate_y
+ # 1 [ 1 ]
+ #
+ # After transformation,
+ #
+ # x' = scale_x * x + shear_x * y + translate_x;
+ # y' = scale_y * y + shear_y * x + translate_y;
+ #
+ # This message is therefore composed of these six matrix elements.
+ "translateX": 3.14, # The X coordinate translation element.
+ "translateY": 3.14, # The Y coordinate translation element.
+ "scaleX": 3.14, # The X coordinate scaling element.
+ "scaleY": 3.14, # The Y coordinate scaling element.
+ "shearY": 3.14, # The Y coordinate shearing element.
+ "shearX": 3.14, # The X coordinate shearing element.
+ "unit": "A String", # The units for translate elements.
+ },
+ "shape": { # A PageElement kind representing a # A generic shape.
+ # generic shape that does not have a more specific classification.
+ "text": { # The general text content. The text must reside in a compatible shape (e.g. # The text content of the shape.
+ # text box or rectangle) or a table cell in a page.
+ "textElements": [ # The text contents broken down into its component parts, including styling
+ # information. This property is read-only.
+ { # A TextElement describes the content of a range of indices in the text content
+ # of a Shape or TableCell.
+ "autoText": { # A TextElement kind that represents auto text. # A TextElement representing a spot in the text that is dynamically
+ # replaced with content that can change over time.
+ "content": "A String", # The rendered content of this auto text, if available.
+ "style": { # Represents the styling that can be applied to a TextRun. # The styling applied to this auto text.
+ #
+ # If this text is contained in a shape with a parent placeholder, then these text styles may be
+ # inherited from the parent. Which text styles are inherited depend on the
+ # nesting level of lists:
+ #
+ # * A text run in a paragraph that is not in a list will inherit its text style
+ # from the the newline character in the paragraph at the 0 nesting level of
+ # the list inside the parent placeholder.
+ # * A text run in a paragraph that is in a list will inherit its text style
+ # from the newline character in the paragraph at its corresponding nesting
+ # level of the list inside the parent placeholder.
+ #
+ # Inherited text styles are represented as unset fields in this message. If
+ # text is contained in a shape without a parent placeholder, unsetting these
+ # fields will revert the style to a value matching the defaults in the Slides
+ # editor.
+ "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ "baselineOffset": "A String", # The text's vertical offset from its normal position.
+ #
+ # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
+ # rendered in a smaller font size, computed based on the `font_size` field.
+ # The `font_size` itself is not affected by changes in this field.
+ "strikethrough": True or False, # Whether or not the text is struck through.
+ "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").
+ },
+ "smallCaps": True or False, # Whether or not the text is in small capital letters.
+ "fontFamily": "A String", # The font family of the text.
+ #
+ # The font family can be any font from the Font menu in Slides or from
+ # [Google Fonts] (https://fonts.google.com/). If the font name is
+ # unrecognized, the text is rendered in `Arial`.
+ #
+ # Some fonts can affect the weight of the text. If an update request
+ # specifies values for both `font_family` and `bold`, the explicitly-set
+ # `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "italic": True or False, # Whether or not the text is italicized.
+ "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
+ # are not inherited from parent text.
+ #
+ # Changing the link in an update request causes some other changes to the
+ # text style of the range:
+ #
+ # * When setting a link, the text foreground color will be set to
+ # ThemeColorType.HYPERLINK and the text will
+ # be underlined. If these fields are modified in the same
+ # request, those values will be used instead of the link defaults.
+ # * Setting a link on a text range that overlaps with an existing link will
+ # also update the existing link to point to the new URL.
+ # * Links are not settable on newline characters. As a result, setting a link
+ # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
+ # will separate the newline character(s) into their own text runs. The
+ # link will be applied separately to the runs before and after the newline.
+ # * Removing a link will update the text style of the range to match the
+ # style of the preceding text (or the default text styles if the preceding
+ # text is another link) unless different styles are being set in the same
+ # request.
+ "url": "A String", # If set, indicates this is a link to the external web page at this URL.
+ "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
+ # in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
+ "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
+ # addressed by its position.
+ },
+ "underline": True or False, # Whether or not the text is underlined.
+ "bold": True or False, # Whether or not the text is rendered as bold.
+ },
+ "type": "A String", # The type of this auto text.
+ },
+ "endIndex": 42, # The zero-based end index of this text element, exclusive, in Unicode code
+ # units.
+ "startIndex": 42, # The zero-based start index of this text element, in Unicode code units.
+ "paragraphMarker": { # A TextElement kind that represents the beginning of a new paragraph. # A marker representing the beginning of a new paragraph.
+ #
+ # The `start_index` and `end_index` of this TextElement represent the
+ # range of the paragraph. Other TextElements with an index range contained
+ # inside this paragraph's range are considered to be part of this
+ # paragraph. The range of indices of two separate paragraphs will never
+ # overlap.
+ "style": { # Styles that apply to a whole paragraph. # The paragraph's style
+ #
+ # If this text is contained in a shape with a parent placeholder, then these paragraph styles may be
+ # inherited from the parent. Which paragraph styles are inherited depend on the
+ # nesting level of lists:
+ #
+ # * A paragraph not in a list will inherit its paragraph style from the
+ # paragraph at the 0 nesting level of the list inside the parent placeholder.
+ # * A paragraph in a list will inherit its paragraph style from the paragraph
+ # at its corresponding nesting level of the list inside the parent
+ # placeholder.
+ #
+ # Inherited paragraph styles are represented as unset fields in this message.
+ "spacingMode": "A String", # The spacing mode for the paragraph.
+ "direction": "A String", # The text direction of this paragraph. If unset, the value defaults to
+ # LEFT_TO_RIGHT since
+ # text direction is not inherited.
+ "spaceBelow": { # A magnitude in a single direction in the specified units. # The amount of extra space below the paragraph. If unset, the value is
+ # inherited from the parent.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "lineSpacing": 3.14, # The amount of space between lines, as a percentage of normal, where normal
+ # is represented as 100.0. If unset, the value is inherited from the parent.
+ "indentStart": { # A magnitude in a single direction in the specified units. # The amount indentation for the paragraph on the side that corresponds to
+ # the start of the text, based on the current text direction. If unset, the
+ # value is inherited from the parent.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "spaceAbove": { # A magnitude in a single direction in the specified units. # The amount of extra space above the paragraph. If unset, the value is
+ # inherited from the parent.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "indentEnd": { # A magnitude in a single direction in the specified units. # The amount indentation for the paragraph on the side that corresponds to
+ # the end of the text, based on the current text direction. If unset, the
+ # value is inherited from the parent.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "indentFirstLine": { # A magnitude in a single direction in the specified units. # The amount of indentation for the start of the first line of the paragraph.
+ # If unset, the value is inherited from the parent.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "alignment": "A String", # The text alignment for this paragraph.
+ },
+ "bullet": { # Describes the bullet of a paragraph. # The bullet for this paragraph. If not present, the paragraph does not
+ # belong to a list.
+ "nestingLevel": 42, # The nesting level of this paragraph in the list.
+ "listId": "A String", # The ID of the list this paragraph belongs to.
+ "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The paragraph specific text style applied to this bullet.
+ #
+ # If this text is contained in a shape with a parent placeholder, then these text styles may be
+ # inherited from the parent. Which text styles are inherited depend on the
+ # nesting level of lists:
+ #
+ # * A text run in a paragraph that is not in a list will inherit its text style
+ # from the the newline character in the paragraph at the 0 nesting level of
+ # the list inside the parent placeholder.
+ # * A text run in a paragraph that is in a list will inherit its text style
+ # from the newline character in the paragraph at its corresponding nesting
+ # level of the list inside the parent placeholder.
+ #
+ # Inherited text styles are represented as unset fields in this message. If
+ # text is contained in a shape without a parent placeholder, unsetting these
+ # fields will revert the style to a value matching the defaults in the Slides
+ # editor.
+ "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ "baselineOffset": "A String", # The text's vertical offset from its normal position.
+ #
+ # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
+ # rendered in a smaller font size, computed based on the `font_size` field.
+ # The `font_size` itself is not affected by changes in this field.
+ "strikethrough": True or False, # Whether or not the text is struck through.
+ "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").
+ },
+ "smallCaps": True or False, # Whether or not the text is in small capital letters.
+ "fontFamily": "A String", # The font family of the text.
+ #
+ # The font family can be any font from the Font menu in Slides or from
+ # [Google Fonts] (https://fonts.google.com/). If the font name is
+ # unrecognized, the text is rendered in `Arial`.
+ #
+ # Some fonts can affect the weight of the text. If an update request
+ # specifies values for both `font_family` and `bold`, the explicitly-set
+ # `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "italic": True or False, # Whether or not the text is italicized.
+ "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
+ # are not inherited from parent text.
+ #
+ # Changing the link in an update request causes some other changes to the
+ # text style of the range:
+ #
+ # * When setting a link, the text foreground color will be set to
+ # ThemeColorType.HYPERLINK and the text will
+ # be underlined. If these fields are modified in the same
+ # request, those values will be used instead of the link defaults.
+ # * Setting a link on a text range that overlaps with an existing link will
+ # also update the existing link to point to the new URL.
+ # * Links are not settable on newline characters. As a result, setting a link
+ # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
+ # will separate the newline character(s) into their own text runs. The
+ # link will be applied separately to the runs before and after the newline.
+ # * Removing a link will update the text style of the range to match the
+ # style of the preceding text (or the default text styles if the preceding
+ # text is another link) unless different styles are being set in the same
+ # request.
+ "url": "A String", # If set, indicates this is a link to the external web page at this URL.
+ "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
+ # in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
+ "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
+ # addressed by its position.
+ },
+ "underline": True or False, # Whether or not the text is underlined.
+ "bold": True or False, # Whether or not the text is rendered as bold.
+ },
+ "glyph": "A String", # The rendered bullet glyph for this paragraph.
+ },
+ },
+ "textRun": { # A TextElement kind that represents a run of text that all has the same # A TextElement representing a run of text where all of the characters
+ # in the run have the same TextStyle.
+ #
+ # The `start_index` and `end_index` of TextRuns will always be fully
+ # contained in the index range of a single `paragraph_marker` TextElement.
+ # In other words, a TextRun will never span multiple paragraphs.
+ # styling.
+ "content": "A String", # The text of this run.
+ "style": { # Represents the styling that can be applied to a TextRun. # The styling applied to this run.
+ #
+ # If this text is contained in a shape with a parent placeholder, then these text styles may be
+ # inherited from the parent. Which text styles are inherited depend on the
+ # nesting level of lists:
+ #
+ # * A text run in a paragraph that is not in a list will inherit its text style
+ # from the the newline character in the paragraph at the 0 nesting level of
+ # the list inside the parent placeholder.
+ # * A text run in a paragraph that is in a list will inherit its text style
+ # from the newline character in the paragraph at its corresponding nesting
+ # level of the list inside the parent placeholder.
+ #
+ # Inherited text styles are represented as unset fields in this message. If
+ # text is contained in a shape without a parent placeholder, unsetting these
+ # fields will revert the style to a value matching the defaults in the Slides
+ # editor.
+ "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ "baselineOffset": "A String", # The text's vertical offset from its normal position.
+ #
+ # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
+ # rendered in a smaller font size, computed based on the `font_size` field.
+ # The `font_size` itself is not affected by changes in this field.
+ "strikethrough": True or False, # Whether or not the text is struck through.
+ "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").
+ },
+ "smallCaps": True or False, # Whether or not the text is in small capital letters.
+ "fontFamily": "A String", # The font family of the text.
+ #
+ # The font family can be any font from the Font menu in Slides or from
+ # [Google Fonts] (https://fonts.google.com/). If the font name is
+ # unrecognized, the text is rendered in `Arial`.
+ #
+ # Some fonts can affect the weight of the text. If an update request
+ # specifies values for both `font_family` and `bold`, the explicitly-set
+ # `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "italic": True or False, # Whether or not the text is italicized.
+ "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
+ # are not inherited from parent text.
+ #
+ # Changing the link in an update request causes some other changes to the
+ # text style of the range:
+ #
+ # * When setting a link, the text foreground color will be set to
+ # ThemeColorType.HYPERLINK and the text will
+ # be underlined. If these fields are modified in the same
+ # request, those values will be used instead of the link defaults.
+ # * Setting a link on a text range that overlaps with an existing link will
+ # also update the existing link to point to the new URL.
+ # * Links are not settable on newline characters. As a result, setting a link
+ # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
+ # will separate the newline character(s) into their own text runs. The
+ # link will be applied separately to the runs before and after the newline.
+ # * Removing a link will update the text style of the range to match the
+ # style of the preceding text (or the default text styles if the preceding
+ # text is another link) unless different styles are being set in the same
+ # request.
+ "url": "A String", # If set, indicates this is a link to the external web page at this URL.
+ "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
+ # in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
+ "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
+ # addressed by its position.
+ },
+ "underline": True or False, # Whether or not the text is underlined.
+ "bold": True or False, # Whether or not the text is rendered as bold.
+ },
+ },
+ },
+ ],
+ "lists": { # The bulleted lists contained in this text, keyed by list ID.
+ "a_key": { # A List describes the look and feel of bullets belonging to paragraphs
+ # associated with a list. A paragraph that is part of a list has an implicit
+ # reference to that list's ID.
+ "nestingLevel": { # A map of nesting levels to the properties of bullets at the associated
+ # level. A list has at most nine levels of nesting, so the possible values
+ # for the keys of this map are 0 through 8, inclusive.
+ "a_key": { # Contains properties describing the look and feel of a list bullet at a given
+ # level of nesting.
+ "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The style of a bullet at this level of nesting.
+ #
+ # If this text is contained in a shape with a parent placeholder, then these text styles may be
+ # inherited from the parent. Which text styles are inherited depend on the
+ # nesting level of lists:
+ #
+ # * A text run in a paragraph that is not in a list will inherit its text style
+ # from the the newline character in the paragraph at the 0 nesting level of
+ # the list inside the parent placeholder.
+ # * A text run in a paragraph that is in a list will inherit its text style
+ # from the newline character in the paragraph at its corresponding nesting
+ # level of the list inside the parent placeholder.
+ #
+ # Inherited text styles are represented as unset fields in this message. If
+ # text is contained in a shape without a parent placeholder, unsetting these
+ # fields will revert the style to a value matching the defaults in the Slides
+ # editor.
+ "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ "baselineOffset": "A String", # The text's vertical offset from its normal position.
+ #
+ # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
+ # rendered in a smaller font size, computed based on the `font_size` field.
+ # The `font_size` itself is not affected by changes in this field.
+ "strikethrough": True or False, # Whether or not the text is struck through.
+ "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").
+ },
+ "smallCaps": True or False, # Whether or not the text is in small capital letters.
+ "fontFamily": "A String", # The font family of the text.
+ #
+ # The font family can be any font from the Font menu in Slides or from
+ # [Google Fonts] (https://fonts.google.com/). If the font name is
+ # unrecognized, the text is rendered in `Arial`.
+ #
+ # Some fonts can affect the weight of the text. If an update request
+ # specifies values for both `font_family` and `bold`, the explicitly-set
+ # `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "italic": True or False, # Whether or not the text is italicized.
+ "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
+ # are not inherited from parent text.
+ #
+ # Changing the link in an update request causes some other changes to the
+ # text style of the range:
+ #
+ # * When setting a link, the text foreground color will be set to
+ # ThemeColorType.HYPERLINK and the text will
+ # be underlined. If these fields are modified in the same
+ # request, those values will be used instead of the link defaults.
+ # * Setting a link on a text range that overlaps with an existing link will
+ # also update the existing link to point to the new URL.
+ # * Links are not settable on newline characters. As a result, setting a link
+ # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
+ # will separate the newline character(s) into their own text runs. The
+ # link will be applied separately to the runs before and after the newline.
+ # * Removing a link will update the text style of the range to match the
+ # style of the preceding text (or the default text styles if the preceding
+ # text is another link) unless different styles are being set in the same
+ # request.
+ "url": "A String", # If set, indicates this is a link to the external web page at this URL.
+ "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
+ # in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
+ "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
+ # addressed by its position.
+ },
+ "underline": True or False, # Whether or not the text is underlined.
+ "bold": True or False, # Whether or not the text is rendered as bold.
+ },
+ },
+ },
+ "listId": "A String", # The ID of the list.
+ },
+ },
+ },
+ "shapeProperties": { # The properties of a Shape. # The properties of the shape.
#
- # 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.
+ # If the shape is a placeholder shape as determined by the
+ # placeholder field, then these
+ # properties may be inherited from a parent placeholder shape.
+ # Determining the rendered value of the property depends on the corresponding
+ # property_state field value.
+ "shadow": { # The shadow properties of a page element. # The shadow properties of the shape. If unset, the shadow is inherited from
+ # a parent placeholder if it exists. If the shape has no parent, then the
+ # default shadow matches the defaults for new shapes created in the Slides
+ # editor. This property is read-only.
+ #
+ # If these fields are unset, they may be inherited from a parent placeholder
+ # if it exists. If there is no parent, the fields will default to the value
+ # used for new page elements created in the Slides editor, which may depend on
+ # the page element kind.
+ "color": { # A themeable solid color value. # The shadow color value.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ "transform": { # AffineTransform uses a 3x3 matrix with an implied last row of [ 0 0 1 ] # Transform that encodes the translate, scale, and skew of the shadow,
+ # relative to the alignment position.
+ # to transform source coordinates (x,y) into destination coordinates (x', y')
+ # according to:
+ #
+ # x' x = shear_y scale_y translate_y
+ # 1 [ 1 ]
+ #
+ # After transformation,
+ #
+ # x' = scale_x * x + shear_x * y + translate_x;
+ # y' = scale_y * y + shear_y * x + translate_y;
+ #
+ # This message is therefore composed of these six matrix elements.
+ "translateX": 3.14, # The X coordinate translation element.
+ "translateY": 3.14, # The Y coordinate translation element.
+ "scaleX": 3.14, # The X coordinate scaling element.
+ "scaleY": 3.14, # The Y coordinate scaling element.
+ "shearY": 3.14, # The Y coordinate shearing element.
+ "shearX": 3.14, # The X coordinate shearing element.
+ "unit": "A String", # The units for translate elements.
+ },
+ "propertyState": "A String", # The shadow property state.
+ #
+ # Updating the shadow on a page element will implicitly update this field to
+ # `RENDERED`, unless another value is specified in the same request. To have
+ # no shadow on a page element, set this field to `NOT_RENDERED`. In this
+ # case, any other shadow fields set in the same request will be ignored.
+ "blurRadius": { # A magnitude in a single direction in the specified units. # The radius of the shadow blur. The larger the radius, the more diffuse the
+ # shadow becomes.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "alpha": 3.14, # The alpha of the shadow's color, from 0.0 to 1.0.
+ "type": "A String", # The type of the shadow. This property is read-only.
+ "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.
+ "rotateWithShape": True or False, # Whether the shadow should rotate with the shape. This property is
+ # read-only.
+ },
+ "shapeBackgroundFill": { # The shape background fill. # The background fill of the shape. If unset, the background fill is
+ # inherited from a parent placeholder if it exists. If the shape has no
+ # parent, then the default background fill depends on the shape type,
+ # matching the defaults for new shapes created in the Slides editor.
+ "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill.
+ # specified color value.
+ #
+ # If any field is unset, its value may be inherited from a parent placeholder
+ # if it exists.
+ "color": { # A themeable solid color value. # The color value of the solid fill.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel.
+ # That is, the final pixel color is defined by the equation:
+ #
+ # pixel color = alpha * (color) + (1.0 - alpha) * (background color)
+ #
+ # This means that a value of 1.0 corresponds to a solid color, whereas
+ # a value of 0.0 corresponds to a completely transparent color.
+ },
+ "propertyState": "A String", # The background fill property state.
+ #
+ # Updating the fill on a shape will implicitly update this field to
+ # `RENDERED`, unless another value is specified in the same request. To
+ # have no fill on a shape, set this field to `NOT_RENDERED`. In this case,
+ # any other fill fields set in the same request will be ignored.
+ },
+ "link": { # A hypertext link. # The hyperlink destination of the shape. If unset, there is no link. Links
+ # are not inherited from parent placeholders.
+ "url": "A String", # If set, indicates this is a link to the external web page at this URL.
+ "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
+ # in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
+ "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
+ # addressed by its position.
+ },
+ "outline": { # The outline of a PageElement. # The outline of the shape. If unset, the outline is inherited from a
+ # parent placeholder if it exists. If the shape has no parent, then the
+ # default outline depends on the shape type, matching the defaults for
+ # new shapes created in the Slides editor.
+ #
+ # If these fields are unset, they may be inherited from a parent placeholder
+ # if it exists. If there is no parent, the fields will default to the value
+ # used for new page elements created in the Slides editor, which may depend on
+ # the page element kind.
+ "outlineFill": { # The fill of the outline. # The fill of the outline.
+ "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill.
+ # specified color value.
+ #
+ # If any field is unset, its value may be inherited from a parent placeholder
+ # if it exists.
+ "color": { # A themeable solid color value. # The color value of the solid fill.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel.
+ # That is, the final pixel color is defined by the equation:
+ #
+ # pixel color = alpha * (color) + (1.0 - alpha) * (background color)
+ #
+ # This means that a value of 1.0 corresponds to a solid color, whereas
+ # a value of 0.0 corresponds to a completely transparent color.
+ },
+ },
+ "propertyState": "A String", # The outline property state.
+ #
+ # Updating the outline on a page element will implicitly update this field
+ # to `RENDERED`, unless another value is specified in the same request. To
+ # have no outline on a page element, set this field to `NOT_RENDERED`. In
+ # this case, any other outline fields set in the same request will be
+ # ignored.
+ "dashStyle": "A String", # The dash style of the outline.
+ "weight": { # A magnitude in a single direction in the specified units. # The thickness of the outline.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ },
+ "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.
+ },
+ "placeholder": { # The placeholder information that uniquely identifies a placeholder shape. # Placeholders are shapes that are inherit from corresponding placeholders on
+ # layouts and masters.
+ #
+ # If set, the shape is a placeholder shape and any inherited properties
+ # can be resolved by looking at the parent placeholder identified by the
+ # Placeholder.parent_object_id field.
+ "parentObjectId": "A String", # The object ID of this shape's parent placeholder.
+ # If unset, the parent placeholder shape does not exist, so the shape does
+ # not inherit properties from any other shape.
+ "index": 42, # The index of the placeholder. If the same placeholder types are present in
+ # the same page, they would have different index values.
+ "type": "A String", # The type of the placeholder.
+ },
+ "shapeType": "A String", # The type of the shape.
+ },
+ "sheetsChart": { # A PageElement kind representing # A linked chart embedded from Google Sheets. Unlinked charts are
+ # represented as images.
+ # a linked chart embedded from Google Sheets.
+ "contentUrl": "A String", # The URL of an image of the embedded chart, with a default lifetime of 30
+ # minutes. This URL is tagged with the account of the requester. Anyone with
+ # the URL effectively accesses the image as the original requester. Access to
+ # the image may be lost if the presentation's sharing settings change.
+ "spreadsheetId": "A String", # The ID of the Google Sheets spreadsheet that contains the source chart.
+ "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.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel.
+ # That is, the final pixel color is defined by the equation:
+ #
+ # pixel color = alpha * (color) + (1.0 - alpha) * (background color)
+ #
+ # This means that a value of 1.0 corresponds to a solid color, whereas
+ # a value of 0.0 corresponds to a completely transparent color.
+ },
+ },
+ "propertyState": "A String", # The outline property state.
+ #
+ # Updating the outline on a page element will implicitly update this field
+ # to `RENDERED`, unless another value is specified in the same request. To
+ # have no outline on a page element, set this field to `NOT_RENDERED`. In
+ # this case, any other outline fields set in the same request will be
+ # ignored.
+ "dashStyle": "A String", # The dash style of the outline.
+ "weight": { # A magnitude in a single direction in the specified units. # The thickness of the outline.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ },
+ "brightness": 3.14, # The brightness effect of the image. The value should be in the interval
+ # [-1.0, 1.0], where 0 means no effect. This property is read-only.
+ "recolor": { # A recolor effect applied on an image. # The recolor effect of the image. If not set, the image is not recolored.
+ # This property is read-only.
+ "recolorStops": [ # The recolor effect is represented by a gradient, which is a list of color
+ # stops.
+ #
+ # The colors in the gradient will replace the corresponding colors at
+ # the same position in the color palette and apply to the image. This
+ # property is read-only.
+ { # A color and position in a gradient band.
+ "color": { # A themeable solid color value. # The color of the gradient stop.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ "alpha": 3.14, # The alpha value of this color in the gradient band. Defaults to 1.0,
+ # fully opaque.
+ "position": 3.14, # The relative position of the color stop in the gradient band measured
+ # in percentage. The value should be in the interval [0.0, 1.0].
+ },
+ ],
+ "name": "A String", # The name of the recolor effect.
+ #
+ # The name is determined from the `recolor_stops` by matching the gradient
+ # against the colors in the page's current color scheme. This property is
+ # read-only.
+ },
+ "link": { # A hypertext link. # The hyperlink destination of the image. If unset, there is no link.
+ "url": "A String", # If set, indicates this is a link to the external web page at this URL.
+ "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
+ # in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
+ "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
+ # addressed by its position.
+ },
+ "transparency": 3.14, # The transparency effect of the image. The value should be in the interval
+ # [0.0, 1.0], where 0 means no effect and 1 means completely transparent.
+ # This property is read-only.
+ "cropProperties": { # The crop properties of an object enclosed in a container. For example, an # The crop properties of the image. If not set, the image is not cropped.
+ # This property is read-only.
+ # Image.
+ #
+ # The crop properties is represented by the offsets of four edges which define
+ # a crop rectangle. The offsets are measured in percentage from the
+ # corresponding edges of the object's original bounding rectangle towards
+ # inside, relative to the object's original dimensions.
+ #
+ # - If the offset is in the interval (0, 1), the corresponding edge of crop
+ # rectangle is positioned inside of the object's original bounding rectangle.
+ # - If the offset is negative or greater than 1, the corresponding edge of crop
+ # rectangle is positioned outside of the object's original bounding rectangle.
+ # - If the left edge of the crop rectangle is on the right side of its right
+ # edge, the object will be flipped horizontally.
+ # - If the top edge of the crop rectangle is below its bottom edge, the object
+ # will be flipped vertically.
+ # - If all offsets and rotation angle is 0, the object is not cropped.
+ #
+ # After cropping, the content in the crop rectangle will be stretched to fit
+ # its container.
+ "leftOffset": 3.14, # The offset specifies the left edge of the crop rectangle that is located to
+ # the right of the original bounding rectangle left edge, relative to the
+ # object's original width.
+ "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.
+ "angle": 3.14, # The rotation angle of the crop window around its center, in radians.
+ # Rotation angle is applied after the offset.
+ "rightOffset": 3.14, # The offset specifies the right edge of the crop rectangle that is located
+ # to the left of the original bounding rectangle right edge, relative to the
+ # object's original width.
+ "topOffset": 3.14, # The offset specifies the top edge of the crop rectangle that is located
+ # below the original bounding rectangle top edge, relative to the object's
+ # original height.
+ },
+ "shadow": { # The shadow properties of a page element. # The shadow of the image. If not set, the image has no shadow. This property
+ # is read-only.
+ #
+ # If these fields are unset, they may be inherited from a parent placeholder
+ # if it exists. If there is no parent, the fields will default to the value
+ # used for new page elements created in the Slides editor, which may depend on
+ # the page element kind.
+ "color": { # A themeable solid color value. # The shadow color value.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ "transform": { # AffineTransform uses a 3x3 matrix with an implied last row of [ 0 0 1 ] # Transform that encodes the translate, scale, and skew of the shadow,
+ # relative to the alignment position.
+ # to transform source coordinates (x,y) into destination coordinates (x', y')
+ # according to:
+ #
+ # x' x = shear_y scale_y translate_y
+ # 1 [ 1 ]
+ #
+ # After transformation,
+ #
+ # x' = scale_x * x + shear_x * y + translate_x;
+ # y' = scale_y * y + shear_y * x + translate_y;
+ #
+ # This message is therefore composed of these six matrix elements.
+ "translateX": 3.14, # The X coordinate translation element.
+ "translateY": 3.14, # The Y coordinate translation element.
+ "scaleX": 3.14, # The X coordinate scaling element.
+ "scaleY": 3.14, # The Y coordinate scaling element.
+ "shearY": 3.14, # The Y coordinate shearing element.
+ "shearX": 3.14, # The X coordinate shearing element.
+ "unit": "A String", # The units for translate elements.
+ },
+ "propertyState": "A String", # The shadow property state.
+ #
+ # Updating the shadow on a page element will implicitly update this field to
+ # `RENDERED`, unless another value is specified in the same request. To have
+ # no shadow on a page element, set this field to `NOT_RENDERED`. In this
+ # case, any other shadow fields set in the same request will be ignored.
+ "blurRadius": { # A magnitude in a single direction in the specified units. # The radius of the shadow blur. The larger the radius, the more diffuse the
+ # shadow becomes.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "alpha": 3.14, # The alpha of the shadow's color, from 0.0 to 1.0.
+ "type": "A String", # The type of the shadow. This property is read-only.
+ "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.
+ "rotateWithShape": True or False, # Whether the shadow should rotate with the shape. 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.
+ },
+ },
+ "chartId": 42, # The ID of the specific chart in the Google Sheets spreadsheet that is
+ # embedded.
+ },
+ "video": { # A PageElement kind representing a # A video page element.
+ # video.
+ "url": "A String", # An URL to a video. The URL is valid as long as the source video exists and
+ # sharing settings do not change.
+ "videoProperties": { # The properties of the Video. # The properties of the video.
+ "start": 42, # The time at which to start playback, measured in seconds from the beginning
+ # of the video.
+ # If set, the start time should be before the end time.
+ # If you set this to a value that exceeds the video's length in seconds, the
+ # video will be played from the last second.
+ # If not set, the video will be played from the beginning.
+ "autoPlay": True or False, # Whether to enable video autoplay when the page is displayed in present
+ # mode. Defaults to false.
+ "end": 42, # The time at which to end playback, measured in seconds from the beginning
+ # of the video.
+ # If set, the end time should be after the start time.
+ # If not set or if you set this to a value that exceeds the video's length,
+ # the video will be played until its end.
+ "outline": { # The outline of a PageElement. # The outline of the video. The default outline matches the defaults for new
+ # videos created in the Slides editor.
+ #
+ # If these fields are unset, they may be inherited from a parent placeholder
+ # if it exists. If there is no parent, the fields will default to the value
+ # used for new page elements created in the Slides editor, which may depend on
+ # the page element kind.
+ "outlineFill": { # The fill of the outline. # The fill of the outline.
+ "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill.
+ # specified color value.
+ #
+ # If any field is unset, its value may be inherited from a parent placeholder
+ # if it exists.
+ "color": { # A themeable solid color value. # The color value of the solid fill.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel.
+ # That is, the final pixel color is defined by the equation:
+ #
+ # pixel color = alpha * (color) + (1.0 - alpha) * (background color)
+ #
+ # This means that a value of 1.0 corresponds to a solid color, whereas
+ # a value of 0.0 corresponds to a completely transparent color.
+ },
+ },
+ "propertyState": "A String", # The outline property state.
+ #
+ # Updating the outline on a page element will implicitly update this field
+ # to `RENDERED`, unless another value is specified in the same request. To
+ # have no outline on a page element, set this field to `NOT_RENDERED`. In
+ # this case, any other outline fields set in the same request will be
+ # ignored.
+ "dashStyle": "A String", # The dash style of the outline.
+ "weight": { # A magnitude in a single direction in the specified units. # The thickness of the outline.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ },
+ "mute": True or False, # Whether to mute the audio during video playback. Defaults to false.
+ },
+ "id": "A String", # The video source's unique identifier for this video.
+ "source": "A String", # The video source.
+ },
+ "table": { # A PageElement kind representing a # A table page element.
+ # table.
+ "rows": 42, # Number of rows in the table.
+ "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.
+ "tableBorderProperties": { # The border styling properties of the # The border properties.
+ # TableBorderCell.
+ "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.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel.
+ # That is, the final pixel color is defined by the equation:
+ #
+ # pixel color = alpha * (color) + (1.0 - alpha) * (background color)
+ #
+ # This means that a value of 1.0 corresponds to a solid color, whereas
+ # a value of 0.0 corresponds to a completely transparent color.
+ },
+ },
+ "dashStyle": "A String", # The dash style of the border.
+ "weight": { # A magnitude in a single direction in the specified units. # The thickness of the border.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ },
+ "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.
+ },
+ },
+ ],
+ },
+ ],
+ "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.
+ "tableBorderProperties": { # The border styling properties of the # The border properties.
+ # TableBorderCell.
+ "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.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel.
+ # That is, the final pixel color is defined by the equation:
+ #
+ # pixel color = alpha * (color) + (1.0 - alpha) * (background color)
+ #
+ # This means that a value of 1.0 corresponds to a solid color, whereas
+ # a value of 0.0 corresponds to a completely transparent color.
+ },
+ },
+ "dashStyle": "A String", # The dash style of the border.
+ "weight": { # A magnitude in a single direction in the specified units. # The thickness of the border.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ },
+ "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.
+ },
+ },
+ ],
+ },
+ ],
+ "tableColumns": [ # Properties of each column.
+ { # Properties of each column in a table.
+ "columnWidth": { # A magnitude in a single direction in the specified units. # Width of a column.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ },
+ ],
+ "tableRows": [ # Properties and contents of each row.
+ #
+ # Cells that span multiple rows are contained in only one of these rows and
+ # have a row_span greater
+ # than 1.
+ { # Properties and contents of each row in a table.
+ "tableCells": [ # Properties and contents of each cell.
+ #
+ # Cells that span multiple columns are represented only once with a
+ # column_span greater
+ # than 1. As a result, the length of this collection does not always match
+ # the number of columns of the entire table.
+ { # Properties and contents of each table cell.
+ "text": { # The general text content. The text must reside in a compatible shape (e.g. # The text content of the cell.
+ # text box or rectangle) or a table cell in a page.
+ "textElements": [ # The text contents broken down into its component parts, including styling
+ # information. This property is read-only.
+ { # A TextElement describes the content of a range of indices in the text content
+ # of a Shape or TableCell.
+ "autoText": { # A TextElement kind that represents auto text. # A TextElement representing a spot in the text that is dynamically
+ # replaced with content that can change over time.
+ "content": "A String", # The rendered content of this auto text, if available.
+ "style": { # Represents the styling that can be applied to a TextRun. # The styling applied to this auto text.
+ #
+ # If this text is contained in a shape with a parent placeholder, then these text styles may be
+ # inherited from the parent. Which text styles are inherited depend on the
+ # nesting level of lists:
+ #
+ # * A text run in a paragraph that is not in a list will inherit its text style
+ # from the the newline character in the paragraph at the 0 nesting level of
+ # the list inside the parent placeholder.
+ # * A text run in a paragraph that is in a list will inherit its text style
+ # from the newline character in the paragraph at its corresponding nesting
+ # level of the list inside the parent placeholder.
+ #
+ # Inherited text styles are represented as unset fields in this message. If
+ # text is contained in a shape without a parent placeholder, unsetting these
+ # fields will revert the style to a value matching the defaults in the Slides
+ # editor.
+ "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ "baselineOffset": "A String", # The text's vertical offset from its normal position.
+ #
+ # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
+ # rendered in a smaller font size, computed based on the `font_size` field.
+ # The `font_size` itself is not affected by changes in this field.
+ "strikethrough": True or False, # Whether or not the text is struck through.
+ "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").
+ },
+ "smallCaps": True or False, # Whether or not the text is in small capital letters.
+ "fontFamily": "A String", # The font family of the text.
+ #
+ # The font family can be any font from the Font menu in Slides or from
+ # [Google Fonts] (https://fonts.google.com/). If the font name is
+ # unrecognized, the text is rendered in `Arial`.
+ #
+ # Some fonts can affect the weight of the text. If an update request
+ # specifies values for both `font_family` and `bold`, the explicitly-set
+ # `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "italic": True or False, # Whether or not the text is italicized.
+ "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
+ # are not inherited from parent text.
+ #
+ # Changing the link in an update request causes some other changes to the
+ # text style of the range:
+ #
+ # * When setting a link, the text foreground color will be set to
+ # ThemeColorType.HYPERLINK and the text will
+ # be underlined. If these fields are modified in the same
+ # request, those values will be used instead of the link defaults.
+ # * Setting a link on a text range that overlaps with an existing link will
+ # also update the existing link to point to the new URL.
+ # * Links are not settable on newline characters. As a result, setting a link
+ # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
+ # will separate the newline character(s) into their own text runs. The
+ # link will be applied separately to the runs before and after the newline.
+ # * Removing a link will update the text style of the range to match the
+ # style of the preceding text (or the default text styles if the preceding
+ # text is another link) unless different styles are being set in the same
+ # request.
+ "url": "A String", # If set, indicates this is a link to the external web page at this URL.
+ "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
+ # in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
+ "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
+ # addressed by its position.
+ },
+ "underline": True or False, # Whether or not the text is underlined.
+ "bold": True or False, # Whether or not the text is rendered as bold.
+ },
+ "type": "A String", # The type of this auto text.
+ },
+ "endIndex": 42, # The zero-based end index of this text element, exclusive, in Unicode code
+ # units.
+ "startIndex": 42, # The zero-based start index of this text element, in Unicode code units.
+ "paragraphMarker": { # A TextElement kind that represents the beginning of a new paragraph. # A marker representing the beginning of a new paragraph.
+ #
+ # The `start_index` and `end_index` of this TextElement represent the
+ # range of the paragraph. Other TextElements with an index range contained
+ # inside this paragraph's range are considered to be part of this
+ # paragraph. The range of indices of two separate paragraphs will never
+ # overlap.
+ "style": { # Styles that apply to a whole paragraph. # The paragraph's style
+ #
+ # If this text is contained in a shape with a parent placeholder, then these paragraph styles may be
+ # inherited from the parent. Which paragraph styles are inherited depend on the
+ # nesting level of lists:
+ #
+ # * A paragraph not in a list will inherit its paragraph style from the
+ # paragraph at the 0 nesting level of the list inside the parent placeholder.
+ # * A paragraph in a list will inherit its paragraph style from the paragraph
+ # at its corresponding nesting level of the list inside the parent
+ # placeholder.
+ #
+ # Inherited paragraph styles are represented as unset fields in this message.
+ "spacingMode": "A String", # The spacing mode for the paragraph.
+ "direction": "A String", # The text direction of this paragraph. If unset, the value defaults to
+ # LEFT_TO_RIGHT since
+ # text direction is not inherited.
+ "spaceBelow": { # A magnitude in a single direction in the specified units. # The amount of extra space below the paragraph. If unset, the value is
+ # inherited from the parent.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "lineSpacing": 3.14, # The amount of space between lines, as a percentage of normal, where normal
+ # is represented as 100.0. If unset, the value is inherited from the parent.
+ "indentStart": { # A magnitude in a single direction in the specified units. # The amount indentation for the paragraph on the side that corresponds to
+ # the start of the text, based on the current text direction. If unset, the
+ # value is inherited from the parent.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "spaceAbove": { # A magnitude in a single direction in the specified units. # The amount of extra space above the paragraph. If unset, the value is
+ # inherited from the parent.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "indentEnd": { # A magnitude in a single direction in the specified units. # The amount indentation for the paragraph on the side that corresponds to
+ # the end of the text, based on the current text direction. If unset, the
+ # value is inherited from the parent.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "indentFirstLine": { # A magnitude in a single direction in the specified units. # The amount of indentation for the start of the first line of the paragraph.
+ # If unset, the value is inherited from the parent.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "alignment": "A String", # The text alignment for this paragraph.
+ },
+ "bullet": { # Describes the bullet of a paragraph. # The bullet for this paragraph. If not present, the paragraph does not
+ # belong to a list.
+ "nestingLevel": 42, # The nesting level of this paragraph in the list.
+ "listId": "A String", # The ID of the list this paragraph belongs to.
+ "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The paragraph specific text style applied to this bullet.
+ #
+ # If this text is contained in a shape with a parent placeholder, then these text styles may be
+ # inherited from the parent. Which text styles are inherited depend on the
+ # nesting level of lists:
+ #
+ # * A text run in a paragraph that is not in a list will inherit its text style
+ # from the the newline character in the paragraph at the 0 nesting level of
+ # the list inside the parent placeholder.
+ # * A text run in a paragraph that is in a list will inherit its text style
+ # from the newline character in the paragraph at its corresponding nesting
+ # level of the list inside the parent placeholder.
+ #
+ # Inherited text styles are represented as unset fields in this message. If
+ # text is contained in a shape without a parent placeholder, unsetting these
+ # fields will revert the style to a value matching the defaults in the Slides
+ # editor.
+ "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ "baselineOffset": "A String", # The text's vertical offset from its normal position.
+ #
+ # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
+ # rendered in a smaller font size, computed based on the `font_size` field.
+ # The `font_size` itself is not affected by changes in this field.
+ "strikethrough": True or False, # Whether or not the text is struck through.
+ "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").
+ },
+ "smallCaps": True or False, # Whether or not the text is in small capital letters.
+ "fontFamily": "A String", # The font family of the text.
+ #
+ # The font family can be any font from the Font menu in Slides or from
+ # [Google Fonts] (https://fonts.google.com/). If the font name is
+ # unrecognized, the text is rendered in `Arial`.
+ #
+ # Some fonts can affect the weight of the text. If an update request
+ # specifies values for both `font_family` and `bold`, the explicitly-set
+ # `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "italic": True or False, # Whether or not the text is italicized.
+ "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
+ # are not inherited from parent text.
+ #
+ # Changing the link in an update request causes some other changes to the
+ # text style of the range:
+ #
+ # * When setting a link, the text foreground color will be set to
+ # ThemeColorType.HYPERLINK and the text will
+ # be underlined. If these fields are modified in the same
+ # request, those values will be used instead of the link defaults.
+ # * Setting a link on a text range that overlaps with an existing link will
+ # also update the existing link to point to the new URL.
+ # * Links are not settable on newline characters. As a result, setting a link
+ # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
+ # will separate the newline character(s) into their own text runs. The
+ # link will be applied separately to the runs before and after the newline.
+ # * Removing a link will update the text style of the range to match the
+ # style of the preceding text (or the default text styles if the preceding
+ # text is another link) unless different styles are being set in the same
+ # request.
+ "url": "A String", # If set, indicates this is a link to the external web page at this URL.
+ "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
+ # in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
+ "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
+ # addressed by its position.
+ },
+ "underline": True or False, # Whether or not the text is underlined.
+ "bold": True or False, # Whether or not the text is rendered as bold.
+ },
+ "glyph": "A String", # The rendered bullet glyph for this paragraph.
+ },
+ },
+ "textRun": { # A TextElement kind that represents a run of text that all has the same # A TextElement representing a run of text where all of the characters
+ # in the run have the same TextStyle.
+ #
+ # The `start_index` and `end_index` of TextRuns will always be fully
+ # contained in the index range of a single `paragraph_marker` TextElement.
+ # In other words, a TextRun will never span multiple paragraphs.
+ # styling.
+ "content": "A String", # The text of this run.
+ "style": { # Represents the styling that can be applied to a TextRun. # The styling applied to this run.
+ #
+ # If this text is contained in a shape with a parent placeholder, then these text styles may be
+ # inherited from the parent. Which text styles are inherited depend on the
+ # nesting level of lists:
+ #
+ # * A text run in a paragraph that is not in a list will inherit its text style
+ # from the the newline character in the paragraph at the 0 nesting level of
+ # the list inside the parent placeholder.
+ # * A text run in a paragraph that is in a list will inherit its text style
+ # from the newline character in the paragraph at its corresponding nesting
+ # level of the list inside the parent placeholder.
+ #
+ # Inherited text styles are represented as unset fields in this message. If
+ # text is contained in a shape without a parent placeholder, unsetting these
+ # fields will revert the style to a value matching the defaults in the Slides
+ # editor.
+ "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ "baselineOffset": "A String", # The text's vertical offset from its normal position.
+ #
+ # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
+ # rendered in a smaller font size, computed based on the `font_size` field.
+ # The `font_size` itself is not affected by changes in this field.
+ "strikethrough": True or False, # Whether or not the text is struck through.
+ "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").
+ },
+ "smallCaps": True or False, # Whether or not the text is in small capital letters.
+ "fontFamily": "A String", # The font family of the text.
+ #
+ # The font family can be any font from the Font menu in Slides or from
+ # [Google Fonts] (https://fonts.google.com/). If the font name is
+ # unrecognized, the text is rendered in `Arial`.
+ #
+ # Some fonts can affect the weight of the text. If an update request
+ # specifies values for both `font_family` and `bold`, the explicitly-set
+ # `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "italic": True or False, # Whether or not the text is italicized.
+ "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
+ # are not inherited from parent text.
+ #
+ # Changing the link in an update request causes some other changes to the
+ # text style of the range:
+ #
+ # * When setting a link, the text foreground color will be set to
+ # ThemeColorType.HYPERLINK and the text will
+ # be underlined. If these fields are modified in the same
+ # request, those values will be used instead of the link defaults.
+ # * Setting a link on a text range that overlaps with an existing link will
+ # also update the existing link to point to the new URL.
+ # * Links are not settable on newline characters. As a result, setting a link
+ # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
+ # will separate the newline character(s) into their own text runs. The
+ # link will be applied separately to the runs before and after the newline.
+ # * Removing a link will update the text style of the range to match the
+ # style of the preceding text (or the default text styles if the preceding
+ # text is another link) unless different styles are being set in the same
+ # request.
+ "url": "A String", # If set, indicates this is a link to the external web page at this URL.
+ "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
+ # in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
+ "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
+ # addressed by its position.
+ },
+ "underline": True or False, # Whether or not the text is underlined.
+ "bold": True or False, # Whether or not the text is rendered as bold.
+ },
+ },
+ },
+ ],
+ "lists": { # The bulleted lists contained in this text, keyed by list ID.
+ "a_key": { # A List describes the look and feel of bullets belonging to paragraphs
+ # associated with a list. A paragraph that is part of a list has an implicit
+ # reference to that list's ID.
+ "nestingLevel": { # A map of nesting levels to the properties of bullets at the associated
+ # level. A list has at most nine levels of nesting, so the possible values
+ # for the keys of this map are 0 through 8, inclusive.
+ "a_key": { # Contains properties describing the look and feel of a list bullet at a given
+ # level of nesting.
+ "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The style of a bullet at this level of nesting.
+ #
+ # If this text is contained in a shape with a parent placeholder, then these text styles may be
+ # inherited from the parent. Which text styles are inherited depend on the
+ # nesting level of lists:
+ #
+ # * A text run in a paragraph that is not in a list will inherit its text style
+ # from the the newline character in the paragraph at the 0 nesting level of
+ # the list inside the parent placeholder.
+ # * A text run in a paragraph that is in a list will inherit its text style
+ # from the newline character in the paragraph at its corresponding nesting
+ # level of the list inside the parent placeholder.
+ #
+ # Inherited text styles are represented as unset fields in this message. If
+ # text is contained in a shape without a parent placeholder, unsetting these
+ # fields will revert the style to a value matching the defaults in the Slides
+ # editor.
+ "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ "baselineOffset": "A String", # The text's vertical offset from its normal position.
+ #
+ # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
+ # rendered in a smaller font size, computed based on the `font_size` field.
+ # The `font_size` itself is not affected by changes in this field.
+ "strikethrough": True or False, # Whether or not the text is struck through.
+ "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").
+ },
+ "smallCaps": True or False, # Whether or not the text is in small capital letters.
+ "fontFamily": "A String", # The font family of the text.
+ #
+ # The font family can be any font from the Font menu in Slides or from
+ # [Google Fonts] (https://fonts.google.com/). If the font name is
+ # unrecognized, the text is rendered in `Arial`.
+ #
+ # Some fonts can affect the weight of the text. If an update request
+ # specifies values for both `font_family` and `bold`, the explicitly-set
+ # `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "italic": True or False, # Whether or not the text is italicized.
+ "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
+ # are not inherited from parent text.
+ #
+ # Changing the link in an update request causes some other changes to the
+ # text style of the range:
+ #
+ # * When setting a link, the text foreground color will be set to
+ # ThemeColorType.HYPERLINK and the text will
+ # be underlined. If these fields are modified in the same
+ # request, those values will be used instead of the link defaults.
+ # * Setting a link on a text range that overlaps with an existing link will
+ # also update the existing link to point to the new URL.
+ # * Links are not settable on newline characters. As a result, setting a link
+ # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
+ # will separate the newline character(s) into their own text runs. The
+ # link will be applied separately to the runs before and after the newline.
+ # * Removing a link will update the text style of the range to match the
+ # style of the preceding text (or the default text styles if the preceding
+ # text is another link) unless different styles are being set in the same
+ # request.
+ "url": "A String", # If set, indicates this is a link to the external web page at this URL.
+ "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
+ # in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
+ "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
+ # addressed by its position.
+ },
+ "underline": True or False, # Whether or not the text is underlined.
+ "bold": True or False, # Whether or not the text is rendered as bold.
+ },
+ },
+ },
+ "listId": "A String", # The ID of the list.
+ },
+ },
+ },
+ "tableCellProperties": { # The properties of the TableCell. # The properties of the table cell.
+ "tableCellBackgroundFill": { # The table cell background fill. # The background fill of the table cell. The default fill matches the fill
+ # for newly created table cells in the Slides editor.
+ "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill.
+ # specified color value.
+ #
+ # If any field is unset, its value may be inherited from a parent placeholder
+ # if it exists.
+ "color": { # A themeable solid color value. # The color value of the solid fill.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel.
+ # That is, the final pixel color is defined by the equation:
+ #
+ # pixel color = alpha * (color) + (1.0 - alpha) * (background color)
+ #
+ # This means that a value of 1.0 corresponds to a solid color, whereas
+ # a value of 0.0 corresponds to a completely transparent color.
+ },
+ "propertyState": "A String", # The background fill property state.
+ #
+ # Updating the fill on a table cell will implicitly update this field
+ # to `RENDERED`, unless another value is specified in the same request. To
+ # have no fill on a table cell, set this field to `NOT_RENDERED`. In this
+ # case, any other fill fields set in the same request will be ignored.
+ },
+ "contentAlignment": "A String", # The alignment of the content in the table cell. The default alignment
+ # matches the alignment for newly created table cells in the Slides editor.
+ },
+ "rowSpan": 42, # Row span of the cell.
+ "columnSpan": 42, # Column span of the cell.
+ "location": { # A location of a single table cell within a table. # The location of the cell within the table.
+ "rowIndex": 42, # The 0-based row index.
+ "columnIndex": 42, # The 0-based column index.
+ },
+ },
+ ],
+ "rowHeight": { # A magnitude in a single direction in the specified units. # Height of a row.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "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).
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ },
+ },
+ ],
+ "columns": 42, # Number of columns in the table.
+ },
+ "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.
+ #
+ # It matches the `category` specified in CreateLineRequest, and can be updated with
+ # UpdateLineCategoryRequest.
+ "lineProperties": { # The properties of the Line. # The properties of the line.
+ #
+ # When unset, these fields default to values that match the appearance of
+ # new lines created in the Slides editor.
+ "dashStyle": "A String", # The dash style of the line.
+ "weight": { # A magnitude in a single direction in the specified units. # The thickness of the line.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "endArrow": "A String", # The style of the arrow at the end of the line.
+ "link": { # A hypertext link. # The hyperlink destination of the line. If unset, there is no link.
+ "url": "A String", # If set, indicates this is a link to the external web page at this URL.
+ "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
+ # in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
+ "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
+ # addressed by its position.
+ },
+ "lineFill": { # The fill of the line. # The fill of the line. The default line fill matches the defaults for new
+ # lines created in the Slides editor.
"solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill.
# specified color value.
#
@@ -11897,884 +14079,56 @@
# a value of 0.0 corresponds to a completely transparent color.
},
},
- "propertyState": "A String", # The outline property state.
+ "startConnection": { # The properties for one end of a Line # The connection at the beginning of the line. If unset, there is no
+ # connection.
#
- # Updating the the outline on a page element will implicitly update this
- # field to`RENDERED`, unless another value is specified in the same request.
- # To have no outline on a page element, set this field to `NOT_RENDERED`. In
- # this case, any other outline fields set in the same request will be
- # ignored.
- "dashStyle": "A String", # The dash style of the outline.
- "weight": { # A magnitude in a single direction in the specified units. # The thickness of the outline.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
- },
- },
- "id": "A String", # The video source's unique identifier for this video.
- "source": "A String", # The video source.
- },
- "elementGroup": { # A PageElement kind representing a # A collection of page elements joined as a single unit.
- # joined collection of PageElements.
- "children": [ # The collection of elements in the group. The minimum size of a group is 2.
- # Object with schema name: PageElement
- ],
- },
- "table": { # A PageElement kind representing a # A table page element.
- # table.
- "tableColumns": [ # Properties of each column.
- { # Properties of each column in a table.
- "columnWidth": { # A magnitude in a single direction in the specified units. # Width of a column.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
- },
- ],
- "tableRows": [ # Properties and contents of each row.
- #
- # Cells that span multiple rows are contained in only one of these rows and
- # have a row_span greater
- # than 1.
- { # Properties and contents of each row in a table.
- "tableCells": [ # Properties and contents of each cell.
- #
- # Cells that span multiple columns are represented only once with a
- # column_span greater
- # than 1. As a result, the length of this collection does not always match
- # the number of columns of the entire table.
- { # Properties and contents of each table cell.
- "text": { # The general text content. The text must reside in a compatible shape (e.g. # The text content of the cell.
- # text box or rectangle) or a table cell in a page.
- "lists": { # The bulleted lists contained in this text, keyed by list ID.
- "a_key": { # A List describes the look and feel of bullets belonging to paragraphs
- # associated with a list. A paragraph that is part of a list has an implicit
- # reference to that list's ID.
- "nestingLevel": { # A map of nesting levels to the properties of bullets at the associated
- # level. A list has at most nine levels of nesting, so the possible values
- # for the keys of this map are 0 through 8, inclusive.
- "a_key": { # Contains properties describing the look and feel of a list bullet at a given
- # level of nesting.
- "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The style of a bullet at this level of nesting.
- #
- # If this text is contained in a shape with a parent placeholder, then these text styles may be
- # inherited from the parent. Which text styles are inherited depend on the
- # nesting level of lists:
- #
- # * A text run in a paragraph that is not in a list will inherit its text style
- # from the the newline character in the paragraph at the 0 nesting level of
- # the list inside the parent placeholder.
- # * A text run in a paragraph that is in a list will inherit its text style
- # from the newline character in the paragraph at its corresponding nesting
- # level of the list inside the parent placeholder.
- #
- # Inherited text styles are represented as unset fields in this message. If
- # text is contained in a shape without a parent placeholder, unsetting these
- # fields will revert the style to a value matching the defaults in the Slides
- # editor.
- "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- "bold": True or False, # Whether or not the text is rendered as bold.
- "baselineOffset": "A String", # The text's vertical offset from its normal position.
- #
- # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
- # rendered in a smaller font size, computed based on the `font_size` field.
- # The `font_size` itself is not affected by changes in this field.
- "strikethrough": True or False, # Whether or not the text is struck through.
- "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").
- },
- "smallCaps": True or False, # Whether or not the text is in small capital letters.
- "fontFamily": "A String", # The font family of the text.
- #
- # The font family can be any font from the Font menu in Slides or from
- # [Google Fonts] (https://fonts.google.com/). If the font name is
- # unrecognized, the text is rendered in `Arial`.
- #
- # Some fonts can affect the weight of the text. If an update request
- # specifies values for both `font_family` and `bold`, the explicitly-set
- # `bold` value is used.
- "italic": True or False, # Whether or not the text is italicized.
- "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
- # are not inherited from parent text.
- #
- # Changing the link in an update request causes some other changes to the
- # text style of the range:
- #
- # * When setting a link, the text foreground color will be set to
- # ThemeColorType.HYPERLINK and the text will
- # be underlined. If these fields are modified in the same
- # request, those values will be used instead of the link defaults.
- # * Setting a link on a text range that overlaps with an existing link will
- # also update the existing link to point to the new URL.
- # * Links are not settable on newline characters. As a result, setting a link
- # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
- # will separate the newline character(s) into their own text runs. The
- # link will be applied separately to the runs before and after the newline.
- # * Removing a link will update the text style of the range to match the
- # style of the preceding text (or the default text styles if the preceding
- # text is another link) unless different styles are being set in the same
- # request.
- "url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
- # in the presentation. There may not be a slide at this index.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
- "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
- # addressed by its position.
- },
- "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
- "underline": True or False, # Whether or not the text is underlined.
- },
- },
- },
- "listId": "A String", # The ID of the list.
- },
- },
- "textElements": [ # The text contents broken down into its component parts, including styling
- # information. This property is read-only.
- { # A TextElement describes the content of a range of indices in the text content
- # of a Shape or TableCell.
- "autoText": { # A TextElement kind that represents auto text. # A TextElement representing a spot in the text that is dynamically
- # replaced with content that can change over time.
- "content": "A String", # The rendered content of this auto text, if available.
- "style": { # Represents the styling that can be applied to a TextRun. # The styling applied to this auto text.
- #
- # If this text is contained in a shape with a parent placeholder, then these text styles may be
- # inherited from the parent. Which text styles are inherited depend on the
- # nesting level of lists:
- #
- # * A text run in a paragraph that is not in a list will inherit its text style
- # from the the newline character in the paragraph at the 0 nesting level of
- # the list inside the parent placeholder.
- # * A text run in a paragraph that is in a list will inherit its text style
- # from the newline character in the paragraph at its corresponding nesting
- # level of the list inside the parent placeholder.
- #
- # Inherited text styles are represented as unset fields in this message. If
- # text is contained in a shape without a parent placeholder, unsetting these
- # fields will revert the style to a value matching the defaults in the Slides
- # editor.
- "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- "bold": True or False, # Whether or not the text is rendered as bold.
- "baselineOffset": "A String", # The text's vertical offset from its normal position.
- #
- # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
- # rendered in a smaller font size, computed based on the `font_size` field.
- # The `font_size` itself is not affected by changes in this field.
- "strikethrough": True or False, # Whether or not the text is struck through.
- "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").
- },
- "smallCaps": True or False, # Whether or not the text is in small capital letters.
- "fontFamily": "A String", # The font family of the text.
- #
- # The font family can be any font from the Font menu in Slides or from
- # [Google Fonts] (https://fonts.google.com/). If the font name is
- # unrecognized, the text is rendered in `Arial`.
- #
- # Some fonts can affect the weight of the text. If an update request
- # specifies values for both `font_family` and `bold`, the explicitly-set
- # `bold` value is used.
- "italic": True or False, # Whether or not the text is italicized.
- "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
- # are not inherited from parent text.
- #
- # Changing the link in an update request causes some other changes to the
- # text style of the range:
- #
- # * When setting a link, the text foreground color will be set to
- # ThemeColorType.HYPERLINK and the text will
- # be underlined. If these fields are modified in the same
- # request, those values will be used instead of the link defaults.
- # * Setting a link on a text range that overlaps with an existing link will
- # also update the existing link to point to the new URL.
- # * Links are not settable on newline characters. As a result, setting a link
- # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
- # will separate the newline character(s) into their own text runs. The
- # link will be applied separately to the runs before and after the newline.
- # * Removing a link will update the text style of the range to match the
- # style of the preceding text (or the default text styles if the preceding
- # text is another link) unless different styles are being set in the same
- # request.
- "url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
- # in the presentation. There may not be a slide at this index.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
- "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
- # addressed by its position.
- },
- "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
- "underline": True or False, # Whether or not the text is underlined.
- },
- "type": "A String", # The type of this auto text.
- },
- "endIndex": 42, # The zero-based end index of this text element, exclusive, in Unicode code
- # units.
- "startIndex": 42, # The zero-based start index of this text element, in Unicode code units.
- "paragraphMarker": { # A TextElement kind that represents the beginning of a new paragraph. # A marker representing the beginning of a new paragraph.
- #
- # The `start_index` and `end_index` of this TextElement represent the
- # range of the paragraph. Other TextElements with an index range contained
- # inside this paragraph's range are considered to be part of this
- # paragraph. The range of indices of two separate paragraphs will never
- # overlap.
- "style": { # Styles that apply to a whole paragraph. # The paragraph's style
- #
- # If this text is contained in a shape with a parent placeholder, then these paragraph styles may be
- # inherited from the parent. Which paragraph styles are inherited depend on the
- # nesting level of lists:
- #
- # * A paragraph not in a list will inherit its paragraph style from the
- # paragraph at the 0 nesting level of the list inside the parent placeholder.
- # * A paragraph in a list will inherit its paragraph style from the paragraph
- # at its corresponding nesting level of the list inside the parent
- # placeholder.
- #
- # Inherited paragraph styles are represented as unset fields in this message.
- "spacingMode": "A String", # The spacing mode for the paragraph.
- "direction": "A String", # The text direction of this paragraph. If unset, the value defaults to
- # LEFT_TO_RIGHT since
- # text direction is not inherited.
- "spaceBelow": { # A magnitude in a single direction in the specified units. # The amount of extra space above the paragraph. If unset, the value is
- # inherited from the parent.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
- "lineSpacing": 3.14, # The amount of space between lines, as a percentage of normal, where normal
- # is represented as 100.0. If unset, the value is inherited from the parent.
- "indentStart": { # A magnitude in a single direction in the specified units. # The amount indentation for the paragraph on the side that corresponds to
- # the start of the text, based on the current text direction. If unset, the
- # value is inherited from the parent.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
- "spaceAbove": { # A magnitude in a single direction in the specified units. # The amount of extra space above the paragraph. If unset, the value is
- # inherited from the parent.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
- "indentEnd": { # A magnitude in a single direction in the specified units. # The amount indentation for the paragraph on the side that corresponds to
- # the end of the text, based on the current text direction. If unset, the
- # value is inherited from the parent.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
- "indentFirstLine": { # A magnitude in a single direction in the specified units. # The amount of indentation for the start of the first line of the paragraph.
- # If unset, the value is inherited from the parent.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
- "alignment": "A String", # The text alignment for this paragraph.
- },
- "bullet": { # Describes the bullet of a paragraph. # The bullet for this paragraph. If not present, the paragraph does not
- # belong to a list.
- "nestingLevel": 42, # The nesting level of this paragraph in the list.
- "listId": "A String", # The ID of the list this paragraph belongs to.
- "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The paragraph specific text style applied to this bullet.
- #
- # If this text is contained in a shape with a parent placeholder, then these text styles may be
- # inherited from the parent. Which text styles are inherited depend on the
- # nesting level of lists:
- #
- # * A text run in a paragraph that is not in a list will inherit its text style
- # from the the newline character in the paragraph at the 0 nesting level of
- # the list inside the parent placeholder.
- # * A text run in a paragraph that is in a list will inherit its text style
- # from the newline character in the paragraph at its corresponding nesting
- # level of the list inside the parent placeholder.
- #
- # Inherited text styles are represented as unset fields in this message. If
- # text is contained in a shape without a parent placeholder, unsetting these
- # fields will revert the style to a value matching the defaults in the Slides
- # editor.
- "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- "bold": True or False, # Whether or not the text is rendered as bold.
- "baselineOffset": "A String", # The text's vertical offset from its normal position.
- #
- # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
- # rendered in a smaller font size, computed based on the `font_size` field.
- # The `font_size` itself is not affected by changes in this field.
- "strikethrough": True or False, # Whether or not the text is struck through.
- "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").
- },
- "smallCaps": True or False, # Whether or not the text is in small capital letters.
- "fontFamily": "A String", # The font family of the text.
- #
- # The font family can be any font from the Font menu in Slides or from
- # [Google Fonts] (https://fonts.google.com/). If the font name is
- # unrecognized, the text is rendered in `Arial`.
- #
- # Some fonts can affect the weight of the text. If an update request
- # specifies values for both `font_family` and `bold`, the explicitly-set
- # `bold` value is used.
- "italic": True or False, # Whether or not the text is italicized.
- "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
- # are not inherited from parent text.
- #
- # Changing the link in an update request causes some other changes to the
- # text style of the range:
- #
- # * When setting a link, the text foreground color will be set to
- # ThemeColorType.HYPERLINK and the text will
- # be underlined. If these fields are modified in the same
- # request, those values will be used instead of the link defaults.
- # * Setting a link on a text range that overlaps with an existing link will
- # also update the existing link to point to the new URL.
- # * Links are not settable on newline characters. As a result, setting a link
- # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
- # will separate the newline character(s) into their own text runs. The
- # link will be applied separately to the runs before and after the newline.
- # * Removing a link will update the text style of the range to match the
- # style of the preceding text (or the default text styles if the preceding
- # text is another link) unless different styles are being set in the same
- # request.
- "url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
- # in the presentation. There may not be a slide at this index.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
- "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
- # addressed by its position.
- },
- "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
- "underline": True or False, # Whether or not the text is underlined.
- },
- "glyph": "A String", # The rendered bullet glyph for this paragraph.
- },
- },
- "textRun": { # A TextElement kind that represents a run of text that all has the same # A TextElement representing a run of text where all of the characters
- # in the run have the same TextStyle.
- #
- # The `start_index` and `end_index` of TextRuns will always be fully
- # contained in the index range of a single `paragraph_marker` TextElement.
- # In other words, a TextRun will never span multiple paragraphs.
- # styling.
- "content": "A String", # The text of this run.
- "style": { # Represents the styling that can be applied to a TextRun. # The styling applied to this run.
- #
- # If this text is contained in a shape with a parent placeholder, then these text styles may be
- # inherited from the parent. Which text styles are inherited depend on the
- # nesting level of lists:
- #
- # * A text run in a paragraph that is not in a list will inherit its text style
- # from the the newline character in the paragraph at the 0 nesting level of
- # the list inside the parent placeholder.
- # * A text run in a paragraph that is in a list will inherit its text style
- # from the newline character in the paragraph at its corresponding nesting
- # level of the list inside the parent placeholder.
- #
- # Inherited text styles are represented as unset fields in this message. If
- # text is contained in a shape without a parent placeholder, unsetting these
- # fields will revert the style to a value matching the defaults in the Slides
- # editor.
- "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- "bold": True or False, # Whether or not the text is rendered as bold.
- "baselineOffset": "A String", # The text's vertical offset from its normal position.
- #
- # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
- # rendered in a smaller font size, computed based on the `font_size` field.
- # The `font_size` itself is not affected by changes in this field.
- "strikethrough": True or False, # Whether or not the text is struck through.
- "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").
- },
- "smallCaps": True or False, # Whether or not the text is in small capital letters.
- "fontFamily": "A String", # The font family of the text.
- #
- # The font family can be any font from the Font menu in Slides or from
- # [Google Fonts] (https://fonts.google.com/). If the font name is
- # unrecognized, the text is rendered in `Arial`.
- #
- # Some fonts can affect the weight of the text. If an update request
- # specifies values for both `font_family` and `bold`, the explicitly-set
- # `bold` value is used.
- "italic": True or False, # Whether or not the text is italicized.
- "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
- # are not inherited from parent text.
- #
- # Changing the link in an update request causes some other changes to the
- # text style of the range:
- #
- # * When setting a link, the text foreground color will be set to
- # ThemeColorType.HYPERLINK and the text will
- # be underlined. If these fields are modified in the same
- # request, those values will be used instead of the link defaults.
- # * Setting a link on a text range that overlaps with an existing link will
- # also update the existing link to point to the new URL.
- # * Links are not settable on newline characters. As a result, setting a link
- # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
- # will separate the newline character(s) into their own text runs. The
- # link will be applied separately to the runs before and after the newline.
- # * Removing a link will update the text style of the range to match the
- # style of the preceding text (or the default text styles if the preceding
- # text is another link) unless different styles are being set in the same
- # request.
- "url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
- # in the presentation. There may not be a slide at this index.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
- "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
- # addressed by its position.
- },
- "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
- "underline": True or False, # Whether or not the text is underlined.
- },
- },
- },
- ],
- },
- "tableCellProperties": { # The properties of the TableCell. # The properties of the table cell.
- "tableCellBackgroundFill": { # The table cell background fill. # The background fill of the table cell. The default fill matches the fill
- # for newly created table cells in the Slides editor.
- "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill.
- # specified color value.
- #
- # If any field is unset, its value may be inherited from a parent placeholder
- # if it exists.
- "color": { # A themeable solid color value. # The color value of the solid fill.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel.
- # That is, the final pixel color is defined by the equation:
- #
- # pixel color = alpha * (color) + (1.0 - alpha) * (background color)
- #
- # This means that a value of 1.0 corresponds to a solid color, whereas
- # a value of 0.0 corresponds to a completely transparent color.
- },
- "propertyState": "A String", # The background fill property state.
- #
- # Updating the the fill on a table cell will implicitly update this field
- # to `RENDERED`, unless another value is specified in the same request. To
- # have no fill on a table cell, set this field to `NOT_RENDERED`. In this
- # case, any other fill fields set in the same request will be ignored.
- },
- },
- "rowSpan": 42, # Row span of the cell.
- "columnSpan": 42, # Column span of the cell.
- "location": { # A location of a single table cell within a table. # The location of the cell within the table.
- "rowIndex": 42, # The 0-based row index.
- "columnIndex": 42, # The 0-based column index.
- },
- },
- ],
- "rowHeight": { # A magnitude in a single direction in the specified units. # Height of a row.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
- },
- ],
- "rows": 42, # Number of rows in the table.
- "columns": 42, # Number of columns in the table.
- },
- "line": { # A PageElement kind representing a # A line page element.
- # line, curved connector, or bent connector.
- "lineProperties": { # The properties of the Line. # The properties of the line.
- #
- # When unset, these fields default to values that match the appearance of
- # new lines created in the Slides editor.
- "dashStyle": "A String", # The dash style of the line.
- "weight": { # A magnitude in a single direction in the specified units. # The thickness of the line.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
- "endArrow": "A String", # The style of the arrow at the end of the line.
- "link": { # A hypertext link. # The hyperlink destination of the line. If unset, there is no link.
- "url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
- # in the presentation. There may not be a slide at this index.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
- "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
- # addressed by its position.
- },
- "lineFill": { # The fill of the line. # The fill of the line. The default line fill matches the defaults for new
- # lines created in the Slides editor.
- "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill.
- # specified color value.
- #
- # If any field is unset, its value may be inherited from a parent placeholder
- # if it exists.
- "color": { # A themeable solid color value. # The color value of the solid fill.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel.
- # That is, the final pixel color is defined by the equation:
+ # Only lines with a Type indicating it is
+ # a "connector" can have a `start_connection`.
+ # connection.
+ "connectionSiteIndex": 42, # The index of the connection site on the connected page element.
#
- # pixel color = alpha * (color) + (1.0 - alpha) * (background color)
+ # 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).
#
- # 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.
+ # 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.
},
+ "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.
+ },
+ "startArrow": "A String", # The style of the arrow at the beginning of the line.
},
- "startArrow": "A String", # The style of the arrow at the beginning of the line.
+ "lineType": "A String", # The type of the line.
},
- "lineType": "A String", # The type of the line.
- },
- "size": { # A width and height. # The size of the page element.
- "width": { # A magnitude in a single direction in the specified units. # The width of the object.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
- "height": { # A magnitude in a single direction in the specified units. # The height of the object.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
- },
- },
- ],
- "notesProperties": { # The properties of Page that are only # Notes specific properties. Only set if page_type = NOTES.
- # relevant for pages with page_type NOTES.
- "speakerNotesObjectId": "A String", # The object ID of the shape on this notes page that contains the speaker
- # notes for the corresponding slide.
- # The actual shape may not always exist on the notes page. Inserting text
- # using this object ID will automatically create the shape. In this case, the
- # actual shape may have different object ID. The `GetPresentation` or
- # `GetPage` action will always return the latest object ID.
- },
- "objectId": "A String", # The object ID for this page. Object IDs used by
- # Page and
- # PageElement share the same namespace.
- "revisionId": "A String", # The revision ID of the presentation containing this page. Can be used in
- # update requests to assert that the presentation revision hasn't changed
- # since the last read operation. Only populated if the user has edit access
- # to the presentation.
- #
- # The format of the revision ID may change over time, so it should be treated
- # opaquely. A returned revision ID is only guaranteed to be valid for 24
- # hours after it has been returned and cannot be shared across users. If the
- # revision ID is unchanged between calls, then the presentation has not
- # 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.
- "pageProperties": { # The properties of the Page. # The properties of the page.
- #
- # The page will inherit properties from the parent page. Depending on the page
- # type the hierarchy is defined in either
- # SlideProperties or
- # LayoutProperties.
- "pageBackgroundFill": { # The page background fill. # The background fill of the page. If unset, the background fill is inherited
- # from a parent page if it exists. If the page has no parent, then the
- # background fill defaults to the corresponding fill in the Slides editor.
- "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill.
- # specified color value.
- #
- # If any field is unset, its value may be inherited from a parent placeholder
- # if it exists.
- "color": { # A themeable solid color value. # The color value of the solid fill.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel.
- # That is, the final pixel color is defined by the equation:
- #
- # pixel color = alpha * (color) + (1.0 - alpha) * (background color)
- #
- # This means that a value of 1.0 corresponds to a solid color, whereas
- # a value of 0.0 corresponds to a completely transparent color.
- },
- "propertyState": "A String", # The background fill property state.
- #
- # Updating the the fill on a page will implicitly update this field to
- # `RENDERED`, unless another value is specified in the same request. To
- # have no fill on a page, set this field to `NOT_RENDERED`. In this case,
- # any other fill fields set in the same request will be ignored.
- "stretchedPictureFill": { # The stretched picture fill. The page or page element is filled entirely with # Stretched picture fill.
- # the specified picture. The picture is stretched to fit its container.
- "contentUrl": "A String", # Reading the content_url:
- #
- # An URL to a picture with a default lifetime of 30 minutes.
- # This URL is tagged with the account of the requester. Anyone with the URL
- # effectively accesses the picture as the original requester. Access to the
- # picture may be lost if the presentation's sharing settings change.
- #
- # Writing the content_url:
- #
- # The picture is fetched once at insertion time and a copy is stored for
- # display inside the presentation. Pictures must be less than 50MB in size,
- # cannot exceed 25 megapixels, and must be in either in PNG, JPEG, or GIF
- # format.
- "size": { # A width and height. # The original size of the picture fill. This field is read-only.
+ "size": { # A width and height. # The size of the page element.
"width": { # A magnitude in a single direction in the specified units. # The width of the object.
"magnitude": 3.14, # The magnitude.
"unit": "A String", # The units for magnitude.
@@ -12784,39 +14138,137 @@
"unit": "A String", # The units for magnitude.
},
},
+ "description": "A String", # The description of the page element. Combined with title to display alt
+ # text.
+ },
+ ],
+ "notesProperties": { # The properties of Page that are only # Notes specific properties. Only set if page_type = NOTES.
+ # relevant for pages with page_type NOTES.
+ "speakerNotesObjectId": "A String", # The object ID of the shape on this notes page that contains the speaker
+ # notes for the corresponding slide.
+ # The actual shape may not always exist on the notes page. Inserting text
+ # using this object ID will automatically create the shape. In this case, the
+ # actual shape may have different object ID. The `GetPresentation` or
+ # `GetPage` action will always return the latest object ID.
+ },
+ "objectId": "A String", # The object ID for this page. Object IDs used by
+ # Page and
+ # PageElement share the same namespace.
+ "revisionId": "A String", # The revision ID of the presentation containing this page. Can be used in
+ # update requests to assert that the presentation revision hasn't changed
+ # since the last read operation. Only populated if the user has edit access
+ # to the presentation.
+ #
+ # The format of the revision ID may change over time, so it should be treated
+ # opaquely. A returned revision ID is only guaranteed to be valid for 24
+ # hours after it has been returned and cannot be shared across users. If the
+ # revision ID is unchanged between calls, then the presentation has not
+ # 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.
+ "masterProperties": { # The properties of Page that are only # Master specific properties. Only set if page_type = MASTER.
+ # relevant for pages with page_type MASTER.
+ "displayName": "A String", # The human-readable name of the master.
+ },
+ "pageProperties": { # The properties of the Page. # The properties of the page.
+ #
+ # The page will inherit properties from the parent page. Depending on the page
+ # type the hierarchy is defined in either
+ # SlideProperties or
+ # LayoutProperties.
+ "pageBackgroundFill": { # The page background fill. # The background fill of the page. If unset, the background fill is inherited
+ # from a parent page if it exists. If the page has no parent, then the
+ # background fill defaults to the corresponding fill in the Slides editor.
+ "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill.
+ # specified color value.
+ #
+ # If any field is unset, its value may be inherited from a parent placeholder
+ # if it exists.
+ "color": { # A themeable solid color value. # The color value of the solid fill.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel.
+ # That is, the final pixel color is defined by the equation:
+ #
+ # pixel color = alpha * (color) + (1.0 - alpha) * (background color)
+ #
+ # This means that a value of 1.0 corresponds to a solid color, whereas
+ # a value of 0.0 corresponds to a completely transparent color.
+ },
+ "propertyState": "A String", # The background fill property state.
+ #
+ # Updating the fill on a page will implicitly update this field to
+ # `RENDERED`, unless another value is specified in the same request. To
+ # have no fill on a page, set this field to `NOT_RENDERED`. In this case,
+ # any other fill fields set in the same request will be ignored.
+ "stretchedPictureFill": { # The stretched picture fill. The page or page element is filled entirely with # Stretched picture fill.
+ # the specified picture. The picture is stretched to fit its container.
+ "contentUrl": "A String", # Reading the content_url:
+ #
+ # An URL to a picture with a default lifetime of 30 minutes.
+ # This URL is tagged with the account of the requester. Anyone with the URL
+ # effectively accesses the picture as the original requester. Access to the
+ # picture may be lost if the presentation's sharing settings change.
+ #
+ # Writing the content_url:
+ #
+ # The picture is fetched once at insertion time and a copy is stored for
+ # display inside the presentation. Pictures must be less than 50MB in size,
+ # cannot exceed 25 megapixels, and must be in 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.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "height": { # A magnitude in a single direction in the specified units. # The height of the object.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ },
+ },
+ },
+ "colorScheme": { # The palette of predefined colors for a page. # The color scheme of the page. If unset, the color scheme is inherited from
+ # a parent page. If the page has no parent, the color scheme uses a default
+ # Slides color scheme. This field is read-only.
+ "colors": [ # The ThemeColorType and corresponding concrete color pairs.
+ { # A pair mapping a theme color type to the concrete color it represents.
+ "color": { # An RGB color. # The concrete color corresponding to the theme color type above.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ "type": "A String", # The type of the theme color.
+ },
+ ],
},
},
- "colorScheme": { # The palette of predefined colors for a page. # The color scheme of the page. If unset, the color scheme is inherited from
- # a parent page. If the page has no parent, the color scheme uses a default
- # Slides color scheme. This field is read-only.
- "colors": [ # The ThemeColorType and corresponding concrete color pairs.
- { # A pair mapping a theme color type to the concrete color it represents.
- "color": { # An RGB color. # The concrete color corresponding to the theme color type above.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- "type": "A String", # The type of the theme color.
- },
- ],
+ "pageType": "A String", # The type of the page.
+ "slideProperties": { # The properties of Page that are only # Slide specific properties. Only set if page_type = SLIDE.
+ # relevant for pages with page_type SLIDE.
+ "notesPage": # Object with schema name: Page # The notes page that this slide is associated with. It defines the visual
+ # appearance of a notes page when printing or exporting slides with speaker
+ # notes. A notes page inherits properties from the
+ # notes master.
+ # The placeholder shape with type BODY on the notes page contains the speaker
+ # notes for this slide. The ID of this shape is identified by the
+ # speakerNotesObjectId field.
+ # The notes page is read-only except for the text content and styles of the
+ # speaker notes shape. 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.
},
},
- "pageType": "A String", # The type of the page.
- "slideProperties": { # The properties of Page that are only # Slide specific properties. Only set if page_type = SLIDE.
- # relevant for pages with page_type SLIDE.
- "notesPage": # Object with schema name: Page # The notes page that this slide is associated with. It defines the visual
- # appearance of a notes page when printing or exporting slides with speaker
- # notes. A notes page inherits properties from the
- # notes master.
- # The placeholder shape with type BODY on the notes page contains the speaker
- # notes for this slide. The ID of this shape is identified by the
- # speakerNotesObjectId field.
- # The notes page is read-only except for the text content and styles of the
- # speaker notes shape.
- "masterObjectId": "A String", # The object ID of the master that this slide is based on.
- "layoutObjectId": "A String", # The object ID of the layout that this slide is based on.
- },
- },
+ ],
"pageSize": { # A width and height. # The size of pages in the presentation.
"width": { # A magnitude in a single direction in the specified units. # The width of the object.
"magnitude": 3.14, # The magnitude.
@@ -12841,44 +14293,1092 @@
# 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.
- "masters": [ # The slide masters in the presentation. A slide master contains all common
- # page elements and the common properties for a set of layouts. They serve
- # three purposes:
+ "notesMaster": { # A page in a presentation. # The notes master in the presentation. It serves three purposes:
#
- # - Placeholder shapes on a master contain the default text styles and shape
- # properties of all placeholder shapes on pages that use that master.
- # - The master page properties define the common page properties inherited by
- # its layouts.
- # - Any other shapes on the master slide will appear on all slides using that
- # master, regardless of their layout.
- { # A page in a presentation.
- "layoutProperties": { # The properties of Page are only # Layout specific properties. Only set if page_type = LAYOUT.
- # relevant for pages with page_type LAYOUT.
- "displayName": "A String", # The human readable name of the layout in the presentation's locale.
- "name": "A String", # The name of the layout.
- "masterObjectId": "A String", # The object ID of the master that this layout is based on.
- },
- "pageElements": [ # The page elements rendered on the page.
- { # A visual element rendered on a page.
- "wordArt": { # A PageElement kind representing # A word art page element.
- # word art.
- "renderedText": "A String", # The text rendered as word art.
+ # - Placeholder shapes on a notes master contain the default text styles and
+ # shape properties of all placeholder shapes on notes pages. Specifically,
+ # a `SLIDE_IMAGE` placeholder shape contains the slide thumbnail, and a
+ # `BODY` placeholder shape contains the speaker notes.
+ # - The notes master page properties define the common page properties
+ # inherited by all notes pages.
+ # - Any other shapes on the notes master will appear on all notes pages.
+ #
+ # The notes master is read-only.
+ "layoutProperties": { # The properties of Page are only # Layout specific properties. Only set if page_type = LAYOUT.
+ # relevant for pages with page_type LAYOUT.
+ "displayName": "A String", # The human-readable name of the layout.
+ "name": "A String", # The name of the layout.
+ "masterObjectId": "A String", # The object ID of the master that this layout is based on.
+ },
+ "pageElements": [ # The page elements rendered on the page.
+ { # A visual element rendered on a page.
+ "wordArt": { # A PageElement kind representing # A word art page element.
+ # word art.
+ "renderedText": "A String", # The text rendered as word art.
+ },
+ "elementGroup": { # A PageElement kind representing a # A collection of page elements joined as a single unit.
+ # joined collection of PageElements.
+ "children": [ # The collection of elements in the group. The minimum size of a group is 2.
+ # Object with schema name: PageElement
+ ],
+ },
+ "objectId": "A String", # The object ID for this page element. Object IDs used by
+ # google.apps.slides.v1.Page and
+ # google.apps.slides.v1.PageElement share the same namespace.
+ "title": "A String", # The title of the page element. Combined with description to display alt
+ # text.
+ "image": { # A PageElement kind representing an # An image page element.
+ # image.
+ "contentUrl": "A String", # An URL to an image with a default lifetime of 30 minutes.
+ # This URL is tagged with the account of the requester. Anyone with the URL
+ # effectively accesses the image as the original requester. Access to the
+ # image may be lost if the presentation's sharing settings change.
+ "imageProperties": { # The properties of the Image. # The properties of the image.
+ "outline": { # The outline of a PageElement. # The outline of the image. If not set, the image has no outline.
+ #
+ # If these fields are unset, they may be inherited from a parent placeholder
+ # if it exists. If there is no parent, the fields will default to the value
+ # used for new page elements created in the Slides editor, which may depend on
+ # the page element kind.
+ "outlineFill": { # The fill of the outline. # The fill of the outline.
+ "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill.
+ # specified color value.
+ #
+ # If any field is unset, its value may be inherited from a parent placeholder
+ # if it exists.
+ "color": { # A themeable solid color value. # The color value of the solid fill.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel.
+ # That is, the final pixel color is defined by the equation:
+ #
+ # pixel color = alpha * (color) + (1.0 - alpha) * (background color)
+ #
+ # This means that a value of 1.0 corresponds to a solid color, whereas
+ # a value of 0.0 corresponds to a completely transparent color.
+ },
+ },
+ "propertyState": "A String", # The outline property state.
+ #
+ # Updating the outline on a page element will implicitly update this field
+ # to `RENDERED`, unless another value is specified in the same request. To
+ # have no outline on a page element, set this field to `NOT_RENDERED`. In
+ # this case, any other outline fields set in the same request will be
+ # ignored.
+ "dashStyle": "A String", # The dash style of the outline.
+ "weight": { # A magnitude in a single direction in the specified units. # The thickness of the outline.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ },
+ "brightness": 3.14, # The brightness effect of the image. The value should be in the interval
+ # [-1.0, 1.0], where 0 means no effect. This property is read-only.
+ "recolor": { # A recolor effect applied on an image. # The recolor effect of the image. If not set, the image is not recolored.
+ # This property is read-only.
+ "recolorStops": [ # The recolor effect is represented by a gradient, which is a list of color
+ # stops.
+ #
+ # The colors in the gradient will replace the corresponding colors at
+ # the same position in the color palette and apply to the image. This
+ # property is read-only.
+ { # A color and position in a gradient band.
+ "color": { # A themeable solid color value. # The color of the gradient stop.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ "alpha": 3.14, # The alpha value of this color in the gradient band. Defaults to 1.0,
+ # fully opaque.
+ "position": 3.14, # The relative position of the color stop in the gradient band measured
+ # in percentage. The value should be in the interval [0.0, 1.0].
+ },
+ ],
+ "name": "A String", # The name of the recolor effect.
+ #
+ # The name is determined from the `recolor_stops` by matching the gradient
+ # against the colors in the page's current color scheme. This property is
+ # read-only.
+ },
+ "link": { # A hypertext link. # The hyperlink destination of the image. If unset, there is no link.
+ "url": "A String", # If set, indicates this is a link to the external web page at this URL.
+ "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
+ # in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
+ "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
+ # addressed by its position.
+ },
+ "transparency": 3.14, # The transparency effect of the image. The value should be in the interval
+ # [0.0, 1.0], where 0 means no effect and 1 means completely transparent.
+ # This property is read-only.
+ "cropProperties": { # The crop properties of an object enclosed in a container. For example, an # The crop properties of the image. If not set, the image is not cropped.
+ # This property is read-only.
+ # Image.
+ #
+ # The crop properties is represented by the offsets of four edges which define
+ # a crop rectangle. The offsets are measured in percentage from the
+ # corresponding edges of the object's original bounding rectangle towards
+ # inside, relative to the object's original dimensions.
+ #
+ # - If the offset is in the interval (0, 1), the corresponding edge of crop
+ # rectangle is positioned inside of the object's original bounding rectangle.
+ # - If the offset is negative or greater than 1, the corresponding edge of crop
+ # rectangle is positioned outside of the object's original bounding rectangle.
+ # - If the left edge of the crop rectangle is on the right side of its right
+ # edge, the object will be flipped horizontally.
+ # - If the top edge of the crop rectangle is below its bottom edge, the object
+ # will be flipped vertically.
+ # - If all offsets and rotation angle is 0, the object is not cropped.
+ #
+ # After cropping, the content in the crop rectangle will be stretched to fit
+ # its container.
+ "leftOffset": 3.14, # The offset specifies the left edge of the crop rectangle that is located to
+ # the right of the original bounding rectangle left edge, relative to the
+ # object's original width.
+ "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.
+ "angle": 3.14, # The rotation angle of the crop window around its center, in radians.
+ # Rotation angle is applied after the offset.
+ "rightOffset": 3.14, # The offset specifies the right edge of the crop rectangle that is located
+ # to the left of the original bounding rectangle right edge, relative to the
+ # object's original width.
+ "topOffset": 3.14, # The offset specifies the top edge of the crop rectangle that is located
+ # below the original bounding rectangle top edge, relative to the object's
+ # original height.
+ },
+ "shadow": { # The shadow properties of a page element. # The shadow of the image. If not set, the image has no shadow. This property
+ # is read-only.
+ #
+ # If these fields are unset, they may be inherited from a parent placeholder
+ # if it exists. If there is no parent, the fields will default to the value
+ # used for new page elements created in the Slides editor, which may depend on
+ # the page element kind.
+ "color": { # A themeable solid color value. # The shadow color value.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ "transform": { # AffineTransform uses a 3x3 matrix with an implied last row of [ 0 0 1 ] # Transform that encodes the translate, scale, and skew of the shadow,
+ # relative to the alignment position.
+ # to transform source coordinates (x,y) into destination coordinates (x', y')
+ # according to:
+ #
+ # x' x = shear_y scale_y translate_y
+ # 1 [ 1 ]
+ #
+ # After transformation,
+ #
+ # x' = scale_x * x + shear_x * y + translate_x;
+ # y' = scale_y * y + shear_y * x + translate_y;
+ #
+ # This message is therefore composed of these six matrix elements.
+ "translateX": 3.14, # The X coordinate translation element.
+ "translateY": 3.14, # The Y coordinate translation element.
+ "scaleX": 3.14, # The X coordinate scaling element.
+ "scaleY": 3.14, # The Y coordinate scaling element.
+ "shearY": 3.14, # The Y coordinate shearing element.
+ "shearX": 3.14, # The X coordinate shearing element.
+ "unit": "A String", # The units for translate elements.
+ },
+ "propertyState": "A String", # The shadow property state.
+ #
+ # Updating the shadow on a page element will implicitly update this field to
+ # `RENDERED`, unless another value is specified in the same request. To have
+ # no shadow on a page element, set this field to `NOT_RENDERED`. In this
+ # case, any other shadow fields set in the same request will be ignored.
+ "blurRadius": { # A magnitude in a single direction in the specified units. # The radius of the shadow blur. The larger the radius, the more diffuse the
+ # shadow becomes.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "alpha": 3.14, # The alpha of the shadow's color, from 0.0 to 1.0.
+ "type": "A String", # The type of the shadow. This property is read-only.
+ "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.
+ "rotateWithShape": True or False, # Whether the shadow should rotate with the shape. 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.
},
- "description": "A String", # The description of the page element. Combined with title to display alt
- # text.
- "objectId": "A String", # The object ID for this page element. Object IDs used by
- # google.apps.slides.v1.Page and
- # google.apps.slides.v1.PageElement share the same namespace.
- "title": "A String", # The title of the page element. Combined with description to display alt
- # text.
- "image": { # A PageElement kind representing an # An image page element.
- # image.
- "contentUrl": "A String", # An URL to an image with a default lifetime of 30 minutes.
- # This URL is tagged with the account of the requester. Anyone with the URL
- # effectively accesses the image as the original requester. Access to the
- # image may be lost if the presentation's sharing settings change.
- "imageProperties": { # The properties of the Image. # The properties of the image.
- "outline": { # The outline of a PageElement. # The outline of the image. If not set, the the image has no outline.
+ "sourceUrl": "A String", # The source URL is the URL used to insert the image. The source URL can be
+ # empty.
+ },
+ "transform": { # AffineTransform uses a 3x3 matrix with an implied last row of [ 0 0 1 ] # The transform of the page element.
+ #
+ # The visual appearance of the page element is determined by its absolute
+ # transform. To compute the absolute transform, preconcatenate a page
+ # element's transform with the transforms of all of its parent groups. If the
+ # page element is not in a group, its absolute transform is the same as the
+ # value in this field.
+ #
+ # The initial transform for the newly created Group is always the identity transform.
+ # to transform source coordinates (x,y) into destination coordinates (x', y')
+ # according to:
+ #
+ # x' x = shear_y scale_y translate_y
+ # 1 [ 1 ]
+ #
+ # After transformation,
+ #
+ # x' = scale_x * x + shear_x * y + translate_x;
+ # y' = scale_y * y + shear_y * x + translate_y;
+ #
+ # This message is therefore composed of these six matrix elements.
+ "translateX": 3.14, # The X coordinate translation element.
+ "translateY": 3.14, # The Y coordinate translation element.
+ "scaleX": 3.14, # The X coordinate scaling element.
+ "scaleY": 3.14, # The Y coordinate scaling element.
+ "shearY": 3.14, # The Y coordinate shearing element.
+ "shearX": 3.14, # The X coordinate shearing element.
+ "unit": "A String", # The units for translate elements.
+ },
+ "shape": { # A PageElement kind representing a # A generic shape.
+ # generic shape that does not have a more specific classification.
+ "text": { # The general text content. The text must reside in a compatible shape (e.g. # The text content of the shape.
+ # text box or rectangle) or a table cell in a page.
+ "textElements": [ # The text contents broken down into its component parts, including styling
+ # information. This property is read-only.
+ { # A TextElement describes the content of a range of indices in the text content
+ # of a Shape or TableCell.
+ "autoText": { # A TextElement kind that represents auto text. # A TextElement representing a spot in the text that is dynamically
+ # replaced with content that can change over time.
+ "content": "A String", # The rendered content of this auto text, if available.
+ "style": { # Represents the styling that can be applied to a TextRun. # The styling applied to this auto text.
+ #
+ # If this text is contained in a shape with a parent placeholder, then these text styles may be
+ # inherited from the parent. Which text styles are inherited depend on the
+ # nesting level of lists:
+ #
+ # * A text run in a paragraph that is not in a list will inherit its text style
+ # from the the newline character in the paragraph at the 0 nesting level of
+ # the list inside the parent placeholder.
+ # * A text run in a paragraph that is in a list will inherit its text style
+ # from the newline character in the paragraph at its corresponding nesting
+ # level of the list inside the parent placeholder.
+ #
+ # Inherited text styles are represented as unset fields in this message. If
+ # text is contained in a shape without a parent placeholder, unsetting these
+ # fields will revert the style to a value matching the defaults in the Slides
+ # editor.
+ "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ "baselineOffset": "A String", # The text's vertical offset from its normal position.
+ #
+ # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
+ # rendered in a smaller font size, computed based on the `font_size` field.
+ # The `font_size` itself is not affected by changes in this field.
+ "strikethrough": True or False, # Whether or not the text is struck through.
+ "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").
+ },
+ "smallCaps": True or False, # Whether or not the text is in small capital letters.
+ "fontFamily": "A String", # The font family of the text.
+ #
+ # The font family can be any font from the Font menu in Slides or from
+ # [Google Fonts] (https://fonts.google.com/). If the font name is
+ # unrecognized, the text is rendered in `Arial`.
+ #
+ # Some fonts can affect the weight of the text. If an update request
+ # specifies values for both `font_family` and `bold`, the explicitly-set
+ # `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "italic": True or False, # Whether or not the text is italicized.
+ "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
+ # are not inherited from parent text.
+ #
+ # Changing the link in an update request causes some other changes to the
+ # text style of the range:
+ #
+ # * When setting a link, the text foreground color will be set to
+ # ThemeColorType.HYPERLINK and the text will
+ # be underlined. If these fields are modified in the same
+ # request, those values will be used instead of the link defaults.
+ # * Setting a link on a text range that overlaps with an existing link will
+ # also update the existing link to point to the new URL.
+ # * Links are not settable on newline characters. As a result, setting a link
+ # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
+ # will separate the newline character(s) into their own text runs. The
+ # link will be applied separately to the runs before and after the newline.
+ # * Removing a link will update the text style of the range to match the
+ # style of the preceding text (or the default text styles if the preceding
+ # text is another link) unless different styles are being set in the same
+ # request.
+ "url": "A String", # If set, indicates this is a link to the external web page at this URL.
+ "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
+ # in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
+ "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
+ # addressed by its position.
+ },
+ "underline": True or False, # Whether or not the text is underlined.
+ "bold": True or False, # Whether or not the text is rendered as bold.
+ },
+ "type": "A String", # The type of this auto text.
+ },
+ "endIndex": 42, # The zero-based end index of this text element, exclusive, in Unicode code
+ # units.
+ "startIndex": 42, # The zero-based start index of this text element, in Unicode code units.
+ "paragraphMarker": { # A TextElement kind that represents the beginning of a new paragraph. # A marker representing the beginning of a new paragraph.
+ #
+ # The `start_index` and `end_index` of this TextElement represent the
+ # range of the paragraph. Other TextElements with an index range contained
+ # inside this paragraph's range are considered to be part of this
+ # paragraph. The range of indices of two separate paragraphs will never
+ # overlap.
+ "style": { # Styles that apply to a whole paragraph. # The paragraph's style
+ #
+ # If this text is contained in a shape with a parent placeholder, then these paragraph styles may be
+ # inherited from the parent. Which paragraph styles are inherited depend on the
+ # nesting level of lists:
+ #
+ # * A paragraph not in a list will inherit its paragraph style from the
+ # paragraph at the 0 nesting level of the list inside the parent placeholder.
+ # * A paragraph in a list will inherit its paragraph style from the paragraph
+ # at its corresponding nesting level of the list inside the parent
+ # placeholder.
+ #
+ # Inherited paragraph styles are represented as unset fields in this message.
+ "spacingMode": "A String", # The spacing mode for the paragraph.
+ "direction": "A String", # The text direction of this paragraph. If unset, the value defaults to
+ # LEFT_TO_RIGHT since
+ # text direction is not inherited.
+ "spaceBelow": { # A magnitude in a single direction in the specified units. # The amount of extra space below the paragraph. If unset, the value is
+ # inherited from the parent.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "lineSpacing": 3.14, # The amount of space between lines, as a percentage of normal, where normal
+ # is represented as 100.0. If unset, the value is inherited from the parent.
+ "indentStart": { # A magnitude in a single direction in the specified units. # The amount indentation for the paragraph on the side that corresponds to
+ # the start of the text, based on the current text direction. If unset, the
+ # value is inherited from the parent.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "spaceAbove": { # A magnitude in a single direction in the specified units. # The amount of extra space above the paragraph. If unset, the value is
+ # inherited from the parent.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "indentEnd": { # A magnitude in a single direction in the specified units. # The amount indentation for the paragraph on the side that corresponds to
+ # the end of the text, based on the current text direction. If unset, the
+ # value is inherited from the parent.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "indentFirstLine": { # A magnitude in a single direction in the specified units. # The amount of indentation for the start of the first line of the paragraph.
+ # If unset, the value is inherited from the parent.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "alignment": "A String", # The text alignment for this paragraph.
+ },
+ "bullet": { # Describes the bullet of a paragraph. # The bullet for this paragraph. If not present, the paragraph does not
+ # belong to a list.
+ "nestingLevel": 42, # The nesting level of this paragraph in the list.
+ "listId": "A String", # The ID of the list this paragraph belongs to.
+ "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The paragraph specific text style applied to this bullet.
+ #
+ # If this text is contained in a shape with a parent placeholder, then these text styles may be
+ # inherited from the parent. Which text styles are inherited depend on the
+ # nesting level of lists:
+ #
+ # * A text run in a paragraph that is not in a list will inherit its text style
+ # from the the newline character in the paragraph at the 0 nesting level of
+ # the list inside the parent placeholder.
+ # * A text run in a paragraph that is in a list will inherit its text style
+ # from the newline character in the paragraph at its corresponding nesting
+ # level of the list inside the parent placeholder.
+ #
+ # Inherited text styles are represented as unset fields in this message. If
+ # text is contained in a shape without a parent placeholder, unsetting these
+ # fields will revert the style to a value matching the defaults in the Slides
+ # editor.
+ "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ "baselineOffset": "A String", # The text's vertical offset from its normal position.
+ #
+ # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
+ # rendered in a smaller font size, computed based on the `font_size` field.
+ # The `font_size` itself is not affected by changes in this field.
+ "strikethrough": True or False, # Whether or not the text is struck through.
+ "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").
+ },
+ "smallCaps": True or False, # Whether or not the text is in small capital letters.
+ "fontFamily": "A String", # The font family of the text.
+ #
+ # The font family can be any font from the Font menu in Slides or from
+ # [Google Fonts] (https://fonts.google.com/). If the font name is
+ # unrecognized, the text is rendered in `Arial`.
+ #
+ # Some fonts can affect the weight of the text. If an update request
+ # specifies values for both `font_family` and `bold`, the explicitly-set
+ # `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "italic": True or False, # Whether or not the text is italicized.
+ "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
+ # are not inherited from parent text.
+ #
+ # Changing the link in an update request causes some other changes to the
+ # text style of the range:
+ #
+ # * When setting a link, the text foreground color will be set to
+ # ThemeColorType.HYPERLINK and the text will
+ # be underlined. If these fields are modified in the same
+ # request, those values will be used instead of the link defaults.
+ # * Setting a link on a text range that overlaps with an existing link will
+ # also update the existing link to point to the new URL.
+ # * Links are not settable on newline characters. As a result, setting a link
+ # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
+ # will separate the newline character(s) into their own text runs. The
+ # link will be applied separately to the runs before and after the newline.
+ # * Removing a link will update the text style of the range to match the
+ # style of the preceding text (or the default text styles if the preceding
+ # text is another link) unless different styles are being set in the same
+ # request.
+ "url": "A String", # If set, indicates this is a link to the external web page at this URL.
+ "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
+ # in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
+ "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
+ # addressed by its position.
+ },
+ "underline": True or False, # Whether or not the text is underlined.
+ "bold": True or False, # Whether or not the text is rendered as bold.
+ },
+ "glyph": "A String", # The rendered bullet glyph for this paragraph.
+ },
+ },
+ "textRun": { # A TextElement kind that represents a run of text that all has the same # A TextElement representing a run of text where all of the characters
+ # in the run have the same TextStyle.
+ #
+ # The `start_index` and `end_index` of TextRuns will always be fully
+ # contained in the index range of a single `paragraph_marker` TextElement.
+ # In other words, a TextRun will never span multiple paragraphs.
+ # styling.
+ "content": "A String", # The text of this run.
+ "style": { # Represents the styling that can be applied to a TextRun. # The styling applied to this run.
+ #
+ # If this text is contained in a shape with a parent placeholder, then these text styles may be
+ # inherited from the parent. Which text styles are inherited depend on the
+ # nesting level of lists:
+ #
+ # * A text run in a paragraph that is not in a list will inherit its text style
+ # from the the newline character in the paragraph at the 0 nesting level of
+ # the list inside the parent placeholder.
+ # * A text run in a paragraph that is in a list will inherit its text style
+ # from the newline character in the paragraph at its corresponding nesting
+ # level of the list inside the parent placeholder.
+ #
+ # Inherited text styles are represented as unset fields in this message. If
+ # text is contained in a shape without a parent placeholder, unsetting these
+ # fields will revert the style to a value matching the defaults in the Slides
+ # editor.
+ "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ "baselineOffset": "A String", # The text's vertical offset from its normal position.
+ #
+ # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
+ # rendered in a smaller font size, computed based on the `font_size` field.
+ # The `font_size` itself is not affected by changes in this field.
+ "strikethrough": True or False, # Whether or not the text is struck through.
+ "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").
+ },
+ "smallCaps": True or False, # Whether or not the text is in small capital letters.
+ "fontFamily": "A String", # The font family of the text.
+ #
+ # The font family can be any font from the Font menu in Slides or from
+ # [Google Fonts] (https://fonts.google.com/). If the font name is
+ # unrecognized, the text is rendered in `Arial`.
+ #
+ # Some fonts can affect the weight of the text. If an update request
+ # specifies values for both `font_family` and `bold`, the explicitly-set
+ # `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "italic": True or False, # Whether or not the text is italicized.
+ "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
+ # are not inherited from parent text.
+ #
+ # Changing the link in an update request causes some other changes to the
+ # text style of the range:
+ #
+ # * When setting a link, the text foreground color will be set to
+ # ThemeColorType.HYPERLINK and the text will
+ # be underlined. If these fields are modified in the same
+ # request, those values will be used instead of the link defaults.
+ # * Setting a link on a text range that overlaps with an existing link will
+ # also update the existing link to point to the new URL.
+ # * Links are not settable on newline characters. As a result, setting a link
+ # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
+ # will separate the newline character(s) into their own text runs. The
+ # link will be applied separately to the runs before and after the newline.
+ # * Removing a link will update the text style of the range to match the
+ # style of the preceding text (or the default text styles if the preceding
+ # text is another link) unless different styles are being set in the same
+ # request.
+ "url": "A String", # If set, indicates this is a link to the external web page at this URL.
+ "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
+ # in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
+ "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
+ # addressed by its position.
+ },
+ "underline": True or False, # Whether or not the text is underlined.
+ "bold": True or False, # Whether or not the text is rendered as bold.
+ },
+ },
+ },
+ ],
+ "lists": { # The bulleted lists contained in this text, keyed by list ID.
+ "a_key": { # A List describes the look and feel of bullets belonging to paragraphs
+ # associated with a list. A paragraph that is part of a list has an implicit
+ # reference to that list's ID.
+ "nestingLevel": { # A map of nesting levels to the properties of bullets at the associated
+ # level. A list has at most nine levels of nesting, so the possible values
+ # for the keys of this map are 0 through 8, inclusive.
+ "a_key": { # Contains properties describing the look and feel of a list bullet at a given
+ # level of nesting.
+ "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The style of a bullet at this level of nesting.
+ #
+ # If this text is contained in a shape with a parent placeholder, then these text styles may be
+ # inherited from the parent. Which text styles are inherited depend on the
+ # nesting level of lists:
+ #
+ # * A text run in a paragraph that is not in a list will inherit its text style
+ # from the the newline character in the paragraph at the 0 nesting level of
+ # the list inside the parent placeholder.
+ # * A text run in a paragraph that is in a list will inherit its text style
+ # from the newline character in the paragraph at its corresponding nesting
+ # level of the list inside the parent placeholder.
+ #
+ # Inherited text styles are represented as unset fields in this message. If
+ # text is contained in a shape without a parent placeholder, unsetting these
+ # fields will revert the style to a value matching the defaults in the Slides
+ # editor.
+ "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ "baselineOffset": "A String", # The text's vertical offset from its normal position.
+ #
+ # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
+ # rendered in a smaller font size, computed based on the `font_size` field.
+ # The `font_size` itself is not affected by changes in this field.
+ "strikethrough": True or False, # Whether or not the text is struck through.
+ "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").
+ },
+ "smallCaps": True or False, # Whether or not the text is in small capital letters.
+ "fontFamily": "A String", # The font family of the text.
+ #
+ # The font family can be any font from the Font menu in Slides or from
+ # [Google Fonts] (https://fonts.google.com/). If the font name is
+ # unrecognized, the text is rendered in `Arial`.
+ #
+ # Some fonts can affect the weight of the text. If an update request
+ # specifies values for both `font_family` and `bold`, the explicitly-set
+ # `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "italic": True or False, # Whether or not the text is italicized.
+ "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
+ # are not inherited from parent text.
+ #
+ # Changing the link in an update request causes some other changes to the
+ # text style of the range:
+ #
+ # * When setting a link, the text foreground color will be set to
+ # ThemeColorType.HYPERLINK and the text will
+ # be underlined. If these fields are modified in the same
+ # request, those values will be used instead of the link defaults.
+ # * Setting a link on a text range that overlaps with an existing link will
+ # also update the existing link to point to the new URL.
+ # * Links are not settable on newline characters. As a result, setting a link
+ # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
+ # will separate the newline character(s) into their own text runs. The
+ # link will be applied separately to the runs before and after the newline.
+ # * Removing a link will update the text style of the range to match the
+ # style of the preceding text (or the default text styles if the preceding
+ # text is another link) unless different styles are being set in the same
+ # request.
+ "url": "A String", # If set, indicates this is a link to the external web page at this URL.
+ "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
+ # in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
+ "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
+ # addressed by its position.
+ },
+ "underline": True or False, # Whether or not the text is underlined.
+ "bold": True or False, # Whether or not the text is rendered as bold.
+ },
+ },
+ },
+ "listId": "A String", # The ID of the list.
+ },
+ },
+ },
+ "shapeProperties": { # The properties of a Shape. # The properties of the shape.
+ #
+ # If the shape is a placeholder shape as determined by the
+ # placeholder field, then these
+ # properties may be inherited from a parent placeholder shape.
+ # Determining the rendered value of the property depends on the corresponding
+ # property_state field value.
+ "shadow": { # The shadow properties of a page element. # The shadow properties of the shape. If unset, the shadow is inherited from
+ # a parent placeholder if it exists. If the shape has no parent, then the
+ # default shadow matches the defaults for new shapes created in the Slides
+ # editor. This property is read-only.
+ #
+ # If these fields are unset, they may be inherited from a parent placeholder
+ # if it exists. If there is no parent, the fields will default to the value
+ # used for new page elements created in the Slides editor, which may depend on
+ # the page element kind.
+ "color": { # A themeable solid color value. # The shadow color value.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ "transform": { # AffineTransform uses a 3x3 matrix with an implied last row of [ 0 0 1 ] # Transform that encodes the translate, scale, and skew of the shadow,
+ # relative to the alignment position.
+ # to transform source coordinates (x,y) into destination coordinates (x', y')
+ # according to:
+ #
+ # x' x = shear_y scale_y translate_y
+ # 1 [ 1 ]
+ #
+ # After transformation,
+ #
+ # x' = scale_x * x + shear_x * y + translate_x;
+ # y' = scale_y * y + shear_y * x + translate_y;
+ #
+ # This message is therefore composed of these six matrix elements.
+ "translateX": 3.14, # The X coordinate translation element.
+ "translateY": 3.14, # The Y coordinate translation element.
+ "scaleX": 3.14, # The X coordinate scaling element.
+ "scaleY": 3.14, # The Y coordinate scaling element.
+ "shearY": 3.14, # The Y coordinate shearing element.
+ "shearX": 3.14, # The X coordinate shearing element.
+ "unit": "A String", # The units for translate elements.
+ },
+ "propertyState": "A String", # The shadow property state.
+ #
+ # Updating the shadow on a page element will implicitly update this field to
+ # `RENDERED`, unless another value is specified in the same request. To have
+ # no shadow on a page element, set this field to `NOT_RENDERED`. In this
+ # case, any other shadow fields set in the same request will be ignored.
+ "blurRadius": { # A magnitude in a single direction in the specified units. # The radius of the shadow blur. The larger the radius, the more diffuse the
+ # shadow becomes.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "alpha": 3.14, # The alpha of the shadow's color, from 0.0 to 1.0.
+ "type": "A String", # The type of the shadow. This property is read-only.
+ "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.
+ "rotateWithShape": True or False, # Whether the shadow should rotate with the shape. This property is
+ # read-only.
+ },
+ "shapeBackgroundFill": { # The shape background fill. # The background fill of the shape. If unset, the background fill is
+ # inherited from a parent placeholder if it exists. If the shape has no
+ # parent, then the default background fill depends on the shape type,
+ # matching the defaults for new shapes created in the Slides editor.
+ "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill.
+ # specified color value.
+ #
+ # If any field is unset, its value may be inherited from a parent placeholder
+ # if it exists.
+ "color": { # A themeable solid color value. # The color value of the solid fill.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel.
+ # That is, the final pixel color is defined by the equation:
+ #
+ # pixel color = alpha * (color) + (1.0 - alpha) * (background color)
+ #
+ # This means that a value of 1.0 corresponds to a solid color, whereas
+ # a value of 0.0 corresponds to a completely transparent color.
+ },
+ "propertyState": "A String", # The background fill property state.
+ #
+ # Updating the fill on a shape will implicitly update this field to
+ # `RENDERED`, unless another value is specified in the same request. To
+ # have no fill on a shape, set this field to `NOT_RENDERED`. In this case,
+ # any other fill fields set in the same request will be ignored.
+ },
+ "link": { # A hypertext link. # The hyperlink destination of the shape. If unset, there is no link. Links
+ # are not inherited from parent placeholders.
+ "url": "A String", # If set, indicates this is a link to the external web page at this URL.
+ "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
+ # in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
+ "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
+ # addressed by its position.
+ },
+ "outline": { # The outline of a PageElement. # The outline of the shape. If unset, the outline is inherited from a
+ # parent placeholder if it exists. If the shape has no parent, then the
+ # default outline depends on the shape type, matching the defaults for
+ # new shapes created in the Slides editor.
+ #
+ # If these fields are unset, they may be inherited from a parent placeholder
+ # if it exists. If there is no parent, the fields will default to the value
+ # used for new page elements created in the Slides editor, which may depend on
+ # the page element kind.
+ "outlineFill": { # The fill of the outline. # The fill of the outline.
+ "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill.
+ # specified color value.
+ #
+ # If any field is unset, its value may be inherited from a parent placeholder
+ # if it exists.
+ "color": { # A themeable solid color value. # The color value of the solid fill.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel.
+ # That is, the final pixel color is defined by the equation:
+ #
+ # pixel color = alpha * (color) + (1.0 - alpha) * (background color)
+ #
+ # This means that a value of 1.0 corresponds to a solid color, whereas
+ # a value of 0.0 corresponds to a completely transparent color.
+ },
+ },
+ "propertyState": "A String", # The outline property state.
+ #
+ # Updating the outline on a page element will implicitly update this field
+ # to `RENDERED`, unless another value is specified in the same request. To
+ # have no outline on a page element, set this field to `NOT_RENDERED`. In
+ # this case, any other outline fields set in the same request will be
+ # ignored.
+ "dashStyle": "A String", # The dash style of the outline.
+ "weight": { # A magnitude in a single direction in the specified units. # The thickness of the outline.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ },
+ "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.
+ },
+ "placeholder": { # The placeholder information that uniquely identifies a placeholder shape. # Placeholders are shapes that are inherit from corresponding placeholders on
+ # layouts and masters.
+ #
+ # If set, the shape is a placeholder shape and any inherited properties
+ # can be resolved by looking at the parent placeholder identified by the
+ # Placeholder.parent_object_id field.
+ "parentObjectId": "A String", # The object ID of this shape's parent placeholder.
+ # If unset, the parent placeholder shape does not exist, so the shape does
+ # not inherit properties from any other shape.
+ "index": 42, # The index of the placeholder. If the same placeholder types are present in
+ # the same page, they would have different index values.
+ "type": "A String", # The type of the placeholder.
+ },
+ "shapeType": "A String", # The type of the shape.
+ },
+ "sheetsChart": { # A PageElement kind representing # A linked chart embedded from Google Sheets. Unlinked charts are
+ # represented as images.
+ # a linked chart embedded from Google Sheets.
+ "contentUrl": "A String", # The URL of an image of the embedded chart, with a default lifetime of 30
+ # minutes. This URL is tagged with the account of the requester. Anyone with
+ # the URL effectively accesses the image as the original requester. Access to
+ # the image may be lost if the presentation's sharing settings change.
+ "spreadsheetId": "A String", # The ID of the Google Sheets spreadsheet that contains the source chart.
+ "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
@@ -12909,9 +15409,9 @@
},
"propertyState": "A String", # The outline property state.
#
- # Updating the the outline on a page element will implicitly update this
- # field to`RENDERED`, unless another value is specified in the same request.
- # To have no outline on a page element, set this field to `NOT_RENDERED`. In
+ # 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.
"dashStyle": "A String", # The dash style of the outline.
@@ -12987,14 +15487,14 @@
"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.
"angle": 3.14, # The rotation angle of the crop window around its center, in radians.
# Rotation angle is applied after the offset.
"rightOffset": 3.14, # The offset specifies the right edge of the crop rectangle that is located
# to the left of the original bounding rectangle right edge, relative to the
# object's original width.
- "bottomOffset": 3.14, # The offset specifies the bottom edge of the crop rectangle that is located
- # above the original bounding rectangle bottom edge, relative to the object's
- # original height.
"topOffset": 3.14, # The offset specifies the top edge of the crop rectangle that is located
# below the original bounding rectangle top edge, relative to the object's
# original height.
@@ -13038,9 +15538,9 @@
},
"propertyState": "A String", # The shadow property state.
#
- # Updating the the shadow on a page element will implicitly update this field
- # to `RENDERED`, unless another value is specified in the same request. To
- # have no shadow on a page element, set this field to `NOT_RENDERED`. In this
+ # 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.
"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.
@@ -13048,218 +15548,107 @@
"unit": "A String", # The units for magnitude.
},
"alpha": 3.14, # The alpha of the shadow's color, from 0.0 to 1.0.
- "type": "A String", # The type of the shadow.
+ "type": "A String", # The type of the shadow. This property is read-only.
"alignment": "A String", # The alignment point of the shadow, that sets the origin for translate,
- # scale and skew of the shadow.
- "rotateWithShape": True or False, # Whether the shadow should rotate with the shape.
+ # scale and skew of the shadow. This property is read-only.
+ "rotateWithShape": True or False, # Whether the shadow should rotate with the shape. 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.
},
},
- "transform": { # AffineTransform uses a 3x3 matrix with an implied last row of [ 0 0 1 ] # The transform of the page element.
- # to transform source coordinates (x,y) into destination coordinates (x', y')
- # according to:
- #
- # x' x = shear_y scale_y translate_y
- # 1 [ 1 ]
- #
- # After transformation,
- #
- # x' = scale_x * x + shear_x * y + translate_x;
- # y' = scale_y * y + shear_y * x + translate_y;
- #
- # This message is therefore composed of these six matrix elements.
- "translateX": 3.14, # The X coordinate translation element.
- "translateY": 3.14, # The Y coordinate translation element.
- "scaleX": 3.14, # The X coordinate scaling element.
- "scaleY": 3.14, # The Y coordinate scaling element.
- "shearY": 3.14, # The Y coordinate shearing element.
- "shearX": 3.14, # The X coordinate shearing element.
- "unit": "A String", # The units for translate elements.
- },
- "shape": { # A PageElement kind representing a # A generic shape.
- # generic shape that does not have a more specific classification.
- "text": { # The general text content. The text must reside in a compatible shape (e.g. # The text content of the shape.
- # text box or rectangle) or a table cell in a page.
- "lists": { # The bulleted lists contained in this text, keyed by list ID.
- "a_key": { # A List describes the look and feel of bullets belonging to paragraphs
- # associated with a list. A paragraph that is part of a list has an implicit
- # reference to that list's ID.
- "nestingLevel": { # A map of nesting levels to the properties of bullets at the associated
- # level. A list has at most nine levels of nesting, so the possible values
- # for the keys of this map are 0 through 8, inclusive.
- "a_key": { # Contains properties describing the look and feel of a list bullet at a given
- # level of nesting.
- "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The style of a bullet at this level of nesting.
- #
- # If this text is contained in a shape with a parent placeholder, then these text styles may be
- # inherited from the parent. Which text styles are inherited depend on the
- # nesting level of lists:
- #
- # * A text run in a paragraph that is not in a list will inherit its text style
- # from the the newline character in the paragraph at the 0 nesting level of
- # the list inside the parent placeholder.
- # * A text run in a paragraph that is in a list will inherit its text style
- # from the newline character in the paragraph at its corresponding nesting
- # level of the list inside the parent placeholder.
- #
- # Inherited text styles are represented as unset fields in this message. If
- # text is contained in a shape without a parent placeholder, unsetting these
- # fields will revert the style to a value matching the defaults in the Slides
- # editor.
- "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- "bold": True or False, # Whether or not the text is rendered as bold.
- "baselineOffset": "A String", # The text's vertical offset from its normal position.
- #
- # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
- # rendered in a smaller font size, computed based on the `font_size` field.
- # The `font_size` itself is not affected by changes in this field.
- "strikethrough": True or False, # Whether or not the text is struck through.
- "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").
- },
- "smallCaps": True or False, # Whether or not the text is in small capital letters.
- "fontFamily": "A String", # The font family of the text.
- #
- # The font family can be any font from the Font menu in Slides or from
- # [Google Fonts] (https://fonts.google.com/). If the font name is
- # unrecognized, the text is rendered in `Arial`.
- #
- # Some fonts can affect the weight of the text. If an update request
- # specifies values for both `font_family` and `bold`, the explicitly-set
- # `bold` value is used.
- "italic": True or False, # Whether or not the text is italicized.
- "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
- # are not inherited from parent text.
- #
- # Changing the link in an update request causes some other changes to the
- # text style of the range:
- #
- # * When setting a link, the text foreground color will be set to
- # ThemeColorType.HYPERLINK and the text will
- # be underlined. If these fields are modified in the same
- # request, those values will be used instead of the link defaults.
- # * Setting a link on a text range that overlaps with an existing link will
- # also update the existing link to point to the new URL.
- # * Links are not settable on newline characters. As a result, setting a link
- # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
- # will separate the newline character(s) into their own text runs. The
- # link will be applied separately to the runs before and after the newline.
- # * Removing a link will update the text style of the range to match the
- # style of the preceding text (or the default text styles if the preceding
- # text is another link) unless different styles are being set in the same
- # request.
- "url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
- # in the presentation. There may not be a slide at this index.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
- "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
- # addressed by its position.
- },
- "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
- "underline": True or False, # Whether or not the text is underlined.
- },
+ "chartId": 42, # The ID of the specific chart in the Google Sheets spreadsheet that is
+ # embedded.
+ },
+ "video": { # A PageElement kind representing a # A video page element.
+ # video.
+ "url": "A String", # An URL to a video. The URL is valid as long as the source video exists and
+ # sharing settings do not change.
+ "videoProperties": { # The properties of the Video. # The properties of the video.
+ "start": 42, # The time at which to start playback, measured in seconds from the beginning
+ # of the video.
+ # If set, the start time should be before the end time.
+ # If you set this to a value that exceeds the video's length in seconds, the
+ # video will be played from the last second.
+ # If not set, the video will be played from the beginning.
+ "autoPlay": True or False, # Whether to enable video autoplay when the page is displayed in present
+ # mode. Defaults to false.
+ "end": 42, # The time at which to end playback, measured in seconds from the beginning
+ # of the video.
+ # If set, the end time should be after the start time.
+ # If not set or if you set this to a value that exceeds the video's length,
+ # the video will be played until its end.
+ "outline": { # The outline of a PageElement. # The outline of the video. The default outline matches the defaults for new
+ # videos created in the Slides editor.
+ #
+ # If these fields are unset, they may be inherited from a parent placeholder
+ # if it exists. If there is no parent, the fields will default to the value
+ # used for new page elements created in the Slides editor, which may depend on
+ # the page element kind.
+ "outlineFill": { # The fill of the outline. # The fill of the outline.
+ "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill.
+ # specified color value.
+ #
+ # If any field is unset, its value may be inherited from a parent placeholder
+ # if it exists.
+ "color": { # A themeable solid color value. # The color value of the solid fill.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
},
},
- "listId": "A String", # The ID of the list.
+ "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.
},
},
- "textElements": [ # The text contents broken down into its component parts, including styling
- # information. This property is read-only.
- { # A TextElement describes the content of a range of indices in the text content
- # of a Shape or TableCell.
- "autoText": { # A TextElement kind that represents auto text. # A TextElement representing a spot in the text that is dynamically
- # replaced with content that can change over time.
- "content": "A String", # The rendered content of this auto text, if available.
- "style": { # Represents the styling that can be applied to a TextRun. # The styling applied to this auto text.
- #
- # If this text is contained in a shape with a parent placeholder, then these text styles may be
- # inherited from the parent. Which text styles are inherited depend on the
- # nesting level of lists:
- #
- # * A text run in a paragraph that is not in a list will inherit its text style
- # from the the newline character in the paragraph at the 0 nesting level of
- # the list inside the parent placeholder.
- # * A text run in a paragraph that is in a list will inherit its text style
- # from the newline character in the paragraph at its corresponding nesting
- # level of the list inside the parent placeholder.
- #
- # Inherited text styles are represented as unset fields in this message. If
- # text is contained in a shape without a parent placeholder, unsetting these
- # fields will revert the style to a value matching the defaults in the Slides
- # editor.
- "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
+ "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.
+ "dashStyle": "A String", # The dash style of the outline.
+ "weight": { # A magnitude in a single direction in the specified units. # The thickness of the outline.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ },
+ "mute": True or False, # Whether to mute the audio during video playback. Defaults to false.
+ },
+ "id": "A String", # The video source's unique identifier for this video.
+ "source": "A String", # The video source.
+ },
+ "table": { # A PageElement kind representing a # A table page element.
+ # table.
+ "rows": 42, # Number of rows in the table.
+ "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.
+ "tableBorderProperties": { # The border styling properties of the # The border properties.
+ # TableBorderCell.
+ "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.
"blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
@@ -13267,482 +15656,840 @@
"red": 3.14, # The red component of the color, from 0.0 to 1.0.
},
},
- },
- "bold": True or False, # Whether or not the text is rendered as bold.
- "baselineOffset": "A String", # The text's vertical offset from its normal position.
- #
- # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
- # rendered in a smaller font size, computed based on the `font_size` field.
- # The `font_size` itself is not affected by changes in this field.
- "strikethrough": True or False, # Whether or not the text is struck through.
- "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.
+ "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:
#
- # 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").
+ # 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.
},
- "smallCaps": True or False, # Whether or not the text is in small capital letters.
- "fontFamily": "A String", # The font family of the text.
- #
- # The font family can be any font from the Font menu in Slides or from
- # [Google Fonts] (https://fonts.google.com/). If the font name is
- # unrecognized, the text is rendered in `Arial`.
- #
- # Some fonts can affect the weight of the text. If an update request
- # specifies values for both `font_family` and `bold`, the explicitly-set
- # `bold` value is used.
- "italic": True or False, # Whether or not the text is italicized.
- "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
- # are not inherited from parent text.
- #
- # Changing the link in an update request causes some other changes to the
- # text style of the range:
- #
- # * When setting a link, the text foreground color will be set to
- # ThemeColorType.HYPERLINK and the text will
- # be underlined. If these fields are modified in the same
- # request, those values will be used instead of the link defaults.
- # * Setting a link on a text range that overlaps with an existing link will
- # also update the existing link to point to the new URL.
- # * Links are not settable on newline characters. As a result, setting a link
- # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
- # will separate the newline character(s) into their own text runs. The
- # link will be applied separately to the runs before and after the newline.
- # * Removing a link will update the text style of the range to match the
- # style of the preceding text (or the default text styles if the preceding
- # text is another link) unless different styles are being set in the same
- # request.
- "url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
- # in the presentation. There may not be a slide at this index.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
- "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
- # addressed by its position.
- },
- "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
- "underline": True or False, # Whether or not the text is underlined.
},
- "type": "A String", # The type of this auto text.
- },
- "endIndex": 42, # The zero-based end index of this text element, exclusive, in Unicode code
- # units.
- "startIndex": 42, # The zero-based start index of this text element, in Unicode code units.
- "paragraphMarker": { # A TextElement kind that represents the beginning of a new paragraph. # A marker representing the beginning of a new paragraph.
- #
- # The `start_index` and `end_index` of this TextElement represent the
- # range of the paragraph. Other TextElements with an index range contained
- # inside this paragraph's range are considered to be part of this
- # paragraph. The range of indices of two separate paragraphs will never
- # overlap.
- "style": { # Styles that apply to a whole paragraph. # The paragraph's style
- #
- # If this text is contained in a shape with a parent placeholder, then these paragraph styles may be
- # inherited from the parent. Which paragraph styles are inherited depend on the
- # nesting level of lists:
- #
- # * A paragraph not in a list will inherit its paragraph style from the
- # paragraph at the 0 nesting level of the list inside the parent placeholder.
- # * A paragraph in a list will inherit its paragraph style from the paragraph
- # at its corresponding nesting level of the list inside the parent
- # placeholder.
- #
- # Inherited paragraph styles are represented as unset fields in this message.
- "spacingMode": "A String", # The spacing mode for the paragraph.
- "direction": "A String", # The text direction of this paragraph. If unset, the value defaults to
- # LEFT_TO_RIGHT since
- # text direction is not inherited.
- "spaceBelow": { # A magnitude in a single direction in the specified units. # The amount of extra space above the paragraph. If unset, the value is
- # inherited from the parent.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
- "lineSpacing": 3.14, # The amount of space between lines, as a percentage of normal, where normal
- # is represented as 100.0. If unset, the value is inherited from the parent.
- "indentStart": { # A magnitude in a single direction in the specified units. # The amount indentation for the paragraph on the side that corresponds to
- # the start of the text, based on the current text direction. If unset, the
- # value is inherited from the parent.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
- "spaceAbove": { # A magnitude in a single direction in the specified units. # The amount of extra space above the paragraph. If unset, the value is
- # inherited from the parent.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
- "indentEnd": { # A magnitude in a single direction in the specified units. # The amount indentation for the paragraph on the side that corresponds to
- # the end of the text, based on the current text direction. If unset, the
- # value is inherited from the parent.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
- "indentFirstLine": { # A magnitude in a single direction in the specified units. # The amount of indentation for the start of the first line of the paragraph.
- # If unset, the value is inherited from the parent.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
- "alignment": "A String", # The text alignment for this paragraph.
- },
- "bullet": { # Describes the bullet of a paragraph. # The bullet for this paragraph. If not present, the paragraph does not
- # belong to a list.
- "nestingLevel": 42, # The nesting level of this paragraph in the list.
- "listId": "A String", # The ID of the list this paragraph belongs to.
- "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The paragraph specific text style applied to this bullet.
- #
- # If this text is contained in a shape with a parent placeholder, then these text styles may be
- # inherited from the parent. Which text styles are inherited depend on the
- # nesting level of lists:
- #
- # * A text run in a paragraph that is not in a list will inherit its text style
- # from the the newline character in the paragraph at the 0 nesting level of
- # the list inside the parent placeholder.
- # * A text run in a paragraph that is in a list will inherit its text style
- # from the newline character in the paragraph at its corresponding nesting
- # level of the list inside the parent placeholder.
- #
- # Inherited text styles are represented as unset fields in this message. If
- # text is contained in a shape without a parent placeholder, unsetting these
- # fields will revert the style to a value matching the defaults in the Slides
- # editor.
- "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- "bold": True or False, # Whether or not the text is rendered as bold.
- "baselineOffset": "A String", # The text's vertical offset from its normal position.
- #
- # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
- # rendered in a smaller font size, computed based on the `font_size` field.
- # The `font_size` itself is not affected by changes in this field.
- "strikethrough": True or False, # Whether or not the text is struck through.
- "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").
- },
- "smallCaps": True or False, # Whether or not the text is in small capital letters.
- "fontFamily": "A String", # The font family of the text.
- #
- # The font family can be any font from the Font menu in Slides or from
- # [Google Fonts] (https://fonts.google.com/). If the font name is
- # unrecognized, the text is rendered in `Arial`.
- #
- # Some fonts can affect the weight of the text. If an update request
- # specifies values for both `font_family` and `bold`, the explicitly-set
- # `bold` value is used.
- "italic": True or False, # Whether or not the text is italicized.
- "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
- # are not inherited from parent text.
- #
- # Changing the link in an update request causes some other changes to the
- # text style of the range:
- #
- # * When setting a link, the text foreground color will be set to
- # ThemeColorType.HYPERLINK and the text will
- # be underlined. If these fields are modified in the same
- # request, those values will be used instead of the link defaults.
- # * Setting a link on a text range that overlaps with an existing link will
- # also update the existing link to point to the new URL.
- # * Links are not settable on newline characters. As a result, setting a link
- # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
- # will separate the newline character(s) into their own text runs. The
- # link will be applied separately to the runs before and after the newline.
- # * Removing a link will update the text style of the range to match the
- # style of the preceding text (or the default text styles if the preceding
- # text is another link) unless different styles are being set in the same
- # request.
- "url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
- # in the presentation. There may not be a slide at this index.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
- "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
- # addressed by its position.
- },
- "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
- "underline": True or False, # Whether or not the text is underlined.
- },
- "glyph": "A String", # The rendered bullet glyph for this paragraph.
+ "dashStyle": "A String", # The dash style of the border.
+ "weight": { # A magnitude in a single direction in the specified units. # The thickness of the border.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
},
},
- "textRun": { # A TextElement kind that represents a run of text that all has the same # A TextElement representing a run of text where all of the characters
- # in the run have the same TextStyle.
- #
- # The `start_index` and `end_index` of TextRuns will always be fully
- # contained in the index range of a single `paragraph_marker` TextElement.
- # In other words, a TextRun will never span multiple paragraphs.
- # styling.
- "content": "A String", # The text of this run.
- "style": { # Represents the styling that can be applied to a TextRun. # The styling applied to this run.
- #
- # If this text is contained in a shape with a parent placeholder, then these text styles may be
- # inherited from the parent. Which text styles are inherited depend on the
- # nesting level of lists:
- #
- # * A text run in a paragraph that is not in a list will inherit its text style
- # from the the newline character in the paragraph at the 0 nesting level of
- # the list inside the parent placeholder.
- # * A text run in a paragraph that is in a list will inherit its text style
- # from the newline character in the paragraph at its corresponding nesting
- # level of the list inside the parent placeholder.
- #
- # Inherited text styles are represented as unset fields in this message. If
- # text is contained in a shape without a parent placeholder, unsetting these
- # fields will revert the style to a value matching the defaults in the Slides
- # editor.
- "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- "bold": True or False, # Whether or not the text is rendered as bold.
- "baselineOffset": "A String", # The text's vertical offset from its normal position.
- #
- # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
- # rendered in a smaller font size, computed based on the `font_size` field.
- # The `font_size` itself is not affected by changes in this field.
- "strikethrough": True or False, # Whether or not the text is struck through.
- "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").
- },
- "smallCaps": True or False, # Whether or not the text is in small capital letters.
- "fontFamily": "A String", # The font family of the text.
- #
- # The font family can be any font from the Font menu in Slides or from
- # [Google Fonts] (https://fonts.google.com/). If the font name is
- # unrecognized, the text is rendered in `Arial`.
- #
- # Some fonts can affect the weight of the text. If an update request
- # specifies values for both `font_family` and `bold`, the explicitly-set
- # `bold` value is used.
- "italic": True or False, # Whether or not the text is italicized.
- "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
- # are not inherited from parent text.
- #
- # Changing the link in an update request causes some other changes to the
- # text style of the range:
- #
- # * When setting a link, the text foreground color will be set to
- # ThemeColorType.HYPERLINK and the text will
- # be underlined. If these fields are modified in the same
- # request, those values will be used instead of the link defaults.
- # * Setting a link on a text range that overlaps with an existing link will
- # also update the existing link to point to the new URL.
- # * Links are not settable on newline characters. As a result, setting a link
- # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
- # will separate the newline character(s) into their own text runs. The
- # link will be applied separately to the runs before and after the newline.
- # * Removing a link will update the text style of the range to match the
- # style of the preceding text (or the default text styles if the preceding
- # text is another link) unless different styles are being set in the same
- # request.
- "url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
- # in the presentation. There may not be a slide at this index.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
- "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
- # addressed by its position.
- },
- "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
- "underline": True or False, # Whether or not the text is underlined.
- },
+ "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.
},
},
],
},
- "shapeProperties": { # The properties of a Shape. # The properties of the shape.
- #
- # If the shape is a placeholder shape as determined by the
- # placeholder field, then these
- # properties may be inherited from a parent placeholder shape.
- # Determining the rendered value of the property depends on the corresponding
- # property_state field value.
- "shadow": { # The shadow properties of a page element. # The shadow properties of the shape. If unset, the shadow is inherited from
- # a parent placeholder if it exists. If the shape has no parent, then the
- # default shadow matches the defaults for new shapes created in the Slides
- # editor. This property is read-only.
+ ],
+ "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.
+ "tableBorderProperties": { # The border styling properties of the # The border properties.
+ # TableBorderCell.
+ "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.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel.
+ # That is, the final pixel color is defined by the equation:
+ #
+ # pixel color = alpha * (color) + (1.0 - alpha) * (background color)
+ #
+ # This means that a value of 1.0 corresponds to a solid color, whereas
+ # a value of 0.0 corresponds to a completely transparent color.
+ },
+ },
+ "dashStyle": "A String", # The dash style of the border.
+ "weight": { # A magnitude in a single direction in the specified units. # The thickness of the border.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ },
+ "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.
+ },
+ },
+ ],
+ },
+ ],
+ "tableColumns": [ # Properties of each column.
+ { # Properties of each column in a table.
+ "columnWidth": { # A magnitude in a single direction in the specified units. # Width of a column.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ },
+ ],
+ "tableRows": [ # Properties and contents of each row.
+ #
+ # Cells that span multiple rows are contained in only one of these rows and
+ # have a row_span greater
+ # than 1.
+ { # Properties and contents of each row in a table.
+ "tableCells": [ # Properties and contents of each cell.
#
- # 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.
+ # Cells that span multiple columns are represented only once with a
+ # column_span greater
+ # than 1. As a result, the length of this collection does not always match
+ # the number of columns of the entire table.
+ { # Properties and contents of each table cell.
+ "text": { # The general text content. The text must reside in a compatible shape (e.g. # The text content of the cell.
+ # text box or rectangle) or a table cell in a page.
+ "textElements": [ # The text contents broken down into its component parts, including styling
+ # information. This property is read-only.
+ { # A TextElement describes the content of a range of indices in the text content
+ # of a Shape or TableCell.
+ "autoText": { # A TextElement kind that represents auto text. # A TextElement representing a spot in the text that is dynamically
+ # replaced with content that can change over time.
+ "content": "A String", # The rendered content of this auto text, if available.
+ "style": { # Represents the styling that can be applied to a TextRun. # The styling applied to this auto text.
+ #
+ # If this text is contained in a shape with a parent placeholder, then these text styles may be
+ # inherited from the parent. Which text styles are inherited depend on the
+ # nesting level of lists:
+ #
+ # * A text run in a paragraph that is not in a list will inherit its text style
+ # from the the newline character in the paragraph at the 0 nesting level of
+ # the list inside the parent placeholder.
+ # * A text run in a paragraph that is in a list will inherit its text style
+ # from the newline character in the paragraph at its corresponding nesting
+ # level of the list inside the parent placeholder.
+ #
+ # Inherited text styles are represented as unset fields in this message. If
+ # text is contained in a shape without a parent placeholder, unsetting these
+ # fields will revert the style to a value matching the defaults in the Slides
+ # editor.
+ "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ "baselineOffset": "A String", # The text's vertical offset from its normal position.
+ #
+ # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
+ # rendered in a smaller font size, computed based on the `font_size` field.
+ # The `font_size` itself is not affected by changes in this field.
+ "strikethrough": True or False, # Whether or not the text is struck through.
+ "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").
+ },
+ "smallCaps": True or False, # Whether or not the text is in small capital letters.
+ "fontFamily": "A String", # The font family of the text.
+ #
+ # The font family can be any font from the Font menu in Slides or from
+ # [Google Fonts] (https://fonts.google.com/). If the font name is
+ # unrecognized, the text is rendered in `Arial`.
+ #
+ # Some fonts can affect the weight of the text. If an update request
+ # specifies values for both `font_family` and `bold`, the explicitly-set
+ # `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "italic": True or False, # Whether or not the text is italicized.
+ "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
+ # are not inherited from parent text.
+ #
+ # Changing the link in an update request causes some other changes to the
+ # text style of the range:
+ #
+ # * When setting a link, the text foreground color will be set to
+ # ThemeColorType.HYPERLINK and the text will
+ # be underlined. If these fields are modified in the same
+ # request, those values will be used instead of the link defaults.
+ # * Setting a link on a text range that overlaps with an existing link will
+ # also update the existing link to point to the new URL.
+ # * Links are not settable on newline characters. As a result, setting a link
+ # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
+ # will separate the newline character(s) into their own text runs. The
+ # link will be applied separately to the runs before and after the newline.
+ # * Removing a link will update the text style of the range to match the
+ # style of the preceding text (or the default text styles if the preceding
+ # text is another link) unless different styles are being set in the same
+ # request.
+ "url": "A String", # If set, indicates this is a link to the external web page at this URL.
+ "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
+ # in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
+ "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
+ # addressed by its position.
+ },
+ "underline": True or False, # Whether or not the text is underlined.
+ "bold": True or False, # Whether or not the text is rendered as bold.
+ },
+ "type": "A String", # The type of this auto text.
+ },
+ "endIndex": 42, # The zero-based end index of this text element, exclusive, in Unicode code
+ # units.
+ "startIndex": 42, # The zero-based start index of this text element, in Unicode code units.
+ "paragraphMarker": { # A TextElement kind that represents the beginning of a new paragraph. # A marker representing the beginning of a new paragraph.
+ #
+ # The `start_index` and `end_index` of this TextElement represent the
+ # range of the paragraph. Other TextElements with an index range contained
+ # inside this paragraph's range are considered to be part of this
+ # paragraph. The range of indices of two separate paragraphs will never
+ # overlap.
+ "style": { # Styles that apply to a whole paragraph. # The paragraph's style
+ #
+ # If this text is contained in a shape with a parent placeholder, then these paragraph styles may be
+ # inherited from the parent. Which paragraph styles are inherited depend on the
+ # nesting level of lists:
+ #
+ # * A paragraph not in a list will inherit its paragraph style from the
+ # paragraph at the 0 nesting level of the list inside the parent placeholder.
+ # * A paragraph in a list will inherit its paragraph style from the paragraph
+ # at its corresponding nesting level of the list inside the parent
+ # placeholder.
+ #
+ # Inherited paragraph styles are represented as unset fields in this message.
+ "spacingMode": "A String", # The spacing mode for the paragraph.
+ "direction": "A String", # The text direction of this paragraph. If unset, the value defaults to
+ # LEFT_TO_RIGHT since
+ # text direction is not inherited.
+ "spaceBelow": { # A magnitude in a single direction in the specified units. # The amount of extra space below the paragraph. If unset, the value is
+ # inherited from the parent.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "lineSpacing": 3.14, # The amount of space between lines, as a percentage of normal, where normal
+ # is represented as 100.0. If unset, the value is inherited from the parent.
+ "indentStart": { # A magnitude in a single direction in the specified units. # The amount indentation for the paragraph on the side that corresponds to
+ # the start of the text, based on the current text direction. If unset, the
+ # value is inherited from the parent.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "spaceAbove": { # A magnitude in a single direction in the specified units. # The amount of extra space above the paragraph. If unset, the value is
+ # inherited from the parent.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "indentEnd": { # A magnitude in a single direction in the specified units. # The amount indentation for the paragraph on the side that corresponds to
+ # the end of the text, based on the current text direction. If unset, the
+ # value is inherited from the parent.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "indentFirstLine": { # A magnitude in a single direction in the specified units. # The amount of indentation for the start of the first line of the paragraph.
+ # If unset, the value is inherited from the parent.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "alignment": "A String", # The text alignment for this paragraph.
+ },
+ "bullet": { # Describes the bullet of a paragraph. # The bullet for this paragraph. If not present, the paragraph does not
+ # belong to a list.
+ "nestingLevel": 42, # The nesting level of this paragraph in the list.
+ "listId": "A String", # The ID of the list this paragraph belongs to.
+ "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The paragraph specific text style applied to this bullet.
+ #
+ # If this text is contained in a shape with a parent placeholder, then these text styles may be
+ # inherited from the parent. Which text styles are inherited depend on the
+ # nesting level of lists:
+ #
+ # * A text run in a paragraph that is not in a list will inherit its text style
+ # from the the newline character in the paragraph at the 0 nesting level of
+ # the list inside the parent placeholder.
+ # * A text run in a paragraph that is in a list will inherit its text style
+ # from the newline character in the paragraph at its corresponding nesting
+ # level of the list inside the parent placeholder.
+ #
+ # Inherited text styles are represented as unset fields in this message. If
+ # text is contained in a shape without a parent placeholder, unsetting these
+ # fields will revert the style to a value matching the defaults in the Slides
+ # editor.
+ "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ "baselineOffset": "A String", # The text's vertical offset from its normal position.
+ #
+ # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
+ # rendered in a smaller font size, computed based on the `font_size` field.
+ # The `font_size` itself is not affected by changes in this field.
+ "strikethrough": True or False, # Whether or not the text is struck through.
+ "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").
+ },
+ "smallCaps": True or False, # Whether or not the text is in small capital letters.
+ "fontFamily": "A String", # The font family of the text.
+ #
+ # The font family can be any font from the Font menu in Slides or from
+ # [Google Fonts] (https://fonts.google.com/). If the font name is
+ # unrecognized, the text is rendered in `Arial`.
+ #
+ # Some fonts can affect the weight of the text. If an update request
+ # specifies values for both `font_family` and `bold`, the explicitly-set
+ # `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "italic": True or False, # Whether or not the text is italicized.
+ "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
+ # are not inherited from parent text.
+ #
+ # Changing the link in an update request causes some other changes to the
+ # text style of the range:
+ #
+ # * When setting a link, the text foreground color will be set to
+ # ThemeColorType.HYPERLINK and the text will
+ # be underlined. If these fields are modified in the same
+ # request, those values will be used instead of the link defaults.
+ # * Setting a link on a text range that overlaps with an existing link will
+ # also update the existing link to point to the new URL.
+ # * Links are not settable on newline characters. As a result, setting a link
+ # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
+ # will separate the newline character(s) into their own text runs. The
+ # link will be applied separately to the runs before and after the newline.
+ # * Removing a link will update the text style of the range to match the
+ # style of the preceding text (or the default text styles if the preceding
+ # text is another link) unless different styles are being set in the same
+ # request.
+ "url": "A String", # If set, indicates this is a link to the external web page at this URL.
+ "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
+ # in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
+ "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
+ # addressed by its position.
+ },
+ "underline": True or False, # Whether or not the text is underlined.
+ "bold": True or False, # Whether or not the text is rendered as bold.
+ },
+ "glyph": "A String", # The rendered bullet glyph for this paragraph.
+ },
+ },
+ "textRun": { # A TextElement kind that represents a run of text that all has the same # A TextElement representing a run of text where all of the characters
+ # in the run have the same TextStyle.
+ #
+ # The `start_index` and `end_index` of TextRuns will always be fully
+ # contained in the index range of a single `paragraph_marker` TextElement.
+ # In other words, a TextRun will never span multiple paragraphs.
+ # styling.
+ "content": "A String", # The text of this run.
+ "style": { # Represents the styling that can be applied to a TextRun. # The styling applied to this run.
+ #
+ # If this text is contained in a shape with a parent placeholder, then these text styles may be
+ # inherited from the parent. Which text styles are inherited depend on the
+ # nesting level of lists:
+ #
+ # * A text run in a paragraph that is not in a list will inherit its text style
+ # from the the newline character in the paragraph at the 0 nesting level of
+ # the list inside the parent placeholder.
+ # * A text run in a paragraph that is in a list will inherit its text style
+ # from the newline character in the paragraph at its corresponding nesting
+ # level of the list inside the parent placeholder.
+ #
+ # Inherited text styles are represented as unset fields in this message. If
+ # text is contained in a shape without a parent placeholder, unsetting these
+ # fields will revert the style to a value matching the defaults in the Slides
+ # editor.
+ "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ "baselineOffset": "A String", # The text's vertical offset from its normal position.
+ #
+ # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
+ # rendered in a smaller font size, computed based on the `font_size` field.
+ # The `font_size` itself is not affected by changes in this field.
+ "strikethrough": True or False, # Whether or not the text is struck through.
+ "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").
+ },
+ "smallCaps": True or False, # Whether or not the text is in small capital letters.
+ "fontFamily": "A String", # The font family of the text.
+ #
+ # The font family can be any font from the Font menu in Slides or from
+ # [Google Fonts] (https://fonts.google.com/). If the font name is
+ # unrecognized, the text is rendered in `Arial`.
+ #
+ # Some fonts can affect the weight of the text. If an update request
+ # specifies values for both `font_family` and `bold`, the explicitly-set
+ # `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "italic": True or False, # Whether or not the text is italicized.
+ "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
+ # are not inherited from parent text.
+ #
+ # Changing the link in an update request causes some other changes to the
+ # text style of the range:
+ #
+ # * When setting a link, the text foreground color will be set to
+ # ThemeColorType.HYPERLINK and the text will
+ # be underlined. If these fields are modified in the same
+ # request, those values will be used instead of the link defaults.
+ # * Setting a link on a text range that overlaps with an existing link will
+ # also update the existing link to point to the new URL.
+ # * Links are not settable on newline characters. As a result, setting a link
+ # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
+ # will separate the newline character(s) into their own text runs. The
+ # link will be applied separately to the runs before and after the newline.
+ # * Removing a link will update the text style of the range to match the
+ # style of the preceding text (or the default text styles if the preceding
+ # text is another link) unless different styles are being set in the same
+ # request.
+ "url": "A String", # If set, indicates this is a link to the external web page at this URL.
+ "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
+ # in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
+ "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
+ # addressed by its position.
+ },
+ "underline": True or False, # Whether or not the text is underlined.
+ "bold": True or False, # Whether or not the text is rendered as bold.
+ },
+ },
+ },
+ ],
+ "lists": { # The bulleted lists contained in this text, keyed by list ID.
+ "a_key": { # A List describes the look and feel of bullets belonging to paragraphs
+ # associated with a list. A paragraph that is part of a list has an implicit
+ # reference to that list's ID.
+ "nestingLevel": { # A map of nesting levels to the properties of bullets at the associated
+ # level. A list has at most nine levels of nesting, so the possible values
+ # for the keys of this map are 0 through 8, inclusive.
+ "a_key": { # Contains properties describing the look and feel of a list bullet at a given
+ # level of nesting.
+ "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The style of a bullet at this level of nesting.
+ #
+ # If this text is contained in a shape with a parent placeholder, then these text styles may be
+ # inherited from the parent. Which text styles are inherited depend on the
+ # nesting level of lists:
+ #
+ # * A text run in a paragraph that is not in a list will inherit its text style
+ # from the the newline character in the paragraph at the 0 nesting level of
+ # the list inside the parent placeholder.
+ # * A text run in a paragraph that is in a list will inherit its text style
+ # from the newline character in the paragraph at its corresponding nesting
+ # level of the list inside the parent placeholder.
+ #
+ # Inherited text styles are represented as unset fields in this message. If
+ # text is contained in a shape without a parent placeholder, unsetting these
+ # fields will revert the style to a value matching the defaults in the Slides
+ # editor.
+ "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ "baselineOffset": "A String", # The text's vertical offset from its normal position.
+ #
+ # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
+ # rendered in a smaller font size, computed based on the `font_size` field.
+ # The `font_size` itself is not affected by changes in this field.
+ "strikethrough": True or False, # Whether or not the text is struck through.
+ "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").
+ },
+ "smallCaps": True or False, # Whether or not the text is in small capital letters.
+ "fontFamily": "A String", # The font family of the text.
+ #
+ # The font family can be any font from the Font menu in Slides or from
+ # [Google Fonts] (https://fonts.google.com/). If the font name is
+ # unrecognized, the text is rendered in `Arial`.
+ #
+ # Some fonts can affect the weight of the text. If an update request
+ # specifies values for both `font_family` and `bold`, the explicitly-set
+ # `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "italic": True or False, # Whether or not the text is italicized.
+ "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
+ # are not inherited from parent text.
+ #
+ # Changing the link in an update request causes some other changes to the
+ # text style of the range:
+ #
+ # * When setting a link, the text foreground color will be set to
+ # ThemeColorType.HYPERLINK and the text will
+ # be underlined. If these fields are modified in the same
+ # request, those values will be used instead of the link defaults.
+ # * Setting a link on a text range that overlaps with an existing link will
+ # also update the existing link to point to the new URL.
+ # * Links are not settable on newline characters. As a result, setting a link
+ # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
+ # will separate the newline character(s) into their own text runs. The
+ # link will be applied separately to the runs before and after the newline.
+ # * Removing a link will update the text style of the range to match the
+ # style of the preceding text (or the default text styles if the preceding
+ # text is another link) unless different styles are being set in the same
+ # request.
+ "url": "A String", # If set, indicates this is a link to the external web page at this URL.
+ "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
+ # in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
+ "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
+ # addressed by its position.
+ },
+ "underline": True or False, # Whether or not the text is underlined.
+ "bold": True or False, # Whether or not the text is rendered as bold.
+ },
+ },
+ },
+ "listId": "A String", # The ID of the list.
+ },
+ },
+ },
+ "tableCellProperties": { # The properties of the TableCell. # The properties of the table cell.
+ "tableCellBackgroundFill": { # The table cell background fill. # The background fill of the table cell. The default fill matches the fill
+ # for newly created table cells in the Slides editor.
+ "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill.
+ # specified color value.
+ #
+ # If any field is unset, its value may be inherited from a parent placeholder
+ # if it exists.
+ "color": { # A themeable solid color value. # The color value of the solid fill.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel.
+ # That is, the final pixel color is defined by the equation:
+ #
+ # pixel color = alpha * (color) + (1.0 - alpha) * (background color)
+ #
+ # This means that a value of 1.0 corresponds to a solid color, whereas
+ # a value of 0.0 corresponds to a completely transparent color.
+ },
+ "propertyState": "A String", # The background fill property state.
+ #
+ # Updating the fill on a table cell will implicitly update this field
+ # to `RENDERED`, unless another value is specified in the same request. To
+ # have no fill on a table cell, set this field to `NOT_RENDERED`. In this
+ # case, any other fill fields set in the same request will be ignored.
+ },
+ "contentAlignment": "A String", # The alignment of the content in the table cell. The default alignment
+ # matches the alignment for newly created table cells in the Slides editor.
+ },
+ "rowSpan": 42, # Row span of the cell.
+ "columnSpan": 42, # Column span of the cell.
+ "location": { # A location of a single table cell within a table. # The location of the cell within the table.
+ "rowIndex": 42, # The 0-based row index.
+ "columnIndex": 42, # The 0-based column index.
+ },
+ },
+ ],
+ "rowHeight": { # A magnitude in a single direction in the specified units. # Height of a row.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "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).
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ },
+ },
+ ],
+ "columns": 42, # Number of columns in the table.
+ },
+ "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.
+ #
+ # It matches the `category` specified in CreateLineRequest, and can be updated with
+ # UpdateLineCategoryRequest.
+ "lineProperties": { # The properties of the Line. # The properties of the line.
+ #
+ # When unset, these fields default to values that match the appearance of
+ # new lines created in the Slides editor.
+ "dashStyle": "A String", # The dash style of the line.
+ "weight": { # A magnitude in a single direction in the specified units. # The thickness of the line.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "endArrow": "A String", # The style of the arrow at the end of the line.
+ "link": { # A hypertext link. # The hyperlink destination of the line. If unset, there is no link.
+ "url": "A String", # If set, indicates this is a link to the external web page at this URL.
+ "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
+ # in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
+ "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
+ # addressed by its position.
+ },
+ "lineFill": { # The fill of the line. # The fill of the line. The default line fill matches the defaults for new
+ # lines created in the Slides editor.
+ "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill.
+ # specified color value.
+ #
+ # If any field is unset, its value may be inherited from a parent placeholder
+ # if it exists.
+ "color": { # A themeable solid color value. # The color value of the solid fill.
"themeColor": "A String", # An opaque theme color.
"rgbColor": { # An RGB color. # An opaque RGB color.
"blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
@@ -13750,1166 +16497,160 @@
"red": 3.14, # The red component of the color, from 0.0 to 1.0.
},
},
- "transform": { # AffineTransform uses a 3x3 matrix with an implied last row of [ 0 0 1 ] # Transform that encodes the translate, scale, and skew of the shadow,
- # relative to the alignment position.
- # to transform source coordinates (x,y) into destination coordinates (x', y')
- # according to:
+ "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:
#
- # x' x = shear_y scale_y translate_y
- # 1 [ 1 ]
+ # pixel color = alpha * (color) + (1.0 - alpha) * (background color)
#
- # After transformation,
- #
- # x' = scale_x * x + shear_x * y + translate_x;
- # y' = scale_y * y + shear_y * x + translate_y;
- #
- # This message is therefore composed of these six matrix elements.
- "translateX": 3.14, # The X coordinate translation element.
- "translateY": 3.14, # The Y coordinate translation element.
- "scaleX": 3.14, # The X coordinate scaling element.
- "scaleY": 3.14, # The Y coordinate scaling element.
- "shearY": 3.14, # The Y coordinate shearing element.
- "shearX": 3.14, # The X coordinate shearing element.
- "unit": "A String", # The units for translate elements.
- },
- "propertyState": "A String", # The shadow property state.
- #
- # Updating the the shadow on a page element will implicitly update this field
- # to `RENDERED`, unless another value is specified in the same request. To
- # have no shadow on a page element, set this field to `NOT_RENDERED`. In this
- # case, any other shadow fields set in the same request will be ignored.
- "blurRadius": { # A magnitude in a single direction in the specified units. # The radius of the shadow blur. The larger the radius, the more diffuse the
- # shadow becomes.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
- "alpha": 3.14, # The alpha of the shadow's color, from 0.0 to 1.0.
- "type": "A String", # The type of the shadow.
- "alignment": "A String", # The alignment point of the shadow, that sets the origin for translate,
- # scale and skew of the shadow.
- "rotateWithShape": True or False, # Whether the shadow should rotate with the shape.
+ # 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.
},
- "shapeBackgroundFill": { # The shape background fill. # The background fill of the shape. If unset, the background fill is
- # inherited from a parent placeholder if it exists. If the shape has no
- # parent, then the default background fill depends on the shape type,
- # matching the defaults for new shapes created in the Slides editor.
- "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill.
- # specified color value.
- #
- # If any field is unset, its value may be inherited from a parent placeholder
- # if it exists.
- "color": { # A themeable solid color value. # The color value of the solid fill.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel.
- # That is, the final pixel color is defined by the equation:
- #
- # pixel color = alpha * (color) + (1.0 - alpha) * (background color)
- #
- # This means that a value of 1.0 corresponds to a solid color, whereas
- # a value of 0.0 corresponds to a completely transparent color.
- },
- "propertyState": "A String", # The background fill property state.
- #
- # Updating the the fill on a shape will implicitly update this field to
- # `RENDERED`, unless another value is specified in the same request. To
- # have no fill on a shape, set this field to `NOT_RENDERED`. In this case,
- # any other fill fields set in the same request will be ignored.
- },
- "link": { # A hypertext link. # The hyperlink destination of the shape. If unset, there is no link. Links
- # are not inherited from parent placeholders.
- "url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
- # in the presentation. There may not be a slide at this index.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
- "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
- # addressed by its position.
- },
- "outline": { # The outline of a PageElement. # The outline of the shape. If unset, the outline is inherited from a
- # parent placeholder if it exists. If the shape has no parent, then the
- # default outline depends on the shape type, matching the defaults for
- # new shapes created in the Slides editor.
+ },
+ "startConnection": { # The properties for one end of a Line # The connection at the beginning of the line. If unset, there is no
+ # connection.
+ #
+ # Only lines with a Type indicating it is
+ # a "connector" can have a `start_connection`.
+ # connection.
+ "connectionSiteIndex": 42, # The index of the connection site on the connected page element.
#
- # If these fields are unset, they may be inherited from a parent placeholder
- # if it exists. If there is no parent, the fields will default to the value
- # used for new page elements created in the Slides editor, which may depend on
- # the page element kind.
- "outlineFill": { # The fill of the outline. # The fill of the outline.
- "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill.
- # specified color value.
- #
- # If any field is unset, its value may be inherited from a parent placeholder
- # if it exists.
- "color": { # A themeable solid color value. # The color value of the solid fill.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel.
- # That is, the final pixel color is defined by the equation:
- #
- # pixel color = alpha * (color) + (1.0 - alpha) * (background color)
- #
- # This means that a value of 1.0 corresponds to a solid color, whereas
- # a value of 0.0 corresponds to a completely transparent color.
- },
- },
- "propertyState": "A String", # The outline property state.
- #
- # Updating the the outline on a page element will implicitly update this
- # field to`RENDERED`, unless another value is specified in the same request.
- # To have no outline on a page element, set this field to `NOT_RENDERED`. In
- # this case, any other outline fields set in the same request will be
- # ignored.
- "dashStyle": "A String", # The dash style of the outline.
- "weight": { # A magnitude in a single direction in the specified units. # The thickness of the outline.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
- },
- },
- "placeholder": { # The placeholder information that uniquely identifies a placeholder shape. # Placeholders are shapes that are inherit from corresponding placeholders on
- # layouts and masters.
- #
- # If set, the shape is a placeholder shape and any inherited properties
- # can be resolved by looking at the parent placeholder identified by the
- # Placeholder.parent_object_id field.
- "parentObjectId": "A String", # The object ID of this shape's parent placeholder.
- # If unset, the parent placeholder shape does not exist, so the shape does
- # not inherit properties from any other shape.
- "index": 42, # The index of the placeholder. If the same placeholder types are present in
- # the same page, they would have different index values.
- "type": "A String", # The type of the placeholder.
- },
- "shapeType": "A String", # The type of the shape.
- },
- "sheetsChart": { # A PageElement kind representing # A linked chart embedded from Google Sheets. Unlinked charts are
- # represented as images.
- # a linked chart embedded from Google Sheets.
- "contentUrl": "A String", # The URL of an image of the embedded chart, with a default lifetime of 30
- # minutes. This URL is tagged with the account of the requester. Anyone with
- # the URL effectively accesses the image as the original requester. Access to
- # the image may be lost if the presentation's sharing settings change.
- "spreadsheetId": "A String", # The ID of the Google Sheets spreadsheet that contains the source chart.
- "sheetsChartProperties": { # The properties of the SheetsChart. # The properties of the Sheets chart.
- "chartImageProperties": { # The properties of the Image. # The properties of the embedded chart image.
- "outline": { # The outline of a PageElement. # The outline of the image. If not set, the the image has no outline.
- #
- # If these fields are unset, they may be inherited from a parent placeholder
- # if it exists. If there is no parent, the fields will default to the value
- # used for new page elements created in the Slides editor, which may depend on
- # the page element kind.
- "outlineFill": { # The fill of the outline. # The fill of the outline.
- "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill.
- # specified color value.
- #
- # If any field is unset, its value may be inherited from a parent placeholder
- # if it exists.
- "color": { # A themeable solid color value. # The color value of the solid fill.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel.
- # That is, the final pixel color is defined by the equation:
- #
- # pixel color = alpha * (color) + (1.0 - alpha) * (background color)
- #
- # This means that a value of 1.0 corresponds to a solid color, whereas
- # a value of 0.0 corresponds to a completely transparent color.
- },
- },
- "propertyState": "A String", # The outline property state.
- #
- # Updating the the outline on a page element will implicitly update this
- # field to`RENDERED`, unless another value is specified in the same request.
- # To have no outline on a page element, set this field to `NOT_RENDERED`. In
- # this case, any other outline fields set in the same request will be
- # ignored.
- "dashStyle": "A String", # The dash style of the outline.
- "weight": { # A magnitude in a single direction in the specified units. # The thickness of the outline.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
- },
- "brightness": 3.14, # The brightness effect of the image. The value should be in the interval
- # [-1.0, 1.0], where 0 means no effect. This property is read-only.
- "recolor": { # A recolor effect applied on an image. # The recolor effect of the image. If not set, the image is not recolored.
- # This property is read-only.
- "recolorStops": [ # The recolor effect is represented by a gradient, which is a list of color
- # stops.
- #
- # The colors in the gradient will replace the corresponding colors at
- # the same position in the color palette and apply to the image. This
- # property is read-only.
- { # A color and position in a gradient band.
- "color": { # A themeable solid color value. # The color of the gradient stop.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- "alpha": 3.14, # The alpha value of this color in the gradient band. Defaults to 1.0,
- # fully opaque.
- "position": 3.14, # The relative position of the color stop in the gradient band measured
- # in percentage. The value should be in the interval [0.0, 1.0].
- },
- ],
- "name": "A String", # The name of the recolor effect.
- #
- # The name is determined from the `recolor_stops` by matching the gradient
- # against the colors in the page's current color scheme. This property is
- # read-only.
- },
- "link": { # A hypertext link. # The hyperlink destination of the image. If unset, there is no link.
- "url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
- # in the presentation. There may not be a slide at this index.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
- "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
- # addressed by its position.
- },
- "transparency": 3.14, # The transparency effect of the image. The value should be in the interval
- # [0.0, 1.0], where 0 means no effect and 1 means completely transparent.
- # This property is read-only.
- "cropProperties": { # The crop properties of an object enclosed in a container. For example, an # The crop properties of the image. If not set, the image is not cropped.
- # This property is read-only.
- # Image.
- #
- # The crop properties is represented by the offsets of four edges which define
- # a crop rectangle. The offsets are measured in percentage from the
- # corresponding edges of the object's original bounding rectangle towards
- # inside, relative to the object's original dimensions.
- #
- # - If the offset is in the interval (0, 1), the corresponding edge of crop
- # rectangle is positioned inside of the object's original bounding rectangle.
- # - If the offset is negative or greater than 1, the corresponding edge of crop
- # rectangle is positioned outside of the object's original bounding rectangle.
- # - If the left edge of the crop rectangle is on the right side of its right
- # edge, the object will be flipped horizontally.
- # - If the top edge of the crop rectangle is below its bottom edge, the object
- # will be flipped vertically.
- # - If all offsets and rotation angle is 0, the object is not cropped.
- #
- # After cropping, the content in the crop rectangle will be stretched to fit
- # its container.
- "leftOffset": 3.14, # The offset specifies the left edge of the crop rectangle that is located to
- # the right of the original bounding rectangle left edge, relative to the
- # object's original width.
- "angle": 3.14, # The rotation angle of the crop window around its center, in radians.
- # Rotation angle is applied after the offset.
- "rightOffset": 3.14, # The offset specifies the right edge of the crop rectangle that is located
- # to the left of the original bounding rectangle right edge, relative to the
- # object's original width.
- "bottomOffset": 3.14, # The offset specifies the bottom edge of the crop rectangle that is located
- # above the original bounding rectangle bottom edge, relative to the object's
- # original height.
- "topOffset": 3.14, # The offset specifies the top edge of the crop rectangle that is located
- # below the original bounding rectangle top edge, relative to the object's
- # original height.
- },
- "shadow": { # The shadow properties of a page element. # The shadow of the image. If not set, the image has no shadow. This property
- # is read-only.
- #
- # If these fields are unset, they may be inherited from a parent placeholder
- # if it exists. If there is no parent, the fields will default to the value
- # used for new page elements created in the Slides editor, which may depend on
- # the page element kind.
- "color": { # A themeable solid color value. # The shadow color value.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- "transform": { # AffineTransform uses a 3x3 matrix with an implied last row of [ 0 0 1 ] # Transform that encodes the translate, scale, and skew of the shadow,
- # relative to the alignment position.
- # to transform source coordinates (x,y) into destination coordinates (x', y')
- # according to:
- #
- # x' x = shear_y scale_y translate_y
- # 1 [ 1 ]
- #
- # After transformation,
- #
- # x' = scale_x * x + shear_x * y + translate_x;
- # y' = scale_y * y + shear_y * x + translate_y;
- #
- # This message is therefore composed of these six matrix elements.
- "translateX": 3.14, # The X coordinate translation element.
- "translateY": 3.14, # The Y coordinate translation element.
- "scaleX": 3.14, # The X coordinate scaling element.
- "scaleY": 3.14, # The Y coordinate scaling element.
- "shearY": 3.14, # The Y coordinate shearing element.
- "shearX": 3.14, # The X coordinate shearing element.
- "unit": "A String", # The units for translate elements.
- },
- "propertyState": "A String", # The shadow property state.
- #
- # Updating the the shadow on a page element will implicitly update this field
- # to `RENDERED`, unless another value is specified in the same request. To
- # have no shadow on a page element, set this field to `NOT_RENDERED`. In this
- # case, any other shadow fields set in the same request will be ignored.
- "blurRadius": { # A magnitude in a single direction in the specified units. # The radius of the shadow blur. The larger the radius, the more diffuse the
- # shadow becomes.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
- "alpha": 3.14, # The alpha of the shadow's color, from 0.0 to 1.0.
- "type": "A String", # The type of the shadow.
- "alignment": "A String", # The alignment point of the shadow, that sets the origin for translate,
- # scale and skew of the shadow.
- "rotateWithShape": True or False, # Whether the shadow should rotate with the shape.
- },
- "contrast": 3.14, # The contrast effect of the image. The value should be in the interval
- # [-1.0, 1.0], where 0 means no effect. This property is read-only.
- },
- },
- "chartId": 42, # The ID of the specific chart in the Google Sheets spreadsheet that is
- # embedded.
- },
- "video": { # A PageElement kind representing a # A video page element.
- # video.
- "url": "A String", # An URL to a video. The URL is valid as long as the source video
- # exists and sharing settings do not change.
- "videoProperties": { # The properties of the Video. # The properties of the video.
- "outline": { # The outline of a PageElement. # The outline of the video. The default outline matches the defaults for new
- # videos created in the Slides editor.
+ # 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).
#
- # If these fields are unset, they may be inherited from a parent placeholder
- # if it exists. If there is no parent, the fields will default to the value
- # used for new page elements created in the Slides editor, which may depend on
- # the page element kind.
- "outlineFill": { # The fill of the outline. # The fill of the outline.
- "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill.
- # specified color value.
- #
- # If any field is unset, its value may be inherited from a parent placeholder
- # if it exists.
- "color": { # A themeable solid color value. # The color value of the solid fill.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel.
- # That is, the final pixel color is defined by the equation:
- #
- # pixel color = alpha * (color) + (1.0 - alpha) * (background color)
- #
- # This means that a value of 1.0 corresponds to a solid color, whereas
- # a value of 0.0 corresponds to a completely transparent color.
- },
- },
- "propertyState": "A String", # The outline property state.
- #
- # Updating the the outline on a page element will implicitly update this
- # field to`RENDERED`, unless another value is specified in the same request.
- # To have no outline on a page element, set this field to `NOT_RENDERED`. In
- # this case, any other outline fields set in the same request will be
- # ignored.
- "dashStyle": "A String", # The dash style of the outline.
- "weight": { # A magnitude in a single direction in the specified units. # The thickness of the outline.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
- },
+ # 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.
},
- "id": "A String", # The video source's unique identifier for this video.
- "source": "A String", # The video source.
- },
- "elementGroup": { # A PageElement kind representing a # A collection of page elements joined as a single unit.
- # joined collection of PageElements.
- "children": [ # The collection of elements in the group. The minimum size of a group is 2.
- # Object with schema name: PageElement
- ],
- },
- "table": { # A PageElement kind representing a # A table page element.
- # table.
- "tableColumns": [ # Properties of each column.
- { # Properties of each column in a table.
- "columnWidth": { # A magnitude in a single direction in the specified units. # Width of a column.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
- },
- ],
- "tableRows": [ # Properties and contents of each row.
+ "endConnection": { # The properties for one end of a Line # The connection at the end of the line. If unset, there is no connection.
#
- # Cells that span multiple rows are contained in only one of these rows and
- # have a row_span greater
- # than 1.
- { # Properties and contents of each row in a table.
- "tableCells": [ # Properties and contents of each cell.
- #
- # Cells that span multiple columns are represented only once with a
- # column_span greater
- # than 1. As a result, the length of this collection does not always match
- # the number of columns of the entire table.
- { # Properties and contents of each table cell.
- "text": { # The general text content. The text must reside in a compatible shape (e.g. # The text content of the cell.
- # text box or rectangle) or a table cell in a page.
- "lists": { # The bulleted lists contained in this text, keyed by list ID.
- "a_key": { # A List describes the look and feel of bullets belonging to paragraphs
- # associated with a list. A paragraph that is part of a list has an implicit
- # reference to that list's ID.
- "nestingLevel": { # A map of nesting levels to the properties of bullets at the associated
- # level. A list has at most nine levels of nesting, so the possible values
- # for the keys of this map are 0 through 8, inclusive.
- "a_key": { # Contains properties describing the look and feel of a list bullet at a given
- # level of nesting.
- "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The style of a bullet at this level of nesting.
- #
- # If this text is contained in a shape with a parent placeholder, then these text styles may be
- # inherited from the parent. Which text styles are inherited depend on the
- # nesting level of lists:
- #
- # * A text run in a paragraph that is not in a list will inherit its text style
- # from the the newline character in the paragraph at the 0 nesting level of
- # the list inside the parent placeholder.
- # * A text run in a paragraph that is in a list will inherit its text style
- # from the newline character in the paragraph at its corresponding nesting
- # level of the list inside the parent placeholder.
- #
- # Inherited text styles are represented as unset fields in this message. If
- # text is contained in a shape without a parent placeholder, unsetting these
- # fields will revert the style to a value matching the defaults in the Slides
- # editor.
- "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- "bold": True or False, # Whether or not the text is rendered as bold.
- "baselineOffset": "A String", # The text's vertical offset from its normal position.
- #
- # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
- # rendered in a smaller font size, computed based on the `font_size` field.
- # The `font_size` itself is not affected by changes in this field.
- "strikethrough": True or False, # Whether or not the text is struck through.
- "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").
- },
- "smallCaps": True or False, # Whether or not the text is in small capital letters.
- "fontFamily": "A String", # The font family of the text.
- #
- # The font family can be any font from the Font menu in Slides or from
- # [Google Fonts] (https://fonts.google.com/). If the font name is
- # unrecognized, the text is rendered in `Arial`.
- #
- # Some fonts can affect the weight of the text. If an update request
- # specifies values for both `font_family` and `bold`, the explicitly-set
- # `bold` value is used.
- "italic": True or False, # Whether or not the text is italicized.
- "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
- # are not inherited from parent text.
- #
- # Changing the link in an update request causes some other changes to the
- # text style of the range:
- #
- # * When setting a link, the text foreground color will be set to
- # ThemeColorType.HYPERLINK and the text will
- # be underlined. If these fields are modified in the same
- # request, those values will be used instead of the link defaults.
- # * Setting a link on a text range that overlaps with an existing link will
- # also update the existing link to point to the new URL.
- # * Links are not settable on newline characters. As a result, setting a link
- # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
- # will separate the newline character(s) into their own text runs. The
- # link will be applied separately to the runs before and after the newline.
- # * Removing a link will update the text style of the range to match the
- # style of the preceding text (or the default text styles if the preceding
- # text is another link) unless different styles are being set in the same
- # request.
- "url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
- # in the presentation. There may not be a slide at this index.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
- "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
- # addressed by its position.
- },
- "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
- "underline": True or False, # Whether or not the text is underlined.
- },
- },
- },
- "listId": "A String", # The ID of the list.
- },
- },
- "textElements": [ # The text contents broken down into its component parts, including styling
- # information. This property is read-only.
- { # A TextElement describes the content of a range of indices in the text content
- # of a Shape or TableCell.
- "autoText": { # A TextElement kind that represents auto text. # A TextElement representing a spot in the text that is dynamically
- # replaced with content that can change over time.
- "content": "A String", # The rendered content of this auto text, if available.
- "style": { # Represents the styling that can be applied to a TextRun. # The styling applied to this auto text.
- #
- # If this text is contained in a shape with a parent placeholder, then these text styles may be
- # inherited from the parent. Which text styles are inherited depend on the
- # nesting level of lists:
- #
- # * A text run in a paragraph that is not in a list will inherit its text style
- # from the the newline character in the paragraph at the 0 nesting level of
- # the list inside the parent placeholder.
- # * A text run in a paragraph that is in a list will inherit its text style
- # from the newline character in the paragraph at its corresponding nesting
- # level of the list inside the parent placeholder.
- #
- # Inherited text styles are represented as unset fields in this message. If
- # text is contained in a shape without a parent placeholder, unsetting these
- # fields will revert the style to a value matching the defaults in the Slides
- # editor.
- "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- "bold": True or False, # Whether or not the text is rendered as bold.
- "baselineOffset": "A String", # The text's vertical offset from its normal position.
- #
- # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
- # rendered in a smaller font size, computed based on the `font_size` field.
- # The `font_size` itself is not affected by changes in this field.
- "strikethrough": True or False, # Whether or not the text is struck through.
- "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").
- },
- "smallCaps": True or False, # Whether or not the text is in small capital letters.
- "fontFamily": "A String", # The font family of the text.
- #
- # The font family can be any font from the Font menu in Slides or from
- # [Google Fonts] (https://fonts.google.com/). If the font name is
- # unrecognized, the text is rendered in `Arial`.
- #
- # Some fonts can affect the weight of the text. If an update request
- # specifies values for both `font_family` and `bold`, the explicitly-set
- # `bold` value is used.
- "italic": True or False, # Whether or not the text is italicized.
- "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
- # are not inherited from parent text.
- #
- # Changing the link in an update request causes some other changes to the
- # text style of the range:
- #
- # * When setting a link, the text foreground color will be set to
- # ThemeColorType.HYPERLINK and the text will
- # be underlined. If these fields are modified in the same
- # request, those values will be used instead of the link defaults.
- # * Setting a link on a text range that overlaps with an existing link will
- # also update the existing link to point to the new URL.
- # * Links are not settable on newline characters. As a result, setting a link
- # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
- # will separate the newline character(s) into their own text runs. The
- # link will be applied separately to the runs before and after the newline.
- # * Removing a link will update the text style of the range to match the
- # style of the preceding text (or the default text styles if the preceding
- # text is another link) unless different styles are being set in the same
- # request.
- "url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
- # in the presentation. There may not be a slide at this index.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
- "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
- # addressed by its position.
- },
- "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
- "underline": True or False, # Whether or not the text is underlined.
- },
- "type": "A String", # The type of this auto text.
- },
- "endIndex": 42, # The zero-based end index of this text element, exclusive, in Unicode code
- # units.
- "startIndex": 42, # The zero-based start index of this text element, in Unicode code units.
- "paragraphMarker": { # A TextElement kind that represents the beginning of a new paragraph. # A marker representing the beginning of a new paragraph.
- #
- # The `start_index` and `end_index` of this TextElement represent the
- # range of the paragraph. Other TextElements with an index range contained
- # inside this paragraph's range are considered to be part of this
- # paragraph. The range of indices of two separate paragraphs will never
- # overlap.
- "style": { # Styles that apply to a whole paragraph. # The paragraph's style
- #
- # If this text is contained in a shape with a parent placeholder, then these paragraph styles may be
- # inherited from the parent. Which paragraph styles are inherited depend on the
- # nesting level of lists:
- #
- # * A paragraph not in a list will inherit its paragraph style from the
- # paragraph at the 0 nesting level of the list inside the parent placeholder.
- # * A paragraph in a list will inherit its paragraph style from the paragraph
- # at its corresponding nesting level of the list inside the parent
- # placeholder.
- #
- # Inherited paragraph styles are represented as unset fields in this message.
- "spacingMode": "A String", # The spacing mode for the paragraph.
- "direction": "A String", # The text direction of this paragraph. If unset, the value defaults to
- # LEFT_TO_RIGHT since
- # text direction is not inherited.
- "spaceBelow": { # A magnitude in a single direction in the specified units. # The amount of extra space above the paragraph. If unset, the value is
- # inherited from the parent.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
- "lineSpacing": 3.14, # The amount of space between lines, as a percentage of normal, where normal
- # is represented as 100.0. If unset, the value is inherited from the parent.
- "indentStart": { # A magnitude in a single direction in the specified units. # The amount indentation for the paragraph on the side that corresponds to
- # the start of the text, based on the current text direction. If unset, the
- # value is inherited from the parent.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
- "spaceAbove": { # A magnitude in a single direction in the specified units. # The amount of extra space above the paragraph. If unset, the value is
- # inherited from the parent.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
- "indentEnd": { # A magnitude in a single direction in the specified units. # The amount indentation for the paragraph on the side that corresponds to
- # the end of the text, based on the current text direction. If unset, the
- # value is inherited from the parent.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
- "indentFirstLine": { # A magnitude in a single direction in the specified units. # The amount of indentation for the start of the first line of the paragraph.
- # If unset, the value is inherited from the parent.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
- "alignment": "A String", # The text alignment for this paragraph.
- },
- "bullet": { # Describes the bullet of a paragraph. # The bullet for this paragraph. If not present, the paragraph does not
- # belong to a list.
- "nestingLevel": 42, # The nesting level of this paragraph in the list.
- "listId": "A String", # The ID of the list this paragraph belongs to.
- "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The paragraph specific text style applied to this bullet.
- #
- # If this text is contained in a shape with a parent placeholder, then these text styles may be
- # inherited from the parent. Which text styles are inherited depend on the
- # nesting level of lists:
- #
- # * A text run in a paragraph that is not in a list will inherit its text style
- # from the the newline character in the paragraph at the 0 nesting level of
- # the list inside the parent placeholder.
- # * A text run in a paragraph that is in a list will inherit its text style
- # from the newline character in the paragraph at its corresponding nesting
- # level of the list inside the parent placeholder.
- #
- # Inherited text styles are represented as unset fields in this message. If
- # text is contained in a shape without a parent placeholder, unsetting these
- # fields will revert the style to a value matching the defaults in the Slides
- # editor.
- "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- "bold": True or False, # Whether or not the text is rendered as bold.
- "baselineOffset": "A String", # The text's vertical offset from its normal position.
- #
- # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
- # rendered in a smaller font size, computed based on the `font_size` field.
- # The `font_size` itself is not affected by changes in this field.
- "strikethrough": True or False, # Whether or not the text is struck through.
- "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").
- },
- "smallCaps": True or False, # Whether or not the text is in small capital letters.
- "fontFamily": "A String", # The font family of the text.
- #
- # The font family can be any font from the Font menu in Slides or from
- # [Google Fonts] (https://fonts.google.com/). If the font name is
- # unrecognized, the text is rendered in `Arial`.
- #
- # Some fonts can affect the weight of the text. If an update request
- # specifies values for both `font_family` and `bold`, the explicitly-set
- # `bold` value is used.
- "italic": True or False, # Whether or not the text is italicized.
- "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
- # are not inherited from parent text.
- #
- # Changing the link in an update request causes some other changes to the
- # text style of the range:
- #
- # * When setting a link, the text foreground color will be set to
- # ThemeColorType.HYPERLINK and the text will
- # be underlined. If these fields are modified in the same
- # request, those values will be used instead of the link defaults.
- # * Setting a link on a text range that overlaps with an existing link will
- # also update the existing link to point to the new URL.
- # * Links are not settable on newline characters. As a result, setting a link
- # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
- # will separate the newline character(s) into their own text runs. The
- # link will be applied separately to the runs before and after the newline.
- # * Removing a link will update the text style of the range to match the
- # style of the preceding text (or the default text styles if the preceding
- # text is another link) unless different styles are being set in the same
- # request.
- "url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
- # in the presentation. There may not be a slide at this index.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
- "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
- # addressed by its position.
- },
- "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
- "underline": True or False, # Whether or not the text is underlined.
- },
- "glyph": "A String", # The rendered bullet glyph for this paragraph.
- },
- },
- "textRun": { # A TextElement kind that represents a run of text that all has the same # A TextElement representing a run of text where all of the characters
- # in the run have the same TextStyle.
- #
- # The `start_index` and `end_index` of TextRuns will always be fully
- # contained in the index range of a single `paragraph_marker` TextElement.
- # In other words, a TextRun will never span multiple paragraphs.
- # styling.
- "content": "A String", # The text of this run.
- "style": { # Represents the styling that can be applied to a TextRun. # The styling applied to this run.
- #
- # If this text is contained in a shape with a parent placeholder, then these text styles may be
- # inherited from the parent. Which text styles are inherited depend on the
- # nesting level of lists:
- #
- # * A text run in a paragraph that is not in a list will inherit its text style
- # from the the newline character in the paragraph at the 0 nesting level of
- # the list inside the parent placeholder.
- # * A text run in a paragraph that is in a list will inherit its text style
- # from the newline character in the paragraph at its corresponding nesting
- # level of the list inside the parent placeholder.
- #
- # Inherited text styles are represented as unset fields in this message. If
- # text is contained in a shape without a parent placeholder, unsetting these
- # fields will revert the style to a value matching the defaults in the Slides
- # editor.
- "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- "bold": True or False, # Whether or not the text is rendered as bold.
- "baselineOffset": "A String", # The text's vertical offset from its normal position.
- #
- # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
- # rendered in a smaller font size, computed based on the `font_size` field.
- # The `font_size` itself is not affected by changes in this field.
- "strikethrough": True or False, # Whether or not the text is struck through.
- "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").
- },
- "smallCaps": True or False, # Whether or not the text is in small capital letters.
- "fontFamily": "A String", # The font family of the text.
- #
- # The font family can be any font from the Font menu in Slides or from
- # [Google Fonts] (https://fonts.google.com/). If the font name is
- # unrecognized, the text is rendered in `Arial`.
- #
- # Some fonts can affect the weight of the text. If an update request
- # specifies values for both `font_family` and `bold`, the explicitly-set
- # `bold` value is used.
- "italic": True or False, # Whether or not the text is italicized.
- "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
- # are not inherited from parent text.
- #
- # Changing the link in an update request causes some other changes to the
- # text style of the range:
- #
- # * When setting a link, the text foreground color will be set to
- # ThemeColorType.HYPERLINK and the text will
- # be underlined. If these fields are modified in the same
- # request, those values will be used instead of the link defaults.
- # * Setting a link on a text range that overlaps with an existing link will
- # also update the existing link to point to the new URL.
- # * Links are not settable on newline characters. As a result, setting a link
- # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
- # will separate the newline character(s) into their own text runs. The
- # link will be applied separately to the runs before and after the newline.
- # * Removing a link will update the text style of the range to match the
- # style of the preceding text (or the default text styles if the preceding
- # text is another link) unless different styles are being set in the same
- # request.
- "url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
- # in the presentation. There may not be a slide at this index.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
- "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
- # addressed by its position.
- },
- "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
- "underline": True or False, # Whether or not the text is underlined.
- },
- },
- },
- ],
- },
- "tableCellProperties": { # The properties of the TableCell. # The properties of the table cell.
- "tableCellBackgroundFill": { # The table cell background fill. # The background fill of the table cell. The default fill matches the fill
- # for newly created table cells in the Slides editor.
- "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill.
- # specified color value.
- #
- # If any field is unset, its value may be inherited from a parent placeholder
- # if it exists.
- "color": { # A themeable solid color value. # The color value of the solid fill.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel.
- # That is, the final pixel color is defined by the equation:
- #
- # pixel color = alpha * (color) + (1.0 - alpha) * (background color)
- #
- # This means that a value of 1.0 corresponds to a solid color, whereas
- # a value of 0.0 corresponds to a completely transparent color.
- },
- "propertyState": "A String", # The background fill property state.
- #
- # Updating the the fill on a table cell will implicitly update this field
- # to `RENDERED`, unless another value is specified in the same request. To
- # have no fill on a table cell, set this field to `NOT_RENDERED`. In this
- # case, any other fill fields set in the same request will be ignored.
- },
- },
- "rowSpan": 42, # Row span of the cell.
- "columnSpan": 42, # Column span of the cell.
- "location": { # A location of a single table cell within a table. # The location of the cell within the table.
- "rowIndex": 42, # The 0-based row index.
- "columnIndex": 42, # The 0-based column index.
- },
- },
- ],
- "rowHeight": { # A magnitude in a single direction in the specified units. # Height of a row.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
- },
- ],
- "rows": 42, # Number of rows in the table.
- "columns": 42, # Number of columns in the table.
- },
- "line": { # A PageElement kind representing a # A line page element.
- # line, curved connector, or bent connector.
- "lineProperties": { # The properties of the Line. # The properties of the line.
- #
- # When unset, these fields default to values that match the appearance of
- # new lines created in the Slides editor.
- "dashStyle": "A String", # The dash style of the line.
- "weight": { # A magnitude in a single direction in the specified units. # The thickness of the line.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
- "endArrow": "A String", # The style of the arrow at the end of the line.
- "link": { # A hypertext link. # The hyperlink destination of the line. If unset, there is no link.
- "url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
- # in the presentation. There may not be a slide at this index.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
- "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
- # addressed by its position.
- },
- "lineFill": { # The fill of the line. # The fill of the line. The default line fill matches the defaults for new
- # lines created in the Slides editor.
- "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill.
- # specified color value.
- #
- # If any field is unset, its value may be inherited from a parent placeholder
- # if it exists.
- "color": { # A themeable solid color value. # The color value of the solid fill.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel.
- # That is, the final pixel color is defined by the equation:
- #
- # pixel color = alpha * (color) + (1.0 - alpha) * (background color)
- #
- # This means that a value of 1.0 corresponds to a solid color, whereas
- # a value of 0.0 corresponds to a completely transparent color.
- },
- },
- "startArrow": "A String", # The style of the arrow at the beginning of the line.
+ # 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.
},
- "lineType": "A String", # The type of the line.
+ "startArrow": "A String", # The style of the arrow at the beginning of the line.
},
- "size": { # A width and height. # The size of the page element.
+ "lineType": "A String", # The type of the line.
+ },
+ "size": { # A width and height. # The size of the page element.
+ "width": { # A magnitude in a single direction in the specified units. # The width of the object.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "height": { # A magnitude in a single direction in the specified units. # The height of the object.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ },
+ "description": "A String", # The description of the page element. Combined with title to display alt
+ # text.
+ },
+ ],
+ "notesProperties": { # The properties of Page that are only # Notes specific properties. Only set if page_type = NOTES.
+ # relevant for pages with page_type NOTES.
+ "speakerNotesObjectId": "A String", # The object ID of the shape on this notes page that contains the speaker
+ # notes for the corresponding slide.
+ # The actual shape may not always exist on the notes page. Inserting text
+ # using this object ID will automatically create the shape. In this case, the
+ # actual shape may have different object ID. The `GetPresentation` or
+ # `GetPage` action will always return the latest object ID.
+ },
+ "objectId": "A String", # The object ID for this page. Object IDs used by
+ # Page and
+ # PageElement share the same namespace.
+ "revisionId": "A String", # The revision ID of the presentation containing this page. Can be used in
+ # update requests to assert that the presentation revision hasn't changed
+ # since the last read operation. Only populated if the user has edit access
+ # to the presentation.
+ #
+ # The format of the revision ID may change over time, so it should be treated
+ # opaquely. A returned revision ID is only guaranteed to be valid for 24
+ # hours after it has been returned and cannot be shared across users. If the
+ # revision ID is unchanged between calls, then the presentation has not
+ # 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.
+ "masterProperties": { # The properties of Page that are only # Master specific properties. Only set if page_type = MASTER.
+ # relevant for pages with page_type MASTER.
+ "displayName": "A String", # The human-readable name of the master.
+ },
+ "pageProperties": { # The properties of the Page. # The properties of the page.
+ #
+ # The page will inherit properties from the parent page. Depending on the page
+ # type the hierarchy is defined in either
+ # SlideProperties or
+ # LayoutProperties.
+ "pageBackgroundFill": { # The page background fill. # The background fill of the page. If unset, the background fill is inherited
+ # from a parent page if it exists. If the page has no parent, then the
+ # background fill defaults to the corresponding fill in the Slides editor.
+ "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill.
+ # specified color value.
+ #
+ # If any field is unset, its value may be inherited from a parent placeholder
+ # if it exists.
+ "color": { # A themeable solid color value. # The color value of the solid fill.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel.
+ # That is, the final pixel color is defined by the equation:
+ #
+ # pixel color = alpha * (color) + (1.0 - alpha) * (background color)
+ #
+ # This means that a value of 1.0 corresponds to a solid color, whereas
+ # a value of 0.0 corresponds to a completely transparent color.
+ },
+ "propertyState": "A String", # The background fill property state.
+ #
+ # Updating the fill on a page will implicitly update this field to
+ # `RENDERED`, unless another value is specified in the same request. To
+ # have no fill on a page, set this field to `NOT_RENDERED`. In this case,
+ # any other fill fields set in the same request will be ignored.
+ "stretchedPictureFill": { # The stretched picture fill. The page or page element is filled entirely with # Stretched picture fill.
+ # the specified picture. The picture is stretched to fit its container.
+ "contentUrl": "A String", # Reading the content_url:
+ #
+ # An URL to a picture with a default lifetime of 30 minutes.
+ # This URL is tagged with the account of the requester. Anyone with the URL
+ # effectively accesses the picture as the original requester. Access to the
+ # picture may be lost if the presentation's sharing settings change.
+ #
+ # Writing the content_url:
+ #
+ # The picture is fetched once at insertion time and a copy is stored for
+ # display inside the presentation. Pictures must be less than 50MB in size,
+ # cannot exceed 25 megapixels, and must be in 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.
"magnitude": 3.14, # The magnitude.
"unit": "A String", # The units for magnitude.
@@ -14920,132 +16661,46 @@
},
},
},
- ],
- "notesProperties": { # The properties of Page that are only # Notes specific properties. Only set if page_type = NOTES.
- # relevant for pages with page_type NOTES.
- "speakerNotesObjectId": "A String", # The object ID of the shape on this notes page that contains the speaker
- # notes for the corresponding slide.
- # The actual shape may not always exist on the notes page. Inserting text
- # using this object ID will automatically create the shape. In this case, the
- # actual shape may have different object ID. The `GetPresentation` or
- # `GetPage` action will always return the latest object ID.
},
- "objectId": "A String", # The object ID for this page. Object IDs used by
- # Page and
- # PageElement share the same namespace.
- "revisionId": "A String", # The revision ID of the presentation containing this page. Can be used in
- # update requests to assert that the presentation revision hasn't changed
- # since the last read operation. Only populated if the user has edit access
- # to the presentation.
- #
- # The format of the revision ID may change over time, so it should be treated
- # opaquely. A returned revision ID is only guaranteed to be valid for 24
- # hours after it has been returned and cannot be shared across users. If the
- # revision ID is unchanged between calls, then the presentation has not
- # 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.
- "pageProperties": { # The properties of the Page. # The properties of the page.
- #
- # The page will inherit properties from the parent page. Depending on the page
- # type the hierarchy is defined in either
- # SlideProperties or
- # LayoutProperties.
- "pageBackgroundFill": { # The page background fill. # The background fill of the page. If unset, the background fill is inherited
- # from a parent page if it exists. If the page has no parent, then the
- # background fill defaults to the corresponding fill in the Slides editor.
- "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill.
- # specified color value.
- #
- # If any field is unset, its value may be inherited from a parent placeholder
- # if it exists.
- "color": { # A themeable solid color value. # The color value of the solid fill.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
+ "colorScheme": { # The palette of predefined colors for a page. # The color scheme of the page. If unset, the color scheme is inherited from
+ # a parent page. If the page has no parent, the color scheme uses a default
+ # Slides color scheme. This field is read-only.
+ "colors": [ # The ThemeColorType and corresponding concrete color pairs.
+ { # A pair mapping a theme color type to the concrete color it represents.
+ "color": { # An RGB color. # The concrete color corresponding to the theme color type above.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
},
- "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.
+ "type": "A String", # The type of the theme color.
},
- "propertyState": "A String", # The background fill property state.
- #
- # Updating the the fill on a page will implicitly update this field to
- # `RENDERED`, unless another value is specified in the same request. To
- # have no fill on a page, set this field to `NOT_RENDERED`. In this case,
- # any other fill fields set in the same request will be ignored.
- "stretchedPictureFill": { # The stretched picture fill. The page or page element is filled entirely with # Stretched picture fill.
- # the specified picture. The picture is stretched to fit its container.
- "contentUrl": "A String", # Reading the content_url:
- #
- # An URL to a picture with a default lifetime of 30 minutes.
- # This URL is tagged with the account of the requester. Anyone with the URL
- # effectively accesses the picture as the original requester. Access to the
- # picture may be lost if the presentation's sharing settings change.
- #
- # Writing the content_url:
- #
- # The picture is fetched once at insertion time and a copy is stored for
- # display inside the presentation. Pictures must be less than 50MB in size,
- # cannot exceed 25 megapixels, and must be in either in PNG, JPEG, or GIF
- # format.
- "size": { # A width and height. # The original size of the picture fill. This field is read-only.
- "width": { # A magnitude in a single direction in the specified units. # The width of the object.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
- "height": { # A magnitude in a single direction in the specified units. # The height of the object.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
- },
- },
- },
- "colorScheme": { # The palette of predefined colors for a page. # The color scheme of the page. If unset, the color scheme is inherited from
- # a parent page. If the page has no parent, the color scheme uses a default
- # Slides color scheme. This field is read-only.
- "colors": [ # The ThemeColorType and corresponding concrete color pairs.
- { # A pair mapping a theme color type to the concrete color it represents.
- "color": { # An RGB color. # The concrete color corresponding to the theme color type above.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- "type": "A String", # The type of the theme color.
- },
- ],
- },
- },
- "pageType": "A String", # The type of the page.
- "slideProperties": { # The properties of Page that are only # Slide specific properties. Only set if page_type = SLIDE.
- # relevant for pages with page_type SLIDE.
- "notesPage": # Object with schema name: Page # The notes page that this slide is associated with. It defines the visual
- # appearance of a notes page when printing or exporting slides with speaker
- # notes. A notes page inherits properties from the
- # notes master.
- # The placeholder shape with type BODY on the notes page contains the speaker
- # notes for this slide. The ID of this shape is identified by the
- # speakerNotesObjectId field.
- # The notes page is read-only except for the text content and styles of the
- # speaker notes shape.
- "masterObjectId": "A String", # The object ID of the master that this slide is based on.
- "layoutObjectId": "A String", # The object ID of the layout that this slide is based on.
+ ],
},
},
- ],
+ "pageType": "A String", # The type of the page.
+ "slideProperties": { # The properties of Page that are only # Slide specific properties. Only set if page_type = SLIDE.
+ # relevant for pages with page_type SLIDE.
+ "notesPage": # Object with schema name: Page # The notes page that this slide is associated with. It defines the visual
+ # appearance of a notes page when printing or exporting slides with speaker
+ # notes. A notes page inherits properties from the
+ # notes master.
+ # The placeholder shape with type BODY on the notes page contains the speaker
+ # notes for this slide. The ID of this shape is identified by the
+ # speakerNotesObjectId field.
+ # The notes page is read-only except for the text content and styles of the
+ # speaker notes shape. 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.
+ },
+ },
"slides": [ # The slides in the presentation.
# A slide inherits properties from a slide layout.
{ # A page in a presentation.
"layoutProperties": { # The properties of Page are only # Layout specific properties. Only set if page_type = LAYOUT.
# relevant for pages with page_type LAYOUT.
- "displayName": "A String", # The human readable name of the layout in the presentation's locale.
+ "displayName": "A String", # The human-readable name of the layout.
"name": "A String", # The name of the layout.
"masterObjectId": "A String", # The object ID of the master that this layout is based on.
},
@@ -15055,8 +16710,12 @@
# word art.
"renderedText": "A String", # The text rendered as word art.
},
- "description": "A String", # The description of the page element. Combined with title to display alt
- # text.
+ "elementGroup": { # A PageElement kind representing a # A collection of page elements joined as a single unit.
+ # joined collection of PageElements.
+ "children": [ # The collection of elements in the group. The minimum size of a group is 2.
+ # Object with schema name: PageElement
+ ],
+ },
"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.
@@ -15069,7 +16728,7 @@
# effectively accesses the image as the original requester. Access to the
# image may be lost if the presentation's sharing settings change.
"imageProperties": { # The properties of the Image. # The properties of the image.
- "outline": { # The outline of a PageElement. # The outline of the image. If not set, the the image has no outline.
+ "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
@@ -15100,9 +16759,9 @@
},
"propertyState": "A String", # The outline property state.
#
- # Updating the the outline on a page element will implicitly update this
- # field to`RENDERED`, unless another value is specified in the same request.
- # To have no outline on a page element, set this field to `NOT_RENDERED`. In
+ # 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.
"dashStyle": "A String", # The dash style of the outline.
@@ -15178,14 +16837,14 @@
"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.
"angle": 3.14, # The rotation angle of the crop window around its center, in radians.
# Rotation angle is applied after the offset.
"rightOffset": 3.14, # The offset specifies the right edge of the crop rectangle that is located
# to the left of the original bounding rectangle right edge, relative to the
# object's original width.
- "bottomOffset": 3.14, # The offset specifies the bottom edge of the crop rectangle that is located
- # above the original bounding rectangle bottom edge, relative to the object's
- # original height.
"topOffset": 3.14, # The offset specifies the top edge of the crop rectangle that is located
# below the original bounding rectangle top edge, relative to the object's
# original height.
@@ -15229,9 +16888,9 @@
},
"propertyState": "A String", # The shadow property state.
#
- # Updating the the shadow on a page element will implicitly update this field
- # to `RENDERED`, unless another value is specified in the same request. To
- # have no shadow on a page element, set this field to `NOT_RENDERED`. In this
+ # 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.
"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.
@@ -15239,16 +16898,27 @@
"unit": "A String", # The units for magnitude.
},
"alpha": 3.14, # The alpha of the shadow's color, from 0.0 to 1.0.
- "type": "A String", # The type of the shadow.
+ "type": "A String", # The type of the shadow. This property is read-only.
"alignment": "A String", # The alignment point of the shadow, that sets the origin for translate,
- # scale and skew of the shadow.
- "rotateWithShape": True or False, # Whether the shadow should rotate with the shape.
+ # scale and skew of the shadow. This property is read-only.
+ "rotateWithShape": True or False, # Whether the shadow should rotate with the shape. 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.
},
+ "sourceUrl": "A String", # The source URL is the URL used to insert the image. The source URL can be
+ # empty.
},
"transform": { # AffineTransform uses a 3x3 matrix with an implied last row of [ 0 0 1 ] # The transform of the page element.
+ #
+ # The visual appearance of the page element is determined by its absolute
+ # transform. To compute the absolute transform, preconcatenate a page
+ # element's transform with the transforms of all of its parent groups. If the
+ # page element is not in a group, its absolute transform is the same as the
+ # value in this field.
+ #
+ # The initial transform for the newly created Group is always the identity transform.
# to transform source coordinates (x,y) into destination coordinates (x', y')
# according to:
#
@@ -15273,156 +16943,6 @@
# generic shape that does not have a more specific classification.
"text": { # The general text content. The text must reside in a compatible shape (e.g. # The text content of the shape.
# text box or rectangle) or a table cell in a page.
- "lists": { # The bulleted lists contained in this text, keyed by list ID.
- "a_key": { # A List describes the look and feel of bullets belonging to paragraphs
- # associated with a list. A paragraph that is part of a list has an implicit
- # reference to that list's ID.
- "nestingLevel": { # A map of nesting levels to the properties of bullets at the associated
- # level. A list has at most nine levels of nesting, so the possible values
- # for the keys of this map are 0 through 8, inclusive.
- "a_key": { # Contains properties describing the look and feel of a list bullet at a given
- # level of nesting.
- "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The style of a bullet at this level of nesting.
- #
- # If this text is contained in a shape with a parent placeholder, then these text styles may be
- # inherited from the parent. Which text styles are inherited depend on the
- # nesting level of lists:
- #
- # * A text run in a paragraph that is not in a list will inherit its text style
- # from the the newline character in the paragraph at the 0 nesting level of
- # the list inside the parent placeholder.
- # * A text run in a paragraph that is in a list will inherit its text style
- # from the newline character in the paragraph at its corresponding nesting
- # level of the list inside the parent placeholder.
- #
- # Inherited text styles are represented as unset fields in this message. If
- # text is contained in a shape without a parent placeholder, unsetting these
- # fields will revert the style to a value matching the defaults in the Slides
- # editor.
- "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- "bold": True or False, # Whether or not the text is rendered as bold.
- "baselineOffset": "A String", # The text's vertical offset from its normal position.
- #
- # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
- # rendered in a smaller font size, computed based on the `font_size` field.
- # The `font_size` itself is not affected by changes in this field.
- "strikethrough": True or False, # Whether or not the text is struck through.
- "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").
- },
- "smallCaps": True or False, # Whether or not the text is in small capital letters.
- "fontFamily": "A String", # The font family of the text.
- #
- # The font family can be any font from the Font menu in Slides or from
- # [Google Fonts] (https://fonts.google.com/). If the font name is
- # unrecognized, the text is rendered in `Arial`.
- #
- # Some fonts can affect the weight of the text. If an update request
- # specifies values for both `font_family` and `bold`, the explicitly-set
- # `bold` value is used.
- "italic": True or False, # Whether or not the text is italicized.
- "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
- # are not inherited from parent text.
- #
- # Changing the link in an update request causes some other changes to the
- # text style of the range:
- #
- # * When setting a link, the text foreground color will be set to
- # ThemeColorType.HYPERLINK and the text will
- # be underlined. If these fields are modified in the same
- # request, those values will be used instead of the link defaults.
- # * Setting a link on a text range that overlaps with an existing link will
- # also update the existing link to point to the new URL.
- # * Links are not settable on newline characters. As a result, setting a link
- # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
- # will separate the newline character(s) into their own text runs. The
- # link will be applied separately to the runs before and after the newline.
- # * Removing a link will update the text style of the range to match the
- # style of the preceding text (or the default text styles if the preceding
- # text is another link) unless different styles are being set in the same
- # request.
- "url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
- # in the presentation. There may not be a slide at this index.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
- "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
- # addressed by its position.
- },
- "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
- "underline": True or False, # Whether or not the text is underlined.
- },
- },
- },
- "listId": "A String", # The ID of the list.
- },
- },
"textElements": [ # The text contents broken down into its component parts, including styling
# information. This property is read-only.
{ # A TextElement describes the content of a range of indices in the text content
@@ -15459,7 +16979,18 @@
},
},
},
- "bold": True or False, # Whether or not the text is rendered as bold.
+ "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
"baselineOffset": "A String", # The text's vertical offset from its normal position.
#
# Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
@@ -15503,7 +17034,8 @@
"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),
+ # 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").
@@ -15518,6 +17050,11 @@
# Some fonts can affect the weight of the text. If an update request
# specifies values for both `font_family` and `bold`, the explicitly-set
# `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
"italic": True or False, # Whether or not the text is italicized.
"link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
# are not inherited from parent text.
@@ -15547,24 +17084,8 @@
"relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
# addressed by its position.
},
- "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
"underline": True or False, # Whether or not the text is underlined.
+ "bold": True or False, # Whether or not the text is rendered as bold.
},
"type": "A String", # The type of this auto text.
},
@@ -15595,7 +17116,7 @@
"direction": "A String", # The text direction of this paragraph. If unset, the value defaults to
# LEFT_TO_RIGHT since
# text direction is not inherited.
- "spaceBelow": { # A magnitude in a single direction in the specified units. # The amount of extra space above the paragraph. If unset, the value is
+ "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.
"magnitude": 3.14, # The magnitude.
"unit": "A String", # The units for magnitude.
@@ -15659,7 +17180,18 @@
},
},
},
- "bold": True or False, # Whether or not the text is rendered as bold.
+ "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
"baselineOffset": "A String", # The text's vertical offset from its normal position.
#
# Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
@@ -15703,7 +17235,8 @@
"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),
+ # 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").
@@ -15718,6 +17251,11 @@
# Some fonts can affect the weight of the text. If an update request
# specifies values for both `font_family` and `bold`, the explicitly-set
# `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
"italic": True or False, # Whether or not the text is italicized.
"link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
# are not inherited from parent text.
@@ -15747,24 +17285,8 @@
"relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
# addressed by its position.
},
- "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
"underline": True or False, # Whether or not the text is underlined.
+ "bold": True or False, # Whether or not the text is rendered as bold.
},
"glyph": "A String", # The rendered bullet glyph for this paragraph.
},
@@ -15806,7 +17328,18 @@
},
},
},
- "bold": True or False, # Whether or not the text is rendered as bold.
+ "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
"baselineOffset": "A String", # The text's vertical offset from its normal position.
#
# Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
@@ -15850,7 +17383,8 @@
"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),
+ # 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").
@@ -15865,6 +17399,11 @@
# Some fonts can affect the weight of the text. If an update request
# specifies values for both `font_family` and `bold`, the explicitly-set
# `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
"italic": True or False, # Whether or not the text is italicized.
"link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
# are not inherited from parent text.
@@ -15894,28 +17433,163 @@
"relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
# addressed by its position.
},
- "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
"underline": True or False, # Whether or not the text is underlined.
+ "bold": True or False, # Whether or not the text is rendered as bold.
},
},
},
],
+ "lists": { # The bulleted lists contained in this text, keyed by list ID.
+ "a_key": { # A List describes the look and feel of bullets belonging to paragraphs
+ # associated with a list. A paragraph that is part of a list has an implicit
+ # reference to that list's ID.
+ "nestingLevel": { # A map of nesting levels to the properties of bullets at the associated
+ # level. A list has at most nine levels of nesting, so the possible values
+ # for the keys of this map are 0 through 8, inclusive.
+ "a_key": { # Contains properties describing the look and feel of a list bullet at a given
+ # level of nesting.
+ "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The style of a bullet at this level of nesting.
+ #
+ # If this text is contained in a shape with a parent placeholder, then these text styles may be
+ # inherited from the parent. Which text styles are inherited depend on the
+ # nesting level of lists:
+ #
+ # * A text run in a paragraph that is not in a list will inherit its text style
+ # from the the newline character in the paragraph at the 0 nesting level of
+ # the list inside the parent placeholder.
+ # * A text run in a paragraph that is in a list will inherit its text style
+ # from the newline character in the paragraph at its corresponding nesting
+ # level of the list inside the parent placeholder.
+ #
+ # Inherited text styles are represented as unset fields in this message. If
+ # text is contained in a shape without a parent placeholder, unsetting these
+ # fields will revert the style to a value matching the defaults in the Slides
+ # editor.
+ "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ "baselineOffset": "A String", # The text's vertical offset from its normal position.
+ #
+ # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
+ # rendered in a smaller font size, computed based on the `font_size` field.
+ # The `font_size` itself is not affected by changes in this field.
+ "strikethrough": True or False, # Whether or not the text is struck through.
+ "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").
+ },
+ "smallCaps": True or False, # Whether or not the text is in small capital letters.
+ "fontFamily": "A String", # The font family of the text.
+ #
+ # The font family can be any font from the Font menu in Slides or from
+ # [Google Fonts] (https://fonts.google.com/). If the font name is
+ # unrecognized, the text is rendered in `Arial`.
+ #
+ # Some fonts can affect the weight of the text. If an update request
+ # specifies values for both `font_family` and `bold`, the explicitly-set
+ # `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "italic": True or False, # Whether or not the text is italicized.
+ "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
+ # are not inherited from parent text.
+ #
+ # Changing the link in an update request causes some other changes to the
+ # text style of the range:
+ #
+ # * When setting a link, the text foreground color will be set to
+ # ThemeColorType.HYPERLINK and the text will
+ # be underlined. If these fields are modified in the same
+ # request, those values will be used instead of the link defaults.
+ # * Setting a link on a text range that overlaps with an existing link will
+ # also update the existing link to point to the new URL.
+ # * Links are not settable on newline characters. As a result, setting a link
+ # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
+ # will separate the newline character(s) into their own text runs. The
+ # link will be applied separately to the runs before and after the newline.
+ # * Removing a link will update the text style of the range to match the
+ # style of the preceding text (or the default text styles if the preceding
+ # text is another link) unless different styles are being set in the same
+ # request.
+ "url": "A String", # If set, indicates this is a link to the external web page at this URL.
+ "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
+ # in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
+ "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
+ # addressed by its position.
+ },
+ "underline": True or False, # Whether or not the text is underlined.
+ "bold": True or False, # Whether or not the text is rendered as bold.
+ },
+ },
+ },
+ "listId": "A String", # The ID of the list.
+ },
+ },
},
"shapeProperties": { # The properties of a Shape. # The properties of the shape.
#
@@ -15965,9 +17639,9 @@
},
"propertyState": "A String", # The shadow property state.
#
- # Updating the the shadow on a page element will implicitly update this field
- # to `RENDERED`, unless another value is specified in the same request. To
- # have no shadow on a page element, set this field to `NOT_RENDERED`. In this
+ # 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.
"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.
@@ -15975,10 +17649,11 @@
"unit": "A String", # The units for magnitude.
},
"alpha": 3.14, # The alpha of the shadow's color, from 0.0 to 1.0.
- "type": "A String", # The type of the shadow.
+ "type": "A String", # The type of the shadow. This property is read-only.
"alignment": "A String", # The alignment point of the shadow, that sets the origin for translate,
- # scale and skew of the shadow.
- "rotateWithShape": True or False, # Whether the shadow should rotate with the shape.
+ # scale and skew of the shadow. This property is read-only.
+ "rotateWithShape": True or False, # Whether the shadow should rotate with the shape. This property is
+ # read-only.
},
"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
@@ -16007,7 +17682,7 @@
},
"propertyState": "A String", # The background fill property state.
#
- # Updating the the fill on a shape will implicitly update this field to
+ # Updating the fill on a shape will implicitly update this field to
# `RENDERED`, unless another value is specified in the same request. To
# have no fill on a shape, set this field to `NOT_RENDERED`. In this case,
# any other fill fields set in the same request will be ignored.
@@ -16056,9 +17731,9 @@
},
"propertyState": "A String", # The outline property state.
#
- # Updating the the outline on a page element will implicitly update this
- # field to`RENDERED`, unless another value is specified in the same request.
- # To have no outline on a page element, set this field to `NOT_RENDERED`. In
+ # 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.
"dashStyle": "A String", # The dash style of the outline.
@@ -16067,6 +17742,10 @@
"unit": "A String", # The units for magnitude.
},
},
+ "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.
},
"placeholder": { # The placeholder information that uniquely identifies a placeholder shape. # Placeholders are shapes that are inherit from corresponding placeholders on
# layouts and masters.
@@ -16093,7 +17772,7 @@
"spreadsheetId": "A String", # The ID of the Google Sheets spreadsheet that contains the source chart.
"sheetsChartProperties": { # The properties of the SheetsChart. # The properties of the Sheets chart.
"chartImageProperties": { # The properties of the Image. # The properties of the embedded chart image.
- "outline": { # The outline of a PageElement. # The outline of the image. If not set, the the image has no outline.
+ "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
@@ -16124,9 +17803,9 @@
},
"propertyState": "A String", # The outline property state.
#
- # Updating the the outline on a page element will implicitly update this
- # field to`RENDERED`, unless another value is specified in the same request.
- # To have no outline on a page element, set this field to `NOT_RENDERED`. In
+ # 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.
"dashStyle": "A String", # The dash style of the outline.
@@ -16202,14 +17881,14 @@
"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.
"angle": 3.14, # The rotation angle of the crop window around its center, in radians.
# Rotation angle is applied after the offset.
"rightOffset": 3.14, # The offset specifies the right edge of the crop rectangle that is located
# to the left of the original bounding rectangle right edge, relative to the
# object's original width.
- "bottomOffset": 3.14, # The offset specifies the bottom edge of the crop rectangle that is located
- # above the original bounding rectangle bottom edge, relative to the object's
- # original height.
"topOffset": 3.14, # The offset specifies the top edge of the crop rectangle that is located
# below the original bounding rectangle top edge, relative to the object's
# original height.
@@ -16253,9 +17932,9 @@
},
"propertyState": "A String", # The shadow property state.
#
- # Updating the the shadow on a page element will implicitly update this field
- # to `RENDERED`, unless another value is specified in the same request. To
- # have no shadow on a page element, set this field to `NOT_RENDERED`. In this
+ # 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.
"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.
@@ -16263,10 +17942,11 @@
"unit": "A String", # The units for magnitude.
},
"alpha": 3.14, # The alpha of the shadow's color, from 0.0 to 1.0.
- "type": "A String", # The type of the shadow.
+ "type": "A String", # The type of the shadow. This property is read-only.
"alignment": "A String", # The alignment point of the shadow, that sets the origin for translate,
- # scale and skew of the shadow.
- "rotateWithShape": True or False, # Whether the shadow should rotate with the shape.
+ # scale and skew of the shadow. This property is read-only.
+ "rotateWithShape": True or False, # Whether the shadow should rotate with the shape. 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.
@@ -16277,9 +17957,22 @@
},
"video": { # A PageElement kind representing a # A video page element.
# video.
- "url": "A String", # An URL to a video. The URL is valid as long as the source video
- # exists and sharing settings do not change.
+ "url": "A String", # An URL to a video. The URL is valid as long as the source video exists and
+ # sharing settings do not change.
"videoProperties": { # The properties of the Video. # The properties of the video.
+ "start": 42, # The time at which to start playback, measured in seconds from the beginning
+ # of the video.
+ # If set, the start time should be before the end time.
+ # If you set this to a value that exceeds the video's length in seconds, the
+ # video will be played from the last second.
+ # If not set, the video will be played from the beginning.
+ "autoPlay": True or False, # Whether to enable video autoplay when the page is displayed in present
+ # mode. Defaults to false.
+ "end": 42, # The time at which to end playback, measured in seconds from the beginning
+ # of the video.
+ # If set, the end time should be after the start time.
+ # If not set or if you set this to a value that exceeds the video's length,
+ # the video will be played until its end.
"outline": { # The outline of a PageElement. # The outline of the video. The default outline matches the defaults for new
# videos created in the Slides editor.
#
@@ -16312,9 +18005,9 @@
},
"propertyState": "A String", # The outline property state.
#
- # Updating the the outline on a page element will implicitly update this
- # field to`RENDERED`, unless another value is specified in the same request.
- # To have no outline on a page element, set this field to `NOT_RENDERED`. In
+ # 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.
"dashStyle": "A String", # The dash style of the outline.
@@ -16323,18 +18016,112 @@
"unit": "A String", # The units for magnitude.
},
},
+ "mute": True or False, # Whether to mute the audio during video playback. Defaults to false.
},
"id": "A String", # The video source's unique identifier for this video.
"source": "A String", # The video source.
},
- "elementGroup": { # A PageElement kind representing a # A collection of page elements joined as a single unit.
- # joined collection of PageElements.
- "children": [ # The collection of elements in the group. The minimum size of a group is 2.
- # Object with schema name: PageElement
- ],
- },
"table": { # A PageElement kind representing a # A table page element.
# table.
+ "rows": 42, # Number of rows in the table.
+ "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.
+ "tableBorderProperties": { # The border styling properties of the # The border properties.
+ # TableBorderCell.
+ "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.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel.
+ # That is, the final pixel color is defined by the equation:
+ #
+ # pixel color = alpha * (color) + (1.0 - alpha) * (background color)
+ #
+ # This means that a value of 1.0 corresponds to a solid color, whereas
+ # a value of 0.0 corresponds to a completely transparent color.
+ },
+ },
+ "dashStyle": "A String", # The dash style of the border.
+ "weight": { # A magnitude in a single direction in the specified units. # The thickness of the border.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ },
+ "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.
+ },
+ },
+ ],
+ },
+ ],
+ "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.
+ "tableBorderProperties": { # The border styling properties of the # The border properties.
+ # TableBorderCell.
+ "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.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel.
+ # That is, the final pixel color is defined by the equation:
+ #
+ # pixel color = alpha * (color) + (1.0 - alpha) * (background color)
+ #
+ # This means that a value of 1.0 corresponds to a solid color, whereas
+ # a value of 0.0 corresponds to a completely transparent color.
+ },
+ },
+ "dashStyle": "A String", # The dash style of the border.
+ "weight": { # A magnitude in a single direction in the specified units. # The thickness of the border.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ },
+ "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.
+ },
+ },
+ ],
+ },
+ ],
"tableColumns": [ # Properties of each column.
{ # Properties of each column in a table.
"columnWidth": { # A magnitude in a single direction in the specified units. # Width of a column.
@@ -16358,156 +18145,6 @@
{ # Properties and contents of each table cell.
"text": { # The general text content. The text must reside in a compatible shape (e.g. # The text content of the cell.
# text box or rectangle) or a table cell in a page.
- "lists": { # The bulleted lists contained in this text, keyed by list ID.
- "a_key": { # A List describes the look and feel of bullets belonging to paragraphs
- # associated with a list. A paragraph that is part of a list has an implicit
- # reference to that list's ID.
- "nestingLevel": { # A map of nesting levels to the properties of bullets at the associated
- # level. A list has at most nine levels of nesting, so the possible values
- # for the keys of this map are 0 through 8, inclusive.
- "a_key": { # Contains properties describing the look and feel of a list bullet at a given
- # level of nesting.
- "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The style of a bullet at this level of nesting.
- #
- # If this text is contained in a shape with a parent placeholder, then these text styles may be
- # inherited from the parent. Which text styles are inherited depend on the
- # nesting level of lists:
- #
- # * A text run in a paragraph that is not in a list will inherit its text style
- # from the the newline character in the paragraph at the 0 nesting level of
- # the list inside the parent placeholder.
- # * A text run in a paragraph that is in a list will inherit its text style
- # from the newline character in the paragraph at its corresponding nesting
- # level of the list inside the parent placeholder.
- #
- # Inherited text styles are represented as unset fields in this message. If
- # text is contained in a shape without a parent placeholder, unsetting these
- # fields will revert the style to a value matching the defaults in the Slides
- # editor.
- "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- "bold": True or False, # Whether or not the text is rendered as bold.
- "baselineOffset": "A String", # The text's vertical offset from its normal position.
- #
- # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
- # rendered in a smaller font size, computed based on the `font_size` field.
- # The `font_size` itself is not affected by changes in this field.
- "strikethrough": True or False, # Whether or not the text is struck through.
- "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").
- },
- "smallCaps": True or False, # Whether or not the text is in small capital letters.
- "fontFamily": "A String", # The font family of the text.
- #
- # The font family can be any font from the Font menu in Slides or from
- # [Google Fonts] (https://fonts.google.com/). If the font name is
- # unrecognized, the text is rendered in `Arial`.
- #
- # Some fonts can affect the weight of the text. If an update request
- # specifies values for both `font_family` and `bold`, the explicitly-set
- # `bold` value is used.
- "italic": True or False, # Whether or not the text is italicized.
- "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
- # are not inherited from parent text.
- #
- # Changing the link in an update request causes some other changes to the
- # text style of the range:
- #
- # * When setting a link, the text foreground color will be set to
- # ThemeColorType.HYPERLINK and the text will
- # be underlined. If these fields are modified in the same
- # request, those values will be used instead of the link defaults.
- # * Setting a link on a text range that overlaps with an existing link will
- # also update the existing link to point to the new URL.
- # * Links are not settable on newline characters. As a result, setting a link
- # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
- # will separate the newline character(s) into their own text runs. The
- # link will be applied separately to the runs before and after the newline.
- # * Removing a link will update the text style of the range to match the
- # style of the preceding text (or the default text styles if the preceding
- # text is another link) unless different styles are being set in the same
- # request.
- "url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
- # in the presentation. There may not be a slide at this index.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
- "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
- # addressed by its position.
- },
- "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
- "underline": True or False, # Whether or not the text is underlined.
- },
- },
- },
- "listId": "A String", # The ID of the list.
- },
- },
"textElements": [ # The text contents broken down into its component parts, including styling
# information. This property is read-only.
{ # A TextElement describes the content of a range of indices in the text content
@@ -16544,7 +18181,18 @@
},
},
},
- "bold": True or False, # Whether or not the text is rendered as bold.
+ "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
"baselineOffset": "A String", # The text's vertical offset from its normal position.
#
# Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
@@ -16588,7 +18236,8 @@
"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),
+ # 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").
@@ -16603,6 +18252,11 @@
# Some fonts can affect the weight of the text. If an update request
# specifies values for both `font_family` and `bold`, the explicitly-set
# `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
"italic": True or False, # Whether or not the text is italicized.
"link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
# are not inherited from parent text.
@@ -16632,24 +18286,8 @@
"relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
# addressed by its position.
},
- "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
"underline": True or False, # Whether or not the text is underlined.
+ "bold": True or False, # Whether or not the text is rendered as bold.
},
"type": "A String", # The type of this auto text.
},
@@ -16680,7 +18318,7 @@
"direction": "A String", # The text direction of this paragraph. If unset, the value defaults to
# LEFT_TO_RIGHT since
# text direction is not inherited.
- "spaceBelow": { # A magnitude in a single direction in the specified units. # The amount of extra space above the paragraph. If unset, the value is
+ "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.
"magnitude": 3.14, # The magnitude.
"unit": "A String", # The units for magnitude.
@@ -16744,7 +18382,18 @@
},
},
},
- "bold": True or False, # Whether or not the text is rendered as bold.
+ "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
"baselineOffset": "A String", # The text's vertical offset from its normal position.
#
# Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
@@ -16788,7 +18437,8 @@
"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),
+ # 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").
@@ -16803,6 +18453,11 @@
# Some fonts can affect the weight of the text. If an update request
# specifies values for both `font_family` and `bold`, the explicitly-set
# `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
"italic": True or False, # Whether or not the text is italicized.
"link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
# are not inherited from parent text.
@@ -16832,24 +18487,8 @@
"relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
# addressed by its position.
},
- "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
"underline": True or False, # Whether or not the text is underlined.
+ "bold": True or False, # Whether or not the text is rendered as bold.
},
"glyph": "A String", # The rendered bullet glyph for this paragraph.
},
@@ -16891,7 +18530,18 @@
},
},
},
- "bold": True or False, # Whether or not the text is rendered as bold.
+ "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
"baselineOffset": "A String", # The text's vertical offset from its normal position.
#
# Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
@@ -16935,7 +18585,8 @@
"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),
+ # 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").
@@ -16950,6 +18601,11 @@
# Some fonts can affect the weight of the text. If an update request
# specifies values for both `font_family` and `bold`, the explicitly-set
# `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
"italic": True or False, # Whether or not the text is italicized.
"link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
# are not inherited from parent text.
@@ -16979,28 +18635,163 @@
"relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
# addressed by its position.
},
- "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
"underline": True or False, # Whether or not the text is underlined.
+ "bold": True or False, # Whether or not the text is rendered as bold.
},
},
},
],
+ "lists": { # The bulleted lists contained in this text, keyed by list ID.
+ "a_key": { # A List describes the look and feel of bullets belonging to paragraphs
+ # associated with a list. A paragraph that is part of a list has an implicit
+ # reference to that list's ID.
+ "nestingLevel": { # A map of nesting levels to the properties of bullets at the associated
+ # level. A list has at most nine levels of nesting, so the possible values
+ # for the keys of this map are 0 through 8, inclusive.
+ "a_key": { # Contains properties describing the look and feel of a list bullet at a given
+ # level of nesting.
+ "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The style of a bullet at this level of nesting.
+ #
+ # If this text is contained in a shape with a parent placeholder, then these text styles may be
+ # inherited from the parent. Which text styles are inherited depend on the
+ # nesting level of lists:
+ #
+ # * A text run in a paragraph that is not in a list will inherit its text style
+ # from the the newline character in the paragraph at the 0 nesting level of
+ # the list inside the parent placeholder.
+ # * A text run in a paragraph that is in a list will inherit its text style
+ # from the newline character in the paragraph at its corresponding nesting
+ # level of the list inside the parent placeholder.
+ #
+ # Inherited text styles are represented as unset fields in this message. If
+ # text is contained in a shape without a parent placeholder, unsetting these
+ # fields will revert the style to a value matching the defaults in the Slides
+ # editor.
+ "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ "baselineOffset": "A String", # The text's vertical offset from its normal position.
+ #
+ # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
+ # rendered in a smaller font size, computed based on the `font_size` field.
+ # The `font_size` itself is not affected by changes in this field.
+ "strikethrough": True or False, # Whether or not the text is struck through.
+ "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").
+ },
+ "smallCaps": True or False, # Whether or not the text is in small capital letters.
+ "fontFamily": "A String", # The font family of the text.
+ #
+ # The font family can be any font from the Font menu in Slides or from
+ # [Google Fonts] (https://fonts.google.com/). If the font name is
+ # unrecognized, the text is rendered in `Arial`.
+ #
+ # Some fonts can affect the weight of the text. If an update request
+ # specifies values for both `font_family` and `bold`, the explicitly-set
+ # `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "italic": True or False, # Whether or not the text is italicized.
+ "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
+ # are not inherited from parent text.
+ #
+ # Changing the link in an update request causes some other changes to the
+ # text style of the range:
+ #
+ # * When setting a link, the text foreground color will be set to
+ # ThemeColorType.HYPERLINK and the text will
+ # be underlined. If these fields are modified in the same
+ # request, those values will be used instead of the link defaults.
+ # * Setting a link on a text range that overlaps with an existing link will
+ # also update the existing link to point to the new URL.
+ # * Links are not settable on newline characters. As a result, setting a link
+ # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
+ # will separate the newline character(s) into their own text runs. The
+ # link will be applied separately to the runs before and after the newline.
+ # * Removing a link will update the text style of the range to match the
+ # style of the preceding text (or the default text styles if the preceding
+ # text is another link) unless different styles are being set in the same
+ # request.
+ "url": "A String", # If set, indicates this is a link to the external web page at this URL.
+ "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
+ # in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
+ "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
+ # addressed by its position.
+ },
+ "underline": True or False, # Whether or not the text is underlined.
+ "bold": True or False, # Whether or not the text is rendered as bold.
+ },
+ },
+ },
+ "listId": "A String", # The ID of the list.
+ },
+ },
},
"tableCellProperties": { # The properties of the TableCell. # The properties of the table cell.
"tableCellBackgroundFill": { # The table cell background fill. # The background fill of the table cell. The default fill matches the fill
@@ -17028,11 +18819,13 @@
},
"propertyState": "A String", # The background fill property state.
#
- # Updating the the fill on a table cell will implicitly update this field
+ # Updating the fill on a table cell will implicitly update this field
# to `RENDERED`, unless another value is specified in the same request. To
# have no fill on a table cell, set this field to `NOT_RENDERED`. In this
# case, any other fill fields set in the same request will be ignored.
},
+ "contentAlignment": "A String", # The alignment of the content in the table cell. The default alignment
+ # matches the alignment for newly created table cells in the Slides editor.
},
"rowSpan": 42, # Row span of the cell.
"columnSpan": 42, # Column span of the cell.
@@ -17046,13 +18839,24 @@
"magnitude": 3.14, # The magnitude.
"unit": "A String", # The units for 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).
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ },
},
],
- "rows": 42, # Number of rows in the table.
"columns": 42, # Number of columns in the table.
},
"line": { # A PageElement kind representing a # A line page element.
- # line, curved connector, or bent connector.
+ # non-connector line, straight connector, curved connector, or bent connector.
+ "lineCategory": "A String", # The category of the line.
+ #
+ # It matches the `category` specified in CreateLineRequest, and can be updated with
+ # UpdateLineCategoryRequest.
"lineProperties": { # The properties of the Line. # The properties of the line.
#
# When unset, these fields default to values that match the appearance of
@@ -17096,6 +18900,51 @@
# a value of 0.0 corresponds to a completely transparent color.
},
},
+ "startConnection": { # The properties for one end of a Line # The connection at the beginning of the line. If unset, there is no
+ # connection.
+ #
+ # Only lines with a Type indicating it is
+ # a "connector" can have a `start_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.
+ },
+ "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.
+ },
"startArrow": "A String", # The style of the arrow at the beginning of the line.
},
"lineType": "A String", # The type of the line.
@@ -17110,6 +18959,8 @@
"unit": "A String", # The units for magnitude.
},
},
+ "description": "A String", # The description of the page element. Combined with title to display alt
+ # text.
},
],
"notesProperties": { # The properties of Page that are only # Notes specific properties. Only set if page_type = NOTES.
@@ -17136,6 +18987,10 @@
# 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.
+ "masterProperties": { # The properties of Page that are only # Master specific properties. Only set if page_type = MASTER.
+ # relevant for pages with page_type MASTER.
+ "displayName": "A String", # The human-readable name of the master.
+ },
"pageProperties": { # The properties of the Page. # The properties of the page.
#
# The page will inherit properties from the parent page. Depending on the page
@@ -17168,7 +19023,7 @@
},
"propertyState": "A String", # The background fill property state.
#
- # Updating the the fill on a page will implicitly update this field to
+ # 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.
@@ -17185,8 +19040,10 @@
#
# The picture is fetched once at insertion time and a copy is stored for
# display inside the presentation. Pictures must be less than 50MB in size,
- # cannot exceed 25 megapixels, and must be in either in PNG, JPEG, or GIF
+ # 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.
"magnitude": 3.14, # The magnitude.
@@ -17225,9 +19082,11 @@
# notes for this slide. The ID of this shape is identified by the
# speakerNotesObjectId field.
# The notes page is read-only except for the text content and styles of the
- # speaker notes shape.
- "masterObjectId": "A String", # The object ID of the master that this slide is based on.
- "layoutObjectId": "A String", # The object ID of the layout that this slide is based on.
+ # 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.
},
},
],
@@ -17237,7 +19096,7 @@
{ # A page in a presentation.
"layoutProperties": { # The properties of Page are only # Layout specific properties. Only set if page_type = LAYOUT.
# relevant for pages with page_type LAYOUT.
- "displayName": "A String", # The human readable name of the layout in the presentation's locale.
+ "displayName": "A String", # The human-readable name of the layout.
"name": "A String", # The name of the layout.
"masterObjectId": "A String", # The object ID of the master that this layout is based on.
},
@@ -17247,8 +19106,12 @@
# word art.
"renderedText": "A String", # The text rendered as word art.
},
- "description": "A String", # The description of the page element. Combined with title to display alt
- # text.
+ "elementGroup": { # A PageElement kind representing a # A collection of page elements joined as a single unit.
+ # joined collection of PageElements.
+ "children": [ # The collection of elements in the group. The minimum size of a group is 2.
+ # Object with schema name: PageElement
+ ],
+ },
"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.
@@ -17261,7 +19124,7 @@
# effectively accesses the image as the original requester. Access to the
# image may be lost if the presentation's sharing settings change.
"imageProperties": { # The properties of the Image. # The properties of the image.
- "outline": { # The outline of a PageElement. # The outline of the image. If not set, the the image has no outline.
+ "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
@@ -17292,9 +19155,9 @@
},
"propertyState": "A String", # The outline property state.
#
- # Updating the the outline on a page element will implicitly update this
- # field to`RENDERED`, unless another value is specified in the same request.
- # To have no outline on a page element, set this field to `NOT_RENDERED`. In
+ # 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.
"dashStyle": "A String", # The dash style of the outline.
@@ -17370,14 +19233,14 @@
"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.
"angle": 3.14, # The rotation angle of the crop window around its center, in radians.
# Rotation angle is applied after the offset.
"rightOffset": 3.14, # The offset specifies the right edge of the crop rectangle that is located
# to the left of the original bounding rectangle right edge, relative to the
# object's original width.
- "bottomOffset": 3.14, # The offset specifies the bottom edge of the crop rectangle that is located
- # above the original bounding rectangle bottom edge, relative to the object's
- # original height.
"topOffset": 3.14, # The offset specifies the top edge of the crop rectangle that is located
# below the original bounding rectangle top edge, relative to the object's
# original height.
@@ -17421,9 +19284,9 @@
},
"propertyState": "A String", # The shadow property state.
#
- # Updating the the shadow on a page element will implicitly update this field
- # to `RENDERED`, unless another value is specified in the same request. To
- # have no shadow on a page element, set this field to `NOT_RENDERED`. In this
+ # 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.
"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.
@@ -17431,16 +19294,27 @@
"unit": "A String", # The units for magnitude.
},
"alpha": 3.14, # The alpha of the shadow's color, from 0.0 to 1.0.
- "type": "A String", # The type of the shadow.
+ "type": "A String", # The type of the shadow. This property is read-only.
"alignment": "A String", # The alignment point of the shadow, that sets the origin for translate,
- # scale and skew of the shadow.
- "rotateWithShape": True or False, # Whether the shadow should rotate with the shape.
+ # scale and skew of the shadow. This property is read-only.
+ "rotateWithShape": True or False, # Whether the shadow should rotate with the shape. 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.
},
+ "sourceUrl": "A String", # The source URL is the URL used to insert the image. The source URL can be
+ # empty.
},
"transform": { # AffineTransform uses a 3x3 matrix with an implied last row of [ 0 0 1 ] # The transform of the page element.
+ #
+ # The visual appearance of the page element is determined by its absolute
+ # transform. To compute the absolute transform, preconcatenate a page
+ # element's transform with the transforms of all of its parent groups. If the
+ # page element is not in a group, its absolute transform is the same as the
+ # value in this field.
+ #
+ # The initial transform for the newly created Group is always the identity transform.
# to transform source coordinates (x,y) into destination coordinates (x', y')
# according to:
#
@@ -17465,156 +19339,6 @@
# generic shape that does not have a more specific classification.
"text": { # The general text content. The text must reside in a compatible shape (e.g. # The text content of the shape.
# text box or rectangle) or a table cell in a page.
- "lists": { # The bulleted lists contained in this text, keyed by list ID.
- "a_key": { # A List describes the look and feel of bullets belonging to paragraphs
- # associated with a list. A paragraph that is part of a list has an implicit
- # reference to that list's ID.
- "nestingLevel": { # A map of nesting levels to the properties of bullets at the associated
- # level. A list has at most nine levels of nesting, so the possible values
- # for the keys of this map are 0 through 8, inclusive.
- "a_key": { # Contains properties describing the look and feel of a list bullet at a given
- # level of nesting.
- "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The style of a bullet at this level of nesting.
- #
- # If this text is contained in a shape with a parent placeholder, then these text styles may be
- # inherited from the parent. Which text styles are inherited depend on the
- # nesting level of lists:
- #
- # * A text run in a paragraph that is not in a list will inherit its text style
- # from the the newline character in the paragraph at the 0 nesting level of
- # the list inside the parent placeholder.
- # * A text run in a paragraph that is in a list will inherit its text style
- # from the newline character in the paragraph at its corresponding nesting
- # level of the list inside the parent placeholder.
- #
- # Inherited text styles are represented as unset fields in this message. If
- # text is contained in a shape without a parent placeholder, unsetting these
- # fields will revert the style to a value matching the defaults in the Slides
- # editor.
- "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- "bold": True or False, # Whether or not the text is rendered as bold.
- "baselineOffset": "A String", # The text's vertical offset from its normal position.
- #
- # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
- # rendered in a smaller font size, computed based on the `font_size` field.
- # The `font_size` itself is not affected by changes in this field.
- "strikethrough": True or False, # Whether or not the text is struck through.
- "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").
- },
- "smallCaps": True or False, # Whether or not the text is in small capital letters.
- "fontFamily": "A String", # The font family of the text.
- #
- # The font family can be any font from the Font menu in Slides or from
- # [Google Fonts] (https://fonts.google.com/). If the font name is
- # unrecognized, the text is rendered in `Arial`.
- #
- # Some fonts can affect the weight of the text. If an update request
- # specifies values for both `font_family` and `bold`, the explicitly-set
- # `bold` value is used.
- "italic": True or False, # Whether or not the text is italicized.
- "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
- # are not inherited from parent text.
- #
- # Changing the link in an update request causes some other changes to the
- # text style of the range:
- #
- # * When setting a link, the text foreground color will be set to
- # ThemeColorType.HYPERLINK and the text will
- # be underlined. If these fields are modified in the same
- # request, those values will be used instead of the link defaults.
- # * Setting a link on a text range that overlaps with an existing link will
- # also update the existing link to point to the new URL.
- # * Links are not settable on newline characters. As a result, setting a link
- # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
- # will separate the newline character(s) into their own text runs. The
- # link will be applied separately to the runs before and after the newline.
- # * Removing a link will update the text style of the range to match the
- # style of the preceding text (or the default text styles if the preceding
- # text is another link) unless different styles are being set in the same
- # request.
- "url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
- # in the presentation. There may not be a slide at this index.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
- "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
- # addressed by its position.
- },
- "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
- "underline": True or False, # Whether or not the text is underlined.
- },
- },
- },
- "listId": "A String", # The ID of the list.
- },
- },
"textElements": [ # The text contents broken down into its component parts, including styling
# information. This property is read-only.
{ # A TextElement describes the content of a range of indices in the text content
@@ -17651,7 +19375,18 @@
},
},
},
- "bold": True or False, # Whether or not the text is rendered as bold.
+ "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
"baselineOffset": "A String", # The text's vertical offset from its normal position.
#
# Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
@@ -17695,7 +19430,8 @@
"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),
+ # 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").
@@ -17710,6 +19446,11 @@
# Some fonts can affect the weight of the text. If an update request
# specifies values for both `font_family` and `bold`, the explicitly-set
# `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
"italic": True or False, # Whether or not the text is italicized.
"link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
# are not inherited from parent text.
@@ -17739,24 +19480,8 @@
"relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
# addressed by its position.
},
- "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
"underline": True or False, # Whether or not the text is underlined.
+ "bold": True or False, # Whether or not the text is rendered as bold.
},
"type": "A String", # The type of this auto text.
},
@@ -17787,7 +19512,7 @@
"direction": "A String", # The text direction of this paragraph. If unset, the value defaults to
# LEFT_TO_RIGHT since
# text direction is not inherited.
- "spaceBelow": { # A magnitude in a single direction in the specified units. # The amount of extra space above the paragraph. If unset, the value is
+ "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.
"magnitude": 3.14, # The magnitude.
"unit": "A String", # The units for magnitude.
@@ -17851,7 +19576,18 @@
},
},
},
- "bold": True or False, # Whether or not the text is rendered as bold.
+ "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
"baselineOffset": "A String", # The text's vertical offset from its normal position.
#
# Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
@@ -17895,7 +19631,8 @@
"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),
+ # 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").
@@ -17910,6 +19647,11 @@
# Some fonts can affect the weight of the text. If an update request
# specifies values for both `font_family` and `bold`, the explicitly-set
# `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
"italic": True or False, # Whether or not the text is italicized.
"link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
# are not inherited from parent text.
@@ -17939,24 +19681,8 @@
"relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
# addressed by its position.
},
- "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
"underline": True or False, # Whether or not the text is underlined.
+ "bold": True or False, # Whether or not the text is rendered as bold.
},
"glyph": "A String", # The rendered bullet glyph for this paragraph.
},
@@ -17998,7 +19724,18 @@
},
},
},
- "bold": True or False, # Whether or not the text is rendered as bold.
+ "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
"baselineOffset": "A String", # The text's vertical offset from its normal position.
#
# Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
@@ -18042,7 +19779,8 @@
"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),
+ # 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").
@@ -18057,6 +19795,11 @@
# Some fonts can affect the weight of the text. If an update request
# specifies values for both `font_family` and `bold`, the explicitly-set
# `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
"italic": True or False, # Whether or not the text is italicized.
"link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
# are not inherited from parent text.
@@ -18086,28 +19829,163 @@
"relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
# addressed by its position.
},
- "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
"underline": True or False, # Whether or not the text is underlined.
+ "bold": True or False, # Whether or not the text is rendered as bold.
},
},
},
],
+ "lists": { # The bulleted lists contained in this text, keyed by list ID.
+ "a_key": { # A List describes the look and feel of bullets belonging to paragraphs
+ # associated with a list. A paragraph that is part of a list has an implicit
+ # reference to that list's ID.
+ "nestingLevel": { # A map of nesting levels to the properties of bullets at the associated
+ # level. A list has at most nine levels of nesting, so the possible values
+ # for the keys of this map are 0 through 8, inclusive.
+ "a_key": { # Contains properties describing the look and feel of a list bullet at a given
+ # level of nesting.
+ "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The style of a bullet at this level of nesting.
+ #
+ # If this text is contained in a shape with a parent placeholder, then these text styles may be
+ # inherited from the parent. Which text styles are inherited depend on the
+ # nesting level of lists:
+ #
+ # * A text run in a paragraph that is not in a list will inherit its text style
+ # from the the newline character in the paragraph at the 0 nesting level of
+ # the list inside the parent placeholder.
+ # * A text run in a paragraph that is in a list will inherit its text style
+ # from the newline character in the paragraph at its corresponding nesting
+ # level of the list inside the parent placeholder.
+ #
+ # Inherited text styles are represented as unset fields in this message. If
+ # text is contained in a shape without a parent placeholder, unsetting these
+ # fields will revert the style to a value matching the defaults in the Slides
+ # editor.
+ "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ "baselineOffset": "A String", # The text's vertical offset from its normal position.
+ #
+ # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
+ # rendered in a smaller font size, computed based on the `font_size` field.
+ # The `font_size` itself is not affected by changes in this field.
+ "strikethrough": True or False, # Whether or not the text is struck through.
+ "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").
+ },
+ "smallCaps": True or False, # Whether or not the text is in small capital letters.
+ "fontFamily": "A String", # The font family of the text.
+ #
+ # The font family can be any font from the Font menu in Slides or from
+ # [Google Fonts] (https://fonts.google.com/). If the font name is
+ # unrecognized, the text is rendered in `Arial`.
+ #
+ # Some fonts can affect the weight of the text. If an update request
+ # specifies values for both `font_family` and `bold`, the explicitly-set
+ # `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "italic": True or False, # Whether or not the text is italicized.
+ "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
+ # are not inherited from parent text.
+ #
+ # Changing the link in an update request causes some other changes to the
+ # text style of the range:
+ #
+ # * When setting a link, the text foreground color will be set to
+ # ThemeColorType.HYPERLINK and the text will
+ # be underlined. If these fields are modified in the same
+ # request, those values will be used instead of the link defaults.
+ # * Setting a link on a text range that overlaps with an existing link will
+ # also update the existing link to point to the new URL.
+ # * Links are not settable on newline characters. As a result, setting a link
+ # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
+ # will separate the newline character(s) into their own text runs. The
+ # link will be applied separately to the runs before and after the newline.
+ # * Removing a link will update the text style of the range to match the
+ # style of the preceding text (or the default text styles if the preceding
+ # text is another link) unless different styles are being set in the same
+ # request.
+ "url": "A String", # If set, indicates this is a link to the external web page at this URL.
+ "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
+ # in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
+ "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
+ # addressed by its position.
+ },
+ "underline": True or False, # Whether or not the text is underlined.
+ "bold": True or False, # Whether or not the text is rendered as bold.
+ },
+ },
+ },
+ "listId": "A String", # The ID of the list.
+ },
+ },
},
"shapeProperties": { # The properties of a Shape. # The properties of the shape.
#
@@ -18157,9 +20035,9 @@
},
"propertyState": "A String", # The shadow property state.
#
- # Updating the the shadow on a page element will implicitly update this field
- # to `RENDERED`, unless another value is specified in the same request. To
- # have no shadow on a page element, set this field to `NOT_RENDERED`. In this
+ # 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.
"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.
@@ -18167,10 +20045,11 @@
"unit": "A String", # The units for magnitude.
},
"alpha": 3.14, # The alpha of the shadow's color, from 0.0 to 1.0.
- "type": "A String", # The type of the shadow.
+ "type": "A String", # The type of the shadow. This property is read-only.
"alignment": "A String", # The alignment point of the shadow, that sets the origin for translate,
- # scale and skew of the shadow.
- "rotateWithShape": True or False, # Whether the shadow should rotate with the shape.
+ # scale and skew of the shadow. This property is read-only.
+ "rotateWithShape": True or False, # Whether the shadow should rotate with the shape. This property is
+ # read-only.
},
"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
@@ -18199,7 +20078,7 @@
},
"propertyState": "A String", # The background fill property state.
#
- # Updating the the fill on a shape will implicitly update this field to
+ # Updating the fill on a shape will implicitly update this field to
# `RENDERED`, unless another value is specified in the same request. To
# have no fill on a shape, set this field to `NOT_RENDERED`. In this case,
# any other fill fields set in the same request will be ignored.
@@ -18248,9 +20127,9 @@
},
"propertyState": "A String", # The outline property state.
#
- # Updating the the outline on a page element will implicitly update this
- # field to`RENDERED`, unless another value is specified in the same request.
- # To have no outline on a page element, set this field to `NOT_RENDERED`. In
+ # 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.
"dashStyle": "A String", # The dash style of the outline.
@@ -18259,6 +20138,10 @@
"unit": "A String", # The units for magnitude.
},
},
+ "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.
},
"placeholder": { # The placeholder information that uniquely identifies a placeholder shape. # Placeholders are shapes that are inherit from corresponding placeholders on
# layouts and masters.
@@ -18285,7 +20168,7 @@
"spreadsheetId": "A String", # The ID of the Google Sheets spreadsheet that contains the source chart.
"sheetsChartProperties": { # The properties of the SheetsChart. # The properties of the Sheets chart.
"chartImageProperties": { # The properties of the Image. # The properties of the embedded chart image.
- "outline": { # The outline of a PageElement. # The outline of the image. If not set, the the image has no outline.
+ "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
@@ -18316,9 +20199,9 @@
},
"propertyState": "A String", # The outline property state.
#
- # Updating the the outline on a page element will implicitly update this
- # field to`RENDERED`, unless another value is specified in the same request.
- # To have no outline on a page element, set this field to `NOT_RENDERED`. In
+ # 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.
"dashStyle": "A String", # The dash style of the outline.
@@ -18394,14 +20277,14 @@
"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.
"angle": 3.14, # The rotation angle of the crop window around its center, in radians.
# Rotation angle is applied after the offset.
"rightOffset": 3.14, # The offset specifies the right edge of the crop rectangle that is located
# to the left of the original bounding rectangle right edge, relative to the
# object's original width.
- "bottomOffset": 3.14, # The offset specifies the bottom edge of the crop rectangle that is located
- # above the original bounding rectangle bottom edge, relative to the object's
- # original height.
"topOffset": 3.14, # The offset specifies the top edge of the crop rectangle that is located
# below the original bounding rectangle top edge, relative to the object's
# original height.
@@ -18445,9 +20328,9 @@
},
"propertyState": "A String", # The shadow property state.
#
- # Updating the the shadow on a page element will implicitly update this field
- # to `RENDERED`, unless another value is specified in the same request. To
- # have no shadow on a page element, set this field to `NOT_RENDERED`. In this
+ # 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.
"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.
@@ -18455,10 +20338,11 @@
"unit": "A String", # The units for magnitude.
},
"alpha": 3.14, # The alpha of the shadow's color, from 0.0 to 1.0.
- "type": "A String", # The type of the shadow.
+ "type": "A String", # The type of the shadow. This property is read-only.
"alignment": "A String", # The alignment point of the shadow, that sets the origin for translate,
- # scale and skew of the shadow.
- "rotateWithShape": True or False, # Whether the shadow should rotate with the shape.
+ # scale and skew of the shadow. This property is read-only.
+ "rotateWithShape": True or False, # Whether the shadow should rotate with the shape. 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.
@@ -18469,9 +20353,22 @@
},
"video": { # A PageElement kind representing a # A video page element.
# video.
- "url": "A String", # An URL to a video. The URL is valid as long as the source video
- # exists and sharing settings do not change.
+ "url": "A String", # An URL to a video. The URL is valid as long as the source video exists and
+ # sharing settings do not change.
"videoProperties": { # The properties of the Video. # The properties of the video.
+ "start": 42, # The time at which to start playback, measured in seconds from the beginning
+ # of the video.
+ # If set, the start time should be before the end time.
+ # If you set this to a value that exceeds the video's length in seconds, the
+ # video will be played from the last second.
+ # If not set, the video will be played from the beginning.
+ "autoPlay": True or False, # Whether to enable video autoplay when the page is displayed in present
+ # mode. Defaults to false.
+ "end": 42, # The time at which to end playback, measured in seconds from the beginning
+ # of the video.
+ # If set, the end time should be after the start time.
+ # If not set or if you set this to a value that exceeds the video's length,
+ # the video will be played until its end.
"outline": { # The outline of a PageElement. # The outline of the video. The default outline matches the defaults for new
# videos created in the Slides editor.
#
@@ -18504,9 +20401,9 @@
},
"propertyState": "A String", # The outline property state.
#
- # Updating the the outline on a page element will implicitly update this
- # field to`RENDERED`, unless another value is specified in the same request.
- # To have no outline on a page element, set this field to `NOT_RENDERED`. In
+ # 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.
"dashStyle": "A String", # The dash style of the outline.
@@ -18515,18 +20412,112 @@
"unit": "A String", # The units for magnitude.
},
},
+ "mute": True or False, # Whether to mute the audio during video playback. Defaults to false.
},
"id": "A String", # The video source's unique identifier for this video.
"source": "A String", # The video source.
},
- "elementGroup": { # A PageElement kind representing a # A collection of page elements joined as a single unit.
- # joined collection of PageElements.
- "children": [ # The collection of elements in the group. The minimum size of a group is 2.
- # Object with schema name: PageElement
- ],
- },
"table": { # A PageElement kind representing a # A table page element.
# table.
+ "rows": 42, # Number of rows in the table.
+ "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.
+ "tableBorderProperties": { # The border styling properties of the # The border properties.
+ # TableBorderCell.
+ "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.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel.
+ # That is, the final pixel color is defined by the equation:
+ #
+ # pixel color = alpha * (color) + (1.0 - alpha) * (background color)
+ #
+ # This means that a value of 1.0 corresponds to a solid color, whereas
+ # a value of 0.0 corresponds to a completely transparent color.
+ },
+ },
+ "dashStyle": "A String", # The dash style of the border.
+ "weight": { # A magnitude in a single direction in the specified units. # The thickness of the border.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ },
+ "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.
+ },
+ },
+ ],
+ },
+ ],
+ "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.
+ "tableBorderProperties": { # The border styling properties of the # The border properties.
+ # TableBorderCell.
+ "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.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel.
+ # That is, the final pixel color is defined by the equation:
+ #
+ # pixel color = alpha * (color) + (1.0 - alpha) * (background color)
+ #
+ # This means that a value of 1.0 corresponds to a solid color, whereas
+ # a value of 0.0 corresponds to a completely transparent color.
+ },
+ },
+ "dashStyle": "A String", # The dash style of the border.
+ "weight": { # A magnitude in a single direction in the specified units. # The thickness of the border.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ },
+ "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.
+ },
+ },
+ ],
+ },
+ ],
"tableColumns": [ # Properties of each column.
{ # Properties of each column in a table.
"columnWidth": { # A magnitude in a single direction in the specified units. # Width of a column.
@@ -18550,156 +20541,6 @@
{ # Properties and contents of each table cell.
"text": { # The general text content. The text must reside in a compatible shape (e.g. # The text content of the cell.
# text box or rectangle) or a table cell in a page.
- "lists": { # The bulleted lists contained in this text, keyed by list ID.
- "a_key": { # A List describes the look and feel of bullets belonging to paragraphs
- # associated with a list. A paragraph that is part of a list has an implicit
- # reference to that list's ID.
- "nestingLevel": { # A map of nesting levels to the properties of bullets at the associated
- # level. A list has at most nine levels of nesting, so the possible values
- # for the keys of this map are 0 through 8, inclusive.
- "a_key": { # Contains properties describing the look and feel of a list bullet at a given
- # level of nesting.
- "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The style of a bullet at this level of nesting.
- #
- # If this text is contained in a shape with a parent placeholder, then these text styles may be
- # inherited from the parent. Which text styles are inherited depend on the
- # nesting level of lists:
- #
- # * A text run in a paragraph that is not in a list will inherit its text style
- # from the the newline character in the paragraph at the 0 nesting level of
- # the list inside the parent placeholder.
- # * A text run in a paragraph that is in a list will inherit its text style
- # from the newline character in the paragraph at its corresponding nesting
- # level of the list inside the parent placeholder.
- #
- # Inherited text styles are represented as unset fields in this message. If
- # text is contained in a shape without a parent placeholder, unsetting these
- # fields will revert the style to a value matching the defaults in the Slides
- # editor.
- "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- "bold": True or False, # Whether or not the text is rendered as bold.
- "baselineOffset": "A String", # The text's vertical offset from its normal position.
- #
- # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
- # rendered in a smaller font size, computed based on the `font_size` field.
- # The `font_size` itself is not affected by changes in this field.
- "strikethrough": True or False, # Whether or not the text is struck through.
- "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").
- },
- "smallCaps": True or False, # Whether or not the text is in small capital letters.
- "fontFamily": "A String", # The font family of the text.
- #
- # The font family can be any font from the Font menu in Slides or from
- # [Google Fonts] (https://fonts.google.com/). If the font name is
- # unrecognized, the text is rendered in `Arial`.
- #
- # Some fonts can affect the weight of the text. If an update request
- # specifies values for both `font_family` and `bold`, the explicitly-set
- # `bold` value is used.
- "italic": True or False, # Whether or not the text is italicized.
- "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
- # are not inherited from parent text.
- #
- # Changing the link in an update request causes some other changes to the
- # text style of the range:
- #
- # * When setting a link, the text foreground color will be set to
- # ThemeColorType.HYPERLINK and the text will
- # be underlined. If these fields are modified in the same
- # request, those values will be used instead of the link defaults.
- # * Setting a link on a text range that overlaps with an existing link will
- # also update the existing link to point to the new URL.
- # * Links are not settable on newline characters. As a result, setting a link
- # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
- # will separate the newline character(s) into their own text runs. The
- # link will be applied separately to the runs before and after the newline.
- # * Removing a link will update the text style of the range to match the
- # style of the preceding text (or the default text styles if the preceding
- # text is another link) unless different styles are being set in the same
- # request.
- "url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
- # in the presentation. There may not be a slide at this index.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
- "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
- # addressed by its position.
- },
- "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
- "underline": True or False, # Whether or not the text is underlined.
- },
- },
- },
- "listId": "A String", # The ID of the list.
- },
- },
"textElements": [ # The text contents broken down into its component parts, including styling
# information. This property is read-only.
{ # A TextElement describes the content of a range of indices in the text content
@@ -18736,7 +20577,18 @@
},
},
},
- "bold": True or False, # Whether or not the text is rendered as bold.
+ "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
"baselineOffset": "A String", # The text's vertical offset from its normal position.
#
# Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
@@ -18780,7 +20632,8 @@
"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),
+ # 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").
@@ -18795,6 +20648,11 @@
# Some fonts can affect the weight of the text. If an update request
# specifies values for both `font_family` and `bold`, the explicitly-set
# `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
"italic": True or False, # Whether or not the text is italicized.
"link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
# are not inherited from parent text.
@@ -18824,24 +20682,8 @@
"relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
# addressed by its position.
},
- "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
"underline": True or False, # Whether or not the text is underlined.
+ "bold": True or False, # Whether or not the text is rendered as bold.
},
"type": "A String", # The type of this auto text.
},
@@ -18872,7 +20714,7 @@
"direction": "A String", # The text direction of this paragraph. If unset, the value defaults to
# LEFT_TO_RIGHT since
# text direction is not inherited.
- "spaceBelow": { # A magnitude in a single direction in the specified units. # The amount of extra space above the paragraph. If unset, the value is
+ "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.
"magnitude": 3.14, # The magnitude.
"unit": "A String", # The units for magnitude.
@@ -18936,7 +20778,18 @@
},
},
},
- "bold": True or False, # Whether or not the text is rendered as bold.
+ "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
"baselineOffset": "A String", # The text's vertical offset from its normal position.
#
# Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
@@ -18980,7 +20833,8 @@
"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),
+ # 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").
@@ -18995,6 +20849,11 @@
# Some fonts can affect the weight of the text. If an update request
# specifies values for both `font_family` and `bold`, the explicitly-set
# `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
"italic": True or False, # Whether or not the text is italicized.
"link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
# are not inherited from parent text.
@@ -19024,24 +20883,8 @@
"relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
# addressed by its position.
},
- "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
"underline": True or False, # Whether or not the text is underlined.
+ "bold": True or False, # Whether or not the text is rendered as bold.
},
"glyph": "A String", # The rendered bullet glyph for this paragraph.
},
@@ -19083,7 +20926,18 @@
},
},
},
- "bold": True or False, # Whether or not the text is rendered as bold.
+ "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
"baselineOffset": "A String", # The text's vertical offset from its normal position.
#
# Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
@@ -19127,7 +20981,8 @@
"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),
+ # 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").
@@ -19142,6 +20997,11 @@
# Some fonts can affect the weight of the text. If an update request
# specifies values for both `font_family` and `bold`, the explicitly-set
# `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
"italic": True or False, # Whether or not the text is italicized.
"link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
# are not inherited from parent text.
@@ -19171,28 +21031,163 @@
"relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
# addressed by its position.
},
- "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
"underline": True or False, # Whether or not the text is underlined.
+ "bold": True or False, # Whether or not the text is rendered as bold.
},
},
},
],
+ "lists": { # The bulleted lists contained in this text, keyed by list ID.
+ "a_key": { # A List describes the look and feel of bullets belonging to paragraphs
+ # associated with a list. A paragraph that is part of a list has an implicit
+ # reference to that list's ID.
+ "nestingLevel": { # A map of nesting levels to the properties of bullets at the associated
+ # level. A list has at most nine levels of nesting, so the possible values
+ # for the keys of this map are 0 through 8, inclusive.
+ "a_key": { # Contains properties describing the look and feel of a list bullet at a given
+ # level of nesting.
+ "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The style of a bullet at this level of nesting.
+ #
+ # If this text is contained in a shape with a parent placeholder, then these text styles may be
+ # inherited from the parent. Which text styles are inherited depend on the
+ # nesting level of lists:
+ #
+ # * A text run in a paragraph that is not in a list will inherit its text style
+ # from the the newline character in the paragraph at the 0 nesting level of
+ # the list inside the parent placeholder.
+ # * A text run in a paragraph that is in a list will inherit its text style
+ # from the newline character in the paragraph at its corresponding nesting
+ # level of the list inside the parent placeholder.
+ #
+ # Inherited text styles are represented as unset fields in this message. If
+ # text is contained in a shape without a parent placeholder, unsetting these
+ # fields will revert the style to a value matching the defaults in the Slides
+ # editor.
+ "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ "baselineOffset": "A String", # The text's vertical offset from its normal position.
+ #
+ # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
+ # rendered in a smaller font size, computed based on the `font_size` field.
+ # The `font_size` itself is not affected by changes in this field.
+ "strikethrough": True or False, # Whether or not the text is struck through.
+ "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").
+ },
+ "smallCaps": True or False, # Whether or not the text is in small capital letters.
+ "fontFamily": "A String", # The font family of the text.
+ #
+ # The font family can be any font from the Font menu in Slides or from
+ # [Google Fonts] (https://fonts.google.com/). If the font name is
+ # unrecognized, the text is rendered in `Arial`.
+ #
+ # Some fonts can affect the weight of the text. If an update request
+ # specifies values for both `font_family` and `bold`, the explicitly-set
+ # `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "italic": True or False, # Whether or not the text is italicized.
+ "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
+ # are not inherited from parent text.
+ #
+ # Changing the link in an update request causes some other changes to the
+ # text style of the range:
+ #
+ # * When setting a link, the text foreground color will be set to
+ # ThemeColorType.HYPERLINK and the text will
+ # be underlined. If these fields are modified in the same
+ # request, those values will be used instead of the link defaults.
+ # * Setting a link on a text range that overlaps with an existing link will
+ # also update the existing link to point to the new URL.
+ # * Links are not settable on newline characters. As a result, setting a link
+ # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
+ # will separate the newline character(s) into their own text runs. The
+ # link will be applied separately to the runs before and after the newline.
+ # * Removing a link will update the text style of the range to match the
+ # style of the preceding text (or the default text styles if the preceding
+ # text is another link) unless different styles are being set in the same
+ # request.
+ "url": "A String", # If set, indicates this is a link to the external web page at this URL.
+ "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
+ # in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
+ "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
+ # addressed by its position.
+ },
+ "underline": True or False, # Whether or not the text is underlined.
+ "bold": True or False, # Whether or not the text is rendered as bold.
+ },
+ },
+ },
+ "listId": "A String", # The ID of the list.
+ },
+ },
},
"tableCellProperties": { # The properties of the TableCell. # The properties of the table cell.
"tableCellBackgroundFill": { # The table cell background fill. # The background fill of the table cell. The default fill matches the fill
@@ -19220,11 +21215,13 @@
},
"propertyState": "A String", # The background fill property state.
#
- # Updating the the fill on a table cell will implicitly update this field
+ # Updating the fill on a table cell will implicitly update this field
# to `RENDERED`, unless another value is specified in the same request. To
# have no fill on a table cell, set this field to `NOT_RENDERED`. In this
# case, any other fill fields set in the same request will be ignored.
},
+ "contentAlignment": "A String", # The alignment of the content in the table cell. The default alignment
+ # matches the alignment for newly created table cells in the Slides editor.
},
"rowSpan": 42, # Row span of the cell.
"columnSpan": 42, # Column span of the cell.
@@ -19238,13 +21235,24 @@
"magnitude": 3.14, # The magnitude.
"unit": "A String", # The units for 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).
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ },
},
],
- "rows": 42, # Number of rows in the table.
"columns": 42, # Number of columns in the table.
},
"line": { # A PageElement kind representing a # A line page element.
- # line, curved connector, or bent connector.
+ # non-connector line, straight connector, curved connector, or bent connector.
+ "lineCategory": "A String", # The category of the line.
+ #
+ # It matches the `category` specified in CreateLineRequest, and can be updated with
+ # UpdateLineCategoryRequest.
"lineProperties": { # The properties of the Line. # The properties of the line.
#
# When unset, these fields default to values that match the appearance of
@@ -19288,6 +21296,51 @@
# a value of 0.0 corresponds to a completely transparent color.
},
},
+ "startConnection": { # The properties for one end of a Line # The connection at the beginning of the line. If unset, there is no
+ # connection.
+ #
+ # Only lines with a Type indicating it is
+ # a "connector" can have a `start_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.
+ },
+ "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.
+ },
"startArrow": "A String", # The style of the arrow at the beginning of the line.
},
"lineType": "A String", # The type of the line.
@@ -19302,6 +21355,8 @@
"unit": "A String", # The units for magnitude.
},
},
+ "description": "A String", # The description of the page element. Combined with title to display alt
+ # text.
},
],
"notesProperties": { # The properties of Page that are only # Notes specific properties. Only set if page_type = NOTES.
@@ -19328,6 +21383,10 @@
# 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.
+ "masterProperties": { # The properties of Page that are only # Master specific properties. Only set if page_type = MASTER.
+ # relevant for pages with page_type MASTER.
+ "displayName": "A String", # The human-readable name of the master.
+ },
"pageProperties": { # The properties of the Page. # The properties of the page.
#
# The page will inherit properties from the parent page. Depending on the page
@@ -19360,7 +21419,7 @@
},
"propertyState": "A String", # The background fill property state.
#
- # Updating the the fill on a page will implicitly update this field to
+ # 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.
@@ -19377,8 +21436,10 @@
#
# The picture is fetched once at insertion time and a copy is stored for
# display inside the presentation. Pictures must be less than 50MB in size,
- # cannot exceed 25 megapixels, and must be in either in PNG, JPEG, or GIF
+ # 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.
"magnitude": 3.14, # The magnitude.
@@ -19417,9 +21478,11 @@
# notes for this slide. The ID of this shape is identified by the
# speakerNotesObjectId field.
# The notes page is read-only except for the text content and styles of the
- # speaker notes shape.
- "masterObjectId": "A String", # The object ID of the master that this slide is based on.
- "layoutObjectId": "A String", # The object ID of the layout that this slide is based on.
+ # 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.
},
},
],
@@ -19442,6 +21505,2433 @@
{ # A Google Slides presentation.
"presentationId": "A String", # The ID of the presentation.
+ "masters": [ # The slide masters in the presentation. A slide master contains all common
+ # page elements and the common properties for a set of layouts. They serve
+ # three purposes:
+ #
+ # - Placeholder shapes on a master contain the default text styles and shape
+ # properties of all placeholder shapes on pages that use that master.
+ # - The master page properties define the common page properties inherited by
+ # its layouts.
+ # - Any other shapes on the master slide will appear on all slides using that
+ # master, regardless of their layout.
+ { # A page in a presentation.
+ "layoutProperties": { # The properties of Page are only # Layout specific properties. Only set if page_type = LAYOUT.
+ # relevant for pages with page_type LAYOUT.
+ "displayName": "A String", # The human-readable name of the layout.
+ "name": "A String", # The name of the layout.
+ "masterObjectId": "A String", # The object ID of the master that this layout is based on.
+ },
+ "pageElements": [ # The page elements rendered on the page.
+ { # A visual element rendered on a page.
+ "wordArt": { # A PageElement kind representing # A word art page element.
+ # word art.
+ "renderedText": "A String", # The text rendered as word art.
+ },
+ "elementGroup": { # A PageElement kind representing a # A collection of page elements joined as a single unit.
+ # joined collection of PageElements.
+ "children": [ # The collection of elements in the group. The minimum size of a group is 2.
+ # Object with schema name: PageElement
+ ],
+ },
+ "objectId": "A String", # The object ID for this page element. Object IDs used by
+ # google.apps.slides.v1.Page and
+ # google.apps.slides.v1.PageElement share the same namespace.
+ "title": "A String", # The title of the page element. Combined with description to display alt
+ # text.
+ "image": { # A PageElement kind representing an # An image page element.
+ # image.
+ "contentUrl": "A String", # An URL to an image with a default lifetime of 30 minutes.
+ # This URL is tagged with the account of the requester. Anyone with the URL
+ # effectively accesses the image as the original requester. Access to the
+ # image may be lost if the presentation's sharing settings change.
+ "imageProperties": { # The properties of the Image. # The properties of the image.
+ "outline": { # The outline of a PageElement. # The outline of the image. If not set, the image has no outline.
+ #
+ # If these fields are unset, they may be inherited from a parent placeholder
+ # if it exists. If there is no parent, the fields will default to the value
+ # used for new page elements created in the Slides editor, which may depend on
+ # the page element kind.
+ "outlineFill": { # The fill of the outline. # The fill of the outline.
+ "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill.
+ # specified color value.
+ #
+ # If any field is unset, its value may be inherited from a parent placeholder
+ # if it exists.
+ "color": { # A themeable solid color value. # The color value of the solid fill.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel.
+ # That is, the final pixel color is defined by the equation:
+ #
+ # pixel color = alpha * (color) + (1.0 - alpha) * (background color)
+ #
+ # This means that a value of 1.0 corresponds to a solid color, whereas
+ # a value of 0.0 corresponds to a completely transparent color.
+ },
+ },
+ "propertyState": "A String", # The outline property state.
+ #
+ # Updating the outline on a page element will implicitly update this field
+ # to `RENDERED`, unless another value is specified in the same request. To
+ # have no outline on a page element, set this field to `NOT_RENDERED`. In
+ # this case, any other outline fields set in the same request will be
+ # ignored.
+ "dashStyle": "A String", # The dash style of the outline.
+ "weight": { # A magnitude in a single direction in the specified units. # The thickness of the outline.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ },
+ "brightness": 3.14, # The brightness effect of the image. The value should be in the interval
+ # [-1.0, 1.0], where 0 means no effect. This property is read-only.
+ "recolor": { # A recolor effect applied on an image. # The recolor effect of the image. If not set, the image is not recolored.
+ # This property is read-only.
+ "recolorStops": [ # The recolor effect is represented by a gradient, which is a list of color
+ # stops.
+ #
+ # The colors in the gradient will replace the corresponding colors at
+ # the same position in the color palette and apply to the image. This
+ # property is read-only.
+ { # A color and position in a gradient band.
+ "color": { # A themeable solid color value. # The color of the gradient stop.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ "alpha": 3.14, # The alpha value of this color in the gradient band. Defaults to 1.0,
+ # fully opaque.
+ "position": 3.14, # The relative position of the color stop in the gradient band measured
+ # in percentage. The value should be in the interval [0.0, 1.0].
+ },
+ ],
+ "name": "A String", # The name of the recolor effect.
+ #
+ # The name is determined from the `recolor_stops` by matching the gradient
+ # against the colors in the page's current color scheme. This property is
+ # read-only.
+ },
+ "link": { # A hypertext link. # The hyperlink destination of the image. If unset, there is no link.
+ "url": "A String", # If set, indicates this is a link to the external web page at this URL.
+ "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
+ # in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
+ "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
+ # addressed by its position.
+ },
+ "transparency": 3.14, # The transparency effect of the image. The value should be in the interval
+ # [0.0, 1.0], where 0 means no effect and 1 means completely transparent.
+ # This property is read-only.
+ "cropProperties": { # The crop properties of an object enclosed in a container. For example, an # The crop properties of the image. If not set, the image is not cropped.
+ # This property is read-only.
+ # Image.
+ #
+ # The crop properties is represented by the offsets of four edges which define
+ # a crop rectangle. The offsets are measured in percentage from the
+ # corresponding edges of the object's original bounding rectangle towards
+ # inside, relative to the object's original dimensions.
+ #
+ # - If the offset is in the interval (0, 1), the corresponding edge of crop
+ # rectangle is positioned inside of the object's original bounding rectangle.
+ # - If the offset is negative or greater than 1, the corresponding edge of crop
+ # rectangle is positioned outside of the object's original bounding rectangle.
+ # - If the left edge of the crop rectangle is on the right side of its right
+ # edge, the object will be flipped horizontally.
+ # - If the top edge of the crop rectangle is below its bottom edge, the object
+ # will be flipped vertically.
+ # - If all offsets and rotation angle is 0, the object is not cropped.
+ #
+ # After cropping, the content in the crop rectangle will be stretched to fit
+ # its container.
+ "leftOffset": 3.14, # The offset specifies the left edge of the crop rectangle that is located to
+ # the right of the original bounding rectangle left edge, relative to the
+ # object's original width.
+ "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.
+ "angle": 3.14, # The rotation angle of the crop window around its center, in radians.
+ # Rotation angle is applied after the offset.
+ "rightOffset": 3.14, # The offset specifies the right edge of the crop rectangle that is located
+ # to the left of the original bounding rectangle right edge, relative to the
+ # object's original width.
+ "topOffset": 3.14, # The offset specifies the top edge of the crop rectangle that is located
+ # below the original bounding rectangle top edge, relative to the object's
+ # original height.
+ },
+ "shadow": { # The shadow properties of a page element. # The shadow of the image. If not set, the image has no shadow. This property
+ # is read-only.
+ #
+ # If these fields are unset, they may be inherited from a parent placeholder
+ # if it exists. If there is no parent, the fields will default to the value
+ # used for new page elements created in the Slides editor, which may depend on
+ # the page element kind.
+ "color": { # A themeable solid color value. # The shadow color value.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ "transform": { # AffineTransform uses a 3x3 matrix with an implied last row of [ 0 0 1 ] # Transform that encodes the translate, scale, and skew of the shadow,
+ # relative to the alignment position.
+ # to transform source coordinates (x,y) into destination coordinates (x', y')
+ # according to:
+ #
+ # x' x = shear_y scale_y translate_y
+ # 1 [ 1 ]
+ #
+ # After transformation,
+ #
+ # x' = scale_x * x + shear_x * y + translate_x;
+ # y' = scale_y * y + shear_y * x + translate_y;
+ #
+ # This message is therefore composed of these six matrix elements.
+ "translateX": 3.14, # The X coordinate translation element.
+ "translateY": 3.14, # The Y coordinate translation element.
+ "scaleX": 3.14, # The X coordinate scaling element.
+ "scaleY": 3.14, # The Y coordinate scaling element.
+ "shearY": 3.14, # The Y coordinate shearing element.
+ "shearX": 3.14, # The X coordinate shearing element.
+ "unit": "A String", # The units for translate elements.
+ },
+ "propertyState": "A String", # The shadow property state.
+ #
+ # Updating the shadow on a page element will implicitly update this field to
+ # `RENDERED`, unless another value is specified in the same request. To have
+ # no shadow on a page element, set this field to `NOT_RENDERED`. In this
+ # case, any other shadow fields set in the same request will be ignored.
+ "blurRadius": { # A magnitude in a single direction in the specified units. # The radius of the shadow blur. The larger the radius, the more diffuse the
+ # shadow becomes.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "alpha": 3.14, # The alpha of the shadow's color, from 0.0 to 1.0.
+ "type": "A String", # The type of the shadow. This property is read-only.
+ "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.
+ "rotateWithShape": True or False, # Whether the shadow should rotate with the shape. 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.
+ },
+ "sourceUrl": "A String", # The source URL is the URL used to insert the image. The source URL can be
+ # empty.
+ },
+ "transform": { # AffineTransform uses a 3x3 matrix with an implied last row of [ 0 0 1 ] # The transform of the page element.
+ #
+ # The visual appearance of the page element is determined by its absolute
+ # transform. To compute the absolute transform, preconcatenate a page
+ # element's transform with the transforms of all of its parent groups. If the
+ # page element is not in a group, its absolute transform is the same as the
+ # value in this field.
+ #
+ # The initial transform for the newly created Group is always the identity transform.
+ # to transform source coordinates (x,y) into destination coordinates (x', y')
+ # according to:
+ #
+ # x' x = shear_y scale_y translate_y
+ # 1 [ 1 ]
+ #
+ # After transformation,
+ #
+ # x' = scale_x * x + shear_x * y + translate_x;
+ # y' = scale_y * y + shear_y * x + translate_y;
+ #
+ # This message is therefore composed of these six matrix elements.
+ "translateX": 3.14, # The X coordinate translation element.
+ "translateY": 3.14, # The Y coordinate translation element.
+ "scaleX": 3.14, # The X coordinate scaling element.
+ "scaleY": 3.14, # The Y coordinate scaling element.
+ "shearY": 3.14, # The Y coordinate shearing element.
+ "shearX": 3.14, # The X coordinate shearing element.
+ "unit": "A String", # The units for translate elements.
+ },
+ "shape": { # A PageElement kind representing a # A generic shape.
+ # generic shape that does not have a more specific classification.
+ "text": { # The general text content. The text must reside in a compatible shape (e.g. # The text content of the shape.
+ # text box or rectangle) or a table cell in a page.
+ "textElements": [ # The text contents broken down into its component parts, including styling
+ # information. This property is read-only.
+ { # A TextElement describes the content of a range of indices in the text content
+ # of a Shape or TableCell.
+ "autoText": { # A TextElement kind that represents auto text. # A TextElement representing a spot in the text that is dynamically
+ # replaced with content that can change over time.
+ "content": "A String", # The rendered content of this auto text, if available.
+ "style": { # Represents the styling that can be applied to a TextRun. # The styling applied to this auto text.
+ #
+ # If this text is contained in a shape with a parent placeholder, then these text styles may be
+ # inherited from the parent. Which text styles are inherited depend on the
+ # nesting level of lists:
+ #
+ # * A text run in a paragraph that is not in a list will inherit its text style
+ # from the the newline character in the paragraph at the 0 nesting level of
+ # the list inside the parent placeholder.
+ # * A text run in a paragraph that is in a list will inherit its text style
+ # from the newline character in the paragraph at its corresponding nesting
+ # level of the list inside the parent placeholder.
+ #
+ # Inherited text styles are represented as unset fields in this message. If
+ # text is contained in a shape without a parent placeholder, unsetting these
+ # fields will revert the style to a value matching the defaults in the Slides
+ # editor.
+ "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ "baselineOffset": "A String", # The text's vertical offset from its normal position.
+ #
+ # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
+ # rendered in a smaller font size, computed based on the `font_size` field.
+ # The `font_size` itself is not affected by changes in this field.
+ "strikethrough": True or False, # Whether or not the text is struck through.
+ "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").
+ },
+ "smallCaps": True or False, # Whether or not the text is in small capital letters.
+ "fontFamily": "A String", # The font family of the text.
+ #
+ # The font family can be any font from the Font menu in Slides or from
+ # [Google Fonts] (https://fonts.google.com/). If the font name is
+ # unrecognized, the text is rendered in `Arial`.
+ #
+ # Some fonts can affect the weight of the text. If an update request
+ # specifies values for both `font_family` and `bold`, the explicitly-set
+ # `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "italic": True or False, # Whether or not the text is italicized.
+ "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
+ # are not inherited from parent text.
+ #
+ # Changing the link in an update request causes some other changes to the
+ # text style of the range:
+ #
+ # * When setting a link, the text foreground color will be set to
+ # ThemeColorType.HYPERLINK and the text will
+ # be underlined. If these fields are modified in the same
+ # request, those values will be used instead of the link defaults.
+ # * Setting a link on a text range that overlaps with an existing link will
+ # also update the existing link to point to the new URL.
+ # * Links are not settable on newline characters. As a result, setting a link
+ # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
+ # will separate the newline character(s) into their own text runs. The
+ # link will be applied separately to the runs before and after the newline.
+ # * Removing a link will update the text style of the range to match the
+ # style of the preceding text (or the default text styles if the preceding
+ # text is another link) unless different styles are being set in the same
+ # request.
+ "url": "A String", # If set, indicates this is a link to the external web page at this URL.
+ "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
+ # in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
+ "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
+ # addressed by its position.
+ },
+ "underline": True or False, # Whether or not the text is underlined.
+ "bold": True or False, # Whether or not the text is rendered as bold.
+ },
+ "type": "A String", # The type of this auto text.
+ },
+ "endIndex": 42, # The zero-based end index of this text element, exclusive, in Unicode code
+ # units.
+ "startIndex": 42, # The zero-based start index of this text element, in Unicode code units.
+ "paragraphMarker": { # A TextElement kind that represents the beginning of a new paragraph. # A marker representing the beginning of a new paragraph.
+ #
+ # The `start_index` and `end_index` of this TextElement represent the
+ # range of the paragraph. Other TextElements with an index range contained
+ # inside this paragraph's range are considered to be part of this
+ # paragraph. The range of indices of two separate paragraphs will never
+ # overlap.
+ "style": { # Styles that apply to a whole paragraph. # The paragraph's style
+ #
+ # If this text is contained in a shape with a parent placeholder, then these paragraph styles may be
+ # inherited from the parent. Which paragraph styles are inherited depend on the
+ # nesting level of lists:
+ #
+ # * A paragraph not in a list will inherit its paragraph style from the
+ # paragraph at the 0 nesting level of the list inside the parent placeholder.
+ # * A paragraph in a list will inherit its paragraph style from the paragraph
+ # at its corresponding nesting level of the list inside the parent
+ # placeholder.
+ #
+ # Inherited paragraph styles are represented as unset fields in this message.
+ "spacingMode": "A String", # The spacing mode for the paragraph.
+ "direction": "A String", # The text direction of this paragraph. If unset, the value defaults to
+ # LEFT_TO_RIGHT since
+ # text direction is not inherited.
+ "spaceBelow": { # A magnitude in a single direction in the specified units. # The amount of extra space below the paragraph. If unset, the value is
+ # inherited from the parent.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "lineSpacing": 3.14, # The amount of space between lines, as a percentage of normal, where normal
+ # is represented as 100.0. If unset, the value is inherited from the parent.
+ "indentStart": { # A magnitude in a single direction in the specified units. # The amount indentation for the paragraph on the side that corresponds to
+ # the start of the text, based on the current text direction. If unset, the
+ # value is inherited from the parent.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "spaceAbove": { # A magnitude in a single direction in the specified units. # The amount of extra space above the paragraph. If unset, the value is
+ # inherited from the parent.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "indentEnd": { # A magnitude in a single direction in the specified units. # The amount indentation for the paragraph on the side that corresponds to
+ # the end of the text, based on the current text direction. If unset, the
+ # value is inherited from the parent.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "indentFirstLine": { # A magnitude in a single direction in the specified units. # The amount of indentation for the start of the first line of the paragraph.
+ # If unset, the value is inherited from the parent.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "alignment": "A String", # The text alignment for this paragraph.
+ },
+ "bullet": { # Describes the bullet of a paragraph. # The bullet for this paragraph. If not present, the paragraph does not
+ # belong to a list.
+ "nestingLevel": 42, # The nesting level of this paragraph in the list.
+ "listId": "A String", # The ID of the list this paragraph belongs to.
+ "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The paragraph specific text style applied to this bullet.
+ #
+ # If this text is contained in a shape with a parent placeholder, then these text styles may be
+ # inherited from the parent. Which text styles are inherited depend on the
+ # nesting level of lists:
+ #
+ # * A text run in a paragraph that is not in a list will inherit its text style
+ # from the the newline character in the paragraph at the 0 nesting level of
+ # the list inside the parent placeholder.
+ # * A text run in a paragraph that is in a list will inherit its text style
+ # from the newline character in the paragraph at its corresponding nesting
+ # level of the list inside the parent placeholder.
+ #
+ # Inherited text styles are represented as unset fields in this message. If
+ # text is contained in a shape without a parent placeholder, unsetting these
+ # fields will revert the style to a value matching the defaults in the Slides
+ # editor.
+ "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ "baselineOffset": "A String", # The text's vertical offset from its normal position.
+ #
+ # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
+ # rendered in a smaller font size, computed based on the `font_size` field.
+ # The `font_size` itself is not affected by changes in this field.
+ "strikethrough": True or False, # Whether or not the text is struck through.
+ "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").
+ },
+ "smallCaps": True or False, # Whether or not the text is in small capital letters.
+ "fontFamily": "A String", # The font family of the text.
+ #
+ # The font family can be any font from the Font menu in Slides or from
+ # [Google Fonts] (https://fonts.google.com/). If the font name is
+ # unrecognized, the text is rendered in `Arial`.
+ #
+ # Some fonts can affect the weight of the text. If an update request
+ # specifies values for both `font_family` and `bold`, the explicitly-set
+ # `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "italic": True or False, # Whether or not the text is italicized.
+ "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
+ # are not inherited from parent text.
+ #
+ # Changing the link in an update request causes some other changes to the
+ # text style of the range:
+ #
+ # * When setting a link, the text foreground color will be set to
+ # ThemeColorType.HYPERLINK and the text will
+ # be underlined. If these fields are modified in the same
+ # request, those values will be used instead of the link defaults.
+ # * Setting a link on a text range that overlaps with an existing link will
+ # also update the existing link to point to the new URL.
+ # * Links are not settable on newline characters. As a result, setting a link
+ # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
+ # will separate the newline character(s) into their own text runs. The
+ # link will be applied separately to the runs before and after the newline.
+ # * Removing a link will update the text style of the range to match the
+ # style of the preceding text (or the default text styles if the preceding
+ # text is another link) unless different styles are being set in the same
+ # request.
+ "url": "A String", # If set, indicates this is a link to the external web page at this URL.
+ "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
+ # in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
+ "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
+ # addressed by its position.
+ },
+ "underline": True or False, # Whether or not the text is underlined.
+ "bold": True or False, # Whether or not the text is rendered as bold.
+ },
+ "glyph": "A String", # The rendered bullet glyph for this paragraph.
+ },
+ },
+ "textRun": { # A TextElement kind that represents a run of text that all has the same # A TextElement representing a run of text where all of the characters
+ # in the run have the same TextStyle.
+ #
+ # The `start_index` and `end_index` of TextRuns will always be fully
+ # contained in the index range of a single `paragraph_marker` TextElement.
+ # In other words, a TextRun will never span multiple paragraphs.
+ # styling.
+ "content": "A String", # The text of this run.
+ "style": { # Represents the styling that can be applied to a TextRun. # The styling applied to this run.
+ #
+ # If this text is contained in a shape with a parent placeholder, then these text styles may be
+ # inherited from the parent. Which text styles are inherited depend on the
+ # nesting level of lists:
+ #
+ # * A text run in a paragraph that is not in a list will inherit its text style
+ # from the the newline character in the paragraph at the 0 nesting level of
+ # the list inside the parent placeholder.
+ # * A text run in a paragraph that is in a list will inherit its text style
+ # from the newline character in the paragraph at its corresponding nesting
+ # level of the list inside the parent placeholder.
+ #
+ # Inherited text styles are represented as unset fields in this message. If
+ # text is contained in a shape without a parent placeholder, unsetting these
+ # fields will revert the style to a value matching the defaults in the Slides
+ # editor.
+ "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ "baselineOffset": "A String", # The text's vertical offset from its normal position.
+ #
+ # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
+ # rendered in a smaller font size, computed based on the `font_size` field.
+ # The `font_size` itself is not affected by changes in this field.
+ "strikethrough": True or False, # Whether or not the text is struck through.
+ "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").
+ },
+ "smallCaps": True or False, # Whether or not the text is in small capital letters.
+ "fontFamily": "A String", # The font family of the text.
+ #
+ # The font family can be any font from the Font menu in Slides or from
+ # [Google Fonts] (https://fonts.google.com/). If the font name is
+ # unrecognized, the text is rendered in `Arial`.
+ #
+ # Some fonts can affect the weight of the text. If an update request
+ # specifies values for both `font_family` and `bold`, the explicitly-set
+ # `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "italic": True or False, # Whether or not the text is italicized.
+ "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
+ # are not inherited from parent text.
+ #
+ # Changing the link in an update request causes some other changes to the
+ # text style of the range:
+ #
+ # * When setting a link, the text foreground color will be set to
+ # ThemeColorType.HYPERLINK and the text will
+ # be underlined. If these fields are modified in the same
+ # request, those values will be used instead of the link defaults.
+ # * Setting a link on a text range that overlaps with an existing link will
+ # also update the existing link to point to the new URL.
+ # * Links are not settable on newline characters. As a result, setting a link
+ # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
+ # will separate the newline character(s) into their own text runs. The
+ # link will be applied separately to the runs before and after the newline.
+ # * Removing a link will update the text style of the range to match the
+ # style of the preceding text (or the default text styles if the preceding
+ # text is another link) unless different styles are being set in the same
+ # request.
+ "url": "A String", # If set, indicates this is a link to the external web page at this URL.
+ "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
+ # in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
+ "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
+ # addressed by its position.
+ },
+ "underline": True or False, # Whether or not the text is underlined.
+ "bold": True or False, # Whether or not the text is rendered as bold.
+ },
+ },
+ },
+ ],
+ "lists": { # The bulleted lists contained in this text, keyed by list ID.
+ "a_key": { # A List describes the look and feel of bullets belonging to paragraphs
+ # associated with a list. A paragraph that is part of a list has an implicit
+ # reference to that list's ID.
+ "nestingLevel": { # A map of nesting levels to the properties of bullets at the associated
+ # level. A list has at most nine levels of nesting, so the possible values
+ # for the keys of this map are 0 through 8, inclusive.
+ "a_key": { # Contains properties describing the look and feel of a list bullet at a given
+ # level of nesting.
+ "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The style of a bullet at this level of nesting.
+ #
+ # If this text is contained in a shape with a parent placeholder, then these text styles may be
+ # inherited from the parent. Which text styles are inherited depend on the
+ # nesting level of lists:
+ #
+ # * A text run in a paragraph that is not in a list will inherit its text style
+ # from the the newline character in the paragraph at the 0 nesting level of
+ # the list inside the parent placeholder.
+ # * A text run in a paragraph that is in a list will inherit its text style
+ # from the newline character in the paragraph at its corresponding nesting
+ # level of the list inside the parent placeholder.
+ #
+ # Inherited text styles are represented as unset fields in this message. If
+ # text is contained in a shape without a parent placeholder, unsetting these
+ # fields will revert the style to a value matching the defaults in the Slides
+ # editor.
+ "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ "baselineOffset": "A String", # The text's vertical offset from its normal position.
+ #
+ # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
+ # rendered in a smaller font size, computed based on the `font_size` field.
+ # The `font_size` itself is not affected by changes in this field.
+ "strikethrough": True or False, # Whether or not the text is struck through.
+ "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").
+ },
+ "smallCaps": True or False, # Whether or not the text is in small capital letters.
+ "fontFamily": "A String", # The font family of the text.
+ #
+ # The font family can be any font from the Font menu in Slides or from
+ # [Google Fonts] (https://fonts.google.com/). If the font name is
+ # unrecognized, the text is rendered in `Arial`.
+ #
+ # Some fonts can affect the weight of the text. If an update request
+ # specifies values for both `font_family` and `bold`, the explicitly-set
+ # `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "italic": True or False, # Whether or not the text is italicized.
+ "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
+ # are not inherited from parent text.
+ #
+ # Changing the link in an update request causes some other changes to the
+ # text style of the range:
+ #
+ # * When setting a link, the text foreground color will be set to
+ # ThemeColorType.HYPERLINK and the text will
+ # be underlined. If these fields are modified in the same
+ # request, those values will be used instead of the link defaults.
+ # * Setting a link on a text range that overlaps with an existing link will
+ # also update the existing link to point to the new URL.
+ # * Links are not settable on newline characters. As a result, setting a link
+ # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
+ # will separate the newline character(s) into their own text runs. The
+ # link will be applied separately to the runs before and after the newline.
+ # * Removing a link will update the text style of the range to match the
+ # style of the preceding text (or the default text styles if the preceding
+ # text is another link) unless different styles are being set in the same
+ # request.
+ "url": "A String", # If set, indicates this is a link to the external web page at this URL.
+ "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
+ # in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
+ "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
+ # addressed by its position.
+ },
+ "underline": True or False, # Whether or not the text is underlined.
+ "bold": True or False, # Whether or not the text is rendered as bold.
+ },
+ },
+ },
+ "listId": "A String", # The ID of the list.
+ },
+ },
+ },
+ "shapeProperties": { # The properties of a Shape. # The properties of the shape.
+ #
+ # If the shape is a placeholder shape as determined by the
+ # placeholder field, then these
+ # properties may be inherited from a parent placeholder shape.
+ # Determining the rendered value of the property depends on the corresponding
+ # property_state field value.
+ "shadow": { # The shadow properties of a page element. # The shadow properties of the shape. If unset, the shadow is inherited from
+ # a parent placeholder if it exists. If the shape has no parent, then the
+ # default shadow matches the defaults for new shapes created in the Slides
+ # editor. This property is read-only.
+ #
+ # If these fields are unset, they may be inherited from a parent placeholder
+ # if it exists. If there is no parent, the fields will default to the value
+ # used for new page elements created in the Slides editor, which may depend on
+ # the page element kind.
+ "color": { # A themeable solid color value. # The shadow color value.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ "transform": { # AffineTransform uses a 3x3 matrix with an implied last row of [ 0 0 1 ] # Transform that encodes the translate, scale, and skew of the shadow,
+ # relative to the alignment position.
+ # to transform source coordinates (x,y) into destination coordinates (x', y')
+ # according to:
+ #
+ # x' x = shear_y scale_y translate_y
+ # 1 [ 1 ]
+ #
+ # After transformation,
+ #
+ # x' = scale_x * x + shear_x * y + translate_x;
+ # y' = scale_y * y + shear_y * x + translate_y;
+ #
+ # This message is therefore composed of these six matrix elements.
+ "translateX": 3.14, # The X coordinate translation element.
+ "translateY": 3.14, # The Y coordinate translation element.
+ "scaleX": 3.14, # The X coordinate scaling element.
+ "scaleY": 3.14, # The Y coordinate scaling element.
+ "shearY": 3.14, # The Y coordinate shearing element.
+ "shearX": 3.14, # The X coordinate shearing element.
+ "unit": "A String", # The units for translate elements.
+ },
+ "propertyState": "A String", # The shadow property state.
+ #
+ # Updating the shadow on a page element will implicitly update this field to
+ # `RENDERED`, unless another value is specified in the same request. To have
+ # no shadow on a page element, set this field to `NOT_RENDERED`. In this
+ # case, any other shadow fields set in the same request will be ignored.
+ "blurRadius": { # A magnitude in a single direction in the specified units. # The radius of the shadow blur. The larger the radius, the more diffuse the
+ # shadow becomes.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "alpha": 3.14, # The alpha of the shadow's color, from 0.0 to 1.0.
+ "type": "A String", # The type of the shadow. This property is read-only.
+ "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.
+ "rotateWithShape": True or False, # Whether the shadow should rotate with the shape. This property is
+ # read-only.
+ },
+ "shapeBackgroundFill": { # The shape background fill. # The background fill of the shape. If unset, the background fill is
+ # inherited from a parent placeholder if it exists. If the shape has no
+ # parent, then the default background fill depends on the shape type,
+ # matching the defaults for new shapes created in the Slides editor.
+ "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill.
+ # specified color value.
+ #
+ # If any field is unset, its value may be inherited from a parent placeholder
+ # if it exists.
+ "color": { # A themeable solid color value. # The color value of the solid fill.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel.
+ # That is, the final pixel color is defined by the equation:
+ #
+ # pixel color = alpha * (color) + (1.0 - alpha) * (background color)
+ #
+ # This means that a value of 1.0 corresponds to a solid color, whereas
+ # a value of 0.0 corresponds to a completely transparent color.
+ },
+ "propertyState": "A String", # The background fill property state.
+ #
+ # Updating the fill on a shape will implicitly update this field to
+ # `RENDERED`, unless another value is specified in the same request. To
+ # have no fill on a shape, set this field to `NOT_RENDERED`. In this case,
+ # any other fill fields set in the same request will be ignored.
+ },
+ "link": { # A hypertext link. # The hyperlink destination of the shape. If unset, there is no link. Links
+ # are not inherited from parent placeholders.
+ "url": "A String", # If set, indicates this is a link to the external web page at this URL.
+ "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
+ # in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
+ "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
+ # addressed by its position.
+ },
+ "outline": { # The outline of a PageElement. # The outline of the shape. If unset, the outline is inherited from a
+ # parent placeholder if it exists. If the shape has no parent, then the
+ # default outline depends on the shape type, matching the defaults for
+ # new shapes created in the Slides editor.
+ #
+ # If these fields are unset, they may be inherited from a parent placeholder
+ # if it exists. If there is no parent, the fields will default to the value
+ # used for new page elements created in the Slides editor, which may depend on
+ # the page element kind.
+ "outlineFill": { # The fill of the outline. # The fill of the outline.
+ "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill.
+ # specified color value.
+ #
+ # If any field is unset, its value may be inherited from a parent placeholder
+ # if it exists.
+ "color": { # A themeable solid color value. # The color value of the solid fill.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel.
+ # That is, the final pixel color is defined by the equation:
+ #
+ # pixel color = alpha * (color) + (1.0 - alpha) * (background color)
+ #
+ # This means that a value of 1.0 corresponds to a solid color, whereas
+ # a value of 0.0 corresponds to a completely transparent color.
+ },
+ },
+ "propertyState": "A String", # The outline property state.
+ #
+ # Updating the outline on a page element will implicitly update this field
+ # to `RENDERED`, unless another value is specified in the same request. To
+ # have no outline on a page element, set this field to `NOT_RENDERED`. In
+ # this case, any other outline fields set in the same request will be
+ # ignored.
+ "dashStyle": "A String", # The dash style of the outline.
+ "weight": { # A magnitude in a single direction in the specified units. # The thickness of the outline.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ },
+ "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.
+ },
+ "placeholder": { # The placeholder information that uniquely identifies a placeholder shape. # Placeholders are shapes that are inherit from corresponding placeholders on
+ # layouts and masters.
+ #
+ # If set, the shape is a placeholder shape and any inherited properties
+ # can be resolved by looking at the parent placeholder identified by the
+ # Placeholder.parent_object_id field.
+ "parentObjectId": "A String", # The object ID of this shape's parent placeholder.
+ # If unset, the parent placeholder shape does not exist, so the shape does
+ # not inherit properties from any other shape.
+ "index": 42, # The index of the placeholder. If the same placeholder types are present in
+ # the same page, they would have different index values.
+ "type": "A String", # The type of the placeholder.
+ },
+ "shapeType": "A String", # The type of the shape.
+ },
+ "sheetsChart": { # A PageElement kind representing # A linked chart embedded from Google Sheets. Unlinked charts are
+ # represented as images.
+ # a linked chart embedded from Google Sheets.
+ "contentUrl": "A String", # The URL of an image of the embedded chart, with a default lifetime of 30
+ # minutes. This URL is tagged with the account of the requester. Anyone with
+ # the URL effectively accesses the image as the original requester. Access to
+ # the image may be lost if the presentation's sharing settings change.
+ "spreadsheetId": "A String", # The ID of the Google Sheets spreadsheet that contains the source chart.
+ "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.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel.
+ # That is, the final pixel color is defined by the equation:
+ #
+ # pixel color = alpha * (color) + (1.0 - alpha) * (background color)
+ #
+ # This means that a value of 1.0 corresponds to a solid color, whereas
+ # a value of 0.0 corresponds to a completely transparent color.
+ },
+ },
+ "propertyState": "A String", # The outline property state.
+ #
+ # Updating the outline on a page element will implicitly update this field
+ # to `RENDERED`, unless another value is specified in the same request. To
+ # have no outline on a page element, set this field to `NOT_RENDERED`. In
+ # this case, any other outline fields set in the same request will be
+ # ignored.
+ "dashStyle": "A String", # The dash style of the outline.
+ "weight": { # A magnitude in a single direction in the specified units. # The thickness of the outline.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ },
+ "brightness": 3.14, # The brightness effect of the image. The value should be in the interval
+ # [-1.0, 1.0], where 0 means no effect. This property is read-only.
+ "recolor": { # A recolor effect applied on an image. # The recolor effect of the image. If not set, the image is not recolored.
+ # This property is read-only.
+ "recolorStops": [ # The recolor effect is represented by a gradient, which is a list of color
+ # stops.
+ #
+ # The colors in the gradient will replace the corresponding colors at
+ # the same position in the color palette and apply to the image. This
+ # property is read-only.
+ { # A color and position in a gradient band.
+ "color": { # A themeable solid color value. # The color of the gradient stop.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ "alpha": 3.14, # The alpha value of this color in the gradient band. Defaults to 1.0,
+ # fully opaque.
+ "position": 3.14, # The relative position of the color stop in the gradient band measured
+ # in percentage. The value should be in the interval [0.0, 1.0].
+ },
+ ],
+ "name": "A String", # The name of the recolor effect.
+ #
+ # The name is determined from the `recolor_stops` by matching the gradient
+ # against the colors in the page's current color scheme. This property is
+ # read-only.
+ },
+ "link": { # A hypertext link. # The hyperlink destination of the image. If unset, there is no link.
+ "url": "A String", # If set, indicates this is a link to the external web page at this URL.
+ "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
+ # in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
+ "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
+ # addressed by its position.
+ },
+ "transparency": 3.14, # The transparency effect of the image. The value should be in the interval
+ # [0.0, 1.0], where 0 means no effect and 1 means completely transparent.
+ # This property is read-only.
+ "cropProperties": { # The crop properties of an object enclosed in a container. For example, an # The crop properties of the image. If not set, the image is not cropped.
+ # This property is read-only.
+ # Image.
+ #
+ # The crop properties is represented by the offsets of four edges which define
+ # a crop rectangle. The offsets are measured in percentage from the
+ # corresponding edges of the object's original bounding rectangle towards
+ # inside, relative to the object's original dimensions.
+ #
+ # - If the offset is in the interval (0, 1), the corresponding edge of crop
+ # rectangle is positioned inside of the object's original bounding rectangle.
+ # - If the offset is negative or greater than 1, the corresponding edge of crop
+ # rectangle is positioned outside of the object's original bounding rectangle.
+ # - If the left edge of the crop rectangle is on the right side of its right
+ # edge, the object will be flipped horizontally.
+ # - If the top edge of the crop rectangle is below its bottom edge, the object
+ # will be flipped vertically.
+ # - If all offsets and rotation angle is 0, the object is not cropped.
+ #
+ # After cropping, the content in the crop rectangle will be stretched to fit
+ # its container.
+ "leftOffset": 3.14, # The offset specifies the left edge of the crop rectangle that is located to
+ # the right of the original bounding rectangle left edge, relative to the
+ # object's original width.
+ "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.
+ "angle": 3.14, # The rotation angle of the crop window around its center, in radians.
+ # Rotation angle is applied after the offset.
+ "rightOffset": 3.14, # The offset specifies the right edge of the crop rectangle that is located
+ # to the left of the original bounding rectangle right edge, relative to the
+ # object's original width.
+ "topOffset": 3.14, # The offset specifies the top edge of the crop rectangle that is located
+ # below the original bounding rectangle top edge, relative to the object's
+ # original height.
+ },
+ "shadow": { # The shadow properties of a page element. # The shadow of the image. If not set, the image has no shadow. This property
+ # is read-only.
+ #
+ # If these fields are unset, they may be inherited from a parent placeholder
+ # if it exists. If there is no parent, the fields will default to the value
+ # used for new page elements created in the Slides editor, which may depend on
+ # the page element kind.
+ "color": { # A themeable solid color value. # The shadow color value.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ "transform": { # AffineTransform uses a 3x3 matrix with an implied last row of [ 0 0 1 ] # Transform that encodes the translate, scale, and skew of the shadow,
+ # relative to the alignment position.
+ # to transform source coordinates (x,y) into destination coordinates (x', y')
+ # according to:
+ #
+ # x' x = shear_y scale_y translate_y
+ # 1 [ 1 ]
+ #
+ # After transformation,
+ #
+ # x' = scale_x * x + shear_x * y + translate_x;
+ # y' = scale_y * y + shear_y * x + translate_y;
+ #
+ # This message is therefore composed of these six matrix elements.
+ "translateX": 3.14, # The X coordinate translation element.
+ "translateY": 3.14, # The Y coordinate translation element.
+ "scaleX": 3.14, # The X coordinate scaling element.
+ "scaleY": 3.14, # The Y coordinate scaling element.
+ "shearY": 3.14, # The Y coordinate shearing element.
+ "shearX": 3.14, # The X coordinate shearing element.
+ "unit": "A String", # The units for translate elements.
+ },
+ "propertyState": "A String", # The shadow property state.
+ #
+ # Updating the shadow on a page element will implicitly update this field to
+ # `RENDERED`, unless another value is specified in the same request. To have
+ # no shadow on a page element, set this field to `NOT_RENDERED`. In this
+ # case, any other shadow fields set in the same request will be ignored.
+ "blurRadius": { # A magnitude in a single direction in the specified units. # The radius of the shadow blur. The larger the radius, the more diffuse the
+ # shadow becomes.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "alpha": 3.14, # The alpha of the shadow's color, from 0.0 to 1.0.
+ "type": "A String", # The type of the shadow. This property is read-only.
+ "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.
+ "rotateWithShape": True or False, # Whether the shadow should rotate with the shape. 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.
+ },
+ },
+ "chartId": 42, # The ID of the specific chart in the Google Sheets spreadsheet that is
+ # embedded.
+ },
+ "video": { # A PageElement kind representing a # A video page element.
+ # video.
+ "url": "A String", # An URL to a video. The URL is valid as long as the source video exists and
+ # sharing settings do not change.
+ "videoProperties": { # The properties of the Video. # The properties of the video.
+ "start": 42, # The time at which to start playback, measured in seconds from the beginning
+ # of the video.
+ # If set, the start time should be before the end time.
+ # If you set this to a value that exceeds the video's length in seconds, the
+ # video will be played from the last second.
+ # If not set, the video will be played from the beginning.
+ "autoPlay": True or False, # Whether to enable video autoplay when the page is displayed in present
+ # mode. Defaults to false.
+ "end": 42, # The time at which to end playback, measured in seconds from the beginning
+ # of the video.
+ # If set, the end time should be after the start time.
+ # If not set or if you set this to a value that exceeds the video's length,
+ # the video will be played until its end.
+ "outline": { # The outline of a PageElement. # The outline of the video. The default outline matches the defaults for new
+ # videos created in the Slides editor.
+ #
+ # If these fields are unset, they may be inherited from a parent placeholder
+ # if it exists. If there is no parent, the fields will default to the value
+ # used for new page elements created in the Slides editor, which may depend on
+ # the page element kind.
+ "outlineFill": { # The fill of the outline. # The fill of the outline.
+ "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill.
+ # specified color value.
+ #
+ # If any field is unset, its value may be inherited from a parent placeholder
+ # if it exists.
+ "color": { # A themeable solid color value. # The color value of the solid fill.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel.
+ # That is, the final pixel color is defined by the equation:
+ #
+ # pixel color = alpha * (color) + (1.0 - alpha) * (background color)
+ #
+ # This means that a value of 1.0 corresponds to a solid color, whereas
+ # a value of 0.0 corresponds to a completely transparent color.
+ },
+ },
+ "propertyState": "A String", # The outline property state.
+ #
+ # Updating the outline on a page element will implicitly update this field
+ # to `RENDERED`, unless another value is specified in the same request. To
+ # have no outline on a page element, set this field to `NOT_RENDERED`. In
+ # this case, any other outline fields set in the same request will be
+ # ignored.
+ "dashStyle": "A String", # The dash style of the outline.
+ "weight": { # A magnitude in a single direction in the specified units. # The thickness of the outline.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ },
+ "mute": True or False, # Whether to mute the audio during video playback. Defaults to false.
+ },
+ "id": "A String", # The video source's unique identifier for this video.
+ "source": "A String", # The video source.
+ },
+ "table": { # A PageElement kind representing a # A table page element.
+ # table.
+ "rows": 42, # Number of rows in the table.
+ "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.
+ "tableBorderProperties": { # The border styling properties of the # The border properties.
+ # TableBorderCell.
+ "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.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel.
+ # That is, the final pixel color is defined by the equation:
+ #
+ # pixel color = alpha * (color) + (1.0 - alpha) * (background color)
+ #
+ # This means that a value of 1.0 corresponds to a solid color, whereas
+ # a value of 0.0 corresponds to a completely transparent color.
+ },
+ },
+ "dashStyle": "A String", # The dash style of the border.
+ "weight": { # A magnitude in a single direction in the specified units. # The thickness of the border.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ },
+ "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.
+ },
+ },
+ ],
+ },
+ ],
+ "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.
+ "tableBorderProperties": { # The border styling properties of the # The border properties.
+ # TableBorderCell.
+ "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.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel.
+ # That is, the final pixel color is defined by the equation:
+ #
+ # pixel color = alpha * (color) + (1.0 - alpha) * (background color)
+ #
+ # This means that a value of 1.0 corresponds to a solid color, whereas
+ # a value of 0.0 corresponds to a completely transparent color.
+ },
+ },
+ "dashStyle": "A String", # The dash style of the border.
+ "weight": { # A magnitude in a single direction in the specified units. # The thickness of the border.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ },
+ "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.
+ },
+ },
+ ],
+ },
+ ],
+ "tableColumns": [ # Properties of each column.
+ { # Properties of each column in a table.
+ "columnWidth": { # A magnitude in a single direction in the specified units. # Width of a column.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ },
+ ],
+ "tableRows": [ # Properties and contents of each row.
+ #
+ # Cells that span multiple rows are contained in only one of these rows and
+ # have a row_span greater
+ # than 1.
+ { # Properties and contents of each row in a table.
+ "tableCells": [ # Properties and contents of each cell.
+ #
+ # Cells that span multiple columns are represented only once with a
+ # column_span greater
+ # than 1. As a result, the length of this collection does not always match
+ # the number of columns of the entire table.
+ { # Properties and contents of each table cell.
+ "text": { # The general text content. The text must reside in a compatible shape (e.g. # The text content of the cell.
+ # text box or rectangle) or a table cell in a page.
+ "textElements": [ # The text contents broken down into its component parts, including styling
+ # information. This property is read-only.
+ { # A TextElement describes the content of a range of indices in the text content
+ # of a Shape or TableCell.
+ "autoText": { # A TextElement kind that represents auto text. # A TextElement representing a spot in the text that is dynamically
+ # replaced with content that can change over time.
+ "content": "A String", # The rendered content of this auto text, if available.
+ "style": { # Represents the styling that can be applied to a TextRun. # The styling applied to this auto text.
+ #
+ # If this text is contained in a shape with a parent placeholder, then these text styles may be
+ # inherited from the parent. Which text styles are inherited depend on the
+ # nesting level of lists:
+ #
+ # * A text run in a paragraph that is not in a list will inherit its text style
+ # from the the newline character in the paragraph at the 0 nesting level of
+ # the list inside the parent placeholder.
+ # * A text run in a paragraph that is in a list will inherit its text style
+ # from the newline character in the paragraph at its corresponding nesting
+ # level of the list inside the parent placeholder.
+ #
+ # Inherited text styles are represented as unset fields in this message. If
+ # text is contained in a shape without a parent placeholder, unsetting these
+ # fields will revert the style to a value matching the defaults in the Slides
+ # editor.
+ "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ "baselineOffset": "A String", # The text's vertical offset from its normal position.
+ #
+ # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
+ # rendered in a smaller font size, computed based on the `font_size` field.
+ # The `font_size` itself is not affected by changes in this field.
+ "strikethrough": True or False, # Whether or not the text is struck through.
+ "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").
+ },
+ "smallCaps": True or False, # Whether or not the text is in small capital letters.
+ "fontFamily": "A String", # The font family of the text.
+ #
+ # The font family can be any font from the Font menu in Slides or from
+ # [Google Fonts] (https://fonts.google.com/). If the font name is
+ # unrecognized, the text is rendered in `Arial`.
+ #
+ # Some fonts can affect the weight of the text. If an update request
+ # specifies values for both `font_family` and `bold`, the explicitly-set
+ # `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "italic": True or False, # Whether or not the text is italicized.
+ "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
+ # are not inherited from parent text.
+ #
+ # Changing the link in an update request causes some other changes to the
+ # text style of the range:
+ #
+ # * When setting a link, the text foreground color will be set to
+ # ThemeColorType.HYPERLINK and the text will
+ # be underlined. If these fields are modified in the same
+ # request, those values will be used instead of the link defaults.
+ # * Setting a link on a text range that overlaps with an existing link will
+ # also update the existing link to point to the new URL.
+ # * Links are not settable on newline characters. As a result, setting a link
+ # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
+ # will separate the newline character(s) into their own text runs. The
+ # link will be applied separately to the runs before and after the newline.
+ # * Removing a link will update the text style of the range to match the
+ # style of the preceding text (or the default text styles if the preceding
+ # text is another link) unless different styles are being set in the same
+ # request.
+ "url": "A String", # If set, indicates this is a link to the external web page at this URL.
+ "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
+ # in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
+ "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
+ # addressed by its position.
+ },
+ "underline": True or False, # Whether or not the text is underlined.
+ "bold": True or False, # Whether or not the text is rendered as bold.
+ },
+ "type": "A String", # The type of this auto text.
+ },
+ "endIndex": 42, # The zero-based end index of this text element, exclusive, in Unicode code
+ # units.
+ "startIndex": 42, # The zero-based start index of this text element, in Unicode code units.
+ "paragraphMarker": { # A TextElement kind that represents the beginning of a new paragraph. # A marker representing the beginning of a new paragraph.
+ #
+ # The `start_index` and `end_index` of this TextElement represent the
+ # range of the paragraph. Other TextElements with an index range contained
+ # inside this paragraph's range are considered to be part of this
+ # paragraph. The range of indices of two separate paragraphs will never
+ # overlap.
+ "style": { # Styles that apply to a whole paragraph. # The paragraph's style
+ #
+ # If this text is contained in a shape with a parent placeholder, then these paragraph styles may be
+ # inherited from the parent. Which paragraph styles are inherited depend on the
+ # nesting level of lists:
+ #
+ # * A paragraph not in a list will inherit its paragraph style from the
+ # paragraph at the 0 nesting level of the list inside the parent placeholder.
+ # * A paragraph in a list will inherit its paragraph style from the paragraph
+ # at its corresponding nesting level of the list inside the parent
+ # placeholder.
+ #
+ # Inherited paragraph styles are represented as unset fields in this message.
+ "spacingMode": "A String", # The spacing mode for the paragraph.
+ "direction": "A String", # The text direction of this paragraph. If unset, the value defaults to
+ # LEFT_TO_RIGHT since
+ # text direction is not inherited.
+ "spaceBelow": { # A magnitude in a single direction in the specified units. # The amount of extra space below the paragraph. If unset, the value is
+ # inherited from the parent.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "lineSpacing": 3.14, # The amount of space between lines, as a percentage of normal, where normal
+ # is represented as 100.0. If unset, the value is inherited from the parent.
+ "indentStart": { # A magnitude in a single direction in the specified units. # The amount indentation for the paragraph on the side that corresponds to
+ # the start of the text, based on the current text direction. If unset, the
+ # value is inherited from the parent.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "spaceAbove": { # A magnitude in a single direction in the specified units. # The amount of extra space above the paragraph. If unset, the value is
+ # inherited from the parent.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "indentEnd": { # A magnitude in a single direction in the specified units. # The amount indentation for the paragraph on the side that corresponds to
+ # the end of the text, based on the current text direction. If unset, the
+ # value is inherited from the parent.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "indentFirstLine": { # A magnitude in a single direction in the specified units. # The amount of indentation for the start of the first line of the paragraph.
+ # If unset, the value is inherited from the parent.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "alignment": "A String", # The text alignment for this paragraph.
+ },
+ "bullet": { # Describes the bullet of a paragraph. # The bullet for this paragraph. If not present, the paragraph does not
+ # belong to a list.
+ "nestingLevel": 42, # The nesting level of this paragraph in the list.
+ "listId": "A String", # The ID of the list this paragraph belongs to.
+ "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The paragraph specific text style applied to this bullet.
+ #
+ # If this text is contained in a shape with a parent placeholder, then these text styles may be
+ # inherited from the parent. Which text styles are inherited depend on the
+ # nesting level of lists:
+ #
+ # * A text run in a paragraph that is not in a list will inherit its text style
+ # from the the newline character in the paragraph at the 0 nesting level of
+ # the list inside the parent placeholder.
+ # * A text run in a paragraph that is in a list will inherit its text style
+ # from the newline character in the paragraph at its corresponding nesting
+ # level of the list inside the parent placeholder.
+ #
+ # Inherited text styles are represented as unset fields in this message. If
+ # text is contained in a shape without a parent placeholder, unsetting these
+ # fields will revert the style to a value matching the defaults in the Slides
+ # editor.
+ "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ "baselineOffset": "A String", # The text's vertical offset from its normal position.
+ #
+ # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
+ # rendered in a smaller font size, computed based on the `font_size` field.
+ # The `font_size` itself is not affected by changes in this field.
+ "strikethrough": True or False, # Whether or not the text is struck through.
+ "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").
+ },
+ "smallCaps": True or False, # Whether or not the text is in small capital letters.
+ "fontFamily": "A String", # The font family of the text.
+ #
+ # The font family can be any font from the Font menu in Slides or from
+ # [Google Fonts] (https://fonts.google.com/). If the font name is
+ # unrecognized, the text is rendered in `Arial`.
+ #
+ # Some fonts can affect the weight of the text. If an update request
+ # specifies values for both `font_family` and `bold`, the explicitly-set
+ # `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "italic": True or False, # Whether or not the text is italicized.
+ "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
+ # are not inherited from parent text.
+ #
+ # Changing the link in an update request causes some other changes to the
+ # text style of the range:
+ #
+ # * When setting a link, the text foreground color will be set to
+ # ThemeColorType.HYPERLINK and the text will
+ # be underlined. If these fields are modified in the same
+ # request, those values will be used instead of the link defaults.
+ # * Setting a link on a text range that overlaps with an existing link will
+ # also update the existing link to point to the new URL.
+ # * Links are not settable on newline characters. As a result, setting a link
+ # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
+ # will separate the newline character(s) into their own text runs. The
+ # link will be applied separately to the runs before and after the newline.
+ # * Removing a link will update the text style of the range to match the
+ # style of the preceding text (or the default text styles if the preceding
+ # text is another link) unless different styles are being set in the same
+ # request.
+ "url": "A String", # If set, indicates this is a link to the external web page at this URL.
+ "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
+ # in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
+ "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
+ # addressed by its position.
+ },
+ "underline": True or False, # Whether or not the text is underlined.
+ "bold": True or False, # Whether or not the text is rendered as bold.
+ },
+ "glyph": "A String", # The rendered bullet glyph for this paragraph.
+ },
+ },
+ "textRun": { # A TextElement kind that represents a run of text that all has the same # A TextElement representing a run of text where all of the characters
+ # in the run have the same TextStyle.
+ #
+ # The `start_index` and `end_index` of TextRuns will always be fully
+ # contained in the index range of a single `paragraph_marker` TextElement.
+ # In other words, a TextRun will never span multiple paragraphs.
+ # styling.
+ "content": "A String", # The text of this run.
+ "style": { # Represents the styling that can be applied to a TextRun. # The styling applied to this run.
+ #
+ # If this text is contained in a shape with a parent placeholder, then these text styles may be
+ # inherited from the parent. Which text styles are inherited depend on the
+ # nesting level of lists:
+ #
+ # * A text run in a paragraph that is not in a list will inherit its text style
+ # from the the newline character in the paragraph at the 0 nesting level of
+ # the list inside the parent placeholder.
+ # * A text run in a paragraph that is in a list will inherit its text style
+ # from the newline character in the paragraph at its corresponding nesting
+ # level of the list inside the parent placeholder.
+ #
+ # Inherited text styles are represented as unset fields in this message. If
+ # text is contained in a shape without a parent placeholder, unsetting these
+ # fields will revert the style to a value matching the defaults in the Slides
+ # editor.
+ "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ "baselineOffset": "A String", # The text's vertical offset from its normal position.
+ #
+ # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
+ # rendered in a smaller font size, computed based on the `font_size` field.
+ # The `font_size` itself is not affected by changes in this field.
+ "strikethrough": True or False, # Whether or not the text is struck through.
+ "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").
+ },
+ "smallCaps": True or False, # Whether or not the text is in small capital letters.
+ "fontFamily": "A String", # The font family of the text.
+ #
+ # The font family can be any font from the Font menu in Slides or from
+ # [Google Fonts] (https://fonts.google.com/). If the font name is
+ # unrecognized, the text is rendered in `Arial`.
+ #
+ # Some fonts can affect the weight of the text. If an update request
+ # specifies values for both `font_family` and `bold`, the explicitly-set
+ # `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "italic": True or False, # Whether or not the text is italicized.
+ "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
+ # are not inherited from parent text.
+ #
+ # Changing the link in an update request causes some other changes to the
+ # text style of the range:
+ #
+ # * When setting a link, the text foreground color will be set to
+ # ThemeColorType.HYPERLINK and the text will
+ # be underlined. If these fields are modified in the same
+ # request, those values will be used instead of the link defaults.
+ # * Setting a link on a text range that overlaps with an existing link will
+ # also update the existing link to point to the new URL.
+ # * Links are not settable on newline characters. As a result, setting a link
+ # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
+ # will separate the newline character(s) into their own text runs. The
+ # link will be applied separately to the runs before and after the newline.
+ # * Removing a link will update the text style of the range to match the
+ # style of the preceding text (or the default text styles if the preceding
+ # text is another link) unless different styles are being set in the same
+ # request.
+ "url": "A String", # If set, indicates this is a link to the external web page at this URL.
+ "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
+ # in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
+ "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
+ # addressed by its position.
+ },
+ "underline": True or False, # Whether or not the text is underlined.
+ "bold": True or False, # Whether or not the text is rendered as bold.
+ },
+ },
+ },
+ ],
+ "lists": { # The bulleted lists contained in this text, keyed by list ID.
+ "a_key": { # A List describes the look and feel of bullets belonging to paragraphs
+ # associated with a list. A paragraph that is part of a list has an implicit
+ # reference to that list's ID.
+ "nestingLevel": { # A map of nesting levels to the properties of bullets at the associated
+ # level. A list has at most nine levels of nesting, so the possible values
+ # for the keys of this map are 0 through 8, inclusive.
+ "a_key": { # Contains properties describing the look and feel of a list bullet at a given
+ # level of nesting.
+ "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The style of a bullet at this level of nesting.
+ #
+ # If this text is contained in a shape with a parent placeholder, then these text styles may be
+ # inherited from the parent. Which text styles are inherited depend on the
+ # nesting level of lists:
+ #
+ # * A text run in a paragraph that is not in a list will inherit its text style
+ # from the the newline character in the paragraph at the 0 nesting level of
+ # the list inside the parent placeholder.
+ # * A text run in a paragraph that is in a list will inherit its text style
+ # from the newline character in the paragraph at its corresponding nesting
+ # level of the list inside the parent placeholder.
+ #
+ # Inherited text styles are represented as unset fields in this message. If
+ # text is contained in a shape without a parent placeholder, unsetting these
+ # fields will revert the style to a value matching the defaults in the Slides
+ # editor.
+ "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ "baselineOffset": "A String", # The text's vertical offset from its normal position.
+ #
+ # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
+ # rendered in a smaller font size, computed based on the `font_size` field.
+ # The `font_size` itself is not affected by changes in this field.
+ "strikethrough": True or False, # Whether or not the text is struck through.
+ "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").
+ },
+ "smallCaps": True or False, # Whether or not the text is in small capital letters.
+ "fontFamily": "A String", # The font family of the text.
+ #
+ # The font family can be any font from the Font menu in Slides or from
+ # [Google Fonts] (https://fonts.google.com/). If the font name is
+ # unrecognized, the text is rendered in `Arial`.
+ #
+ # Some fonts can affect the weight of the text. If an update request
+ # specifies values for both `font_family` and `bold`, the explicitly-set
+ # `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "italic": True or False, # Whether or not the text is italicized.
+ "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
+ # are not inherited from parent text.
+ #
+ # Changing the link in an update request causes some other changes to the
+ # text style of the range:
+ #
+ # * When setting a link, the text foreground color will be set to
+ # ThemeColorType.HYPERLINK and the text will
+ # be underlined. If these fields are modified in the same
+ # request, those values will be used instead of the link defaults.
+ # * Setting a link on a text range that overlaps with an existing link will
+ # also update the existing link to point to the new URL.
+ # * Links are not settable on newline characters. As a result, setting a link
+ # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
+ # will separate the newline character(s) into their own text runs. The
+ # link will be applied separately to the runs before and after the newline.
+ # * Removing a link will update the text style of the range to match the
+ # style of the preceding text (or the default text styles if the preceding
+ # text is another link) unless different styles are being set in the same
+ # request.
+ "url": "A String", # If set, indicates this is a link to the external web page at this URL.
+ "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
+ # in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
+ "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
+ # addressed by its position.
+ },
+ "underline": True or False, # Whether or not the text is underlined.
+ "bold": True or False, # Whether or not the text is rendered as bold.
+ },
+ },
+ },
+ "listId": "A String", # The ID of the list.
+ },
+ },
+ },
+ "tableCellProperties": { # The properties of the TableCell. # The properties of the table cell.
+ "tableCellBackgroundFill": { # The table cell background fill. # The background fill of the table cell. The default fill matches the fill
+ # for newly created table cells in the Slides editor.
+ "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill.
+ # specified color value.
+ #
+ # If any field is unset, its value may be inherited from a parent placeholder
+ # if it exists.
+ "color": { # A themeable solid color value. # The color value of the solid fill.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel.
+ # That is, the final pixel color is defined by the equation:
+ #
+ # pixel color = alpha * (color) + (1.0 - alpha) * (background color)
+ #
+ # This means that a value of 1.0 corresponds to a solid color, whereas
+ # a value of 0.0 corresponds to a completely transparent color.
+ },
+ "propertyState": "A String", # The background fill property state.
+ #
+ # Updating the fill on a table cell will implicitly update this field
+ # to `RENDERED`, unless another value is specified in the same request. To
+ # have no fill on a table cell, set this field to `NOT_RENDERED`. In this
+ # case, any other fill fields set in the same request will be ignored.
+ },
+ "contentAlignment": "A String", # The alignment of the content in the table cell. The default alignment
+ # matches the alignment for newly created table cells in the Slides editor.
+ },
+ "rowSpan": 42, # Row span of the cell.
+ "columnSpan": 42, # Column span of the cell.
+ "location": { # A location of a single table cell within a table. # The location of the cell within the table.
+ "rowIndex": 42, # The 0-based row index.
+ "columnIndex": 42, # The 0-based column index.
+ },
+ },
+ ],
+ "rowHeight": { # A magnitude in a single direction in the specified units. # Height of a row.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "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).
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ },
+ },
+ ],
+ "columns": 42, # Number of columns in the table.
+ },
+ "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.
+ #
+ # It matches the `category` specified in CreateLineRequest, and can be updated with
+ # UpdateLineCategoryRequest.
+ "lineProperties": { # The properties of the Line. # The properties of the line.
+ #
+ # When unset, these fields default to values that match the appearance of
+ # new lines created in the Slides editor.
+ "dashStyle": "A String", # The dash style of the line.
+ "weight": { # A magnitude in a single direction in the specified units. # The thickness of the line.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "endArrow": "A String", # The style of the arrow at the end of the line.
+ "link": { # A hypertext link. # The hyperlink destination of the line. If unset, there is no link.
+ "url": "A String", # If set, indicates this is a link to the external web page at this URL.
+ "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
+ # in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
+ "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
+ # addressed by its position.
+ },
+ "lineFill": { # The fill of the line. # The fill of the line. The default line fill matches the defaults for new
+ # lines created in the Slides editor.
+ "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill.
+ # specified color value.
+ #
+ # If any field is unset, its value may be inherited from a parent placeholder
+ # if it exists.
+ "color": { # A themeable solid color value. # The color value of the solid fill.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel.
+ # That is, the final pixel color is defined by the equation:
+ #
+ # pixel color = alpha * (color) + (1.0 - alpha) * (background color)
+ #
+ # This means that a value of 1.0 corresponds to a solid color, whereas
+ # a value of 0.0 corresponds to a completely transparent color.
+ },
+ },
+ "startConnection": { # The properties for one end of a Line # The connection at the beginning of the line. If unset, there is no
+ # connection.
+ #
+ # Only lines with a Type indicating it is
+ # a "connector" can have a `start_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.
+ },
+ "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.
+ },
+ "startArrow": "A String", # The style of the arrow at the beginning of the line.
+ },
+ "lineType": "A String", # The type of the line.
+ },
+ "size": { # A width and height. # The size of the page element.
+ "width": { # A magnitude in a single direction in the specified units. # The width of the object.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "height": { # A magnitude in a single direction in the specified units. # The height of the object.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ },
+ "description": "A String", # The description of the page element. Combined with title to display alt
+ # text.
+ },
+ ],
+ "notesProperties": { # The properties of Page that are only # Notes specific properties. Only set if page_type = NOTES.
+ # relevant for pages with page_type NOTES.
+ "speakerNotesObjectId": "A String", # The object ID of the shape on this notes page that contains the speaker
+ # notes for the corresponding slide.
+ # The actual shape may not always exist on the notes page. Inserting text
+ # using this object ID will automatically create the shape. In this case, the
+ # actual shape may have different object ID. The `GetPresentation` or
+ # `GetPage` action will always return the latest object ID.
+ },
+ "objectId": "A String", # The object ID for this page. Object IDs used by
+ # Page and
+ # PageElement share the same namespace.
+ "revisionId": "A String", # The revision ID of the presentation containing this page. Can be used in
+ # update requests to assert that the presentation revision hasn't changed
+ # since the last read operation. Only populated if the user has edit access
+ # to the presentation.
+ #
+ # The format of the revision ID may change over time, so it should be treated
+ # opaquely. A returned revision ID is only guaranteed to be valid for 24
+ # hours after it has been returned and cannot be shared across users. If the
+ # revision ID is unchanged between calls, then the presentation has not
+ # 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.
+ "masterProperties": { # The properties of Page that are only # Master specific properties. Only set if page_type = MASTER.
+ # relevant for pages with page_type MASTER.
+ "displayName": "A String", # The human-readable name of the master.
+ },
+ "pageProperties": { # The properties of the Page. # The properties of the page.
+ #
+ # The page will inherit properties from the parent page. Depending on the page
+ # type the hierarchy is defined in either
+ # SlideProperties or
+ # LayoutProperties.
+ "pageBackgroundFill": { # The page background fill. # The background fill of the page. If unset, the background fill is inherited
+ # from a parent page if it exists. If the page has no parent, then the
+ # background fill defaults to the corresponding fill in the Slides editor.
+ "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill.
+ # specified color value.
+ #
+ # If any field is unset, its value may be inherited from a parent placeholder
+ # if it exists.
+ "color": { # A themeable solid color value. # The color value of the solid fill.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel.
+ # That is, the final pixel color is defined by the equation:
+ #
+ # pixel color = alpha * (color) + (1.0 - alpha) * (background color)
+ #
+ # This means that a value of 1.0 corresponds to a solid color, whereas
+ # a value of 0.0 corresponds to a completely transparent color.
+ },
+ "propertyState": "A String", # The background fill property state.
+ #
+ # Updating the fill on a page will implicitly update this field to
+ # `RENDERED`, unless another value is specified in the same request. To
+ # have no fill on a page, set this field to `NOT_RENDERED`. In this case,
+ # any other fill fields set in the same request will be ignored.
+ "stretchedPictureFill": { # The stretched picture fill. The page or page element is filled entirely with # Stretched picture fill.
+ # the specified picture. The picture is stretched to fit its container.
+ "contentUrl": "A String", # Reading the content_url:
+ #
+ # An URL to a picture with a default lifetime of 30 minutes.
+ # This URL is tagged with the account of the requester. Anyone with the URL
+ # effectively accesses the picture as the original requester. Access to the
+ # picture may be lost if the presentation's sharing settings change.
+ #
+ # Writing the content_url:
+ #
+ # The picture is fetched once at insertion time and a copy is stored for
+ # display inside the presentation. Pictures must be less than 50MB in size,
+ # cannot exceed 25 megapixels, and must be in 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.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "height": { # A magnitude in a single direction in the specified units. # The height of the object.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ },
+ },
+ },
+ "colorScheme": { # The palette of predefined colors for a page. # The color scheme of the page. If unset, the color scheme is inherited from
+ # a parent page. If the page has no parent, the color scheme uses a default
+ # Slides color scheme. This field is read-only.
+ "colors": [ # The ThemeColorType and corresponding concrete color pairs.
+ { # A pair mapping a theme color type to the concrete color it represents.
+ "color": { # An RGB color. # The concrete color corresponding to the theme color type above.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ "type": "A String", # The type of the theme color.
+ },
+ ],
+ },
+ },
+ "pageType": "A String", # The type of the page.
+ "slideProperties": { # The properties of Page that are only # Slide specific properties. Only set if page_type = SLIDE.
+ # relevant for pages with page_type SLIDE.
+ "notesPage": # Object with schema name: Page # The notes page that this slide is associated with. It defines the visual
+ # appearance of a notes page when printing or exporting slides with speaker
+ # notes. A notes page inherits properties from the
+ # notes master.
+ # The placeholder shape with type BODY on the notes page contains the speaker
+ # notes for this slide. The ID of this shape is identified by the
+ # speakerNotesObjectId field.
+ # The notes page is read-only except for the text content and styles of the
+ # speaker notes shape. 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.
+ },
+ },
+ ],
+ "pageSize": { # A width and height. # The size of pages in the presentation.
+ "width": { # A magnitude in a single direction in the specified units. # The width of the object.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "height": { # A magnitude in a single direction in the specified units. # The height of the object.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ },
+ "title": "A String", # The title of the presentation.
+ "locale": "A String", # The locale of the presentation, as an IETF BCP 47 language tag.
+ "revisionId": "A String", # The revision ID of the presentation. Can be used in update requests
+ # to assert that the presentation revision hasn't changed since the last
+ # read operation. Only populated if the user has edit access to the
+ # presentation.
+ #
+ # The format of the revision ID may change over time, so it should be treated
+ # opaquely. A returned revision ID is only guaranteed to be valid for 24
+ # hours after it has been returned and cannot be shared across users. If the
+ # revision ID is unchanged between calls, then the presentation has not
+ # 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.
"notesMaster": { # A page in a presentation. # The notes master in the presentation. It serves three purposes:
#
# - Placeholder shapes on a notes master contain the default text styles and
@@ -19455,7 +23945,7 @@
# The notes master is read-only.
"layoutProperties": { # The properties of Page are only # Layout specific properties. Only set if page_type = LAYOUT.
# relevant for pages with page_type LAYOUT.
- "displayName": "A String", # The human readable name of the layout in the presentation's locale.
+ "displayName": "A String", # The human-readable name of the layout.
"name": "A String", # The name of the layout.
"masterObjectId": "A String", # The object ID of the master that this layout is based on.
},
@@ -19465,8 +23955,12 @@
# word art.
"renderedText": "A String", # The text rendered as word art.
},
- "description": "A String", # The description of the page element. Combined with title to display alt
- # text.
+ "elementGroup": { # A PageElement kind representing a # A collection of page elements joined as a single unit.
+ # joined collection of PageElements.
+ "children": [ # The collection of elements in the group. The minimum size of a group is 2.
+ # Object with schema name: PageElement
+ ],
+ },
"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.
@@ -19479,7 +23973,7 @@
# effectively accesses the image as the original requester. Access to the
# image may be lost if the presentation's sharing settings change.
"imageProperties": { # The properties of the Image. # The properties of the image.
- "outline": { # The outline of a PageElement. # The outline of the image. If not set, the the image has no outline.
+ "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
@@ -19510,9 +24004,9 @@
},
"propertyState": "A String", # The outline property state.
#
- # Updating the the outline on a page element will implicitly update this
- # field to`RENDERED`, unless another value is specified in the same request.
- # To have no outline on a page element, set this field to `NOT_RENDERED`. In
+ # 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.
"dashStyle": "A String", # The dash style of the outline.
@@ -19588,14 +24082,14 @@
"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.
"angle": 3.14, # The rotation angle of the crop window around its center, in radians.
# Rotation angle is applied after the offset.
"rightOffset": 3.14, # The offset specifies the right edge of the crop rectangle that is located
# to the left of the original bounding rectangle right edge, relative to the
# object's original width.
- "bottomOffset": 3.14, # The offset specifies the bottom edge of the crop rectangle that is located
- # above the original bounding rectangle bottom edge, relative to the object's
- # original height.
"topOffset": 3.14, # The offset specifies the top edge of the crop rectangle that is located
# below the original bounding rectangle top edge, relative to the object's
# original height.
@@ -19639,9 +24133,9 @@
},
"propertyState": "A String", # The shadow property state.
#
- # Updating the the shadow on a page element will implicitly update this field
- # to `RENDERED`, unless another value is specified in the same request. To
- # have no shadow on a page element, set this field to `NOT_RENDERED`. In this
+ # 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.
"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.
@@ -19649,16 +24143,27 @@
"unit": "A String", # The units for magnitude.
},
"alpha": 3.14, # The alpha of the shadow's color, from 0.0 to 1.0.
- "type": "A String", # The type of the shadow.
+ "type": "A String", # The type of the shadow. This property is read-only.
"alignment": "A String", # The alignment point of the shadow, that sets the origin for translate,
- # scale and skew of the shadow.
- "rotateWithShape": True or False, # Whether the shadow should rotate with the shape.
+ # scale and skew of the shadow. This property is read-only.
+ "rotateWithShape": True or False, # Whether the shadow should rotate with the shape. 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.
},
+ "sourceUrl": "A String", # The source URL is the URL used to insert the image. The source URL can be
+ # empty.
},
"transform": { # AffineTransform uses a 3x3 matrix with an implied last row of [ 0 0 1 ] # The transform of the page element.
+ #
+ # The visual appearance of the page element is determined by its absolute
+ # transform. To compute the absolute transform, preconcatenate a page
+ # element's transform with the transforms of all of its parent groups. If the
+ # page element is not in a group, its absolute transform is the same as the
+ # value in this field.
+ #
+ # The initial transform for the newly created Group is always the identity transform.
# to transform source coordinates (x,y) into destination coordinates (x', y')
# according to:
#
@@ -19683,156 +24188,6 @@
# generic shape that does not have a more specific classification.
"text": { # The general text content. The text must reside in a compatible shape (e.g. # The text content of the shape.
# text box or rectangle) or a table cell in a page.
- "lists": { # The bulleted lists contained in this text, keyed by list ID.
- "a_key": { # A List describes the look and feel of bullets belonging to paragraphs
- # associated with a list. A paragraph that is part of a list has an implicit
- # reference to that list's ID.
- "nestingLevel": { # A map of nesting levels to the properties of bullets at the associated
- # level. A list has at most nine levels of nesting, so the possible values
- # for the keys of this map are 0 through 8, inclusive.
- "a_key": { # Contains properties describing the look and feel of a list bullet at a given
- # level of nesting.
- "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The style of a bullet at this level of nesting.
- #
- # If this text is contained in a shape with a parent placeholder, then these text styles may be
- # inherited from the parent. Which text styles are inherited depend on the
- # nesting level of lists:
- #
- # * A text run in a paragraph that is not in a list will inherit its text style
- # from the the newline character in the paragraph at the 0 nesting level of
- # the list inside the parent placeholder.
- # * A text run in a paragraph that is in a list will inherit its text style
- # from the newline character in the paragraph at its corresponding nesting
- # level of the list inside the parent placeholder.
- #
- # Inherited text styles are represented as unset fields in this message. If
- # text is contained in a shape without a parent placeholder, unsetting these
- # fields will revert the style to a value matching the defaults in the Slides
- # editor.
- "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- "bold": True or False, # Whether or not the text is rendered as bold.
- "baselineOffset": "A String", # The text's vertical offset from its normal position.
- #
- # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
- # rendered in a smaller font size, computed based on the `font_size` field.
- # The `font_size` itself is not affected by changes in this field.
- "strikethrough": True or False, # Whether or not the text is struck through.
- "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").
- },
- "smallCaps": True or False, # Whether or not the text is in small capital letters.
- "fontFamily": "A String", # The font family of the text.
- #
- # The font family can be any font from the Font menu in Slides or from
- # [Google Fonts] (https://fonts.google.com/). If the font name is
- # unrecognized, the text is rendered in `Arial`.
- #
- # Some fonts can affect the weight of the text. If an update request
- # specifies values for both `font_family` and `bold`, the explicitly-set
- # `bold` value is used.
- "italic": True or False, # Whether or not the text is italicized.
- "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
- # are not inherited from parent text.
- #
- # Changing the link in an update request causes some other changes to the
- # text style of the range:
- #
- # * When setting a link, the text foreground color will be set to
- # ThemeColorType.HYPERLINK and the text will
- # be underlined. If these fields are modified in the same
- # request, those values will be used instead of the link defaults.
- # * Setting a link on a text range that overlaps with an existing link will
- # also update the existing link to point to the new URL.
- # * Links are not settable on newline characters. As a result, setting a link
- # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
- # will separate the newline character(s) into their own text runs. The
- # link will be applied separately to the runs before and after the newline.
- # * Removing a link will update the text style of the range to match the
- # style of the preceding text (or the default text styles if the preceding
- # text is another link) unless different styles are being set in the same
- # request.
- "url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
- # in the presentation. There may not be a slide at this index.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
- "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
- # addressed by its position.
- },
- "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
- "underline": True or False, # Whether or not the text is underlined.
- },
- },
- },
- "listId": "A String", # The ID of the list.
- },
- },
"textElements": [ # The text contents broken down into its component parts, including styling
# information. This property is read-only.
{ # A TextElement describes the content of a range of indices in the text content
@@ -19869,7 +24224,18 @@
},
},
},
- "bold": True or False, # Whether or not the text is rendered as bold.
+ "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
"baselineOffset": "A String", # The text's vertical offset from its normal position.
#
# Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
@@ -19913,7 +24279,8 @@
"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),
+ # 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").
@@ -19928,6 +24295,11 @@
# Some fonts can affect the weight of the text. If an update request
# specifies values for both `font_family` and `bold`, the explicitly-set
# `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
"italic": True or False, # Whether or not the text is italicized.
"link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
# are not inherited from parent text.
@@ -19957,24 +24329,8 @@
"relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
# addressed by its position.
},
- "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
"underline": True or False, # Whether or not the text is underlined.
+ "bold": True or False, # Whether or not the text is rendered as bold.
},
"type": "A String", # The type of this auto text.
},
@@ -20005,7 +24361,7 @@
"direction": "A String", # The text direction of this paragraph. If unset, the value defaults to
# LEFT_TO_RIGHT since
# text direction is not inherited.
- "spaceBelow": { # A magnitude in a single direction in the specified units. # The amount of extra space above the paragraph. If unset, the value is
+ "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.
"magnitude": 3.14, # The magnitude.
"unit": "A String", # The units for magnitude.
@@ -20069,7 +24425,18 @@
},
},
},
- "bold": True or False, # Whether or not the text is rendered as bold.
+ "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
"baselineOffset": "A String", # The text's vertical offset from its normal position.
#
# Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
@@ -20113,7 +24480,8 @@
"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),
+ # 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").
@@ -20128,6 +24496,11 @@
# Some fonts can affect the weight of the text. If an update request
# specifies values for both `font_family` and `bold`, the explicitly-set
# `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
"italic": True or False, # Whether or not the text is italicized.
"link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
# are not inherited from parent text.
@@ -20157,24 +24530,8 @@
"relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
# addressed by its position.
},
- "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
"underline": True or False, # Whether or not the text is underlined.
+ "bold": True or False, # Whether or not the text is rendered as bold.
},
"glyph": "A String", # The rendered bullet glyph for this paragraph.
},
@@ -20216,7 +24573,18 @@
},
},
},
- "bold": True or False, # Whether or not the text is rendered as bold.
+ "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
"baselineOffset": "A String", # The text's vertical offset from its normal position.
#
# Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
@@ -20260,7 +24628,8 @@
"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),
+ # 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").
@@ -20275,6 +24644,11 @@
# Some fonts can affect the weight of the text. If an update request
# specifies values for both `font_family` and `bold`, the explicitly-set
# `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
"italic": True or False, # Whether or not the text is italicized.
"link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
# are not inherited from parent text.
@@ -20304,28 +24678,163 @@
"relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
# addressed by its position.
},
- "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
"underline": True or False, # Whether or not the text is underlined.
+ "bold": True or False, # Whether or not the text is rendered as bold.
},
},
},
],
+ "lists": { # The bulleted lists contained in this text, keyed by list ID.
+ "a_key": { # A List describes the look and feel of bullets belonging to paragraphs
+ # associated with a list. A paragraph that is part of a list has an implicit
+ # reference to that list's ID.
+ "nestingLevel": { # A map of nesting levels to the properties of bullets at the associated
+ # level. A list has at most nine levels of nesting, so the possible values
+ # for the keys of this map are 0 through 8, inclusive.
+ "a_key": { # Contains properties describing the look and feel of a list bullet at a given
+ # level of nesting.
+ "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The style of a bullet at this level of nesting.
+ #
+ # If this text is contained in a shape with a parent placeholder, then these text styles may be
+ # inherited from the parent. Which text styles are inherited depend on the
+ # nesting level of lists:
+ #
+ # * A text run in a paragraph that is not in a list will inherit its text style
+ # from the the newline character in the paragraph at the 0 nesting level of
+ # the list inside the parent placeholder.
+ # * A text run in a paragraph that is in a list will inherit its text style
+ # from the newline character in the paragraph at its corresponding nesting
+ # level of the list inside the parent placeholder.
+ #
+ # Inherited text styles are represented as unset fields in this message. If
+ # text is contained in a shape without a parent placeholder, unsetting these
+ # fields will revert the style to a value matching the defaults in the Slides
+ # editor.
+ "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ "baselineOffset": "A String", # The text's vertical offset from its normal position.
+ #
+ # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
+ # rendered in a smaller font size, computed based on the `font_size` field.
+ # The `font_size` itself is not affected by changes in this field.
+ "strikethrough": True or False, # Whether or not the text is struck through.
+ "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").
+ },
+ "smallCaps": True or False, # Whether or not the text is in small capital letters.
+ "fontFamily": "A String", # The font family of the text.
+ #
+ # The font family can be any font from the Font menu in Slides or from
+ # [Google Fonts] (https://fonts.google.com/). If the font name is
+ # unrecognized, the text is rendered in `Arial`.
+ #
+ # Some fonts can affect the weight of the text. If an update request
+ # specifies values for both `font_family` and `bold`, the explicitly-set
+ # `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "italic": True or False, # Whether or not the text is italicized.
+ "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
+ # are not inherited from parent text.
+ #
+ # Changing the link in an update request causes some other changes to the
+ # text style of the range:
+ #
+ # * When setting a link, the text foreground color will be set to
+ # ThemeColorType.HYPERLINK and the text will
+ # be underlined. If these fields are modified in the same
+ # request, those values will be used instead of the link defaults.
+ # * Setting a link on a text range that overlaps with an existing link will
+ # also update the existing link to point to the new URL.
+ # * Links are not settable on newline characters. As a result, setting a link
+ # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
+ # will separate the newline character(s) into their own text runs. The
+ # link will be applied separately to the runs before and after the newline.
+ # * Removing a link will update the text style of the range to match the
+ # style of the preceding text (or the default text styles if the preceding
+ # text is another link) unless different styles are being set in the same
+ # request.
+ "url": "A String", # If set, indicates this is a link to the external web page at this URL.
+ "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
+ # in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
+ "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
+ # addressed by its position.
+ },
+ "underline": True or False, # Whether or not the text is underlined.
+ "bold": True or False, # Whether or not the text is rendered as bold.
+ },
+ },
+ },
+ "listId": "A String", # The ID of the list.
+ },
+ },
},
"shapeProperties": { # The properties of a Shape. # The properties of the shape.
#
@@ -20375,9 +24884,9 @@
},
"propertyState": "A String", # The shadow property state.
#
- # Updating the the shadow on a page element will implicitly update this field
- # to `RENDERED`, unless another value is specified in the same request. To
- # have no shadow on a page element, set this field to `NOT_RENDERED`. In this
+ # 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.
"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.
@@ -20385,10 +24894,11 @@
"unit": "A String", # The units for magnitude.
},
"alpha": 3.14, # The alpha of the shadow's color, from 0.0 to 1.0.
- "type": "A String", # The type of the shadow.
+ "type": "A String", # The type of the shadow. This property is read-only.
"alignment": "A String", # The alignment point of the shadow, that sets the origin for translate,
- # scale and skew of the shadow.
- "rotateWithShape": True or False, # Whether the shadow should rotate with the shape.
+ # scale and skew of the shadow. This property is read-only.
+ "rotateWithShape": True or False, # Whether the shadow should rotate with the shape. This property is
+ # read-only.
},
"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
@@ -20417,7 +24927,7 @@
},
"propertyState": "A String", # The background fill property state.
#
- # Updating the the fill on a shape will implicitly update this field to
+ # Updating the fill on a shape will implicitly update this field to
# `RENDERED`, unless another value is specified in the same request. To
# have no fill on a shape, set this field to `NOT_RENDERED`. In this case,
# any other fill fields set in the same request will be ignored.
@@ -20466,9 +24976,9 @@
},
"propertyState": "A String", # The outline property state.
#
- # Updating the the outline on a page element will implicitly update this
- # field to`RENDERED`, unless another value is specified in the same request.
- # To have no outline on a page element, set this field to `NOT_RENDERED`. In
+ # 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.
"dashStyle": "A String", # The dash style of the outline.
@@ -20477,6 +24987,10 @@
"unit": "A String", # The units for magnitude.
},
},
+ "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.
},
"placeholder": { # The placeholder information that uniquely identifies a placeholder shape. # Placeholders are shapes that are inherit from corresponding placeholders on
# layouts and masters.
@@ -20503,7 +25017,7 @@
"spreadsheetId": "A String", # The ID of the Google Sheets spreadsheet that contains the source chart.
"sheetsChartProperties": { # The properties of the SheetsChart. # The properties of the Sheets chart.
"chartImageProperties": { # The properties of the Image. # The properties of the embedded chart image.
- "outline": { # The outline of a PageElement. # The outline of the image. If not set, the the image has no outline.
+ "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
@@ -20534,9 +25048,9 @@
},
"propertyState": "A String", # The outline property state.
#
- # Updating the the outline on a page element will implicitly update this
- # field to`RENDERED`, unless another value is specified in the same request.
- # To have no outline on a page element, set this field to `NOT_RENDERED`. In
+ # 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.
"dashStyle": "A String", # The dash style of the outline.
@@ -20612,14 +25126,14 @@
"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.
"angle": 3.14, # The rotation angle of the crop window around its center, in radians.
# Rotation angle is applied after the offset.
"rightOffset": 3.14, # The offset specifies the right edge of the crop rectangle that is located
# to the left of the original bounding rectangle right edge, relative to the
# object's original width.
- "bottomOffset": 3.14, # The offset specifies the bottom edge of the crop rectangle that is located
- # above the original bounding rectangle bottom edge, relative to the object's
- # original height.
"topOffset": 3.14, # The offset specifies the top edge of the crop rectangle that is located
# below the original bounding rectangle top edge, relative to the object's
# original height.
@@ -20663,9 +25177,9 @@
},
"propertyState": "A String", # The shadow property state.
#
- # Updating the the shadow on a page element will implicitly update this field
- # to `RENDERED`, unless another value is specified in the same request. To
- # have no shadow on a page element, set this field to `NOT_RENDERED`. In this
+ # 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.
"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.
@@ -20673,10 +25187,11 @@
"unit": "A String", # The units for magnitude.
},
"alpha": 3.14, # The alpha of the shadow's color, from 0.0 to 1.0.
- "type": "A String", # The type of the shadow.
+ "type": "A String", # The type of the shadow. This property is read-only.
"alignment": "A String", # The alignment point of the shadow, that sets the origin for translate,
- # scale and skew of the shadow.
- "rotateWithShape": True or False, # Whether the shadow should rotate with the shape.
+ # scale and skew of the shadow. This property is read-only.
+ "rotateWithShape": True or False, # Whether the shadow should rotate with the shape. 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.
@@ -20687,9 +25202,22 @@
},
"video": { # A PageElement kind representing a # A video page element.
# video.
- "url": "A String", # An URL to a video. The URL is valid as long as the source video
- # exists and sharing settings do not change.
+ "url": "A String", # An URL to a video. The URL is valid as long as the source video exists and
+ # sharing settings do not change.
"videoProperties": { # The properties of the Video. # The properties of the video.
+ "start": 42, # The time at which to start playback, measured in seconds from the beginning
+ # of the video.
+ # If set, the start time should be before the end time.
+ # If you set this to a value that exceeds the video's length in seconds, the
+ # video will be played from the last second.
+ # If not set, the video will be played from the beginning.
+ "autoPlay": True or False, # Whether to enable video autoplay when the page is displayed in present
+ # mode. Defaults to false.
+ "end": 42, # The time at which to end playback, measured in seconds from the beginning
+ # of the video.
+ # If set, the end time should be after the start time.
+ # If not set or if you set this to a value that exceeds the video's length,
+ # the video will be played until its end.
"outline": { # The outline of a PageElement. # The outline of the video. The default outline matches the defaults for new
# videos created in the Slides editor.
#
@@ -20722,9 +25250,9 @@
},
"propertyState": "A String", # The outline property state.
#
- # Updating the the outline on a page element will implicitly update this
- # field to`RENDERED`, unless another value is specified in the same request.
- # To have no outline on a page element, set this field to `NOT_RENDERED`. In
+ # 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.
"dashStyle": "A String", # The dash style of the outline.
@@ -20733,18 +25261,112 @@
"unit": "A String", # The units for magnitude.
},
},
+ "mute": True or False, # Whether to mute the audio during video playback. Defaults to false.
},
"id": "A String", # The video source's unique identifier for this video.
"source": "A String", # The video source.
},
- "elementGroup": { # A PageElement kind representing a # A collection of page elements joined as a single unit.
- # joined collection of PageElements.
- "children": [ # The collection of elements in the group. The minimum size of a group is 2.
- # Object with schema name: PageElement
- ],
- },
"table": { # A PageElement kind representing a # A table page element.
# table.
+ "rows": 42, # Number of rows in the table.
+ "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.
+ "tableBorderProperties": { # The border styling properties of the # The border properties.
+ # TableBorderCell.
+ "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.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel.
+ # That is, the final pixel color is defined by the equation:
+ #
+ # pixel color = alpha * (color) + (1.0 - alpha) * (background color)
+ #
+ # This means that a value of 1.0 corresponds to a solid color, whereas
+ # a value of 0.0 corresponds to a completely transparent color.
+ },
+ },
+ "dashStyle": "A String", # The dash style of the border.
+ "weight": { # A magnitude in a single direction in the specified units. # The thickness of the border.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ },
+ "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.
+ },
+ },
+ ],
+ },
+ ],
+ "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.
+ "tableBorderProperties": { # The border styling properties of the # The border properties.
+ # TableBorderCell.
+ "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.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel.
+ # That is, the final pixel color is defined by the equation:
+ #
+ # pixel color = alpha * (color) + (1.0 - alpha) * (background color)
+ #
+ # This means that a value of 1.0 corresponds to a solid color, whereas
+ # a value of 0.0 corresponds to a completely transparent color.
+ },
+ },
+ "dashStyle": "A String", # The dash style of the border.
+ "weight": { # A magnitude in a single direction in the specified units. # The thickness of the border.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ },
+ "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.
+ },
+ },
+ ],
+ },
+ ],
"tableColumns": [ # Properties of each column.
{ # Properties of each column in a table.
"columnWidth": { # A magnitude in a single direction in the specified units. # Width of a column.
@@ -20768,156 +25390,6 @@
{ # Properties and contents of each table cell.
"text": { # The general text content. The text must reside in a compatible shape (e.g. # The text content of the cell.
# text box or rectangle) or a table cell in a page.
- "lists": { # The bulleted lists contained in this text, keyed by list ID.
- "a_key": { # A List describes the look and feel of bullets belonging to paragraphs
- # associated with a list. A paragraph that is part of a list has an implicit
- # reference to that list's ID.
- "nestingLevel": { # A map of nesting levels to the properties of bullets at the associated
- # level. A list has at most nine levels of nesting, so the possible values
- # for the keys of this map are 0 through 8, inclusive.
- "a_key": { # Contains properties describing the look and feel of a list bullet at a given
- # level of nesting.
- "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The style of a bullet at this level of nesting.
- #
- # If this text is contained in a shape with a parent placeholder, then these text styles may be
- # inherited from the parent. Which text styles are inherited depend on the
- # nesting level of lists:
- #
- # * A text run in a paragraph that is not in a list will inherit its text style
- # from the the newline character in the paragraph at the 0 nesting level of
- # the list inside the parent placeholder.
- # * A text run in a paragraph that is in a list will inherit its text style
- # from the newline character in the paragraph at its corresponding nesting
- # level of the list inside the parent placeholder.
- #
- # Inherited text styles are represented as unset fields in this message. If
- # text is contained in a shape without a parent placeholder, unsetting these
- # fields will revert the style to a value matching the defaults in the Slides
- # editor.
- "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- "bold": True or False, # Whether or not the text is rendered as bold.
- "baselineOffset": "A String", # The text's vertical offset from its normal position.
- #
- # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
- # rendered in a smaller font size, computed based on the `font_size` field.
- # The `font_size` itself is not affected by changes in this field.
- "strikethrough": True or False, # Whether or not the text is struck through.
- "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").
- },
- "smallCaps": True or False, # Whether or not the text is in small capital letters.
- "fontFamily": "A String", # The font family of the text.
- #
- # The font family can be any font from the Font menu in Slides or from
- # [Google Fonts] (https://fonts.google.com/). If the font name is
- # unrecognized, the text is rendered in `Arial`.
- #
- # Some fonts can affect the weight of the text. If an update request
- # specifies values for both `font_family` and `bold`, the explicitly-set
- # `bold` value is used.
- "italic": True or False, # Whether or not the text is italicized.
- "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
- # are not inherited from parent text.
- #
- # Changing the link in an update request causes some other changes to the
- # text style of the range:
- #
- # * When setting a link, the text foreground color will be set to
- # ThemeColorType.HYPERLINK and the text will
- # be underlined. If these fields are modified in the same
- # request, those values will be used instead of the link defaults.
- # * Setting a link on a text range that overlaps with an existing link will
- # also update the existing link to point to the new URL.
- # * Links are not settable on newline characters. As a result, setting a link
- # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
- # will separate the newline character(s) into their own text runs. The
- # link will be applied separately to the runs before and after the newline.
- # * Removing a link will update the text style of the range to match the
- # style of the preceding text (or the default text styles if the preceding
- # text is another link) unless different styles are being set in the same
- # request.
- "url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
- # in the presentation. There may not be a slide at this index.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
- "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
- # addressed by its position.
- },
- "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
- "underline": True or False, # Whether or not the text is underlined.
- },
- },
- },
- "listId": "A String", # The ID of the list.
- },
- },
"textElements": [ # The text contents broken down into its component parts, including styling
# information. This property is read-only.
{ # A TextElement describes the content of a range of indices in the text content
@@ -20954,7 +25426,18 @@
},
},
},
- "bold": True or False, # Whether or not the text is rendered as bold.
+ "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
"baselineOffset": "A String", # The text's vertical offset from its normal position.
#
# Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
@@ -20998,7 +25481,8 @@
"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),
+ # 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").
@@ -21013,6 +25497,11 @@
# Some fonts can affect the weight of the text. If an update request
# specifies values for both `font_family` and `bold`, the explicitly-set
# `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
"italic": True or False, # Whether or not the text is italicized.
"link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
# are not inherited from parent text.
@@ -21042,24 +25531,8 @@
"relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
# addressed by its position.
},
- "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
"underline": True or False, # Whether or not the text is underlined.
+ "bold": True or False, # Whether or not the text is rendered as bold.
},
"type": "A String", # The type of this auto text.
},
@@ -21090,7 +25563,7 @@
"direction": "A String", # The text direction of this paragraph. If unset, the value defaults to
# LEFT_TO_RIGHT since
# text direction is not inherited.
- "spaceBelow": { # A magnitude in a single direction in the specified units. # The amount of extra space above the paragraph. If unset, the value is
+ "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.
"magnitude": 3.14, # The magnitude.
"unit": "A String", # The units for magnitude.
@@ -21154,7 +25627,18 @@
},
},
},
- "bold": True or False, # Whether or not the text is rendered as bold.
+ "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
"baselineOffset": "A String", # The text's vertical offset from its normal position.
#
# Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
@@ -21198,7 +25682,8 @@
"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),
+ # 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").
@@ -21213,6 +25698,11 @@
# Some fonts can affect the weight of the text. If an update request
# specifies values for both `font_family` and `bold`, the explicitly-set
# `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
"italic": True or False, # Whether or not the text is italicized.
"link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
# are not inherited from parent text.
@@ -21242,24 +25732,8 @@
"relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
# addressed by its position.
},
- "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
"underline": True or False, # Whether or not the text is underlined.
+ "bold": True or False, # Whether or not the text is rendered as bold.
},
"glyph": "A String", # The rendered bullet glyph for this paragraph.
},
@@ -21301,7 +25775,18 @@
},
},
},
- "bold": True or False, # Whether or not the text is rendered as bold.
+ "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
"baselineOffset": "A String", # The text's vertical offset from its normal position.
#
# Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
@@ -21345,7 +25830,8 @@
"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),
+ # 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").
@@ -21360,6 +25846,11 @@
# Some fonts can affect the weight of the text. If an update request
# specifies values for both `font_family` and `bold`, the explicitly-set
# `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
"italic": True or False, # Whether or not the text is italicized.
"link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
# are not inherited from parent text.
@@ -21389,28 +25880,163 @@
"relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
# addressed by its position.
},
- "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
"underline": True or False, # Whether or not the text is underlined.
+ "bold": True or False, # Whether or not the text is rendered as bold.
},
},
},
],
+ "lists": { # The bulleted lists contained in this text, keyed by list ID.
+ "a_key": { # A List describes the look and feel of bullets belonging to paragraphs
+ # associated with a list. A paragraph that is part of a list has an implicit
+ # reference to that list's ID.
+ "nestingLevel": { # A map of nesting levels to the properties of bullets at the associated
+ # level. A list has at most nine levels of nesting, so the possible values
+ # for the keys of this map are 0 through 8, inclusive.
+ "a_key": { # Contains properties describing the look and feel of a list bullet at a given
+ # level of nesting.
+ "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The style of a bullet at this level of nesting.
+ #
+ # If this text is contained in a shape with a parent placeholder, then these text styles may be
+ # inherited from the parent. Which text styles are inherited depend on the
+ # nesting level of lists:
+ #
+ # * A text run in a paragraph that is not in a list will inherit its text style
+ # from the the newline character in the paragraph at the 0 nesting level of
+ # the list inside the parent placeholder.
+ # * A text run in a paragraph that is in a list will inherit its text style
+ # from the newline character in the paragraph at its corresponding nesting
+ # level of the list inside the parent placeholder.
+ #
+ # Inherited text styles are represented as unset fields in this message. If
+ # text is contained in a shape without a parent placeholder, unsetting these
+ # fields will revert the style to a value matching the defaults in the Slides
+ # editor.
+ "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ "baselineOffset": "A String", # The text's vertical offset from its normal position.
+ #
+ # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
+ # rendered in a smaller font size, computed based on the `font_size` field.
+ # The `font_size` itself is not affected by changes in this field.
+ "strikethrough": True or False, # Whether or not the text is struck through.
+ "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").
+ },
+ "smallCaps": True or False, # Whether or not the text is in small capital letters.
+ "fontFamily": "A String", # The font family of the text.
+ #
+ # The font family can be any font from the Font menu in Slides or from
+ # [Google Fonts] (https://fonts.google.com/). If the font name is
+ # unrecognized, the text is rendered in `Arial`.
+ #
+ # Some fonts can affect the weight of the text. If an update request
+ # specifies values for both `font_family` and `bold`, the explicitly-set
+ # `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "italic": True or False, # Whether or not the text is italicized.
+ "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
+ # are not inherited from parent text.
+ #
+ # Changing the link in an update request causes some other changes to the
+ # text style of the range:
+ #
+ # * When setting a link, the text foreground color will be set to
+ # ThemeColorType.HYPERLINK and the text will
+ # be underlined. If these fields are modified in the same
+ # request, those values will be used instead of the link defaults.
+ # * Setting a link on a text range that overlaps with an existing link will
+ # also update the existing link to point to the new URL.
+ # * Links are not settable on newline characters. As a result, setting a link
+ # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
+ # will separate the newline character(s) into their own text runs. The
+ # link will be applied separately to the runs before and after the newline.
+ # * Removing a link will update the text style of the range to match the
+ # style of the preceding text (or the default text styles if the preceding
+ # text is another link) unless different styles are being set in the same
+ # request.
+ "url": "A String", # If set, indicates this is a link to the external web page at this URL.
+ "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
+ # in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
+ "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
+ # addressed by its position.
+ },
+ "underline": True or False, # Whether or not the text is underlined.
+ "bold": True or False, # Whether or not the text is rendered as bold.
+ },
+ },
+ },
+ "listId": "A String", # The ID of the list.
+ },
+ },
},
"tableCellProperties": { # The properties of the TableCell. # The properties of the table cell.
"tableCellBackgroundFill": { # The table cell background fill. # The background fill of the table cell. The default fill matches the fill
@@ -21438,11 +26064,13 @@
},
"propertyState": "A String", # The background fill property state.
#
- # Updating the the fill on a table cell will implicitly update this field
+ # Updating the fill on a table cell will implicitly update this field
# to `RENDERED`, unless another value is specified in the same request. To
# have no fill on a table cell, set this field to `NOT_RENDERED`. In this
# case, any other fill fields set in the same request will be ignored.
},
+ "contentAlignment": "A String", # The alignment of the content in the table cell. The default alignment
+ # matches the alignment for newly created table cells in the Slides editor.
},
"rowSpan": 42, # Row span of the cell.
"columnSpan": 42, # Column span of the cell.
@@ -21456,13 +26084,24 @@
"magnitude": 3.14, # The magnitude.
"unit": "A String", # The units for 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).
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ },
},
],
- "rows": 42, # Number of rows in the table.
"columns": 42, # Number of columns in the table.
},
"line": { # A PageElement kind representing a # A line page element.
- # line, curved connector, or bent connector.
+ # non-connector line, straight connector, curved connector, or bent connector.
+ "lineCategory": "A String", # The category of the line.
+ #
+ # It matches the `category` specified in CreateLineRequest, and can be updated with
+ # UpdateLineCategoryRequest.
"lineProperties": { # The properties of the Line. # The properties of the line.
#
# When unset, these fields default to values that match the appearance of
@@ -21506,6 +26145,51 @@
# a value of 0.0 corresponds to a completely transparent color.
},
},
+ "startConnection": { # The properties for one end of a Line # The connection at the beginning of the line. If unset, there is no
+ # connection.
+ #
+ # Only lines with a Type indicating it is
+ # a "connector" can have a `start_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.
+ },
+ "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.
+ },
"startArrow": "A String", # The style of the arrow at the beginning of the line.
},
"lineType": "A String", # The type of the line.
@@ -21520,6 +26204,8 @@
"unit": "A String", # The units for magnitude.
},
},
+ "description": "A String", # The description of the page element. Combined with title to display alt
+ # text.
},
],
"notesProperties": { # The properties of Page that are only # Notes specific properties. Only set if page_type = NOTES.
@@ -21546,6 +26232,10 @@
# 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.
+ "masterProperties": { # The properties of Page that are only # Master specific properties. Only set if page_type = MASTER.
+ # relevant for pages with page_type MASTER.
+ "displayName": "A String", # The human-readable name of the master.
+ },
"pageProperties": { # The properties of the Page. # The properties of the page.
#
# The page will inherit properties from the parent page. Depending on the page
@@ -21578,7 +26268,7 @@
},
"propertyState": "A String", # The background fill property state.
#
- # Updating the the fill on a page will implicitly update this field to
+ # 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.
@@ -21595,8 +26285,10 @@
#
# The picture is fetched once at insertion time and a copy is stored for
# display inside the presentation. Pictures must be less than 50MB in size,
- # cannot exceed 25 megapixels, and must be in either in PNG, JPEG, or GIF
+ # 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.
"magnitude": 3.14, # The magnitude.
@@ -21635,2240 +26327,19 @@
# notes for this slide. The ID of this shape is identified by the
# speakerNotesObjectId field.
# The notes page is read-only except for the text content and styles of the
- # speaker notes shape.
- "masterObjectId": "A String", # The object ID of the master that this slide is based on.
- "layoutObjectId": "A String", # The object ID of the layout that this slide is based on.
+ # 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.
},
},
- "pageSize": { # A width and height. # The size of pages in the presentation.
- "width": { # A magnitude in a single direction in the specified units. # The width of the object.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
- "height": { # A magnitude in a single direction in the specified units. # The height of the object.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
- },
- "title": "A String", # The title of the presentation.
- "locale": "A String", # The locale of the presentation, as an IETF BCP 47 language tag.
- "revisionId": "A String", # The revision ID of the presentation. Can be used in update requests
- # to assert that the presentation revision hasn't changed since the last
- # read operation. Only populated if the user has edit access to the
- # presentation.
- #
- # The format of the revision ID may change over time, so it should be treated
- # opaquely. A returned revision ID is only guaranteed to be valid for 24
- # hours after it has been returned and cannot be shared across users. If the
- # revision ID is unchanged between calls, then the presentation has not
- # 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.
- "masters": [ # The slide masters in the presentation. A slide master contains all common
- # page elements and the common properties for a set of layouts. They serve
- # three purposes:
- #
- # - Placeholder shapes on a master contain the default text styles and shape
- # properties of all placeholder shapes on pages that use that master.
- # - The master page properties define the common page properties inherited by
- # its layouts.
- # - Any other shapes on the master slide will appear on all slides using that
- # master, regardless of their layout.
- { # A page in a presentation.
- "layoutProperties": { # The properties of Page are only # Layout specific properties. Only set if page_type = LAYOUT.
- # relevant for pages with page_type LAYOUT.
- "displayName": "A String", # The human readable name of the layout in the presentation's locale.
- "name": "A String", # The name of the layout.
- "masterObjectId": "A String", # The object ID of the master that this layout is based on.
- },
- "pageElements": [ # The page elements rendered on the page.
- { # A visual element rendered on a page.
- "wordArt": { # A PageElement kind representing # A word art page element.
- # word art.
- "renderedText": "A String", # The text rendered as word art.
- },
- "description": "A String", # The description of the page element. Combined with title to display alt
- # text.
- "objectId": "A String", # The object ID for this page element. Object IDs used by
- # google.apps.slides.v1.Page and
- # google.apps.slides.v1.PageElement share the same namespace.
- "title": "A String", # The title of the page element. Combined with description to display alt
- # text.
- "image": { # A PageElement kind representing an # An image page element.
- # image.
- "contentUrl": "A String", # An URL to an image with a default lifetime of 30 minutes.
- # This URL is tagged with the account of the requester. Anyone with the URL
- # effectively accesses the image as the original requester. Access to the
- # image may be lost if the presentation's sharing settings change.
- "imageProperties": { # The properties of the Image. # The properties of the image.
- "outline": { # The outline of a PageElement. # The outline of the image. If not set, the the image has no outline.
- #
- # If these fields are unset, they may be inherited from a parent placeholder
- # if it exists. If there is no parent, the fields will default to the value
- # used for new page elements created in the Slides editor, which may depend on
- # the page element kind.
- "outlineFill": { # The fill of the outline. # The fill of the outline.
- "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill.
- # specified color value.
- #
- # If any field is unset, its value may be inherited from a parent placeholder
- # if it exists.
- "color": { # A themeable solid color value. # The color value of the solid fill.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel.
- # That is, the final pixel color is defined by the equation:
- #
- # pixel color = alpha * (color) + (1.0 - alpha) * (background color)
- #
- # This means that a value of 1.0 corresponds to a solid color, whereas
- # a value of 0.0 corresponds to a completely transparent color.
- },
- },
- "propertyState": "A String", # The outline property state.
- #
- # Updating the the outline on a page element will implicitly update this
- # field to`RENDERED`, unless another value is specified in the same request.
- # To have no outline on a page element, set this field to `NOT_RENDERED`. In
- # this case, any other outline fields set in the same request will be
- # ignored.
- "dashStyle": "A String", # The dash style of the outline.
- "weight": { # A magnitude in a single direction in the specified units. # The thickness of the outline.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
- },
- "brightness": 3.14, # The brightness effect of the image. The value should be in the interval
- # [-1.0, 1.0], where 0 means no effect. This property is read-only.
- "recolor": { # A recolor effect applied on an image. # The recolor effect of the image. If not set, the image is not recolored.
- # This property is read-only.
- "recolorStops": [ # The recolor effect is represented by a gradient, which is a list of color
- # stops.
- #
- # The colors in the gradient will replace the corresponding colors at
- # the same position in the color palette and apply to the image. This
- # property is read-only.
- { # A color and position in a gradient band.
- "color": { # A themeable solid color value. # The color of the gradient stop.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- "alpha": 3.14, # The alpha value of this color in the gradient band. Defaults to 1.0,
- # fully opaque.
- "position": 3.14, # The relative position of the color stop in the gradient band measured
- # in percentage. The value should be in the interval [0.0, 1.0].
- },
- ],
- "name": "A String", # The name of the recolor effect.
- #
- # The name is determined from the `recolor_stops` by matching the gradient
- # against the colors in the page's current color scheme. This property is
- # read-only.
- },
- "link": { # A hypertext link. # The hyperlink destination of the image. If unset, there is no link.
- "url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
- # in the presentation. There may not be a slide at this index.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
- "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
- # addressed by its position.
- },
- "transparency": 3.14, # The transparency effect of the image. The value should be in the interval
- # [0.0, 1.0], where 0 means no effect and 1 means completely transparent.
- # This property is read-only.
- "cropProperties": { # The crop properties of an object enclosed in a container. For example, an # The crop properties of the image. If not set, the image is not cropped.
- # This property is read-only.
- # Image.
- #
- # The crop properties is represented by the offsets of four edges which define
- # a crop rectangle. The offsets are measured in percentage from the
- # corresponding edges of the object's original bounding rectangle towards
- # inside, relative to the object's original dimensions.
- #
- # - If the offset is in the interval (0, 1), the corresponding edge of crop
- # rectangle is positioned inside of the object's original bounding rectangle.
- # - If the offset is negative or greater than 1, the corresponding edge of crop
- # rectangle is positioned outside of the object's original bounding rectangle.
- # - If the left edge of the crop rectangle is on the right side of its right
- # edge, the object will be flipped horizontally.
- # - If the top edge of the crop rectangle is below its bottom edge, the object
- # will be flipped vertically.
- # - If all offsets and rotation angle is 0, the object is not cropped.
- #
- # After cropping, the content in the crop rectangle will be stretched to fit
- # its container.
- "leftOffset": 3.14, # The offset specifies the left edge of the crop rectangle that is located to
- # the right of the original bounding rectangle left edge, relative to the
- # object's original width.
- "angle": 3.14, # The rotation angle of the crop window around its center, in radians.
- # Rotation angle is applied after the offset.
- "rightOffset": 3.14, # The offset specifies the right edge of the crop rectangle that is located
- # to the left of the original bounding rectangle right edge, relative to the
- # object's original width.
- "bottomOffset": 3.14, # The offset specifies the bottom edge of the crop rectangle that is located
- # above the original bounding rectangle bottom edge, relative to the object's
- # original height.
- "topOffset": 3.14, # The offset specifies the top edge of the crop rectangle that is located
- # below the original bounding rectangle top edge, relative to the object's
- # original height.
- },
- "shadow": { # The shadow properties of a page element. # The shadow of the image. If not set, the image has no shadow. This property
- # is read-only.
- #
- # If these fields are unset, they may be inherited from a parent placeholder
- # if it exists. If there is no parent, the fields will default to the value
- # used for new page elements created in the Slides editor, which may depend on
- # the page element kind.
- "color": { # A themeable solid color value. # The shadow color value.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- "transform": { # AffineTransform uses a 3x3 matrix with an implied last row of [ 0 0 1 ] # Transform that encodes the translate, scale, and skew of the shadow,
- # relative to the alignment position.
- # to transform source coordinates (x,y) into destination coordinates (x', y')
- # according to:
- #
- # x' x = shear_y scale_y translate_y
- # 1 [ 1 ]
- #
- # After transformation,
- #
- # x' = scale_x * x + shear_x * y + translate_x;
- # y' = scale_y * y + shear_y * x + translate_y;
- #
- # This message is therefore composed of these six matrix elements.
- "translateX": 3.14, # The X coordinate translation element.
- "translateY": 3.14, # The Y coordinate translation element.
- "scaleX": 3.14, # The X coordinate scaling element.
- "scaleY": 3.14, # The Y coordinate scaling element.
- "shearY": 3.14, # The Y coordinate shearing element.
- "shearX": 3.14, # The X coordinate shearing element.
- "unit": "A String", # The units for translate elements.
- },
- "propertyState": "A String", # The shadow property state.
- #
- # Updating the the shadow on a page element will implicitly update this field
- # to `RENDERED`, unless another value is specified in the same request. To
- # have no shadow on a page element, set this field to `NOT_RENDERED`. In this
- # case, any other shadow fields set in the same request will be ignored.
- "blurRadius": { # A magnitude in a single direction in the specified units. # The radius of the shadow blur. The larger the radius, the more diffuse the
- # shadow becomes.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
- "alpha": 3.14, # The alpha of the shadow's color, from 0.0 to 1.0.
- "type": "A String", # The type of the shadow.
- "alignment": "A String", # The alignment point of the shadow, that sets the origin for translate,
- # scale and skew of the shadow.
- "rotateWithShape": True or False, # Whether the shadow should rotate with the shape.
- },
- "contrast": 3.14, # The contrast effect of the image. The value should be in the interval
- # [-1.0, 1.0], where 0 means no effect. This property is read-only.
- },
- },
- "transform": { # AffineTransform uses a 3x3 matrix with an implied last row of [ 0 0 1 ] # The transform of the page element.
- # to transform source coordinates (x,y) into destination coordinates (x', y')
- # according to:
- #
- # x' x = shear_y scale_y translate_y
- # 1 [ 1 ]
- #
- # After transformation,
- #
- # x' = scale_x * x + shear_x * y + translate_x;
- # y' = scale_y * y + shear_y * x + translate_y;
- #
- # This message is therefore composed of these six matrix elements.
- "translateX": 3.14, # The X coordinate translation element.
- "translateY": 3.14, # The Y coordinate translation element.
- "scaleX": 3.14, # The X coordinate scaling element.
- "scaleY": 3.14, # The Y coordinate scaling element.
- "shearY": 3.14, # The Y coordinate shearing element.
- "shearX": 3.14, # The X coordinate shearing element.
- "unit": "A String", # The units for translate elements.
- },
- "shape": { # A PageElement kind representing a # A generic shape.
- # generic shape that does not have a more specific classification.
- "text": { # The general text content. The text must reside in a compatible shape (e.g. # The text content of the shape.
- # text box or rectangle) or a table cell in a page.
- "lists": { # The bulleted lists contained in this text, keyed by list ID.
- "a_key": { # A List describes the look and feel of bullets belonging to paragraphs
- # associated with a list. A paragraph that is part of a list has an implicit
- # reference to that list's ID.
- "nestingLevel": { # A map of nesting levels to the properties of bullets at the associated
- # level. A list has at most nine levels of nesting, so the possible values
- # for the keys of this map are 0 through 8, inclusive.
- "a_key": { # Contains properties describing the look and feel of a list bullet at a given
- # level of nesting.
- "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The style of a bullet at this level of nesting.
- #
- # If this text is contained in a shape with a parent placeholder, then these text styles may be
- # inherited from the parent. Which text styles are inherited depend on the
- # nesting level of lists:
- #
- # * A text run in a paragraph that is not in a list will inherit its text style
- # from the the newline character in the paragraph at the 0 nesting level of
- # the list inside the parent placeholder.
- # * A text run in a paragraph that is in a list will inherit its text style
- # from the newline character in the paragraph at its corresponding nesting
- # level of the list inside the parent placeholder.
- #
- # Inherited text styles are represented as unset fields in this message. If
- # text is contained in a shape without a parent placeholder, unsetting these
- # fields will revert the style to a value matching the defaults in the Slides
- # editor.
- "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- "bold": True or False, # Whether or not the text is rendered as bold.
- "baselineOffset": "A String", # The text's vertical offset from its normal position.
- #
- # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
- # rendered in a smaller font size, computed based on the `font_size` field.
- # The `font_size` itself is not affected by changes in this field.
- "strikethrough": True or False, # Whether or not the text is struck through.
- "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").
- },
- "smallCaps": True or False, # Whether or not the text is in small capital letters.
- "fontFamily": "A String", # The font family of the text.
- #
- # The font family can be any font from the Font menu in Slides or from
- # [Google Fonts] (https://fonts.google.com/). If the font name is
- # unrecognized, the text is rendered in `Arial`.
- #
- # Some fonts can affect the weight of the text. If an update request
- # specifies values for both `font_family` and `bold`, the explicitly-set
- # `bold` value is used.
- "italic": True or False, # Whether or not the text is italicized.
- "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
- # are not inherited from parent text.
- #
- # Changing the link in an update request causes some other changes to the
- # text style of the range:
- #
- # * When setting a link, the text foreground color will be set to
- # ThemeColorType.HYPERLINK and the text will
- # be underlined. If these fields are modified in the same
- # request, those values will be used instead of the link defaults.
- # * Setting a link on a text range that overlaps with an existing link will
- # also update the existing link to point to the new URL.
- # * Links are not settable on newline characters. As a result, setting a link
- # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
- # will separate the newline character(s) into their own text runs. The
- # link will be applied separately to the runs before and after the newline.
- # * Removing a link will update the text style of the range to match the
- # style of the preceding text (or the default text styles if the preceding
- # text is another link) unless different styles are being set in the same
- # request.
- "url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
- # in the presentation. There may not be a slide at this index.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
- "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
- # addressed by its position.
- },
- "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
- "underline": True or False, # Whether or not the text is underlined.
- },
- },
- },
- "listId": "A String", # The ID of the list.
- },
- },
- "textElements": [ # The text contents broken down into its component parts, including styling
- # information. This property is read-only.
- { # A TextElement describes the content of a range of indices in the text content
- # of a Shape or TableCell.
- "autoText": { # A TextElement kind that represents auto text. # A TextElement representing a spot in the text that is dynamically
- # replaced with content that can change over time.
- "content": "A String", # The rendered content of this auto text, if available.
- "style": { # Represents the styling that can be applied to a TextRun. # The styling applied to this auto text.
- #
- # If this text is contained in a shape with a parent placeholder, then these text styles may be
- # inherited from the parent. Which text styles are inherited depend on the
- # nesting level of lists:
- #
- # * A text run in a paragraph that is not in a list will inherit its text style
- # from the the newline character in the paragraph at the 0 nesting level of
- # the list inside the parent placeholder.
- # * A text run in a paragraph that is in a list will inherit its text style
- # from the newline character in the paragraph at its corresponding nesting
- # level of the list inside the parent placeholder.
- #
- # Inherited text styles are represented as unset fields in this message. If
- # text is contained in a shape without a parent placeholder, unsetting these
- # fields will revert the style to a value matching the defaults in the Slides
- # editor.
- "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- "bold": True or False, # Whether or not the text is rendered as bold.
- "baselineOffset": "A String", # The text's vertical offset from its normal position.
- #
- # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
- # rendered in a smaller font size, computed based on the `font_size` field.
- # The `font_size` itself is not affected by changes in this field.
- "strikethrough": True or False, # Whether or not the text is struck through.
- "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").
- },
- "smallCaps": True or False, # Whether or not the text is in small capital letters.
- "fontFamily": "A String", # The font family of the text.
- #
- # The font family can be any font from the Font menu in Slides or from
- # [Google Fonts] (https://fonts.google.com/). If the font name is
- # unrecognized, the text is rendered in `Arial`.
- #
- # Some fonts can affect the weight of the text. If an update request
- # specifies values for both `font_family` and `bold`, the explicitly-set
- # `bold` value is used.
- "italic": True or False, # Whether or not the text is italicized.
- "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
- # are not inherited from parent text.
- #
- # Changing the link in an update request causes some other changes to the
- # text style of the range:
- #
- # * When setting a link, the text foreground color will be set to
- # ThemeColorType.HYPERLINK and the text will
- # be underlined. If these fields are modified in the same
- # request, those values will be used instead of the link defaults.
- # * Setting a link on a text range that overlaps with an existing link will
- # also update the existing link to point to the new URL.
- # * Links are not settable on newline characters. As a result, setting a link
- # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
- # will separate the newline character(s) into their own text runs. The
- # link will be applied separately to the runs before and after the newline.
- # * Removing a link will update the text style of the range to match the
- # style of the preceding text (or the default text styles if the preceding
- # text is another link) unless different styles are being set in the same
- # request.
- "url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
- # in the presentation. There may not be a slide at this index.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
- "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
- # addressed by its position.
- },
- "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
- "underline": True or False, # Whether or not the text is underlined.
- },
- "type": "A String", # The type of this auto text.
- },
- "endIndex": 42, # The zero-based end index of this text element, exclusive, in Unicode code
- # units.
- "startIndex": 42, # The zero-based start index of this text element, in Unicode code units.
- "paragraphMarker": { # A TextElement kind that represents the beginning of a new paragraph. # A marker representing the beginning of a new paragraph.
- #
- # The `start_index` and `end_index` of this TextElement represent the
- # range of the paragraph. Other TextElements with an index range contained
- # inside this paragraph's range are considered to be part of this
- # paragraph. The range of indices of two separate paragraphs will never
- # overlap.
- "style": { # Styles that apply to a whole paragraph. # The paragraph's style
- #
- # If this text is contained in a shape with a parent placeholder, then these paragraph styles may be
- # inherited from the parent. Which paragraph styles are inherited depend on the
- # nesting level of lists:
- #
- # * A paragraph not in a list will inherit its paragraph style from the
- # paragraph at the 0 nesting level of the list inside the parent placeholder.
- # * A paragraph in a list will inherit its paragraph style from the paragraph
- # at its corresponding nesting level of the list inside the parent
- # placeholder.
- #
- # Inherited paragraph styles are represented as unset fields in this message.
- "spacingMode": "A String", # The spacing mode for the paragraph.
- "direction": "A String", # The text direction of this paragraph. If unset, the value defaults to
- # LEFT_TO_RIGHT since
- # text direction is not inherited.
- "spaceBelow": { # A magnitude in a single direction in the specified units. # The amount of extra space above the paragraph. If unset, the value is
- # inherited from the parent.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
- "lineSpacing": 3.14, # The amount of space between lines, as a percentage of normal, where normal
- # is represented as 100.0. If unset, the value is inherited from the parent.
- "indentStart": { # A magnitude in a single direction in the specified units. # The amount indentation for the paragraph on the side that corresponds to
- # the start of the text, based on the current text direction. If unset, the
- # value is inherited from the parent.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
- "spaceAbove": { # A magnitude in a single direction in the specified units. # The amount of extra space above the paragraph. If unset, the value is
- # inherited from the parent.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
- "indentEnd": { # A magnitude in a single direction in the specified units. # The amount indentation for the paragraph on the side that corresponds to
- # the end of the text, based on the current text direction. If unset, the
- # value is inherited from the parent.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
- "indentFirstLine": { # A magnitude in a single direction in the specified units. # The amount of indentation for the start of the first line of the paragraph.
- # If unset, the value is inherited from the parent.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
- "alignment": "A String", # The text alignment for this paragraph.
- },
- "bullet": { # Describes the bullet of a paragraph. # The bullet for this paragraph. If not present, the paragraph does not
- # belong to a list.
- "nestingLevel": 42, # The nesting level of this paragraph in the list.
- "listId": "A String", # The ID of the list this paragraph belongs to.
- "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The paragraph specific text style applied to this bullet.
- #
- # If this text is contained in a shape with a parent placeholder, then these text styles may be
- # inherited from the parent. Which text styles are inherited depend on the
- # nesting level of lists:
- #
- # * A text run in a paragraph that is not in a list will inherit its text style
- # from the the newline character in the paragraph at the 0 nesting level of
- # the list inside the parent placeholder.
- # * A text run in a paragraph that is in a list will inherit its text style
- # from the newline character in the paragraph at its corresponding nesting
- # level of the list inside the parent placeholder.
- #
- # Inherited text styles are represented as unset fields in this message. If
- # text is contained in a shape without a parent placeholder, unsetting these
- # fields will revert the style to a value matching the defaults in the Slides
- # editor.
- "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- "bold": True or False, # Whether or not the text is rendered as bold.
- "baselineOffset": "A String", # The text's vertical offset from its normal position.
- #
- # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
- # rendered in a smaller font size, computed based on the `font_size` field.
- # The `font_size` itself is not affected by changes in this field.
- "strikethrough": True or False, # Whether or not the text is struck through.
- "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").
- },
- "smallCaps": True or False, # Whether or not the text is in small capital letters.
- "fontFamily": "A String", # The font family of the text.
- #
- # The font family can be any font from the Font menu in Slides or from
- # [Google Fonts] (https://fonts.google.com/). If the font name is
- # unrecognized, the text is rendered in `Arial`.
- #
- # Some fonts can affect the weight of the text. If an update request
- # specifies values for both `font_family` and `bold`, the explicitly-set
- # `bold` value is used.
- "italic": True or False, # Whether or not the text is italicized.
- "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
- # are not inherited from parent text.
- #
- # Changing the link in an update request causes some other changes to the
- # text style of the range:
- #
- # * When setting a link, the text foreground color will be set to
- # ThemeColorType.HYPERLINK and the text will
- # be underlined. If these fields are modified in the same
- # request, those values will be used instead of the link defaults.
- # * Setting a link on a text range that overlaps with an existing link will
- # also update the existing link to point to the new URL.
- # * Links are not settable on newline characters. As a result, setting a link
- # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
- # will separate the newline character(s) into their own text runs. The
- # link will be applied separately to the runs before and after the newline.
- # * Removing a link will update the text style of the range to match the
- # style of the preceding text (or the default text styles if the preceding
- # text is another link) unless different styles are being set in the same
- # request.
- "url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
- # in the presentation. There may not be a slide at this index.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
- "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
- # addressed by its position.
- },
- "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
- "underline": True or False, # Whether or not the text is underlined.
- },
- "glyph": "A String", # The rendered bullet glyph for this paragraph.
- },
- },
- "textRun": { # A TextElement kind that represents a run of text that all has the same # A TextElement representing a run of text where all of the characters
- # in the run have the same TextStyle.
- #
- # The `start_index` and `end_index` of TextRuns will always be fully
- # contained in the index range of a single `paragraph_marker` TextElement.
- # In other words, a TextRun will never span multiple paragraphs.
- # styling.
- "content": "A String", # The text of this run.
- "style": { # Represents the styling that can be applied to a TextRun. # The styling applied to this run.
- #
- # If this text is contained in a shape with a parent placeholder, then these text styles may be
- # inherited from the parent. Which text styles are inherited depend on the
- # nesting level of lists:
- #
- # * A text run in a paragraph that is not in a list will inherit its text style
- # from the the newline character in the paragraph at the 0 nesting level of
- # the list inside the parent placeholder.
- # * A text run in a paragraph that is in a list will inherit its text style
- # from the newline character in the paragraph at its corresponding nesting
- # level of the list inside the parent placeholder.
- #
- # Inherited text styles are represented as unset fields in this message. If
- # text is contained in a shape without a parent placeholder, unsetting these
- # fields will revert the style to a value matching the defaults in the Slides
- # editor.
- "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- "bold": True or False, # Whether or not the text is rendered as bold.
- "baselineOffset": "A String", # The text's vertical offset from its normal position.
- #
- # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
- # rendered in a smaller font size, computed based on the `font_size` field.
- # The `font_size` itself is not affected by changes in this field.
- "strikethrough": True or False, # Whether or not the text is struck through.
- "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").
- },
- "smallCaps": True or False, # Whether or not the text is in small capital letters.
- "fontFamily": "A String", # The font family of the text.
- #
- # The font family can be any font from the Font menu in Slides or from
- # [Google Fonts] (https://fonts.google.com/). If the font name is
- # unrecognized, the text is rendered in `Arial`.
- #
- # Some fonts can affect the weight of the text. If an update request
- # specifies values for both `font_family` and `bold`, the explicitly-set
- # `bold` value is used.
- "italic": True or False, # Whether or not the text is italicized.
- "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
- # are not inherited from parent text.
- #
- # Changing the link in an update request causes some other changes to the
- # text style of the range:
- #
- # * When setting a link, the text foreground color will be set to
- # ThemeColorType.HYPERLINK and the text will
- # be underlined. If these fields are modified in the same
- # request, those values will be used instead of the link defaults.
- # * Setting a link on a text range that overlaps with an existing link will
- # also update the existing link to point to the new URL.
- # * Links are not settable on newline characters. As a result, setting a link
- # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
- # will separate the newline character(s) into their own text runs. The
- # link will be applied separately to the runs before and after the newline.
- # * Removing a link will update the text style of the range to match the
- # style of the preceding text (or the default text styles if the preceding
- # text is another link) unless different styles are being set in the same
- # request.
- "url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
- # in the presentation. There may not be a slide at this index.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
- "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
- # addressed by its position.
- },
- "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
- "underline": True or False, # Whether or not the text is underlined.
- },
- },
- },
- ],
- },
- "shapeProperties": { # The properties of a Shape. # The properties of the shape.
- #
- # If the shape is a placeholder shape as determined by the
- # placeholder field, then these
- # properties may be inherited from a parent placeholder shape.
- # Determining the rendered value of the property depends on the corresponding
- # property_state field value.
- "shadow": { # The shadow properties of a page element. # The shadow properties of the shape. If unset, the shadow is inherited from
- # a parent placeholder if it exists. If the shape has no parent, then the
- # default shadow matches the defaults for new shapes created in the Slides
- # editor. This property is read-only.
- #
- # If these fields are unset, they may be inherited from a parent placeholder
- # if it exists. If there is no parent, the fields will default to the value
- # used for new page elements created in the Slides editor, which may depend on
- # the page element kind.
- "color": { # A themeable solid color value. # The shadow color value.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- "transform": { # AffineTransform uses a 3x3 matrix with an implied last row of [ 0 0 1 ] # Transform that encodes the translate, scale, and skew of the shadow,
- # relative to the alignment position.
- # to transform source coordinates (x,y) into destination coordinates (x', y')
- # according to:
- #
- # x' x = shear_y scale_y translate_y
- # 1 [ 1 ]
- #
- # After transformation,
- #
- # x' = scale_x * x + shear_x * y + translate_x;
- # y' = scale_y * y + shear_y * x + translate_y;
- #
- # This message is therefore composed of these six matrix elements.
- "translateX": 3.14, # The X coordinate translation element.
- "translateY": 3.14, # The Y coordinate translation element.
- "scaleX": 3.14, # The X coordinate scaling element.
- "scaleY": 3.14, # The Y coordinate scaling element.
- "shearY": 3.14, # The Y coordinate shearing element.
- "shearX": 3.14, # The X coordinate shearing element.
- "unit": "A String", # The units for translate elements.
- },
- "propertyState": "A String", # The shadow property state.
- #
- # Updating the the shadow on a page element will implicitly update this field
- # to `RENDERED`, unless another value is specified in the same request. To
- # have no shadow on a page element, set this field to `NOT_RENDERED`. In this
- # case, any other shadow fields set in the same request will be ignored.
- "blurRadius": { # A magnitude in a single direction in the specified units. # The radius of the shadow blur. The larger the radius, the more diffuse the
- # shadow becomes.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
- "alpha": 3.14, # The alpha of the shadow's color, from 0.0 to 1.0.
- "type": "A String", # The type of the shadow.
- "alignment": "A String", # The alignment point of the shadow, that sets the origin for translate,
- # scale and skew of the shadow.
- "rotateWithShape": True or False, # Whether the shadow should rotate with the shape.
- },
- "shapeBackgroundFill": { # The shape background fill. # The background fill of the shape. If unset, the background fill is
- # inherited from a parent placeholder if it exists. If the shape has no
- # parent, then the default background fill depends on the shape type,
- # matching the defaults for new shapes created in the Slides editor.
- "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill.
- # specified color value.
- #
- # If any field is unset, its value may be inherited from a parent placeholder
- # if it exists.
- "color": { # A themeable solid color value. # The color value of the solid fill.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel.
- # That is, the final pixel color is defined by the equation:
- #
- # pixel color = alpha * (color) + (1.0 - alpha) * (background color)
- #
- # This means that a value of 1.0 corresponds to a solid color, whereas
- # a value of 0.0 corresponds to a completely transparent color.
- },
- "propertyState": "A String", # The background fill property state.
- #
- # Updating the the fill on a shape will implicitly update this field to
- # `RENDERED`, unless another value is specified in the same request. To
- # have no fill on a shape, set this field to `NOT_RENDERED`. In this case,
- # any other fill fields set in the same request will be ignored.
- },
- "link": { # A hypertext link. # The hyperlink destination of the shape. If unset, there is no link. Links
- # are not inherited from parent placeholders.
- "url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
- # in the presentation. There may not be a slide at this index.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
- "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
- # addressed by its position.
- },
- "outline": { # The outline of a PageElement. # The outline of the shape. If unset, the outline is inherited from a
- # parent placeholder if it exists. If the shape has no parent, then the
- # default outline depends on the shape type, matching the defaults for
- # new shapes created in the Slides editor.
- #
- # If these fields are unset, they may be inherited from a parent placeholder
- # if it exists. If there is no parent, the fields will default to the value
- # used for new page elements created in the Slides editor, which may depend on
- # the page element kind.
- "outlineFill": { # The fill of the outline. # The fill of the outline.
- "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill.
- # specified color value.
- #
- # If any field is unset, its value may be inherited from a parent placeholder
- # if it exists.
- "color": { # A themeable solid color value. # The color value of the solid fill.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel.
- # That is, the final pixel color is defined by the equation:
- #
- # pixel color = alpha * (color) + (1.0 - alpha) * (background color)
- #
- # This means that a value of 1.0 corresponds to a solid color, whereas
- # a value of 0.0 corresponds to a completely transparent color.
- },
- },
- "propertyState": "A String", # The outline property state.
- #
- # Updating the the outline on a page element will implicitly update this
- # field to`RENDERED`, unless another value is specified in the same request.
- # To have no outline on a page element, set this field to `NOT_RENDERED`. In
- # this case, any other outline fields set in the same request will be
- # ignored.
- "dashStyle": "A String", # The dash style of the outline.
- "weight": { # A magnitude in a single direction in the specified units. # The thickness of the outline.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
- },
- },
- "placeholder": { # The placeholder information that uniquely identifies a placeholder shape. # Placeholders are shapes that are inherit from corresponding placeholders on
- # layouts and masters.
- #
- # If set, the shape is a placeholder shape and any inherited properties
- # can be resolved by looking at the parent placeholder identified by the
- # Placeholder.parent_object_id field.
- "parentObjectId": "A String", # The object ID of this shape's parent placeholder.
- # If unset, the parent placeholder shape does not exist, so the shape does
- # not inherit properties from any other shape.
- "index": 42, # The index of the placeholder. If the same placeholder types are present in
- # the same page, they would have different index values.
- "type": "A String", # The type of the placeholder.
- },
- "shapeType": "A String", # The type of the shape.
- },
- "sheetsChart": { # A PageElement kind representing # A linked chart embedded from Google Sheets. Unlinked charts are
- # represented as images.
- # a linked chart embedded from Google Sheets.
- "contentUrl": "A String", # The URL of an image of the embedded chart, with a default lifetime of 30
- # minutes. This URL is tagged with the account of the requester. Anyone with
- # the URL effectively accesses the image as the original requester. Access to
- # the image may be lost if the presentation's sharing settings change.
- "spreadsheetId": "A String", # The ID of the Google Sheets spreadsheet that contains the source chart.
- "sheetsChartProperties": { # The properties of the SheetsChart. # The properties of the Sheets chart.
- "chartImageProperties": { # The properties of the Image. # The properties of the embedded chart image.
- "outline": { # The outline of a PageElement. # The outline of the image. If not set, the the image has no outline.
- #
- # If these fields are unset, they may be inherited from a parent placeholder
- # if it exists. If there is no parent, the fields will default to the value
- # used for new page elements created in the Slides editor, which may depend on
- # the page element kind.
- "outlineFill": { # The fill of the outline. # The fill of the outline.
- "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill.
- # specified color value.
- #
- # If any field is unset, its value may be inherited from a parent placeholder
- # if it exists.
- "color": { # A themeable solid color value. # The color value of the solid fill.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel.
- # That is, the final pixel color is defined by the equation:
- #
- # pixel color = alpha * (color) + (1.0 - alpha) * (background color)
- #
- # This means that a value of 1.0 corresponds to a solid color, whereas
- # a value of 0.0 corresponds to a completely transparent color.
- },
- },
- "propertyState": "A String", # The outline property state.
- #
- # Updating the the outline on a page element will implicitly update this
- # field to`RENDERED`, unless another value is specified in the same request.
- # To have no outline on a page element, set this field to `NOT_RENDERED`. In
- # this case, any other outline fields set in the same request will be
- # ignored.
- "dashStyle": "A String", # The dash style of the outline.
- "weight": { # A magnitude in a single direction in the specified units. # The thickness of the outline.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
- },
- "brightness": 3.14, # The brightness effect of the image. The value should be in the interval
- # [-1.0, 1.0], where 0 means no effect. This property is read-only.
- "recolor": { # A recolor effect applied on an image. # The recolor effect of the image. If not set, the image is not recolored.
- # This property is read-only.
- "recolorStops": [ # The recolor effect is represented by a gradient, which is a list of color
- # stops.
- #
- # The colors in the gradient will replace the corresponding colors at
- # the same position in the color palette and apply to the image. This
- # property is read-only.
- { # A color and position in a gradient band.
- "color": { # A themeable solid color value. # The color of the gradient stop.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- "alpha": 3.14, # The alpha value of this color in the gradient band. Defaults to 1.0,
- # fully opaque.
- "position": 3.14, # The relative position of the color stop in the gradient band measured
- # in percentage. The value should be in the interval [0.0, 1.0].
- },
- ],
- "name": "A String", # The name of the recolor effect.
- #
- # The name is determined from the `recolor_stops` by matching the gradient
- # against the colors in the page's current color scheme. This property is
- # read-only.
- },
- "link": { # A hypertext link. # The hyperlink destination of the image. If unset, there is no link.
- "url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
- # in the presentation. There may not be a slide at this index.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
- "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
- # addressed by its position.
- },
- "transparency": 3.14, # The transparency effect of the image. The value should be in the interval
- # [0.0, 1.0], where 0 means no effect and 1 means completely transparent.
- # This property is read-only.
- "cropProperties": { # The crop properties of an object enclosed in a container. For example, an # The crop properties of the image. If not set, the image is not cropped.
- # This property is read-only.
- # Image.
- #
- # The crop properties is represented by the offsets of four edges which define
- # a crop rectangle. The offsets are measured in percentage from the
- # corresponding edges of the object's original bounding rectangle towards
- # inside, relative to the object's original dimensions.
- #
- # - If the offset is in the interval (0, 1), the corresponding edge of crop
- # rectangle is positioned inside of the object's original bounding rectangle.
- # - If the offset is negative or greater than 1, the corresponding edge of crop
- # rectangle is positioned outside of the object's original bounding rectangle.
- # - If the left edge of the crop rectangle is on the right side of its right
- # edge, the object will be flipped horizontally.
- # - If the top edge of the crop rectangle is below its bottom edge, the object
- # will be flipped vertically.
- # - If all offsets and rotation angle is 0, the object is not cropped.
- #
- # After cropping, the content in the crop rectangle will be stretched to fit
- # its container.
- "leftOffset": 3.14, # The offset specifies the left edge of the crop rectangle that is located to
- # the right of the original bounding rectangle left edge, relative to the
- # object's original width.
- "angle": 3.14, # The rotation angle of the crop window around its center, in radians.
- # Rotation angle is applied after the offset.
- "rightOffset": 3.14, # The offset specifies the right edge of the crop rectangle that is located
- # to the left of the original bounding rectangle right edge, relative to the
- # object's original width.
- "bottomOffset": 3.14, # The offset specifies the bottom edge of the crop rectangle that is located
- # above the original bounding rectangle bottom edge, relative to the object's
- # original height.
- "topOffset": 3.14, # The offset specifies the top edge of the crop rectangle that is located
- # below the original bounding rectangle top edge, relative to the object's
- # original height.
- },
- "shadow": { # The shadow properties of a page element. # The shadow of the image. If not set, the image has no shadow. This property
- # is read-only.
- #
- # If these fields are unset, they may be inherited from a parent placeholder
- # if it exists. If there is no parent, the fields will default to the value
- # used for new page elements created in the Slides editor, which may depend on
- # the page element kind.
- "color": { # A themeable solid color value. # The shadow color value.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- "transform": { # AffineTransform uses a 3x3 matrix with an implied last row of [ 0 0 1 ] # Transform that encodes the translate, scale, and skew of the shadow,
- # relative to the alignment position.
- # to transform source coordinates (x,y) into destination coordinates (x', y')
- # according to:
- #
- # x' x = shear_y scale_y translate_y
- # 1 [ 1 ]
- #
- # After transformation,
- #
- # x' = scale_x * x + shear_x * y + translate_x;
- # y' = scale_y * y + shear_y * x + translate_y;
- #
- # This message is therefore composed of these six matrix elements.
- "translateX": 3.14, # The X coordinate translation element.
- "translateY": 3.14, # The Y coordinate translation element.
- "scaleX": 3.14, # The X coordinate scaling element.
- "scaleY": 3.14, # The Y coordinate scaling element.
- "shearY": 3.14, # The Y coordinate shearing element.
- "shearX": 3.14, # The X coordinate shearing element.
- "unit": "A String", # The units for translate elements.
- },
- "propertyState": "A String", # The shadow property state.
- #
- # Updating the the shadow on a page element will implicitly update this field
- # to `RENDERED`, unless another value is specified in the same request. To
- # have no shadow on a page element, set this field to `NOT_RENDERED`. In this
- # case, any other shadow fields set in the same request will be ignored.
- "blurRadius": { # A magnitude in a single direction in the specified units. # The radius of the shadow blur. The larger the radius, the more diffuse the
- # shadow becomes.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
- "alpha": 3.14, # The alpha of the shadow's color, from 0.0 to 1.0.
- "type": "A String", # The type of the shadow.
- "alignment": "A String", # The alignment point of the shadow, that sets the origin for translate,
- # scale and skew of the shadow.
- "rotateWithShape": True or False, # Whether the shadow should rotate with the shape.
- },
- "contrast": 3.14, # The contrast effect of the image. The value should be in the interval
- # [-1.0, 1.0], where 0 means no effect. This property is read-only.
- },
- },
- "chartId": 42, # The ID of the specific chart in the Google Sheets spreadsheet that is
- # embedded.
- },
- "video": { # A PageElement kind representing a # A video page element.
- # video.
- "url": "A String", # An URL to a video. The URL is valid as long as the source video
- # exists and sharing settings do not change.
- "videoProperties": { # The properties of the Video. # The properties of the video.
- "outline": { # The outline of a PageElement. # The outline of the video. The default outline matches the defaults for new
- # videos created in the Slides editor.
- #
- # If these fields are unset, they may be inherited from a parent placeholder
- # if it exists. If there is no parent, the fields will default to the value
- # used for new page elements created in the Slides editor, which may depend on
- # the page element kind.
- "outlineFill": { # The fill of the outline. # The fill of the outline.
- "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill.
- # specified color value.
- #
- # If any field is unset, its value may be inherited from a parent placeholder
- # if it exists.
- "color": { # A themeable solid color value. # The color value of the solid fill.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel.
- # That is, the final pixel color is defined by the equation:
- #
- # pixel color = alpha * (color) + (1.0 - alpha) * (background color)
- #
- # This means that a value of 1.0 corresponds to a solid color, whereas
- # a value of 0.0 corresponds to a completely transparent color.
- },
- },
- "propertyState": "A String", # The outline property state.
- #
- # Updating the the outline on a page element will implicitly update this
- # field to`RENDERED`, unless another value is specified in the same request.
- # To have no outline on a page element, set this field to `NOT_RENDERED`. In
- # this case, any other outline fields set in the same request will be
- # ignored.
- "dashStyle": "A String", # The dash style of the outline.
- "weight": { # A magnitude in a single direction in the specified units. # The thickness of the outline.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
- },
- },
- "id": "A String", # The video source's unique identifier for this video.
- "source": "A String", # The video source.
- },
- "elementGroup": { # A PageElement kind representing a # A collection of page elements joined as a single unit.
- # joined collection of PageElements.
- "children": [ # The collection of elements in the group. The minimum size of a group is 2.
- # Object with schema name: PageElement
- ],
- },
- "table": { # A PageElement kind representing a # A table page element.
- # table.
- "tableColumns": [ # Properties of each column.
- { # Properties of each column in a table.
- "columnWidth": { # A magnitude in a single direction in the specified units. # Width of a column.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
- },
- ],
- "tableRows": [ # Properties and contents of each row.
- #
- # Cells that span multiple rows are contained in only one of these rows and
- # have a row_span greater
- # than 1.
- { # Properties and contents of each row in a table.
- "tableCells": [ # Properties and contents of each cell.
- #
- # Cells that span multiple columns are represented only once with a
- # column_span greater
- # than 1. As a result, the length of this collection does not always match
- # the number of columns of the entire table.
- { # Properties and contents of each table cell.
- "text": { # The general text content. The text must reside in a compatible shape (e.g. # The text content of the cell.
- # text box or rectangle) or a table cell in a page.
- "lists": { # The bulleted lists contained in this text, keyed by list ID.
- "a_key": { # A List describes the look and feel of bullets belonging to paragraphs
- # associated with a list. A paragraph that is part of a list has an implicit
- # reference to that list's ID.
- "nestingLevel": { # A map of nesting levels to the properties of bullets at the associated
- # level. A list has at most nine levels of nesting, so the possible values
- # for the keys of this map are 0 through 8, inclusive.
- "a_key": { # Contains properties describing the look and feel of a list bullet at a given
- # level of nesting.
- "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The style of a bullet at this level of nesting.
- #
- # If this text is contained in a shape with a parent placeholder, then these text styles may be
- # inherited from the parent. Which text styles are inherited depend on the
- # nesting level of lists:
- #
- # * A text run in a paragraph that is not in a list will inherit its text style
- # from the the newline character in the paragraph at the 0 nesting level of
- # the list inside the parent placeholder.
- # * A text run in a paragraph that is in a list will inherit its text style
- # from the newline character in the paragraph at its corresponding nesting
- # level of the list inside the parent placeholder.
- #
- # Inherited text styles are represented as unset fields in this message. If
- # text is contained in a shape without a parent placeholder, unsetting these
- # fields will revert the style to a value matching the defaults in the Slides
- # editor.
- "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- "bold": True or False, # Whether or not the text is rendered as bold.
- "baselineOffset": "A String", # The text's vertical offset from its normal position.
- #
- # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
- # rendered in a smaller font size, computed based on the `font_size` field.
- # The `font_size` itself is not affected by changes in this field.
- "strikethrough": True or False, # Whether or not the text is struck through.
- "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").
- },
- "smallCaps": True or False, # Whether or not the text is in small capital letters.
- "fontFamily": "A String", # The font family of the text.
- #
- # The font family can be any font from the Font menu in Slides or from
- # [Google Fonts] (https://fonts.google.com/). If the font name is
- # unrecognized, the text is rendered in `Arial`.
- #
- # Some fonts can affect the weight of the text. If an update request
- # specifies values for both `font_family` and `bold`, the explicitly-set
- # `bold` value is used.
- "italic": True or False, # Whether or not the text is italicized.
- "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
- # are not inherited from parent text.
- #
- # Changing the link in an update request causes some other changes to the
- # text style of the range:
- #
- # * When setting a link, the text foreground color will be set to
- # ThemeColorType.HYPERLINK and the text will
- # be underlined. If these fields are modified in the same
- # request, those values will be used instead of the link defaults.
- # * Setting a link on a text range that overlaps with an existing link will
- # also update the existing link to point to the new URL.
- # * Links are not settable on newline characters. As a result, setting a link
- # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
- # will separate the newline character(s) into their own text runs. The
- # link will be applied separately to the runs before and after the newline.
- # * Removing a link will update the text style of the range to match the
- # style of the preceding text (or the default text styles if the preceding
- # text is another link) unless different styles are being set in the same
- # request.
- "url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
- # in the presentation. There may not be a slide at this index.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
- "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
- # addressed by its position.
- },
- "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
- "underline": True or False, # Whether or not the text is underlined.
- },
- },
- },
- "listId": "A String", # The ID of the list.
- },
- },
- "textElements": [ # The text contents broken down into its component parts, including styling
- # information. This property is read-only.
- { # A TextElement describes the content of a range of indices in the text content
- # of a Shape or TableCell.
- "autoText": { # A TextElement kind that represents auto text. # A TextElement representing a spot in the text that is dynamically
- # replaced with content that can change over time.
- "content": "A String", # The rendered content of this auto text, if available.
- "style": { # Represents the styling that can be applied to a TextRun. # The styling applied to this auto text.
- #
- # If this text is contained in a shape with a parent placeholder, then these text styles may be
- # inherited from the parent. Which text styles are inherited depend on the
- # nesting level of lists:
- #
- # * A text run in a paragraph that is not in a list will inherit its text style
- # from the the newline character in the paragraph at the 0 nesting level of
- # the list inside the parent placeholder.
- # * A text run in a paragraph that is in a list will inherit its text style
- # from the newline character in the paragraph at its corresponding nesting
- # level of the list inside the parent placeholder.
- #
- # Inherited text styles are represented as unset fields in this message. If
- # text is contained in a shape without a parent placeholder, unsetting these
- # fields will revert the style to a value matching the defaults in the Slides
- # editor.
- "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- "bold": True or False, # Whether or not the text is rendered as bold.
- "baselineOffset": "A String", # The text's vertical offset from its normal position.
- #
- # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
- # rendered in a smaller font size, computed based on the `font_size` field.
- # The `font_size` itself is not affected by changes in this field.
- "strikethrough": True or False, # Whether or not the text is struck through.
- "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").
- },
- "smallCaps": True or False, # Whether or not the text is in small capital letters.
- "fontFamily": "A String", # The font family of the text.
- #
- # The font family can be any font from the Font menu in Slides or from
- # [Google Fonts] (https://fonts.google.com/). If the font name is
- # unrecognized, the text is rendered in `Arial`.
- #
- # Some fonts can affect the weight of the text. If an update request
- # specifies values for both `font_family` and `bold`, the explicitly-set
- # `bold` value is used.
- "italic": True or False, # Whether or not the text is italicized.
- "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
- # are not inherited from parent text.
- #
- # Changing the link in an update request causes some other changes to the
- # text style of the range:
- #
- # * When setting a link, the text foreground color will be set to
- # ThemeColorType.HYPERLINK and the text will
- # be underlined. If these fields are modified in the same
- # request, those values will be used instead of the link defaults.
- # * Setting a link on a text range that overlaps with an existing link will
- # also update the existing link to point to the new URL.
- # * Links are not settable on newline characters. As a result, setting a link
- # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
- # will separate the newline character(s) into their own text runs. The
- # link will be applied separately to the runs before and after the newline.
- # * Removing a link will update the text style of the range to match the
- # style of the preceding text (or the default text styles if the preceding
- # text is another link) unless different styles are being set in the same
- # request.
- "url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
- # in the presentation. There may not be a slide at this index.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
- "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
- # addressed by its position.
- },
- "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
- "underline": True or False, # Whether or not the text is underlined.
- },
- "type": "A String", # The type of this auto text.
- },
- "endIndex": 42, # The zero-based end index of this text element, exclusive, in Unicode code
- # units.
- "startIndex": 42, # The zero-based start index of this text element, in Unicode code units.
- "paragraphMarker": { # A TextElement kind that represents the beginning of a new paragraph. # A marker representing the beginning of a new paragraph.
- #
- # The `start_index` and `end_index` of this TextElement represent the
- # range of the paragraph. Other TextElements with an index range contained
- # inside this paragraph's range are considered to be part of this
- # paragraph. The range of indices of two separate paragraphs will never
- # overlap.
- "style": { # Styles that apply to a whole paragraph. # The paragraph's style
- #
- # If this text is contained in a shape with a parent placeholder, then these paragraph styles may be
- # inherited from the parent. Which paragraph styles are inherited depend on the
- # nesting level of lists:
- #
- # * A paragraph not in a list will inherit its paragraph style from the
- # paragraph at the 0 nesting level of the list inside the parent placeholder.
- # * A paragraph in a list will inherit its paragraph style from the paragraph
- # at its corresponding nesting level of the list inside the parent
- # placeholder.
- #
- # Inherited paragraph styles are represented as unset fields in this message.
- "spacingMode": "A String", # The spacing mode for the paragraph.
- "direction": "A String", # The text direction of this paragraph. If unset, the value defaults to
- # LEFT_TO_RIGHT since
- # text direction is not inherited.
- "spaceBelow": { # A magnitude in a single direction in the specified units. # The amount of extra space above the paragraph. If unset, the value is
- # inherited from the parent.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
- "lineSpacing": 3.14, # The amount of space between lines, as a percentage of normal, where normal
- # is represented as 100.0. If unset, the value is inherited from the parent.
- "indentStart": { # A magnitude in a single direction in the specified units. # The amount indentation for the paragraph on the side that corresponds to
- # the start of the text, based on the current text direction. If unset, the
- # value is inherited from the parent.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
- "spaceAbove": { # A magnitude in a single direction in the specified units. # The amount of extra space above the paragraph. If unset, the value is
- # inherited from the parent.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
- "indentEnd": { # A magnitude in a single direction in the specified units. # The amount indentation for the paragraph on the side that corresponds to
- # the end of the text, based on the current text direction. If unset, the
- # value is inherited from the parent.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
- "indentFirstLine": { # A magnitude in a single direction in the specified units. # The amount of indentation for the start of the first line of the paragraph.
- # If unset, the value is inherited from the parent.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
- "alignment": "A String", # The text alignment for this paragraph.
- },
- "bullet": { # Describes the bullet of a paragraph. # The bullet for this paragraph. If not present, the paragraph does not
- # belong to a list.
- "nestingLevel": 42, # The nesting level of this paragraph in the list.
- "listId": "A String", # The ID of the list this paragraph belongs to.
- "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The paragraph specific text style applied to this bullet.
- #
- # If this text is contained in a shape with a parent placeholder, then these text styles may be
- # inherited from the parent. Which text styles are inherited depend on the
- # nesting level of lists:
- #
- # * A text run in a paragraph that is not in a list will inherit its text style
- # from the the newline character in the paragraph at the 0 nesting level of
- # the list inside the parent placeholder.
- # * A text run in a paragraph that is in a list will inherit its text style
- # from the newline character in the paragraph at its corresponding nesting
- # level of the list inside the parent placeholder.
- #
- # Inherited text styles are represented as unset fields in this message. If
- # text is contained in a shape without a parent placeholder, unsetting these
- # fields will revert the style to a value matching the defaults in the Slides
- # editor.
- "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- "bold": True or False, # Whether or not the text is rendered as bold.
- "baselineOffset": "A String", # The text's vertical offset from its normal position.
- #
- # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
- # rendered in a smaller font size, computed based on the `font_size` field.
- # The `font_size` itself is not affected by changes in this field.
- "strikethrough": True or False, # Whether or not the text is struck through.
- "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").
- },
- "smallCaps": True or False, # Whether or not the text is in small capital letters.
- "fontFamily": "A String", # The font family of the text.
- #
- # The font family can be any font from the Font menu in Slides or from
- # [Google Fonts] (https://fonts.google.com/). If the font name is
- # unrecognized, the text is rendered in `Arial`.
- #
- # Some fonts can affect the weight of the text. If an update request
- # specifies values for both `font_family` and `bold`, the explicitly-set
- # `bold` value is used.
- "italic": True or False, # Whether or not the text is italicized.
- "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
- # are not inherited from parent text.
- #
- # Changing the link in an update request causes some other changes to the
- # text style of the range:
- #
- # * When setting a link, the text foreground color will be set to
- # ThemeColorType.HYPERLINK and the text will
- # be underlined. If these fields are modified in the same
- # request, those values will be used instead of the link defaults.
- # * Setting a link on a text range that overlaps with an existing link will
- # also update the existing link to point to the new URL.
- # * Links are not settable on newline characters. As a result, setting a link
- # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
- # will separate the newline character(s) into their own text runs. The
- # link will be applied separately to the runs before and after the newline.
- # * Removing a link will update the text style of the range to match the
- # style of the preceding text (or the default text styles if the preceding
- # text is another link) unless different styles are being set in the same
- # request.
- "url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
- # in the presentation. There may not be a slide at this index.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
- "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
- # addressed by its position.
- },
- "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
- "underline": True or False, # Whether or not the text is underlined.
- },
- "glyph": "A String", # The rendered bullet glyph for this paragraph.
- },
- },
- "textRun": { # A TextElement kind that represents a run of text that all has the same # A TextElement representing a run of text where all of the characters
- # in the run have the same TextStyle.
- #
- # The `start_index` and `end_index` of TextRuns will always be fully
- # contained in the index range of a single `paragraph_marker` TextElement.
- # In other words, a TextRun will never span multiple paragraphs.
- # styling.
- "content": "A String", # The text of this run.
- "style": { # Represents the styling that can be applied to a TextRun. # The styling applied to this run.
- #
- # If this text is contained in a shape with a parent placeholder, then these text styles may be
- # inherited from the parent. Which text styles are inherited depend on the
- # nesting level of lists:
- #
- # * A text run in a paragraph that is not in a list will inherit its text style
- # from the the newline character in the paragraph at the 0 nesting level of
- # the list inside the parent placeholder.
- # * A text run in a paragraph that is in a list will inherit its text style
- # from the newline character in the paragraph at its corresponding nesting
- # level of the list inside the parent placeholder.
- #
- # Inherited text styles are represented as unset fields in this message. If
- # text is contained in a shape without a parent placeholder, unsetting these
- # fields will revert the style to a value matching the defaults in the Slides
- # editor.
- "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- "bold": True or False, # Whether or not the text is rendered as bold.
- "baselineOffset": "A String", # The text's vertical offset from its normal position.
- #
- # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
- # rendered in a smaller font size, computed based on the `font_size` field.
- # The `font_size` itself is not affected by changes in this field.
- "strikethrough": True or False, # Whether or not the text is struck through.
- "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").
- },
- "smallCaps": True or False, # Whether or not the text is in small capital letters.
- "fontFamily": "A String", # The font family of the text.
- #
- # The font family can be any font from the Font menu in Slides or from
- # [Google Fonts] (https://fonts.google.com/). If the font name is
- # unrecognized, the text is rendered in `Arial`.
- #
- # Some fonts can affect the weight of the text. If an update request
- # specifies values for both `font_family` and `bold`, the explicitly-set
- # `bold` value is used.
- "italic": True or False, # Whether or not the text is italicized.
- "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
- # are not inherited from parent text.
- #
- # Changing the link in an update request causes some other changes to the
- # text style of the range:
- #
- # * When setting a link, the text foreground color will be set to
- # ThemeColorType.HYPERLINK and the text will
- # be underlined. If these fields are modified in the same
- # request, those values will be used instead of the link defaults.
- # * Setting a link on a text range that overlaps with an existing link will
- # also update the existing link to point to the new URL.
- # * Links are not settable on newline characters. As a result, setting a link
- # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
- # will separate the newline character(s) into their own text runs. The
- # link will be applied separately to the runs before and after the newline.
- # * Removing a link will update the text style of the range to match the
- # style of the preceding text (or the default text styles if the preceding
- # text is another link) unless different styles are being set in the same
- # request.
- "url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
- # in the presentation. There may not be a slide at this index.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
- "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
- # addressed by its position.
- },
- "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
- "underline": True or False, # Whether or not the text is underlined.
- },
- },
- },
- ],
- },
- "tableCellProperties": { # The properties of the TableCell. # The properties of the table cell.
- "tableCellBackgroundFill": { # The table cell background fill. # The background fill of the table cell. The default fill matches the fill
- # for newly created table cells in the Slides editor.
- "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill.
- # specified color value.
- #
- # If any field is unset, its value may be inherited from a parent placeholder
- # if it exists.
- "color": { # A themeable solid color value. # The color value of the solid fill.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel.
- # That is, the final pixel color is defined by the equation:
- #
- # pixel color = alpha * (color) + (1.0 - alpha) * (background color)
- #
- # This means that a value of 1.0 corresponds to a solid color, whereas
- # a value of 0.0 corresponds to a completely transparent color.
- },
- "propertyState": "A String", # The background fill property state.
- #
- # Updating the the fill on a table cell will implicitly update this field
- # to `RENDERED`, unless another value is specified in the same request. To
- # have no fill on a table cell, set this field to `NOT_RENDERED`. In this
- # case, any other fill fields set in the same request will be ignored.
- },
- },
- "rowSpan": 42, # Row span of the cell.
- "columnSpan": 42, # Column span of the cell.
- "location": { # A location of a single table cell within a table. # The location of the cell within the table.
- "rowIndex": 42, # The 0-based row index.
- "columnIndex": 42, # The 0-based column index.
- },
- },
- ],
- "rowHeight": { # A magnitude in a single direction in the specified units. # Height of a row.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
- },
- ],
- "rows": 42, # Number of rows in the table.
- "columns": 42, # Number of columns in the table.
- },
- "line": { # A PageElement kind representing a # A line page element.
- # line, curved connector, or bent connector.
- "lineProperties": { # The properties of the Line. # The properties of the line.
- #
- # When unset, these fields default to values that match the appearance of
- # new lines created in the Slides editor.
- "dashStyle": "A String", # The dash style of the line.
- "weight": { # A magnitude in a single direction in the specified units. # The thickness of the line.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
- "endArrow": "A String", # The style of the arrow at the end of the line.
- "link": { # A hypertext link. # The hyperlink destination of the line. If unset, there is no link.
- "url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
- # in the presentation. There may not be a slide at this index.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
- "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
- # addressed by its position.
- },
- "lineFill": { # The fill of the line. # The fill of the line. The default line fill matches the defaults for new
- # lines created in the Slides editor.
- "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill.
- # specified color value.
- #
- # If any field is unset, its value may be inherited from a parent placeholder
- # if it exists.
- "color": { # A themeable solid color value. # The color value of the solid fill.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel.
- # That is, the final pixel color is defined by the equation:
- #
- # pixel color = alpha * (color) + (1.0 - alpha) * (background color)
- #
- # This means that a value of 1.0 corresponds to a solid color, whereas
- # a value of 0.0 corresponds to a completely transparent color.
- },
- },
- "startArrow": "A String", # The style of the arrow at the beginning of the line.
- },
- "lineType": "A String", # The type of the line.
- },
- "size": { # A width and height. # The size of the page element.
- "width": { # A magnitude in a single direction in the specified units. # The width of the object.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
- "height": { # A magnitude in a single direction in the specified units. # The height of the object.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
- },
- },
- ],
- "notesProperties": { # The properties of Page that are only # Notes specific properties. Only set if page_type = NOTES.
- # relevant for pages with page_type NOTES.
- "speakerNotesObjectId": "A String", # The object ID of the shape on this notes page that contains the speaker
- # notes for the corresponding slide.
- # The actual shape may not always exist on the notes page. Inserting text
- # using this object ID will automatically create the shape. In this case, the
- # actual shape may have different object ID. The `GetPresentation` or
- # `GetPage` action will always return the latest object ID.
- },
- "objectId": "A String", # The object ID for this page. Object IDs used by
- # Page and
- # PageElement share the same namespace.
- "revisionId": "A String", # The revision ID of the presentation containing this page. Can be used in
- # update requests to assert that the presentation revision hasn't changed
- # since the last read operation. Only populated if the user has edit access
- # to the presentation.
- #
- # The format of the revision ID may change over time, so it should be treated
- # opaquely. A returned revision ID is only guaranteed to be valid for 24
- # hours after it has been returned and cannot be shared across users. If the
- # revision ID is unchanged between calls, then the presentation has not
- # 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.
- "pageProperties": { # The properties of the Page. # The properties of the page.
- #
- # The page will inherit properties from the parent page. Depending on the page
- # type the hierarchy is defined in either
- # SlideProperties or
- # LayoutProperties.
- "pageBackgroundFill": { # The page background fill. # The background fill of the page. If unset, the background fill is inherited
- # from a parent page if it exists. If the page has no parent, then the
- # background fill defaults to the corresponding fill in the Slides editor.
- "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill.
- # specified color value.
- #
- # If any field is unset, its value may be inherited from a parent placeholder
- # if it exists.
- "color": { # A themeable solid color value. # The color value of the solid fill.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel.
- # That is, the final pixel color is defined by the equation:
- #
- # pixel color = alpha * (color) + (1.0 - alpha) * (background color)
- #
- # This means that a value of 1.0 corresponds to a solid color, whereas
- # a value of 0.0 corresponds to a completely transparent color.
- },
- "propertyState": "A String", # The background fill property state.
- #
- # Updating the the fill on a page will implicitly update this field to
- # `RENDERED`, unless another value is specified in the same request. To
- # have no fill on a page, set this field to `NOT_RENDERED`. In this case,
- # any other fill fields set in the same request will be ignored.
- "stretchedPictureFill": { # The stretched picture fill. The page or page element is filled entirely with # Stretched picture fill.
- # the specified picture. The picture is stretched to fit its container.
- "contentUrl": "A String", # Reading the content_url:
- #
- # An URL to a picture with a default lifetime of 30 minutes.
- # This URL is tagged with the account of the requester. Anyone with the URL
- # effectively accesses the picture as the original requester. Access to the
- # picture may be lost if the presentation's sharing settings change.
- #
- # Writing the content_url:
- #
- # The picture is fetched once at insertion time and a copy is stored for
- # display inside the presentation. Pictures must be less than 50MB in size,
- # cannot exceed 25 megapixels, and must be in either in PNG, JPEG, or GIF
- # format.
- "size": { # A width and height. # The original size of the picture fill. This field is read-only.
- "width": { # A magnitude in a single direction in the specified units. # The width of the object.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
- "height": { # A magnitude in a single direction in the specified units. # The height of the object.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
- },
- },
- },
- "colorScheme": { # The palette of predefined colors for a page. # The color scheme of the page. If unset, the color scheme is inherited from
- # a parent page. If the page has no parent, the color scheme uses a default
- # Slides color scheme. This field is read-only.
- "colors": [ # The ThemeColorType and corresponding concrete color pairs.
- { # A pair mapping a theme color type to the concrete color it represents.
- "color": { # An RGB color. # The concrete color corresponding to the theme color type above.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- "type": "A String", # The type of the theme color.
- },
- ],
- },
- },
- "pageType": "A String", # The type of the page.
- "slideProperties": { # The properties of Page that are only # Slide specific properties. Only set if page_type = SLIDE.
- # relevant for pages with page_type SLIDE.
- "notesPage": # Object with schema name: Page # The notes page that this slide is associated with. It defines the visual
- # appearance of a notes page when printing or exporting slides with speaker
- # notes. A notes page inherits properties from the
- # notes master.
- # The placeholder shape with type BODY on the notes page contains the speaker
- # notes for this slide. The ID of this shape is identified by the
- # speakerNotesObjectId field.
- # The notes page is read-only except for the text content and styles of the
- # speaker notes shape.
- "masterObjectId": "A String", # The object ID of the master that this slide is based on.
- "layoutObjectId": "A String", # The object ID of the layout that this slide is based on.
- },
- },
- ],
"slides": [ # The slides in the presentation.
# A slide inherits properties from a slide layout.
{ # A page in a presentation.
"layoutProperties": { # The properties of Page are only # Layout specific properties. Only set if page_type = LAYOUT.
# relevant for pages with page_type LAYOUT.
- "displayName": "A String", # The human readable name of the layout in the presentation's locale.
+ "displayName": "A String", # The human-readable name of the layout.
"name": "A String", # The name of the layout.
"masterObjectId": "A String", # The object ID of the master that this layout is based on.
},
@@ -23878,8 +26349,12 @@
# word art.
"renderedText": "A String", # The text rendered as word art.
},
- "description": "A String", # The description of the page element. Combined with title to display alt
- # text.
+ "elementGroup": { # A PageElement kind representing a # A collection of page elements joined as a single unit.
+ # joined collection of PageElements.
+ "children": [ # The collection of elements in the group. The minimum size of a group is 2.
+ # Object with schema name: PageElement
+ ],
+ },
"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.
@@ -23892,7 +26367,7 @@
# effectively accesses the image as the original requester. Access to the
# image may be lost if the presentation's sharing settings change.
"imageProperties": { # The properties of the Image. # The properties of the image.
- "outline": { # The outline of a PageElement. # The outline of the image. If not set, the the image has no outline.
+ "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
@@ -23923,9 +26398,9 @@
},
"propertyState": "A String", # The outline property state.
#
- # Updating the the outline on a page element will implicitly update this
- # field to`RENDERED`, unless another value is specified in the same request.
- # To have no outline on a page element, set this field to `NOT_RENDERED`. In
+ # 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.
"dashStyle": "A String", # The dash style of the outline.
@@ -24001,14 +26476,14 @@
"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.
"angle": 3.14, # The rotation angle of the crop window around its center, in radians.
# Rotation angle is applied after the offset.
"rightOffset": 3.14, # The offset specifies the right edge of the crop rectangle that is located
# to the left of the original bounding rectangle right edge, relative to the
# object's original width.
- "bottomOffset": 3.14, # The offset specifies the bottom edge of the crop rectangle that is located
- # above the original bounding rectangle bottom edge, relative to the object's
- # original height.
"topOffset": 3.14, # The offset specifies the top edge of the crop rectangle that is located
# below the original bounding rectangle top edge, relative to the object's
# original height.
@@ -24052,9 +26527,9 @@
},
"propertyState": "A String", # The shadow property state.
#
- # Updating the the shadow on a page element will implicitly update this field
- # to `RENDERED`, unless another value is specified in the same request. To
- # have no shadow on a page element, set this field to `NOT_RENDERED`. In this
+ # 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.
"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.
@@ -24062,16 +26537,27 @@
"unit": "A String", # The units for magnitude.
},
"alpha": 3.14, # The alpha of the shadow's color, from 0.0 to 1.0.
- "type": "A String", # The type of the shadow.
+ "type": "A String", # The type of the shadow. This property is read-only.
"alignment": "A String", # The alignment point of the shadow, that sets the origin for translate,
- # scale and skew of the shadow.
- "rotateWithShape": True or False, # Whether the shadow should rotate with the shape.
+ # scale and skew of the shadow. This property is read-only.
+ "rotateWithShape": True or False, # Whether the shadow should rotate with the shape. 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.
},
+ "sourceUrl": "A String", # The source URL is the URL used to insert the image. The source URL can be
+ # empty.
},
"transform": { # AffineTransform uses a 3x3 matrix with an implied last row of [ 0 0 1 ] # The transform of the page element.
+ #
+ # The visual appearance of the page element is determined by its absolute
+ # transform. To compute the absolute transform, preconcatenate a page
+ # element's transform with the transforms of all of its parent groups. If the
+ # page element is not in a group, its absolute transform is the same as the
+ # value in this field.
+ #
+ # The initial transform for the newly created Group is always the identity transform.
# to transform source coordinates (x,y) into destination coordinates (x', y')
# according to:
#
@@ -24096,156 +26582,6 @@
# generic shape that does not have a more specific classification.
"text": { # The general text content. The text must reside in a compatible shape (e.g. # The text content of the shape.
# text box or rectangle) or a table cell in a page.
- "lists": { # The bulleted lists contained in this text, keyed by list ID.
- "a_key": { # A List describes the look and feel of bullets belonging to paragraphs
- # associated with a list. A paragraph that is part of a list has an implicit
- # reference to that list's ID.
- "nestingLevel": { # A map of nesting levels to the properties of bullets at the associated
- # level. A list has at most nine levels of nesting, so the possible values
- # for the keys of this map are 0 through 8, inclusive.
- "a_key": { # Contains properties describing the look and feel of a list bullet at a given
- # level of nesting.
- "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The style of a bullet at this level of nesting.
- #
- # If this text is contained in a shape with a parent placeholder, then these text styles may be
- # inherited from the parent. Which text styles are inherited depend on the
- # nesting level of lists:
- #
- # * A text run in a paragraph that is not in a list will inherit its text style
- # from the the newline character in the paragraph at the 0 nesting level of
- # the list inside the parent placeholder.
- # * A text run in a paragraph that is in a list will inherit its text style
- # from the newline character in the paragraph at its corresponding nesting
- # level of the list inside the parent placeholder.
- #
- # Inherited text styles are represented as unset fields in this message. If
- # text is contained in a shape without a parent placeholder, unsetting these
- # fields will revert the style to a value matching the defaults in the Slides
- # editor.
- "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- "bold": True or False, # Whether or not the text is rendered as bold.
- "baselineOffset": "A String", # The text's vertical offset from its normal position.
- #
- # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
- # rendered in a smaller font size, computed based on the `font_size` field.
- # The `font_size` itself is not affected by changes in this field.
- "strikethrough": True or False, # Whether or not the text is struck through.
- "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").
- },
- "smallCaps": True or False, # Whether or not the text is in small capital letters.
- "fontFamily": "A String", # The font family of the text.
- #
- # The font family can be any font from the Font menu in Slides or from
- # [Google Fonts] (https://fonts.google.com/). If the font name is
- # unrecognized, the text is rendered in `Arial`.
- #
- # Some fonts can affect the weight of the text. If an update request
- # specifies values for both `font_family` and `bold`, the explicitly-set
- # `bold` value is used.
- "italic": True or False, # Whether or not the text is italicized.
- "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
- # are not inherited from parent text.
- #
- # Changing the link in an update request causes some other changes to the
- # text style of the range:
- #
- # * When setting a link, the text foreground color will be set to
- # ThemeColorType.HYPERLINK and the text will
- # be underlined. If these fields are modified in the same
- # request, those values will be used instead of the link defaults.
- # * Setting a link on a text range that overlaps with an existing link will
- # also update the existing link to point to the new URL.
- # * Links are not settable on newline characters. As a result, setting a link
- # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
- # will separate the newline character(s) into their own text runs. The
- # link will be applied separately to the runs before and after the newline.
- # * Removing a link will update the text style of the range to match the
- # style of the preceding text (or the default text styles if the preceding
- # text is another link) unless different styles are being set in the same
- # request.
- "url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
- # in the presentation. There may not be a slide at this index.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
- "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
- # addressed by its position.
- },
- "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
- "underline": True or False, # Whether or not the text is underlined.
- },
- },
- },
- "listId": "A String", # The ID of the list.
- },
- },
"textElements": [ # The text contents broken down into its component parts, including styling
# information. This property is read-only.
{ # A TextElement describes the content of a range of indices in the text content
@@ -24282,7 +26618,18 @@
},
},
},
- "bold": True or False, # Whether or not the text is rendered as bold.
+ "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
"baselineOffset": "A String", # The text's vertical offset from its normal position.
#
# Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
@@ -24326,7 +26673,8 @@
"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),
+ # 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").
@@ -24341,6 +26689,11 @@
# Some fonts can affect the weight of the text. If an update request
# specifies values for both `font_family` and `bold`, the explicitly-set
# `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
"italic": True or False, # Whether or not the text is italicized.
"link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
# are not inherited from parent text.
@@ -24370,24 +26723,8 @@
"relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
# addressed by its position.
},
- "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
"underline": True or False, # Whether or not the text is underlined.
+ "bold": True or False, # Whether or not the text is rendered as bold.
},
"type": "A String", # The type of this auto text.
},
@@ -24418,7 +26755,7 @@
"direction": "A String", # The text direction of this paragraph. If unset, the value defaults to
# LEFT_TO_RIGHT since
# text direction is not inherited.
- "spaceBelow": { # A magnitude in a single direction in the specified units. # The amount of extra space above the paragraph. If unset, the value is
+ "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.
"magnitude": 3.14, # The magnitude.
"unit": "A String", # The units for magnitude.
@@ -24482,7 +26819,18 @@
},
},
},
- "bold": True or False, # Whether or not the text is rendered as bold.
+ "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
"baselineOffset": "A String", # The text's vertical offset from its normal position.
#
# Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
@@ -24526,7 +26874,8 @@
"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),
+ # 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").
@@ -24541,6 +26890,11 @@
# Some fonts can affect the weight of the text. If an update request
# specifies values for both `font_family` and `bold`, the explicitly-set
# `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
"italic": True or False, # Whether or not the text is italicized.
"link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
# are not inherited from parent text.
@@ -24570,24 +26924,8 @@
"relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
# addressed by its position.
},
- "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
"underline": True or False, # Whether or not the text is underlined.
+ "bold": True or False, # Whether or not the text is rendered as bold.
},
"glyph": "A String", # The rendered bullet glyph for this paragraph.
},
@@ -24629,7 +26967,18 @@
},
},
},
- "bold": True or False, # Whether or not the text is rendered as bold.
+ "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
"baselineOffset": "A String", # The text's vertical offset from its normal position.
#
# Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
@@ -24673,7 +27022,8 @@
"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),
+ # 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").
@@ -24688,6 +27038,11 @@
# Some fonts can affect the weight of the text. If an update request
# specifies values for both `font_family` and `bold`, the explicitly-set
# `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
"italic": True or False, # Whether or not the text is italicized.
"link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
# are not inherited from parent text.
@@ -24717,28 +27072,163 @@
"relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
# addressed by its position.
},
- "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
"underline": True or False, # Whether or not the text is underlined.
+ "bold": True or False, # Whether or not the text is rendered as bold.
},
},
},
],
+ "lists": { # The bulleted lists contained in this text, keyed by list ID.
+ "a_key": { # A List describes the look and feel of bullets belonging to paragraphs
+ # associated with a list. A paragraph that is part of a list has an implicit
+ # reference to that list's ID.
+ "nestingLevel": { # A map of nesting levels to the properties of bullets at the associated
+ # level. A list has at most nine levels of nesting, so the possible values
+ # for the keys of this map are 0 through 8, inclusive.
+ "a_key": { # Contains properties describing the look and feel of a list bullet at a given
+ # level of nesting.
+ "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The style of a bullet at this level of nesting.
+ #
+ # If this text is contained in a shape with a parent placeholder, then these text styles may be
+ # inherited from the parent. Which text styles are inherited depend on the
+ # nesting level of lists:
+ #
+ # * A text run in a paragraph that is not in a list will inherit its text style
+ # from the the newline character in the paragraph at the 0 nesting level of
+ # the list inside the parent placeholder.
+ # * A text run in a paragraph that is in a list will inherit its text style
+ # from the newline character in the paragraph at its corresponding nesting
+ # level of the list inside the parent placeholder.
+ #
+ # Inherited text styles are represented as unset fields in this message. If
+ # text is contained in a shape without a parent placeholder, unsetting these
+ # fields will revert the style to a value matching the defaults in the Slides
+ # editor.
+ "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ "baselineOffset": "A String", # The text's vertical offset from its normal position.
+ #
+ # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
+ # rendered in a smaller font size, computed based on the `font_size` field.
+ # The `font_size` itself is not affected by changes in this field.
+ "strikethrough": True or False, # Whether or not the text is struck through.
+ "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").
+ },
+ "smallCaps": True or False, # Whether or not the text is in small capital letters.
+ "fontFamily": "A String", # The font family of the text.
+ #
+ # The font family can be any font from the Font menu in Slides or from
+ # [Google Fonts] (https://fonts.google.com/). If the font name is
+ # unrecognized, the text is rendered in `Arial`.
+ #
+ # Some fonts can affect the weight of the text. If an update request
+ # specifies values for both `font_family` and `bold`, the explicitly-set
+ # `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "italic": True or False, # Whether or not the text is italicized.
+ "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
+ # are not inherited from parent text.
+ #
+ # Changing the link in an update request causes some other changes to the
+ # text style of the range:
+ #
+ # * When setting a link, the text foreground color will be set to
+ # ThemeColorType.HYPERLINK and the text will
+ # be underlined. If these fields are modified in the same
+ # request, those values will be used instead of the link defaults.
+ # * Setting a link on a text range that overlaps with an existing link will
+ # also update the existing link to point to the new URL.
+ # * Links are not settable on newline characters. As a result, setting a link
+ # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
+ # will separate the newline character(s) into their own text runs. The
+ # link will be applied separately to the runs before and after the newline.
+ # * Removing a link will update the text style of the range to match the
+ # style of the preceding text (or the default text styles if the preceding
+ # text is another link) unless different styles are being set in the same
+ # request.
+ "url": "A String", # If set, indicates this is a link to the external web page at this URL.
+ "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
+ # in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
+ "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
+ # addressed by its position.
+ },
+ "underline": True or False, # Whether or not the text is underlined.
+ "bold": True or False, # Whether or not the text is rendered as bold.
+ },
+ },
+ },
+ "listId": "A String", # The ID of the list.
+ },
+ },
},
"shapeProperties": { # The properties of a Shape. # The properties of the shape.
#
@@ -24788,9 +27278,9 @@
},
"propertyState": "A String", # The shadow property state.
#
- # Updating the the shadow on a page element will implicitly update this field
- # to `RENDERED`, unless another value is specified in the same request. To
- # have no shadow on a page element, set this field to `NOT_RENDERED`. In this
+ # 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.
"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.
@@ -24798,10 +27288,11 @@
"unit": "A String", # The units for magnitude.
},
"alpha": 3.14, # The alpha of the shadow's color, from 0.0 to 1.0.
- "type": "A String", # The type of the shadow.
+ "type": "A String", # The type of the shadow. This property is read-only.
"alignment": "A String", # The alignment point of the shadow, that sets the origin for translate,
- # scale and skew of the shadow.
- "rotateWithShape": True or False, # Whether the shadow should rotate with the shape.
+ # scale and skew of the shadow. This property is read-only.
+ "rotateWithShape": True or False, # Whether the shadow should rotate with the shape. This property is
+ # read-only.
},
"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
@@ -24830,7 +27321,7 @@
},
"propertyState": "A String", # The background fill property state.
#
- # Updating the the fill on a shape will implicitly update this field to
+ # Updating the fill on a shape will implicitly update this field to
# `RENDERED`, unless another value is specified in the same request. To
# have no fill on a shape, set this field to `NOT_RENDERED`. In this case,
# any other fill fields set in the same request will be ignored.
@@ -24879,9 +27370,9 @@
},
"propertyState": "A String", # The outline property state.
#
- # Updating the the outline on a page element will implicitly update this
- # field to`RENDERED`, unless another value is specified in the same request.
- # To have no outline on a page element, set this field to `NOT_RENDERED`. In
+ # 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.
"dashStyle": "A String", # The dash style of the outline.
@@ -24890,6 +27381,10 @@
"unit": "A String", # The units for magnitude.
},
},
+ "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.
},
"placeholder": { # The placeholder information that uniquely identifies a placeholder shape. # Placeholders are shapes that are inherit from corresponding placeholders on
# layouts and masters.
@@ -24916,7 +27411,7 @@
"spreadsheetId": "A String", # The ID of the Google Sheets spreadsheet that contains the source chart.
"sheetsChartProperties": { # The properties of the SheetsChart. # The properties of the Sheets chart.
"chartImageProperties": { # The properties of the Image. # The properties of the embedded chart image.
- "outline": { # The outline of a PageElement. # The outline of the image. If not set, the the image has no outline.
+ "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
@@ -24947,9 +27442,9 @@
},
"propertyState": "A String", # The outline property state.
#
- # Updating the the outline on a page element will implicitly update this
- # field to`RENDERED`, unless another value is specified in the same request.
- # To have no outline on a page element, set this field to `NOT_RENDERED`. In
+ # 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.
"dashStyle": "A String", # The dash style of the outline.
@@ -25025,14 +27520,14 @@
"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.
"angle": 3.14, # The rotation angle of the crop window around its center, in radians.
# Rotation angle is applied after the offset.
"rightOffset": 3.14, # The offset specifies the right edge of the crop rectangle that is located
# to the left of the original bounding rectangle right edge, relative to the
# object's original width.
- "bottomOffset": 3.14, # The offset specifies the bottom edge of the crop rectangle that is located
- # above the original bounding rectangle bottom edge, relative to the object's
- # original height.
"topOffset": 3.14, # The offset specifies the top edge of the crop rectangle that is located
# below the original bounding rectangle top edge, relative to the object's
# original height.
@@ -25076,9 +27571,9 @@
},
"propertyState": "A String", # The shadow property state.
#
- # Updating the the shadow on a page element will implicitly update this field
- # to `RENDERED`, unless another value is specified in the same request. To
- # have no shadow on a page element, set this field to `NOT_RENDERED`. In this
+ # 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.
"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.
@@ -25086,10 +27581,11 @@
"unit": "A String", # The units for magnitude.
},
"alpha": 3.14, # The alpha of the shadow's color, from 0.0 to 1.0.
- "type": "A String", # The type of the shadow.
+ "type": "A String", # The type of the shadow. This property is read-only.
"alignment": "A String", # The alignment point of the shadow, that sets the origin for translate,
- # scale and skew of the shadow.
- "rotateWithShape": True or False, # Whether the shadow should rotate with the shape.
+ # scale and skew of the shadow. This property is read-only.
+ "rotateWithShape": True or False, # Whether the shadow should rotate with the shape. 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.
@@ -25100,9 +27596,22 @@
},
"video": { # A PageElement kind representing a # A video page element.
# video.
- "url": "A String", # An URL to a video. The URL is valid as long as the source video
- # exists and sharing settings do not change.
+ "url": "A String", # An URL to a video. The URL is valid as long as the source video exists and
+ # sharing settings do not change.
"videoProperties": { # The properties of the Video. # The properties of the video.
+ "start": 42, # The time at which to start playback, measured in seconds from the beginning
+ # of the video.
+ # If set, the start time should be before the end time.
+ # If you set this to a value that exceeds the video's length in seconds, the
+ # video will be played from the last second.
+ # If not set, the video will be played from the beginning.
+ "autoPlay": True or False, # Whether to enable video autoplay when the page is displayed in present
+ # mode. Defaults to false.
+ "end": 42, # The time at which to end playback, measured in seconds from the beginning
+ # of the video.
+ # If set, the end time should be after the start time.
+ # If not set or if you set this to a value that exceeds the video's length,
+ # the video will be played until its end.
"outline": { # The outline of a PageElement. # The outline of the video. The default outline matches the defaults for new
# videos created in the Slides editor.
#
@@ -25135,9 +27644,9 @@
},
"propertyState": "A String", # The outline property state.
#
- # Updating the the outline on a page element will implicitly update this
- # field to`RENDERED`, unless another value is specified in the same request.
- # To have no outline on a page element, set this field to `NOT_RENDERED`. In
+ # 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.
"dashStyle": "A String", # The dash style of the outline.
@@ -25146,18 +27655,112 @@
"unit": "A String", # The units for magnitude.
},
},
+ "mute": True or False, # Whether to mute the audio during video playback. Defaults to false.
},
"id": "A String", # The video source's unique identifier for this video.
"source": "A String", # The video source.
},
- "elementGroup": { # A PageElement kind representing a # A collection of page elements joined as a single unit.
- # joined collection of PageElements.
- "children": [ # The collection of elements in the group. The minimum size of a group is 2.
- # Object with schema name: PageElement
- ],
- },
"table": { # A PageElement kind representing a # A table page element.
# table.
+ "rows": 42, # Number of rows in the table.
+ "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.
+ "tableBorderProperties": { # The border styling properties of the # The border properties.
+ # TableBorderCell.
+ "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.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel.
+ # That is, the final pixel color is defined by the equation:
+ #
+ # pixel color = alpha * (color) + (1.0 - alpha) * (background color)
+ #
+ # This means that a value of 1.0 corresponds to a solid color, whereas
+ # a value of 0.0 corresponds to a completely transparent color.
+ },
+ },
+ "dashStyle": "A String", # The dash style of the border.
+ "weight": { # A magnitude in a single direction in the specified units. # The thickness of the border.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ },
+ "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.
+ },
+ },
+ ],
+ },
+ ],
+ "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.
+ "tableBorderProperties": { # The border styling properties of the # The border properties.
+ # TableBorderCell.
+ "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.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel.
+ # That is, the final pixel color is defined by the equation:
+ #
+ # pixel color = alpha * (color) + (1.0 - alpha) * (background color)
+ #
+ # This means that a value of 1.0 corresponds to a solid color, whereas
+ # a value of 0.0 corresponds to a completely transparent color.
+ },
+ },
+ "dashStyle": "A String", # The dash style of the border.
+ "weight": { # A magnitude in a single direction in the specified units. # The thickness of the border.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ },
+ "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.
+ },
+ },
+ ],
+ },
+ ],
"tableColumns": [ # Properties of each column.
{ # Properties of each column in a table.
"columnWidth": { # A magnitude in a single direction in the specified units. # Width of a column.
@@ -25181,156 +27784,6 @@
{ # Properties and contents of each table cell.
"text": { # The general text content. The text must reside in a compatible shape (e.g. # The text content of the cell.
# text box or rectangle) or a table cell in a page.
- "lists": { # The bulleted lists contained in this text, keyed by list ID.
- "a_key": { # A List describes the look and feel of bullets belonging to paragraphs
- # associated with a list. A paragraph that is part of a list has an implicit
- # reference to that list's ID.
- "nestingLevel": { # A map of nesting levels to the properties of bullets at the associated
- # level. A list has at most nine levels of nesting, so the possible values
- # for the keys of this map are 0 through 8, inclusive.
- "a_key": { # Contains properties describing the look and feel of a list bullet at a given
- # level of nesting.
- "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The style of a bullet at this level of nesting.
- #
- # If this text is contained in a shape with a parent placeholder, then these text styles may be
- # inherited from the parent. Which text styles are inherited depend on the
- # nesting level of lists:
- #
- # * A text run in a paragraph that is not in a list will inherit its text style
- # from the the newline character in the paragraph at the 0 nesting level of
- # the list inside the parent placeholder.
- # * A text run in a paragraph that is in a list will inherit its text style
- # from the newline character in the paragraph at its corresponding nesting
- # level of the list inside the parent placeholder.
- #
- # Inherited text styles are represented as unset fields in this message. If
- # text is contained in a shape without a parent placeholder, unsetting these
- # fields will revert the style to a value matching the defaults in the Slides
- # editor.
- "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- "bold": True or False, # Whether or not the text is rendered as bold.
- "baselineOffset": "A String", # The text's vertical offset from its normal position.
- #
- # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
- # rendered in a smaller font size, computed based on the `font_size` field.
- # The `font_size` itself is not affected by changes in this field.
- "strikethrough": True or False, # Whether or not the text is struck through.
- "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").
- },
- "smallCaps": True or False, # Whether or not the text is in small capital letters.
- "fontFamily": "A String", # The font family of the text.
- #
- # The font family can be any font from the Font menu in Slides or from
- # [Google Fonts] (https://fonts.google.com/). If the font name is
- # unrecognized, the text is rendered in `Arial`.
- #
- # Some fonts can affect the weight of the text. If an update request
- # specifies values for both `font_family` and `bold`, the explicitly-set
- # `bold` value is used.
- "italic": True or False, # Whether or not the text is italicized.
- "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
- # are not inherited from parent text.
- #
- # Changing the link in an update request causes some other changes to the
- # text style of the range:
- #
- # * When setting a link, the text foreground color will be set to
- # ThemeColorType.HYPERLINK and the text will
- # be underlined. If these fields are modified in the same
- # request, those values will be used instead of the link defaults.
- # * Setting a link on a text range that overlaps with an existing link will
- # also update the existing link to point to the new URL.
- # * Links are not settable on newline characters. As a result, setting a link
- # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
- # will separate the newline character(s) into their own text runs. The
- # link will be applied separately to the runs before and after the newline.
- # * Removing a link will update the text style of the range to match the
- # style of the preceding text (or the default text styles if the preceding
- # text is another link) unless different styles are being set in the same
- # request.
- "url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
- # in the presentation. There may not be a slide at this index.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
- "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
- # addressed by its position.
- },
- "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
- "underline": True or False, # Whether or not the text is underlined.
- },
- },
- },
- "listId": "A String", # The ID of the list.
- },
- },
"textElements": [ # The text contents broken down into its component parts, including styling
# information. This property is read-only.
{ # A TextElement describes the content of a range of indices in the text content
@@ -25367,7 +27820,18 @@
},
},
},
- "bold": True or False, # Whether or not the text is rendered as bold.
+ "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
"baselineOffset": "A String", # The text's vertical offset from its normal position.
#
# Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
@@ -25411,7 +27875,8 @@
"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),
+ # 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").
@@ -25426,6 +27891,11 @@
# Some fonts can affect the weight of the text. If an update request
# specifies values for both `font_family` and `bold`, the explicitly-set
# `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
"italic": True or False, # Whether or not the text is italicized.
"link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
# are not inherited from parent text.
@@ -25455,24 +27925,8 @@
"relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
# addressed by its position.
},
- "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
"underline": True or False, # Whether or not the text is underlined.
+ "bold": True or False, # Whether or not the text is rendered as bold.
},
"type": "A String", # The type of this auto text.
},
@@ -25503,7 +27957,7 @@
"direction": "A String", # The text direction of this paragraph. If unset, the value defaults to
# LEFT_TO_RIGHT since
# text direction is not inherited.
- "spaceBelow": { # A magnitude in a single direction in the specified units. # The amount of extra space above the paragraph. If unset, the value is
+ "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.
"magnitude": 3.14, # The magnitude.
"unit": "A String", # The units for magnitude.
@@ -25567,7 +28021,18 @@
},
},
},
- "bold": True or False, # Whether or not the text is rendered as bold.
+ "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
"baselineOffset": "A String", # The text's vertical offset from its normal position.
#
# Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
@@ -25611,7 +28076,8 @@
"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),
+ # 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").
@@ -25626,6 +28092,11 @@
# Some fonts can affect the weight of the text. If an update request
# specifies values for both `font_family` and `bold`, the explicitly-set
# `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
"italic": True or False, # Whether or not the text is italicized.
"link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
# are not inherited from parent text.
@@ -25655,24 +28126,8 @@
"relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
# addressed by its position.
},
- "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
"underline": True or False, # Whether or not the text is underlined.
+ "bold": True or False, # Whether or not the text is rendered as bold.
},
"glyph": "A String", # The rendered bullet glyph for this paragraph.
},
@@ -25714,7 +28169,18 @@
},
},
},
- "bold": True or False, # Whether or not the text is rendered as bold.
+ "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
"baselineOffset": "A String", # The text's vertical offset from its normal position.
#
# Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
@@ -25758,7 +28224,8 @@
"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),
+ # 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").
@@ -25773,6 +28240,11 @@
# Some fonts can affect the weight of the text. If an update request
# specifies values for both `font_family` and `bold`, the explicitly-set
# `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
"italic": True or False, # Whether or not the text is italicized.
"link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
# are not inherited from parent text.
@@ -25802,28 +28274,163 @@
"relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
# addressed by its position.
},
- "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
"underline": True or False, # Whether or not the text is underlined.
+ "bold": True or False, # Whether or not the text is rendered as bold.
},
},
},
],
+ "lists": { # The bulleted lists contained in this text, keyed by list ID.
+ "a_key": { # A List describes the look and feel of bullets belonging to paragraphs
+ # associated with a list. A paragraph that is part of a list has an implicit
+ # reference to that list's ID.
+ "nestingLevel": { # A map of nesting levels to the properties of bullets at the associated
+ # level. A list has at most nine levels of nesting, so the possible values
+ # for the keys of this map are 0 through 8, inclusive.
+ "a_key": { # Contains properties describing the look and feel of a list bullet at a given
+ # level of nesting.
+ "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The style of a bullet at this level of nesting.
+ #
+ # If this text is contained in a shape with a parent placeholder, then these text styles may be
+ # inherited from the parent. Which text styles are inherited depend on the
+ # nesting level of lists:
+ #
+ # * A text run in a paragraph that is not in a list will inherit its text style
+ # from the the newline character in the paragraph at the 0 nesting level of
+ # the list inside the parent placeholder.
+ # * A text run in a paragraph that is in a list will inherit its text style
+ # from the newline character in the paragraph at its corresponding nesting
+ # level of the list inside the parent placeholder.
+ #
+ # Inherited text styles are represented as unset fields in this message. If
+ # text is contained in a shape without a parent placeholder, unsetting these
+ # fields will revert the style to a value matching the defaults in the Slides
+ # editor.
+ "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ "baselineOffset": "A String", # The text's vertical offset from its normal position.
+ #
+ # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
+ # rendered in a smaller font size, computed based on the `font_size` field.
+ # The `font_size` itself is not affected by changes in this field.
+ "strikethrough": True or False, # Whether or not the text is struck through.
+ "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").
+ },
+ "smallCaps": True or False, # Whether or not the text is in small capital letters.
+ "fontFamily": "A String", # The font family of the text.
+ #
+ # The font family can be any font from the Font menu in Slides or from
+ # [Google Fonts] (https://fonts.google.com/). If the font name is
+ # unrecognized, the text is rendered in `Arial`.
+ #
+ # Some fonts can affect the weight of the text. If an update request
+ # specifies values for both `font_family` and `bold`, the explicitly-set
+ # `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "italic": True or False, # Whether or not the text is italicized.
+ "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
+ # are not inherited from parent text.
+ #
+ # Changing the link in an update request causes some other changes to the
+ # text style of the range:
+ #
+ # * When setting a link, the text foreground color will be set to
+ # ThemeColorType.HYPERLINK and the text will
+ # be underlined. If these fields are modified in the same
+ # request, those values will be used instead of the link defaults.
+ # * Setting a link on a text range that overlaps with an existing link will
+ # also update the existing link to point to the new URL.
+ # * Links are not settable on newline characters. As a result, setting a link
+ # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
+ # will separate the newline character(s) into their own text runs. The
+ # link will be applied separately to the runs before and after the newline.
+ # * Removing a link will update the text style of the range to match the
+ # style of the preceding text (or the default text styles if the preceding
+ # text is another link) unless different styles are being set in the same
+ # request.
+ "url": "A String", # If set, indicates this is a link to the external web page at this URL.
+ "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
+ # in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
+ "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
+ # addressed by its position.
+ },
+ "underline": True or False, # Whether or not the text is underlined.
+ "bold": True or False, # Whether or not the text is rendered as bold.
+ },
+ },
+ },
+ "listId": "A String", # The ID of the list.
+ },
+ },
},
"tableCellProperties": { # The properties of the TableCell. # The properties of the table cell.
"tableCellBackgroundFill": { # The table cell background fill. # The background fill of the table cell. The default fill matches the fill
@@ -25851,11 +28458,13 @@
},
"propertyState": "A String", # The background fill property state.
#
- # Updating the the fill on a table cell will implicitly update this field
+ # Updating the fill on a table cell will implicitly update this field
# to `RENDERED`, unless another value is specified in the same request. To
# have no fill on a table cell, set this field to `NOT_RENDERED`. In this
# case, any other fill fields set in the same request will be ignored.
},
+ "contentAlignment": "A String", # The alignment of the content in the table cell. The default alignment
+ # matches the alignment for newly created table cells in the Slides editor.
},
"rowSpan": 42, # Row span of the cell.
"columnSpan": 42, # Column span of the cell.
@@ -25869,13 +28478,24 @@
"magnitude": 3.14, # The magnitude.
"unit": "A String", # The units for 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).
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ },
},
],
- "rows": 42, # Number of rows in the table.
"columns": 42, # Number of columns in the table.
},
"line": { # A PageElement kind representing a # A line page element.
- # line, curved connector, or bent connector.
+ # non-connector line, straight connector, curved connector, or bent connector.
+ "lineCategory": "A String", # The category of the line.
+ #
+ # It matches the `category` specified in CreateLineRequest, and can be updated with
+ # UpdateLineCategoryRequest.
"lineProperties": { # The properties of the Line. # The properties of the line.
#
# When unset, these fields default to values that match the appearance of
@@ -25919,6 +28539,51 @@
# a value of 0.0 corresponds to a completely transparent color.
},
},
+ "startConnection": { # The properties for one end of a Line # The connection at the beginning of the line. If unset, there is no
+ # connection.
+ #
+ # Only lines with a Type indicating it is
+ # a "connector" can have a `start_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.
+ },
+ "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.
+ },
"startArrow": "A String", # The style of the arrow at the beginning of the line.
},
"lineType": "A String", # The type of the line.
@@ -25933,6 +28598,8 @@
"unit": "A String", # The units for magnitude.
},
},
+ "description": "A String", # The description of the page element. Combined with title to display alt
+ # text.
},
],
"notesProperties": { # The properties of Page that are only # Notes specific properties. Only set if page_type = NOTES.
@@ -25959,6 +28626,10 @@
# 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.
+ "masterProperties": { # The properties of Page that are only # Master specific properties. Only set if page_type = MASTER.
+ # relevant for pages with page_type MASTER.
+ "displayName": "A String", # The human-readable name of the master.
+ },
"pageProperties": { # The properties of the Page. # The properties of the page.
#
# The page will inherit properties from the parent page. Depending on the page
@@ -25991,7 +28662,7 @@
},
"propertyState": "A String", # The background fill property state.
#
- # Updating the the fill on a page will implicitly update this field to
+ # 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.
@@ -26008,8 +28679,10 @@
#
# The picture is fetched once at insertion time and a copy is stored for
# display inside the presentation. Pictures must be less than 50MB in size,
- # cannot exceed 25 megapixels, and must be in either in PNG, JPEG, or GIF
+ # 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.
"magnitude": 3.14, # The magnitude.
@@ -26048,9 +28721,11 @@
# notes for this slide. The ID of this shape is identified by the
# speakerNotesObjectId field.
# The notes page is read-only except for the text content and styles of the
- # speaker notes shape.
- "masterObjectId": "A String", # The object ID of the master that this slide is based on.
- "layoutObjectId": "A String", # The object ID of the layout that this slide is based on.
+ # 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.
},
},
],
@@ -26060,7 +28735,7 @@
{ # A page in a presentation.
"layoutProperties": { # The properties of Page are only # Layout specific properties. Only set if page_type = LAYOUT.
# relevant for pages with page_type LAYOUT.
- "displayName": "A String", # The human readable name of the layout in the presentation's locale.
+ "displayName": "A String", # The human-readable name of the layout.
"name": "A String", # The name of the layout.
"masterObjectId": "A String", # The object ID of the master that this layout is based on.
},
@@ -26070,8 +28745,12 @@
# word art.
"renderedText": "A String", # The text rendered as word art.
},
- "description": "A String", # The description of the page element. Combined with title to display alt
- # text.
+ "elementGroup": { # A PageElement kind representing a # A collection of page elements joined as a single unit.
+ # joined collection of PageElements.
+ "children": [ # The collection of elements in the group. The minimum size of a group is 2.
+ # Object with schema name: PageElement
+ ],
+ },
"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.
@@ -26084,7 +28763,7 @@
# effectively accesses the image as the original requester. Access to the
# image may be lost if the presentation's sharing settings change.
"imageProperties": { # The properties of the Image. # The properties of the image.
- "outline": { # The outline of a PageElement. # The outline of the image. If not set, the the image has no outline.
+ "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
@@ -26115,9 +28794,9 @@
},
"propertyState": "A String", # The outline property state.
#
- # Updating the the outline on a page element will implicitly update this
- # field to`RENDERED`, unless another value is specified in the same request.
- # To have no outline on a page element, set this field to `NOT_RENDERED`. In
+ # 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.
"dashStyle": "A String", # The dash style of the outline.
@@ -26193,14 +28872,14 @@
"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.
"angle": 3.14, # The rotation angle of the crop window around its center, in radians.
# Rotation angle is applied after the offset.
"rightOffset": 3.14, # The offset specifies the right edge of the crop rectangle that is located
# to the left of the original bounding rectangle right edge, relative to the
# object's original width.
- "bottomOffset": 3.14, # The offset specifies the bottom edge of the crop rectangle that is located
- # above the original bounding rectangle bottom edge, relative to the object's
- # original height.
"topOffset": 3.14, # The offset specifies the top edge of the crop rectangle that is located
# below the original bounding rectangle top edge, relative to the object's
# original height.
@@ -26244,9 +28923,9 @@
},
"propertyState": "A String", # The shadow property state.
#
- # Updating the the shadow on a page element will implicitly update this field
- # to `RENDERED`, unless another value is specified in the same request. To
- # have no shadow on a page element, set this field to `NOT_RENDERED`. In this
+ # 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.
"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.
@@ -26254,16 +28933,27 @@
"unit": "A String", # The units for magnitude.
},
"alpha": 3.14, # The alpha of the shadow's color, from 0.0 to 1.0.
- "type": "A String", # The type of the shadow.
+ "type": "A String", # The type of the shadow. This property is read-only.
"alignment": "A String", # The alignment point of the shadow, that sets the origin for translate,
- # scale and skew of the shadow.
- "rotateWithShape": True or False, # Whether the shadow should rotate with the shape.
+ # scale and skew of the shadow. This property is read-only.
+ "rotateWithShape": True or False, # Whether the shadow should rotate with the shape. 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.
},
+ "sourceUrl": "A String", # The source URL is the URL used to insert the image. The source URL can be
+ # empty.
},
"transform": { # AffineTransform uses a 3x3 matrix with an implied last row of [ 0 0 1 ] # The transform of the page element.
+ #
+ # The visual appearance of the page element is determined by its absolute
+ # transform. To compute the absolute transform, preconcatenate a page
+ # element's transform with the transforms of all of its parent groups. If the
+ # page element is not in a group, its absolute transform is the same as the
+ # value in this field.
+ #
+ # The initial transform for the newly created Group is always the identity transform.
# to transform source coordinates (x,y) into destination coordinates (x', y')
# according to:
#
@@ -26288,156 +28978,6 @@
# generic shape that does not have a more specific classification.
"text": { # The general text content. The text must reside in a compatible shape (e.g. # The text content of the shape.
# text box or rectangle) or a table cell in a page.
- "lists": { # The bulleted lists contained in this text, keyed by list ID.
- "a_key": { # A List describes the look and feel of bullets belonging to paragraphs
- # associated with a list. A paragraph that is part of a list has an implicit
- # reference to that list's ID.
- "nestingLevel": { # A map of nesting levels to the properties of bullets at the associated
- # level. A list has at most nine levels of nesting, so the possible values
- # for the keys of this map are 0 through 8, inclusive.
- "a_key": { # Contains properties describing the look and feel of a list bullet at a given
- # level of nesting.
- "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The style of a bullet at this level of nesting.
- #
- # If this text is contained in a shape with a parent placeholder, then these text styles may be
- # inherited from the parent. Which text styles are inherited depend on the
- # nesting level of lists:
- #
- # * A text run in a paragraph that is not in a list will inherit its text style
- # from the the newline character in the paragraph at the 0 nesting level of
- # the list inside the parent placeholder.
- # * A text run in a paragraph that is in a list will inherit its text style
- # from the newline character in the paragraph at its corresponding nesting
- # level of the list inside the parent placeholder.
- #
- # Inherited text styles are represented as unset fields in this message. If
- # text is contained in a shape without a parent placeholder, unsetting these
- # fields will revert the style to a value matching the defaults in the Slides
- # editor.
- "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- "bold": True or False, # Whether or not the text is rendered as bold.
- "baselineOffset": "A String", # The text's vertical offset from its normal position.
- #
- # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
- # rendered in a smaller font size, computed based on the `font_size` field.
- # The `font_size` itself is not affected by changes in this field.
- "strikethrough": True or False, # Whether or not the text is struck through.
- "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").
- },
- "smallCaps": True or False, # Whether or not the text is in small capital letters.
- "fontFamily": "A String", # The font family of the text.
- #
- # The font family can be any font from the Font menu in Slides or from
- # [Google Fonts] (https://fonts.google.com/). If the font name is
- # unrecognized, the text is rendered in `Arial`.
- #
- # Some fonts can affect the weight of the text. If an update request
- # specifies values for both `font_family` and `bold`, the explicitly-set
- # `bold` value is used.
- "italic": True or False, # Whether or not the text is italicized.
- "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
- # are not inherited from parent text.
- #
- # Changing the link in an update request causes some other changes to the
- # text style of the range:
- #
- # * When setting a link, the text foreground color will be set to
- # ThemeColorType.HYPERLINK and the text will
- # be underlined. If these fields are modified in the same
- # request, those values will be used instead of the link defaults.
- # * Setting a link on a text range that overlaps with an existing link will
- # also update the existing link to point to the new URL.
- # * Links are not settable on newline characters. As a result, setting a link
- # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
- # will separate the newline character(s) into their own text runs. The
- # link will be applied separately to the runs before and after the newline.
- # * Removing a link will update the text style of the range to match the
- # style of the preceding text (or the default text styles if the preceding
- # text is another link) unless different styles are being set in the same
- # request.
- "url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
- # in the presentation. There may not be a slide at this index.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
- "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
- # addressed by its position.
- },
- "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
- "underline": True or False, # Whether or not the text is underlined.
- },
- },
- },
- "listId": "A String", # The ID of the list.
- },
- },
"textElements": [ # The text contents broken down into its component parts, including styling
# information. This property is read-only.
{ # A TextElement describes the content of a range of indices in the text content
@@ -26474,7 +29014,18 @@
},
},
},
- "bold": True or False, # Whether or not the text is rendered as bold.
+ "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
"baselineOffset": "A String", # The text's vertical offset from its normal position.
#
# Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
@@ -26518,7 +29069,8 @@
"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),
+ # 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").
@@ -26533,6 +29085,11 @@
# Some fonts can affect the weight of the text. If an update request
# specifies values for both `font_family` and `bold`, the explicitly-set
# `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
"italic": True or False, # Whether or not the text is italicized.
"link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
# are not inherited from parent text.
@@ -26562,24 +29119,8 @@
"relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
# addressed by its position.
},
- "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
"underline": True or False, # Whether or not the text is underlined.
+ "bold": True or False, # Whether or not the text is rendered as bold.
},
"type": "A String", # The type of this auto text.
},
@@ -26610,7 +29151,7 @@
"direction": "A String", # The text direction of this paragraph. If unset, the value defaults to
# LEFT_TO_RIGHT since
# text direction is not inherited.
- "spaceBelow": { # A magnitude in a single direction in the specified units. # The amount of extra space above the paragraph. If unset, the value is
+ "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.
"magnitude": 3.14, # The magnitude.
"unit": "A String", # The units for magnitude.
@@ -26674,7 +29215,18 @@
},
},
},
- "bold": True or False, # Whether or not the text is rendered as bold.
+ "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
"baselineOffset": "A String", # The text's vertical offset from its normal position.
#
# Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
@@ -26718,7 +29270,8 @@
"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),
+ # 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").
@@ -26733,6 +29286,11 @@
# Some fonts can affect the weight of the text. If an update request
# specifies values for both `font_family` and `bold`, the explicitly-set
# `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
"italic": True or False, # Whether or not the text is italicized.
"link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
# are not inherited from parent text.
@@ -26762,24 +29320,8 @@
"relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
# addressed by its position.
},
- "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
"underline": True or False, # Whether or not the text is underlined.
+ "bold": True or False, # Whether or not the text is rendered as bold.
},
"glyph": "A String", # The rendered bullet glyph for this paragraph.
},
@@ -26821,7 +29363,18 @@
},
},
},
- "bold": True or False, # Whether or not the text is rendered as bold.
+ "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
"baselineOffset": "A String", # The text's vertical offset from its normal position.
#
# Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
@@ -26865,7 +29418,8 @@
"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),
+ # 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").
@@ -26880,6 +29434,11 @@
# Some fonts can affect the weight of the text. If an update request
# specifies values for both `font_family` and `bold`, the explicitly-set
# `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
"italic": True or False, # Whether or not the text is italicized.
"link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
# are not inherited from parent text.
@@ -26909,28 +29468,163 @@
"relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
# addressed by its position.
},
- "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
"underline": True or False, # Whether or not the text is underlined.
+ "bold": True or False, # Whether or not the text is rendered as bold.
},
},
},
],
+ "lists": { # The bulleted lists contained in this text, keyed by list ID.
+ "a_key": { # A List describes the look and feel of bullets belonging to paragraphs
+ # associated with a list. A paragraph that is part of a list has an implicit
+ # reference to that list's ID.
+ "nestingLevel": { # A map of nesting levels to the properties of bullets at the associated
+ # level. A list has at most nine levels of nesting, so the possible values
+ # for the keys of this map are 0 through 8, inclusive.
+ "a_key": { # Contains properties describing the look and feel of a list bullet at a given
+ # level of nesting.
+ "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The style of a bullet at this level of nesting.
+ #
+ # If this text is contained in a shape with a parent placeholder, then these text styles may be
+ # inherited from the parent. Which text styles are inherited depend on the
+ # nesting level of lists:
+ #
+ # * A text run in a paragraph that is not in a list will inherit its text style
+ # from the the newline character in the paragraph at the 0 nesting level of
+ # the list inside the parent placeholder.
+ # * A text run in a paragraph that is in a list will inherit its text style
+ # from the newline character in the paragraph at its corresponding nesting
+ # level of the list inside the parent placeholder.
+ #
+ # Inherited text styles are represented as unset fields in this message. If
+ # text is contained in a shape without a parent placeholder, unsetting these
+ # fields will revert the style to a value matching the defaults in the Slides
+ # editor.
+ "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ "baselineOffset": "A String", # The text's vertical offset from its normal position.
+ #
+ # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
+ # rendered in a smaller font size, computed based on the `font_size` field.
+ # The `font_size` itself is not affected by changes in this field.
+ "strikethrough": True or False, # Whether or not the text is struck through.
+ "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").
+ },
+ "smallCaps": True or False, # Whether or not the text is in small capital letters.
+ "fontFamily": "A String", # The font family of the text.
+ #
+ # The font family can be any font from the Font menu in Slides or from
+ # [Google Fonts] (https://fonts.google.com/). If the font name is
+ # unrecognized, the text is rendered in `Arial`.
+ #
+ # Some fonts can affect the weight of the text. If an update request
+ # specifies values for both `font_family` and `bold`, the explicitly-set
+ # `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "italic": True or False, # Whether or not the text is italicized.
+ "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
+ # are not inherited from parent text.
+ #
+ # Changing the link in an update request causes some other changes to the
+ # text style of the range:
+ #
+ # * When setting a link, the text foreground color will be set to
+ # ThemeColorType.HYPERLINK and the text will
+ # be underlined. If these fields are modified in the same
+ # request, those values will be used instead of the link defaults.
+ # * Setting a link on a text range that overlaps with an existing link will
+ # also update the existing link to point to the new URL.
+ # * Links are not settable on newline characters. As a result, setting a link
+ # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
+ # will separate the newline character(s) into their own text runs. The
+ # link will be applied separately to the runs before and after the newline.
+ # * Removing a link will update the text style of the range to match the
+ # style of the preceding text (or the default text styles if the preceding
+ # text is another link) unless different styles are being set in the same
+ # request.
+ "url": "A String", # If set, indicates this is a link to the external web page at this URL.
+ "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
+ # in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
+ "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
+ # addressed by its position.
+ },
+ "underline": True or False, # Whether or not the text is underlined.
+ "bold": True or False, # Whether or not the text is rendered as bold.
+ },
+ },
+ },
+ "listId": "A String", # The ID of the list.
+ },
+ },
},
"shapeProperties": { # The properties of a Shape. # The properties of the shape.
#
@@ -26980,9 +29674,9 @@
},
"propertyState": "A String", # The shadow property state.
#
- # Updating the the shadow on a page element will implicitly update this field
- # to `RENDERED`, unless another value is specified in the same request. To
- # have no shadow on a page element, set this field to `NOT_RENDERED`. In this
+ # 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.
"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.
@@ -26990,10 +29684,11 @@
"unit": "A String", # The units for magnitude.
},
"alpha": 3.14, # The alpha of the shadow's color, from 0.0 to 1.0.
- "type": "A String", # The type of the shadow.
+ "type": "A String", # The type of the shadow. This property is read-only.
"alignment": "A String", # The alignment point of the shadow, that sets the origin for translate,
- # scale and skew of the shadow.
- "rotateWithShape": True or False, # Whether the shadow should rotate with the shape.
+ # scale and skew of the shadow. This property is read-only.
+ "rotateWithShape": True or False, # Whether the shadow should rotate with the shape. This property is
+ # read-only.
},
"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
@@ -27022,7 +29717,7 @@
},
"propertyState": "A String", # The background fill property state.
#
- # Updating the the fill on a shape will implicitly update this field to
+ # Updating the fill on a shape will implicitly update this field to
# `RENDERED`, unless another value is specified in the same request. To
# have no fill on a shape, set this field to `NOT_RENDERED`. In this case,
# any other fill fields set in the same request will be ignored.
@@ -27071,9 +29766,9 @@
},
"propertyState": "A String", # The outline property state.
#
- # Updating the the outline on a page element will implicitly update this
- # field to`RENDERED`, unless another value is specified in the same request.
- # To have no outline on a page element, set this field to `NOT_RENDERED`. In
+ # 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.
"dashStyle": "A String", # The dash style of the outline.
@@ -27082,6 +29777,10 @@
"unit": "A String", # The units for magnitude.
},
},
+ "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.
},
"placeholder": { # The placeholder information that uniquely identifies a placeholder shape. # Placeholders are shapes that are inherit from corresponding placeholders on
# layouts and masters.
@@ -27108,7 +29807,7 @@
"spreadsheetId": "A String", # The ID of the Google Sheets spreadsheet that contains the source chart.
"sheetsChartProperties": { # The properties of the SheetsChart. # The properties of the Sheets chart.
"chartImageProperties": { # The properties of the Image. # The properties of the embedded chart image.
- "outline": { # The outline of a PageElement. # The outline of the image. If not set, the the image has no outline.
+ "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
@@ -27139,9 +29838,9 @@
},
"propertyState": "A String", # The outline property state.
#
- # Updating the the outline on a page element will implicitly update this
- # field to`RENDERED`, unless another value is specified in the same request.
- # To have no outline on a page element, set this field to `NOT_RENDERED`. In
+ # 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.
"dashStyle": "A String", # The dash style of the outline.
@@ -27217,14 +29916,14 @@
"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.
"angle": 3.14, # The rotation angle of the crop window around its center, in radians.
# Rotation angle is applied after the offset.
"rightOffset": 3.14, # The offset specifies the right edge of the crop rectangle that is located
# to the left of the original bounding rectangle right edge, relative to the
# object's original width.
- "bottomOffset": 3.14, # The offset specifies the bottom edge of the crop rectangle that is located
- # above the original bounding rectangle bottom edge, relative to the object's
- # original height.
"topOffset": 3.14, # The offset specifies the top edge of the crop rectangle that is located
# below the original bounding rectangle top edge, relative to the object's
# original height.
@@ -27268,9 +29967,9 @@
},
"propertyState": "A String", # The shadow property state.
#
- # Updating the the shadow on a page element will implicitly update this field
- # to `RENDERED`, unless another value is specified in the same request. To
- # have no shadow on a page element, set this field to `NOT_RENDERED`. In this
+ # 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.
"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.
@@ -27278,10 +29977,11 @@
"unit": "A String", # The units for magnitude.
},
"alpha": 3.14, # The alpha of the shadow's color, from 0.0 to 1.0.
- "type": "A String", # The type of the shadow.
+ "type": "A String", # The type of the shadow. This property is read-only.
"alignment": "A String", # The alignment point of the shadow, that sets the origin for translate,
- # scale and skew of the shadow.
- "rotateWithShape": True or False, # Whether the shadow should rotate with the shape.
+ # scale and skew of the shadow. This property is read-only.
+ "rotateWithShape": True or False, # Whether the shadow should rotate with the shape. 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.
@@ -27292,9 +29992,22 @@
},
"video": { # A PageElement kind representing a # A video page element.
# video.
- "url": "A String", # An URL to a video. The URL is valid as long as the source video
- # exists and sharing settings do not change.
+ "url": "A String", # An URL to a video. The URL is valid as long as the source video exists and
+ # sharing settings do not change.
"videoProperties": { # The properties of the Video. # The properties of the video.
+ "start": 42, # The time at which to start playback, measured in seconds from the beginning
+ # of the video.
+ # If set, the start time should be before the end time.
+ # If you set this to a value that exceeds the video's length in seconds, the
+ # video will be played from the last second.
+ # If not set, the video will be played from the beginning.
+ "autoPlay": True or False, # Whether to enable video autoplay when the page is displayed in present
+ # mode. Defaults to false.
+ "end": 42, # The time at which to end playback, measured in seconds from the beginning
+ # of the video.
+ # If set, the end time should be after the start time.
+ # If not set or if you set this to a value that exceeds the video's length,
+ # the video will be played until its end.
"outline": { # The outline of a PageElement. # The outline of the video. The default outline matches the defaults for new
# videos created in the Slides editor.
#
@@ -27327,9 +30040,9 @@
},
"propertyState": "A String", # The outline property state.
#
- # Updating the the outline on a page element will implicitly update this
- # field to`RENDERED`, unless another value is specified in the same request.
- # To have no outline on a page element, set this field to `NOT_RENDERED`. In
+ # 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.
"dashStyle": "A String", # The dash style of the outline.
@@ -27338,18 +30051,112 @@
"unit": "A String", # The units for magnitude.
},
},
+ "mute": True or False, # Whether to mute the audio during video playback. Defaults to false.
},
"id": "A String", # The video source's unique identifier for this video.
"source": "A String", # The video source.
},
- "elementGroup": { # A PageElement kind representing a # A collection of page elements joined as a single unit.
- # joined collection of PageElements.
- "children": [ # The collection of elements in the group. The minimum size of a group is 2.
- # Object with schema name: PageElement
- ],
- },
"table": { # A PageElement kind representing a # A table page element.
# table.
+ "rows": 42, # Number of rows in the table.
+ "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.
+ "tableBorderProperties": { # The border styling properties of the # The border properties.
+ # TableBorderCell.
+ "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.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel.
+ # That is, the final pixel color is defined by the equation:
+ #
+ # pixel color = alpha * (color) + (1.0 - alpha) * (background color)
+ #
+ # This means that a value of 1.0 corresponds to a solid color, whereas
+ # a value of 0.0 corresponds to a completely transparent color.
+ },
+ },
+ "dashStyle": "A String", # The dash style of the border.
+ "weight": { # A magnitude in a single direction in the specified units. # The thickness of the border.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ },
+ "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.
+ },
+ },
+ ],
+ },
+ ],
+ "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.
+ "tableBorderProperties": { # The border styling properties of the # The border properties.
+ # TableBorderCell.
+ "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.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel.
+ # That is, the final pixel color is defined by the equation:
+ #
+ # pixel color = alpha * (color) + (1.0 - alpha) * (background color)
+ #
+ # This means that a value of 1.0 corresponds to a solid color, whereas
+ # a value of 0.0 corresponds to a completely transparent color.
+ },
+ },
+ "dashStyle": "A String", # The dash style of the border.
+ "weight": { # A magnitude in a single direction in the specified units. # The thickness of the border.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ },
+ "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.
+ },
+ },
+ ],
+ },
+ ],
"tableColumns": [ # Properties of each column.
{ # Properties of each column in a table.
"columnWidth": { # A magnitude in a single direction in the specified units. # Width of a column.
@@ -27373,156 +30180,6 @@
{ # Properties and contents of each table cell.
"text": { # The general text content. The text must reside in a compatible shape (e.g. # The text content of the cell.
# text box or rectangle) or a table cell in a page.
- "lists": { # The bulleted lists contained in this text, keyed by list ID.
- "a_key": { # A List describes the look and feel of bullets belonging to paragraphs
- # associated with a list. A paragraph that is part of a list has an implicit
- # reference to that list's ID.
- "nestingLevel": { # A map of nesting levels to the properties of bullets at the associated
- # level. A list has at most nine levels of nesting, so the possible values
- # for the keys of this map are 0 through 8, inclusive.
- "a_key": { # Contains properties describing the look and feel of a list bullet at a given
- # level of nesting.
- "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The style of a bullet at this level of nesting.
- #
- # If this text is contained in a shape with a parent placeholder, then these text styles may be
- # inherited from the parent. Which text styles are inherited depend on the
- # nesting level of lists:
- #
- # * A text run in a paragraph that is not in a list will inherit its text style
- # from the the newline character in the paragraph at the 0 nesting level of
- # the list inside the parent placeholder.
- # * A text run in a paragraph that is in a list will inherit its text style
- # from the newline character in the paragraph at its corresponding nesting
- # level of the list inside the parent placeholder.
- #
- # Inherited text styles are represented as unset fields in this message. If
- # text is contained in a shape without a parent placeholder, unsetting these
- # fields will revert the style to a value matching the defaults in the Slides
- # editor.
- "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- "bold": True or False, # Whether or not the text is rendered as bold.
- "baselineOffset": "A String", # The text's vertical offset from its normal position.
- #
- # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
- # rendered in a smaller font size, computed based on the `font_size` field.
- # The `font_size` itself is not affected by changes in this field.
- "strikethrough": True or False, # Whether or not the text is struck through.
- "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").
- },
- "smallCaps": True or False, # Whether or not the text is in small capital letters.
- "fontFamily": "A String", # The font family of the text.
- #
- # The font family can be any font from the Font menu in Slides or from
- # [Google Fonts] (https://fonts.google.com/). If the font name is
- # unrecognized, the text is rendered in `Arial`.
- #
- # Some fonts can affect the weight of the text. If an update request
- # specifies values for both `font_family` and `bold`, the explicitly-set
- # `bold` value is used.
- "italic": True or False, # Whether or not the text is italicized.
- "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
- # are not inherited from parent text.
- #
- # Changing the link in an update request causes some other changes to the
- # text style of the range:
- #
- # * When setting a link, the text foreground color will be set to
- # ThemeColorType.HYPERLINK and the text will
- # be underlined. If these fields are modified in the same
- # request, those values will be used instead of the link defaults.
- # * Setting a link on a text range that overlaps with an existing link will
- # also update the existing link to point to the new URL.
- # * Links are not settable on newline characters. As a result, setting a link
- # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
- # will separate the newline character(s) into their own text runs. The
- # link will be applied separately to the runs before and after the newline.
- # * Removing a link will update the text style of the range to match the
- # style of the preceding text (or the default text styles if the preceding
- # text is another link) unless different styles are being set in the same
- # request.
- "url": "A String", # If set, indicates this is a link to the external web page at this URL.
- "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
- # in the presentation. There may not be a slide at this index.
- "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
- # presentation with this ID. A page with this ID may not exist.
- "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
- # addressed by its position.
- },
- "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
- "underline": True or False, # Whether or not the text is underlined.
- },
- },
- },
- "listId": "A String", # The ID of the list.
- },
- },
"textElements": [ # The text contents broken down into its component parts, including styling
# information. This property is read-only.
{ # A TextElement describes the content of a range of indices in the text content
@@ -27559,7 +30216,18 @@
},
},
},
- "bold": True or False, # Whether or not the text is rendered as bold.
+ "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
"baselineOffset": "A String", # The text's vertical offset from its normal position.
#
# Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
@@ -27603,7 +30271,8 @@
"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),
+ # 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").
@@ -27618,6 +30287,11 @@
# Some fonts can affect the weight of the text. If an update request
# specifies values for both `font_family` and `bold`, the explicitly-set
# `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
"italic": True or False, # Whether or not the text is italicized.
"link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
# are not inherited from parent text.
@@ -27647,24 +30321,8 @@
"relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
# addressed by its position.
},
- "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
"underline": True or False, # Whether or not the text is underlined.
+ "bold": True or False, # Whether or not the text is rendered as bold.
},
"type": "A String", # The type of this auto text.
},
@@ -27695,7 +30353,7 @@
"direction": "A String", # The text direction of this paragraph. If unset, the value defaults to
# LEFT_TO_RIGHT since
# text direction is not inherited.
- "spaceBelow": { # A magnitude in a single direction in the specified units. # The amount of extra space above the paragraph. If unset, the value is
+ "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.
"magnitude": 3.14, # The magnitude.
"unit": "A String", # The units for magnitude.
@@ -27759,7 +30417,18 @@
},
},
},
- "bold": True or False, # Whether or not the text is rendered as bold.
+ "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
"baselineOffset": "A String", # The text's vertical offset from its normal position.
#
# Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
@@ -27803,7 +30472,8 @@
"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),
+ # 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").
@@ -27818,6 +30488,11 @@
# Some fonts can affect the weight of the text. If an update request
# specifies values for both `font_family` and `bold`, the explicitly-set
# `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
"italic": True or False, # Whether or not the text is italicized.
"link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
# are not inherited from parent text.
@@ -27847,24 +30522,8 @@
"relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
# addressed by its position.
},
- "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
"underline": True or False, # Whether or not the text is underlined.
+ "bold": True or False, # Whether or not the text is rendered as bold.
},
"glyph": "A String", # The rendered bullet glyph for this paragraph.
},
@@ -27906,7 +30565,18 @@
},
},
},
- "bold": True or False, # Whether or not the text is rendered as bold.
+ "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
"baselineOffset": "A String", # The text's vertical offset from its normal position.
#
# Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
@@ -27950,7 +30620,8 @@
"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),
+ # 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").
@@ -27965,6 +30636,11 @@
# Some fonts can affect the weight of the text. If an update request
# specifies values for both `font_family` and `bold`, the explicitly-set
# `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
"italic": True or False, # Whether or not the text is italicized.
"link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
# are not inherited from parent text.
@@ -27994,28 +30670,163 @@
"relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
# addressed by its position.
},
- "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
- # transparent, depending on if the `opaque_color` field in it is set.
- "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
- # a transparent color.
- "themeColor": "A String", # An opaque theme color.
- "rgbColor": { # An RGB color. # An opaque RGB color.
- "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
- "green": 3.14, # The green component of the color, from 0.0 to 1.0.
- "red": 3.14, # The red component of the color, from 0.0 to 1.0.
- },
- },
- },
- "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
- # points.
- "magnitude": 3.14, # The magnitude.
- "unit": "A String", # The units for magnitude.
- },
"underline": True or False, # Whether or not the text is underlined.
+ "bold": True or False, # Whether or not the text is rendered as bold.
},
},
},
],
+ "lists": { # The bulleted lists contained in this text, keyed by list ID.
+ "a_key": { # A List describes the look and feel of bullets belonging to paragraphs
+ # associated with a list. A paragraph that is part of a list has an implicit
+ # reference to that list's ID.
+ "nestingLevel": { # A map of nesting levels to the properties of bullets at the associated
+ # level. A list has at most nine levels of nesting, so the possible values
+ # for the keys of this map are 0 through 8, inclusive.
+ "a_key": { # Contains properties describing the look and feel of a list bullet at a given
+ # level of nesting.
+ "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The style of a bullet at this level of nesting.
+ #
+ # If this text is contained in a shape with a parent placeholder, then these text styles may be
+ # inherited from the parent. Which text styles are inherited depend on the
+ # nesting level of lists:
+ #
+ # * A text run in a paragraph that is not in a list will inherit its text style
+ # from the the newline character in the paragraph at the 0 nesting level of
+ # the list inside the parent placeholder.
+ # * A text run in a paragraph that is in a list will inherit its text style
+ # from the newline character in the paragraph at its corresponding nesting
+ # level of the list inside the parent placeholder.
+ #
+ # Inherited text styles are represented as unset fields in this message. If
+ # text is contained in a shape without a parent placeholder, unsetting these
+ # fields will revert the style to a value matching the defaults in the Slides
+ # editor.
+ "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or
+ # transparent, depending on if the `opaque_color` field in it is set.
+ "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents
+ # a transparent color.
+ "themeColor": "A String", # An opaque theme color.
+ "rgbColor": { # An RGB color. # An opaque RGB color.
+ "blue": 3.14, # The blue component of the color, from 0.0 to 1.0.
+ "green": 3.14, # The green component of the color, from 0.0 to 1.0.
+ "red": 3.14, # The red component of the color, from 0.0 to 1.0.
+ },
+ },
+ },
+ "baselineOffset": "A String", # The text's vertical offset from its normal position.
+ #
+ # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically
+ # rendered in a smaller font size, computed based on the `font_size` field.
+ # The `font_size` itself is not affected by changes in this field.
+ "strikethrough": True or False, # Whether or not the text is struck through.
+ "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").
+ },
+ "smallCaps": True or False, # Whether or not the text is in small capital letters.
+ "fontFamily": "A String", # The font family of the text.
+ #
+ # The font family can be any font from the Font menu in Slides or from
+ # [Google Fonts] (https://fonts.google.com/). If the font name is
+ # unrecognized, the text is rendered in `Arial`.
+ #
+ # Some fonts can affect the weight of the text. If an update request
+ # specifies values for both `font_family` and `bold`, the explicitly-set
+ # `bold` value is used.
+ "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in
+ # points.
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ "italic": True or False, # Whether or not the text is italicized.
+ "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links
+ # are not inherited from parent text.
+ #
+ # Changing the link in an update request causes some other changes to the
+ # text style of the range:
+ #
+ # * When setting a link, the text foreground color will be set to
+ # ThemeColorType.HYPERLINK and the text will
+ # be underlined. If these fields are modified in the same
+ # request, those values will be used instead of the link defaults.
+ # * Setting a link on a text range that overlaps with an existing link will
+ # also update the existing link to point to the new URL.
+ # * Links are not settable on newline characters. As a result, setting a link
+ # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`,
+ # will separate the newline character(s) into their own text runs. The
+ # link will be applied separately to the runs before and after the newline.
+ # * Removing a link will update the text style of the range to match the
+ # style of the preceding text (or the default text styles if the preceding
+ # text is another link) unless different styles are being set in the same
+ # request.
+ "url": "A String", # If set, indicates this is a link to the external web page at this URL.
+ "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index
+ # in the presentation. There may not be a slide at this index.
+ "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this
+ # presentation with this ID. A page with this ID may not exist.
+ "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation,
+ # addressed by its position.
+ },
+ "underline": True or False, # Whether or not the text is underlined.
+ "bold": True or False, # Whether or not the text is rendered as bold.
+ },
+ },
+ },
+ "listId": "A String", # The ID of the list.
+ },
+ },
},
"tableCellProperties": { # The properties of the TableCell. # The properties of the table cell.
"tableCellBackgroundFill": { # The table cell background fill. # The background fill of the table cell. The default fill matches the fill
@@ -28043,11 +30854,13 @@
},
"propertyState": "A String", # The background fill property state.
#
- # Updating the the fill on a table cell will implicitly update this field
+ # Updating the fill on a table cell will implicitly update this field
# to `RENDERED`, unless another value is specified in the same request. To
# have no fill on a table cell, set this field to `NOT_RENDERED`. In this
# case, any other fill fields set in the same request will be ignored.
},
+ "contentAlignment": "A String", # The alignment of the content in the table cell. The default alignment
+ # matches the alignment for newly created table cells in the Slides editor.
},
"rowSpan": 42, # Row span of the cell.
"columnSpan": 42, # Column span of the cell.
@@ -28061,13 +30874,24 @@
"magnitude": 3.14, # The magnitude.
"unit": "A String", # The units for 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).
+ "magnitude": 3.14, # The magnitude.
+ "unit": "A String", # The units for magnitude.
+ },
+ },
},
],
- "rows": 42, # Number of rows in the table.
"columns": 42, # Number of columns in the table.
},
"line": { # A PageElement kind representing a # A line page element.
- # line, curved connector, or bent connector.
+ # non-connector line, straight connector, curved connector, or bent connector.
+ "lineCategory": "A String", # The category of the line.
+ #
+ # It matches the `category` specified in CreateLineRequest, and can be updated with
+ # UpdateLineCategoryRequest.
"lineProperties": { # The properties of the Line. # The properties of the line.
#
# When unset, these fields default to values that match the appearance of
@@ -28111,6 +30935,51 @@
# a value of 0.0 corresponds to a completely transparent color.
},
},
+ "startConnection": { # The properties for one end of a Line # The connection at the beginning of the line. If unset, there is no
+ # connection.
+ #
+ # Only lines with a Type indicating it is
+ # a "connector" can have a `start_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.
+ },
+ "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.
+ },
"startArrow": "A String", # The style of the arrow at the beginning of the line.
},
"lineType": "A String", # The type of the line.
@@ -28125,6 +30994,8 @@
"unit": "A String", # The units for magnitude.
},
},
+ "description": "A String", # The description of the page element. Combined with title to display alt
+ # text.
},
],
"notesProperties": { # The properties of Page that are only # Notes specific properties. Only set if page_type = NOTES.
@@ -28151,6 +31022,10 @@
# 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.
+ "masterProperties": { # The properties of Page that are only # Master specific properties. Only set if page_type = MASTER.
+ # relevant for pages with page_type MASTER.
+ "displayName": "A String", # The human-readable name of the master.
+ },
"pageProperties": { # The properties of the Page. # The properties of the page.
#
# The page will inherit properties from the parent page. Depending on the page
@@ -28183,7 +31058,7 @@
},
"propertyState": "A String", # The background fill property state.
#
- # Updating the the fill on a page will implicitly update this field to
+ # 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.
@@ -28200,8 +31075,10 @@
#
# The picture is fetched once at insertion time and a copy is stored for
# display inside the presentation. Pictures must be less than 50MB in size,
- # cannot exceed 25 megapixels, and must be in either in PNG, JPEG, or GIF
+ # 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.
"magnitude": 3.14, # The magnitude.
@@ -28240,9 +31117,11 @@
# notes for this slide. The ID of this shape is identified by the
# speakerNotesObjectId field.
# The notes page is read-only except for the text content and styles of the
- # speaker notes shape.
- "masterObjectId": "A String", # The object ID of the master that this slide is based on.
- "layoutObjectId": "A String", # The object ID of the layout that this slide is based on.
+ # 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.
},
},
],