| <html><body> |
| <style> |
| |
| body, h1, h2, h3, div, span, p, pre, a { |
| margin: 0; |
| padding: 0; |
| border: 0; |
| font-weight: inherit; |
| font-style: inherit; |
| font-size: 100%; |
| font-family: inherit; |
| vertical-align: baseline; |
| } |
| |
| body { |
| font-size: 13px; |
| padding: 1em; |
| } |
| |
| h1 { |
| font-size: 26px; |
| margin-bottom: 1em; |
| } |
| |
| h2 { |
| font-size: 24px; |
| margin-bottom: 1em; |
| } |
| |
| h3 { |
| font-size: 20px; |
| margin-bottom: 1em; |
| margin-top: 1em; |
| } |
| |
| pre, code { |
| line-height: 1.5; |
| font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace; |
| } |
| |
| pre { |
| margin-top: 0.5em; |
| } |
| |
| h1, h2, h3, p { |
| font-family: Arial, sans serif; |
| } |
| |
| h1, h2, h3 { |
| border-bottom: solid #CCC 1px; |
| } |
| |
| .toc_element { |
| margin-top: 0.5em; |
| } |
| |
| .firstline { |
| margin-left: 2 em; |
| } |
| |
| .method { |
| margin-top: 1em; |
| border: solid 1px #CCC; |
| padding: 1em; |
| background: #EEE; |
| } |
| |
| .details { |
| font-weight: bold; |
| font-size: 14px; |
| } |
| |
| </style> |
| |
| <h1><a href="docs_v1.html">Google Docs API</a> . <a href="docs_v1.documents.html">documents</a></h1> |
| <h2>Instance Methods</h2> |
| <p class="toc_element"> |
| <code><a href="#batchUpdate">batchUpdate(documentId, body, x__xgafv=None)</a></code></p> |
| <p class="firstline">Applies one or more updates to the document.</p> |
| <p class="toc_element"> |
| <code><a href="#create">create(body, x__xgafv=None)</a></code></p> |
| <p class="firstline">Creates a blank document using the title given in the request. Other fields</p> |
| <p class="toc_element"> |
| <code><a href="#get">get(documentId, x__xgafv=None, suggestionsViewMode=None)</a></code></p> |
| <p class="firstline">Gets the latest version of the specified document.</p> |
| <h3>Method Details</h3> |
| <div class="method"> |
| <code class="details" id="batchUpdate">batchUpdate(documentId, body, x__xgafv=None)</code> |
| <pre>Applies one or more updates to the document. |
| |
| Each request is validated before |
| being applied. If any request is not valid, then the entire request will |
| fail and nothing will be applied. |
| |
| Some requests have replies to |
| give you some information about how they are applied. Other requests do |
| not need to return information; these each return an empty reply. |
| The order of replies matches that of the requests. |
| |
| For example, suppose you call batchUpdate with four updates, and only the |
| third one returns information. The response would have two empty replies, |
| the reply to the third request, and another empty reply, in that order. |
| |
| Because other users may be editing the document, the document |
| might not exactly reflect your changes: your changes may |
| be altered with respect to collaborator changes. If there are no |
| collaborators, the document should reflect your changes. In any case, |
| the updates in your request are guaranteed to be applied together |
| atomically. |
| |
| Args: |
| documentId: string, The ID of the document to update. (required) |
| body: object, The request body. (required) |
| The object takes the form of: |
| |
| { # Request message for BatchUpdateDocument. |
| "requests": [ # A list of updates to apply to the document. |
| { # A single update to apply to a document. |
| "insertText": { # Inserts text at the specified location. # Inserts text at the specified location. |
| "text": "A String", # The text to be inserted. |
| # |
| # Inserting a newline character will implicitly create a new |
| # Paragraph at that index. |
| # The paragraph style of the new paragraph will be copied from the paragraph |
| # at the current insertion index, including lists and bullets. |
| # |
| # Text styles for inserted text will be determined automatically, generally |
| # preserving the styling of neighboring text. In most cases, the text style |
| # for the inserted text will match the text immediately before the insertion |
| # index. |
| # |
| # Some control characters (U+0000-U+0008, U+000C-U+001F) and characters |
| # from the Unicode Basic Multilingual Plane Private Use Area (U+E000-U+F8FF) |
| # will be stripped out of the inserted text. |
| "endOfSegmentLocation": { # Location at the end of a body, header, footer or footnote. The location is # Inserts the text at the end of a header, footer, footnote or |
| # the document body. |
| # immediately before the last newline in the document segment. |
| "segmentId": "A String", # The ID of the header, footer or footnote the location is in. An empty |
| # segment ID signifies the document's body. |
| }, |
| "location": { # A particular location in the document. # Inserts the text at a specific index in the document. |
| # |
| # Text must be inserted inside the bounds of an existing |
| # Paragraph. For instance, text cannot be |
| # inserted at a table's start index (i.e. between the table and its |
| # preceding paragraph). The text must be inserted in the preceding |
| # paragraph. |
| "index": 42, # The zero-based index, in UTF-16 code units. |
| # |
| # The index is relative to the beginning of the segment specified by |
| # segment_id. |
| "segmentId": "A String", # The ID of the header, footer or footnote the location is in. An empty |
| # segment ID signifies the document's body. |
| }, |
| }, |
| "deleteParagraphBullets": { # Deletes bullets from all of the paragraphs that overlap with the given range. # Deletes bullets from paragraphs. |
| # |
| # The nesting level of each paragraph will be visually preserved by adding |
| # indent to the start of the corresponding paragraph. |
| "range": { # Specifies a contiguous range of text. # The range to delete bullets from. |
| "endIndex": 42, # The zero-based end index of this range, exclusive, in UTF-16 code units. |
| # |
| # In all current uses, an end index must be provided. This field is an |
| # Int32Value in order to accommodate future use cases with open-ended ranges. |
| "startIndex": 42, # The zero-based start index of this range, in UTF-16 code units. |
| # |
| # In all current uses, a start index must be provided. This field is an |
| # Int32Value in order to accommodate future use cases with open-ended ranges. |
| "segmentId": "A String", # The ID of the header, footer or footnote that this range is contained in. |
| # An empty segment ID signifies the document's body. |
| }, |
| }, |
| "createParagraphBullets": { # Creates bullets for all of the paragraphs that overlap with the given range. # Creates bullets for paragraphs. |
| # |
| # 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. |
| "range": { # Specifies a contiguous range of text. # The range to apply the bullet preset to. |
| "endIndex": 42, # The zero-based end index of this range, exclusive, in UTF-16 code units. |
| # |
| # In all current uses, an end index must be provided. This field is an |
| # Int32Value in order to accommodate future use cases with open-ended ranges. |
| "startIndex": 42, # The zero-based start index of this range, in UTF-16 code units. |
| # |
| # In all current uses, a start index must be provided. This field is an |
| # Int32Value in order to accommodate future use cases with open-ended ranges. |
| "segmentId": "A String", # The ID of the header, footer or footnote that this range is contained in. |
| # An empty segment ID signifies the document's body. |
| }, |
| }, |
| "updateTableRowStyle": { # Updates the TableRowStyle of rows in a # Updates the row style in a table. |
| # table. |
| "fields": "A String", # The fields that should be updated. |
| # |
| # At least one field must be specified. The root `tableRowStyle` is implied |
| # and should not be specified. A single `"*"` can be used as short-hand for |
| # listing every field. |
| # |
| # For example to update the minimum row height, set `fields` to |
| # `"min_row_height"`. |
| "tableRowStyle": { # Styles that apply to a table row. # The styles to be set on the rows. |
| "minRowHeight": { # A magnitude in a single direction in the specified units. # The minimum height of the row. The row will be rendered in the Docs editor |
| # at a height equal to or greater than this value in order to show all the |
| # content in the row's cells. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| }, |
| "tableStartLocation": { # A particular location in the document. # The location where the table starts in the document. |
| "index": 42, # The zero-based index, in UTF-16 code units. |
| # |
| # The index is relative to the beginning of the segment specified by |
| # segment_id. |
| "segmentId": "A String", # The ID of the header, footer or footnote the location is in. An empty |
| # segment ID signifies the document's body. |
| }, |
| "rowIndices": [ # The list of zero-based row indices whose style should be updated. If no |
| # indices are specified, all rows will be updated. |
| 42, |
| ], |
| }, |
| "updateParagraphStyle": { # Update the styling of all paragraphs that overlap with the given range. # Updates the paragraph style at the specified range. |
| "fields": "A String", # The fields that should be updated. |
| # |
| # At least one field must be specified. The root `paragraph_style` is implied |
| # and should not be specified. |
| # |
| # For example, to update the paragraph style's alignment property, set |
| # `fields` to `"alignment"`. |
| # |
| # To reset a property to its default value, include its field name in the |
| # field mask but leave the field itself unset. |
| "range": { # Specifies a contiguous range of text. # The range overlapping the paragraphs to style. |
| "endIndex": 42, # The zero-based end index of this range, exclusive, in UTF-16 code units. |
| # |
| # In all current uses, an end index must be provided. This field is an |
| # Int32Value in order to accommodate future use cases with open-ended ranges. |
| "startIndex": 42, # The zero-based start index of this range, in UTF-16 code units. |
| # |
| # In all current uses, a start index must be provided. This field is an |
| # Int32Value in order to accommodate future use cases with open-ended ranges. |
| "segmentId": "A String", # The ID of the header, footer or footnote that this range is contained in. |
| # An empty segment ID signifies the document's body. |
| }, |
| "paragraphStyle": { # Styles that apply to a whole paragraph. # The styles to set on the paragraphs. |
| # |
| # Certain paragraph style changes may cause other changes in order to mirror |
| # the behavior of the Docs editor. See the documentation of ParagraphStyle for more information. |
| # |
| # Inherited paragraph styles are represented as unset fields in this message. |
| # A paragraph style's parent depends on where the paragraph style is defined: |
| # |
| # * The ParagraphStyle on a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The ParagraphStyle on a named style |
| # inherits from the normal text named style. |
| # * The ParagraphStyle of the normal text named style inherits |
| # from the default paragraph style in the Docs editor. |
| # * The ParagraphStyle on a Paragraph |
| # element that is contained in a table may inherit its paragraph style from |
| # the table style. |
| # |
| # If the paragraph style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "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 |
| # paragraph 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. |
| }, |
| "keepWithNext": True or False, # Whether at least a part of this paragraph should be laid out on the same |
| # page or column as the next paragraph if possible. If unset, the value is |
| # inherited from the parent. |
| "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. |
| "avoidWidowAndOrphan": True or False, # Whether to avoid widows and orphans for the paragraph. If unset, the value |
| # is inherited from the parent. |
| "borderBottom": { # A border around a paragraph. # The border at the bottom of this paragraph. If unset, the value is |
| # inherited from the parent. |
| # |
| # The bottom border is rendered when the paragraph below has different border |
| # and indent properties. |
| # |
| # Paragraph borders cannot be partially updated. When making |
| # changes to a paragraph border the new border must be specified in |
| # its entirety. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| }, |
| "indentStart": { # A magnitude in a single direction in the specified units. # The amount of indentation for the paragraph on the side that corresponds to |
| # the start of the text, based on the current paragraph direction. If unset, |
| # the value is inherited from the parent. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "borderBetween": { # A border around a paragraph. # The border between this paragraph and the next and previous paragraphs. |
| # If unset, the value is inherited from the parent. |
| # |
| # The between border is rendered when the adjacent paragraph has the same |
| # border and indent properties. |
| # |
| # Paragraph borders cannot be partially updated. When making |
| # changes to a paragraph border the new border must be specified in |
| # its entirety. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| }, |
| "namedStyleType": "A String", # The named style type of the paragraph. |
| # |
| # Since updating the named style type affects other properties within |
| # ParagraphStyle, the named style type is applied before the other properties |
| # are updated. |
| "borderRight": { # A border around a paragraph. # The border to the right of this paragraph. If unset, the value is inherited |
| # from the parent. |
| # |
| # Paragraph borders cannot be partially updated. When making |
| # changes to a paragraph border the new border must be specified in |
| # its entirety. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| "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 of indentation for the paragraph on the side that corresponds to |
| # the end of the text, based on the current paragraph direction. If unset, |
| # the value is inherited from the parent. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "borderLeft": { # A border around a paragraph. # The border to the left of this paragraph. If unset, the value is inherited |
| # from the parent. |
| # |
| # Paragraph borders cannot be partially updated. When making |
| # changes to a paragraph border the new border must be specified in |
| # its entirety. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| "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. |
| }, |
| "headingId": "A String", # The heading ID of the paragraph. If empty, then this paragraph is not a |
| # heading. This property is read-only. |
| "shading": { # The shading of a paragraph. # The shading of the paragraph. If unset, the value is inherited from the |
| # parent. |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of this paragraph shading. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| }, |
| "borderTop": { # A border around a paragraph. # The border at the top of this paragraph. If unset, the value is inherited |
| # from the parent. |
| # |
| # The top border is rendered when the paragraph above has different border |
| # and indent properties. |
| # |
| # Paragraph borders cannot be partially updated. When making |
| # changes to a paragraph border the new border must be specified in |
| # its entirety. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| }, |
| "tabStops": [ # A list of the tab stops for this paragraph. The list of tab stops is not |
| # inherited. This property is read-only. |
| { # A tab stop within a paragraph. |
| "alignment": "A String", # The alignment of this tab stop. If unset, the value defaults to START. |
| "offset": { # A magnitude in a single direction in the specified units. # The offset between this tab stop and the start margin. |
| "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 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. |
| "keepLinesTogether": True or False, # Whether all lines of the paragraph should be laid out on the same page or |
| # column if possible. If unset, the value is inherited from the parent. |
| }, |
| }, |
| "deleteContentRange": { # Deletes content from the document. # Deletes content from the document. |
| "range": { # Specifies a contiguous range of text. # The range of content to delete. |
| # |
| # Deleting text that crosses a paragraph boundary may result in changes |
| # to paragraph styles, lists, positioned objects and bookmarks as the two |
| # paragraphs are merged. |
| # |
| # Attempting to delete certain ranges can result in an invalid document |
| # structure in which case a 400 bad request error is returned. |
| # |
| # Some examples of invalid delete requests include: |
| # |
| # * Deleting one code unit of a surrogate pair. |
| # * Deleting the last newline character of a Body, Header, |
| # Footer, Footnote, TableCell or TableOfContents. |
| # * Deleting the start or end of a Table, |
| # TableOfContents or Equation without deleting the entire element. |
| # * Deleting the newline character before a |
| # Table, |
| # TableOfContents or |
| # SectionBreak without deleting the |
| # element. |
| # * Deleting individual rows or cells of a table. Deleting the content within |
| # a table cell is allowed. |
| "endIndex": 42, # The zero-based end index of this range, exclusive, in UTF-16 code units. |
| # |
| # In all current uses, an end index must be provided. This field is an |
| # Int32Value in order to accommodate future use cases with open-ended ranges. |
| "startIndex": 42, # The zero-based start index of this range, in UTF-16 code units. |
| # |
| # In all current uses, a start index must be provided. This field is an |
| # Int32Value in order to accommodate future use cases with open-ended ranges. |
| "segmentId": "A String", # The ID of the header, footer or footnote that this range is contained in. |
| # An empty segment ID signifies the document's body. |
| }, |
| }, |
| "replaceAllText": { # Replaces all instances of text matching a criteria with replace text. # Replaces all instances of the specified text. |
| "containsText": { # A criteria that matches a specific string of text in the document. # Finds text in the document matching this substring. |
| "text": "A String", # The text to search for in the document. |
| "matchCase": True or False, # Indicates whether the search should respect case: |
| # |
| # - `True`: the search is case sensitive. |
| # - `False`: the search is case insensitive. |
| }, |
| "replaceText": "A String", # The text that will replace the matched text. |
| }, |
| "deleteNamedRange": { # Deletes a NamedRange. # Deletes a named range. |
| "namedRangeId": "A String", # The ID of the named range to delete. |
| "name": "A String", # The name of the range(s) to delete. All named ranges with the given |
| # name will be deleted. |
| }, |
| "insertTable": { # Inserts a table at the specified location. # Inserts a table at the specified location. |
| # |
| # A newline character will be inserted before the inserted table. |
| "endOfSegmentLocation": { # Location at the end of a body, header, footer or footnote. The location is # Inserts the table at the end of the given header, footer or document |
| # body. A newline character will be inserted before the inserted table. |
| # |
| # Tables cannot be inserted inside a footnote. |
| # immediately before the last newline in the document segment. |
| "segmentId": "A String", # The ID of the header, footer or footnote the location is in. An empty |
| # segment ID signifies the document's body. |
| }, |
| "rows": 42, # The number of rows in the table. |
| "location": { # A particular location in the document. # Inserts the table at a specific model index. |
| # |
| # A newline character will be inserted before the inserted table, therefore |
| # the table start index will be at the specified location index + 1. |
| # |
| # The table must be inserted inside the bounds of an existing |
| # Paragraph. For instance, it cannot be |
| # inserted at a table's start index (i.e. between an existing table and its |
| # preceding paragraph). |
| # |
| # Tables cannot be inserted inside a footnote or equation. |
| "index": 42, # The zero-based index, in UTF-16 code units. |
| # |
| # The index is relative to the beginning of the segment specified by |
| # segment_id. |
| "segmentId": "A String", # The ID of the header, footer or footnote the location is in. An empty |
| # segment ID signifies the document's body. |
| }, |
| "columns": 42, # The number of columns in the table. |
| }, |
| "deleteTableRow": { # Deletes a row from a table. # Deletes a row from a table. |
| "tableCellLocation": { # Location of a single cell within a table. # The reference table cell location from which the row will be deleted. |
| # |
| # The row this cell spans will be deleted. If this is a merged cell that |
| # spans multiple rows, all rows that the cell spans will be deleted. If no |
| # rows remain in the table after this deletion, the whole table is deleted. |
| "rowIndex": 42, # The zero-based row index. For example, the second row in the table has a |
| # row index of 1. |
| "columnIndex": 42, # The zero-based column index. For example, the second column in the table |
| # has a column index of 1. |
| "tableStartLocation": { # A particular location in the document. # The location where the table starts in the document. |
| "index": 42, # The zero-based index, in UTF-16 code units. |
| # |
| # The index is relative to the beginning of the segment specified by |
| # segment_id. |
| "segmentId": "A String", # The ID of the header, footer or footnote the location is in. An empty |
| # segment ID signifies the document's body. |
| }, |
| }, |
| }, |
| "insertPageBreak": { # Inserts a page break followed by a newline at the specified location. # Inserts a page break at the specified location. |
| "endOfSegmentLocation": { # Location at the end of a body, header, footer or footnote. The location is # Inserts the page break at the end of the document body. |
| # |
| # Page breaks cannot be inserted inside a footnote, header or footer. |
| # Since page breaks can only be inserted inside the body, the segment ID field must be |
| # empty. |
| # immediately before the last newline in the document segment. |
| "segmentId": "A String", # The ID of the header, footer or footnote the location is in. An empty |
| # segment ID signifies the document's body. |
| }, |
| "location": { # A particular location in the document. # Inserts the page break at a specific index in the document. |
| # |
| # The page break must be inserted inside the bounds of an existing |
| # Paragraph. For instance, it cannot be |
| # inserted at a table's start index (i.e. between the table and its |
| # preceding paragraph). |
| # |
| # Page breaks cannot be inserted inside a table, equation, footnote, header |
| # or footer. Since page breaks can only be inserted inside the body, the |
| # segment ID field must be |
| # empty. |
| "index": 42, # The zero-based index, in UTF-16 code units. |
| # |
| # The index is relative to the beginning of the segment specified by |
| # segment_id. |
| "segmentId": "A String", # The ID of the header, footer or footnote the location is in. An empty |
| # segment ID signifies the document's body. |
| }, |
| }, |
| "insertTableRow": { # Inserts an empty row into a table. # Inserts an empty row into a table. |
| "tableCellLocation": { # Location of a single cell within a table. # The reference table cell location from which rows will be inserted. |
| # |
| # A new row will be inserted above (or below) the row where the reference |
| # cell is. If the reference cell is a merged cell, a new row will be |
| # inserted above (or below) the merged cell. |
| "rowIndex": 42, # The zero-based row index. For example, the second row in the table has a |
| # row index of 1. |
| "columnIndex": 42, # The zero-based column index. For example, the second column in the table |
| # has a column index of 1. |
| "tableStartLocation": { # A particular location in the document. # The location where the table starts in the document. |
| "index": 42, # The zero-based index, in UTF-16 code units. |
| # |
| # The index is relative to the beginning of the segment specified by |
| # segment_id. |
| "segmentId": "A String", # The ID of the header, footer or footnote the location is in. An empty |
| # segment ID signifies the document's body. |
| }, |
| }, |
| "insertBelow": True or False, # Whether to insert new row below the reference cell location. |
| # |
| # - `True`: insert below the cell. |
| # - `False`: insert above the cell. |
| }, |
| "updateTextStyle": { # Update the styling of text. # Updates the text style at the specified range. |
| "textStyle": { # Represents the styling that can be applied to text. # The styles to set on the text. |
| # |
| # If the value for a particular style matches that of the parent, that style |
| # will be set to inherit. |
| # |
| # Certain text style changes may cause other changes in order to to mirror |
| # the behavior of the Docs editor. See the documentation of |
| # TextStyle for more information. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "range": { # Specifies a contiguous range of text. # The range of text to style. |
| # |
| # The range may be extended to include adjacent newlines. |
| # |
| # If the range fully contains a paragraph belonging to a list, the |
| # paragraph's bullet is also updated with the matching text style. |
| "endIndex": 42, # The zero-based end index of this range, exclusive, in UTF-16 code units. |
| # |
| # In all current uses, an end index must be provided. This field is an |
| # Int32Value in order to accommodate future use cases with open-ended ranges. |
| "startIndex": 42, # The zero-based start index of this range, in UTF-16 code units. |
| # |
| # In all current uses, a start index must be provided. This field is an |
| # Int32Value in order to accommodate future use cases with open-ended ranges. |
| "segmentId": "A String", # The ID of the header, footer or footnote that this range is contained in. |
| # An empty segment ID signifies the document's body. |
| }, |
| "fields": "A String", # The fields that should be updated. |
| # |
| # At least one field must be specified. The root `text_style` is implied and |
| # should not be specified. A single `"*"` can be used as short-hand for |
| # listing every field. |
| # |
| # For example, to update the text style to bold, set `fields` to `"bold"`. |
| # |
| # To reset a property to its default value, include its field name in the |
| # field mask but leave the field itself unset. |
| }, |
| "updateTableColumnProperties": { # Updates the # Updates the properties of columns in a table. |
| # TableColumnProperties of columns |
| # in a table. |
| "columnIndices": [ # The list of zero-based column indices whose property should be updated. If |
| # no indices are specified, all columns 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 `"width"`. |
| "tableColumnProperties": { # The properties of a column in a table. # The table column properties to update. |
| # |
| # If the value of `table_column_properties#width` is less than 5 points |
| # (5/72 inch), a 400 bad request error is returned. |
| "width": { # A magnitude in a single direction in the specified units. # The width of the column. Set when the column's `width_type` is |
| # FIXED_WIDTH. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "widthType": "A String", # The width type of the column. |
| }, |
| "tableStartLocation": { # A particular location in the document. # The location where the table starts in the document. |
| "index": 42, # The zero-based index, in UTF-16 code units. |
| # |
| # The index is relative to the beginning of the segment specified by |
| # segment_id. |
| "segmentId": "A String", # The ID of the header, footer or footnote the location is in. An empty |
| # segment ID signifies the document's body. |
| }, |
| }, |
| "deleteTableColumn": { # Deletes a column from a table. # Deletes a column from a table. |
| "tableCellLocation": { # Location of a single cell within a table. # The reference table cell location from which the column will be deleted. |
| # |
| # The column this cell spans will be deleted. If this is a merged cell that |
| # spans multiple columns, all columns that the cell spans will be deleted. If |
| # no columns remain in the table after this deletion, the whole table is |
| # deleted. |
| "rowIndex": 42, # The zero-based row index. For example, the second row in the table has a |
| # row index of 1. |
| "columnIndex": 42, # The zero-based column index. For example, the second column in the table |
| # has a column index of 1. |
| "tableStartLocation": { # A particular location in the document. # The location where the table starts in the document. |
| "index": 42, # The zero-based index, in UTF-16 code units. |
| # |
| # The index is relative to the beginning of the segment specified by |
| # segment_id. |
| "segmentId": "A String", # The ID of the header, footer or footnote the location is in. An empty |
| # segment ID signifies the document's body. |
| }, |
| }, |
| }, |
| "insertTableColumn": { # Inserts an empty column into a table. # Inserts an empty column into a table. |
| "insertRight": True or False, # Whether to insert new column to the right of the reference cell location. |
| # |
| # - `True`: insert to the right. |
| # - `False`: insert to the left. |
| "tableCellLocation": { # Location of a single 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 zero-based row index. For example, the second row in the table has a |
| # row index of 1. |
| "columnIndex": 42, # The zero-based column index. For example, the second column in the table |
| # has a column index of 1. |
| "tableStartLocation": { # A particular location in the document. # The location where the table starts in the document. |
| "index": 42, # The zero-based index, in UTF-16 code units. |
| # |
| # The index is relative to the beginning of the segment specified by |
| # segment_id. |
| "segmentId": "A String", # The ID of the header, footer or footnote the location is in. An empty |
| # segment ID signifies the document's body. |
| }, |
| }, |
| }, |
| "deletePositionedObject": { # Deletes a PositionedObject from the # Deletes a positioned object from the document. |
| # document. |
| "objectId": "A String", # The ID of the positioned object to delete. |
| }, |
| "createNamedRange": { # Creates a NamedRange referencing the given # Creates a named range. |
| # range. |
| "range": { # Specifies a contiguous range of text. # The range to apply the name to. |
| "endIndex": 42, # The zero-based end index of this range, exclusive, in UTF-16 code units. |
| # |
| # In all current uses, an end index must be provided. This field is an |
| # Int32Value in order to accommodate future use cases with open-ended ranges. |
| "startIndex": 42, # The zero-based start index of this range, in UTF-16 code units. |
| # |
| # In all current uses, a start index must be provided. This field is an |
| # Int32Value in order to accommodate future use cases with open-ended ranges. |
| "segmentId": "A String", # The ID of the header, footer or footnote that this range is contained in. |
| # An empty segment ID signifies the document's body. |
| }, |
| "name": "A String", # The name of the NamedRange. Names do not need to be unique. |
| # |
| # Names must be at least 1 character and no more than 256 characters, |
| # measured in UTF-16 code units. |
| }, |
| "insertInlineImage": { # Inserts an InlineObject containing an # Inserts an inline image at the specified location. |
| # image at the given location. |
| "objectSize": { # A width and height. # The size that the image should appear as in the document. This property is |
| # optional and the final size of the image in the document is determined by |
| # the following rules: |
| # * If neither width nor height is specified, then a default size of the |
| # image is calculated based on its resolution. |
| # * If one dimension is specified then the other dimension is calculated to |
| # preserve the aspect ratio of the image. |
| # * If both width and height are specified, the image is scaled to fit |
| # within the provided dimensions while maintaining its aspect ratio. |
| "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. |
| }, |
| }, |
| "endOfSegmentLocation": { # Location at the end of a body, header, footer or footnote. The location is # Inserts the text at the end of a header, footer or the document body. |
| # |
| # Inline images cannot be inserted inside a footnote. |
| # immediately before the last newline in the document segment. |
| "segmentId": "A String", # The ID of the header, footer or footnote the location is in. An empty |
| # segment ID signifies the document's body. |
| }, |
| "location": { # A particular location in the document. # Inserts the image at a specific index in the document. |
| # |
| # The image must be inserted inside the bounds of an existing |
| # Paragraph. For instance, it cannot be |
| # inserted at a table's start index (i.e. between the table and its |
| # preceding paragraph). |
| # |
| # Inline images cannot be inserted inside a footnote or equation. |
| "index": 42, # The zero-based index, in UTF-16 code units. |
| # |
| # The index is relative to the beginning of the segment specified by |
| # segment_id. |
| "segmentId": "A String", # The ID of the header, footer or footnote the location is in. An empty |
| # segment ID signifies the document's body. |
| }, |
| "uri": "A String", # The image URI. |
| # |
| # The image is fetched once at insertion time and a copy is stored for |
| # display inside the document. 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 URI can be at most 2 kB in length. The URI itself is saved |
| # with the image, and exposed via the ImageProperties.content_uri field. |
| }, |
| }, |
| ], |
| "writeControl": { # Provides control over how write requests are executed. # Provides control over how write requests are executed. |
| "requiredRevisionId": "A String", # The revision ID of the |
| # document that the write request will be applied to. If this is not the |
| # latest revision of the document, the request will not be processed and |
| # will return a 400 bad request error. |
| # |
| # When a required revision ID is returned in a response, it indicates the |
| # revision ID of the document after the request was applied. |
| "targetRevisionId": "A String", # The target revision ID of the |
| # document that the write request will be applied to. |
| # |
| # If collaborator changes have occurred after the document was read using |
| # the API, the changes produced by this write request will be transformed |
| # against the collaborator changes. This results in a new revision of the |
| # document which incorporates both the changes in the request and the |
| # collaborator changes, and the Docs server will resolve conflicting |
| # changes. When using `target_revision_id`, the API client can be thought |
| # of as another collaborator of the document. |
| # |
| # The target revision ID may only be used to write to recent versions of a |
| # document. If the target revision is too far behind the latest revision, |
| # the request will not be processed and will return a 400 bad request error |
| # and the request should be retried after reading the latest version of the |
| # document. In most cases a `revision_id` will remain valid for use as a |
| # target revision for several minutes after it is read, but for |
| # frequently-edited documents this window may be shorter. |
| }, |
| } |
| |
| x__xgafv: string, V1 error format. |
| Allowed values |
| 1 - v1 error format |
| 2 - v2 error format |
| |
| Returns: |
| An object of the form: |
| |
| { # Response message from a BatchUpdateDocument request. |
| "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 |
| # document that the write request will be applied to. If this is not the |
| # latest revision of the document, the request will not be processed and |
| # will return a 400 bad request error. |
| # |
| # When a required revision ID is returned in a response, it indicates the |
| # revision ID of the document after the request was applied. |
| "targetRevisionId": "A String", # The target revision ID of the |
| # document that the write request will be applied to. |
| # |
| # If collaborator changes have occurred after the document was read using |
| # the API, the changes produced by this write request will be transformed |
| # against the collaborator changes. This results in a new revision of the |
| # document which incorporates both the changes in the request and the |
| # collaborator changes, and the Docs server will resolve conflicting |
| # changes. When using `target_revision_id`, the API client can be thought |
| # of as another collaborator of the document. |
| # |
| # The target revision ID may only be used to write to recent versions of a |
| # document. If the target revision is too far behind the latest revision, |
| # the request will not be processed and will return a 400 bad request error |
| # and the request should be retried after reading the latest version of the |
| # document. In most cases a `revision_id` will remain valid for use as a |
| # target revision for several minutes after it is read, but for |
| # frequently-edited documents this window may be shorter. |
| }, |
| "documentId": "A String", # The ID of the document to which the updates were applied to. |
| "replies": [ # The reply of the updates. This maps 1:1 with the updates, although replies |
| # to some requests may be empty. |
| { # A single response from an update. |
| "createNamedRange": { # The result of creating a named range. # The result of creating a named range. |
| "namedRangeId": "A String", # The ID of the created named range. |
| }, |
| "replaceAllText": { # The result of replacing text. # The result of replacing text. |
| "occurrencesChanged": 42, # The number of occurrences changed by replacing all text. |
| }, |
| "insertInlineSheetsChart": { # The result of inserting an embedded Google Sheets chart. # The result of inserting an inline Google Sheets chart. |
| "objectId": "A String", # The object ID of the inserted chart. |
| }, |
| "insertInlineImage": { # The result of inserting an inline image. # The result of inserting an inline image. |
| "objectId": "A String", # The ID of the created InlineObject. |
| }, |
| }, |
| ], |
| }</pre> |
| </div> |
| |
| <div class="method"> |
| <code class="details" id="create">create(body, x__xgafv=None)</code> |
| <pre>Creates a blank document using the title given in the request. Other fields |
| in the request, including any provided content, are ignored. |
| |
| Returns the created document. |
| |
| Args: |
| body: object, The request body. (required) |
| The object takes the form of: |
| |
| { # A Google Docs document. |
| "body": { # The document body. # The main body of the document. |
| # |
| # The body typically contains the full document contents except for |
| # headers, footers |
| # and footnotes. |
| "content": [ # The contents of the body. |
| # |
| # The indexes for the body's content begin at zero. |
| { # A StructuralElement describes content that provides structure to the |
| # document. |
| "endIndex": 42, # The zero-based end index of this structural element, exclusive, in UTF-16 |
| # code units. |
| "sectionBreak": { # A StructuralElement representing a # A section break type of structural element. |
| # section break. A section is a range of content which has the same |
| # SectionStyle. A section break represents |
| # the start of a new section, and the section style applies to the section |
| # after the section break. |
| # |
| # The document body always begins with a section break. |
| "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| # of this content. |
| "A String", |
| ], |
| "sectionStyle": { # The styling that applies to a section. # The style of the section after this section break. |
| "contentDirection": "A String", # The content direction of this section. If unset, the value defaults to |
| # LEFT_TO_RIGHT. |
| "columnProperties": [ # The section's columns properties. |
| # |
| # If empty, the section contains one column with the default properties in |
| # the Docs editor. |
| { # Properties that apply to a section's column. |
| "width": { # A magnitude in a single direction in the specified units. # The width of the column. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "paddingEnd": { # A magnitude in a single direction in the specified units. # The padding at the end of the column. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| }, |
| ], |
| "columnSeparatorStyle": "A String", # The style of column separators. |
| # |
| # This style can be set even when there is one column in the section. |
| }, |
| "suggestedInsertionIds": [ # The suggested insertion IDs. A SectionBreak may have multiple insertion IDs if it is |
| # a nested suggested change. If empty, then this is not a suggested |
| # insertion. |
| "A String", |
| ], |
| }, |
| "tableOfContents": { # A StructuralElement representing # A table of contents type of structural element. |
| # a table of contents. |
| "content": [ # The content of the table of contents. |
| # Object with schema name: StructuralElement |
| ], |
| "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| # of this content. |
| "A String", |
| ], |
| "suggestedInsertionIds": [ # The suggested insertion IDs. A TableOfContents may have multiple insertion IDs if it |
| # is a nested suggested change. If empty, then this is not a suggested |
| # insertion. |
| "A String", |
| ], |
| }, |
| "startIndex": 42, # The zero-based start index of this structural element, in UTF-16 code |
| # units. |
| "paragraph": { # A StructuralElement representing a # A paragraph type of structural element. |
| # paragraph. A paragraph is a range of content that is terminated with a |
| # newline character. |
| "elements": [ # The content of the paragraph broken down into its component parts. |
| { # A ParagraphElement describes content within a |
| # Paragraph. |
| "endIndex": 42, # The zero-base end index of this paragraph element, exclusive, in UTF-16 |
| # code units. |
| "equation": { # A ParagraphElement representing an # An equation paragraph element. |
| # equation. |
| "suggestedInsertionIds": [ # The suggested insertion IDs. A Equation |
| # may have multiple insertion IDs if it is a nested suggested change. If |
| # empty, then this is not a suggested insertion. |
| "A String", |
| ], |
| "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| # of this content. |
| "A String", |
| ], |
| }, |
| "columnBreak": { # A ParagraphElement representing a # A column break paragraph element. |
| # column break. A column break makes the subsequent text start at the top of |
| # the next column. |
| "textStyle": { # Represents the styling that can be applied to text. # The text style of this ColumnBreak. |
| # |
| # Similar to text content, like text runs and footnote references, the text |
| # style of a column break can affect content layout as well as the styling of |
| # text inserted adjacent to it. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "suggestedInsertionIds": [ # The suggested insertion IDs. A ColumnBreak may have multiple insertion IDs if it is |
| # a nested suggested change. If empty, then this is not a suggested |
| # insertion. |
| "A String", |
| ], |
| "suggestedTextStyleChanges": { # The suggested text style changes to this ColumnBreak, keyed by suggestion |
| # ID. |
| "a_key": { # A suggested change to a TextStyle. |
| "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| # the changes made in this suggestion. This can be used along with the |
| # text_style_suggestion_state |
| # to see which fields have changed and their new values. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| # For any field set to true, there is a new suggested value. |
| "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| }, |
| }, |
| }, |
| "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| # of this content. |
| "A String", |
| ], |
| }, |
| "startIndex": 42, # The zero-based start index of this paragraph element, in UTF-16 code units. |
| "pageBreak": { # A ParagraphElement representing a # A page break paragraph element. |
| # page break. A page break makes the subsequent text start at the top of the |
| # next page. |
| "textStyle": { # Represents the styling that can be applied to text. # The text style of this PageBreak. |
| # |
| # Similar to text content, like text runs and footnote references, the text |
| # style of a page break can affect content layout as well as the styling of |
| # text inserted adjacent to it. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| # of this content. |
| "A String", |
| ], |
| "suggestedTextStyleChanges": { # The suggested text style changes to this PageBreak, keyed by suggestion ID. |
| "a_key": { # A suggested change to a TextStyle. |
| "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| # the changes made in this suggestion. This can be used along with the |
| # text_style_suggestion_state |
| # to see which fields have changed and their new values. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| # For any field set to true, there is a new suggested value. |
| "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| }, |
| }, |
| }, |
| "suggestedInsertionIds": [ # The suggested insertion IDs. A PageBreak |
| # may have multiple insertion IDs if it is a nested suggested change. If |
| # empty, then this is not a suggested insertion. |
| "A String", |
| ], |
| }, |
| "horizontalRule": { # A ParagraphElement representing a # A horizontal rule paragraph element. |
| # horizontal line. |
| "textStyle": { # Represents the styling that can be applied to text. # The text style of this HorizontalRule. |
| # |
| # Similar to text content, like text runs and footnote references, the text |
| # style of a horizontal rule can affect content layout as well as the styling |
| # of text inserted adjacent to it. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "suggestedInsertionIds": [ # The suggested insertion IDs. A HorizontalRule may have multiple insertion IDs if it |
| # is a nested suggested change. If empty, then this is not a suggested |
| # insertion. |
| "A String", |
| ], |
| "suggestedTextStyleChanges": { # The suggested text style changes to this HorizontalRule, keyed by |
| # suggestion ID. |
| "a_key": { # A suggested change to a TextStyle. |
| "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| # the changes made in this suggestion. This can be used along with the |
| # text_style_suggestion_state |
| # to see which fields have changed and their new values. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| # For any field set to true, there is a new suggested value. |
| "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| }, |
| }, |
| }, |
| "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| # of this content. |
| "A String", |
| ], |
| }, |
| "textRun": { # A ParagraphElement that represents a # A text run paragraph element. |
| # run of text that all has the same styling. |
| "content": "A String", # The text of this run. |
| # |
| # Any non-text elements in the run are replaced with the Unicode character |
| # U+E907. |
| "textStyle": { # Represents the styling that can be applied to text. # The text style of this run. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "suggestedInsertionIds": [ # The suggested insertion IDs. A TextRun may |
| # have multiple insertion IDs if it is a nested suggested change. If empty, |
| # then this is not a suggested insertion. |
| "A String", |
| ], |
| "suggestedTextStyleChanges": { # The suggested text style changes to this run, keyed by suggestion ID. |
| "a_key": { # A suggested change to a TextStyle. |
| "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| # the changes made in this suggestion. This can be used along with the |
| # text_style_suggestion_state |
| # to see which fields have changed and their new values. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| # For any field set to true, there is a new suggested value. |
| "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| }, |
| }, |
| }, |
| "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| # of this content. |
| "A String", |
| ], |
| }, |
| "autoText": { # A ParagraphElement representing a # An auto text paragraph element. |
| # spot in the text that is dynamically replaced with content that can change |
| # over time, like a page number. |
| "textStyle": { # Represents the styling that can be applied to text. # The text style of this AutoText. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| # of this content. |
| "A String", |
| ], |
| "suggestedTextStyleChanges": { # The suggested text style changes to this AutoText, keyed by suggestion ID. |
| "a_key": { # A suggested change to a TextStyle. |
| "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| # the changes made in this suggestion. This can be used along with the |
| # text_style_suggestion_state |
| # to see which fields have changed and their new values. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| # For any field set to true, there is a new suggested value. |
| "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| }, |
| }, |
| }, |
| "type": "A String", # The type of this auto text. |
| "suggestedInsertionIds": [ # The suggested insertion IDs. An AutoText |
| # may have multiple insertion IDs if it is a nested suggested change. If |
| # empty, then this is not a suggested insertion. |
| "A String", |
| ], |
| }, |
| "inlineObjectElement": { # A ParagraphElement that contains # An inline object paragraph element. |
| # an InlineObject. |
| "textStyle": { # Represents the styling that can be applied to text. # The text style of this InlineObjectElement. |
| # |
| # Similar to text content, like text runs and footnote references, the text |
| # style of an inline object element can affect content layout as well as the |
| # styling of text inserted adjacent to it. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| # of this content. |
| "A String", |
| ], |
| "suggestedTextStyleChanges": { # The suggested text style changes to this InlineObject, keyed by suggestion |
| # ID. |
| "a_key": { # A suggested change to a TextStyle. |
| "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| # the changes made in this suggestion. This can be used along with the |
| # text_style_suggestion_state |
| # to see which fields have changed and their new values. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| # For any field set to true, there is a new suggested value. |
| "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| }, |
| }, |
| }, |
| "inlineObjectId": "A String", # The ID of the InlineObject this |
| # element contains. |
| "suggestedInsertionIds": [ # The suggested insertion IDs. An InlineObjectElement may have multiple insertion IDs |
| # if it is a nested suggested change. If empty, then this is not a suggested |
| # insertion. |
| "A String", |
| ], |
| }, |
| "footnoteReference": { # A ParagraphElement representing a # A footnote reference paragraph element. |
| # footnote reference. A footnote reference is the inline content rendered with |
| # a number and is used to identify the footnote. |
| "textStyle": { # Represents the styling that can be applied to text. # The text style of this FootnoteReference. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "footnoteNumber": "A String", # The rendered number of this footnote. |
| "suggestedInsertionIds": [ # The suggested insertion IDs. A FootnoteReference may have multiple insertion IDs if |
| # it is a nested suggested change. If empty, then this is not a suggested |
| # insertion. |
| "A String", |
| ], |
| "footnoteId": "A String", # The ID of the footnote that |
| # contains the content of this footnote reference. |
| "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| # of this content. |
| "A String", |
| ], |
| "suggestedTextStyleChanges": { # The suggested text style changes to this FootnoteReference, keyed by |
| # suggestion ID. |
| "a_key": { # A suggested change to a TextStyle. |
| "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| # the changes made in this suggestion. This can be used along with the |
| # text_style_suggestion_state |
| # to see which fields have changed and their new values. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| # For any field set to true, there is a new suggested value. |
| "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| }, |
| }, |
| }, |
| }, |
| }, |
| ], |
| "suggestedPositionedObjectIds": { # The IDs of the positioned objects that are suggested to be attached to this |
| # paragraph, keyed by suggestion ID. |
| "a_key": { # A collection of object IDs. |
| "objectIds": [ # The object IDs. |
| "A String", |
| ], |
| }, |
| }, |
| "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. |
| "textStyle": { # Represents the styling that can be applied to text. # The paragraph specific text style applied to this bullet. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| }, |
| "suggestedBulletChanges": { # The suggested changes to this paragraph's bullet. |
| "a_key": { # A suggested change to a Bullet. |
| "bullet": { # Describes the bullet of a paragraph. # A Bullet that only includes the changes made |
| # in this suggestion. This can be used along with the |
| # bullet_suggestion_state to see which |
| # fields have changed and their new values. |
| "nestingLevel": 42, # The nesting level of this paragraph in the list. |
| "listId": "A String", # The ID of the list this paragraph belongs to. |
| "textStyle": { # Represents the styling that can be applied to text. # The paragraph specific text style applied to this bullet. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| }, |
| "bulletSuggestionState": { # A mask that indicates which of the fields on the base # A mask that indicates which of the fields on the base |
| # Bullet have been changed in this suggestion. |
| # Bullet have been changed in this suggestion. |
| # For any field set to true, there is a new suggested value. |
| "nestingLevelSuggested": True or False, # Indicates if there was a suggested change to the |
| # nesting_level. |
| "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields in text style have been changed in this |
| # suggestion. |
| # For any field set to true, there is a new suggested value. |
| "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| }, |
| "listIdSuggested": True or False, # Indicates if there was a suggested change to the |
| # list_id. |
| }, |
| }, |
| }, |
| "positionedObjectIds": [ # The IDs of the positioned objects tethered to this paragraph. |
| "A String", |
| ], |
| "suggestedParagraphStyleChanges": { # The suggested paragraph style changes to this paragraph, keyed by |
| # suggestion ID. |
| "a_key": { # A suggested change to a |
| # ParagraphStyle. |
| "paragraphStyleSuggestionState": { # A mask that indicates which of the fields on the base ParagraphStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base ParagraphStyle have been changed in this suggestion. |
| # For any field set to true, there is a new suggested value. |
| "avoidWidowAndOrphanSuggested": True or False, # Indicates if there was a suggested change to avoid_widow_and_orphan. |
| "lineSpacingSuggested": True or False, # Indicates if there was a suggested change to line_spacing. |
| "spacingModeSuggested": True or False, # Indicates if there was a suggested change to spacing_mode. |
| "spaceBelowSuggested": True or False, # Indicates if there was a suggested change to space_below. |
| "borderRightSuggested": True or False, # Indicates if there was a suggested change to border_right. |
| "indentStartSuggested": True or False, # Indicates if there was a suggested change to indent_start. |
| "namedStyleTypeSuggested": True or False, # Indicates if there was a suggested change to named_style_type. |
| "indentEndSuggested": True or False, # Indicates if there was a suggested change to indent_end. |
| "borderBetweenSuggested": True or False, # Indicates if there was a suggested change to border_between. |
| "borderTopSuggested": True or False, # Indicates if there was a suggested change to border_top. |
| "borderLeftSuggested": True or False, # Indicates if there was a suggested change to border_left. |
| "keepWithNextSuggested": True or False, # Indicates if there was a suggested change to keep_with_next. |
| "spaceAboveSuggested": True or False, # Indicates if there was a suggested change to space_above. |
| "alignmentSuggested": True or False, # Indicates if there was a suggested change to alignment. |
| "indentFirstLineSuggested": True or False, # Indicates if there was a suggested change to indent_first_line. |
| "headingIdSuggested": True or False, # Indicates if there was a suggested change to heading_id. |
| "borderBottomSuggested": True or False, # Indicates if there was a suggested change to border_bottom. |
| "directionSuggested": True or False, # Indicates if there was a suggested change to direction. |
| "keepLinesTogetherSuggested": True or False, # Indicates if there was a suggested change to keep_lines_together. |
| "shadingSuggestionState": { # A mask that indicates which of the fields on the base Shading have been changed in this # A mask that indicates which of the fields in shading have been changed in |
| # this suggestion. |
| # suggested change. For any field set to true, there is a new suggested value. |
| "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to the Shading. |
| }, |
| }, |
| "paragraphStyle": { # Styles that apply to a whole paragraph. # A ParagraphStyle that only includes |
| # the changes made in this suggestion. This can be used along with the |
| # paragraph_suggestion_state |
| # to see which fields have changed and their new values. |
| # |
| # Inherited paragraph styles are represented as unset fields in this message. |
| # A paragraph style's parent depends on where the paragraph style is defined: |
| # |
| # * The ParagraphStyle on a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The ParagraphStyle on a named style |
| # inherits from the normal text named style. |
| # * The ParagraphStyle of the normal text named style inherits |
| # from the default paragraph style in the Docs editor. |
| # * The ParagraphStyle on a Paragraph |
| # element that is contained in a table may inherit its paragraph style from |
| # the table style. |
| # |
| # If the paragraph style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "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 |
| # paragraph 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. |
| }, |
| "keepWithNext": True or False, # Whether at least a part of this paragraph should be laid out on the same |
| # page or column as the next paragraph if possible. If unset, the value is |
| # inherited from the parent. |
| "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. |
| "avoidWidowAndOrphan": True or False, # Whether to avoid widows and orphans for the paragraph. If unset, the value |
| # is inherited from the parent. |
| "borderBottom": { # A border around a paragraph. # The border at the bottom of this paragraph. If unset, the value is |
| # inherited from the parent. |
| # |
| # The bottom border is rendered when the paragraph below has different border |
| # and indent properties. |
| # |
| # Paragraph borders cannot be partially updated. When making |
| # changes to a paragraph border the new border must be specified in |
| # its entirety. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| }, |
| "indentStart": { # A magnitude in a single direction in the specified units. # The amount of indentation for the paragraph on the side that corresponds to |
| # the start of the text, based on the current paragraph direction. If unset, |
| # the value is inherited from the parent. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "borderBetween": { # A border around a paragraph. # The border between this paragraph and the next and previous paragraphs. |
| # If unset, the value is inherited from the parent. |
| # |
| # The between border is rendered when the adjacent paragraph has the same |
| # border and indent properties. |
| # |
| # Paragraph borders cannot be partially updated. When making |
| # changes to a paragraph border the new border must be specified in |
| # its entirety. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| }, |
| "namedStyleType": "A String", # The named style type of the paragraph. |
| # |
| # Since updating the named style type affects other properties within |
| # ParagraphStyle, the named style type is applied before the other properties |
| # are updated. |
| "borderRight": { # A border around a paragraph. # The border to the right of this paragraph. If unset, the value is inherited |
| # from the parent. |
| # |
| # Paragraph borders cannot be partially updated. When making |
| # changes to a paragraph border the new border must be specified in |
| # its entirety. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| "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 of indentation for the paragraph on the side that corresponds to |
| # the end of the text, based on the current paragraph direction. If unset, |
| # the value is inherited from the parent. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "borderLeft": { # A border around a paragraph. # The border to the left of this paragraph. If unset, the value is inherited |
| # from the parent. |
| # |
| # Paragraph borders cannot be partially updated. When making |
| # changes to a paragraph border the new border must be specified in |
| # its entirety. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| "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. |
| }, |
| "headingId": "A String", # The heading ID of the paragraph. If empty, then this paragraph is not a |
| # heading. This property is read-only. |
| "shading": { # The shading of a paragraph. # The shading of the paragraph. If unset, the value is inherited from the |
| # parent. |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of this paragraph shading. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| }, |
| "borderTop": { # A border around a paragraph. # The border at the top of this paragraph. If unset, the value is inherited |
| # from the parent. |
| # |
| # The top border is rendered when the paragraph above has different border |
| # and indent properties. |
| # |
| # Paragraph borders cannot be partially updated. When making |
| # changes to a paragraph border the new border must be specified in |
| # its entirety. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| }, |
| "tabStops": [ # A list of the tab stops for this paragraph. The list of tab stops is not |
| # inherited. This property is read-only. |
| { # A tab stop within a paragraph. |
| "alignment": "A String", # The alignment of this tab stop. If unset, the value defaults to START. |
| "offset": { # A magnitude in a single direction in the specified units. # The offset between this tab stop and the start margin. |
| "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 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. |
| "keepLinesTogether": True or False, # Whether all lines of the paragraph should be laid out on the same page or |
| # column if possible. If unset, the value is inherited from the parent. |
| }, |
| }, |
| }, |
| "paragraphStyle": { # Styles that apply to a whole paragraph. # The style of this paragraph. |
| # |
| # Inherited paragraph styles are represented as unset fields in this message. |
| # A paragraph style's parent depends on where the paragraph style is defined: |
| # |
| # * The ParagraphStyle on a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The ParagraphStyle on a named style |
| # inherits from the normal text named style. |
| # * The ParagraphStyle of the normal text named style inherits |
| # from the default paragraph style in the Docs editor. |
| # * The ParagraphStyle on a Paragraph |
| # element that is contained in a table may inherit its paragraph style from |
| # the table style. |
| # |
| # If the paragraph style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "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 |
| # paragraph 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. |
| }, |
| "keepWithNext": True or False, # Whether at least a part of this paragraph should be laid out on the same |
| # page or column as the next paragraph if possible. If unset, the value is |
| # inherited from the parent. |
| "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. |
| "avoidWidowAndOrphan": True or False, # Whether to avoid widows and orphans for the paragraph. If unset, the value |
| # is inherited from the parent. |
| "borderBottom": { # A border around a paragraph. # The border at the bottom of this paragraph. If unset, the value is |
| # inherited from the parent. |
| # |
| # The bottom border is rendered when the paragraph below has different border |
| # and indent properties. |
| # |
| # Paragraph borders cannot be partially updated. When making |
| # changes to a paragraph border the new border must be specified in |
| # its entirety. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| }, |
| "indentStart": { # A magnitude in a single direction in the specified units. # The amount of indentation for the paragraph on the side that corresponds to |
| # the start of the text, based on the current paragraph direction. If unset, |
| # the value is inherited from the parent. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "borderBetween": { # A border around a paragraph. # The border between this paragraph and the next and previous paragraphs. |
| # If unset, the value is inherited from the parent. |
| # |
| # The between border is rendered when the adjacent paragraph has the same |
| # border and indent properties. |
| # |
| # Paragraph borders cannot be partially updated. When making |
| # changes to a paragraph border the new border must be specified in |
| # its entirety. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| }, |
| "namedStyleType": "A String", # The named style type of the paragraph. |
| # |
| # Since updating the named style type affects other properties within |
| # ParagraphStyle, the named style type is applied before the other properties |
| # are updated. |
| "borderRight": { # A border around a paragraph. # The border to the right of this paragraph. If unset, the value is inherited |
| # from the parent. |
| # |
| # Paragraph borders cannot be partially updated. When making |
| # changes to a paragraph border the new border must be specified in |
| # its entirety. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| "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 of indentation for the paragraph on the side that corresponds to |
| # the end of the text, based on the current paragraph direction. If unset, |
| # the value is inherited from the parent. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "borderLeft": { # A border around a paragraph. # The border to the left of this paragraph. If unset, the value is inherited |
| # from the parent. |
| # |
| # Paragraph borders cannot be partially updated. When making |
| # changes to a paragraph border the new border must be specified in |
| # its entirety. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| "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. |
| }, |
| "headingId": "A String", # The heading ID of the paragraph. If empty, then this paragraph is not a |
| # heading. This property is read-only. |
| "shading": { # The shading of a paragraph. # The shading of the paragraph. If unset, the value is inherited from the |
| # parent. |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of this paragraph shading. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| }, |
| "borderTop": { # A border around a paragraph. # The border at the top of this paragraph. If unset, the value is inherited |
| # from the parent. |
| # |
| # The top border is rendered when the paragraph above has different border |
| # and indent properties. |
| # |
| # Paragraph borders cannot be partially updated. When making |
| # changes to a paragraph border the new border must be specified in |
| # its entirety. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| }, |
| "tabStops": [ # A list of the tab stops for this paragraph. The list of tab stops is not |
| # inherited. This property is read-only. |
| { # A tab stop within a paragraph. |
| "alignment": "A String", # The alignment of this tab stop. If unset, the value defaults to START. |
| "offset": { # A magnitude in a single direction in the specified units. # The offset between this tab stop and the start margin. |
| "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 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. |
| "keepLinesTogether": True or False, # Whether all lines of the paragraph should be laid out on the same page or |
| # column if possible. If unset, the value is inherited from the parent. |
| }, |
| }, |
| "table": { # A StructuralElement representing a # A table type of structural element. |
| # table. |
| "rows": 42, # Number of rows in the table. |
| "tableStyle": { # Styles that apply to a table. # The style of the table. |
| "tableColumnProperties": [ # The properties of each column. |
| # |
| # Note that in Docs, tables contain rows and rows contain cells, similar to |
| # HTML. So the properties for a row can be found on the row's |
| # table_row_style. |
| { # The properties of a column in a table. |
| "width": { # A magnitude in a single direction in the specified units. # The width of the column. Set when the column's `width_type` is |
| # FIXED_WIDTH. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "widthType": "A String", # The width type of the column. |
| }, |
| ], |
| }, |
| "suggestedInsertionIds": [ # The suggested insertion IDs. A Table may have |
| # multiple insertion IDs if it is a nested suggested change. If empty, then |
| # this is not a suggested insertion. |
| "A String", |
| ], |
| "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| # of this content. |
| "A String", |
| ], |
| "tableRows": [ # The contents and style of each row. |
| { # The contents and style of a row in a Table. |
| "endIndex": 42, # The zero-based end index of this row, exclusive, in UTF-16 code units. |
| "tableCells": [ # The contents and style of each cell in this row. |
| # |
| # It is possible for a table to be non-rectangular, so some rows may have a |
| # different number of cells than other rows in the same table. |
| { # The contents and style of a cell in a Table. |
| "endIndex": 42, # The zero-based end index of this cell, exclusive, in UTF-16 code units. |
| "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| # of this content. |
| "A String", |
| ], |
| "suggestedInsertionIds": [ # The suggested insertion IDs. A TableCell |
| # may have multiple insertion IDs if it is a nested suggested change. If |
| # empty, then this is not a suggested insertion. |
| "A String", |
| ], |
| "content": [ # The content of the cell. |
| # Object with schema name: StructuralElement |
| ], |
| "tableCellStyle": { # The style of a TableCell. # The style of the cell. |
| # |
| # Inherited table cell styles are represented as unset fields in this message. |
| # A table cell style can inherit from the table's style. |
| "paddingBottom": { # A magnitude in a single direction in the specified units. # The bottom padding of the cell. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "borderBottom": { # A border around a table cell. # The bottom border of the cell. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| }, |
| "paddingLeft": { # A magnitude in a single direction in the specified units. # The left padding of the cell. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "paddingTop": { # A magnitude in a single direction in the specified units. # The top padding of the cell. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "borderLeft": { # A border around a table cell. # The left border of the cell. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| }, |
| "columnSpan": 42, # The column span of the cell. This property is read-only. |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the cell. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "borderRight": { # A border around a table cell. # The right border of the cell. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| }, |
| "rowSpan": 42, # The row span of the cell. This property is read-only. |
| "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 Docs editor. |
| "paddingRight": { # A magnitude in a single direction in the specified units. # The right padding of the cell. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "borderTop": { # A border around a table cell. # The top border of the cell. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| }, |
| }, |
| "startIndex": 42, # The zero-based start index of this cell, in UTF-16 code units. |
| "suggestedTableCellStyleChanges": { # The suggested changes to the table cell style, keyed by suggestion ID. |
| "a_key": { # A suggested change to a TableCellStyle. |
| "tableCellStyle": { # The style of a TableCell. # A TableCellStyle that only includes |
| # the changes made in this suggestion. This can be used along with the |
| # table_cell_style_suggestion_state |
| # to see which fields have changed and their new values. |
| # |
| # Inherited table cell styles are represented as unset fields in this message. |
| # A table cell style can inherit from the table's style. |
| "paddingBottom": { # A magnitude in a single direction in the specified units. # The bottom padding of the cell. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "borderBottom": { # A border around a table cell. # The bottom border of the cell. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| }, |
| "paddingLeft": { # A magnitude in a single direction in the specified units. # The left padding of the cell. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "paddingTop": { # A magnitude in a single direction in the specified units. # The top padding of the cell. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "borderLeft": { # A border around a table cell. # The left border of the cell. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| }, |
| "columnSpan": 42, # The column span of the cell. This property is read-only. |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the cell. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "borderRight": { # A border around a table cell. # The right border of the cell. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| }, |
| "rowSpan": 42, # The row span of the cell. This property is read-only. |
| "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 Docs editor. |
| "paddingRight": { # A magnitude in a single direction in the specified units. # The right padding of the cell. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "borderTop": { # A border around a table cell. # The top border of the cell. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| }, |
| }, |
| "tableCellStyleSuggestionState": { # A mask that indicates which of the fields on the base TableCellStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TableCellStyle have been changed in this suggestion. |
| # For any field set to true, there is a new suggested value. |
| "borderRightSuggested": True or False, # Indicates if there was a suggested change to border_right. |
| "borderBottomSuggested": True or False, # Indicates if there was a suggested change to border_bottom. |
| "paddingBottomSuggested": True or False, # Indicates if there was a suggested change to padding_bottom. |
| "contentAlignmentSuggested": True or False, # Indicates if there was a suggested change to content_alignment. |
| "rowSpanSuggested": True or False, # Indicates if there was a suggested change to row_span. |
| "borderLeftSuggested": True or False, # Indicates if there was a suggested change to border_left. |
| "borderTopSuggested": True or False, # Indicates if there was a suggested change to border_top. |
| "columnSpanSuggested": True or False, # Indicates if there was a suggested change to column_span. |
| "paddingRightSuggested": True or False, # Indicates if there was a suggested change to padding_right. |
| "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| "paddingLeftSuggested": True or False, # Indicates if there was a suggested change to padding_left. |
| "paddingTopSuggested": True or False, # Indicates if there was a suggested change to padding_top. |
| }, |
| }, |
| }, |
| }, |
| ], |
| "tableRowStyle": { # Styles that apply to a table row. # The style of the table row. |
| "minRowHeight": { # A magnitude in a single direction in the specified units. # The minimum height of the row. The row will be rendered in the Docs editor |
| # at a height equal to or greater than this value in order to show all the |
| # content in the row's cells. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| }, |
| "suggestedInsertionIds": [ # The suggested insertion IDs. A TableRow |
| # may have multiple insertion IDs if it is a nested suggested change. If |
| # empty, then this is not a suggested insertion. |
| "A String", |
| ], |
| "startIndex": 42, # The zero-based start index of this row, in UTF-16 code units. |
| "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| # of this content. |
| "A String", |
| ], |
| "suggestedTableRowStyleChanges": { # The suggested style changes to this row, keyed by suggestion ID. |
| "a_key": { # A suggested change to a |
| # TableRowStyle. |
| "tableRowStyle": { # Styles that apply to a table row. # A TableRowStyle that only includes |
| # the changes made in this suggestion. This can be used along with the |
| # table_row_style_suggestion_state |
| # to see which fields have changed and their new values. |
| "minRowHeight": { # A magnitude in a single direction in the specified units. # The minimum height of the row. The row will be rendered in the Docs editor |
| # at a height equal to or greater than this value in order to show all the |
| # content in the row's cells. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| }, |
| "tableRowStyleSuggestionState": { # A mask that indicates which of the fields on the base TableRowStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TableRowStyle have been changed in this suggestion. |
| # For any field set to true, there is a new suggested value. |
| "minRowHeightSuggested": True or False, # Indicates if there was a suggested change to min_row_height. |
| }, |
| }, |
| }, |
| }, |
| ], |
| "columns": 42, # Number of columns in the table. |
| # |
| # It is possible for a table to be non-rectangular, so some rows may have a |
| # different number of cells. |
| }, |
| }, |
| ], |
| }, |
| "documentStyle": { # The style of the document. # The style of the document. |
| "defaultFooterId": "A String", # The ID of the default footer. If not set, there is no default footer. |
| "evenPageFooterId": "A String", # The ID of the footer used only for even pages. The value of |
| # use_even_page_header_footer determines |
| # whether to use the default_footer_id or this value for the |
| # footer on even pages. If not set, there is no even page footer. |
| "firstPageFooterId": "A String", # The ID of the footer used only for the first page. If not set then |
| # a unique footer for the first page does not exist. The value of |
| # use_first_page_header_footer determines |
| # whether to use the default_footer_id or this value for the |
| # footer on the first page. If not set, there is no first page footer. |
| "pageSize": { # A width and height. # The size of a page in the document. |
| "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. |
| }, |
| }, |
| "defaultHeaderId": "A String", # The ID of the default header. If not set, there is no default header. |
| "marginBottom": { # A magnitude in a single direction in the specified units. # The bottom page margin. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "firstPageHeaderId": "A String", # The ID of the header used only for the first page. If not set then |
| # a unique header for the first page does not exist. |
| # The value of use_first_page_header_footer determines |
| # whether to use the default_header_id or this value for the |
| # header on the first page. If not set, there is no first page header. |
| "evenPageHeaderId": "A String", # The ID of the header used only for even pages. The value of |
| # use_even_page_header_footer determines |
| # whether to use the default_header_id or this value for the |
| # header on even pages. If not set, there is no even page header. |
| "useFirstPageHeaderFooter": True or False, # Indicates whether to use the first page header / footer IDs for the first |
| # page. |
| "marginLeft": { # A magnitude in a single direction in the specified units. # The left page margin. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "useEvenPageHeaderFooter": True or False, # Indicates whether to use the even page header / footer IDs for the even |
| # pages. |
| "background": { # Represents the background of a document. # The background of the document. |
| "color": { # A color that can either be fully opaque or fully transparent. # The background color. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| }, |
| "marginRight": { # A magnitude in a single direction in the specified units. # The right page margin. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "pageNumberStart": 42, # The page number from which to start counting the number of pages. |
| "marginTop": { # A magnitude in a single direction in the specified units. # The top page margin. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| }, |
| "title": "A String", # The title of the document. |
| "namedRanges": { # The named ranges in the document, keyed by name. |
| "a_key": { # A collection of all the NamedRanges in the |
| # document that share a given name. |
| "namedRanges": [ # The NamedRanges that share the same name. |
| { # A collection of Ranges with the same named range |
| # ID. |
| # |
| # Named ranges allow developers to associate parts of a document with an |
| # arbitrary user-defined label so their contents can be programmatically read |
| # or edited at a later time. A document can contain multiple named ranges with |
| # the same name, but every named range has a unique ID. |
| # |
| # A named range is created with a single Range, |
| # and content inserted inside a named range generally expands that range. |
| # However, certain document changes can cause the range to be split into |
| # multiple ranges. |
| # |
| # Named ranges are not private. All applications and collaborators that have |
| # access to the document can see its named ranges. |
| "ranges": [ # The ranges that belong to this named range. |
| { # Specifies a contiguous range of text. |
| "endIndex": 42, # The zero-based end index of this range, exclusive, in UTF-16 code units. |
| # |
| # In all current uses, an end index must be provided. This field is an |
| # Int32Value in order to accommodate future use cases with open-ended ranges. |
| "startIndex": 42, # The zero-based start index of this range, in UTF-16 code units. |
| # |
| # In all current uses, a start index must be provided. This field is an |
| # Int32Value in order to accommodate future use cases with open-ended ranges. |
| "segmentId": "A String", # The ID of the header, footer or footnote that this range is contained in. |
| # An empty segment ID signifies the document's body. |
| }, |
| ], |
| "namedRangeId": "A String", # The ID of the named range. |
| "name": "A String", # The name of the named range. |
| }, |
| ], |
| "name": "A String", # The name that all the named ranges share. |
| }, |
| }, |
| "suggestedDocumentStyleChanges": { # The suggested changes to the style of the document, keyed by suggestion ID. |
| "a_key": { # A suggested change to the DocumentStyle. |
| "documentStyle": { # The style of the document. # A DocumentStyle that only includes |
| # the changes made in this suggestion. This can be used along with the |
| # document_style_suggestion_state |
| # to see which fields have changed and their new values. |
| "defaultFooterId": "A String", # The ID of the default footer. If not set, there is no default footer. |
| "evenPageFooterId": "A String", # The ID of the footer used only for even pages. The value of |
| # use_even_page_header_footer determines |
| # whether to use the default_footer_id or this value for the |
| # footer on even pages. If not set, there is no even page footer. |
| "firstPageFooterId": "A String", # The ID of the footer used only for the first page. If not set then |
| # a unique footer for the first page does not exist. The value of |
| # use_first_page_header_footer determines |
| # whether to use the default_footer_id or this value for the |
| # footer on the first page. If not set, there is no first page footer. |
| "pageSize": { # A width and height. # The size of a page in the document. |
| "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. |
| }, |
| }, |
| "defaultHeaderId": "A String", # The ID of the default header. If not set, there is no default header. |
| "marginBottom": { # A magnitude in a single direction in the specified units. # The bottom page margin. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "firstPageHeaderId": "A String", # The ID of the header used only for the first page. If not set then |
| # a unique header for the first page does not exist. |
| # The value of use_first_page_header_footer determines |
| # whether to use the default_header_id or this value for the |
| # header on the first page. If not set, there is no first page header. |
| "evenPageHeaderId": "A String", # The ID of the header used only for even pages. The value of |
| # use_even_page_header_footer determines |
| # whether to use the default_header_id or this value for the |
| # header on even pages. If not set, there is no even page header. |
| "useFirstPageHeaderFooter": True or False, # Indicates whether to use the first page header / footer IDs for the first |
| # page. |
| "marginLeft": { # A magnitude in a single direction in the specified units. # The left page margin. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "useEvenPageHeaderFooter": True or False, # Indicates whether to use the even page header / footer IDs for the even |
| # pages. |
| "background": { # Represents the background of a document. # The background of the document. |
| "color": { # A color that can either be fully opaque or fully transparent. # The background color. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| }, |
| "marginRight": { # A magnitude in a single direction in the specified units. # The right page margin. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "pageNumberStart": 42, # The page number from which to start counting the number of pages. |
| "marginTop": { # A magnitude in a single direction in the specified units. # The top page margin. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| }, |
| "documentStyleSuggestionState": { # A mask that indicates which of the fields on the base DocumentStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base DocumentStyle have been changed in this suggestion. |
| # For any field set to true, there is a new suggested value. |
| "marginRightSuggested": True or False, # Indicates if there was a suggested change to margin_right. |
| "evenPageHeaderIdSuggested": True or False, # Indicates if there was a suggested change to even_page_header_id. |
| "firstPageHeaderIdSuggested": True or False, # Indicates if there was a suggested change to first_page_header_id. |
| "marginBottomSuggested": True or False, # Indicates if there was a suggested change to margin_bottom. |
| "pageNumberStartSuggested": True or False, # Indicates if there was a suggested change to page_number_start. |
| "defaultHeaderIdSuggested": True or False, # Indicates if there was a suggested change to default_header_id. |
| "pageSizeSuggestionState": { # A mask that indicates which of the fields on the base Size have been changed in this suggestion. # A mask that indicates which of the fields in size have been changed in this |
| # suggestion. |
| # For any field set to true, the Size has |
| # a new suggested value. |
| "widthSuggested": True or False, # Indicates if there was a suggested change to width. |
| "heightSuggested": True or False, # Indicates if there was a suggested change to height. |
| }, |
| "marginLeftSuggested": True or False, # Indicates if there was a suggested change to margin_left. |
| "marginTopSuggested": True or False, # Indicates if there was a suggested change to margin_top. |
| "firstPageFooterIdSuggested": True or False, # Indicates if there was a suggested change to first_page_footer_id. |
| "defaultFooterIdSuggested": True or False, # Indicates if there was a suggested change to default_footer_id. |
| "useFirstPageHeaderFooterSuggested": True or False, # Indicates if there was a suggested change to use_first_page_header_footer. |
| "evenPageFooterIdSuggested": True or False, # Indicates if there was a suggested change to even_page_footer_id. |
| "backgroundSuggestionState": { # A mask that indicates which of the fields on the base Background have been changed in this suggestion. # A mask that indicates which of the fields in background have been changed in this |
| # suggestion. |
| # For any field set to true, the Backgound has a new suggested value. |
| "backgroundColorSuggested": True or False, # Indicates whether the current background color has been modified in this |
| # suggestion. |
| }, |
| "useEvenPageHeaderFooterSuggested": True or False, # Indicates if there was a suggested change to use_even_page_header_footer. |
| }, |
| }, |
| }, |
| "suggestedNamedStylesChanges": { # The suggested changes to the named styles of the document, keyed by |
| # suggestion ID. |
| "a_key": { # A suggested change to the NamedStyles. |
| "namedStylesSuggestionState": { # The suggestion state of a NamedStyles # A mask that indicates which of the fields on the base NamedStyles have been changed in this suggestion. |
| # message. |
| "stylesSuggestionStates": [ # A mask that indicates which of the fields on the corresponding NamedStyle in styles have been changed in this |
| # suggestion. |
| # |
| # The order of these named style suggestion states match the order of the |
| # corresponding named style within the named styles suggestion. |
| { # A suggestion state of a NamedStyle message. |
| "paragraphStyleSuggestionState": { # A mask that indicates which of the fields on the base ParagraphStyle have been changed in this suggestion. # A mask that indicates which of the fields in paragraph style have been changed in this |
| # suggestion. |
| # For any field set to true, there is a new suggested value. |
| "avoidWidowAndOrphanSuggested": True or False, # Indicates if there was a suggested change to avoid_widow_and_orphan. |
| "lineSpacingSuggested": True or False, # Indicates if there was a suggested change to line_spacing. |
| "spacingModeSuggested": True or False, # Indicates if there was a suggested change to spacing_mode. |
| "spaceBelowSuggested": True or False, # Indicates if there was a suggested change to space_below. |
| "borderRightSuggested": True or False, # Indicates if there was a suggested change to border_right. |
| "indentStartSuggested": True or False, # Indicates if there was a suggested change to indent_start. |
| "namedStyleTypeSuggested": True or False, # Indicates if there was a suggested change to named_style_type. |
| "indentEndSuggested": True or False, # Indicates if there was a suggested change to indent_end. |
| "borderBetweenSuggested": True or False, # Indicates if there was a suggested change to border_between. |
| "borderTopSuggested": True or False, # Indicates if there was a suggested change to border_top. |
| "borderLeftSuggested": True or False, # Indicates if there was a suggested change to border_left. |
| "keepWithNextSuggested": True or False, # Indicates if there was a suggested change to keep_with_next. |
| "spaceAboveSuggested": True or False, # Indicates if there was a suggested change to space_above. |
| "alignmentSuggested": True or False, # Indicates if there was a suggested change to alignment. |
| "indentFirstLineSuggested": True or False, # Indicates if there was a suggested change to indent_first_line. |
| "headingIdSuggested": True or False, # Indicates if there was a suggested change to heading_id. |
| "borderBottomSuggested": True or False, # Indicates if there was a suggested change to border_bottom. |
| "directionSuggested": True or False, # Indicates if there was a suggested change to direction. |
| "keepLinesTogetherSuggested": True or False, # Indicates if there was a suggested change to keep_lines_together. |
| "shadingSuggestionState": { # A mask that indicates which of the fields on the base Shading have been changed in this # A mask that indicates which of the fields in shading have been changed in |
| # this suggestion. |
| # suggested change. For any field set to true, there is a new suggested value. |
| "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to the Shading. |
| }, |
| }, |
| "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields in text style have been changed in this |
| # suggestion. |
| # For any field set to true, there is a new suggested value. |
| "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| }, |
| "namedStyleType": "A String", # The named style type that this suggestion state corresponds to. |
| # |
| # This field is provided as a convenience for matching the |
| # NamedStyleSuggestionState with its corresponding NamedStyle. |
| }, |
| ], |
| }, |
| "namedStyles": { # The named styles. Paragraphs in the document can inherit their # A NamedStyles that only includes the |
| # changes made in this suggestion. This can be used along with the |
| # named_styles_suggestion_state to |
| # see which fields have changed and their new values. |
| # TextStyle and |
| # ParagraphStyle from these named styles. |
| "styles": [ # The named styles. |
| # |
| # There is an entry for each of the possible named style types. |
| { # A named style. Paragraphs in the document can inherit their |
| # TextStyle and |
| # ParagraphStyle from this named style |
| # when they have the same named style type. |
| "textStyle": { # Represents the styling that can be applied to text. # The text style of this named style. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "namedStyleType": "A String", # The type of this named style. |
| "paragraphStyle": { # Styles that apply to a whole paragraph. # The paragraph style of this named style. |
| # |
| # Inherited paragraph styles are represented as unset fields in this message. |
| # A paragraph style's parent depends on where the paragraph style is defined: |
| # |
| # * The ParagraphStyle on a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The ParagraphStyle on a named style |
| # inherits from the normal text named style. |
| # * The ParagraphStyle of the normal text named style inherits |
| # from the default paragraph style in the Docs editor. |
| # * The ParagraphStyle on a Paragraph |
| # element that is contained in a table may inherit its paragraph style from |
| # the table style. |
| # |
| # If the paragraph style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "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 |
| # paragraph 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. |
| }, |
| "keepWithNext": True or False, # Whether at least a part of this paragraph should be laid out on the same |
| # page or column as the next paragraph if possible. If unset, the value is |
| # inherited from the parent. |
| "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. |
| "avoidWidowAndOrphan": True or False, # Whether to avoid widows and orphans for the paragraph. If unset, the value |
| # is inherited from the parent. |
| "borderBottom": { # A border around a paragraph. # The border at the bottom of this paragraph. If unset, the value is |
| # inherited from the parent. |
| # |
| # The bottom border is rendered when the paragraph below has different border |
| # and indent properties. |
| # |
| # Paragraph borders cannot be partially updated. When making |
| # changes to a paragraph border the new border must be specified in |
| # its entirety. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| }, |
| "indentStart": { # A magnitude in a single direction in the specified units. # The amount of indentation for the paragraph on the side that corresponds to |
| # the start of the text, based on the current paragraph direction. If unset, |
| # the value is inherited from the parent. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "borderBetween": { # A border around a paragraph. # The border between this paragraph and the next and previous paragraphs. |
| # If unset, the value is inherited from the parent. |
| # |
| # The between border is rendered when the adjacent paragraph has the same |
| # border and indent properties. |
| # |
| # Paragraph borders cannot be partially updated. When making |
| # changes to a paragraph border the new border must be specified in |
| # its entirety. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| }, |
| "namedStyleType": "A String", # The named style type of the paragraph. |
| # |
| # Since updating the named style type affects other properties within |
| # ParagraphStyle, the named style type is applied before the other properties |
| # are updated. |
| "borderRight": { # A border around a paragraph. # The border to the right of this paragraph. If unset, the value is inherited |
| # from the parent. |
| # |
| # Paragraph borders cannot be partially updated. When making |
| # changes to a paragraph border the new border must be specified in |
| # its entirety. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| "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 of indentation for the paragraph on the side that corresponds to |
| # the end of the text, based on the current paragraph direction. If unset, |
| # the value is inherited from the parent. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "borderLeft": { # A border around a paragraph. # The border to the left of this paragraph. If unset, the value is inherited |
| # from the parent. |
| # |
| # Paragraph borders cannot be partially updated. When making |
| # changes to a paragraph border the new border must be specified in |
| # its entirety. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| "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. |
| }, |
| "headingId": "A String", # The heading ID of the paragraph. If empty, then this paragraph is not a |
| # heading. This property is read-only. |
| "shading": { # The shading of a paragraph. # The shading of the paragraph. If unset, the value is inherited from the |
| # parent. |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of this paragraph shading. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| }, |
| "borderTop": { # A border around a paragraph. # The border at the top of this paragraph. If unset, the value is inherited |
| # from the parent. |
| # |
| # The top border is rendered when the paragraph above has different border |
| # and indent properties. |
| # |
| # Paragraph borders cannot be partially updated. When making |
| # changes to a paragraph border the new border must be specified in |
| # its entirety. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| }, |
| "tabStops": [ # A list of the tab stops for this paragraph. The list of tab stops is not |
| # inherited. This property is read-only. |
| { # A tab stop within a paragraph. |
| "alignment": "A String", # The alignment of this tab stop. If unset, the value defaults to START. |
| "offset": { # A magnitude in a single direction in the specified units. # The offset between this tab stop and the start margin. |
| "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 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. |
| "keepLinesTogether": True or False, # Whether all lines of the paragraph should be laid out on the same page or |
| # column if possible. If unset, the value is inherited from the parent. |
| }, |
| }, |
| ], |
| }, |
| }, |
| }, |
| "suggestionsViewMode": "A String", # The suggestions view mode applied to the document. |
| # |
| # Note: When editing a document, changes must be based on a document with |
| # SUGGESTIONS_INLINE. |
| "lists": { # The lists in the document, keyed by list ID. |
| "a_key": { # A List represents the list attributes for a group of paragraphs that all |
| # belong to the same list. A paragraph that is part of a list has a reference |
| # to the list's ID in its bullet. |
| "listProperties": { # The properties of a list which describe the look # The properties of the list. |
| # and feel of bullets belonging to paragraphs associated with a list. |
| "nestingLevels": [ # Describes the properties of the bullets at the associated level. |
| # |
| # A list has at most nine levels of nesting with nesting level 0 |
| # corresponding to the top-most level and nesting level 8 corresponding to |
| # the most nested level. The nesting levels are returned in ascending order |
| # with the least nested returned first. |
| { # Contains properties describing the look and feel of a list bullet at a given |
| # level of nesting. |
| "textStyle": { # Represents the styling that can be applied to text. # The text style of bullets at this level of nesting. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "indentStart": { # A magnitude in a single direction in the specified units. # The amount of indentation for paragraphs at this level of nesting. Applied |
| # to the side that corresponds to the start of the text, based on the |
| # paragraph's content direction. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "glyphFormat": "A String", # The format string used by bullets at this level of nesting. |
| # |
| # The glyph format contains one or more placeholders, and these placeholder |
| # are replaced with the appropriate values depending on the glyph_type or glyph_symbol. The placeholders follow |
| # the pattern `%[nesting_level]`. Furthermore, placeholders can have prefixes |
| # and suffixes. Thus, the glyph format follows the pattern |
| # `<prefix>%[nesting_level]<suffix>`. Note that the prefix and suffix are |
| # optional and can be arbitrary strings. |
| # |
| # For example, the glyph format `%0.` indicates that the rendered glyph will |
| # replace the placeholder with the corresponding glyph for nesting level 0 |
| # followed by a period as the suffix. So a list with a glyph type of |
| # UPPER_ALPHA and |
| # glyph format `%0.` at nesting level 0 will result in a list with rendered |
| # glyphs |
| # <p>`A.` |
| # <p>`B.` |
| # <p>`C.` |
| # |
| # The glyph format can contain placeholders for the current nesting level as |
| # well as placeholders for parent nesting levels. For example, a |
| # list can have a glyph format of `%0.` at nesting level 0 and a |
| # glyph format of `%0.%1.` at nesting level 1. Assuming both nesting levels |
| # have DECIMAL glyph |
| # types, this would result in a list with rendered glyphs |
| # <p>`1.` |
| # <p>`2.` |
| # <p>` 2.1.` |
| # <p>` 2.2.` |
| # <p>`3.` |
| # |
| # For nesting levels that are ordered, the string that replaces a placeholder |
| # in the glyph format for a particular paragraph depends on the paragraph's |
| # order within the list. |
| "glyphType": "A String", # The type of glyph used by bullets when paragraphs at this level of |
| # nesting are ordered. |
| # |
| # The glyph type determines the type of glyph used to replace placeholders |
| # within the glyph_format |
| # when paragraphs at this level of nesting are ordered. For example, if the |
| # nesting level is 0, the glyph_format is `%0.` and the glyph |
| # type is DECIMAL, |
| # then the rendered glyph would replace the placeholder `%0` in the glyph |
| # format with a number corresponding to list item's order within the list. |
| "startNumber": 42, # The number of the first list item at this nesting level. |
| # |
| # A value of 0 is treated as a value of 1 for lettered lists and roman |
| # numeraled lists, i.e. for values of both 0 and 1, lettered and roman |
| # numeraled lists will begin at `a` and `i` respectively. |
| # |
| # This value is ignored for nesting levels with unordered glyphs. |
| "bulletAlignment": "A String", # The alignment of the bullet within the space allotted for rendering the |
| # bullet. |
| "glyphSymbol": "A String", # A custom glyph symbol used by bullets when paragraphs at this level of |
| # nesting are unordered. |
| # |
| # The glyph symbol replaces placeholders within the glyph_format. For example, if the |
| # glyph_symbol is the solid circle corresponding to Unicode U+25cf code |
| # point and the glyph_format is `%0`, the rendered |
| # glyph would be the solid circle. |
| "indentFirstLine": { # A magnitude in a single direction in the specified units. # The amount of indentation for the first line of paragraphs at this level of |
| # nesting. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| }, |
| ], |
| }, |
| "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| # of this list. |
| "A String", |
| ], |
| "suggestedListPropertiesChanges": { # The suggested changes to the list properties, keyed by suggestion |
| # ID. |
| "a_key": { # A suggested change to ListProperties. |
| "listProperties": { # The properties of a list which describe the look # A ListProperties that only includes |
| # the changes made in this suggestion. This can be used along with the |
| # list_properties_suggestion_state |
| # to see which fields have changed and their new values. |
| # and feel of bullets belonging to paragraphs associated with a list. |
| "nestingLevels": [ # Describes the properties of the bullets at the associated level. |
| # |
| # A list has at most nine levels of nesting with nesting level 0 |
| # corresponding to the top-most level and nesting level 8 corresponding to |
| # the most nested level. The nesting levels are returned in ascending order |
| # with the least nested returned first. |
| { # Contains properties describing the look and feel of a list bullet at a given |
| # level of nesting. |
| "textStyle": { # Represents the styling that can be applied to text. # The text style of bullets at this level of nesting. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "indentStart": { # A magnitude in a single direction in the specified units. # The amount of indentation for paragraphs at this level of nesting. Applied |
| # to the side that corresponds to the start of the text, based on the |
| # paragraph's content direction. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "glyphFormat": "A String", # The format string used by bullets at this level of nesting. |
| # |
| # The glyph format contains one or more placeholders, and these placeholder |
| # are replaced with the appropriate values depending on the glyph_type or glyph_symbol. The placeholders follow |
| # the pattern `%[nesting_level]`. Furthermore, placeholders can have prefixes |
| # and suffixes. Thus, the glyph format follows the pattern |
| # `<prefix>%[nesting_level]<suffix>`. Note that the prefix and suffix are |
| # optional and can be arbitrary strings. |
| # |
| # For example, the glyph format `%0.` indicates that the rendered glyph will |
| # replace the placeholder with the corresponding glyph for nesting level 0 |
| # followed by a period as the suffix. So a list with a glyph type of |
| # UPPER_ALPHA and |
| # glyph format `%0.` at nesting level 0 will result in a list with rendered |
| # glyphs |
| # <p>`A.` |
| # <p>`B.` |
| # <p>`C.` |
| # |
| # The glyph format can contain placeholders for the current nesting level as |
| # well as placeholders for parent nesting levels. For example, a |
| # list can have a glyph format of `%0.` at nesting level 0 and a |
| # glyph format of `%0.%1.` at nesting level 1. Assuming both nesting levels |
| # have DECIMAL glyph |
| # types, this would result in a list with rendered glyphs |
| # <p>`1.` |
| # <p>`2.` |
| # <p>` 2.1.` |
| # <p>` 2.2.` |
| # <p>`3.` |
| # |
| # For nesting levels that are ordered, the string that replaces a placeholder |
| # in the glyph format for a particular paragraph depends on the paragraph's |
| # order within the list. |
| "glyphType": "A String", # The type of glyph used by bullets when paragraphs at this level of |
| # nesting are ordered. |
| # |
| # The glyph type determines the type of glyph used to replace placeholders |
| # within the glyph_format |
| # when paragraphs at this level of nesting are ordered. For example, if the |
| # nesting level is 0, the glyph_format is `%0.` and the glyph |
| # type is DECIMAL, |
| # then the rendered glyph would replace the placeholder `%0` in the glyph |
| # format with a number corresponding to list item's order within the list. |
| "startNumber": 42, # The number of the first list item at this nesting level. |
| # |
| # A value of 0 is treated as a value of 1 for lettered lists and roman |
| # numeraled lists, i.e. for values of both 0 and 1, lettered and roman |
| # numeraled lists will begin at `a` and `i` respectively. |
| # |
| # This value is ignored for nesting levels with unordered glyphs. |
| "bulletAlignment": "A String", # The alignment of the bullet within the space allotted for rendering the |
| # bullet. |
| "glyphSymbol": "A String", # A custom glyph symbol used by bullets when paragraphs at this level of |
| # nesting are unordered. |
| # |
| # The glyph symbol replaces placeholders within the glyph_format. For example, if the |
| # glyph_symbol is the solid circle corresponding to Unicode U+25cf code |
| # point and the glyph_format is `%0`, the rendered |
| # glyph would be the solid circle. |
| "indentFirstLine": { # A magnitude in a single direction in the specified units. # The amount of indentation for the first line of paragraphs at this level of |
| # nesting. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| }, |
| ], |
| }, |
| "listPropertiesSuggestionState": { # A mask that indicates which of the fields on the base ListProperties have been changed in this suggestion. # A mask that indicates which of the fields on the base ListProperties have been changed in this suggestion. |
| # For any field set to true, there is a new suggested value. |
| "nestingLevelsSuggestionStates": [ # A mask that indicates which of the fields on the corresponding |
| # NestingLevel in nesting_levels have been changed in |
| # this suggestion. |
| # |
| # The nesting level suggestion states are returned in ascending order of the |
| # nesting level with the least nested returned first. |
| { # A mask that indicates which of the fields on the base NestingLevel have been changed in this suggestion. For |
| # any field set to true, there is a new suggested value. |
| "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields in text style have been changed in this |
| # suggestion. |
| # For any field set to true, there is a new suggested value. |
| "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| }, |
| "glyphFormatSuggested": True or False, # Indicates if there was a suggested change to |
| # glyph_format. |
| "indentStartSuggested": True or False, # Indicates if there was a suggested change to |
| # indent_start. |
| "startNumberSuggested": True or False, # Indicates if there was a suggested change to |
| # start_number. |
| "glyphTypeSuggested": True or False, # Indicates if there was a suggested change to |
| # glyph_type. |
| "indentFirstLineSuggested": True or False, # Indicates if there was a suggested change to |
| # indent_first_line. |
| "glyphSymbolSuggested": True or False, # Indicates if there was a suggested change to |
| # glyph_symbol. |
| "bulletAlignmentSuggested": True or False, # Indicates if there was a suggested change to |
| # bullet_alignment. |
| }, |
| ], |
| }, |
| }, |
| }, |
| "suggestedInsertionId": "A String", # The suggested insertion ID. If empty, then this is not a suggested |
| # insertion. |
| }, |
| }, |
| "headers": { # The headers in the document, keyed by header ID. |
| "a_key": { # A document header. |
| "headerId": "A String", # The ID of the header. |
| "content": [ # The contents of the header. |
| # |
| # The indexes for a header's content begin at zero. |
| { # A StructuralElement describes content that provides structure to the |
| # document. |
| "endIndex": 42, # The zero-based end index of this structural element, exclusive, in UTF-16 |
| # code units. |
| "sectionBreak": { # A StructuralElement representing a # A section break type of structural element. |
| # section break. A section is a range of content which has the same |
| # SectionStyle. A section break represents |
| # the start of a new section, and the section style applies to the section |
| # after the section break. |
| # |
| # The document body always begins with a section break. |
| "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| # of this content. |
| "A String", |
| ], |
| "sectionStyle": { # The styling that applies to a section. # The style of the section after this section break. |
| "contentDirection": "A String", # The content direction of this section. If unset, the value defaults to |
| # LEFT_TO_RIGHT. |
| "columnProperties": [ # The section's columns properties. |
| # |
| # If empty, the section contains one column with the default properties in |
| # the Docs editor. |
| { # Properties that apply to a section's column. |
| "width": { # A magnitude in a single direction in the specified units. # The width of the column. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "paddingEnd": { # A magnitude in a single direction in the specified units. # The padding at the end of the column. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| }, |
| ], |
| "columnSeparatorStyle": "A String", # The style of column separators. |
| # |
| # This style can be set even when there is one column in the section. |
| }, |
| "suggestedInsertionIds": [ # The suggested insertion IDs. A SectionBreak may have multiple insertion IDs if it is |
| # a nested suggested change. If empty, then this is not a suggested |
| # insertion. |
| "A String", |
| ], |
| }, |
| "tableOfContents": { # A StructuralElement representing # A table of contents type of structural element. |
| # a table of contents. |
| "content": [ # The content of the table of contents. |
| # Object with schema name: StructuralElement |
| ], |
| "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| # of this content. |
| "A String", |
| ], |
| "suggestedInsertionIds": [ # The suggested insertion IDs. A TableOfContents may have multiple insertion IDs if it |
| # is a nested suggested change. If empty, then this is not a suggested |
| # insertion. |
| "A String", |
| ], |
| }, |
| "startIndex": 42, # The zero-based start index of this structural element, in UTF-16 code |
| # units. |
| "paragraph": { # A StructuralElement representing a # A paragraph type of structural element. |
| # paragraph. A paragraph is a range of content that is terminated with a |
| # newline character. |
| "elements": [ # The content of the paragraph broken down into its component parts. |
| { # A ParagraphElement describes content within a |
| # Paragraph. |
| "endIndex": 42, # The zero-base end index of this paragraph element, exclusive, in UTF-16 |
| # code units. |
| "equation": { # A ParagraphElement representing an # An equation paragraph element. |
| # equation. |
| "suggestedInsertionIds": [ # The suggested insertion IDs. A Equation |
| # may have multiple insertion IDs if it is a nested suggested change. If |
| # empty, then this is not a suggested insertion. |
| "A String", |
| ], |
| "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| # of this content. |
| "A String", |
| ], |
| }, |
| "columnBreak": { # A ParagraphElement representing a # A column break paragraph element. |
| # column break. A column break makes the subsequent text start at the top of |
| # the next column. |
| "textStyle": { # Represents the styling that can be applied to text. # The text style of this ColumnBreak. |
| # |
| # Similar to text content, like text runs and footnote references, the text |
| # style of a column break can affect content layout as well as the styling of |
| # text inserted adjacent to it. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "suggestedInsertionIds": [ # The suggested insertion IDs. A ColumnBreak may have multiple insertion IDs if it is |
| # a nested suggested change. If empty, then this is not a suggested |
| # insertion. |
| "A String", |
| ], |
| "suggestedTextStyleChanges": { # The suggested text style changes to this ColumnBreak, keyed by suggestion |
| # ID. |
| "a_key": { # A suggested change to a TextStyle. |
| "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| # the changes made in this suggestion. This can be used along with the |
| # text_style_suggestion_state |
| # to see which fields have changed and their new values. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| # For any field set to true, there is a new suggested value. |
| "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| }, |
| }, |
| }, |
| "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| # of this content. |
| "A String", |
| ], |
| }, |
| "startIndex": 42, # The zero-based start index of this paragraph element, in UTF-16 code units. |
| "pageBreak": { # A ParagraphElement representing a # A page break paragraph element. |
| # page break. A page break makes the subsequent text start at the top of the |
| # next page. |
| "textStyle": { # Represents the styling that can be applied to text. # The text style of this PageBreak. |
| # |
| # Similar to text content, like text runs and footnote references, the text |
| # style of a page break can affect content layout as well as the styling of |
| # text inserted adjacent to it. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| # of this content. |
| "A String", |
| ], |
| "suggestedTextStyleChanges": { # The suggested text style changes to this PageBreak, keyed by suggestion ID. |
| "a_key": { # A suggested change to a TextStyle. |
| "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| # the changes made in this suggestion. This can be used along with the |
| # text_style_suggestion_state |
| # to see which fields have changed and their new values. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| # For any field set to true, there is a new suggested value. |
| "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| }, |
| }, |
| }, |
| "suggestedInsertionIds": [ # The suggested insertion IDs. A PageBreak |
| # may have multiple insertion IDs if it is a nested suggested change. If |
| # empty, then this is not a suggested insertion. |
| "A String", |
| ], |
| }, |
| "horizontalRule": { # A ParagraphElement representing a # A horizontal rule paragraph element. |
| # horizontal line. |
| "textStyle": { # Represents the styling that can be applied to text. # The text style of this HorizontalRule. |
| # |
| # Similar to text content, like text runs and footnote references, the text |
| # style of a horizontal rule can affect content layout as well as the styling |
| # of text inserted adjacent to it. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "suggestedInsertionIds": [ # The suggested insertion IDs. A HorizontalRule may have multiple insertion IDs if it |
| # is a nested suggested change. If empty, then this is not a suggested |
| # insertion. |
| "A String", |
| ], |
| "suggestedTextStyleChanges": { # The suggested text style changes to this HorizontalRule, keyed by |
| # suggestion ID. |
| "a_key": { # A suggested change to a TextStyle. |
| "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| # the changes made in this suggestion. This can be used along with the |
| # text_style_suggestion_state |
| # to see which fields have changed and their new values. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| # For any field set to true, there is a new suggested value. |
| "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| }, |
| }, |
| }, |
| "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| # of this content. |
| "A String", |
| ], |
| }, |
| "textRun": { # A ParagraphElement that represents a # A text run paragraph element. |
| # run of text that all has the same styling. |
| "content": "A String", # The text of this run. |
| # |
| # Any non-text elements in the run are replaced with the Unicode character |
| # U+E907. |
| "textStyle": { # Represents the styling that can be applied to text. # The text style of this run. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "suggestedInsertionIds": [ # The suggested insertion IDs. A TextRun may |
| # have multiple insertion IDs if it is a nested suggested change. If empty, |
| # then this is not a suggested insertion. |
| "A String", |
| ], |
| "suggestedTextStyleChanges": { # The suggested text style changes to this run, keyed by suggestion ID. |
| "a_key": { # A suggested change to a TextStyle. |
| "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| # the changes made in this suggestion. This can be used along with the |
| # text_style_suggestion_state |
| # to see which fields have changed and their new values. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| # For any field set to true, there is a new suggested value. |
| "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| }, |
| }, |
| }, |
| "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| # of this content. |
| "A String", |
| ], |
| }, |
| "autoText": { # A ParagraphElement representing a # An auto text paragraph element. |
| # spot in the text that is dynamically replaced with content that can change |
| # over time, like a page number. |
| "textStyle": { # Represents the styling that can be applied to text. # The text style of this AutoText. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| # of this content. |
| "A String", |
| ], |
| "suggestedTextStyleChanges": { # The suggested text style changes to this AutoText, keyed by suggestion ID. |
| "a_key": { # A suggested change to a TextStyle. |
| "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| # the changes made in this suggestion. This can be used along with the |
| # text_style_suggestion_state |
| # to see which fields have changed and their new values. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| # For any field set to true, there is a new suggested value. |
| "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| }, |
| }, |
| }, |
| "type": "A String", # The type of this auto text. |
| "suggestedInsertionIds": [ # The suggested insertion IDs. An AutoText |
| # may have multiple insertion IDs if it is a nested suggested change. If |
| # empty, then this is not a suggested insertion. |
| "A String", |
| ], |
| }, |
| "inlineObjectElement": { # A ParagraphElement that contains # An inline object paragraph element. |
| # an InlineObject. |
| "textStyle": { # Represents the styling that can be applied to text. # The text style of this InlineObjectElement. |
| # |
| # Similar to text content, like text runs and footnote references, the text |
| # style of an inline object element can affect content layout as well as the |
| # styling of text inserted adjacent to it. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| # of this content. |
| "A String", |
| ], |
| "suggestedTextStyleChanges": { # The suggested text style changes to this InlineObject, keyed by suggestion |
| # ID. |
| "a_key": { # A suggested change to a TextStyle. |
| "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| # the changes made in this suggestion. This can be used along with the |
| # text_style_suggestion_state |
| # to see which fields have changed and their new values. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| # For any field set to true, there is a new suggested value. |
| "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| }, |
| }, |
| }, |
| "inlineObjectId": "A String", # The ID of the InlineObject this |
| # element contains. |
| "suggestedInsertionIds": [ # The suggested insertion IDs. An InlineObjectElement may have multiple insertion IDs |
| # if it is a nested suggested change. If empty, then this is not a suggested |
| # insertion. |
| "A String", |
| ], |
| }, |
| "footnoteReference": { # A ParagraphElement representing a # A footnote reference paragraph element. |
| # footnote reference. A footnote reference is the inline content rendered with |
| # a number and is used to identify the footnote. |
| "textStyle": { # Represents the styling that can be applied to text. # The text style of this FootnoteReference. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "footnoteNumber": "A String", # The rendered number of this footnote. |
| "suggestedInsertionIds": [ # The suggested insertion IDs. A FootnoteReference may have multiple insertion IDs if |
| # it is a nested suggested change. If empty, then this is not a suggested |
| # insertion. |
| "A String", |
| ], |
| "footnoteId": "A String", # The ID of the footnote that |
| # contains the content of this footnote reference. |
| "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| # of this content. |
| "A String", |
| ], |
| "suggestedTextStyleChanges": { # The suggested text style changes to this FootnoteReference, keyed by |
| # suggestion ID. |
| "a_key": { # A suggested change to a TextStyle. |
| "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| # the changes made in this suggestion. This can be used along with the |
| # text_style_suggestion_state |
| # to see which fields have changed and their new values. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| # For any field set to true, there is a new suggested value. |
| "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| }, |
| }, |
| }, |
| }, |
| }, |
| ], |
| "suggestedPositionedObjectIds": { # The IDs of the positioned objects that are suggested to be attached to this |
| # paragraph, keyed by suggestion ID. |
| "a_key": { # A collection of object IDs. |
| "objectIds": [ # The object IDs. |
| "A String", |
| ], |
| }, |
| }, |
| "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. |
| "textStyle": { # Represents the styling that can be applied to text. # The paragraph specific text style applied to this bullet. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| }, |
| "suggestedBulletChanges": { # The suggested changes to this paragraph's bullet. |
| "a_key": { # A suggested change to a Bullet. |
| "bullet": { # Describes the bullet of a paragraph. # A Bullet that only includes the changes made |
| # in this suggestion. This can be used along with the |
| # bullet_suggestion_state to see which |
| # fields have changed and their new values. |
| "nestingLevel": 42, # The nesting level of this paragraph in the list. |
| "listId": "A String", # The ID of the list this paragraph belongs to. |
| "textStyle": { # Represents the styling that can be applied to text. # The paragraph specific text style applied to this bullet. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| }, |
| "bulletSuggestionState": { # A mask that indicates which of the fields on the base # A mask that indicates which of the fields on the base |
| # Bullet have been changed in this suggestion. |
| # Bullet have been changed in this suggestion. |
| # For any field set to true, there is a new suggested value. |
| "nestingLevelSuggested": True or False, # Indicates if there was a suggested change to the |
| # nesting_level. |
| "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields in text style have been changed in this |
| # suggestion. |
| # For any field set to true, there is a new suggested value. |
| "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| }, |
| "listIdSuggested": True or False, # Indicates if there was a suggested change to the |
| # list_id. |
| }, |
| }, |
| }, |
| "positionedObjectIds": [ # The IDs of the positioned objects tethered to this paragraph. |
| "A String", |
| ], |
| "suggestedParagraphStyleChanges": { # The suggested paragraph style changes to this paragraph, keyed by |
| # suggestion ID. |
| "a_key": { # A suggested change to a |
| # ParagraphStyle. |
| "paragraphStyleSuggestionState": { # A mask that indicates which of the fields on the base ParagraphStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base ParagraphStyle have been changed in this suggestion. |
| # For any field set to true, there is a new suggested value. |
| "avoidWidowAndOrphanSuggested": True or False, # Indicates if there was a suggested change to avoid_widow_and_orphan. |
| "lineSpacingSuggested": True or False, # Indicates if there was a suggested change to line_spacing. |
| "spacingModeSuggested": True or False, # Indicates if there was a suggested change to spacing_mode. |
| "spaceBelowSuggested": True or False, # Indicates if there was a suggested change to space_below. |
| "borderRightSuggested": True or False, # Indicates if there was a suggested change to border_right. |
| "indentStartSuggested": True or False, # Indicates if there was a suggested change to indent_start. |
| "namedStyleTypeSuggested": True or False, # Indicates if there was a suggested change to named_style_type. |
| "indentEndSuggested": True or False, # Indicates if there was a suggested change to indent_end. |
| "borderBetweenSuggested": True or False, # Indicates if there was a suggested change to border_between. |
| "borderTopSuggested": True or False, # Indicates if there was a suggested change to border_top. |
| "borderLeftSuggested": True or False, # Indicates if there was a suggested change to border_left. |
| "keepWithNextSuggested": True or False, # Indicates if there was a suggested change to keep_with_next. |
| "spaceAboveSuggested": True or False, # Indicates if there was a suggested change to space_above. |
| "alignmentSuggested": True or False, # Indicates if there was a suggested change to alignment. |
| "indentFirstLineSuggested": True or False, # Indicates if there was a suggested change to indent_first_line. |
| "headingIdSuggested": True or False, # Indicates if there was a suggested change to heading_id. |
| "borderBottomSuggested": True or False, # Indicates if there was a suggested change to border_bottom. |
| "directionSuggested": True or False, # Indicates if there was a suggested change to direction. |
| "keepLinesTogetherSuggested": True or False, # Indicates if there was a suggested change to keep_lines_together. |
| "shadingSuggestionState": { # A mask that indicates which of the fields on the base Shading have been changed in this # A mask that indicates which of the fields in shading have been changed in |
| # this suggestion. |
| # suggested change. For any field set to true, there is a new suggested value. |
| "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to the Shading. |
| }, |
| }, |
| "paragraphStyle": { # Styles that apply to a whole paragraph. # A ParagraphStyle that only includes |
| # the changes made in this suggestion. This can be used along with the |
| # paragraph_suggestion_state |
| # to see which fields have changed and their new values. |
| # |
| # Inherited paragraph styles are represented as unset fields in this message. |
| # A paragraph style's parent depends on where the paragraph style is defined: |
| # |
| # * The ParagraphStyle on a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The ParagraphStyle on a named style |
| # inherits from the normal text named style. |
| # * The ParagraphStyle of the normal text named style inherits |
| # from the default paragraph style in the Docs editor. |
| # * The ParagraphStyle on a Paragraph |
| # element that is contained in a table may inherit its paragraph style from |
| # the table style. |
| # |
| # If the paragraph style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "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 |
| # paragraph 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. |
| }, |
| "keepWithNext": True or False, # Whether at least a part of this paragraph should be laid out on the same |
| # page or column as the next paragraph if possible. If unset, the value is |
| # inherited from the parent. |
| "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. |
| "avoidWidowAndOrphan": True or False, # Whether to avoid widows and orphans for the paragraph. If unset, the value |
| # is inherited from the parent. |
| "borderBottom": { # A border around a paragraph. # The border at the bottom of this paragraph. If unset, the value is |
| # inherited from the parent. |
| # |
| # The bottom border is rendered when the paragraph below has different border |
| # and indent properties. |
| # |
| # Paragraph borders cannot be partially updated. When making |
| # changes to a paragraph border the new border must be specified in |
| # its entirety. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| }, |
| "indentStart": { # A magnitude in a single direction in the specified units. # The amount of indentation for the paragraph on the side that corresponds to |
| # the start of the text, based on the current paragraph direction. If unset, |
| # the value is inherited from the parent. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "borderBetween": { # A border around a paragraph. # The border between this paragraph and the next and previous paragraphs. |
| # If unset, the value is inherited from the parent. |
| # |
| # The between border is rendered when the adjacent paragraph has the same |
| # border and indent properties. |
| # |
| # Paragraph borders cannot be partially updated. When making |
| # changes to a paragraph border the new border must be specified in |
| # its entirety. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| }, |
| "namedStyleType": "A String", # The named style type of the paragraph. |
| # |
| # Since updating the named style type affects other properties within |
| # ParagraphStyle, the named style type is applied before the other properties |
| # are updated. |
| "borderRight": { # A border around a paragraph. # The border to the right of this paragraph. If unset, the value is inherited |
| # from the parent. |
| # |
| # Paragraph borders cannot be partially updated. When making |
| # changes to a paragraph border the new border must be specified in |
| # its entirety. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| "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 of indentation for the paragraph on the side that corresponds to |
| # the end of the text, based on the current paragraph direction. If unset, |
| # the value is inherited from the parent. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "borderLeft": { # A border around a paragraph. # The border to the left of this paragraph. If unset, the value is inherited |
| # from the parent. |
| # |
| # Paragraph borders cannot be partially updated. When making |
| # changes to a paragraph border the new border must be specified in |
| # its entirety. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| "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. |
| }, |
| "headingId": "A String", # The heading ID of the paragraph. If empty, then this paragraph is not a |
| # heading. This property is read-only. |
| "shading": { # The shading of a paragraph. # The shading of the paragraph. If unset, the value is inherited from the |
| # parent. |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of this paragraph shading. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| }, |
| "borderTop": { # A border around a paragraph. # The border at the top of this paragraph. If unset, the value is inherited |
| # from the parent. |
| # |
| # The top border is rendered when the paragraph above has different border |
| # and indent properties. |
| # |
| # Paragraph borders cannot be partially updated. When making |
| # changes to a paragraph border the new border must be specified in |
| # its entirety. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| }, |
| "tabStops": [ # A list of the tab stops for this paragraph. The list of tab stops is not |
| # inherited. This property is read-only. |
| { # A tab stop within a paragraph. |
| "alignment": "A String", # The alignment of this tab stop. If unset, the value defaults to START. |
| "offset": { # A magnitude in a single direction in the specified units. # The offset between this tab stop and the start margin. |
| "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 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. |
| "keepLinesTogether": True or False, # Whether all lines of the paragraph should be laid out on the same page or |
| # column if possible. If unset, the value is inherited from the parent. |
| }, |
| }, |
| }, |
| "paragraphStyle": { # Styles that apply to a whole paragraph. # The style of this paragraph. |
| # |
| # Inherited paragraph styles are represented as unset fields in this message. |
| # A paragraph style's parent depends on where the paragraph style is defined: |
| # |
| # * The ParagraphStyle on a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The ParagraphStyle on a named style |
| # inherits from the normal text named style. |
| # * The ParagraphStyle of the normal text named style inherits |
| # from the default paragraph style in the Docs editor. |
| # * The ParagraphStyle on a Paragraph |
| # element that is contained in a table may inherit its paragraph style from |
| # the table style. |
| # |
| # If the paragraph style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "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 |
| # paragraph 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. |
| }, |
| "keepWithNext": True or False, # Whether at least a part of this paragraph should be laid out on the same |
| # page or column as the next paragraph if possible. If unset, the value is |
| # inherited from the parent. |
| "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. |
| "avoidWidowAndOrphan": True or False, # Whether to avoid widows and orphans for the paragraph. If unset, the value |
| # is inherited from the parent. |
| "borderBottom": { # A border around a paragraph. # The border at the bottom of this paragraph. If unset, the value is |
| # inherited from the parent. |
| # |
| # The bottom border is rendered when the paragraph below has different border |
| # and indent properties. |
| # |
| # Paragraph borders cannot be partially updated. When making |
| # changes to a paragraph border the new border must be specified in |
| # its entirety. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| }, |
| "indentStart": { # A magnitude in a single direction in the specified units. # The amount of indentation for the paragraph on the side that corresponds to |
| # the start of the text, based on the current paragraph direction. If unset, |
| # the value is inherited from the parent. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "borderBetween": { # A border around a paragraph. # The border between this paragraph and the next and previous paragraphs. |
| # If unset, the value is inherited from the parent. |
| # |
| # The between border is rendered when the adjacent paragraph has the same |
| # border and indent properties. |
| # |
| # Paragraph borders cannot be partially updated. When making |
| # changes to a paragraph border the new border must be specified in |
| # its entirety. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| }, |
| "namedStyleType": "A String", # The named style type of the paragraph. |
| # |
| # Since updating the named style type affects other properties within |
| # ParagraphStyle, the named style type is applied before the other properties |
| # are updated. |
| "borderRight": { # A border around a paragraph. # The border to the right of this paragraph. If unset, the value is inherited |
| # from the parent. |
| # |
| # Paragraph borders cannot be partially updated. When making |
| # changes to a paragraph border the new border must be specified in |
| # its entirety. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| "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 of indentation for the paragraph on the side that corresponds to |
| # the end of the text, based on the current paragraph direction. If unset, |
| # the value is inherited from the parent. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "borderLeft": { # A border around a paragraph. # The border to the left of this paragraph. If unset, the value is inherited |
| # from the parent. |
| # |
| # Paragraph borders cannot be partially updated. When making |
| # changes to a paragraph border the new border must be specified in |
| # its entirety. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| "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. |
| }, |
| "headingId": "A String", # The heading ID of the paragraph. If empty, then this paragraph is not a |
| # heading. This property is read-only. |
| "shading": { # The shading of a paragraph. # The shading of the paragraph. If unset, the value is inherited from the |
| # parent. |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of this paragraph shading. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| }, |
| "borderTop": { # A border around a paragraph. # The border at the top of this paragraph. If unset, the value is inherited |
| # from the parent. |
| # |
| # The top border is rendered when the paragraph above has different border |
| # and indent properties. |
| # |
| # Paragraph borders cannot be partially updated. When making |
| # changes to a paragraph border the new border must be specified in |
| # its entirety. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| }, |
| "tabStops": [ # A list of the tab stops for this paragraph. The list of tab stops is not |
| # inherited. This property is read-only. |
| { # A tab stop within a paragraph. |
| "alignment": "A String", # The alignment of this tab stop. If unset, the value defaults to START. |
| "offset": { # A magnitude in a single direction in the specified units. # The offset between this tab stop and the start margin. |
| "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 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. |
| "keepLinesTogether": True or False, # Whether all lines of the paragraph should be laid out on the same page or |
| # column if possible. If unset, the value is inherited from the parent. |
| }, |
| }, |
| "table": { # A StructuralElement representing a # A table type of structural element. |
| # table. |
| "rows": 42, # Number of rows in the table. |
| "tableStyle": { # Styles that apply to a table. # The style of the table. |
| "tableColumnProperties": [ # The properties of each column. |
| # |
| # Note that in Docs, tables contain rows and rows contain cells, similar to |
| # HTML. So the properties for a row can be found on the row's |
| # table_row_style. |
| { # The properties of a column in a table. |
| "width": { # A magnitude in a single direction in the specified units. # The width of the column. Set when the column's `width_type` is |
| # FIXED_WIDTH. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "widthType": "A String", # The width type of the column. |
| }, |
| ], |
| }, |
| "suggestedInsertionIds": [ # The suggested insertion IDs. A Table may have |
| # multiple insertion IDs if it is a nested suggested change. If empty, then |
| # this is not a suggested insertion. |
| "A String", |
| ], |
| "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| # of this content. |
| "A String", |
| ], |
| "tableRows": [ # The contents and style of each row. |
| { # The contents and style of a row in a Table. |
| "endIndex": 42, # The zero-based end index of this row, exclusive, in UTF-16 code units. |
| "tableCells": [ # The contents and style of each cell in this row. |
| # |
| # It is possible for a table to be non-rectangular, so some rows may have a |
| # different number of cells than other rows in the same table. |
| { # The contents and style of a cell in a Table. |
| "endIndex": 42, # The zero-based end index of this cell, exclusive, in UTF-16 code units. |
| "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| # of this content. |
| "A String", |
| ], |
| "suggestedInsertionIds": [ # The suggested insertion IDs. A TableCell |
| # may have multiple insertion IDs if it is a nested suggested change. If |
| # empty, then this is not a suggested insertion. |
| "A String", |
| ], |
| "content": [ # The content of the cell. |
| # Object with schema name: StructuralElement |
| ], |
| "tableCellStyle": { # The style of a TableCell. # The style of the cell. |
| # |
| # Inherited table cell styles are represented as unset fields in this message. |
| # A table cell style can inherit from the table's style. |
| "paddingBottom": { # A magnitude in a single direction in the specified units. # The bottom padding of the cell. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "borderBottom": { # A border around a table cell. # The bottom border of the cell. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| }, |
| "paddingLeft": { # A magnitude in a single direction in the specified units. # The left padding of the cell. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "paddingTop": { # A magnitude in a single direction in the specified units. # The top padding of the cell. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "borderLeft": { # A border around a table cell. # The left border of the cell. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| }, |
| "columnSpan": 42, # The column span of the cell. This property is read-only. |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the cell. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "borderRight": { # A border around a table cell. # The right border of the cell. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| }, |
| "rowSpan": 42, # The row span of the cell. This property is read-only. |
| "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 Docs editor. |
| "paddingRight": { # A magnitude in a single direction in the specified units. # The right padding of the cell. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "borderTop": { # A border around a table cell. # The top border of the cell. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| }, |
| }, |
| "startIndex": 42, # The zero-based start index of this cell, in UTF-16 code units. |
| "suggestedTableCellStyleChanges": { # The suggested changes to the table cell style, keyed by suggestion ID. |
| "a_key": { # A suggested change to a TableCellStyle. |
| "tableCellStyle": { # The style of a TableCell. # A TableCellStyle that only includes |
| # the changes made in this suggestion. This can be used along with the |
| # table_cell_style_suggestion_state |
| # to see which fields have changed and their new values. |
| # |
| # Inherited table cell styles are represented as unset fields in this message. |
| # A table cell style can inherit from the table's style. |
| "paddingBottom": { # A magnitude in a single direction in the specified units. # The bottom padding of the cell. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "borderBottom": { # A border around a table cell. # The bottom border of the cell. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| }, |
| "paddingLeft": { # A magnitude in a single direction in the specified units. # The left padding of the cell. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "paddingTop": { # A magnitude in a single direction in the specified units. # The top padding of the cell. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "borderLeft": { # A border around a table cell. # The left border of the cell. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| }, |
| "columnSpan": 42, # The column span of the cell. This property is read-only. |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the cell. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "borderRight": { # A border around a table cell. # The right border of the cell. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| }, |
| "rowSpan": 42, # The row span of the cell. This property is read-only. |
| "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 Docs editor. |
| "paddingRight": { # A magnitude in a single direction in the specified units. # The right padding of the cell. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "borderTop": { # A border around a table cell. # The top border of the cell. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| }, |
| }, |
| "tableCellStyleSuggestionState": { # A mask that indicates which of the fields on the base TableCellStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TableCellStyle have been changed in this suggestion. |
| # For any field set to true, there is a new suggested value. |
| "borderRightSuggested": True or False, # Indicates if there was a suggested change to border_right. |
| "borderBottomSuggested": True or False, # Indicates if there was a suggested change to border_bottom. |
| "paddingBottomSuggested": True or False, # Indicates if there was a suggested change to padding_bottom. |
| "contentAlignmentSuggested": True or False, # Indicates if there was a suggested change to content_alignment. |
| "rowSpanSuggested": True or False, # Indicates if there was a suggested change to row_span. |
| "borderLeftSuggested": True or False, # Indicates if there was a suggested change to border_left. |
| "borderTopSuggested": True or False, # Indicates if there was a suggested change to border_top. |
| "columnSpanSuggested": True or False, # Indicates if there was a suggested change to column_span. |
| "paddingRightSuggested": True or False, # Indicates if there was a suggested change to padding_right. |
| "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| "paddingLeftSuggested": True or False, # Indicates if there was a suggested change to padding_left. |
| "paddingTopSuggested": True or False, # Indicates if there was a suggested change to padding_top. |
| }, |
| }, |
| }, |
| }, |
| ], |
| "tableRowStyle": { # Styles that apply to a table row. # The style of the table row. |
| "minRowHeight": { # A magnitude in a single direction in the specified units. # The minimum height of the row. The row will be rendered in the Docs editor |
| # at a height equal to or greater than this value in order to show all the |
| # content in the row's cells. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| }, |
| "suggestedInsertionIds": [ # The suggested insertion IDs. A TableRow |
| # may have multiple insertion IDs if it is a nested suggested change. If |
| # empty, then this is not a suggested insertion. |
| "A String", |
| ], |
| "startIndex": 42, # The zero-based start index of this row, in UTF-16 code units. |
| "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| # of this content. |
| "A String", |
| ], |
| "suggestedTableRowStyleChanges": { # The suggested style changes to this row, keyed by suggestion ID. |
| "a_key": { # A suggested change to a |
| # TableRowStyle. |
| "tableRowStyle": { # Styles that apply to a table row. # A TableRowStyle that only includes |
| # the changes made in this suggestion. This can be used along with the |
| # table_row_style_suggestion_state |
| # to see which fields have changed and their new values. |
| "minRowHeight": { # A magnitude in a single direction in the specified units. # The minimum height of the row. The row will be rendered in the Docs editor |
| # at a height equal to or greater than this value in order to show all the |
| # content in the row's cells. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| }, |
| "tableRowStyleSuggestionState": { # A mask that indicates which of the fields on the base TableRowStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TableRowStyle have been changed in this suggestion. |
| # For any field set to true, there is a new suggested value. |
| "minRowHeightSuggested": True or False, # Indicates if there was a suggested change to min_row_height. |
| }, |
| }, |
| }, |
| }, |
| ], |
| "columns": 42, # Number of columns in the table. |
| # |
| # It is possible for a table to be non-rectangular, so some rows may have a |
| # different number of cells. |
| }, |
| }, |
| ], |
| }, |
| }, |
| "namedStyles": { # The named styles. Paragraphs in the document can inherit their # The named styles of the document. |
| # TextStyle and |
| # ParagraphStyle from these named styles. |
| "styles": [ # The named styles. |
| # |
| # There is an entry for each of the possible named style types. |
| { # A named style. Paragraphs in the document can inherit their |
| # TextStyle and |
| # ParagraphStyle from this named style |
| # when they have the same named style type. |
| "textStyle": { # Represents the styling that can be applied to text. # The text style of this named style. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "namedStyleType": "A String", # The type of this named style. |
| "paragraphStyle": { # Styles that apply to a whole paragraph. # The paragraph style of this named style. |
| # |
| # Inherited paragraph styles are represented as unset fields in this message. |
| # A paragraph style's parent depends on where the paragraph style is defined: |
| # |
| # * The ParagraphStyle on a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The ParagraphStyle on a named style |
| # inherits from the normal text named style. |
| # * The ParagraphStyle of the normal text named style inherits |
| # from the default paragraph style in the Docs editor. |
| # * The ParagraphStyle on a Paragraph |
| # element that is contained in a table may inherit its paragraph style from |
| # the table style. |
| # |
| # If the paragraph style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "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 |
| # paragraph 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. |
| }, |
| "keepWithNext": True or False, # Whether at least a part of this paragraph should be laid out on the same |
| # page or column as the next paragraph if possible. If unset, the value is |
| # inherited from the parent. |
| "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. |
| "avoidWidowAndOrphan": True or False, # Whether to avoid widows and orphans for the paragraph. If unset, the value |
| # is inherited from the parent. |
| "borderBottom": { # A border around a paragraph. # The border at the bottom of this paragraph. If unset, the value is |
| # inherited from the parent. |
| # |
| # The bottom border is rendered when the paragraph below has different border |
| # and indent properties. |
| # |
| # Paragraph borders cannot be partially updated. When making |
| # changes to a paragraph border the new border must be specified in |
| # its entirety. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| }, |
| "indentStart": { # A magnitude in a single direction in the specified units. # The amount of indentation for the paragraph on the side that corresponds to |
| # the start of the text, based on the current paragraph direction. If unset, |
| # the value is inherited from the parent. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "borderBetween": { # A border around a paragraph. # The border between this paragraph and the next and previous paragraphs. |
| # If unset, the value is inherited from the parent. |
| # |
| # The between border is rendered when the adjacent paragraph has the same |
| # border and indent properties. |
| # |
| # Paragraph borders cannot be partially updated. When making |
| # changes to a paragraph border the new border must be specified in |
| # its entirety. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| }, |
| "namedStyleType": "A String", # The named style type of the paragraph. |
| # |
| # Since updating the named style type affects other properties within |
| # ParagraphStyle, the named style type is applied before the other properties |
| # are updated. |
| "borderRight": { # A border around a paragraph. # The border to the right of this paragraph. If unset, the value is inherited |
| # from the parent. |
| # |
| # Paragraph borders cannot be partially updated. When making |
| # changes to a paragraph border the new border must be specified in |
| # its entirety. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| "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 of indentation for the paragraph on the side that corresponds to |
| # the end of the text, based on the current paragraph direction. If unset, |
| # the value is inherited from the parent. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "borderLeft": { # A border around a paragraph. # The border to the left of this paragraph. If unset, the value is inherited |
| # from the parent. |
| # |
| # Paragraph borders cannot be partially updated. When making |
| # changes to a paragraph border the new border must be specified in |
| # its entirety. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| "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. |
| }, |
| "headingId": "A String", # The heading ID of the paragraph. If empty, then this paragraph is not a |
| # heading. This property is read-only. |
| "shading": { # The shading of a paragraph. # The shading of the paragraph. If unset, the value is inherited from the |
| # parent. |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of this paragraph shading. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| }, |
| "borderTop": { # A border around a paragraph. # The border at the top of this paragraph. If unset, the value is inherited |
| # from the parent. |
| # |
| # The top border is rendered when the paragraph above has different border |
| # and indent properties. |
| # |
| # Paragraph borders cannot be partially updated. When making |
| # changes to a paragraph border the new border must be specified in |
| # its entirety. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| }, |
| "tabStops": [ # A list of the tab stops for this paragraph. The list of tab stops is not |
| # inherited. This property is read-only. |
| { # A tab stop within a paragraph. |
| "alignment": "A String", # The alignment of this tab stop. If unset, the value defaults to START. |
| "offset": { # A magnitude in a single direction in the specified units. # The offset between this tab stop and the start margin. |
| "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 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. |
| "keepLinesTogether": True or False, # Whether all lines of the paragraph should be laid out on the same page or |
| # column if possible. If unset, the value is inherited from the parent. |
| }, |
| }, |
| ], |
| }, |
| "footers": { # The footers in the document, keyed by footer ID. |
| "a_key": { # A document footer. |
| "content": [ # The contents of the footer. |
| # |
| # The indexes for a footer's content begin at zero. |
| { # A StructuralElement describes content that provides structure to the |
| # document. |
| "endIndex": 42, # The zero-based end index of this structural element, exclusive, in UTF-16 |
| # code units. |
| "sectionBreak": { # A StructuralElement representing a # A section break type of structural element. |
| # section break. A section is a range of content which has the same |
| # SectionStyle. A section break represents |
| # the start of a new section, and the section style applies to the section |
| # after the section break. |
| # |
| # The document body always begins with a section break. |
| "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| # of this content. |
| "A String", |
| ], |
| "sectionStyle": { # The styling that applies to a section. # The style of the section after this section break. |
| "contentDirection": "A String", # The content direction of this section. If unset, the value defaults to |
| # LEFT_TO_RIGHT. |
| "columnProperties": [ # The section's columns properties. |
| # |
| # If empty, the section contains one column with the default properties in |
| # the Docs editor. |
| { # Properties that apply to a section's column. |
| "width": { # A magnitude in a single direction in the specified units. # The width of the column. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "paddingEnd": { # A magnitude in a single direction in the specified units. # The padding at the end of the column. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| }, |
| ], |
| "columnSeparatorStyle": "A String", # The style of column separators. |
| # |
| # This style can be set even when there is one column in the section. |
| }, |
| "suggestedInsertionIds": [ # The suggested insertion IDs. A SectionBreak may have multiple insertion IDs if it is |
| # a nested suggested change. If empty, then this is not a suggested |
| # insertion. |
| "A String", |
| ], |
| }, |
| "tableOfContents": { # A StructuralElement representing # A table of contents type of structural element. |
| # a table of contents. |
| "content": [ # The content of the table of contents. |
| # Object with schema name: StructuralElement |
| ], |
| "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| # of this content. |
| "A String", |
| ], |
| "suggestedInsertionIds": [ # The suggested insertion IDs. A TableOfContents may have multiple insertion IDs if it |
| # is a nested suggested change. If empty, then this is not a suggested |
| # insertion. |
| "A String", |
| ], |
| }, |
| "startIndex": 42, # The zero-based start index of this structural element, in UTF-16 code |
| # units. |
| "paragraph": { # A StructuralElement representing a # A paragraph type of structural element. |
| # paragraph. A paragraph is a range of content that is terminated with a |
| # newline character. |
| "elements": [ # The content of the paragraph broken down into its component parts. |
| { # A ParagraphElement describes content within a |
| # Paragraph. |
| "endIndex": 42, # The zero-base end index of this paragraph element, exclusive, in UTF-16 |
| # code units. |
| "equation": { # A ParagraphElement representing an # An equation paragraph element. |
| # equation. |
| "suggestedInsertionIds": [ # The suggested insertion IDs. A Equation |
| # may have multiple insertion IDs if it is a nested suggested change. If |
| # empty, then this is not a suggested insertion. |
| "A String", |
| ], |
| "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| # of this content. |
| "A String", |
| ], |
| }, |
| "columnBreak": { # A ParagraphElement representing a # A column break paragraph element. |
| # column break. A column break makes the subsequent text start at the top of |
| # the next column. |
| "textStyle": { # Represents the styling that can be applied to text. # The text style of this ColumnBreak. |
| # |
| # Similar to text content, like text runs and footnote references, the text |
| # style of a column break can affect content layout as well as the styling of |
| # text inserted adjacent to it. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "suggestedInsertionIds": [ # The suggested insertion IDs. A ColumnBreak may have multiple insertion IDs if it is |
| # a nested suggested change. If empty, then this is not a suggested |
| # insertion. |
| "A String", |
| ], |
| "suggestedTextStyleChanges": { # The suggested text style changes to this ColumnBreak, keyed by suggestion |
| # ID. |
| "a_key": { # A suggested change to a TextStyle. |
| "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| # the changes made in this suggestion. This can be used along with the |
| # text_style_suggestion_state |
| # to see which fields have changed and their new values. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| # For any field set to true, there is a new suggested value. |
| "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| }, |
| }, |
| }, |
| "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| # of this content. |
| "A String", |
| ], |
| }, |
| "startIndex": 42, # The zero-based start index of this paragraph element, in UTF-16 code units. |
| "pageBreak": { # A ParagraphElement representing a # A page break paragraph element. |
| # page break. A page break makes the subsequent text start at the top of the |
| # next page. |
| "textStyle": { # Represents the styling that can be applied to text. # The text style of this PageBreak. |
| # |
| # Similar to text content, like text runs and footnote references, the text |
| # style of a page break can affect content layout as well as the styling of |
| # text inserted adjacent to it. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| # of this content. |
| "A String", |
| ], |
| "suggestedTextStyleChanges": { # The suggested text style changes to this PageBreak, keyed by suggestion ID. |
| "a_key": { # A suggested change to a TextStyle. |
| "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| # the changes made in this suggestion. This can be used along with the |
| # text_style_suggestion_state |
| # to see which fields have changed and their new values. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| # For any field set to true, there is a new suggested value. |
| "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| }, |
| }, |
| }, |
| "suggestedInsertionIds": [ # The suggested insertion IDs. A PageBreak |
| # may have multiple insertion IDs if it is a nested suggested change. If |
| # empty, then this is not a suggested insertion. |
| "A String", |
| ], |
| }, |
| "horizontalRule": { # A ParagraphElement representing a # A horizontal rule paragraph element. |
| # horizontal line. |
| "textStyle": { # Represents the styling that can be applied to text. # The text style of this HorizontalRule. |
| # |
| # Similar to text content, like text runs and footnote references, the text |
| # style of a horizontal rule can affect content layout as well as the styling |
| # of text inserted adjacent to it. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "suggestedInsertionIds": [ # The suggested insertion IDs. A HorizontalRule may have multiple insertion IDs if it |
| # is a nested suggested change. If empty, then this is not a suggested |
| # insertion. |
| "A String", |
| ], |
| "suggestedTextStyleChanges": { # The suggested text style changes to this HorizontalRule, keyed by |
| # suggestion ID. |
| "a_key": { # A suggested change to a TextStyle. |
| "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| # the changes made in this suggestion. This can be used along with the |
| # text_style_suggestion_state |
| # to see which fields have changed and their new values. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| # For any field set to true, there is a new suggested value. |
| "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| }, |
| }, |
| }, |
| "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| # of this content. |
| "A String", |
| ], |
| }, |
| "textRun": { # A ParagraphElement that represents a # A text run paragraph element. |
| # run of text that all has the same styling. |
| "content": "A String", # The text of this run. |
| # |
| # Any non-text elements in the run are replaced with the Unicode character |
| # U+E907. |
| "textStyle": { # Represents the styling that can be applied to text. # The text style of this run. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "suggestedInsertionIds": [ # The suggested insertion IDs. A TextRun may |
| # have multiple insertion IDs if it is a nested suggested change. If empty, |
| # then this is not a suggested insertion. |
| "A String", |
| ], |
| "suggestedTextStyleChanges": { # The suggested text style changes to this run, keyed by suggestion ID. |
| "a_key": { # A suggested change to a TextStyle. |
| "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| # the changes made in this suggestion. This can be used along with the |
| # text_style_suggestion_state |
| # to see which fields have changed and their new values. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| # For any field set to true, there is a new suggested value. |
| "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| }, |
| }, |
| }, |
| "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| # of this content. |
| "A String", |
| ], |
| }, |
| "autoText": { # A ParagraphElement representing a # An auto text paragraph element. |
| # spot in the text that is dynamically replaced with content that can change |
| # over time, like a page number. |
| "textStyle": { # Represents the styling that can be applied to text. # The text style of this AutoText. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| # of this content. |
| "A String", |
| ], |
| "suggestedTextStyleChanges": { # The suggested text style changes to this AutoText, keyed by suggestion ID. |
| "a_key": { # A suggested change to a TextStyle. |
| "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| # the changes made in this suggestion. This can be used along with the |
| # text_style_suggestion_state |
| # to see which fields have changed and their new values. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| # For any field set to true, there is a new suggested value. |
| "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| }, |
| }, |
| }, |
| "type": "A String", # The type of this auto text. |
| "suggestedInsertionIds": [ # The suggested insertion IDs. An AutoText |
| # may have multiple insertion IDs if it is a nested suggested change. If |
| # empty, then this is not a suggested insertion. |
| "A String", |
| ], |
| }, |
| "inlineObjectElement": { # A ParagraphElement that contains # An inline object paragraph element. |
| # an InlineObject. |
| "textStyle": { # Represents the styling that can be applied to text. # The text style of this InlineObjectElement. |
| # |
| # Similar to text content, like text runs and footnote references, the text |
| # style of an inline object element can affect content layout as well as the |
| # styling of text inserted adjacent to it. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| # of this content. |
| "A String", |
| ], |
| "suggestedTextStyleChanges": { # The suggested text style changes to this InlineObject, keyed by suggestion |
| # ID. |
| "a_key": { # A suggested change to a TextStyle. |
| "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| # the changes made in this suggestion. This can be used along with the |
| # text_style_suggestion_state |
| # to see which fields have changed and their new values. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| # For any field set to true, there is a new suggested value. |
| "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| }, |
| }, |
| }, |
| "inlineObjectId": "A String", # The ID of the InlineObject this |
| # element contains. |
| "suggestedInsertionIds": [ # The suggested insertion IDs. An InlineObjectElement may have multiple insertion IDs |
| # if it is a nested suggested change. If empty, then this is not a suggested |
| # insertion. |
| "A String", |
| ], |
| }, |
| "footnoteReference": { # A ParagraphElement representing a # A footnote reference paragraph element. |
| # footnote reference. A footnote reference is the inline content rendered with |
| # a number and is used to identify the footnote. |
| "textStyle": { # Represents the styling that can be applied to text. # The text style of this FootnoteReference. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "footnoteNumber": "A String", # The rendered number of this footnote. |
| "suggestedInsertionIds": [ # The suggested insertion IDs. A FootnoteReference may have multiple insertion IDs if |
| # it is a nested suggested change. If empty, then this is not a suggested |
| # insertion. |
| "A String", |
| ], |
| "footnoteId": "A String", # The ID of the footnote that |
| # contains the content of this footnote reference. |
| "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| # of this content. |
| "A String", |
| ], |
| "suggestedTextStyleChanges": { # The suggested text style changes to this FootnoteReference, keyed by |
| # suggestion ID. |
| "a_key": { # A suggested change to a TextStyle. |
| "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| # the changes made in this suggestion. This can be used along with the |
| # text_style_suggestion_state |
| # to see which fields have changed and their new values. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| # For any field set to true, there is a new suggested value. |
| "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| }, |
| }, |
| }, |
| }, |
| }, |
| ], |
| "suggestedPositionedObjectIds": { # The IDs of the positioned objects that are suggested to be attached to this |
| # paragraph, keyed by suggestion ID. |
| "a_key": { # A collection of object IDs. |
| "objectIds": [ # The object IDs. |
| "A String", |
| ], |
| }, |
| }, |
| "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. |
| "textStyle": { # Represents the styling that can be applied to text. # The paragraph specific text style applied to this bullet. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| }, |
| "suggestedBulletChanges": { # The suggested changes to this paragraph's bullet. |
| "a_key": { # A suggested change to a Bullet. |
| "bullet": { # Describes the bullet of a paragraph. # A Bullet that only includes the changes made |
| # in this suggestion. This can be used along with the |
| # bullet_suggestion_state to see which |
| # fields have changed and their new values. |
| "nestingLevel": 42, # The nesting level of this paragraph in the list. |
| "listId": "A String", # The ID of the list this paragraph belongs to. |
| "textStyle": { # Represents the styling that can be applied to text. # The paragraph specific text style applied to this bullet. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| }, |
| "bulletSuggestionState": { # A mask that indicates which of the fields on the base # A mask that indicates which of the fields on the base |
| # Bullet have been changed in this suggestion. |
| # Bullet have been changed in this suggestion. |
| # For any field set to true, there is a new suggested value. |
| "nestingLevelSuggested": True or False, # Indicates if there was a suggested change to the |
| # nesting_level. |
| "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields in text style have been changed in this |
| # suggestion. |
| # For any field set to true, there is a new suggested value. |
| "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| }, |
| "listIdSuggested": True or False, # Indicates if there was a suggested change to the |
| # list_id. |
| }, |
| }, |
| }, |
| "positionedObjectIds": [ # The IDs of the positioned objects tethered to this paragraph. |
| "A String", |
| ], |
| "suggestedParagraphStyleChanges": { # The suggested paragraph style changes to this paragraph, keyed by |
| # suggestion ID. |
| "a_key": { # A suggested change to a |
| # ParagraphStyle. |
| "paragraphStyleSuggestionState": { # A mask that indicates which of the fields on the base ParagraphStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base ParagraphStyle have been changed in this suggestion. |
| # For any field set to true, there is a new suggested value. |
| "avoidWidowAndOrphanSuggested": True or False, # Indicates if there was a suggested change to avoid_widow_and_orphan. |
| "lineSpacingSuggested": True or False, # Indicates if there was a suggested change to line_spacing. |
| "spacingModeSuggested": True or False, # Indicates if there was a suggested change to spacing_mode. |
| "spaceBelowSuggested": True or False, # Indicates if there was a suggested change to space_below. |
| "borderRightSuggested": True or False, # Indicates if there was a suggested change to border_right. |
| "indentStartSuggested": True or False, # Indicates if there was a suggested change to indent_start. |
| "namedStyleTypeSuggested": True or False, # Indicates if there was a suggested change to named_style_type. |
| "indentEndSuggested": True or False, # Indicates if there was a suggested change to indent_end. |
| "borderBetweenSuggested": True or False, # Indicates if there was a suggested change to border_between. |
| "borderTopSuggested": True or False, # Indicates if there was a suggested change to border_top. |
| "borderLeftSuggested": True or False, # Indicates if there was a suggested change to border_left. |
| "keepWithNextSuggested": True or False, # Indicates if there was a suggested change to keep_with_next. |
| "spaceAboveSuggested": True or False, # Indicates if there was a suggested change to space_above. |
| "alignmentSuggested": True or False, # Indicates if there was a suggested change to alignment. |
| "indentFirstLineSuggested": True or False, # Indicates if there was a suggested change to indent_first_line. |
| "headingIdSuggested": True or False, # Indicates if there was a suggested change to heading_id. |
| "borderBottomSuggested": True or False, # Indicates if there was a suggested change to border_bottom. |
| "directionSuggested": True or False, # Indicates if there was a suggested change to direction. |
| "keepLinesTogetherSuggested": True or False, # Indicates if there was a suggested change to keep_lines_together. |
| "shadingSuggestionState": { # A mask that indicates which of the fields on the base Shading have been changed in this # A mask that indicates which of the fields in shading have been changed in |
| # this suggestion. |
| # suggested change. For any field set to true, there is a new suggested value. |
| "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to the Shading. |
| }, |
| }, |
| "paragraphStyle": { # Styles that apply to a whole paragraph. # A ParagraphStyle that only includes |
| # the changes made in this suggestion. This can be used along with the |
| # paragraph_suggestion_state |
| # to see which fields have changed and their new values. |
| # |
| # Inherited paragraph styles are represented as unset fields in this message. |
| # A paragraph style's parent depends on where the paragraph style is defined: |
| # |
| # * The ParagraphStyle on a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The ParagraphStyle on a named style |
| # inherits from the normal text named style. |
| # * The ParagraphStyle of the normal text named style inherits |
| # from the default paragraph style in the Docs editor. |
| # * The ParagraphStyle on a Paragraph |
| # element that is contained in a table may inherit its paragraph style from |
| # the table style. |
| # |
| # If the paragraph style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "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 |
| # paragraph 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. |
| }, |
| "keepWithNext": True or False, # Whether at least a part of this paragraph should be laid out on the same |
| # page or column as the next paragraph if possible. If unset, the value is |
| # inherited from the parent. |
| "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. |
| "avoidWidowAndOrphan": True or False, # Whether to avoid widows and orphans for the paragraph. If unset, the value |
| # is inherited from the parent. |
| "borderBottom": { # A border around a paragraph. # The border at the bottom of this paragraph. If unset, the value is |
| # inherited from the parent. |
| # |
| # The bottom border is rendered when the paragraph below has different border |
| # and indent properties. |
| # |
| # Paragraph borders cannot be partially updated. When making |
| # changes to a paragraph border the new border must be specified in |
| # its entirety. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| }, |
| "indentStart": { # A magnitude in a single direction in the specified units. # The amount of indentation for the paragraph on the side that corresponds to |
| # the start of the text, based on the current paragraph direction. If unset, |
| # the value is inherited from the parent. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "borderBetween": { # A border around a paragraph. # The border between this paragraph and the next and previous paragraphs. |
| # If unset, the value is inherited from the parent. |
| # |
| # The between border is rendered when the adjacent paragraph has the same |
| # border and indent properties. |
| # |
| # Paragraph borders cannot be partially updated. When making |
| # changes to a paragraph border the new border must be specified in |
| # its entirety. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| }, |
| "namedStyleType": "A String", # The named style type of the paragraph. |
| # |
| # Since updating the named style type affects other properties within |
| # ParagraphStyle, the named style type is applied before the other properties |
| # are updated. |
| "borderRight": { # A border around a paragraph. # The border to the right of this paragraph. If unset, the value is inherited |
| # from the parent. |
| # |
| # Paragraph borders cannot be partially updated. When making |
| # changes to a paragraph border the new border must be specified in |
| # its entirety. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| "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 of indentation for the paragraph on the side that corresponds to |
| # the end of the text, based on the current paragraph direction. If unset, |
| # the value is inherited from the parent. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "borderLeft": { # A border around a paragraph. # The border to the left of this paragraph. If unset, the value is inherited |
| # from the parent. |
| # |
| # Paragraph borders cannot be partially updated. When making |
| # changes to a paragraph border the new border must be specified in |
| # its entirety. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| "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. |
| }, |
| "headingId": "A String", # The heading ID of the paragraph. If empty, then this paragraph is not a |
| # heading. This property is read-only. |
| "shading": { # The shading of a paragraph. # The shading of the paragraph. If unset, the value is inherited from the |
| # parent. |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of this paragraph shading. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| }, |
| "borderTop": { # A border around a paragraph. # The border at the top of this paragraph. If unset, the value is inherited |
| # from the parent. |
| # |
| # The top border is rendered when the paragraph above has different border |
| # and indent properties. |
| # |
| # Paragraph borders cannot be partially updated. When making |
| # changes to a paragraph border the new border must be specified in |
| # its entirety. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| }, |
| "tabStops": [ # A list of the tab stops for this paragraph. The list of tab stops is not |
| # inherited. This property is read-only. |
| { # A tab stop within a paragraph. |
| "alignment": "A String", # The alignment of this tab stop. If unset, the value defaults to START. |
| "offset": { # A magnitude in a single direction in the specified units. # The offset between this tab stop and the start margin. |
| "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 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. |
| "keepLinesTogether": True or False, # Whether all lines of the paragraph should be laid out on the same page or |
| # column if possible. If unset, the value is inherited from the parent. |
| }, |
| }, |
| }, |
| "paragraphStyle": { # Styles that apply to a whole paragraph. # The style of this paragraph. |
| # |
| # Inherited paragraph styles are represented as unset fields in this message. |
| # A paragraph style's parent depends on where the paragraph style is defined: |
| # |
| # * The ParagraphStyle on a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The ParagraphStyle on a named style |
| # inherits from the normal text named style. |
| # * The ParagraphStyle of the normal text named style inherits |
| # from the default paragraph style in the Docs editor. |
| # * The ParagraphStyle on a Paragraph |
| # element that is contained in a table may inherit its paragraph style from |
| # the table style. |
| # |
| # If the paragraph style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "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 |
| # paragraph 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. |
| }, |
| "keepWithNext": True or False, # Whether at least a part of this paragraph should be laid out on the same |
| # page or column as the next paragraph if possible. If unset, the value is |
| # inherited from the parent. |
| "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. |
| "avoidWidowAndOrphan": True or False, # Whether to avoid widows and orphans for the paragraph. If unset, the value |
| # is inherited from the parent. |
| "borderBottom": { # A border around a paragraph. # The border at the bottom of this paragraph. If unset, the value is |
| # inherited from the parent. |
| # |
| # The bottom border is rendered when the paragraph below has different border |
| # and indent properties. |
| # |
| # Paragraph borders cannot be partially updated. When making |
| # changes to a paragraph border the new border must be specified in |
| # its entirety. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| }, |
| "indentStart": { # A magnitude in a single direction in the specified units. # The amount of indentation for the paragraph on the side that corresponds to |
| # the start of the text, based on the current paragraph direction. If unset, |
| # the value is inherited from the parent. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "borderBetween": { # A border around a paragraph. # The border between this paragraph and the next and previous paragraphs. |
| # If unset, the value is inherited from the parent. |
| # |
| # The between border is rendered when the adjacent paragraph has the same |
| # border and indent properties. |
| # |
| # Paragraph borders cannot be partially updated. When making |
| # changes to a paragraph border the new border must be specified in |
| # its entirety. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| }, |
| "namedStyleType": "A String", # The named style type of the paragraph. |
| # |
| # Since updating the named style type affects other properties within |
| # ParagraphStyle, the named style type is applied before the other properties |
| # are updated. |
| "borderRight": { # A border around a paragraph. # The border to the right of this paragraph. If unset, the value is inherited |
| # from the parent. |
| # |
| # Paragraph borders cannot be partially updated. When making |
| # changes to a paragraph border the new border must be specified in |
| # its entirety. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| "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 of indentation for the paragraph on the side that corresponds to |
| # the end of the text, based on the current paragraph direction. If unset, |
| # the value is inherited from the parent. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "borderLeft": { # A border around a paragraph. # The border to the left of this paragraph. If unset, the value is inherited |
| # from the parent. |
| # |
| # Paragraph borders cannot be partially updated. When making |
| # changes to a paragraph border the new border must be specified in |
| # its entirety. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| "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. |
| }, |
| "headingId": "A String", # The heading ID of the paragraph. If empty, then this paragraph is not a |
| # heading. This property is read-only. |
| "shading": { # The shading of a paragraph. # The shading of the paragraph. If unset, the value is inherited from the |
| # parent. |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of this paragraph shading. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| }, |
| "borderTop": { # A border around a paragraph. # The border at the top of this paragraph. If unset, the value is inherited |
| # from the parent. |
| # |
| # The top border is rendered when the paragraph above has different border |
| # and indent properties. |
| # |
| # Paragraph borders cannot be partially updated. When making |
| # changes to a paragraph border the new border must be specified in |
| # its entirety. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| }, |
| "tabStops": [ # A list of the tab stops for this paragraph. The list of tab stops is not |
| # inherited. This property is read-only. |
| { # A tab stop within a paragraph. |
| "alignment": "A String", # The alignment of this tab stop. If unset, the value defaults to START. |
| "offset": { # A magnitude in a single direction in the specified units. # The offset between this tab stop and the start margin. |
| "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 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. |
| "keepLinesTogether": True or False, # Whether all lines of the paragraph should be laid out on the same page or |
| # column if possible. If unset, the value is inherited from the parent. |
| }, |
| }, |
| "table": { # A StructuralElement representing a # A table type of structural element. |
| # table. |
| "rows": 42, # Number of rows in the table. |
| "tableStyle": { # Styles that apply to a table. # The style of the table. |
| "tableColumnProperties": [ # The properties of each column. |
| # |
| # Note that in Docs, tables contain rows and rows contain cells, similar to |
| # HTML. So the properties for a row can be found on the row's |
| # table_row_style. |
| { # The properties of a column in a table. |
| "width": { # A magnitude in a single direction in the specified units. # The width of the column. Set when the column's `width_type` is |
| # FIXED_WIDTH. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "widthType": "A String", # The width type of the column. |
| }, |
| ], |
| }, |
| "suggestedInsertionIds": [ # The suggested insertion IDs. A Table may have |
| # multiple insertion IDs if it is a nested suggested change. If empty, then |
| # this is not a suggested insertion. |
| "A String", |
| ], |
| "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| # of this content. |
| "A String", |
| ], |
| "tableRows": [ # The contents and style of each row. |
| { # The contents and style of a row in a Table. |
| "endIndex": 42, # The zero-based end index of this row, exclusive, in UTF-16 code units. |
| "tableCells": [ # The contents and style of each cell in this row. |
| # |
| # It is possible for a table to be non-rectangular, so some rows may have a |
| # different number of cells than other rows in the same table. |
| { # The contents and style of a cell in a Table. |
| "endIndex": 42, # The zero-based end index of this cell, exclusive, in UTF-16 code units. |
| "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| # of this content. |
| "A String", |
| ], |
| "suggestedInsertionIds": [ # The suggested insertion IDs. A TableCell |
| # may have multiple insertion IDs if it is a nested suggested change. If |
| # empty, then this is not a suggested insertion. |
| "A String", |
| ], |
| "content": [ # The content of the cell. |
| # Object with schema name: StructuralElement |
| ], |
| "tableCellStyle": { # The style of a TableCell. # The style of the cell. |
| # |
| # Inherited table cell styles are represented as unset fields in this message. |
| # A table cell style can inherit from the table's style. |
| "paddingBottom": { # A magnitude in a single direction in the specified units. # The bottom padding of the cell. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "borderBottom": { # A border around a table cell. # The bottom border of the cell. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| }, |
| "paddingLeft": { # A magnitude in a single direction in the specified units. # The left padding of the cell. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "paddingTop": { # A magnitude in a single direction in the specified units. # The top padding of the cell. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "borderLeft": { # A border around a table cell. # The left border of the cell. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| }, |
| "columnSpan": 42, # The column span of the cell. This property is read-only. |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the cell. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "borderRight": { # A border around a table cell. # The right border of the cell. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| }, |
| "rowSpan": 42, # The row span of the cell. This property is read-only. |
| "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 Docs editor. |
| "paddingRight": { # A magnitude in a single direction in the specified units. # The right padding of the cell. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "borderTop": { # A border around a table cell. # The top border of the cell. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| }, |
| }, |
| "startIndex": 42, # The zero-based start index of this cell, in UTF-16 code units. |
| "suggestedTableCellStyleChanges": { # The suggested changes to the table cell style, keyed by suggestion ID. |
| "a_key": { # A suggested change to a TableCellStyle. |
| "tableCellStyle": { # The style of a TableCell. # A TableCellStyle that only includes |
| # the changes made in this suggestion. This can be used along with the |
| # table_cell_style_suggestion_state |
| # to see which fields have changed and their new values. |
| # |
| # Inherited table cell styles are represented as unset fields in this message. |
| # A table cell style can inherit from the table's style. |
| "paddingBottom": { # A magnitude in a single direction in the specified units. # The bottom padding of the cell. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "borderBottom": { # A border around a table cell. # The bottom border of the cell. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| }, |
| "paddingLeft": { # A magnitude in a single direction in the specified units. # The left padding of the cell. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "paddingTop": { # A magnitude in a single direction in the specified units. # The top padding of the cell. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "borderLeft": { # A border around a table cell. # The left border of the cell. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| }, |
| "columnSpan": 42, # The column span of the cell. This property is read-only. |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the cell. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "borderRight": { # A border around a table cell. # The right border of the cell. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| }, |
| "rowSpan": 42, # The row span of the cell. This property is read-only. |
| "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 Docs editor. |
| "paddingRight": { # A magnitude in a single direction in the specified units. # The right padding of the cell. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "borderTop": { # A border around a table cell. # The top border of the cell. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| }, |
| }, |
| "tableCellStyleSuggestionState": { # A mask that indicates which of the fields on the base TableCellStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TableCellStyle have been changed in this suggestion. |
| # For any field set to true, there is a new suggested value. |
| "borderRightSuggested": True or False, # Indicates if there was a suggested change to border_right. |
| "borderBottomSuggested": True or False, # Indicates if there was a suggested change to border_bottom. |
| "paddingBottomSuggested": True or False, # Indicates if there was a suggested change to padding_bottom. |
| "contentAlignmentSuggested": True or False, # Indicates if there was a suggested change to content_alignment. |
| "rowSpanSuggested": True or False, # Indicates if there was a suggested change to row_span. |
| "borderLeftSuggested": True or False, # Indicates if there was a suggested change to border_left. |
| "borderTopSuggested": True or False, # Indicates if there was a suggested change to border_top. |
| "columnSpanSuggested": True or False, # Indicates if there was a suggested change to column_span. |
| "paddingRightSuggested": True or False, # Indicates if there was a suggested change to padding_right. |
| "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| "paddingLeftSuggested": True or False, # Indicates if there was a suggested change to padding_left. |
| "paddingTopSuggested": True or False, # Indicates if there was a suggested change to padding_top. |
| }, |
| }, |
| }, |
| }, |
| ], |
| "tableRowStyle": { # Styles that apply to a table row. # The style of the table row. |
| "minRowHeight": { # A magnitude in a single direction in the specified units. # The minimum height of the row. The row will be rendered in the Docs editor |
| # at a height equal to or greater than this value in order to show all the |
| # content in the row's cells. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| }, |
| "suggestedInsertionIds": [ # The suggested insertion IDs. A TableRow |
| # may have multiple insertion IDs if it is a nested suggested change. If |
| # empty, then this is not a suggested insertion. |
| "A String", |
| ], |
| "startIndex": 42, # The zero-based start index of this row, in UTF-16 code units. |
| "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| # of this content. |
| "A String", |
| ], |
| "suggestedTableRowStyleChanges": { # The suggested style changes to this row, keyed by suggestion ID. |
| "a_key": { # A suggested change to a |
| # TableRowStyle. |
| "tableRowStyle": { # Styles that apply to a table row. # A TableRowStyle that only includes |
| # the changes made in this suggestion. This can be used along with the |
| # table_row_style_suggestion_state |
| # to see which fields have changed and their new values. |
| "minRowHeight": { # A magnitude in a single direction in the specified units. # The minimum height of the row. The row will be rendered in the Docs editor |
| # at a height equal to or greater than this value in order to show all the |
| # content in the row's cells. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| }, |
| "tableRowStyleSuggestionState": { # A mask that indicates which of the fields on the base TableRowStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TableRowStyle have been changed in this suggestion. |
| # For any field set to true, there is a new suggested value. |
| "minRowHeightSuggested": True or False, # Indicates if there was a suggested change to min_row_height. |
| }, |
| }, |
| }, |
| }, |
| ], |
| "columns": 42, # Number of columns in the table. |
| # |
| # It is possible for a table to be non-rectangular, so some rows may have a |
| # different number of cells. |
| }, |
| }, |
| ], |
| "footerId": "A String", # The ID of the footer. |
| }, |
| }, |
| "footnotes": { # The footnotes in the document, keyed by footnote ID. |
| "a_key": { # A document footnote. |
| "content": [ # The contents of the footnote. |
| # |
| # The indexes for a footnote's content begin at zero. |
| { # A StructuralElement describes content that provides structure to the |
| # document. |
| "endIndex": 42, # The zero-based end index of this structural element, exclusive, in UTF-16 |
| # code units. |
| "sectionBreak": { # A StructuralElement representing a # A section break type of structural element. |
| # section break. A section is a range of content which has the same |
| # SectionStyle. A section break represents |
| # the start of a new section, and the section style applies to the section |
| # after the section break. |
| # |
| # The document body always begins with a section break. |
| "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| # of this content. |
| "A String", |
| ], |
| "sectionStyle": { # The styling that applies to a section. # The style of the section after this section break. |
| "contentDirection": "A String", # The content direction of this section. If unset, the value defaults to |
| # LEFT_TO_RIGHT. |
| "columnProperties": [ # The section's columns properties. |
| # |
| # If empty, the section contains one column with the default properties in |
| # the Docs editor. |
| { # Properties that apply to a section's column. |
| "width": { # A magnitude in a single direction in the specified units. # The width of the column. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "paddingEnd": { # A magnitude in a single direction in the specified units. # The padding at the end of the column. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| }, |
| ], |
| "columnSeparatorStyle": "A String", # The style of column separators. |
| # |
| # This style can be set even when there is one column in the section. |
| }, |
| "suggestedInsertionIds": [ # The suggested insertion IDs. A SectionBreak may have multiple insertion IDs if it is |
| # a nested suggested change. If empty, then this is not a suggested |
| # insertion. |
| "A String", |
| ], |
| }, |
| "tableOfContents": { # A StructuralElement representing # A table of contents type of structural element. |
| # a table of contents. |
| "content": [ # The content of the table of contents. |
| # Object with schema name: StructuralElement |
| ], |
| "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| # of this content. |
| "A String", |
| ], |
| "suggestedInsertionIds": [ # The suggested insertion IDs. A TableOfContents may have multiple insertion IDs if it |
| # is a nested suggested change. If empty, then this is not a suggested |
| # insertion. |
| "A String", |
| ], |
| }, |
| "startIndex": 42, # The zero-based start index of this structural element, in UTF-16 code |
| # units. |
| "paragraph": { # A StructuralElement representing a # A paragraph type of structural element. |
| # paragraph. A paragraph is a range of content that is terminated with a |
| # newline character. |
| "elements": [ # The content of the paragraph broken down into its component parts. |
| { # A ParagraphElement describes content within a |
| # Paragraph. |
| "endIndex": 42, # The zero-base end index of this paragraph element, exclusive, in UTF-16 |
| # code units. |
| "equation": { # A ParagraphElement representing an # An equation paragraph element. |
| # equation. |
| "suggestedInsertionIds": [ # The suggested insertion IDs. A Equation |
| # may have multiple insertion IDs if it is a nested suggested change. If |
| # empty, then this is not a suggested insertion. |
| "A String", |
| ], |
| "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| # of this content. |
| "A String", |
| ], |
| }, |
| "columnBreak": { # A ParagraphElement representing a # A column break paragraph element. |
| # column break. A column break makes the subsequent text start at the top of |
| # the next column. |
| "textStyle": { # Represents the styling that can be applied to text. # The text style of this ColumnBreak. |
| # |
| # Similar to text content, like text runs and footnote references, the text |
| # style of a column break can affect content layout as well as the styling of |
| # text inserted adjacent to it. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "suggestedInsertionIds": [ # The suggested insertion IDs. A ColumnBreak may have multiple insertion IDs if it is |
| # a nested suggested change. If empty, then this is not a suggested |
| # insertion. |
| "A String", |
| ], |
| "suggestedTextStyleChanges": { # The suggested text style changes to this ColumnBreak, keyed by suggestion |
| # ID. |
| "a_key": { # A suggested change to a TextStyle. |
| "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| # the changes made in this suggestion. This can be used along with the |
| # text_style_suggestion_state |
| # to see which fields have changed and their new values. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| # For any field set to true, there is a new suggested value. |
| "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| }, |
| }, |
| }, |
| "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| # of this content. |
| "A String", |
| ], |
| }, |
| "startIndex": 42, # The zero-based start index of this paragraph element, in UTF-16 code units. |
| "pageBreak": { # A ParagraphElement representing a # A page break paragraph element. |
| # page break. A page break makes the subsequent text start at the top of the |
| # next page. |
| "textStyle": { # Represents the styling that can be applied to text. # The text style of this PageBreak. |
| # |
| # Similar to text content, like text runs and footnote references, the text |
| # style of a page break can affect content layout as well as the styling of |
| # text inserted adjacent to it. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| # of this content. |
| "A String", |
| ], |
| "suggestedTextStyleChanges": { # The suggested text style changes to this PageBreak, keyed by suggestion ID. |
| "a_key": { # A suggested change to a TextStyle. |
| "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| # the changes made in this suggestion. This can be used along with the |
| # text_style_suggestion_state |
| # to see which fields have changed and their new values. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| # For any field set to true, there is a new suggested value. |
| "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| }, |
| }, |
| }, |
| "suggestedInsertionIds": [ # The suggested insertion IDs. A PageBreak |
| # may have multiple insertion IDs if it is a nested suggested change. If |
| # empty, then this is not a suggested insertion. |
| "A String", |
| ], |
| }, |
| "horizontalRule": { # A ParagraphElement representing a # A horizontal rule paragraph element. |
| # horizontal line. |
| "textStyle": { # Represents the styling that can be applied to text. # The text style of this HorizontalRule. |
| # |
| # Similar to text content, like text runs and footnote references, the text |
| # style of a horizontal rule can affect content layout as well as the styling |
| # of text inserted adjacent to it. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "suggestedInsertionIds": [ # The suggested insertion IDs. A HorizontalRule may have multiple insertion IDs if it |
| # is a nested suggested change. If empty, then this is not a suggested |
| # insertion. |
| "A String", |
| ], |
| "suggestedTextStyleChanges": { # The suggested text style changes to this HorizontalRule, keyed by |
| # suggestion ID. |
| "a_key": { # A suggested change to a TextStyle. |
| "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| # the changes made in this suggestion. This can be used along with the |
| # text_style_suggestion_state |
| # to see which fields have changed and their new values. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| # For any field set to true, there is a new suggested value. |
| "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| }, |
| }, |
| }, |
| "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| # of this content. |
| "A String", |
| ], |
| }, |
| "textRun": { # A ParagraphElement that represents a # A text run paragraph element. |
| # run of text that all has the same styling. |
| "content": "A String", # The text of this run. |
| # |
| # Any non-text elements in the run are replaced with the Unicode character |
| # U+E907. |
| "textStyle": { # Represents the styling that can be applied to text. # The text style of this run. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "suggestedInsertionIds": [ # The suggested insertion IDs. A TextRun may |
| # have multiple insertion IDs if it is a nested suggested change. If empty, |
| # then this is not a suggested insertion. |
| "A String", |
| ], |
| "suggestedTextStyleChanges": { # The suggested text style changes to this run, keyed by suggestion ID. |
| "a_key": { # A suggested change to a TextStyle. |
| "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| # the changes made in this suggestion. This can be used along with the |
| # text_style_suggestion_state |
| # to see which fields have changed and their new values. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| # For any field set to true, there is a new suggested value. |
| "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| }, |
| }, |
| }, |
| "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| # of this content. |
| "A String", |
| ], |
| }, |
| "autoText": { # A ParagraphElement representing a # An auto text paragraph element. |
| # spot in the text that is dynamically replaced with content that can change |
| # over time, like a page number. |
| "textStyle": { # Represents the styling that can be applied to text. # The text style of this AutoText. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| # of this content. |
| "A String", |
| ], |
| "suggestedTextStyleChanges": { # The suggested text style changes to this AutoText, keyed by suggestion ID. |
| "a_key": { # A suggested change to a TextStyle. |
| "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| # the changes made in this suggestion. This can be used along with the |
| # text_style_suggestion_state |
| # to see which fields have changed and their new values. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| # For any field set to true, there is a new suggested value. |
| "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| }, |
| }, |
| }, |
| "type": "A String", # The type of this auto text. |
| "suggestedInsertionIds": [ # The suggested insertion IDs. An AutoText |
| # may have multiple insertion IDs if it is a nested suggested change. If |
| # empty, then this is not a suggested insertion. |
| "A String", |
| ], |
| }, |
| "inlineObjectElement": { # A ParagraphElement that contains # An inline object paragraph element. |
| # an InlineObject. |
| "textStyle": { # Represents the styling that can be applied to text. # The text style of this InlineObjectElement. |
| # |
| # Similar to text content, like text runs and footnote references, the text |
| # style of an inline object element can affect content layout as well as the |
| # styling of text inserted adjacent to it. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| # of this content. |
| "A String", |
| ], |
| "suggestedTextStyleChanges": { # The suggested text style changes to this InlineObject, keyed by suggestion |
| # ID. |
| "a_key": { # A suggested change to a TextStyle. |
| "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| # the changes made in this suggestion. This can be used along with the |
| # text_style_suggestion_state |
| # to see which fields have changed and their new values. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| # For any field set to true, there is a new suggested value. |
| "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| }, |
| }, |
| }, |
| "inlineObjectId": "A String", # The ID of the InlineObject this |
| # element contains. |
| "suggestedInsertionIds": [ # The suggested insertion IDs. An InlineObjectElement may have multiple insertion IDs |
| # if it is a nested suggested change. If empty, then this is not a suggested |
| # insertion. |
| "A String", |
| ], |
| }, |
| "footnoteReference": { # A ParagraphElement representing a # A footnote reference paragraph element. |
| # footnote reference. A footnote reference is the inline content rendered with |
| # a number and is used to identify the footnote. |
| "textStyle": { # Represents the styling that can be applied to text. # The text style of this FootnoteReference. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "footnoteNumber": "A String", # The rendered number of this footnote. |
| "suggestedInsertionIds": [ # The suggested insertion IDs. A FootnoteReference may have multiple insertion IDs if |
| # it is a nested suggested change. If empty, then this is not a suggested |
| # insertion. |
| "A String", |
| ], |
| "footnoteId": "A String", # The ID of the footnote that |
| # contains the content of this footnote reference. |
| "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| # of this content. |
| "A String", |
| ], |
| "suggestedTextStyleChanges": { # The suggested text style changes to this FootnoteReference, keyed by |
| # suggestion ID. |
| "a_key": { # A suggested change to a TextStyle. |
| "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| # the changes made in this suggestion. This can be used along with the |
| # text_style_suggestion_state |
| # to see which fields have changed and their new values. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| # For any field set to true, there is a new suggested value. |
| "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| }, |
| }, |
| }, |
| }, |
| }, |
| ], |
| "suggestedPositionedObjectIds": { # The IDs of the positioned objects that are suggested to be attached to this |
| # paragraph, keyed by suggestion ID. |
| "a_key": { # A collection of object IDs. |
| "objectIds": [ # The object IDs. |
| "A String", |
| ], |
| }, |
| }, |
| "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. |
| "textStyle": { # Represents the styling that can be applied to text. # The paragraph specific text style applied to this bullet. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| }, |
| "suggestedBulletChanges": { # The suggested changes to this paragraph's bullet. |
| "a_key": { # A suggested change to a Bullet. |
| "bullet": { # Describes the bullet of a paragraph. # A Bullet that only includes the changes made |
| # in this suggestion. This can be used along with the |
| # bullet_suggestion_state to see which |
| # fields have changed and their new values. |
| "nestingLevel": 42, # The nesting level of this paragraph in the list. |
| "listId": "A String", # The ID of the list this paragraph belongs to. |
| "textStyle": { # Represents the styling that can be applied to text. # The paragraph specific text style applied to this bullet. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| }, |
| "bulletSuggestionState": { # A mask that indicates which of the fields on the base # A mask that indicates which of the fields on the base |
| # Bullet have been changed in this suggestion. |
| # Bullet have been changed in this suggestion. |
| # For any field set to true, there is a new suggested value. |
| "nestingLevelSuggested": True or False, # Indicates if there was a suggested change to the |
| # nesting_level. |
| "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields in text style have been changed in this |
| # suggestion. |
| # For any field set to true, there is a new suggested value. |
| "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| }, |
| "listIdSuggested": True or False, # Indicates if there was a suggested change to the |
| # list_id. |
| }, |
| }, |
| }, |
| "positionedObjectIds": [ # The IDs of the positioned objects tethered to this paragraph. |
| "A String", |
| ], |
| "suggestedParagraphStyleChanges": { # The suggested paragraph style changes to this paragraph, keyed by |
| # suggestion ID. |
| "a_key": { # A suggested change to a |
| # ParagraphStyle. |
| "paragraphStyleSuggestionState": { # A mask that indicates which of the fields on the base ParagraphStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base ParagraphStyle have been changed in this suggestion. |
| # For any field set to true, there is a new suggested value. |
| "avoidWidowAndOrphanSuggested": True or False, # Indicates if there was a suggested change to avoid_widow_and_orphan. |
| "lineSpacingSuggested": True or False, # Indicates if there was a suggested change to line_spacing. |
| "spacingModeSuggested": True or False, # Indicates if there was a suggested change to spacing_mode. |
| "spaceBelowSuggested": True or False, # Indicates if there was a suggested change to space_below. |
| "borderRightSuggested": True or False, # Indicates if there was a suggested change to border_right. |
| "indentStartSuggested": True or False, # Indicates if there was a suggested change to indent_start. |
| "namedStyleTypeSuggested": True or False, # Indicates if there was a suggested change to named_style_type. |
| "indentEndSuggested": True or False, # Indicates if there was a suggested change to indent_end. |
| "borderBetweenSuggested": True or False, # Indicates if there was a suggested change to border_between. |
| "borderTopSuggested": True or False, # Indicates if there was a suggested change to border_top. |
| "borderLeftSuggested": True or False, # Indicates if there was a suggested change to border_left. |
| "keepWithNextSuggested": True or False, # Indicates if there was a suggested change to keep_with_next. |
| "spaceAboveSuggested": True or False, # Indicates if there was a suggested change to space_above. |
| "alignmentSuggested": True or False, # Indicates if there was a suggested change to alignment. |
| "indentFirstLineSuggested": True or False, # Indicates if there was a suggested change to indent_first_line. |
| "headingIdSuggested": True or False, # Indicates if there was a suggested change to heading_id. |
| "borderBottomSuggested": True or False, # Indicates if there was a suggested change to border_bottom. |
| "directionSuggested": True or False, # Indicates if there was a suggested change to direction. |
| "keepLinesTogetherSuggested": True or False, # Indicates if there was a suggested change to keep_lines_together. |
| "shadingSuggestionState": { # A mask that indicates which of the fields on the base Shading have been changed in this # A mask that indicates which of the fields in shading have been changed in |
| # this suggestion. |
| # suggested change. For any field set to true, there is a new suggested value. |
| "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to the Shading. |
| }, |
| }, |
| "paragraphStyle": { # Styles that apply to a whole paragraph. # A ParagraphStyle that only includes |
| # the changes made in this suggestion. This can be used along with the |
| # paragraph_suggestion_state |
| # to see which fields have changed and their new values. |
| # |
| # Inherited paragraph styles are represented as unset fields in this message. |
| # A paragraph style's parent depends on where the paragraph style is defined: |
| # |
| # * The ParagraphStyle on a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The ParagraphStyle on a named style |
| # inherits from the normal text named style. |
| # * The ParagraphStyle of the normal text named style inherits |
| # from the default paragraph style in the Docs editor. |
| # * The ParagraphStyle on a Paragraph |
| # element that is contained in a table may inherit its paragraph style from |
| # the table style. |
| # |
| # If the paragraph style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "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 |
| # paragraph 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. |
| }, |
| "keepWithNext": True or False, # Whether at least a part of this paragraph should be laid out on the same |
| # page or column as the next paragraph if possible. If unset, the value is |
| # inherited from the parent. |
| "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. |
| "avoidWidowAndOrphan": True or False, # Whether to avoid widows and orphans for the paragraph. If unset, the value |
| # is inherited from the parent. |
| "borderBottom": { # A border around a paragraph. # The border at the bottom of this paragraph. If unset, the value is |
| # inherited from the parent. |
| # |
| # The bottom border is rendered when the paragraph below has different border |
| # and indent properties. |
| # |
| # Paragraph borders cannot be partially updated. When making |
| # changes to a paragraph border the new border must be specified in |
| # its entirety. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| }, |
| "indentStart": { # A magnitude in a single direction in the specified units. # The amount of indentation for the paragraph on the side that corresponds to |
| # the start of the text, based on the current paragraph direction. If unset, |
| # the value is inherited from the parent. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "borderBetween": { # A border around a paragraph. # The border between this paragraph and the next and previous paragraphs. |
| # If unset, the value is inherited from the parent. |
| # |
| # The between border is rendered when the adjacent paragraph has the same |
| # border and indent properties. |
| # |
| # Paragraph borders cannot be partially updated. When making |
| # changes to a paragraph border the new border must be specified in |
| # its entirety. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| }, |
| "namedStyleType": "A String", # The named style type of the paragraph. |
| # |
| # Since updating the named style type affects other properties within |
| # ParagraphStyle, the named style type is applied before the other properties |
| # are updated. |
| "borderRight": { # A border around a paragraph. # The border to the right of this paragraph. If unset, the value is inherited |
| # from the parent. |
| # |
| # Paragraph borders cannot be partially updated. When making |
| # changes to a paragraph border the new border must be specified in |
| # its entirety. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| "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 of indentation for the paragraph on the side that corresponds to |
| # the end of the text, based on the current paragraph direction. If unset, |
| # the value is inherited from the parent. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "borderLeft": { # A border around a paragraph. # The border to the left of this paragraph. If unset, the value is inherited |
| # from the parent. |
| # |
| # Paragraph borders cannot be partially updated. When making |
| # changes to a paragraph border the new border must be specified in |
| # its entirety. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| "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. |
| }, |
| "headingId": "A String", # The heading ID of the paragraph. If empty, then this paragraph is not a |
| # heading. This property is read-only. |
| "shading": { # The shading of a paragraph. # The shading of the paragraph. If unset, the value is inherited from the |
| # parent. |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of this paragraph shading. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| }, |
| "borderTop": { # A border around a paragraph. # The border at the top of this paragraph. If unset, the value is inherited |
| # from the parent. |
| # |
| # The top border is rendered when the paragraph above has different border |
| # and indent properties. |
| # |
| # Paragraph borders cannot be partially updated. When making |
| # changes to a paragraph border the new border must be specified in |
| # its entirety. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| }, |
| "tabStops": [ # A list of the tab stops for this paragraph. The list of tab stops is not |
| # inherited. This property is read-only. |
| { # A tab stop within a paragraph. |
| "alignment": "A String", # The alignment of this tab stop. If unset, the value defaults to START. |
| "offset": { # A magnitude in a single direction in the specified units. # The offset between this tab stop and the start margin. |
| "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 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. |
| "keepLinesTogether": True or False, # Whether all lines of the paragraph should be laid out on the same page or |
| # column if possible. If unset, the value is inherited from the parent. |
| }, |
| }, |
| }, |
| "paragraphStyle": { # Styles that apply to a whole paragraph. # The style of this paragraph. |
| # |
| # Inherited paragraph styles are represented as unset fields in this message. |
| # A paragraph style's parent depends on where the paragraph style is defined: |
| # |
| # * The ParagraphStyle on a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The ParagraphStyle on a named style |
| # inherits from the normal text named style. |
| # * The ParagraphStyle of the normal text named style inherits |
| # from the default paragraph style in the Docs editor. |
| # * The ParagraphStyle on a Paragraph |
| # element that is contained in a table may inherit its paragraph style from |
| # the table style. |
| # |
| # If the paragraph style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "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 |
| # paragraph 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. |
| }, |
| "keepWithNext": True or False, # Whether at least a part of this paragraph should be laid out on the same |
| # page or column as the next paragraph if possible. If unset, the value is |
| # inherited from the parent. |
| "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. |
| "avoidWidowAndOrphan": True or False, # Whether to avoid widows and orphans for the paragraph. If unset, the value |
| # is inherited from the parent. |
| "borderBottom": { # A border around a paragraph. # The border at the bottom of this paragraph. If unset, the value is |
| # inherited from the parent. |
| # |
| # The bottom border is rendered when the paragraph below has different border |
| # and indent properties. |
| # |
| # Paragraph borders cannot be partially updated. When making |
| # changes to a paragraph border the new border must be specified in |
| # its entirety. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| }, |
| "indentStart": { # A magnitude in a single direction in the specified units. # The amount of indentation for the paragraph on the side that corresponds to |
| # the start of the text, based on the current paragraph direction. If unset, |
| # the value is inherited from the parent. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "borderBetween": { # A border around a paragraph. # The border between this paragraph and the next and previous paragraphs. |
| # If unset, the value is inherited from the parent. |
| # |
| # The between border is rendered when the adjacent paragraph has the same |
| # border and indent properties. |
| # |
| # Paragraph borders cannot be partially updated. When making |
| # changes to a paragraph border the new border must be specified in |
| # its entirety. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| }, |
| "namedStyleType": "A String", # The named style type of the paragraph. |
| # |
| # Since updating the named style type affects other properties within |
| # ParagraphStyle, the named style type is applied before the other properties |
| # are updated. |
| "borderRight": { # A border around a paragraph. # The border to the right of this paragraph. If unset, the value is inherited |
| # from the parent. |
| # |
| # Paragraph borders cannot be partially updated. When making |
| # changes to a paragraph border the new border must be specified in |
| # its entirety. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| "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 of indentation for the paragraph on the side that corresponds to |
| # the end of the text, based on the current paragraph direction. If unset, |
| # the value is inherited from the parent. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "borderLeft": { # A border around a paragraph. # The border to the left of this paragraph. If unset, the value is inherited |
| # from the parent. |
| # |
| # Paragraph borders cannot be partially updated. When making |
| # changes to a paragraph border the new border must be specified in |
| # its entirety. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| "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. |
| }, |
| "headingId": "A String", # The heading ID of the paragraph. If empty, then this paragraph is not a |
| # heading. This property is read-only. |
| "shading": { # The shading of a paragraph. # The shading of the paragraph. If unset, the value is inherited from the |
| # parent. |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of this paragraph shading. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| }, |
| "borderTop": { # A border around a paragraph. # The border at the top of this paragraph. If unset, the value is inherited |
| # from the parent. |
| # |
| # The top border is rendered when the paragraph above has different border |
| # and indent properties. |
| # |
| # Paragraph borders cannot be partially updated. When making |
| # changes to a paragraph border the new border must be specified in |
| # its entirety. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| }, |
| "tabStops": [ # A list of the tab stops for this paragraph. The list of tab stops is not |
| # inherited. This property is read-only. |
| { # A tab stop within a paragraph. |
| "alignment": "A String", # The alignment of this tab stop. If unset, the value defaults to START. |
| "offset": { # A magnitude in a single direction in the specified units. # The offset between this tab stop and the start margin. |
| "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 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. |
| "keepLinesTogether": True or False, # Whether all lines of the paragraph should be laid out on the same page or |
| # column if possible. If unset, the value is inherited from the parent. |
| }, |
| }, |
| "table": { # A StructuralElement representing a # A table type of structural element. |
| # table. |
| "rows": 42, # Number of rows in the table. |
| "tableStyle": { # Styles that apply to a table. # The style of the table. |
| "tableColumnProperties": [ # The properties of each column. |
| # |
| # Note that in Docs, tables contain rows and rows contain cells, similar to |
| # HTML. So the properties for a row can be found on the row's |
| # table_row_style. |
| { # The properties of a column in a table. |
| "width": { # A magnitude in a single direction in the specified units. # The width of the column. Set when the column's `width_type` is |
| # FIXED_WIDTH. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "widthType": "A String", # The width type of the column. |
| }, |
| ], |
| }, |
| "suggestedInsertionIds": [ # The suggested insertion IDs. A Table may have |
| # multiple insertion IDs if it is a nested suggested change. If empty, then |
| # this is not a suggested insertion. |
| "A String", |
| ], |
| "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| # of this content. |
| "A String", |
| ], |
| "tableRows": [ # The contents and style of each row. |
| { # The contents and style of a row in a Table. |
| "endIndex": 42, # The zero-based end index of this row, exclusive, in UTF-16 code units. |
| "tableCells": [ # The contents and style of each cell in this row. |
| # |
| # It is possible for a table to be non-rectangular, so some rows may have a |
| # different number of cells than other rows in the same table. |
| { # The contents and style of a cell in a Table. |
| "endIndex": 42, # The zero-based end index of this cell, exclusive, in UTF-16 code units. |
| "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| # of this content. |
| "A String", |
| ], |
| "suggestedInsertionIds": [ # The suggested insertion IDs. A TableCell |
| # may have multiple insertion IDs if it is a nested suggested change. If |
| # empty, then this is not a suggested insertion. |
| "A String", |
| ], |
| "content": [ # The content of the cell. |
| # Object with schema name: StructuralElement |
| ], |
| "tableCellStyle": { # The style of a TableCell. # The style of the cell. |
| # |
| # Inherited table cell styles are represented as unset fields in this message. |
| # A table cell style can inherit from the table's style. |
| "paddingBottom": { # A magnitude in a single direction in the specified units. # The bottom padding of the cell. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "borderBottom": { # A border around a table cell. # The bottom border of the cell. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| }, |
| "paddingLeft": { # A magnitude in a single direction in the specified units. # The left padding of the cell. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "paddingTop": { # A magnitude in a single direction in the specified units. # The top padding of the cell. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "borderLeft": { # A border around a table cell. # The left border of the cell. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| }, |
| "columnSpan": 42, # The column span of the cell. This property is read-only. |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the cell. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "borderRight": { # A border around a table cell. # The right border of the cell. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| }, |
| "rowSpan": 42, # The row span of the cell. This property is read-only. |
| "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 Docs editor. |
| "paddingRight": { # A magnitude in a single direction in the specified units. # The right padding of the cell. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "borderTop": { # A border around a table cell. # The top border of the cell. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| }, |
| }, |
| "startIndex": 42, # The zero-based start index of this cell, in UTF-16 code units. |
| "suggestedTableCellStyleChanges": { # The suggested changes to the table cell style, keyed by suggestion ID. |
| "a_key": { # A suggested change to a TableCellStyle. |
| "tableCellStyle": { # The style of a TableCell. # A TableCellStyle that only includes |
| # the changes made in this suggestion. This can be used along with the |
| # table_cell_style_suggestion_state |
| # to see which fields have changed and their new values. |
| # |
| # Inherited table cell styles are represented as unset fields in this message. |
| # A table cell style can inherit from the table's style. |
| "paddingBottom": { # A magnitude in a single direction in the specified units. # The bottom padding of the cell. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "borderBottom": { # A border around a table cell. # The bottom border of the cell. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| }, |
| "paddingLeft": { # A magnitude in a single direction in the specified units. # The left padding of the cell. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "paddingTop": { # A magnitude in a single direction in the specified units. # The top padding of the cell. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "borderLeft": { # A border around a table cell. # The left border of the cell. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| }, |
| "columnSpan": 42, # The column span of the cell. This property is read-only. |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the cell. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "borderRight": { # A border around a table cell. # The right border of the cell. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| }, |
| "rowSpan": 42, # The row span of the cell. This property is read-only. |
| "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 Docs editor. |
| "paddingRight": { # A magnitude in a single direction in the specified units. # The right padding of the cell. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "borderTop": { # A border around a table cell. # The top border of the cell. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| }, |
| }, |
| "tableCellStyleSuggestionState": { # A mask that indicates which of the fields on the base TableCellStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TableCellStyle have been changed in this suggestion. |
| # For any field set to true, there is a new suggested value. |
| "borderRightSuggested": True or False, # Indicates if there was a suggested change to border_right. |
| "borderBottomSuggested": True or False, # Indicates if there was a suggested change to border_bottom. |
| "paddingBottomSuggested": True or False, # Indicates if there was a suggested change to padding_bottom. |
| "contentAlignmentSuggested": True or False, # Indicates if there was a suggested change to content_alignment. |
| "rowSpanSuggested": True or False, # Indicates if there was a suggested change to row_span. |
| "borderLeftSuggested": True or False, # Indicates if there was a suggested change to border_left. |
| "borderTopSuggested": True or False, # Indicates if there was a suggested change to border_top. |
| "columnSpanSuggested": True or False, # Indicates if there was a suggested change to column_span. |
| "paddingRightSuggested": True or False, # Indicates if there was a suggested change to padding_right. |
| "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| "paddingLeftSuggested": True or False, # Indicates if there was a suggested change to padding_left. |
| "paddingTopSuggested": True or False, # Indicates if there was a suggested change to padding_top. |
| }, |
| }, |
| }, |
| }, |
| ], |
| "tableRowStyle": { # Styles that apply to a table row. # The style of the table row. |
| "minRowHeight": { # A magnitude in a single direction in the specified units. # The minimum height of the row. The row will be rendered in the Docs editor |
| # at a height equal to or greater than this value in order to show all the |
| # content in the row's cells. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| }, |
| "suggestedInsertionIds": [ # The suggested insertion IDs. A TableRow |
| # may have multiple insertion IDs if it is a nested suggested change. If |
| # empty, then this is not a suggested insertion. |
| "A String", |
| ], |
| "startIndex": 42, # The zero-based start index of this row, in UTF-16 code units. |
| "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| # of this content. |
| "A String", |
| ], |
| "suggestedTableRowStyleChanges": { # The suggested style changes to this row, keyed by suggestion ID. |
| "a_key": { # A suggested change to a |
| # TableRowStyle. |
| "tableRowStyle": { # Styles that apply to a table row. # A TableRowStyle that only includes |
| # the changes made in this suggestion. This can be used along with the |
| # table_row_style_suggestion_state |
| # to see which fields have changed and their new values. |
| "minRowHeight": { # A magnitude in a single direction in the specified units. # The minimum height of the row. The row will be rendered in the Docs editor |
| # at a height equal to or greater than this value in order to show all the |
| # content in the row's cells. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| }, |
| "tableRowStyleSuggestionState": { # A mask that indicates which of the fields on the base TableRowStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TableRowStyle have been changed in this suggestion. |
| # For any field set to true, there is a new suggested value. |
| "minRowHeightSuggested": True or False, # Indicates if there was a suggested change to min_row_height. |
| }, |
| }, |
| }, |
| }, |
| ], |
| "columns": 42, # Number of columns in the table. |
| # |
| # It is possible for a table to be non-rectangular, so some rows may have a |
| # different number of cells. |
| }, |
| }, |
| ], |
| "footnoteId": "A String", # The ID of the footnote. |
| }, |
| }, |
| "positionedObjects": { # The positioned objects in the document, keyed by object ID. |
| "a_key": { # An object that is tethered to a Paragraph |
| # and positioned relative to the beginning of the paragraph. A PositionedObject |
| # contains an EmbeddedObject such as an |
| # image. |
| "positionedObjectProperties": { # Properties of a PositionedObject. # The properties of this positioned object. |
| "positioning": { # The positioning of a PositionedObject. The positioned object is positioned # The positioning of this positioned object relative to the newline of the |
| # Paragraph that references this positioned |
| # object. |
| # relative to the beginning of the Paragraph |
| # it is tethered to. |
| "leftOffset": { # A magnitude in a single direction in the specified units. # The offset of the left edge of the positioned object relative to the |
| # beginning of the Paragraph it is tethered |
| # to. The exact positioning of the object can depend on other content in the |
| # document and the document's styling. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "topOffset": { # A magnitude in a single direction in the specified units. # The offset of the top edge of the positioned object relative to the |
| # beginning of the Paragraph it is tethered |
| # to. The exact positioning of the object can depend on other content in the |
| # document and the document's styling. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "layout": "A String", # The layout of this positioned object. |
| }, |
| "embeddedObject": { # An embedded object in the document. # The embedded object of this positioned object. |
| "imageProperties": { # The properties of an image. # The properties of an image. |
| "angle": 3.14, # The clockwise rotation angle of the image, in radians. |
| "contentUri": "A String", # A URI to the image with a default lifetime of 30 minutes. |
| # This URI is tagged with the account of the requester. Anyone with the URI |
| # effectively accesses the image as the original requester. Access to the |
| # image may be lost if the document's sharing settings change. |
| "sourceUri": "A String", # The source URI is the URI used to insert the image. The source URI can be |
| # empty. |
| "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. |
| "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. |
| "cropProperties": { # The crop properties of an image. # The crop properties of the image. |
| # |
| # The crop rectangle is represented using fractional offsets from the original |
| # content's four edges. |
| # |
| # - If the offset is in the interval (0, 1), the corresponding edge of crop |
| # rectangle is positioned inside of the image's original bounding rectangle. |
| # - If the offset is negative or greater than 1, the corresponding edge of crop |
| # rectangle is positioned outside of the image's original bounding rectangle. |
| # - If all offsets and rotation angle are 0, the image is not cropped. |
| "offsetBottom": 3.14, # The offset specifies how far inwards the bottom edge of the crop rectangle |
| # is from the bottom edge of the original content as a fraction of the |
| # original content's height. |
| "angle": 3.14, # The clockwise rotation angle of the crop rectangle around its center, in |
| # radians. Rotation is applied after the offsets. |
| "offsetLeft": 3.14, # The offset specifies how far inwards the left edge of the crop rectangle is |
| # from the left edge of the original content as a fraction of the original |
| # content's width. |
| "offsetRight": 3.14, # The offset specifies how far inwards the right edge of the crop rectangle |
| # is from the right edge of the original content as a fraction of the |
| # original content's width. |
| "offsetTop": 3.14, # The offset specifies how far inwards the top edge of the crop rectangle is |
| # from the top edge of the original content as a fraction of the original |
| # content's height. |
| }, |
| "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. |
| }, |
| "description": "A String", # The description of the embedded object. The `title` and `description` are |
| # both combined to display alt text. |
| "title": "A String", # The title of the embedded object. The `title` and `description` are both |
| # combined to display alt text. |
| "embeddedDrawingProperties": { # The properties of an embedded drawing. # The properties of an embedded drawing. |
| }, |
| "linkedContentReference": { # A reference to the external linked source content. # A reference to the external linked source content. For example, it contains |
| # a reference to the source Sheets chart when the embedded object is a linked |
| # chart. |
| # |
| # If unset, then the embedded object is not linked. |
| "sheetsChartReference": { # A reference to a linked chart embedded from Google Sheets. # A reference to the linked chart. |
| "spreadsheetId": "A String", # The ID of the Google Sheets spreadsheet that contains the source chart. |
| "chartId": 42, # The ID of the specific chart in the Google Sheets spreadsheet that is |
| # embedded. |
| }, |
| }, |
| "embeddedObjectBorder": { # A border around an EmbeddedObject. # The border of the embedded object. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "propertyState": "A String", # The property state of the border property. |
| }, |
| "marginBottom": { # A magnitude in a single direction in the specified units. # The bottom margin of the embedded object. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "marginLeft": { # A magnitude in a single direction in the specified units. # The left margin of the embedded object. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "marginRight": { # A magnitude in a single direction in the specified units. # The right margin of the embedded object. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "marginTop": { # A magnitude in a single direction in the specified units. # The top margin of the embedded object. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "size": { # A width and height. # The visible size of the image after cropping. |
| "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. |
| }, |
| }, |
| }, |
| }, |
| "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| # of this content. |
| "A String", |
| ], |
| "suggestedPositionedObjectPropertiesChanges": { # The suggested changes to the positioned object properties, keyed by |
| # suggestion ID. |
| "a_key": { # A suggested change to PositionedObjectProperties. |
| "positionedObjectPropertiesSuggestionState": { # A mask that indicates which of the fields on the base # A mask that indicates which of the fields on the base |
| # PositionedObjectProperties have been changed in this |
| # suggestion. |
| # PositionedObjectProperties |
| # have been changed in this suggestion. For any field set to true, there is a |
| # new suggested value. |
| "positioningSuggestionState": { # A mask that indicates which of the fields on the base # A mask that indicates which of the fields in positioning have been |
| # changed in this suggestion. |
| # PositionedObjectPositioning have been changed in this |
| # suggestion. For any field set to true, there is a new suggested value. |
| "layoutSuggested": True or False, # Indicates if there was a suggested change to layout. |
| "topOffsetSuggested": True or False, # Indicates if there was a suggested change to top_offset. |
| "leftOffsetSuggested": True or False, # Indicates if there was a suggested change to left_offset. |
| }, |
| "embeddedObjectSuggestionState": { # A mask that indicates which of the fields on the base EmbeddedObject have been changed in this suggestion. # A mask that indicates which of the fields in embedded_object have been |
| # changed in this suggestion. |
| # For any field set to true, there is a new suggested value. |
| "linkedContentReferenceSuggestionState": { # A mask that indicates which of the fields on the base # A mask that indicates which of the fields in linked_content_reference have been |
| # changed in this suggestion. |
| # LinkedContentReference have |
| # been changed in this suggestion. For any field set to true, there is a new |
| # suggested value. |
| "sheetsChartReferenceSuggestionState": { # A mask that indicates which of the fields on the base SheetsChartReference have been changed in this # A mask that indicates which of the fields in sheets_chart_reference have |
| # been changed in this suggestion. |
| # suggestion. For any field set to true, there is a new suggested value. |
| "spreadsheetIdSuggested": True or False, # Indicates if there was a suggested change to spreadsheet_id. |
| "chartIdSuggested": True or False, # Indicates if there was a suggested change to chart_id. |
| }, |
| }, |
| "sizeSuggestionState": { # A mask that indicates which of the fields on the base Size have been changed in this suggestion. # A mask that indicates which of the fields in size have been changed in this |
| # suggestion. |
| # For any field set to true, the Size has |
| # a new suggested value. |
| "widthSuggested": True or False, # Indicates if there was a suggested change to width. |
| "heightSuggested": True or False, # Indicates if there was a suggested change to height. |
| }, |
| "embeddedDrawingPropertiesSuggestionState": { # A mask that indicates which of the fields on the base # A mask that indicates which of the fields in embedded_drawing_properties have been |
| # changed in this suggestion. |
| # EmbeddedDrawingProperties |
| # have been changed in this suggestion. For any field set to true, there is a |
| # new suggested value. |
| }, |
| "marginRightSuggested": True or False, # Indicates if there was a suggested change to margin_right. |
| "imagePropertiesSuggestionState": { # A mask that indicates which of the fields on the base ImageProperties have been changed in this suggestion. # A mask that indicates which of the fields in image_properties have been changed in |
| # this suggestion. |
| # For any field set to true, there is a new suggested value. |
| "cropPropertiesSuggestionState": { # A mask that indicates which of the fields on the base CropProperties have been changed in this suggestion. # A mask that indicates which of the fields in crop_properties have been changed in |
| # this suggestion. |
| # For any field set to true, there is a new suggested value. |
| "offsetLeftSuggested": True or False, # Indicates if there was a suggested change to offset_left. |
| "offsetBottomSuggested": True or False, # Indicates if there was a suggested change to offset_bottom. |
| "offsetRightSuggested": True or False, # Indicates if there was a suggested change to offset_right. |
| "angleSuggested": True or False, # Indicates if there was a suggested change to angle. |
| "offsetTopSuggested": True or False, # Indicates if there was a suggested change to offset_top. |
| }, |
| "contrastSuggested": True or False, # Indicates if there was a suggested change to contrast. |
| "brightnessSuggested": True or False, # Indicates if there was a suggested change to brightness. |
| "transparencySuggested": True or False, # Indicates if there was a suggested change to transparency. |
| "angleSuggested": True or False, # Indicates if there was a suggested change to angle. |
| "sourceUriSuggested": True or False, # Indicates if there was a suggested change to source_uri. |
| "contentUriSuggested": True or False, # Indicates if there was a suggested change to |
| # content_uri. |
| }, |
| "descriptionSuggested": True or False, # Indicates if there was a suggested change to description. |
| "titleSuggested": True or False, # Indicates if there was a suggested change to title. |
| "marginTopSuggested": True or False, # Indicates if there was a suggested change to margin_top. |
| "marginLeftSuggested": True or False, # Indicates if there was a suggested change to margin_left. |
| "marginBottomSuggested": True or False, # Indicates if there was a suggested change to margin_bottom. |
| "embeddedObjectBorderSuggestionState": { # A mask that indicates which of the fields on the base EmbeddedObjectBorder have been changed in this # A mask that indicates which of the fields in embedded_object_border have been |
| # changed in this suggestion. |
| # suggestion. For any field set to true, there is a new suggested value. |
| "colorSuggested": True or False, # Indicates if there was a suggested change to color. |
| "dashStyleSuggested": True or False, # Indicates if there was a suggested change to dash_style. |
| "widthSuggested": True or False, # Indicates if there was a suggested change to width. |
| "propertyStateSuggested": True or False, # Indicates if there was a suggested change to property_state. |
| }, |
| }, |
| }, |
| "positionedObjectProperties": { # Properties of a PositionedObject. # A PositionedObjectProperties that only includes the |
| # changes made in this suggestion. This can be used along with the |
| # positioned_object_properties_suggestion_state |
| # to see which fields have changed and their new values. |
| "positioning": { # The positioning of a PositionedObject. The positioned object is positioned # The positioning of this positioned object relative to the newline of the |
| # Paragraph that references this positioned |
| # object. |
| # relative to the beginning of the Paragraph |
| # it is tethered to. |
| "leftOffset": { # A magnitude in a single direction in the specified units. # The offset of the left edge of the positioned object relative to the |
| # beginning of the Paragraph it is tethered |
| # to. The exact positioning of the object can depend on other content in the |
| # document and the document's styling. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "topOffset": { # A magnitude in a single direction in the specified units. # The offset of the top edge of the positioned object relative to the |
| # beginning of the Paragraph it is tethered |
| # to. The exact positioning of the object can depend on other content in the |
| # document and the document's styling. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "layout": "A String", # The layout of this positioned object. |
| }, |
| "embeddedObject": { # An embedded object in the document. # The embedded object of this positioned object. |
| "imageProperties": { # The properties of an image. # The properties of an image. |
| "angle": 3.14, # The clockwise rotation angle of the image, in radians. |
| "contentUri": "A String", # A URI to the image with a default lifetime of 30 minutes. |
| # This URI is tagged with the account of the requester. Anyone with the URI |
| # effectively accesses the image as the original requester. Access to the |
| # image may be lost if the document's sharing settings change. |
| "sourceUri": "A String", # The source URI is the URI used to insert the image. The source URI can be |
| # empty. |
| "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. |
| "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. |
| "cropProperties": { # The crop properties of an image. # The crop properties of the image. |
| # |
| # The crop rectangle is represented using fractional offsets from the original |
| # content's four edges. |
| # |
| # - If the offset is in the interval (0, 1), the corresponding edge of crop |
| # rectangle is positioned inside of the image's original bounding rectangle. |
| # - If the offset is negative or greater than 1, the corresponding edge of crop |
| # rectangle is positioned outside of the image's original bounding rectangle. |
| # - If all offsets and rotation angle are 0, the image is not cropped. |
| "offsetBottom": 3.14, # The offset specifies how far inwards the bottom edge of the crop rectangle |
| # is from the bottom edge of the original content as a fraction of the |
| # original content's height. |
| "angle": 3.14, # The clockwise rotation angle of the crop rectangle around its center, in |
| # radians. Rotation is applied after the offsets. |
| "offsetLeft": 3.14, # The offset specifies how far inwards the left edge of the crop rectangle is |
| # from the left edge of the original content as a fraction of the original |
| # content's width. |
| "offsetRight": 3.14, # The offset specifies how far inwards the right edge of the crop rectangle |
| # is from the right edge of the original content as a fraction of the |
| # original content's width. |
| "offsetTop": 3.14, # The offset specifies how far inwards the top edge of the crop rectangle is |
| # from the top edge of the original content as a fraction of the original |
| # content's height. |
| }, |
| "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. |
| }, |
| "description": "A String", # The description of the embedded object. The `title` and `description` are |
| # both combined to display alt text. |
| "title": "A String", # The title of the embedded object. The `title` and `description` are both |
| # combined to display alt text. |
| "embeddedDrawingProperties": { # The properties of an embedded drawing. # The properties of an embedded drawing. |
| }, |
| "linkedContentReference": { # A reference to the external linked source content. # A reference to the external linked source content. For example, it contains |
| # a reference to the source Sheets chart when the embedded object is a linked |
| # chart. |
| # |
| # If unset, then the embedded object is not linked. |
| "sheetsChartReference": { # A reference to a linked chart embedded from Google Sheets. # A reference to the linked chart. |
| "spreadsheetId": "A String", # The ID of the Google Sheets spreadsheet that contains the source chart. |
| "chartId": 42, # The ID of the specific chart in the Google Sheets spreadsheet that is |
| # embedded. |
| }, |
| }, |
| "embeddedObjectBorder": { # A border around an EmbeddedObject. # The border of the embedded object. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "propertyState": "A String", # The property state of the border property. |
| }, |
| "marginBottom": { # A magnitude in a single direction in the specified units. # The bottom margin of the embedded object. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "marginLeft": { # A magnitude in a single direction in the specified units. # The left margin of the embedded object. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "marginRight": { # A magnitude in a single direction in the specified units. # The right margin of the embedded object. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "marginTop": { # A magnitude in a single direction in the specified units. # The top margin of the embedded object. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "size": { # A width and height. # The visible size of the image after cropping. |
| "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. |
| }, |
| }, |
| }, |
| }, |
| }, |
| }, |
| "objectId": "A String", # The ID of this positioned object. |
| "suggestedInsertionId": "A String", # The suggested insertion ID. If empty, then this is not a suggested |
| # insertion. |
| }, |
| }, |
| "inlineObjects": { # The inline objects in the document, keyed by object ID. |
| "a_key": { # An object that appears inline with text. An InlineObject contains |
| # an EmbeddedObject such as an image. |
| "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| # of this content. |
| "A String", |
| ], |
| "inlineObjectProperties": { # Properties of an InlineObject. # The properties of this inline object. |
| "embeddedObject": { # An embedded object in the document. # The embedded object of this inline object. |
| "imageProperties": { # The properties of an image. # The properties of an image. |
| "angle": 3.14, # The clockwise rotation angle of the image, in radians. |
| "contentUri": "A String", # A URI to the image with a default lifetime of 30 minutes. |
| # This URI is tagged with the account of the requester. Anyone with the URI |
| # effectively accesses the image as the original requester. Access to the |
| # image may be lost if the document's sharing settings change. |
| "sourceUri": "A String", # The source URI is the URI used to insert the image. The source URI can be |
| # empty. |
| "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. |
| "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. |
| "cropProperties": { # The crop properties of an image. # The crop properties of the image. |
| # |
| # The crop rectangle is represented using fractional offsets from the original |
| # content's four edges. |
| # |
| # - If the offset is in the interval (0, 1), the corresponding edge of crop |
| # rectangle is positioned inside of the image's original bounding rectangle. |
| # - If the offset is negative or greater than 1, the corresponding edge of crop |
| # rectangle is positioned outside of the image's original bounding rectangle. |
| # - If all offsets and rotation angle are 0, the image is not cropped. |
| "offsetBottom": 3.14, # The offset specifies how far inwards the bottom edge of the crop rectangle |
| # is from the bottom edge of the original content as a fraction of the |
| # original content's height. |
| "angle": 3.14, # The clockwise rotation angle of the crop rectangle around its center, in |
| # radians. Rotation is applied after the offsets. |
| "offsetLeft": 3.14, # The offset specifies how far inwards the left edge of the crop rectangle is |
| # from the left edge of the original content as a fraction of the original |
| # content's width. |
| "offsetRight": 3.14, # The offset specifies how far inwards the right edge of the crop rectangle |
| # is from the right edge of the original content as a fraction of the |
| # original content's width. |
| "offsetTop": 3.14, # The offset specifies how far inwards the top edge of the crop rectangle is |
| # from the top edge of the original content as a fraction of the original |
| # content's height. |
| }, |
| "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. |
| }, |
| "description": "A String", # The description of the embedded object. The `title` and `description` are |
| # both combined to display alt text. |
| "title": "A String", # The title of the embedded object. The `title` and `description` are both |
| # combined to display alt text. |
| "embeddedDrawingProperties": { # The properties of an embedded drawing. # The properties of an embedded drawing. |
| }, |
| "linkedContentReference": { # A reference to the external linked source content. # A reference to the external linked source content. For example, it contains |
| # a reference to the source Sheets chart when the embedded object is a linked |
| # chart. |
| # |
| # If unset, then the embedded object is not linked. |
| "sheetsChartReference": { # A reference to a linked chart embedded from Google Sheets. # A reference to the linked chart. |
| "spreadsheetId": "A String", # The ID of the Google Sheets spreadsheet that contains the source chart. |
| "chartId": 42, # The ID of the specific chart in the Google Sheets spreadsheet that is |
| # embedded. |
| }, |
| }, |
| "embeddedObjectBorder": { # A border around an EmbeddedObject. # The border of the embedded object. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "propertyState": "A String", # The property state of the border property. |
| }, |
| "marginBottom": { # A magnitude in a single direction in the specified units. # The bottom margin of the embedded object. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "marginLeft": { # A magnitude in a single direction in the specified units. # The left margin of the embedded object. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "marginRight": { # A magnitude in a single direction in the specified units. # The right margin of the embedded object. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "marginTop": { # A magnitude in a single direction in the specified units. # The top margin of the embedded object. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "size": { # A width and height. # The visible size of the image after cropping. |
| "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. |
| }, |
| }, |
| }, |
| }, |
| "suggestedInlineObjectPropertiesChanges": { # The suggested changes to the inline object properties, keyed by suggestion |
| # ID. |
| "a_key": { # A suggested change to InlineObjectProperties. |
| "inlineObjectProperties": { # Properties of an InlineObject. # An InlineObjectProperties |
| # that only includes the changes made in this suggestion. This can be used |
| # along with the inline_object_properties_suggestion_state |
| # to see which fields have changed and their new values. |
| "embeddedObject": { # An embedded object in the document. # The embedded object of this inline object. |
| "imageProperties": { # The properties of an image. # The properties of an image. |
| "angle": 3.14, # The clockwise rotation angle of the image, in radians. |
| "contentUri": "A String", # A URI to the image with a default lifetime of 30 minutes. |
| # This URI is tagged with the account of the requester. Anyone with the URI |
| # effectively accesses the image as the original requester. Access to the |
| # image may be lost if the document's sharing settings change. |
| "sourceUri": "A String", # The source URI is the URI used to insert the image. The source URI can be |
| # empty. |
| "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. |
| "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. |
| "cropProperties": { # The crop properties of an image. # The crop properties of the image. |
| # |
| # The crop rectangle is represented using fractional offsets from the original |
| # content's four edges. |
| # |
| # - If the offset is in the interval (0, 1), the corresponding edge of crop |
| # rectangle is positioned inside of the image's original bounding rectangle. |
| # - If the offset is negative or greater than 1, the corresponding edge of crop |
| # rectangle is positioned outside of the image's original bounding rectangle. |
| # - If all offsets and rotation angle are 0, the image is not cropped. |
| "offsetBottom": 3.14, # The offset specifies how far inwards the bottom edge of the crop rectangle |
| # is from the bottom edge of the original content as a fraction of the |
| # original content's height. |
| "angle": 3.14, # The clockwise rotation angle of the crop rectangle around its center, in |
| # radians. Rotation is applied after the offsets. |
| "offsetLeft": 3.14, # The offset specifies how far inwards the left edge of the crop rectangle is |
| # from the left edge of the original content as a fraction of the original |
| # content's width. |
| "offsetRight": 3.14, # The offset specifies how far inwards the right edge of the crop rectangle |
| # is from the right edge of the original content as a fraction of the |
| # original content's width. |
| "offsetTop": 3.14, # The offset specifies how far inwards the top edge of the crop rectangle is |
| # from the top edge of the original content as a fraction of the original |
| # content's height. |
| }, |
| "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. |
| }, |
| "description": "A String", # The description of the embedded object. The `title` and `description` are |
| # both combined to display alt text. |
| "title": "A String", # The title of the embedded object. The `title` and `description` are both |
| # combined to display alt text. |
| "embeddedDrawingProperties": { # The properties of an embedded drawing. # The properties of an embedded drawing. |
| }, |
| "linkedContentReference": { # A reference to the external linked source content. # A reference to the external linked source content. For example, it contains |
| # a reference to the source Sheets chart when the embedded object is a linked |
| # chart. |
| # |
| # If unset, then the embedded object is not linked. |
| "sheetsChartReference": { # A reference to a linked chart embedded from Google Sheets. # A reference to the linked chart. |
| "spreadsheetId": "A String", # The ID of the Google Sheets spreadsheet that contains the source chart. |
| "chartId": 42, # The ID of the specific chart in the Google Sheets spreadsheet that is |
| # embedded. |
| }, |
| }, |
| "embeddedObjectBorder": { # A border around an EmbeddedObject. # The border of the embedded object. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "propertyState": "A String", # The property state of the border property. |
| }, |
| "marginBottom": { # A magnitude in a single direction in the specified units. # The bottom margin of the embedded object. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "marginLeft": { # A magnitude in a single direction in the specified units. # The left margin of the embedded object. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "marginRight": { # A magnitude in a single direction in the specified units. # The right margin of the embedded object. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "marginTop": { # A magnitude in a single direction in the specified units. # The top margin of the embedded object. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "size": { # A width and height. # The visible size of the image after cropping. |
| "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. |
| }, |
| }, |
| }, |
| }, |
| "inlineObjectPropertiesSuggestionState": { # A mask that indicates which of the fields on the base # A mask that indicates which of the fields on the base |
| # InlineObjectProperties have |
| # been changed in this suggestion. |
| # InlineObjectProperties have |
| # been changed in this suggestion. For any field set to true, there is a new |
| # suggested value. |
| "embeddedObjectSuggestionState": { # A mask that indicates which of the fields on the base EmbeddedObject have been changed in this suggestion. # A mask that indicates which of the fields in embedded_object have been |
| # changed in this suggestion. |
| # For any field set to true, there is a new suggested value. |
| "linkedContentReferenceSuggestionState": { # A mask that indicates which of the fields on the base # A mask that indicates which of the fields in linked_content_reference have been |
| # changed in this suggestion. |
| # LinkedContentReference have |
| # been changed in this suggestion. For any field set to true, there is a new |
| # suggested value. |
| "sheetsChartReferenceSuggestionState": { # A mask that indicates which of the fields on the base SheetsChartReference have been changed in this # A mask that indicates which of the fields in sheets_chart_reference have |
| # been changed in this suggestion. |
| # suggestion. For any field set to true, there is a new suggested value. |
| "spreadsheetIdSuggested": True or False, # Indicates if there was a suggested change to spreadsheet_id. |
| "chartIdSuggested": True or False, # Indicates if there was a suggested change to chart_id. |
| }, |
| }, |
| "sizeSuggestionState": { # A mask that indicates which of the fields on the base Size have been changed in this suggestion. # A mask that indicates which of the fields in size have been changed in this |
| # suggestion. |
| # For any field set to true, the Size has |
| # a new suggested value. |
| "widthSuggested": True or False, # Indicates if there was a suggested change to width. |
| "heightSuggested": True or False, # Indicates if there was a suggested change to height. |
| }, |
| "embeddedDrawingPropertiesSuggestionState": { # A mask that indicates which of the fields on the base # A mask that indicates which of the fields in embedded_drawing_properties have been |
| # changed in this suggestion. |
| # EmbeddedDrawingProperties |
| # have been changed in this suggestion. For any field set to true, there is a |
| # new suggested value. |
| }, |
| "marginRightSuggested": True or False, # Indicates if there was a suggested change to margin_right. |
| "imagePropertiesSuggestionState": { # A mask that indicates which of the fields on the base ImageProperties have been changed in this suggestion. # A mask that indicates which of the fields in image_properties have been changed in |
| # this suggestion. |
| # For any field set to true, there is a new suggested value. |
| "cropPropertiesSuggestionState": { # A mask that indicates which of the fields on the base CropProperties have been changed in this suggestion. # A mask that indicates which of the fields in crop_properties have been changed in |
| # this suggestion. |
| # For any field set to true, there is a new suggested value. |
| "offsetLeftSuggested": True or False, # Indicates if there was a suggested change to offset_left. |
| "offsetBottomSuggested": True or False, # Indicates if there was a suggested change to offset_bottom. |
| "offsetRightSuggested": True or False, # Indicates if there was a suggested change to offset_right. |
| "angleSuggested": True or False, # Indicates if there was a suggested change to angle. |
| "offsetTopSuggested": True or False, # Indicates if there was a suggested change to offset_top. |
| }, |
| "contrastSuggested": True or False, # Indicates if there was a suggested change to contrast. |
| "brightnessSuggested": True or False, # Indicates if there was a suggested change to brightness. |
| "transparencySuggested": True or False, # Indicates if there was a suggested change to transparency. |
| "angleSuggested": True or False, # Indicates if there was a suggested change to angle. |
| "sourceUriSuggested": True or False, # Indicates if there was a suggested change to source_uri. |
| "contentUriSuggested": True or False, # Indicates if there was a suggested change to |
| # content_uri. |
| }, |
| "descriptionSuggested": True or False, # Indicates if there was a suggested change to description. |
| "titleSuggested": True or False, # Indicates if there was a suggested change to title. |
| "marginTopSuggested": True or False, # Indicates if there was a suggested change to margin_top. |
| "marginLeftSuggested": True or False, # Indicates if there was a suggested change to margin_left. |
| "marginBottomSuggested": True or False, # Indicates if there was a suggested change to margin_bottom. |
| "embeddedObjectBorderSuggestionState": { # A mask that indicates which of the fields on the base EmbeddedObjectBorder have been changed in this # A mask that indicates which of the fields in embedded_object_border have been |
| # changed in this suggestion. |
| # suggestion. For any field set to true, there is a new suggested value. |
| "colorSuggested": True or False, # Indicates if there was a suggested change to color. |
| "dashStyleSuggested": True or False, # Indicates if there was a suggested change to dash_style. |
| "widthSuggested": True or False, # Indicates if there was a suggested change to width. |
| "propertyStateSuggested": True or False, # Indicates if there was a suggested change to property_state. |
| }, |
| }, |
| }, |
| }, |
| }, |
| "objectId": "A String", # The ID of this inline object. |
| "suggestedInsertionId": "A String", # The suggested insertion ID. If empty, then this is not a suggested |
| # insertion. |
| }, |
| }, |
| "revisionId": "A String", # The revision ID of the document. Can be used in update requests to specify |
| # which revision of a document to apply updates to and how the request should |
| # behave if the document has been edited since that revision. Only populated |
| # if the user has edit access to the document. |
| # |
| # 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 document has not changed. |
| # Conversely, a changed ID (for the same document and user) usually means the |
| # document has been updated; however, a changed ID can also be due to |
| # internal factors such as ID format changes. |
| "documentId": "A String", # The ID of the document. |
| } |
| |
| x__xgafv: string, V1 error format. |
| Allowed values |
| 1 - v1 error format |
| 2 - v2 error format |
| |
| Returns: |
| An object of the form: |
| |
| { # A Google Docs document. |
| "body": { # The document body. # The main body of the document. |
| # |
| # The body typically contains the full document contents except for |
| # headers, footers |
| # and footnotes. |
| "content": [ # The contents of the body. |
| # |
| # The indexes for the body's content begin at zero. |
| { # A StructuralElement describes content that provides structure to the |
| # document. |
| "endIndex": 42, # The zero-based end index of this structural element, exclusive, in UTF-16 |
| # code units. |
| "sectionBreak": { # A StructuralElement representing a # A section break type of structural element. |
| # section break. A section is a range of content which has the same |
| # SectionStyle. A section break represents |
| # the start of a new section, and the section style applies to the section |
| # after the section break. |
| # |
| # The document body always begins with a section break. |
| "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| # of this content. |
| "A String", |
| ], |
| "sectionStyle": { # The styling that applies to a section. # The style of the section after this section break. |
| "contentDirection": "A String", # The content direction of this section. If unset, the value defaults to |
| # LEFT_TO_RIGHT. |
| "columnProperties": [ # The section's columns properties. |
| # |
| # If empty, the section contains one column with the default properties in |
| # the Docs editor. |
| { # Properties that apply to a section's column. |
| "width": { # A magnitude in a single direction in the specified units. # The width of the column. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "paddingEnd": { # A magnitude in a single direction in the specified units. # The padding at the end of the column. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| }, |
| ], |
| "columnSeparatorStyle": "A String", # The style of column separators. |
| # |
| # This style can be set even when there is one column in the section. |
| }, |
| "suggestedInsertionIds": [ # The suggested insertion IDs. A SectionBreak may have multiple insertion IDs if it is |
| # a nested suggested change. If empty, then this is not a suggested |
| # insertion. |
| "A String", |
| ], |
| }, |
| "tableOfContents": { # A StructuralElement representing # A table of contents type of structural element. |
| # a table of contents. |
| "content": [ # The content of the table of contents. |
| # Object with schema name: StructuralElement |
| ], |
| "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| # of this content. |
| "A String", |
| ], |
| "suggestedInsertionIds": [ # The suggested insertion IDs. A TableOfContents may have multiple insertion IDs if it |
| # is a nested suggested change. If empty, then this is not a suggested |
| # insertion. |
| "A String", |
| ], |
| }, |
| "startIndex": 42, # The zero-based start index of this structural element, in UTF-16 code |
| # units. |
| "paragraph": { # A StructuralElement representing a # A paragraph type of structural element. |
| # paragraph. A paragraph is a range of content that is terminated with a |
| # newline character. |
| "elements": [ # The content of the paragraph broken down into its component parts. |
| { # A ParagraphElement describes content within a |
| # Paragraph. |
| "endIndex": 42, # The zero-base end index of this paragraph element, exclusive, in UTF-16 |
| # code units. |
| "equation": { # A ParagraphElement representing an # An equation paragraph element. |
| # equation. |
| "suggestedInsertionIds": [ # The suggested insertion IDs. A Equation |
| # may have multiple insertion IDs if it is a nested suggested change. If |
| # empty, then this is not a suggested insertion. |
| "A String", |
| ], |
| "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| # of this content. |
| "A String", |
| ], |
| }, |
| "columnBreak": { # A ParagraphElement representing a # A column break paragraph element. |
| # column break. A column break makes the subsequent text start at the top of |
| # the next column. |
| "textStyle": { # Represents the styling that can be applied to text. # The text style of this ColumnBreak. |
| # |
| # Similar to text content, like text runs and footnote references, the text |
| # style of a column break can affect content layout as well as the styling of |
| # text inserted adjacent to it. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "suggestedInsertionIds": [ # The suggested insertion IDs. A ColumnBreak may have multiple insertion IDs if it is |
| # a nested suggested change. If empty, then this is not a suggested |
| # insertion. |
| "A String", |
| ], |
| "suggestedTextStyleChanges": { # The suggested text style changes to this ColumnBreak, keyed by suggestion |
| # ID. |
| "a_key": { # A suggested change to a TextStyle. |
| "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| # the changes made in this suggestion. This can be used along with the |
| # text_style_suggestion_state |
| # to see which fields have changed and their new values. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| # For any field set to true, there is a new suggested value. |
| "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| }, |
| }, |
| }, |
| "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| # of this content. |
| "A String", |
| ], |
| }, |
| "startIndex": 42, # The zero-based start index of this paragraph element, in UTF-16 code units. |
| "pageBreak": { # A ParagraphElement representing a # A page break paragraph element. |
| # page break. A page break makes the subsequent text start at the top of the |
| # next page. |
| "textStyle": { # Represents the styling that can be applied to text. # The text style of this PageBreak. |
| # |
| # Similar to text content, like text runs and footnote references, the text |
| # style of a page break can affect content layout as well as the styling of |
| # text inserted adjacent to it. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| # of this content. |
| "A String", |
| ], |
| "suggestedTextStyleChanges": { # The suggested text style changes to this PageBreak, keyed by suggestion ID. |
| "a_key": { # A suggested change to a TextStyle. |
| "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| # the changes made in this suggestion. This can be used along with the |
| # text_style_suggestion_state |
| # to see which fields have changed and their new values. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| # For any field set to true, there is a new suggested value. |
| "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| }, |
| }, |
| }, |
| "suggestedInsertionIds": [ # The suggested insertion IDs. A PageBreak |
| # may have multiple insertion IDs if it is a nested suggested change. If |
| # empty, then this is not a suggested insertion. |
| "A String", |
| ], |
| }, |
| "horizontalRule": { # A ParagraphElement representing a # A horizontal rule paragraph element. |
| # horizontal line. |
| "textStyle": { # Represents the styling that can be applied to text. # The text style of this HorizontalRule. |
| # |
| # Similar to text content, like text runs and footnote references, the text |
| # style of a horizontal rule can affect content layout as well as the styling |
| # of text inserted adjacent to it. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "suggestedInsertionIds": [ # The suggested insertion IDs. A HorizontalRule may have multiple insertion IDs if it |
| # is a nested suggested change. If empty, then this is not a suggested |
| # insertion. |
| "A String", |
| ], |
| "suggestedTextStyleChanges": { # The suggested text style changes to this HorizontalRule, keyed by |
| # suggestion ID. |
| "a_key": { # A suggested change to a TextStyle. |
| "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| # the changes made in this suggestion. This can be used along with the |
| # text_style_suggestion_state |
| # to see which fields have changed and their new values. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| # For any field set to true, there is a new suggested value. |
| "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| }, |
| }, |
| }, |
| "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| # of this content. |
| "A String", |
| ], |
| }, |
| "textRun": { # A ParagraphElement that represents a # A text run paragraph element. |
| # run of text that all has the same styling. |
| "content": "A String", # The text of this run. |
| # |
| # Any non-text elements in the run are replaced with the Unicode character |
| # U+E907. |
| "textStyle": { # Represents the styling that can be applied to text. # The text style of this run. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "suggestedInsertionIds": [ # The suggested insertion IDs. A TextRun may |
| # have multiple insertion IDs if it is a nested suggested change. If empty, |
| # then this is not a suggested insertion. |
| "A String", |
| ], |
| "suggestedTextStyleChanges": { # The suggested text style changes to this run, keyed by suggestion ID. |
| "a_key": { # A suggested change to a TextStyle. |
| "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| # the changes made in this suggestion. This can be used along with the |
| # text_style_suggestion_state |
| # to see which fields have changed and their new values. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| # For any field set to true, there is a new suggested value. |
| "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| }, |
| }, |
| }, |
| "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| # of this content. |
| "A String", |
| ], |
| }, |
| "autoText": { # A ParagraphElement representing a # An auto text paragraph element. |
| # spot in the text that is dynamically replaced with content that can change |
| # over time, like a page number. |
| "textStyle": { # Represents the styling that can be applied to text. # The text style of this AutoText. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| # of this content. |
| "A String", |
| ], |
| "suggestedTextStyleChanges": { # The suggested text style changes to this AutoText, keyed by suggestion ID. |
| "a_key": { # A suggested change to a TextStyle. |
| "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| # the changes made in this suggestion. This can be used along with the |
| # text_style_suggestion_state |
| # to see which fields have changed and their new values. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| # For any field set to true, there is a new suggested value. |
| "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| }, |
| }, |
| }, |
| "type": "A String", # The type of this auto text. |
| "suggestedInsertionIds": [ # The suggested insertion IDs. An AutoText |
| # may have multiple insertion IDs if it is a nested suggested change. If |
| # empty, then this is not a suggested insertion. |
| "A String", |
| ], |
| }, |
| "inlineObjectElement": { # A ParagraphElement that contains # An inline object paragraph element. |
| # an InlineObject. |
| "textStyle": { # Represents the styling that can be applied to text. # The text style of this InlineObjectElement. |
| # |
| # Similar to text content, like text runs and footnote references, the text |
| # style of an inline object element can affect content layout as well as the |
| # styling of text inserted adjacent to it. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| # of this content. |
| "A String", |
| ], |
| "suggestedTextStyleChanges": { # The suggested text style changes to this InlineObject, keyed by suggestion |
| # ID. |
| "a_key": { # A suggested change to a TextStyle. |
| "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| # the changes made in this suggestion. This can be used along with the |
| # text_style_suggestion_state |
| # to see which fields have changed and their new values. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| # For any field set to true, there is a new suggested value. |
| "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| }, |
| }, |
| }, |
| "inlineObjectId": "A String", # The ID of the InlineObject this |
| # element contains. |
| "suggestedInsertionIds": [ # The suggested insertion IDs. An InlineObjectElement may have multiple insertion IDs |
| # if it is a nested suggested change. If empty, then this is not a suggested |
| # insertion. |
| "A String", |
| ], |
| }, |
| "footnoteReference": { # A ParagraphElement representing a # A footnote reference paragraph element. |
| # footnote reference. A footnote reference is the inline content rendered with |
| # a number and is used to identify the footnote. |
| "textStyle": { # Represents the styling that can be applied to text. # The text style of this FootnoteReference. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "footnoteNumber": "A String", # The rendered number of this footnote. |
| "suggestedInsertionIds": [ # The suggested insertion IDs. A FootnoteReference may have multiple insertion IDs if |
| # it is a nested suggested change. If empty, then this is not a suggested |
| # insertion. |
| "A String", |
| ], |
| "footnoteId": "A String", # The ID of the footnote that |
| # contains the content of this footnote reference. |
| "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| # of this content. |
| "A String", |
| ], |
| "suggestedTextStyleChanges": { # The suggested text style changes to this FootnoteReference, keyed by |
| # suggestion ID. |
| "a_key": { # A suggested change to a TextStyle. |
| "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| # the changes made in this suggestion. This can be used along with the |
| # text_style_suggestion_state |
| # to see which fields have changed and their new values. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| # For any field set to true, there is a new suggested value. |
| "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| }, |
| }, |
| }, |
| }, |
| }, |
| ], |
| "suggestedPositionedObjectIds": { # The IDs of the positioned objects that are suggested to be attached to this |
| # paragraph, keyed by suggestion ID. |
| "a_key": { # A collection of object IDs. |
| "objectIds": [ # The object IDs. |
| "A String", |
| ], |
| }, |
| }, |
| "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. |
| "textStyle": { # Represents the styling that can be applied to text. # The paragraph specific text style applied to this bullet. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| }, |
| "suggestedBulletChanges": { # The suggested changes to this paragraph's bullet. |
| "a_key": { # A suggested change to a Bullet. |
| "bullet": { # Describes the bullet of a paragraph. # A Bullet that only includes the changes made |
| # in this suggestion. This can be used along with the |
| # bullet_suggestion_state to see which |
| # fields have changed and their new values. |
| "nestingLevel": 42, # The nesting level of this paragraph in the list. |
| "listId": "A String", # The ID of the list this paragraph belongs to. |
| "textStyle": { # Represents the styling that can be applied to text. # The paragraph specific text style applied to this bullet. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| }, |
| "bulletSuggestionState": { # A mask that indicates which of the fields on the base # A mask that indicates which of the fields on the base |
| # Bullet have been changed in this suggestion. |
| # Bullet have been changed in this suggestion. |
| # For any field set to true, there is a new suggested value. |
| "nestingLevelSuggested": True or False, # Indicates if there was a suggested change to the |
| # nesting_level. |
| "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields in text style have been changed in this |
| # suggestion. |
| # For any field set to true, there is a new suggested value. |
| "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| }, |
| "listIdSuggested": True or False, # Indicates if there was a suggested change to the |
| # list_id. |
| }, |
| }, |
| }, |
| "positionedObjectIds": [ # The IDs of the positioned objects tethered to this paragraph. |
| "A String", |
| ], |
| "suggestedParagraphStyleChanges": { # The suggested paragraph style changes to this paragraph, keyed by |
| # suggestion ID. |
| "a_key": { # A suggested change to a |
| # ParagraphStyle. |
| "paragraphStyleSuggestionState": { # A mask that indicates which of the fields on the base ParagraphStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base ParagraphStyle have been changed in this suggestion. |
| # For any field set to true, there is a new suggested value. |
| "avoidWidowAndOrphanSuggested": True or False, # Indicates if there was a suggested change to avoid_widow_and_orphan. |
| "lineSpacingSuggested": True or False, # Indicates if there was a suggested change to line_spacing. |
| "spacingModeSuggested": True or False, # Indicates if there was a suggested change to spacing_mode. |
| "spaceBelowSuggested": True or False, # Indicates if there was a suggested change to space_below. |
| "borderRightSuggested": True or False, # Indicates if there was a suggested change to border_right. |
| "indentStartSuggested": True or False, # Indicates if there was a suggested change to indent_start. |
| "namedStyleTypeSuggested": True or False, # Indicates if there was a suggested change to named_style_type. |
| "indentEndSuggested": True or False, # Indicates if there was a suggested change to indent_end. |
| "borderBetweenSuggested": True or False, # Indicates if there was a suggested change to border_between. |
| "borderTopSuggested": True or False, # Indicates if there was a suggested change to border_top. |
| "borderLeftSuggested": True or False, # Indicates if there was a suggested change to border_left. |
| "keepWithNextSuggested": True or False, # Indicates if there was a suggested change to keep_with_next. |
| "spaceAboveSuggested": True or False, # Indicates if there was a suggested change to space_above. |
| "alignmentSuggested": True or False, # Indicates if there was a suggested change to alignment. |
| "indentFirstLineSuggested": True or False, # Indicates if there was a suggested change to indent_first_line. |
| "headingIdSuggested": True or False, # Indicates if there was a suggested change to heading_id. |
| "borderBottomSuggested": True or False, # Indicates if there was a suggested change to border_bottom. |
| "directionSuggested": True or False, # Indicates if there was a suggested change to direction. |
| "keepLinesTogetherSuggested": True or False, # Indicates if there was a suggested change to keep_lines_together. |
| "shadingSuggestionState": { # A mask that indicates which of the fields on the base Shading have been changed in this # A mask that indicates which of the fields in shading have been changed in |
| # this suggestion. |
| # suggested change. For any field set to true, there is a new suggested value. |
| "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to the Shading. |
| }, |
| }, |
| "paragraphStyle": { # Styles that apply to a whole paragraph. # A ParagraphStyle that only includes |
| # the changes made in this suggestion. This can be used along with the |
| # paragraph_suggestion_state |
| # to see which fields have changed and their new values. |
| # |
| # Inherited paragraph styles are represented as unset fields in this message. |
| # A paragraph style's parent depends on where the paragraph style is defined: |
| # |
| # * The ParagraphStyle on a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The ParagraphStyle on a named style |
| # inherits from the normal text named style. |
| # * The ParagraphStyle of the normal text named style inherits |
| # from the default paragraph style in the Docs editor. |
| # * The ParagraphStyle on a Paragraph |
| # element that is contained in a table may inherit its paragraph style from |
| # the table style. |
| # |
| # If the paragraph style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "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 |
| # paragraph 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. |
| }, |
| "keepWithNext": True or False, # Whether at least a part of this paragraph should be laid out on the same |
| # page or column as the next paragraph if possible. If unset, the value is |
| # inherited from the parent. |
| "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. |
| "avoidWidowAndOrphan": True or False, # Whether to avoid widows and orphans for the paragraph. If unset, the value |
| # is inherited from the parent. |
| "borderBottom": { # A border around a paragraph. # The border at the bottom of this paragraph. If unset, the value is |
| # inherited from the parent. |
| # |
| # The bottom border is rendered when the paragraph below has different border |
| # and indent properties. |
| # |
| # Paragraph borders cannot be partially updated. When making |
| # changes to a paragraph border the new border must be specified in |
| # its entirety. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| }, |
| "indentStart": { # A magnitude in a single direction in the specified units. # The amount of indentation for the paragraph on the side that corresponds to |
| # the start of the text, based on the current paragraph direction. If unset, |
| # the value is inherited from the parent. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "borderBetween": { # A border around a paragraph. # The border between this paragraph and the next and previous paragraphs. |
| # If unset, the value is inherited from the parent. |
| # |
| # The between border is rendered when the adjacent paragraph has the same |
| # border and indent properties. |
| # |
| # Paragraph borders cannot be partially updated. When making |
| # changes to a paragraph border the new border must be specified in |
| # its entirety. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| }, |
| "namedStyleType": "A String", # The named style type of the paragraph. |
| # |
| # Since updating the named style type affects other properties within |
| # ParagraphStyle, the named style type is applied before the other properties |
| # are updated. |
| "borderRight": { # A border around a paragraph. # The border to the right of this paragraph. If unset, the value is inherited |
| # from the parent. |
| # |
| # Paragraph borders cannot be partially updated. When making |
| # changes to a paragraph border the new border must be specified in |
| # its entirety. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| "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 of indentation for the paragraph on the side that corresponds to |
| # the end of the text, based on the current paragraph direction. If unset, |
| # the value is inherited from the parent. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "borderLeft": { # A border around a paragraph. # The border to the left of this paragraph. If unset, the value is inherited |
| # from the parent. |
| # |
| # Paragraph borders cannot be partially updated. When making |
| # changes to a paragraph border the new border must be specified in |
| # its entirety. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| "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. |
| }, |
| "headingId": "A String", # The heading ID of the paragraph. If empty, then this paragraph is not a |
| # heading. This property is read-only. |
| "shading": { # The shading of a paragraph. # The shading of the paragraph. If unset, the value is inherited from the |
| # parent. |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of this paragraph shading. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| }, |
| "borderTop": { # A border around a paragraph. # The border at the top of this paragraph. If unset, the value is inherited |
| # from the parent. |
| # |
| # The top border is rendered when the paragraph above has different border |
| # and indent properties. |
| # |
| # Paragraph borders cannot be partially updated. When making |
| # changes to a paragraph border the new border must be specified in |
| # its entirety. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| }, |
| "tabStops": [ # A list of the tab stops for this paragraph. The list of tab stops is not |
| # inherited. This property is read-only. |
| { # A tab stop within a paragraph. |
| "alignment": "A String", # The alignment of this tab stop. If unset, the value defaults to START. |
| "offset": { # A magnitude in a single direction in the specified units. # The offset between this tab stop and the start margin. |
| "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 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. |
| "keepLinesTogether": True or False, # Whether all lines of the paragraph should be laid out on the same page or |
| # column if possible. If unset, the value is inherited from the parent. |
| }, |
| }, |
| }, |
| "paragraphStyle": { # Styles that apply to a whole paragraph. # The style of this paragraph. |
| # |
| # Inherited paragraph styles are represented as unset fields in this message. |
| # A paragraph style's parent depends on where the paragraph style is defined: |
| # |
| # * The ParagraphStyle on a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The ParagraphStyle on a named style |
| # inherits from the normal text named style. |
| # * The ParagraphStyle of the normal text named style inherits |
| # from the default paragraph style in the Docs editor. |
| # * The ParagraphStyle on a Paragraph |
| # element that is contained in a table may inherit its paragraph style from |
| # the table style. |
| # |
| # If the paragraph style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "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 |
| # paragraph 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. |
| }, |
| "keepWithNext": True or False, # Whether at least a part of this paragraph should be laid out on the same |
| # page or column as the next paragraph if possible. If unset, the value is |
| # inherited from the parent. |
| "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. |
| "avoidWidowAndOrphan": True or False, # Whether to avoid widows and orphans for the paragraph. If unset, the value |
| # is inherited from the parent. |
| "borderBottom": { # A border around a paragraph. # The border at the bottom of this paragraph. If unset, the value is |
| # inherited from the parent. |
| # |
| # The bottom border is rendered when the paragraph below has different border |
| # and indent properties. |
| # |
| # Paragraph borders cannot be partially updated. When making |
| # changes to a paragraph border the new border must be specified in |
| # its entirety. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| }, |
| "indentStart": { # A magnitude in a single direction in the specified units. # The amount of indentation for the paragraph on the side that corresponds to |
| # the start of the text, based on the current paragraph direction. If unset, |
| # the value is inherited from the parent. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "borderBetween": { # A border around a paragraph. # The border between this paragraph and the next and previous paragraphs. |
| # If unset, the value is inherited from the parent. |
| # |
| # The between border is rendered when the adjacent paragraph has the same |
| # border and indent properties. |
| # |
| # Paragraph borders cannot be partially updated. When making |
| # changes to a paragraph border the new border must be specified in |
| # its entirety. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| }, |
| "namedStyleType": "A String", # The named style type of the paragraph. |
| # |
| # Since updating the named style type affects other properties within |
| # ParagraphStyle, the named style type is applied before the other properties |
| # are updated. |
| "borderRight": { # A border around a paragraph. # The border to the right of this paragraph. If unset, the value is inherited |
| # from the parent. |
| # |
| # Paragraph borders cannot be partially updated. When making |
| # changes to a paragraph border the new border must be specified in |
| # its entirety. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| "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 of indentation for the paragraph on the side that corresponds to |
| # the end of the text, based on the current paragraph direction. If unset, |
| # the value is inherited from the parent. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "borderLeft": { # A border around a paragraph. # The border to the left of this paragraph. If unset, the value is inherited |
| # from the parent. |
| # |
| # Paragraph borders cannot be partially updated. When making |
| # changes to a paragraph border the new border must be specified in |
| # its entirety. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| "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. |
| }, |
| "headingId": "A String", # The heading ID of the paragraph. If empty, then this paragraph is not a |
| # heading. This property is read-only. |
| "shading": { # The shading of a paragraph. # The shading of the paragraph. If unset, the value is inherited from the |
| # parent. |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of this paragraph shading. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| }, |
| "borderTop": { # A border around a paragraph. # The border at the top of this paragraph. If unset, the value is inherited |
| # from the parent. |
| # |
| # The top border is rendered when the paragraph above has different border |
| # and indent properties. |
| # |
| # Paragraph borders cannot be partially updated. When making |
| # changes to a paragraph border the new border must be specified in |
| # its entirety. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| }, |
| "tabStops": [ # A list of the tab stops for this paragraph. The list of tab stops is not |
| # inherited. This property is read-only. |
| { # A tab stop within a paragraph. |
| "alignment": "A String", # The alignment of this tab stop. If unset, the value defaults to START. |
| "offset": { # A magnitude in a single direction in the specified units. # The offset between this tab stop and the start margin. |
| "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 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. |
| "keepLinesTogether": True or False, # Whether all lines of the paragraph should be laid out on the same page or |
| # column if possible. If unset, the value is inherited from the parent. |
| }, |
| }, |
| "table": { # A StructuralElement representing a # A table type of structural element. |
| # table. |
| "rows": 42, # Number of rows in the table. |
| "tableStyle": { # Styles that apply to a table. # The style of the table. |
| "tableColumnProperties": [ # The properties of each column. |
| # |
| # Note that in Docs, tables contain rows and rows contain cells, similar to |
| # HTML. So the properties for a row can be found on the row's |
| # table_row_style. |
| { # The properties of a column in a table. |
| "width": { # A magnitude in a single direction in the specified units. # The width of the column. Set when the column's `width_type` is |
| # FIXED_WIDTH. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "widthType": "A String", # The width type of the column. |
| }, |
| ], |
| }, |
| "suggestedInsertionIds": [ # The suggested insertion IDs. A Table may have |
| # multiple insertion IDs if it is a nested suggested change. If empty, then |
| # this is not a suggested insertion. |
| "A String", |
| ], |
| "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| # of this content. |
| "A String", |
| ], |
| "tableRows": [ # The contents and style of each row. |
| { # The contents and style of a row in a Table. |
| "endIndex": 42, # The zero-based end index of this row, exclusive, in UTF-16 code units. |
| "tableCells": [ # The contents and style of each cell in this row. |
| # |
| # It is possible for a table to be non-rectangular, so some rows may have a |
| # different number of cells than other rows in the same table. |
| { # The contents and style of a cell in a Table. |
| "endIndex": 42, # The zero-based end index of this cell, exclusive, in UTF-16 code units. |
| "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| # of this content. |
| "A String", |
| ], |
| "suggestedInsertionIds": [ # The suggested insertion IDs. A TableCell |
| # may have multiple insertion IDs if it is a nested suggested change. If |
| # empty, then this is not a suggested insertion. |
| "A String", |
| ], |
| "content": [ # The content of the cell. |
| # Object with schema name: StructuralElement |
| ], |
| "tableCellStyle": { # The style of a TableCell. # The style of the cell. |
| # |
| # Inherited table cell styles are represented as unset fields in this message. |
| # A table cell style can inherit from the table's style. |
| "paddingBottom": { # A magnitude in a single direction in the specified units. # The bottom padding of the cell. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "borderBottom": { # A border around a table cell. # The bottom border of the cell. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| }, |
| "paddingLeft": { # A magnitude in a single direction in the specified units. # The left padding of the cell. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "paddingTop": { # A magnitude in a single direction in the specified units. # The top padding of the cell. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "borderLeft": { # A border around a table cell. # The left border of the cell. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| }, |
| "columnSpan": 42, # The column span of the cell. This property is read-only. |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the cell. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "borderRight": { # A border around a table cell. # The right border of the cell. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| }, |
| "rowSpan": 42, # The row span of the cell. This property is read-only. |
| "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 Docs editor. |
| "paddingRight": { # A magnitude in a single direction in the specified units. # The right padding of the cell. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "borderTop": { # A border around a table cell. # The top border of the cell. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| }, |
| }, |
| "startIndex": 42, # The zero-based start index of this cell, in UTF-16 code units. |
| "suggestedTableCellStyleChanges": { # The suggested changes to the table cell style, keyed by suggestion ID. |
| "a_key": { # A suggested change to a TableCellStyle. |
| "tableCellStyle": { # The style of a TableCell. # A TableCellStyle that only includes |
| # the changes made in this suggestion. This can be used along with the |
| # table_cell_style_suggestion_state |
| # to see which fields have changed and their new values. |
| # |
| # Inherited table cell styles are represented as unset fields in this message. |
| # A table cell style can inherit from the table's style. |
| "paddingBottom": { # A magnitude in a single direction in the specified units. # The bottom padding of the cell. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "borderBottom": { # A border around a table cell. # The bottom border of the cell. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| }, |
| "paddingLeft": { # A magnitude in a single direction in the specified units. # The left padding of the cell. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "paddingTop": { # A magnitude in a single direction in the specified units. # The top padding of the cell. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "borderLeft": { # A border around a table cell. # The left border of the cell. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| }, |
| "columnSpan": 42, # The column span of the cell. This property is read-only. |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the cell. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "borderRight": { # A border around a table cell. # The right border of the cell. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| }, |
| "rowSpan": 42, # The row span of the cell. This property is read-only. |
| "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 Docs editor. |
| "paddingRight": { # A magnitude in a single direction in the specified units. # The right padding of the cell. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "borderTop": { # A border around a table cell. # The top border of the cell. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| }, |
| }, |
| "tableCellStyleSuggestionState": { # A mask that indicates which of the fields on the base TableCellStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TableCellStyle have been changed in this suggestion. |
| # For any field set to true, there is a new suggested value. |
| "borderRightSuggested": True or False, # Indicates if there was a suggested change to border_right. |
| "borderBottomSuggested": True or False, # Indicates if there was a suggested change to border_bottom. |
| "paddingBottomSuggested": True or False, # Indicates if there was a suggested change to padding_bottom. |
| "contentAlignmentSuggested": True or False, # Indicates if there was a suggested change to content_alignment. |
| "rowSpanSuggested": True or False, # Indicates if there was a suggested change to row_span. |
| "borderLeftSuggested": True or False, # Indicates if there was a suggested change to border_left. |
| "borderTopSuggested": True or False, # Indicates if there was a suggested change to border_top. |
| "columnSpanSuggested": True or False, # Indicates if there was a suggested change to column_span. |
| "paddingRightSuggested": True or False, # Indicates if there was a suggested change to padding_right. |
| "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| "paddingLeftSuggested": True or False, # Indicates if there was a suggested change to padding_left. |
| "paddingTopSuggested": True or False, # Indicates if there was a suggested change to padding_top. |
| }, |
| }, |
| }, |
| }, |
| ], |
| "tableRowStyle": { # Styles that apply to a table row. # The style of the table row. |
| "minRowHeight": { # A magnitude in a single direction in the specified units. # The minimum height of the row. The row will be rendered in the Docs editor |
| # at a height equal to or greater than this value in order to show all the |
| # content in the row's cells. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| }, |
| "suggestedInsertionIds": [ # The suggested insertion IDs. A TableRow |
| # may have multiple insertion IDs if it is a nested suggested change. If |
| # empty, then this is not a suggested insertion. |
| "A String", |
| ], |
| "startIndex": 42, # The zero-based start index of this row, in UTF-16 code units. |
| "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| # of this content. |
| "A String", |
| ], |
| "suggestedTableRowStyleChanges": { # The suggested style changes to this row, keyed by suggestion ID. |
| "a_key": { # A suggested change to a |
| # TableRowStyle. |
| "tableRowStyle": { # Styles that apply to a table row. # A TableRowStyle that only includes |
| # the changes made in this suggestion. This can be used along with the |
| # table_row_style_suggestion_state |
| # to see which fields have changed and their new values. |
| "minRowHeight": { # A magnitude in a single direction in the specified units. # The minimum height of the row. The row will be rendered in the Docs editor |
| # at a height equal to or greater than this value in order to show all the |
| # content in the row's cells. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| }, |
| "tableRowStyleSuggestionState": { # A mask that indicates which of the fields on the base TableRowStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TableRowStyle have been changed in this suggestion. |
| # For any field set to true, there is a new suggested value. |
| "minRowHeightSuggested": True or False, # Indicates if there was a suggested change to min_row_height. |
| }, |
| }, |
| }, |
| }, |
| ], |
| "columns": 42, # Number of columns in the table. |
| # |
| # It is possible for a table to be non-rectangular, so some rows may have a |
| # different number of cells. |
| }, |
| }, |
| ], |
| }, |
| "documentStyle": { # The style of the document. # The style of the document. |
| "defaultFooterId": "A String", # The ID of the default footer. If not set, there is no default footer. |
| "evenPageFooterId": "A String", # The ID of the footer used only for even pages. The value of |
| # use_even_page_header_footer determines |
| # whether to use the default_footer_id or this value for the |
| # footer on even pages. If not set, there is no even page footer. |
| "firstPageFooterId": "A String", # The ID of the footer used only for the first page. If not set then |
| # a unique footer for the first page does not exist. The value of |
| # use_first_page_header_footer determines |
| # whether to use the default_footer_id or this value for the |
| # footer on the first page. If not set, there is no first page footer. |
| "pageSize": { # A width and height. # The size of a page in the document. |
| "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. |
| }, |
| }, |
| "defaultHeaderId": "A String", # The ID of the default header. If not set, there is no default header. |
| "marginBottom": { # A magnitude in a single direction in the specified units. # The bottom page margin. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "firstPageHeaderId": "A String", # The ID of the header used only for the first page. If not set then |
| # a unique header for the first page does not exist. |
| # The value of use_first_page_header_footer determines |
| # whether to use the default_header_id or this value for the |
| # header on the first page. If not set, there is no first page header. |
| "evenPageHeaderId": "A String", # The ID of the header used only for even pages. The value of |
| # use_even_page_header_footer determines |
| # whether to use the default_header_id or this value for the |
| # header on even pages. If not set, there is no even page header. |
| "useFirstPageHeaderFooter": True or False, # Indicates whether to use the first page header / footer IDs for the first |
| # page. |
| "marginLeft": { # A magnitude in a single direction in the specified units. # The left page margin. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "useEvenPageHeaderFooter": True or False, # Indicates whether to use the even page header / footer IDs for the even |
| # pages. |
| "background": { # Represents the background of a document. # The background of the document. |
| "color": { # A color that can either be fully opaque or fully transparent. # The background color. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| }, |
| "marginRight": { # A magnitude in a single direction in the specified units. # The right page margin. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "pageNumberStart": 42, # The page number from which to start counting the number of pages. |
| "marginTop": { # A magnitude in a single direction in the specified units. # The top page margin. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| }, |
| "title": "A String", # The title of the document. |
| "namedRanges": { # The named ranges in the document, keyed by name. |
| "a_key": { # A collection of all the NamedRanges in the |
| # document that share a given name. |
| "namedRanges": [ # The NamedRanges that share the same name. |
| { # A collection of Ranges with the same named range |
| # ID. |
| # |
| # Named ranges allow developers to associate parts of a document with an |
| # arbitrary user-defined label so their contents can be programmatically read |
| # or edited at a later time. A document can contain multiple named ranges with |
| # the same name, but every named range has a unique ID. |
| # |
| # A named range is created with a single Range, |
| # and content inserted inside a named range generally expands that range. |
| # However, certain document changes can cause the range to be split into |
| # multiple ranges. |
| # |
| # Named ranges are not private. All applications and collaborators that have |
| # access to the document can see its named ranges. |
| "ranges": [ # The ranges that belong to this named range. |
| { # Specifies a contiguous range of text. |
| "endIndex": 42, # The zero-based end index of this range, exclusive, in UTF-16 code units. |
| # |
| # In all current uses, an end index must be provided. This field is an |
| # Int32Value in order to accommodate future use cases with open-ended ranges. |
| "startIndex": 42, # The zero-based start index of this range, in UTF-16 code units. |
| # |
| # In all current uses, a start index must be provided. This field is an |
| # Int32Value in order to accommodate future use cases with open-ended ranges. |
| "segmentId": "A String", # The ID of the header, footer or footnote that this range is contained in. |
| # An empty segment ID signifies the document's body. |
| }, |
| ], |
| "namedRangeId": "A String", # The ID of the named range. |
| "name": "A String", # The name of the named range. |
| }, |
| ], |
| "name": "A String", # The name that all the named ranges share. |
| }, |
| }, |
| "suggestedDocumentStyleChanges": { # The suggested changes to the style of the document, keyed by suggestion ID. |
| "a_key": { # A suggested change to the DocumentStyle. |
| "documentStyle": { # The style of the document. # A DocumentStyle that only includes |
| # the changes made in this suggestion. This can be used along with the |
| # document_style_suggestion_state |
| # to see which fields have changed and their new values. |
| "defaultFooterId": "A String", # The ID of the default footer. If not set, there is no default footer. |
| "evenPageFooterId": "A String", # The ID of the footer used only for even pages. The value of |
| # use_even_page_header_footer determines |
| # whether to use the default_footer_id or this value for the |
| # footer on even pages. If not set, there is no even page footer. |
| "firstPageFooterId": "A String", # The ID of the footer used only for the first page. If not set then |
| # a unique footer for the first page does not exist. The value of |
| # use_first_page_header_footer determines |
| # whether to use the default_footer_id or this value for the |
| # footer on the first page. If not set, there is no first page footer. |
| "pageSize": { # A width and height. # The size of a page in the document. |
| "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. |
| }, |
| }, |
| "defaultHeaderId": "A String", # The ID of the default header. If not set, there is no default header. |
| "marginBottom": { # A magnitude in a single direction in the specified units. # The bottom page margin. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "firstPageHeaderId": "A String", # The ID of the header used only for the first page. If not set then |
| # a unique header for the first page does not exist. |
| # The value of use_first_page_header_footer determines |
| # whether to use the default_header_id or this value for the |
| # header on the first page. If not set, there is no first page header. |
| "evenPageHeaderId": "A String", # The ID of the header used only for even pages. The value of |
| # use_even_page_header_footer determines |
| # whether to use the default_header_id or this value for the |
| # header on even pages. If not set, there is no even page header. |
| "useFirstPageHeaderFooter": True or False, # Indicates whether to use the first page header / footer IDs for the first |
| # page. |
| "marginLeft": { # A magnitude in a single direction in the specified units. # The left page margin. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "useEvenPageHeaderFooter": True or False, # Indicates whether to use the even page header / footer IDs for the even |
| # pages. |
| "background": { # Represents the background of a document. # The background of the document. |
| "color": { # A color that can either be fully opaque or fully transparent. # The background color. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| }, |
| "marginRight": { # A magnitude in a single direction in the specified units. # The right page margin. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "pageNumberStart": 42, # The page number from which to start counting the number of pages. |
| "marginTop": { # A magnitude in a single direction in the specified units. # The top page margin. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| }, |
| "documentStyleSuggestionState": { # A mask that indicates which of the fields on the base DocumentStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base DocumentStyle have been changed in this suggestion. |
| # For any field set to true, there is a new suggested value. |
| "marginRightSuggested": True or False, # Indicates if there was a suggested change to margin_right. |
| "evenPageHeaderIdSuggested": True or False, # Indicates if there was a suggested change to even_page_header_id. |
| "firstPageHeaderIdSuggested": True or False, # Indicates if there was a suggested change to first_page_header_id. |
| "marginBottomSuggested": True or False, # Indicates if there was a suggested change to margin_bottom. |
| "pageNumberStartSuggested": True or False, # Indicates if there was a suggested change to page_number_start. |
| "defaultHeaderIdSuggested": True or False, # Indicates if there was a suggested change to default_header_id. |
| "pageSizeSuggestionState": { # A mask that indicates which of the fields on the base Size have been changed in this suggestion. # A mask that indicates which of the fields in size have been changed in this |
| # suggestion. |
| # For any field set to true, the Size has |
| # a new suggested value. |
| "widthSuggested": True or False, # Indicates if there was a suggested change to width. |
| "heightSuggested": True or False, # Indicates if there was a suggested change to height. |
| }, |
| "marginLeftSuggested": True or False, # Indicates if there was a suggested change to margin_left. |
| "marginTopSuggested": True or False, # Indicates if there was a suggested change to margin_top. |
| "firstPageFooterIdSuggested": True or False, # Indicates if there was a suggested change to first_page_footer_id. |
| "defaultFooterIdSuggested": True or False, # Indicates if there was a suggested change to default_footer_id. |
| "useFirstPageHeaderFooterSuggested": True or False, # Indicates if there was a suggested change to use_first_page_header_footer. |
| "evenPageFooterIdSuggested": True or False, # Indicates if there was a suggested change to even_page_footer_id. |
| "backgroundSuggestionState": { # A mask that indicates which of the fields on the base Background have been changed in this suggestion. # A mask that indicates which of the fields in background have been changed in this |
| # suggestion. |
| # For any field set to true, the Backgound has a new suggested value. |
| "backgroundColorSuggested": True or False, # Indicates whether the current background color has been modified in this |
| # suggestion. |
| }, |
| "useEvenPageHeaderFooterSuggested": True or False, # Indicates if there was a suggested change to use_even_page_header_footer. |
| }, |
| }, |
| }, |
| "suggestedNamedStylesChanges": { # The suggested changes to the named styles of the document, keyed by |
| # suggestion ID. |
| "a_key": { # A suggested change to the NamedStyles. |
| "namedStylesSuggestionState": { # The suggestion state of a NamedStyles # A mask that indicates which of the fields on the base NamedStyles have been changed in this suggestion. |
| # message. |
| "stylesSuggestionStates": [ # A mask that indicates which of the fields on the corresponding NamedStyle in styles have been changed in this |
| # suggestion. |
| # |
| # The order of these named style suggestion states match the order of the |
| # corresponding named style within the named styles suggestion. |
| { # A suggestion state of a NamedStyle message. |
| "paragraphStyleSuggestionState": { # A mask that indicates which of the fields on the base ParagraphStyle have been changed in this suggestion. # A mask that indicates which of the fields in paragraph style have been changed in this |
| # suggestion. |
| # For any field set to true, there is a new suggested value. |
| "avoidWidowAndOrphanSuggested": True or False, # Indicates if there was a suggested change to avoid_widow_and_orphan. |
| "lineSpacingSuggested": True or False, # Indicates if there was a suggested change to line_spacing. |
| "spacingModeSuggested": True or False, # Indicates if there was a suggested change to spacing_mode. |
| "spaceBelowSuggested": True or False, # Indicates if there was a suggested change to space_below. |
| "borderRightSuggested": True or False, # Indicates if there was a suggested change to border_right. |
| "indentStartSuggested": True or False, # Indicates if there was a suggested change to indent_start. |
| "namedStyleTypeSuggested": True or False, # Indicates if there was a suggested change to named_style_type. |
| "indentEndSuggested": True or False, # Indicates if there was a suggested change to indent_end. |
| "borderBetweenSuggested": True or False, # Indicates if there was a suggested change to border_between. |
| "borderTopSuggested": True or False, # Indicates if there was a suggested change to border_top. |
| "borderLeftSuggested": True or False, # Indicates if there was a suggested change to border_left. |
| "keepWithNextSuggested": True or False, # Indicates if there was a suggested change to keep_with_next. |
| "spaceAboveSuggested": True or False, # Indicates if there was a suggested change to space_above. |
| "alignmentSuggested": True or False, # Indicates if there was a suggested change to alignment. |
| "indentFirstLineSuggested": True or False, # Indicates if there was a suggested change to indent_first_line. |
| "headingIdSuggested": True or False, # Indicates if there was a suggested change to heading_id. |
| "borderBottomSuggested": True or False, # Indicates if there was a suggested change to border_bottom. |
| "directionSuggested": True or False, # Indicates if there was a suggested change to direction. |
| "keepLinesTogetherSuggested": True or False, # Indicates if there was a suggested change to keep_lines_together. |
| "shadingSuggestionState": { # A mask that indicates which of the fields on the base Shading have been changed in this # A mask that indicates which of the fields in shading have been changed in |
| # this suggestion. |
| # suggested change. For any field set to true, there is a new suggested value. |
| "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to the Shading. |
| }, |
| }, |
| "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields in text style have been changed in this |
| # suggestion. |
| # For any field set to true, there is a new suggested value. |
| "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| }, |
| "namedStyleType": "A String", # The named style type that this suggestion state corresponds to. |
| # |
| # This field is provided as a convenience for matching the |
| # NamedStyleSuggestionState with its corresponding NamedStyle. |
| }, |
| ], |
| }, |
| "namedStyles": { # The named styles. Paragraphs in the document can inherit their # A NamedStyles that only includes the |
| # changes made in this suggestion. This can be used along with the |
| # named_styles_suggestion_state to |
| # see which fields have changed and their new values. |
| # TextStyle and |
| # ParagraphStyle from these named styles. |
| "styles": [ # The named styles. |
| # |
| # There is an entry for each of the possible named style types. |
| { # A named style. Paragraphs in the document can inherit their |
| # TextStyle and |
| # ParagraphStyle from this named style |
| # when they have the same named style type. |
| "textStyle": { # Represents the styling that can be applied to text. # The text style of this named style. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "namedStyleType": "A String", # The type of this named style. |
| "paragraphStyle": { # Styles that apply to a whole paragraph. # The paragraph style of this named style. |
| # |
| # Inherited paragraph styles are represented as unset fields in this message. |
| # A paragraph style's parent depends on where the paragraph style is defined: |
| # |
| # * The ParagraphStyle on a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The ParagraphStyle on a named style |
| # inherits from the normal text named style. |
| # * The ParagraphStyle of the normal text named style inherits |
| # from the default paragraph style in the Docs editor. |
| # * The ParagraphStyle on a Paragraph |
| # element that is contained in a table may inherit its paragraph style from |
| # the table style. |
| # |
| # If the paragraph style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "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 |
| # paragraph 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. |
| }, |
| "keepWithNext": True or False, # Whether at least a part of this paragraph should be laid out on the same |
| # page or column as the next paragraph if possible. If unset, the value is |
| # inherited from the parent. |
| "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. |
| "avoidWidowAndOrphan": True or False, # Whether to avoid widows and orphans for the paragraph. If unset, the value |
| # is inherited from the parent. |
| "borderBottom": { # A border around a paragraph. # The border at the bottom of this paragraph. If unset, the value is |
| # inherited from the parent. |
| # |
| # The bottom border is rendered when the paragraph below has different border |
| # and indent properties. |
| # |
| # Paragraph borders cannot be partially updated. When making |
| # changes to a paragraph border the new border must be specified in |
| # its entirety. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| }, |
| "indentStart": { # A magnitude in a single direction in the specified units. # The amount of indentation for the paragraph on the side that corresponds to |
| # the start of the text, based on the current paragraph direction. If unset, |
| # the value is inherited from the parent. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "borderBetween": { # A border around a paragraph. # The border between this paragraph and the next and previous paragraphs. |
| # If unset, the value is inherited from the parent. |
| # |
| # The between border is rendered when the adjacent paragraph has the same |
| # border and indent properties. |
| # |
| # Paragraph borders cannot be partially updated. When making |
| # changes to a paragraph border the new border must be specified in |
| # its entirety. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| }, |
| "namedStyleType": "A String", # The named style type of the paragraph. |
| # |
| # Since updating the named style type affects other properties within |
| # ParagraphStyle, the named style type is applied before the other properties |
| # are updated. |
| "borderRight": { # A border around a paragraph. # The border to the right of this paragraph. If unset, the value is inherited |
| # from the parent. |
| # |
| # Paragraph borders cannot be partially updated. When making |
| # changes to a paragraph border the new border must be specified in |
| # its entirety. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| "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 of indentation for the paragraph on the side that corresponds to |
| # the end of the text, based on the current paragraph direction. If unset, |
| # the value is inherited from the parent. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "borderLeft": { # A border around a paragraph. # The border to the left of this paragraph. If unset, the value is inherited |
| # from the parent. |
| # |
| # Paragraph borders cannot be partially updated. When making |
| # changes to a paragraph border the new border must be specified in |
| # its entirety. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| "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. |
| }, |
| "headingId": "A String", # The heading ID of the paragraph. If empty, then this paragraph is not a |
| # heading. This property is read-only. |
| "shading": { # The shading of a paragraph. # The shading of the paragraph. If unset, the value is inherited from the |
| # parent. |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of this paragraph shading. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| }, |
| "borderTop": { # A border around a paragraph. # The border at the top of this paragraph. If unset, the value is inherited |
| # from the parent. |
| # |
| # The top border is rendered when the paragraph above has different border |
| # and indent properties. |
| # |
| # Paragraph borders cannot be partially updated. When making |
| # changes to a paragraph border the new border must be specified in |
| # its entirety. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| }, |
| "tabStops": [ # A list of the tab stops for this paragraph. The list of tab stops is not |
| # inherited. This property is read-only. |
| { # A tab stop within a paragraph. |
| "alignment": "A String", # The alignment of this tab stop. If unset, the value defaults to START. |
| "offset": { # A magnitude in a single direction in the specified units. # The offset between this tab stop and the start margin. |
| "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 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. |
| "keepLinesTogether": True or False, # Whether all lines of the paragraph should be laid out on the same page or |
| # column if possible. If unset, the value is inherited from the parent. |
| }, |
| }, |
| ], |
| }, |
| }, |
| }, |
| "suggestionsViewMode": "A String", # The suggestions view mode applied to the document. |
| # |
| # Note: When editing a document, changes must be based on a document with |
| # SUGGESTIONS_INLINE. |
| "lists": { # The lists in the document, keyed by list ID. |
| "a_key": { # A List represents the list attributes for a group of paragraphs that all |
| # belong to the same list. A paragraph that is part of a list has a reference |
| # to the list's ID in its bullet. |
| "listProperties": { # The properties of a list which describe the look # The properties of the list. |
| # and feel of bullets belonging to paragraphs associated with a list. |
| "nestingLevels": [ # Describes the properties of the bullets at the associated level. |
| # |
| # A list has at most nine levels of nesting with nesting level 0 |
| # corresponding to the top-most level and nesting level 8 corresponding to |
| # the most nested level. The nesting levels are returned in ascending order |
| # with the least nested returned first. |
| { # Contains properties describing the look and feel of a list bullet at a given |
| # level of nesting. |
| "textStyle": { # Represents the styling that can be applied to text. # The text style of bullets at this level of nesting. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "indentStart": { # A magnitude in a single direction in the specified units. # The amount of indentation for paragraphs at this level of nesting. Applied |
| # to the side that corresponds to the start of the text, based on the |
| # paragraph's content direction. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "glyphFormat": "A String", # The format string used by bullets at this level of nesting. |
| # |
| # The glyph format contains one or more placeholders, and these placeholder |
| # are replaced with the appropriate values depending on the glyph_type or glyph_symbol. The placeholders follow |
| # the pattern `%[nesting_level]`. Furthermore, placeholders can have prefixes |
| # and suffixes. Thus, the glyph format follows the pattern |
| # `<prefix>%[nesting_level]<suffix>`. Note that the prefix and suffix are |
| # optional and can be arbitrary strings. |
| # |
| # For example, the glyph format `%0.` indicates that the rendered glyph will |
| # replace the placeholder with the corresponding glyph for nesting level 0 |
| # followed by a period as the suffix. So a list with a glyph type of |
| # UPPER_ALPHA and |
| # glyph format `%0.` at nesting level 0 will result in a list with rendered |
| # glyphs |
| # <p>`A.` |
| # <p>`B.` |
| # <p>`C.` |
| # |
| # The glyph format can contain placeholders for the current nesting level as |
| # well as placeholders for parent nesting levels. For example, a |
| # list can have a glyph format of `%0.` at nesting level 0 and a |
| # glyph format of `%0.%1.` at nesting level 1. Assuming both nesting levels |
| # have DECIMAL glyph |
| # types, this would result in a list with rendered glyphs |
| # <p>`1.` |
| # <p>`2.` |
| # <p>` 2.1.` |
| # <p>` 2.2.` |
| # <p>`3.` |
| # |
| # For nesting levels that are ordered, the string that replaces a placeholder |
| # in the glyph format for a particular paragraph depends on the paragraph's |
| # order within the list. |
| "glyphType": "A String", # The type of glyph used by bullets when paragraphs at this level of |
| # nesting are ordered. |
| # |
| # The glyph type determines the type of glyph used to replace placeholders |
| # within the glyph_format |
| # when paragraphs at this level of nesting are ordered. For example, if the |
| # nesting level is 0, the glyph_format is `%0.` and the glyph |
| # type is DECIMAL, |
| # then the rendered glyph would replace the placeholder `%0` in the glyph |
| # format with a number corresponding to list item's order within the list. |
| "startNumber": 42, # The number of the first list item at this nesting level. |
| # |
| # A value of 0 is treated as a value of 1 for lettered lists and roman |
| # numeraled lists, i.e. for values of both 0 and 1, lettered and roman |
| # numeraled lists will begin at `a` and `i` respectively. |
| # |
| # This value is ignored for nesting levels with unordered glyphs. |
| "bulletAlignment": "A String", # The alignment of the bullet within the space allotted for rendering the |
| # bullet. |
| "glyphSymbol": "A String", # A custom glyph symbol used by bullets when paragraphs at this level of |
| # nesting are unordered. |
| # |
| # The glyph symbol replaces placeholders within the glyph_format. For example, if the |
| # glyph_symbol is the solid circle corresponding to Unicode U+25cf code |
| # point and the glyph_format is `%0`, the rendered |
| # glyph would be the solid circle. |
| "indentFirstLine": { # A magnitude in a single direction in the specified units. # The amount of indentation for the first line of paragraphs at this level of |
| # nesting. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| }, |
| ], |
| }, |
| "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| # of this list. |
| "A String", |
| ], |
| "suggestedListPropertiesChanges": { # The suggested changes to the list properties, keyed by suggestion |
| # ID. |
| "a_key": { # A suggested change to ListProperties. |
| "listProperties": { # The properties of a list which describe the look # A ListProperties that only includes |
| # the changes made in this suggestion. This can be used along with the |
| # list_properties_suggestion_state |
| # to see which fields have changed and their new values. |
| # and feel of bullets belonging to paragraphs associated with a list. |
| "nestingLevels": [ # Describes the properties of the bullets at the associated level. |
| # |
| # A list has at most nine levels of nesting with nesting level 0 |
| # corresponding to the top-most level and nesting level 8 corresponding to |
| # the most nested level. The nesting levels are returned in ascending order |
| # with the least nested returned first. |
| { # Contains properties describing the look and feel of a list bullet at a given |
| # level of nesting. |
| "textStyle": { # Represents the styling that can be applied to text. # The text style of bullets at this level of nesting. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "indentStart": { # A magnitude in a single direction in the specified units. # The amount of indentation for paragraphs at this level of nesting. Applied |
| # to the side that corresponds to the start of the text, based on the |
| # paragraph's content direction. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "glyphFormat": "A String", # The format string used by bullets at this level of nesting. |
| # |
| # The glyph format contains one or more placeholders, and these placeholder |
| # are replaced with the appropriate values depending on the glyph_type or glyph_symbol. The placeholders follow |
| # the pattern `%[nesting_level]`. Furthermore, placeholders can have prefixes |
| # and suffixes. Thus, the glyph format follows the pattern |
| # `<prefix>%[nesting_level]<suffix>`. Note that the prefix and suffix are |
| # optional and can be arbitrary strings. |
| # |
| # For example, the glyph format `%0.` indicates that the rendered glyph will |
| # replace the placeholder with the corresponding glyph for nesting level 0 |
| # followed by a period as the suffix. So a list with a glyph type of |
| # UPPER_ALPHA and |
| # glyph format `%0.` at nesting level 0 will result in a list with rendered |
| # glyphs |
| # <p>`A.` |
| # <p>`B.` |
| # <p>`C.` |
| # |
| # The glyph format can contain placeholders for the current nesting level as |
| # well as placeholders for parent nesting levels. For example, a |
| # list can have a glyph format of `%0.` at nesting level 0 and a |
| # glyph format of `%0.%1.` at nesting level 1. Assuming both nesting levels |
| # have DECIMAL glyph |
| # types, this would result in a list with rendered glyphs |
| # <p>`1.` |
| # <p>`2.` |
| # <p>` 2.1.` |
| # <p>` 2.2.` |
| # <p>`3.` |
| # |
| # For nesting levels that are ordered, the string that replaces a placeholder |
| # in the glyph format for a particular paragraph depends on the paragraph's |
| # order within the list. |
| "glyphType": "A String", # The type of glyph used by bullets when paragraphs at this level of |
| # nesting are ordered. |
| # |
| # The glyph type determines the type of glyph used to replace placeholders |
| # within the glyph_format |
| # when paragraphs at this level of nesting are ordered. For example, if the |
| # nesting level is 0, the glyph_format is `%0.` and the glyph |
| # type is DECIMAL, |
| # then the rendered glyph would replace the placeholder `%0` in the glyph |
| # format with a number corresponding to list item's order within the list. |
| "startNumber": 42, # The number of the first list item at this nesting level. |
| # |
| # A value of 0 is treated as a value of 1 for lettered lists and roman |
| # numeraled lists, i.e. for values of both 0 and 1, lettered and roman |
| # numeraled lists will begin at `a` and `i` respectively. |
| # |
| # This value is ignored for nesting levels with unordered glyphs. |
| "bulletAlignment": "A String", # The alignment of the bullet within the space allotted for rendering the |
| # bullet. |
| "glyphSymbol": "A String", # A custom glyph symbol used by bullets when paragraphs at this level of |
| # nesting are unordered. |
| # |
| # The glyph symbol replaces placeholders within the glyph_format. For example, if the |
| # glyph_symbol is the solid circle corresponding to Unicode U+25cf code |
| # point and the glyph_format is `%0`, the rendered |
| # glyph would be the solid circle. |
| "indentFirstLine": { # A magnitude in a single direction in the specified units. # The amount of indentation for the first line of paragraphs at this level of |
| # nesting. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| }, |
| ], |
| }, |
| "listPropertiesSuggestionState": { # A mask that indicates which of the fields on the base ListProperties have been changed in this suggestion. # A mask that indicates which of the fields on the base ListProperties have been changed in this suggestion. |
| # For any field set to true, there is a new suggested value. |
| "nestingLevelsSuggestionStates": [ # A mask that indicates which of the fields on the corresponding |
| # NestingLevel in nesting_levels have been changed in |
| # this suggestion. |
| # |
| # The nesting level suggestion states are returned in ascending order of the |
| # nesting level with the least nested returned first. |
| { # A mask that indicates which of the fields on the base NestingLevel have been changed in this suggestion. For |
| # any field set to true, there is a new suggested value. |
| "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields in text style have been changed in this |
| # suggestion. |
| # For any field set to true, there is a new suggested value. |
| "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| }, |
| "glyphFormatSuggested": True or False, # Indicates if there was a suggested change to |
| # glyph_format. |
| "indentStartSuggested": True or False, # Indicates if there was a suggested change to |
| # indent_start. |
| "startNumberSuggested": True or False, # Indicates if there was a suggested change to |
| # start_number. |
| "glyphTypeSuggested": True or False, # Indicates if there was a suggested change to |
| # glyph_type. |
| "indentFirstLineSuggested": True or False, # Indicates if there was a suggested change to |
| # indent_first_line. |
| "glyphSymbolSuggested": True or False, # Indicates if there was a suggested change to |
| # glyph_symbol. |
| "bulletAlignmentSuggested": True or False, # Indicates if there was a suggested change to |
| # bullet_alignment. |
| }, |
| ], |
| }, |
| }, |
| }, |
| "suggestedInsertionId": "A String", # The suggested insertion ID. If empty, then this is not a suggested |
| # insertion. |
| }, |
| }, |
| "headers": { # The headers in the document, keyed by header ID. |
| "a_key": { # A document header. |
| "headerId": "A String", # The ID of the header. |
| "content": [ # The contents of the header. |
| # |
| # The indexes for a header's content begin at zero. |
| { # A StructuralElement describes content that provides structure to the |
| # document. |
| "endIndex": 42, # The zero-based end index of this structural element, exclusive, in UTF-16 |
| # code units. |
| "sectionBreak": { # A StructuralElement representing a # A section break type of structural element. |
| # section break. A section is a range of content which has the same |
| # SectionStyle. A section break represents |
| # the start of a new section, and the section style applies to the section |
| # after the section break. |
| # |
| # The document body always begins with a section break. |
| "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| # of this content. |
| "A String", |
| ], |
| "sectionStyle": { # The styling that applies to a section. # The style of the section after this section break. |
| "contentDirection": "A String", # The content direction of this section. If unset, the value defaults to |
| # LEFT_TO_RIGHT. |
| "columnProperties": [ # The section's columns properties. |
| # |
| # If empty, the section contains one column with the default properties in |
| # the Docs editor. |
| { # Properties that apply to a section's column. |
| "width": { # A magnitude in a single direction in the specified units. # The width of the column. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "paddingEnd": { # A magnitude in a single direction in the specified units. # The padding at the end of the column. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| }, |
| ], |
| "columnSeparatorStyle": "A String", # The style of column separators. |
| # |
| # This style can be set even when there is one column in the section. |
| }, |
| "suggestedInsertionIds": [ # The suggested insertion IDs. A SectionBreak may have multiple insertion IDs if it is |
| # a nested suggested change. If empty, then this is not a suggested |
| # insertion. |
| "A String", |
| ], |
| }, |
| "tableOfContents": { # A StructuralElement representing # A table of contents type of structural element. |
| # a table of contents. |
| "content": [ # The content of the table of contents. |
| # Object with schema name: StructuralElement |
| ], |
| "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| # of this content. |
| "A String", |
| ], |
| "suggestedInsertionIds": [ # The suggested insertion IDs. A TableOfContents may have multiple insertion IDs if it |
| # is a nested suggested change. If empty, then this is not a suggested |
| # insertion. |
| "A String", |
| ], |
| }, |
| "startIndex": 42, # The zero-based start index of this structural element, in UTF-16 code |
| # units. |
| "paragraph": { # A StructuralElement representing a # A paragraph type of structural element. |
| # paragraph. A paragraph is a range of content that is terminated with a |
| # newline character. |
| "elements": [ # The content of the paragraph broken down into its component parts. |
| { # A ParagraphElement describes content within a |
| # Paragraph. |
| "endIndex": 42, # The zero-base end index of this paragraph element, exclusive, in UTF-16 |
| # code units. |
| "equation": { # A ParagraphElement representing an # An equation paragraph element. |
| # equation. |
| "suggestedInsertionIds": [ # The suggested insertion IDs. A Equation |
| # may have multiple insertion IDs if it is a nested suggested change. If |
| # empty, then this is not a suggested insertion. |
| "A String", |
| ], |
| "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| # of this content. |
| "A String", |
| ], |
| }, |
| "columnBreak": { # A ParagraphElement representing a # A column break paragraph element. |
| # column break. A column break makes the subsequent text start at the top of |
| # the next column. |
| "textStyle": { # Represents the styling that can be applied to text. # The text style of this ColumnBreak. |
| # |
| # Similar to text content, like text runs and footnote references, the text |
| # style of a column break can affect content layout as well as the styling of |
| # text inserted adjacent to it. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "suggestedInsertionIds": [ # The suggested insertion IDs. A ColumnBreak may have multiple insertion IDs if it is |
| # a nested suggested change. If empty, then this is not a suggested |
| # insertion. |
| "A String", |
| ], |
| "suggestedTextStyleChanges": { # The suggested text style changes to this ColumnBreak, keyed by suggestion |
| # ID. |
| "a_key": { # A suggested change to a TextStyle. |
| "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| # the changes made in this suggestion. This can be used along with the |
| # text_style_suggestion_state |
| # to see which fields have changed and their new values. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| # For any field set to true, there is a new suggested value. |
| "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| }, |
| }, |
| }, |
| "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| # of this content. |
| "A String", |
| ], |
| }, |
| "startIndex": 42, # The zero-based start index of this paragraph element, in UTF-16 code units. |
| "pageBreak": { # A ParagraphElement representing a # A page break paragraph element. |
| # page break. A page break makes the subsequent text start at the top of the |
| # next page. |
| "textStyle": { # Represents the styling that can be applied to text. # The text style of this PageBreak. |
| # |
| # Similar to text content, like text runs and footnote references, the text |
| # style of a page break can affect content layout as well as the styling of |
| # text inserted adjacent to it. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| # of this content. |
| "A String", |
| ], |
| "suggestedTextStyleChanges": { # The suggested text style changes to this PageBreak, keyed by suggestion ID. |
| "a_key": { # A suggested change to a TextStyle. |
| "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| # the changes made in this suggestion. This can be used along with the |
| # text_style_suggestion_state |
| # to see which fields have changed and their new values. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| # For any field set to true, there is a new suggested value. |
| "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| }, |
| }, |
| }, |
| "suggestedInsertionIds": [ # The suggested insertion IDs. A PageBreak |
| # may have multiple insertion IDs if it is a nested suggested change. If |
| # empty, then this is not a suggested insertion. |
| "A String", |
| ], |
| }, |
| "horizontalRule": { # A ParagraphElement representing a # A horizontal rule paragraph element. |
| # horizontal line. |
| "textStyle": { # Represents the styling that can be applied to text. # The text style of this HorizontalRule. |
| # |
| # Similar to text content, like text runs and footnote references, the text |
| # style of a horizontal rule can affect content layout as well as the styling |
| # of text inserted adjacent to it. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "suggestedInsertionIds": [ # The suggested insertion IDs. A HorizontalRule may have multiple insertion IDs if it |
| # is a nested suggested change. If empty, then this is not a suggested |
| # insertion. |
| "A String", |
| ], |
| "suggestedTextStyleChanges": { # The suggested text style changes to this HorizontalRule, keyed by |
| # suggestion ID. |
| "a_key": { # A suggested change to a TextStyle. |
| "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| # the changes made in this suggestion. This can be used along with the |
| # text_style_suggestion_state |
| # to see which fields have changed and their new values. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| # For any field set to true, there is a new suggested value. |
| "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| }, |
| }, |
| }, |
| "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| # of this content. |
| "A String", |
| ], |
| }, |
| "textRun": { # A ParagraphElement that represents a # A text run paragraph element. |
| # run of text that all has the same styling. |
| "content": "A String", # The text of this run. |
| # |
| # Any non-text elements in the run are replaced with the Unicode character |
| # U+E907. |
| "textStyle": { # Represents the styling that can be applied to text. # The text style of this run. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "suggestedInsertionIds": [ # The suggested insertion IDs. A TextRun may |
| # have multiple insertion IDs if it is a nested suggested change. If empty, |
| # then this is not a suggested insertion. |
| "A String", |
| ], |
| "suggestedTextStyleChanges": { # The suggested text style changes to this run, keyed by suggestion ID. |
| "a_key": { # A suggested change to a TextStyle. |
| "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| # the changes made in this suggestion. This can be used along with the |
| # text_style_suggestion_state |
| # to see which fields have changed and their new values. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| # For any field set to true, there is a new suggested value. |
| "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| }, |
| }, |
| }, |
| "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| # of this content. |
| "A String", |
| ], |
| }, |
| "autoText": { # A ParagraphElement representing a # An auto text paragraph element. |
| # spot in the text that is dynamically replaced with content that can change |
| # over time, like a page number. |
| "textStyle": { # Represents the styling that can be applied to text. # The text style of this AutoText. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| # of this content. |
| "A String", |
| ], |
| "suggestedTextStyleChanges": { # The suggested text style changes to this AutoText, keyed by suggestion ID. |
| "a_key": { # A suggested change to a TextStyle. |
| "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| # the changes made in this suggestion. This can be used along with the |
| # text_style_suggestion_state |
| # to see which fields have changed and their new values. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| # For any field set to true, there is a new suggested value. |
| "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| }, |
| }, |
| }, |
| "type": "A String", # The type of this auto text. |
| "suggestedInsertionIds": [ # The suggested insertion IDs. An AutoText |
| # may have multiple insertion IDs if it is a nested suggested change. If |
| # empty, then this is not a suggested insertion. |
| "A String", |
| ], |
| }, |
| "inlineObjectElement": { # A ParagraphElement that contains # An inline object paragraph element. |
| # an InlineObject. |
| "textStyle": { # Represents the styling that can be applied to text. # The text style of this InlineObjectElement. |
| # |
| # Similar to text content, like text runs and footnote references, the text |
| # style of an inline object element can affect content layout as well as the |
| # styling of text inserted adjacent to it. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| # of this content. |
| "A String", |
| ], |
| "suggestedTextStyleChanges": { # The suggested text style changes to this InlineObject, keyed by suggestion |
| # ID. |
| "a_key": { # A suggested change to a TextStyle. |
| "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| # the changes made in this suggestion. This can be used along with the |
| # text_style_suggestion_state |
| # to see which fields have changed and their new values. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| # For any field set to true, there is a new suggested value. |
| "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| }, |
| }, |
| }, |
| "inlineObjectId": "A String", # The ID of the InlineObject this |
| # element contains. |
| "suggestedInsertionIds": [ # The suggested insertion IDs. An InlineObjectElement may have multiple insertion IDs |
| # if it is a nested suggested change. If empty, then this is not a suggested |
| # insertion. |
| "A String", |
| ], |
| }, |
| "footnoteReference": { # A ParagraphElement representing a # A footnote reference paragraph element. |
| # footnote reference. A footnote reference is the inline content rendered with |
| # a number and is used to identify the footnote. |
| "textStyle": { # Represents the styling that can be applied to text. # The text style of this FootnoteReference. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "footnoteNumber": "A String", # The rendered number of this footnote. |
| "suggestedInsertionIds": [ # The suggested insertion IDs. A FootnoteReference may have multiple insertion IDs if |
| # it is a nested suggested change. If empty, then this is not a suggested |
| # insertion. |
| "A String", |
| ], |
| "footnoteId": "A String", # The ID of the footnote that |
| # contains the content of this footnote reference. |
| "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| # of this content. |
| "A String", |
| ], |
| "suggestedTextStyleChanges": { # The suggested text style changes to this FootnoteReference, keyed by |
| # suggestion ID. |
| "a_key": { # A suggested change to a TextStyle. |
| "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| # the changes made in this suggestion. This can be used along with the |
| # text_style_suggestion_state |
| # to see which fields have changed and their new values. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| # For any field set to true, there is a new suggested value. |
| "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| }, |
| }, |
| }, |
| }, |
| }, |
| ], |
| "suggestedPositionedObjectIds": { # The IDs of the positioned objects that are suggested to be attached to this |
| # paragraph, keyed by suggestion ID. |
| "a_key": { # A collection of object IDs. |
| "objectIds": [ # The object IDs. |
| "A String", |
| ], |
| }, |
| }, |
| "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. |
| "textStyle": { # Represents the styling that can be applied to text. # The paragraph specific text style applied to this bullet. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| }, |
| "suggestedBulletChanges": { # The suggested changes to this paragraph's bullet. |
| "a_key": { # A suggested change to a Bullet. |
| "bullet": { # Describes the bullet of a paragraph. # A Bullet that only includes the changes made |
| # in this suggestion. This can be used along with the |
| # bullet_suggestion_state to see which |
| # fields have changed and their new values. |
| "nestingLevel": 42, # The nesting level of this paragraph in the list. |
| "listId": "A String", # The ID of the list this paragraph belongs to. |
| "textStyle": { # Represents the styling that can be applied to text. # The paragraph specific text style applied to this bullet. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| }, |
| "bulletSuggestionState": { # A mask that indicates which of the fields on the base # A mask that indicates which of the fields on the base |
| # Bullet have been changed in this suggestion. |
| # Bullet have been changed in this suggestion. |
| # For any field set to true, there is a new suggested value. |
| "nestingLevelSuggested": True or False, # Indicates if there was a suggested change to the |
| # nesting_level. |
| "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields in text style have been changed in this |
| # suggestion. |
| # For any field set to true, there is a new suggested value. |
| "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| }, |
| "listIdSuggested": True or False, # Indicates if there was a suggested change to the |
| # list_id. |
| }, |
| }, |
| }, |
| "positionedObjectIds": [ # The IDs of the positioned objects tethered to this paragraph. |
| "A String", |
| ], |
| "suggestedParagraphStyleChanges": { # The suggested paragraph style changes to this paragraph, keyed by |
| # suggestion ID. |
| "a_key": { # A suggested change to a |
| # ParagraphStyle. |
| "paragraphStyleSuggestionState": { # A mask that indicates which of the fields on the base ParagraphStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base ParagraphStyle have been changed in this suggestion. |
| # For any field set to true, there is a new suggested value. |
| "avoidWidowAndOrphanSuggested": True or False, # Indicates if there was a suggested change to avoid_widow_and_orphan. |
| "lineSpacingSuggested": True or False, # Indicates if there was a suggested change to line_spacing. |
| "spacingModeSuggested": True or False, # Indicates if there was a suggested change to spacing_mode. |
| "spaceBelowSuggested": True or False, # Indicates if there was a suggested change to space_below. |
| "borderRightSuggested": True or False, # Indicates if there was a suggested change to border_right. |
| "indentStartSuggested": True or False, # Indicates if there was a suggested change to indent_start. |
| "namedStyleTypeSuggested": True or False, # Indicates if there was a suggested change to named_style_type. |
| "indentEndSuggested": True or False, # Indicates if there was a suggested change to indent_end. |
| "borderBetweenSuggested": True or False, # Indicates if there was a suggested change to border_between. |
| "borderTopSuggested": True or False, # Indicates if there was a suggested change to border_top. |
| "borderLeftSuggested": True or False, # Indicates if there was a suggested change to border_left. |
| "keepWithNextSuggested": True or False, # Indicates if there was a suggested change to keep_with_next. |
| "spaceAboveSuggested": True or False, # Indicates if there was a suggested change to space_above. |
| "alignmentSuggested": True or False, # Indicates if there was a suggested change to alignment. |
| "indentFirstLineSuggested": True or False, # Indicates if there was a suggested change to indent_first_line. |
| "headingIdSuggested": True or False, # Indicates if there was a suggested change to heading_id. |
| "borderBottomSuggested": True or False, # Indicates if there was a suggested change to border_bottom. |
| "directionSuggested": True or False, # Indicates if there was a suggested change to direction. |
| "keepLinesTogetherSuggested": True or False, # Indicates if there was a suggested change to keep_lines_together. |
| "shadingSuggestionState": { # A mask that indicates which of the fields on the base Shading have been changed in this # A mask that indicates which of the fields in shading have been changed in |
| # this suggestion. |
| # suggested change. For any field set to true, there is a new suggested value. |
| "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to the Shading. |
| }, |
| }, |
| "paragraphStyle": { # Styles that apply to a whole paragraph. # A ParagraphStyle that only includes |
| # the changes made in this suggestion. This can be used along with the |
| # paragraph_suggestion_state |
| # to see which fields have changed and their new values. |
| # |
| # Inherited paragraph styles are represented as unset fields in this message. |
| # A paragraph style's parent depends on where the paragraph style is defined: |
| # |
| # * The ParagraphStyle on a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The ParagraphStyle on a named style |
| # inherits from the normal text named style. |
| # * The ParagraphStyle of the normal text named style inherits |
| # from the default paragraph style in the Docs editor. |
| # * The ParagraphStyle on a Paragraph |
| # element that is contained in a table may inherit its paragraph style from |
| # the table style. |
| # |
| # If the paragraph style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "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 |
| # paragraph 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. |
| }, |
| "keepWithNext": True or False, # Whether at least a part of this paragraph should be laid out on the same |
| # page or column as the next paragraph if possible. If unset, the value is |
| # inherited from the parent. |
| "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. |
| "avoidWidowAndOrphan": True or False, # Whether to avoid widows and orphans for the paragraph. If unset, the value |
| # is inherited from the parent. |
| "borderBottom": { # A border around a paragraph. # The border at the bottom of this paragraph. If unset, the value is |
| # inherited from the parent. |
| # |
| # The bottom border is rendered when the paragraph below has different border |
| # and indent properties. |
| # |
| # Paragraph borders cannot be partially updated. When making |
| # changes to a paragraph border the new border must be specified in |
| # its entirety. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| }, |
| "indentStart": { # A magnitude in a single direction in the specified units. # The amount of indentation for the paragraph on the side that corresponds to |
| # the start of the text, based on the current paragraph direction. If unset, |
| # the value is inherited from the parent. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "borderBetween": { # A border around a paragraph. # The border between this paragraph and the next and previous paragraphs. |
| # If unset, the value is inherited from the parent. |
| # |
| # The between border is rendered when the adjacent paragraph has the same |
| # border and indent properties. |
| # |
| # Paragraph borders cannot be partially updated. When making |
| # changes to a paragraph border the new border must be specified in |
| # its entirety. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| }, |
| "namedStyleType": "A String", # The named style type of the paragraph. |
| # |
| # Since updating the named style type affects other properties within |
| # ParagraphStyle, the named style type is applied before the other properties |
| # are updated. |
| "borderRight": { # A border around a paragraph. # The border to the right of this paragraph. If unset, the value is inherited |
| # from the parent. |
| # |
| # Paragraph borders cannot be partially updated. When making |
| # changes to a paragraph border the new border must be specified in |
| # its entirety. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| "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 of indentation for the paragraph on the side that corresponds to |
| # the end of the text, based on the current paragraph direction. If unset, |
| # the value is inherited from the parent. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "borderLeft": { # A border around a paragraph. # The border to the left of this paragraph. If unset, the value is inherited |
| # from the parent. |
| # |
| # Paragraph borders cannot be partially updated. When making |
| # changes to a paragraph border the new border must be specified in |
| # its entirety. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| "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. |
| }, |
| "headingId": "A String", # The heading ID of the paragraph. If empty, then this paragraph is not a |
| # heading. This property is read-only. |
| "shading": { # The shading of a paragraph. # The shading of the paragraph. If unset, the value is inherited from the |
| # parent. |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of this paragraph shading. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| }, |
| "borderTop": { # A border around a paragraph. # The border at the top of this paragraph. If unset, the value is inherited |
| # from the parent. |
| # |
| # The top border is rendered when the paragraph above has different border |
| # and indent properties. |
| # |
| # Paragraph borders cannot be partially updated. When making |
| # changes to a paragraph border the new border must be specified in |
| # its entirety. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| }, |
| "tabStops": [ # A list of the tab stops for this paragraph. The list of tab stops is not |
| # inherited. This property is read-only. |
| { # A tab stop within a paragraph. |
| "alignment": "A String", # The alignment of this tab stop. If unset, the value defaults to START. |
| "offset": { # A magnitude in a single direction in the specified units. # The offset between this tab stop and the start margin. |
| "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 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. |
| "keepLinesTogether": True or False, # Whether all lines of the paragraph should be laid out on the same page or |
| # column if possible. If unset, the value is inherited from the parent. |
| }, |
| }, |
| }, |
| "paragraphStyle": { # Styles that apply to a whole paragraph. # The style of this paragraph. |
| # |
| # Inherited paragraph styles are represented as unset fields in this message. |
| # A paragraph style's parent depends on where the paragraph style is defined: |
| # |
| # * The ParagraphStyle on a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The ParagraphStyle on a named style |
| # inherits from the normal text named style. |
| # * The ParagraphStyle of the normal text named style inherits |
| # from the default paragraph style in the Docs editor. |
| # * The ParagraphStyle on a Paragraph |
| # element that is contained in a table may inherit its paragraph style from |
| # the table style. |
| # |
| # If the paragraph style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "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 |
| # paragraph 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. |
| }, |
| "keepWithNext": True or False, # Whether at least a part of this paragraph should be laid out on the same |
| # page or column as the next paragraph if possible. If unset, the value is |
| # inherited from the parent. |
| "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. |
| "avoidWidowAndOrphan": True or False, # Whether to avoid widows and orphans for the paragraph. If unset, the value |
| # is inherited from the parent. |
| "borderBottom": { # A border around a paragraph. # The border at the bottom of this paragraph. If unset, the value is |
| # inherited from the parent. |
| # |
| # The bottom border is rendered when the paragraph below has different border |
| # and indent properties. |
| # |
| # Paragraph borders cannot be partially updated. When making |
| # changes to a paragraph border the new border must be specified in |
| # its entirety. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| }, |
| "indentStart": { # A magnitude in a single direction in the specified units. # The amount of indentation for the paragraph on the side that corresponds to |
| # the start of the text, based on the current paragraph direction. If unset, |
| # the value is inherited from the parent. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "borderBetween": { # A border around a paragraph. # The border between this paragraph and the next and previous paragraphs. |
| # If unset, the value is inherited from the parent. |
| # |
| # The between border is rendered when the adjacent paragraph has the same |
| # border and indent properties. |
| # |
| # Paragraph borders cannot be partially updated. When making |
| # changes to a paragraph border the new border must be specified in |
| # its entirety. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| }, |
| "namedStyleType": "A String", # The named style type of the paragraph. |
| # |
| # Since updating the named style type affects other properties within |
| # ParagraphStyle, the named style type is applied before the other properties |
| # are updated. |
| "borderRight": { # A border around a paragraph. # The border to the right of this paragraph. If unset, the value is inherited |
| # from the parent. |
| # |
| # Paragraph borders cannot be partially updated. When making |
| # changes to a paragraph border the new border must be specified in |
| # its entirety. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| "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 of indentation for the paragraph on the side that corresponds to |
| # the end of the text, based on the current paragraph direction. If unset, |
| # the value is inherited from the parent. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "borderLeft": { # A border around a paragraph. # The border to the left of this paragraph. If unset, the value is inherited |
| # from the parent. |
| # |
| # Paragraph borders cannot be partially updated. When making |
| # changes to a paragraph border the new border must be specified in |
| # its entirety. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| "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. |
| }, |
| "headingId": "A String", # The heading ID of the paragraph. If empty, then this paragraph is not a |
| # heading. This property is read-only. |
| "shading": { # The shading of a paragraph. # The shading of the paragraph. If unset, the value is inherited from the |
| # parent. |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of this paragraph shading. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| }, |
| "borderTop": { # A border around a paragraph. # The border at the top of this paragraph. If unset, the value is inherited |
| # from the parent. |
| # |
| # The top border is rendered when the paragraph above has different border |
| # and indent properties. |
| # |
| # Paragraph borders cannot be partially updated. When making |
| # changes to a paragraph border the new border must be specified in |
| # its entirety. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| }, |
| "tabStops": [ # A list of the tab stops for this paragraph. The list of tab stops is not |
| # inherited. This property is read-only. |
| { # A tab stop within a paragraph. |
| "alignment": "A String", # The alignment of this tab stop. If unset, the value defaults to START. |
| "offset": { # A magnitude in a single direction in the specified units. # The offset between this tab stop and the start margin. |
| "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 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. |
| "keepLinesTogether": True or False, # Whether all lines of the paragraph should be laid out on the same page or |
| # column if possible. If unset, the value is inherited from the parent. |
| }, |
| }, |
| "table": { # A StructuralElement representing a # A table type of structural element. |
| # table. |
| "rows": 42, # Number of rows in the table. |
| "tableStyle": { # Styles that apply to a table. # The style of the table. |
| "tableColumnProperties": [ # The properties of each column. |
| # |
| # Note that in Docs, tables contain rows and rows contain cells, similar to |
| # HTML. So the properties for a row can be found on the row's |
| # table_row_style. |
| { # The properties of a column in a table. |
| "width": { # A magnitude in a single direction in the specified units. # The width of the column. Set when the column's `width_type` is |
| # FIXED_WIDTH. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "widthType": "A String", # The width type of the column. |
| }, |
| ], |
| }, |
| "suggestedInsertionIds": [ # The suggested insertion IDs. A Table may have |
| # multiple insertion IDs if it is a nested suggested change. If empty, then |
| # this is not a suggested insertion. |
| "A String", |
| ], |
| "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| # of this content. |
| "A String", |
| ], |
| "tableRows": [ # The contents and style of each row. |
| { # The contents and style of a row in a Table. |
| "endIndex": 42, # The zero-based end index of this row, exclusive, in UTF-16 code units. |
| "tableCells": [ # The contents and style of each cell in this row. |
| # |
| # It is possible for a table to be non-rectangular, so some rows may have a |
| # different number of cells than other rows in the same table. |
| { # The contents and style of a cell in a Table. |
| "endIndex": 42, # The zero-based end index of this cell, exclusive, in UTF-16 code units. |
| "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| # of this content. |
| "A String", |
| ], |
| "suggestedInsertionIds": [ # The suggested insertion IDs. A TableCell |
| # may have multiple insertion IDs if it is a nested suggested change. If |
| # empty, then this is not a suggested insertion. |
| "A String", |
| ], |
| "content": [ # The content of the cell. |
| # Object with schema name: StructuralElement |
| ], |
| "tableCellStyle": { # The style of a TableCell. # The style of the cell. |
| # |
| # Inherited table cell styles are represented as unset fields in this message. |
| # A table cell style can inherit from the table's style. |
| "paddingBottom": { # A magnitude in a single direction in the specified units. # The bottom padding of the cell. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "borderBottom": { # A border around a table cell. # The bottom border of the cell. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| }, |
| "paddingLeft": { # A magnitude in a single direction in the specified units. # The left padding of the cell. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "paddingTop": { # A magnitude in a single direction in the specified units. # The top padding of the cell. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "borderLeft": { # A border around a table cell. # The left border of the cell. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| }, |
| "columnSpan": 42, # The column span of the cell. This property is read-only. |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the cell. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "borderRight": { # A border around a table cell. # The right border of the cell. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| }, |
| "rowSpan": 42, # The row span of the cell. This property is read-only. |
| "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 Docs editor. |
| "paddingRight": { # A magnitude in a single direction in the specified units. # The right padding of the cell. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "borderTop": { # A border around a table cell. # The top border of the cell. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| }, |
| }, |
| "startIndex": 42, # The zero-based start index of this cell, in UTF-16 code units. |
| "suggestedTableCellStyleChanges": { # The suggested changes to the table cell style, keyed by suggestion ID. |
| "a_key": { # A suggested change to a TableCellStyle. |
| "tableCellStyle": { # The style of a TableCell. # A TableCellStyle that only includes |
| # the changes made in this suggestion. This can be used along with the |
| # table_cell_style_suggestion_state |
| # to see which fields have changed and their new values. |
| # |
| # Inherited table cell styles are represented as unset fields in this message. |
| # A table cell style can inherit from the table's style. |
| "paddingBottom": { # A magnitude in a single direction in the specified units. # The bottom padding of the cell. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "borderBottom": { # A border around a table cell. # The bottom border of the cell. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| }, |
| "paddingLeft": { # A magnitude in a single direction in the specified units. # The left padding of the cell. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "paddingTop": { # A magnitude in a single direction in the specified units. # The top padding of the cell. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "borderLeft": { # A border around a table cell. # The left border of the cell. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| }, |
| "columnSpan": 42, # The column span of the cell. This property is read-only. |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the cell. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "borderRight": { # A border around a table cell. # The right border of the cell. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| }, |
| "rowSpan": 42, # The row span of the cell. This property is read-only. |
| "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 Docs editor. |
| "paddingRight": { # A magnitude in a single direction in the specified units. # The right padding of the cell. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "borderTop": { # A border around a table cell. # The top border of the cell. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| }, |
| }, |
| "tableCellStyleSuggestionState": { # A mask that indicates which of the fields on the base TableCellStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TableCellStyle have been changed in this suggestion. |
| # For any field set to true, there is a new suggested value. |
| "borderRightSuggested": True or False, # Indicates if there was a suggested change to border_right. |
| "borderBottomSuggested": True or False, # Indicates if there was a suggested change to border_bottom. |
| "paddingBottomSuggested": True or False, # Indicates if there was a suggested change to padding_bottom. |
| "contentAlignmentSuggested": True or False, # Indicates if there was a suggested change to content_alignment. |
| "rowSpanSuggested": True or False, # Indicates if there was a suggested change to row_span. |
| "borderLeftSuggested": True or False, # Indicates if there was a suggested change to border_left. |
| "borderTopSuggested": True or False, # Indicates if there was a suggested change to border_top. |
| "columnSpanSuggested": True or False, # Indicates if there was a suggested change to column_span. |
| "paddingRightSuggested": True or False, # Indicates if there was a suggested change to padding_right. |
| "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| "paddingLeftSuggested": True or False, # Indicates if there was a suggested change to padding_left. |
| "paddingTopSuggested": True or False, # Indicates if there was a suggested change to padding_top. |
| }, |
| }, |
| }, |
| }, |
| ], |
| "tableRowStyle": { # Styles that apply to a table row. # The style of the table row. |
| "minRowHeight": { # A magnitude in a single direction in the specified units. # The minimum height of the row. The row will be rendered in the Docs editor |
| # at a height equal to or greater than this value in order to show all the |
| # content in the row's cells. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| }, |
| "suggestedInsertionIds": [ # The suggested insertion IDs. A TableRow |
| # may have multiple insertion IDs if it is a nested suggested change. If |
| # empty, then this is not a suggested insertion. |
| "A String", |
| ], |
| "startIndex": 42, # The zero-based start index of this row, in UTF-16 code units. |
| "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| # of this content. |
| "A String", |
| ], |
| "suggestedTableRowStyleChanges": { # The suggested style changes to this row, keyed by suggestion ID. |
| "a_key": { # A suggested change to a |
| # TableRowStyle. |
| "tableRowStyle": { # Styles that apply to a table row. # A TableRowStyle that only includes |
| # the changes made in this suggestion. This can be used along with the |
| # table_row_style_suggestion_state |
| # to see which fields have changed and their new values. |
| "minRowHeight": { # A magnitude in a single direction in the specified units. # The minimum height of the row. The row will be rendered in the Docs editor |
| # at a height equal to or greater than this value in order to show all the |
| # content in the row's cells. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| }, |
| "tableRowStyleSuggestionState": { # A mask that indicates which of the fields on the base TableRowStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TableRowStyle have been changed in this suggestion. |
| # For any field set to true, there is a new suggested value. |
| "minRowHeightSuggested": True or False, # Indicates if there was a suggested change to min_row_height. |
| }, |
| }, |
| }, |
| }, |
| ], |
| "columns": 42, # Number of columns in the table. |
| # |
| # It is possible for a table to be non-rectangular, so some rows may have a |
| # different number of cells. |
| }, |
| }, |
| ], |
| }, |
| }, |
| "namedStyles": { # The named styles. Paragraphs in the document can inherit their # The named styles of the document. |
| # TextStyle and |
| # ParagraphStyle from these named styles. |
| "styles": [ # The named styles. |
| # |
| # There is an entry for each of the possible named style types. |
| { # A named style. Paragraphs in the document can inherit their |
| # TextStyle and |
| # ParagraphStyle from this named style |
| # when they have the same named style type. |
| "textStyle": { # Represents the styling that can be applied to text. # The text style of this named style. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "namedStyleType": "A String", # The type of this named style. |
| "paragraphStyle": { # Styles that apply to a whole paragraph. # The paragraph style of this named style. |
| # |
| # Inherited paragraph styles are represented as unset fields in this message. |
| # A paragraph style's parent depends on where the paragraph style is defined: |
| # |
| # * The ParagraphStyle on a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The ParagraphStyle on a named style |
| # inherits from the normal text named style. |
| # * The ParagraphStyle of the normal text named style inherits |
| # from the default paragraph style in the Docs editor. |
| # * The ParagraphStyle on a Paragraph |
| # element that is contained in a table may inherit its paragraph style from |
| # the table style. |
| # |
| # If the paragraph style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "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 |
| # paragraph 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. |
| }, |
| "keepWithNext": True or False, # Whether at least a part of this paragraph should be laid out on the same |
| # page or column as the next paragraph if possible. If unset, the value is |
| # inherited from the parent. |
| "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. |
| "avoidWidowAndOrphan": True or False, # Whether to avoid widows and orphans for the paragraph. If unset, the value |
| # is inherited from the parent. |
| "borderBottom": { # A border around a paragraph. # The border at the bottom of this paragraph. If unset, the value is |
| # inherited from the parent. |
| # |
| # The bottom border is rendered when the paragraph below has different border |
| # and indent properties. |
| # |
| # Paragraph borders cannot be partially updated. When making |
| # changes to a paragraph border the new border must be specified in |
| # its entirety. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| }, |
| "indentStart": { # A magnitude in a single direction in the specified units. # The amount of indentation for the paragraph on the side that corresponds to |
| # the start of the text, based on the current paragraph direction. If unset, |
| # the value is inherited from the parent. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "borderBetween": { # A border around a paragraph. # The border between this paragraph and the next and previous paragraphs. |
| # If unset, the value is inherited from the parent. |
| # |
| # The between border is rendered when the adjacent paragraph has the same |
| # border and indent properties. |
| # |
| # Paragraph borders cannot be partially updated. When making |
| # changes to a paragraph border the new border must be specified in |
| # its entirety. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| }, |
| "namedStyleType": "A String", # The named style type of the paragraph. |
| # |
| # Since updating the named style type affects other properties within |
| # ParagraphStyle, the named style type is applied before the other properties |
| # are updated. |
| "borderRight": { # A border around a paragraph. # The border to the right of this paragraph. If unset, the value is inherited |
| # from the parent. |
| # |
| # Paragraph borders cannot be partially updated. When making |
| # changes to a paragraph border the new border must be specified in |
| # its entirety. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| "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 of indentation for the paragraph on the side that corresponds to |
| # the end of the text, based on the current paragraph direction. If unset, |
| # the value is inherited from the parent. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "borderLeft": { # A border around a paragraph. # The border to the left of this paragraph. If unset, the value is inherited |
| # from the parent. |
| # |
| # Paragraph borders cannot be partially updated. When making |
| # changes to a paragraph border the new border must be specified in |
| # its entirety. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| "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. |
| }, |
| "headingId": "A String", # The heading ID of the paragraph. If empty, then this paragraph is not a |
| # heading. This property is read-only. |
| "shading": { # The shading of a paragraph. # The shading of the paragraph. If unset, the value is inherited from the |
| # parent. |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of this paragraph shading. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| }, |
| "borderTop": { # A border around a paragraph. # The border at the top of this paragraph. If unset, the value is inherited |
| # from the parent. |
| # |
| # The top border is rendered when the paragraph above has different border |
| # and indent properties. |
| # |
| # Paragraph borders cannot be partially updated. When making |
| # changes to a paragraph border the new border must be specified in |
| # its entirety. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| }, |
| "tabStops": [ # A list of the tab stops for this paragraph. The list of tab stops is not |
| # inherited. This property is read-only. |
| { # A tab stop within a paragraph. |
| "alignment": "A String", # The alignment of this tab stop. If unset, the value defaults to START. |
| "offset": { # A magnitude in a single direction in the specified units. # The offset between this tab stop and the start margin. |
| "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 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. |
| "keepLinesTogether": True or False, # Whether all lines of the paragraph should be laid out on the same page or |
| # column if possible. If unset, the value is inherited from the parent. |
| }, |
| }, |
| ], |
| }, |
| "footers": { # The footers in the document, keyed by footer ID. |
| "a_key": { # A document footer. |
| "content": [ # The contents of the footer. |
| # |
| # The indexes for a footer's content begin at zero. |
| { # A StructuralElement describes content that provides structure to the |
| # document. |
| "endIndex": 42, # The zero-based end index of this structural element, exclusive, in UTF-16 |
| # code units. |
| "sectionBreak": { # A StructuralElement representing a # A section break type of structural element. |
| # section break. A section is a range of content which has the same |
| # SectionStyle. A section break represents |
| # the start of a new section, and the section style applies to the section |
| # after the section break. |
| # |
| # The document body always begins with a section break. |
| "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| # of this content. |
| "A String", |
| ], |
| "sectionStyle": { # The styling that applies to a section. # The style of the section after this section break. |
| "contentDirection": "A String", # The content direction of this section. If unset, the value defaults to |
| # LEFT_TO_RIGHT. |
| "columnProperties": [ # The section's columns properties. |
| # |
| # If empty, the section contains one column with the default properties in |
| # the Docs editor. |
| { # Properties that apply to a section's column. |
| "width": { # A magnitude in a single direction in the specified units. # The width of the column. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "paddingEnd": { # A magnitude in a single direction in the specified units. # The padding at the end of the column. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| }, |
| ], |
| "columnSeparatorStyle": "A String", # The style of column separators. |
| # |
| # This style can be set even when there is one column in the section. |
| }, |
| "suggestedInsertionIds": [ # The suggested insertion IDs. A SectionBreak may have multiple insertion IDs if it is |
| # a nested suggested change. If empty, then this is not a suggested |
| # insertion. |
| "A String", |
| ], |
| }, |
| "tableOfContents": { # A StructuralElement representing # A table of contents type of structural element. |
| # a table of contents. |
| "content": [ # The content of the table of contents. |
| # Object with schema name: StructuralElement |
| ], |
| "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| # of this content. |
| "A String", |
| ], |
| "suggestedInsertionIds": [ # The suggested insertion IDs. A TableOfContents may have multiple insertion IDs if it |
| # is a nested suggested change. If empty, then this is not a suggested |
| # insertion. |
| "A String", |
| ], |
| }, |
| "startIndex": 42, # The zero-based start index of this structural element, in UTF-16 code |
| # units. |
| "paragraph": { # A StructuralElement representing a # A paragraph type of structural element. |
| # paragraph. A paragraph is a range of content that is terminated with a |
| # newline character. |
| "elements": [ # The content of the paragraph broken down into its component parts. |
| { # A ParagraphElement describes content within a |
| # Paragraph. |
| "endIndex": 42, # The zero-base end index of this paragraph element, exclusive, in UTF-16 |
| # code units. |
| "equation": { # A ParagraphElement representing an # An equation paragraph element. |
| # equation. |
| "suggestedInsertionIds": [ # The suggested insertion IDs. A Equation |
| # may have multiple insertion IDs if it is a nested suggested change. If |
| # empty, then this is not a suggested insertion. |
| "A String", |
| ], |
| "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| # of this content. |
| "A String", |
| ], |
| }, |
| "columnBreak": { # A ParagraphElement representing a # A column break paragraph element. |
| # column break. A column break makes the subsequent text start at the top of |
| # the next column. |
| "textStyle": { # Represents the styling that can be applied to text. # The text style of this ColumnBreak. |
| # |
| # Similar to text content, like text runs and footnote references, the text |
| # style of a column break can affect content layout as well as the styling of |
| # text inserted adjacent to it. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "suggestedInsertionIds": [ # The suggested insertion IDs. A ColumnBreak may have multiple insertion IDs if it is |
| # a nested suggested change. If empty, then this is not a suggested |
| # insertion. |
| "A String", |
| ], |
| "suggestedTextStyleChanges": { # The suggested text style changes to this ColumnBreak, keyed by suggestion |
| # ID. |
| "a_key": { # A suggested change to a TextStyle. |
| "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| # the changes made in this suggestion. This can be used along with the |
| # text_style_suggestion_state |
| # to see which fields have changed and their new values. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| # For any field set to true, there is a new suggested value. |
| "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| }, |
| }, |
| }, |
| "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| # of this content. |
| "A String", |
| ], |
| }, |
| "startIndex": 42, # The zero-based start index of this paragraph element, in UTF-16 code units. |
| "pageBreak": { # A ParagraphElement representing a # A page break paragraph element. |
| # page break. A page break makes the subsequent text start at the top of the |
| # next page. |
| "textStyle": { # Represents the styling that can be applied to text. # The text style of this PageBreak. |
| # |
| # Similar to text content, like text runs and footnote references, the text |
| # style of a page break can affect content layout as well as the styling of |
| # text inserted adjacent to it. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| # of this content. |
| "A String", |
| ], |
| "suggestedTextStyleChanges": { # The suggested text style changes to this PageBreak, keyed by suggestion ID. |
| "a_key": { # A suggested change to a TextStyle. |
| "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| # the changes made in this suggestion. This can be used along with the |
| # text_style_suggestion_state |
| # to see which fields have changed and their new values. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| # For any field set to true, there is a new suggested value. |
| "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| }, |
| }, |
| }, |
| "suggestedInsertionIds": [ # The suggested insertion IDs. A PageBreak |
| # may have multiple insertion IDs if it is a nested suggested change. If |
| # empty, then this is not a suggested insertion. |
| "A String", |
| ], |
| }, |
| "horizontalRule": { # A ParagraphElement representing a # A horizontal rule paragraph element. |
| # horizontal line. |
| "textStyle": { # Represents the styling that can be applied to text. # The text style of this HorizontalRule. |
| # |
| # Similar to text content, like text runs and footnote references, the text |
| # style of a horizontal rule can affect content layout as well as the styling |
| # of text inserted adjacent to it. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "suggestedInsertionIds": [ # The suggested insertion IDs. A HorizontalRule may have multiple insertion IDs if it |
| # is a nested suggested change. If empty, then this is not a suggested |
| # insertion. |
| "A String", |
| ], |
| "suggestedTextStyleChanges": { # The suggested text style changes to this HorizontalRule, keyed by |
| # suggestion ID. |
| "a_key": { # A suggested change to a TextStyle. |
| "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| # the changes made in this suggestion. This can be used along with the |
| # text_style_suggestion_state |
| # to see which fields have changed and their new values. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| # For any field set to true, there is a new suggested value. |
| "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| }, |
| }, |
| }, |
| "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| # of this content. |
| "A String", |
| ], |
| }, |
| "textRun": { # A ParagraphElement that represents a # A text run paragraph element. |
| # run of text that all has the same styling. |
| "content": "A String", # The text of this run. |
| # |
| # Any non-text elements in the run are replaced with the Unicode character |
| # U+E907. |
| "textStyle": { # Represents the styling that can be applied to text. # The text style of this run. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "suggestedInsertionIds": [ # The suggested insertion IDs. A TextRun may |
| # have multiple insertion IDs if it is a nested suggested change. If empty, |
| # then this is not a suggested insertion. |
| "A String", |
| ], |
| "suggestedTextStyleChanges": { # The suggested text style changes to this run, keyed by suggestion ID. |
| "a_key": { # A suggested change to a TextStyle. |
| "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| # the changes made in this suggestion. This can be used along with the |
| # text_style_suggestion_state |
| # to see which fields have changed and their new values. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| # For any field set to true, there is a new suggested value. |
| "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| }, |
| }, |
| }, |
| "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| # of this content. |
| "A String", |
| ], |
| }, |
| "autoText": { # A ParagraphElement representing a # An auto text paragraph element. |
| # spot in the text that is dynamically replaced with content that can change |
| # over time, like a page number. |
| "textStyle": { # Represents the styling that can be applied to text. # The text style of this AutoText. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| # of this content. |
| "A String", |
| ], |
| "suggestedTextStyleChanges": { # The suggested text style changes to this AutoText, keyed by suggestion ID. |
| "a_key": { # A suggested change to a TextStyle. |
| "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| # the changes made in this suggestion. This can be used along with the |
| # text_style_suggestion_state |
| # to see which fields have changed and their new values. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| # For any field set to true, there is a new suggested value. |
| "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| }, |
| }, |
| }, |
| "type": "A String", # The type of this auto text. |
| "suggestedInsertionIds": [ # The suggested insertion IDs. An AutoText |
| # may have multiple insertion IDs if it is a nested suggested change. If |
| # empty, then this is not a suggested insertion. |
| "A String", |
| ], |
| }, |
| "inlineObjectElement": { # A ParagraphElement that contains # An inline object paragraph element. |
| # an InlineObject. |
| "textStyle": { # Represents the styling that can be applied to text. # The text style of this InlineObjectElement. |
| # |
| # Similar to text content, like text runs and footnote references, the text |
| # style of an inline object element can affect content layout as well as the |
| # styling of text inserted adjacent to it. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| # of this content. |
| "A String", |
| ], |
| "suggestedTextStyleChanges": { # The suggested text style changes to this InlineObject, keyed by suggestion |
| # ID. |
| "a_key": { # A suggested change to a TextStyle. |
| "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| # the changes made in this suggestion. This can be used along with the |
| # text_style_suggestion_state |
| # to see which fields have changed and their new values. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| # For any field set to true, there is a new suggested value. |
| "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| }, |
| }, |
| }, |
| "inlineObjectId": "A String", # The ID of the InlineObject this |
| # element contains. |
| "suggestedInsertionIds": [ # The suggested insertion IDs. An InlineObjectElement may have multiple insertion IDs |
| # if it is a nested suggested change. If empty, then this is not a suggested |
| # insertion. |
| "A String", |
| ], |
| }, |
| "footnoteReference": { # A ParagraphElement representing a # A footnote reference paragraph element. |
| # footnote reference. A footnote reference is the inline content rendered with |
| # a number and is used to identify the footnote. |
| "textStyle": { # Represents the styling that can be applied to text. # The text style of this FootnoteReference. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "footnoteNumber": "A String", # The rendered number of this footnote. |
| "suggestedInsertionIds": [ # The suggested insertion IDs. A FootnoteReference may have multiple insertion IDs if |
| # it is a nested suggested change. If empty, then this is not a suggested |
| # insertion. |
| "A String", |
| ], |
| "footnoteId": "A String", # The ID of the footnote that |
| # contains the content of this footnote reference. |
| "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| # of this content. |
| "A String", |
| ], |
| "suggestedTextStyleChanges": { # The suggested text style changes to this FootnoteReference, keyed by |
| # suggestion ID. |
| "a_key": { # A suggested change to a TextStyle. |
| "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| # the changes made in this suggestion. This can be used along with the |
| # text_style_suggestion_state |
| # to see which fields have changed and their new values. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| # For any field set to true, there is a new suggested value. |
| "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| }, |
| }, |
| }, |
| }, |
| }, |
| ], |
| "suggestedPositionedObjectIds": { # The IDs of the positioned objects that are suggested to be attached to this |
| # paragraph, keyed by suggestion ID. |
| "a_key": { # A collection of object IDs. |
| "objectIds": [ # The object IDs. |
| "A String", |
| ], |
| }, |
| }, |
| "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. |
| "textStyle": { # Represents the styling that can be applied to text. # The paragraph specific text style applied to this bullet. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| }, |
| "suggestedBulletChanges": { # The suggested changes to this paragraph's bullet. |
| "a_key": { # A suggested change to a Bullet. |
| "bullet": { # Describes the bullet of a paragraph. # A Bullet that only includes the changes made |
| # in this suggestion. This can be used along with the |
| # bullet_suggestion_state to see which |
| # fields have changed and their new values. |
| "nestingLevel": 42, # The nesting level of this paragraph in the list. |
| "listId": "A String", # The ID of the list this paragraph belongs to. |
| "textStyle": { # Represents the styling that can be applied to text. # The paragraph specific text style applied to this bullet. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| }, |
| "bulletSuggestionState": { # A mask that indicates which of the fields on the base # A mask that indicates which of the fields on the base |
| # Bullet have been changed in this suggestion. |
| # Bullet have been changed in this suggestion. |
| # For any field set to true, there is a new suggested value. |
| "nestingLevelSuggested": True or False, # Indicates if there was a suggested change to the |
| # nesting_level. |
| "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields in text style have been changed in this |
| # suggestion. |
| # For any field set to true, there is a new suggested value. |
| "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| }, |
| "listIdSuggested": True or False, # Indicates if there was a suggested change to the |
| # list_id. |
| }, |
| }, |
| }, |
| "positionedObjectIds": [ # The IDs of the positioned objects tethered to this paragraph. |
| "A String", |
| ], |
| "suggestedParagraphStyleChanges": { # The suggested paragraph style changes to this paragraph, keyed by |
| # suggestion ID. |
| "a_key": { # A suggested change to a |
| # ParagraphStyle. |
| "paragraphStyleSuggestionState": { # A mask that indicates which of the fields on the base ParagraphStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base ParagraphStyle have been changed in this suggestion. |
| # For any field set to true, there is a new suggested value. |
| "avoidWidowAndOrphanSuggested": True or False, # Indicates if there was a suggested change to avoid_widow_and_orphan. |
| "lineSpacingSuggested": True or False, # Indicates if there was a suggested change to line_spacing. |
| "spacingModeSuggested": True or False, # Indicates if there was a suggested change to spacing_mode. |
| "spaceBelowSuggested": True or False, # Indicates if there was a suggested change to space_below. |
| "borderRightSuggested": True or False, # Indicates if there was a suggested change to border_right. |
| "indentStartSuggested": True or False, # Indicates if there was a suggested change to indent_start. |
| "namedStyleTypeSuggested": True or False, # Indicates if there was a suggested change to named_style_type. |
| "indentEndSuggested": True or False, # Indicates if there was a suggested change to indent_end. |
| "borderBetweenSuggested": True or False, # Indicates if there was a suggested change to border_between. |
| "borderTopSuggested": True or False, # Indicates if there was a suggested change to border_top. |
| "borderLeftSuggested": True or False, # Indicates if there was a suggested change to border_left. |
| "keepWithNextSuggested": True or False, # Indicates if there was a suggested change to keep_with_next. |
| "spaceAboveSuggested": True or False, # Indicates if there was a suggested change to space_above. |
| "alignmentSuggested": True or False, # Indicates if there was a suggested change to alignment. |
| "indentFirstLineSuggested": True or False, # Indicates if there was a suggested change to indent_first_line. |
| "headingIdSuggested": True or False, # Indicates if there was a suggested change to heading_id. |
| "borderBottomSuggested": True or False, # Indicates if there was a suggested change to border_bottom. |
| "directionSuggested": True or False, # Indicates if there was a suggested change to direction. |
| "keepLinesTogetherSuggested": True or False, # Indicates if there was a suggested change to keep_lines_together. |
| "shadingSuggestionState": { # A mask that indicates which of the fields on the base Shading have been changed in this # A mask that indicates which of the fields in shading have been changed in |
| # this suggestion. |
| # suggested change. For any field set to true, there is a new suggested value. |
| "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to the Shading. |
| }, |
| }, |
| "paragraphStyle": { # Styles that apply to a whole paragraph. # A ParagraphStyle that only includes |
| # the changes made in this suggestion. This can be used along with the |
| # paragraph_suggestion_state |
| # to see which fields have changed and their new values. |
| # |
| # Inherited paragraph styles are represented as unset fields in this message. |
| # A paragraph style's parent depends on where the paragraph style is defined: |
| # |
| # * The ParagraphStyle on a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The ParagraphStyle on a named style |
| # inherits from the normal text named style. |
| # * The ParagraphStyle of the normal text named style inherits |
| # from the default paragraph style in the Docs editor. |
| # * The ParagraphStyle on a Paragraph |
| # element that is contained in a table may inherit its paragraph style from |
| # the table style. |
| # |
| # If the paragraph style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "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 |
| # paragraph 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. |
| }, |
| "keepWithNext": True or False, # Whether at least a part of this paragraph should be laid out on the same |
| # page or column as the next paragraph if possible. If unset, the value is |
| # inherited from the parent. |
| "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. |
| "avoidWidowAndOrphan": True or False, # Whether to avoid widows and orphans for the paragraph. If unset, the value |
| # is inherited from the parent. |
| "borderBottom": { # A border around a paragraph. # The border at the bottom of this paragraph. If unset, the value is |
| # inherited from the parent. |
| # |
| # The bottom border is rendered when the paragraph below has different border |
| # and indent properties. |
| # |
| # Paragraph borders cannot be partially updated. When making |
| # changes to a paragraph border the new border must be specified in |
| # its entirety. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| }, |
| "indentStart": { # A magnitude in a single direction in the specified units. # The amount of indentation for the paragraph on the side that corresponds to |
| # the start of the text, based on the current paragraph direction. If unset, |
| # the value is inherited from the parent. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "borderBetween": { # A border around a paragraph. # The border between this paragraph and the next and previous paragraphs. |
| # If unset, the value is inherited from the parent. |
| # |
| # The between border is rendered when the adjacent paragraph has the same |
| # border and indent properties. |
| # |
| # Paragraph borders cannot be partially updated. When making |
| # changes to a paragraph border the new border must be specified in |
| # its entirety. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| }, |
| "namedStyleType": "A String", # The named style type of the paragraph. |
| # |
| # Since updating the named style type affects other properties within |
| # ParagraphStyle, the named style type is applied before the other properties |
| # are updated. |
| "borderRight": { # A border around a paragraph. # The border to the right of this paragraph. If unset, the value is inherited |
| # from the parent. |
| # |
| # Paragraph borders cannot be partially updated. When making |
| # changes to a paragraph border the new border must be specified in |
| # its entirety. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| "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 of indentation for the paragraph on the side that corresponds to |
| # the end of the text, based on the current paragraph direction. If unset, |
| # the value is inherited from the parent. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "borderLeft": { # A border around a paragraph. # The border to the left of this paragraph. If unset, the value is inherited |
| # from the parent. |
| # |
| # Paragraph borders cannot be partially updated. When making |
| # changes to a paragraph border the new border must be specified in |
| # its entirety. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| "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. |
| }, |
| "headingId": "A String", # The heading ID of the paragraph. If empty, then this paragraph is not a |
| # heading. This property is read-only. |
| "shading": { # The shading of a paragraph. # The shading of the paragraph. If unset, the value is inherited from the |
| # parent. |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of this paragraph shading. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| }, |
| "borderTop": { # A border around a paragraph. # The border at the top of this paragraph. If unset, the value is inherited |
| # from the parent. |
| # |
| # The top border is rendered when the paragraph above has different border |
| # and indent properties. |
| # |
| # Paragraph borders cannot be partially updated. When making |
| # changes to a paragraph border the new border must be specified in |
| # its entirety. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| }, |
| "tabStops": [ # A list of the tab stops for this paragraph. The list of tab stops is not |
| # inherited. This property is read-only. |
| { # A tab stop within a paragraph. |
| "alignment": "A String", # The alignment of this tab stop. If unset, the value defaults to START. |
| "offset": { # A magnitude in a single direction in the specified units. # The offset between this tab stop and the start margin. |
| "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 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. |
| "keepLinesTogether": True or False, # Whether all lines of the paragraph should be laid out on the same page or |
| # column if possible. If unset, the value is inherited from the parent. |
| }, |
| }, |
| }, |
| "paragraphStyle": { # Styles that apply to a whole paragraph. # The style of this paragraph. |
| # |
| # Inherited paragraph styles are represented as unset fields in this message. |
| # A paragraph style's parent depends on where the paragraph style is defined: |
| # |
| # * The ParagraphStyle on a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The ParagraphStyle on a named style |
| # inherits from the normal text named style. |
| # * The ParagraphStyle of the normal text named style inherits |
| # from the default paragraph style in the Docs editor. |
| # * The ParagraphStyle on a Paragraph |
| # element that is contained in a table may inherit its paragraph style from |
| # the table style. |
| # |
| # If the paragraph style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "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 |
| # paragraph 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. |
| }, |
| "keepWithNext": True or False, # Whether at least a part of this paragraph should be laid out on the same |
| # page or column as the next paragraph if possible. If unset, the value is |
| # inherited from the parent. |
| "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. |
| "avoidWidowAndOrphan": True or False, # Whether to avoid widows and orphans for the paragraph. If unset, the value |
| # is inherited from the parent. |
| "borderBottom": { # A border around a paragraph. # The border at the bottom of this paragraph. If unset, the value is |
| # inherited from the parent. |
| # |
| # The bottom border is rendered when the paragraph below has different border |
| # and indent properties. |
| # |
| # Paragraph borders cannot be partially updated. When making |
| # changes to a paragraph border the new border must be specified in |
| # its entirety. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| }, |
| "indentStart": { # A magnitude in a single direction in the specified units. # The amount of indentation for the paragraph on the side that corresponds to |
| # the start of the text, based on the current paragraph direction. If unset, |
| # the value is inherited from the parent. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "borderBetween": { # A border around a paragraph. # The border between this paragraph and the next and previous paragraphs. |
| # If unset, the value is inherited from the parent. |
| # |
| # The between border is rendered when the adjacent paragraph has the same |
| # border and indent properties. |
| # |
| # Paragraph borders cannot be partially updated. When making |
| # changes to a paragraph border the new border must be specified in |
| # its entirety. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| }, |
| "namedStyleType": "A String", # The named style type of the paragraph. |
| # |
| # Since updating the named style type affects other properties within |
| # ParagraphStyle, the named style type is applied before the other properties |
| # are updated. |
| "borderRight": { # A border around a paragraph. # The border to the right of this paragraph. If unset, the value is inherited |
| # from the parent. |
| # |
| # Paragraph borders cannot be partially updated. When making |
| # changes to a paragraph border the new border must be specified in |
| # its entirety. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| "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 of indentation for the paragraph on the side that corresponds to |
| # the end of the text, based on the current paragraph direction. If unset, |
| # the value is inherited from the parent. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "borderLeft": { # A border around a paragraph. # The border to the left of this paragraph. If unset, the value is inherited |
| # from the parent. |
| # |
| # Paragraph borders cannot be partially updated. When making |
| # changes to a paragraph border the new border must be specified in |
| # its entirety. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| "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. |
| }, |
| "headingId": "A String", # The heading ID of the paragraph. If empty, then this paragraph is not a |
| # heading. This property is read-only. |
| "shading": { # The shading of a paragraph. # The shading of the paragraph. If unset, the value is inherited from the |
| # parent. |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of this paragraph shading. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| }, |
| "borderTop": { # A border around a paragraph. # The border at the top of this paragraph. If unset, the value is inherited |
| # from the parent. |
| # |
| # The top border is rendered when the paragraph above has different border |
| # and indent properties. |
| # |
| # Paragraph borders cannot be partially updated. When making |
| # changes to a paragraph border the new border must be specified in |
| # its entirety. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| }, |
| "tabStops": [ # A list of the tab stops for this paragraph. The list of tab stops is not |
| # inherited. This property is read-only. |
| { # A tab stop within a paragraph. |
| "alignment": "A String", # The alignment of this tab stop. If unset, the value defaults to START. |
| "offset": { # A magnitude in a single direction in the specified units. # The offset between this tab stop and the start margin. |
| "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 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. |
| "keepLinesTogether": True or False, # Whether all lines of the paragraph should be laid out on the same page or |
| # column if possible. If unset, the value is inherited from the parent. |
| }, |
| }, |
| "table": { # A StructuralElement representing a # A table type of structural element. |
| # table. |
| "rows": 42, # Number of rows in the table. |
| "tableStyle": { # Styles that apply to a table. # The style of the table. |
| "tableColumnProperties": [ # The properties of each column. |
| # |
| # Note that in Docs, tables contain rows and rows contain cells, similar to |
| # HTML. So the properties for a row can be found on the row's |
| # table_row_style. |
| { # The properties of a column in a table. |
| "width": { # A magnitude in a single direction in the specified units. # The width of the column. Set when the column's `width_type` is |
| # FIXED_WIDTH. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "widthType": "A String", # The width type of the column. |
| }, |
| ], |
| }, |
| "suggestedInsertionIds": [ # The suggested insertion IDs. A Table may have |
| # multiple insertion IDs if it is a nested suggested change. If empty, then |
| # this is not a suggested insertion. |
| "A String", |
| ], |
| "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| # of this content. |
| "A String", |
| ], |
| "tableRows": [ # The contents and style of each row. |
| { # The contents and style of a row in a Table. |
| "endIndex": 42, # The zero-based end index of this row, exclusive, in UTF-16 code units. |
| "tableCells": [ # The contents and style of each cell in this row. |
| # |
| # It is possible for a table to be non-rectangular, so some rows may have a |
| # different number of cells than other rows in the same table. |
| { # The contents and style of a cell in a Table. |
| "endIndex": 42, # The zero-based end index of this cell, exclusive, in UTF-16 code units. |
| "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| # of this content. |
| "A String", |
| ], |
| "suggestedInsertionIds": [ # The suggested insertion IDs. A TableCell |
| # may have multiple insertion IDs if it is a nested suggested change. If |
| # empty, then this is not a suggested insertion. |
| "A String", |
| ], |
| "content": [ # The content of the cell. |
| # Object with schema name: StructuralElement |
| ], |
| "tableCellStyle": { # The style of a TableCell. # The style of the cell. |
| # |
| # Inherited table cell styles are represented as unset fields in this message. |
| # A table cell style can inherit from the table's style. |
| "paddingBottom": { # A magnitude in a single direction in the specified units. # The bottom padding of the cell. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "borderBottom": { # A border around a table cell. # The bottom border of the cell. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| }, |
| "paddingLeft": { # A magnitude in a single direction in the specified units. # The left padding of the cell. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "paddingTop": { # A magnitude in a single direction in the specified units. # The top padding of the cell. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "borderLeft": { # A border around a table cell. # The left border of the cell. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| }, |
| "columnSpan": 42, # The column span of the cell. This property is read-only. |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the cell. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "borderRight": { # A border around a table cell. # The right border of the cell. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| }, |
| "rowSpan": 42, # The row span of the cell. This property is read-only. |
| "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 Docs editor. |
| "paddingRight": { # A magnitude in a single direction in the specified units. # The right padding of the cell. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "borderTop": { # A border around a table cell. # The top border of the cell. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| }, |
| }, |
| "startIndex": 42, # The zero-based start index of this cell, in UTF-16 code units. |
| "suggestedTableCellStyleChanges": { # The suggested changes to the table cell style, keyed by suggestion ID. |
| "a_key": { # A suggested change to a TableCellStyle. |
| "tableCellStyle": { # The style of a TableCell. # A TableCellStyle that only includes |
| # the changes made in this suggestion. This can be used along with the |
| # table_cell_style_suggestion_state |
| # to see which fields have changed and their new values. |
| # |
| # Inherited table cell styles are represented as unset fields in this message. |
| # A table cell style can inherit from the table's style. |
| "paddingBottom": { # A magnitude in a single direction in the specified units. # The bottom padding of the cell. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "borderBottom": { # A border around a table cell. # The bottom border of the cell. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| }, |
| "paddingLeft": { # A magnitude in a single direction in the specified units. # The left padding of the cell. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "paddingTop": { # A magnitude in a single direction in the specified units. # The top padding of the cell. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "borderLeft": { # A border around a table cell. # The left border of the cell. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| }, |
| "columnSpan": 42, # The column span of the cell. This property is read-only. |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the cell. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "borderRight": { # A border around a table cell. # The right border of the cell. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| }, |
| "rowSpan": 42, # The row span of the cell. This property is read-only. |
| "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 Docs editor. |
| "paddingRight": { # A magnitude in a single direction in the specified units. # The right padding of the cell. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "borderTop": { # A border around a table cell. # The top border of the cell. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| }, |
| }, |
| "tableCellStyleSuggestionState": { # A mask that indicates which of the fields on the base TableCellStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TableCellStyle have been changed in this suggestion. |
| # For any field set to true, there is a new suggested value. |
| "borderRightSuggested": True or False, # Indicates if there was a suggested change to border_right. |
| "borderBottomSuggested": True or False, # Indicates if there was a suggested change to border_bottom. |
| "paddingBottomSuggested": True or False, # Indicates if there was a suggested change to padding_bottom. |
| "contentAlignmentSuggested": True or False, # Indicates if there was a suggested change to content_alignment. |
| "rowSpanSuggested": True or False, # Indicates if there was a suggested change to row_span. |
| "borderLeftSuggested": True or False, # Indicates if there was a suggested change to border_left. |
| "borderTopSuggested": True or False, # Indicates if there was a suggested change to border_top. |
| "columnSpanSuggested": True or False, # Indicates if there was a suggested change to column_span. |
| "paddingRightSuggested": True or False, # Indicates if there was a suggested change to padding_right. |
| "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| "paddingLeftSuggested": True or False, # Indicates if there was a suggested change to padding_left. |
| "paddingTopSuggested": True or False, # Indicates if there was a suggested change to padding_top. |
| }, |
| }, |
| }, |
| }, |
| ], |
| "tableRowStyle": { # Styles that apply to a table row. # The style of the table row. |
| "minRowHeight": { # A magnitude in a single direction in the specified units. # The minimum height of the row. The row will be rendered in the Docs editor |
| # at a height equal to or greater than this value in order to show all the |
| # content in the row's cells. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| }, |
| "suggestedInsertionIds": [ # The suggested insertion IDs. A TableRow |
| # may have multiple insertion IDs if it is a nested suggested change. If |
| # empty, then this is not a suggested insertion. |
| "A String", |
| ], |
| "startIndex": 42, # The zero-based start index of this row, in UTF-16 code units. |
| "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| # of this content. |
| "A String", |
| ], |
| "suggestedTableRowStyleChanges": { # The suggested style changes to this row, keyed by suggestion ID. |
| "a_key": { # A suggested change to a |
| # TableRowStyle. |
| "tableRowStyle": { # Styles that apply to a table row. # A TableRowStyle that only includes |
| # the changes made in this suggestion. This can be used along with the |
| # table_row_style_suggestion_state |
| # to see which fields have changed and their new values. |
| "minRowHeight": { # A magnitude in a single direction in the specified units. # The minimum height of the row. The row will be rendered in the Docs editor |
| # at a height equal to or greater than this value in order to show all the |
| # content in the row's cells. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| }, |
| "tableRowStyleSuggestionState": { # A mask that indicates which of the fields on the base TableRowStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TableRowStyle have been changed in this suggestion. |
| # For any field set to true, there is a new suggested value. |
| "minRowHeightSuggested": True or False, # Indicates if there was a suggested change to min_row_height. |
| }, |
| }, |
| }, |
| }, |
| ], |
| "columns": 42, # Number of columns in the table. |
| # |
| # It is possible for a table to be non-rectangular, so some rows may have a |
| # different number of cells. |
| }, |
| }, |
| ], |
| "footerId": "A String", # The ID of the footer. |
| }, |
| }, |
| "footnotes": { # The footnotes in the document, keyed by footnote ID. |
| "a_key": { # A document footnote. |
| "content": [ # The contents of the footnote. |
| # |
| # The indexes for a footnote's content begin at zero. |
| { # A StructuralElement describes content that provides structure to the |
| # document. |
| "endIndex": 42, # The zero-based end index of this structural element, exclusive, in UTF-16 |
| # code units. |
| "sectionBreak": { # A StructuralElement representing a # A section break type of structural element. |
| # section break. A section is a range of content which has the same |
| # SectionStyle. A section break represents |
| # the start of a new section, and the section style applies to the section |
| # after the section break. |
| # |
| # The document body always begins with a section break. |
| "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| # of this content. |
| "A String", |
| ], |
| "sectionStyle": { # The styling that applies to a section. # The style of the section after this section break. |
| "contentDirection": "A String", # The content direction of this section. If unset, the value defaults to |
| # LEFT_TO_RIGHT. |
| "columnProperties": [ # The section's columns properties. |
| # |
| # If empty, the section contains one column with the default properties in |
| # the Docs editor. |
| { # Properties that apply to a section's column. |
| "width": { # A magnitude in a single direction in the specified units. # The width of the column. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "paddingEnd": { # A magnitude in a single direction in the specified units. # The padding at the end of the column. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| }, |
| ], |
| "columnSeparatorStyle": "A String", # The style of column separators. |
| # |
| # This style can be set even when there is one column in the section. |
| }, |
| "suggestedInsertionIds": [ # The suggested insertion IDs. A SectionBreak may have multiple insertion IDs if it is |
| # a nested suggested change. If empty, then this is not a suggested |
| # insertion. |
| "A String", |
| ], |
| }, |
| "tableOfContents": { # A StructuralElement representing # A table of contents type of structural element. |
| # a table of contents. |
| "content": [ # The content of the table of contents. |
| # Object with schema name: StructuralElement |
| ], |
| "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| # of this content. |
| "A String", |
| ], |
| "suggestedInsertionIds": [ # The suggested insertion IDs. A TableOfContents may have multiple insertion IDs if it |
| # is a nested suggested change. If empty, then this is not a suggested |
| # insertion. |
| "A String", |
| ], |
| }, |
| "startIndex": 42, # The zero-based start index of this structural element, in UTF-16 code |
| # units. |
| "paragraph": { # A StructuralElement representing a # A paragraph type of structural element. |
| # paragraph. A paragraph is a range of content that is terminated with a |
| # newline character. |
| "elements": [ # The content of the paragraph broken down into its component parts. |
| { # A ParagraphElement describes content within a |
| # Paragraph. |
| "endIndex": 42, # The zero-base end index of this paragraph element, exclusive, in UTF-16 |
| # code units. |
| "equation": { # A ParagraphElement representing an # An equation paragraph element. |
| # equation. |
| "suggestedInsertionIds": [ # The suggested insertion IDs. A Equation |
| # may have multiple insertion IDs if it is a nested suggested change. If |
| # empty, then this is not a suggested insertion. |
| "A String", |
| ], |
| "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| # of this content. |
| "A String", |
| ], |
| }, |
| "columnBreak": { # A ParagraphElement representing a # A column break paragraph element. |
| # column break. A column break makes the subsequent text start at the top of |
| # the next column. |
| "textStyle": { # Represents the styling that can be applied to text. # The text style of this ColumnBreak. |
| # |
| # Similar to text content, like text runs and footnote references, the text |
| # style of a column break can affect content layout as well as the styling of |
| # text inserted adjacent to it. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "suggestedInsertionIds": [ # The suggested insertion IDs. A ColumnBreak may have multiple insertion IDs if it is |
| # a nested suggested change. If empty, then this is not a suggested |
| # insertion. |
| "A String", |
| ], |
| "suggestedTextStyleChanges": { # The suggested text style changes to this ColumnBreak, keyed by suggestion |
| # ID. |
| "a_key": { # A suggested change to a TextStyle. |
| "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| # the changes made in this suggestion. This can be used along with the |
| # text_style_suggestion_state |
| # to see which fields have changed and their new values. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| # For any field set to true, there is a new suggested value. |
| "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| }, |
| }, |
| }, |
| "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| # of this content. |
| "A String", |
| ], |
| }, |
| "startIndex": 42, # The zero-based start index of this paragraph element, in UTF-16 code units. |
| "pageBreak": { # A ParagraphElement representing a # A page break paragraph element. |
| # page break. A page break makes the subsequent text start at the top of the |
| # next page. |
| "textStyle": { # Represents the styling that can be applied to text. # The text style of this PageBreak. |
| # |
| # Similar to text content, like text runs and footnote references, the text |
| # style of a page break can affect content layout as well as the styling of |
| # text inserted adjacent to it. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| # of this content. |
| "A String", |
| ], |
| "suggestedTextStyleChanges": { # The suggested text style changes to this PageBreak, keyed by suggestion ID. |
| "a_key": { # A suggested change to a TextStyle. |
| "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| # the changes made in this suggestion. This can be used along with the |
| # text_style_suggestion_state |
| # to see which fields have changed and their new values. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| # For any field set to true, there is a new suggested value. |
| "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| }, |
| }, |
| }, |
| "suggestedInsertionIds": [ # The suggested insertion IDs. A PageBreak |
| # may have multiple insertion IDs if it is a nested suggested change. If |
| # empty, then this is not a suggested insertion. |
| "A String", |
| ], |
| }, |
| "horizontalRule": { # A ParagraphElement representing a # A horizontal rule paragraph element. |
| # horizontal line. |
| "textStyle": { # Represents the styling that can be applied to text. # The text style of this HorizontalRule. |
| # |
| # Similar to text content, like text runs and footnote references, the text |
| # style of a horizontal rule can affect content layout as well as the styling |
| # of text inserted adjacent to it. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "suggestedInsertionIds": [ # The suggested insertion IDs. A HorizontalRule may have multiple insertion IDs if it |
| # is a nested suggested change. If empty, then this is not a suggested |
| # insertion. |
| "A String", |
| ], |
| "suggestedTextStyleChanges": { # The suggested text style changes to this HorizontalRule, keyed by |
| # suggestion ID. |
| "a_key": { # A suggested change to a TextStyle. |
| "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| # the changes made in this suggestion. This can be used along with the |
| # text_style_suggestion_state |
| # to see which fields have changed and their new values. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| # For any field set to true, there is a new suggested value. |
| "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| }, |
| }, |
| }, |
| "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| # of this content. |
| "A String", |
| ], |
| }, |
| "textRun": { # A ParagraphElement that represents a # A text run paragraph element. |
| # run of text that all has the same styling. |
| "content": "A String", # The text of this run. |
| # |
| # Any non-text elements in the run are replaced with the Unicode character |
| # U+E907. |
| "textStyle": { # Represents the styling that can be applied to text. # The text style of this run. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "suggestedInsertionIds": [ # The suggested insertion IDs. A TextRun may |
| # have multiple insertion IDs if it is a nested suggested change. If empty, |
| # then this is not a suggested insertion. |
| "A String", |
| ], |
| "suggestedTextStyleChanges": { # The suggested text style changes to this run, keyed by suggestion ID. |
| "a_key": { # A suggested change to a TextStyle. |
| "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| # the changes made in this suggestion. This can be used along with the |
| # text_style_suggestion_state |
| # to see which fields have changed and their new values. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| # For any field set to true, there is a new suggested value. |
| "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| }, |
| }, |
| }, |
| "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| # of this content. |
| "A String", |
| ], |
| }, |
| "autoText": { # A ParagraphElement representing a # An auto text paragraph element. |
| # spot in the text that is dynamically replaced with content that can change |
| # over time, like a page number. |
| "textStyle": { # Represents the styling that can be applied to text. # The text style of this AutoText. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| # of this content. |
| "A String", |
| ], |
| "suggestedTextStyleChanges": { # The suggested text style changes to this AutoText, keyed by suggestion ID. |
| "a_key": { # A suggested change to a TextStyle. |
| "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| # the changes made in this suggestion. This can be used along with the |
| # text_style_suggestion_state |
| # to see which fields have changed and their new values. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| # For any field set to true, there is a new suggested value. |
| "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| }, |
| }, |
| }, |
| "type": "A String", # The type of this auto text. |
| "suggestedInsertionIds": [ # The suggested insertion IDs. An AutoText |
| # may have multiple insertion IDs if it is a nested suggested change. If |
| # empty, then this is not a suggested insertion. |
| "A String", |
| ], |
| }, |
| "inlineObjectElement": { # A ParagraphElement that contains # An inline object paragraph element. |
| # an InlineObject. |
| "textStyle": { # Represents the styling that can be applied to text. # The text style of this InlineObjectElement. |
| # |
| # Similar to text content, like text runs and footnote references, the text |
| # style of an inline object element can affect content layout as well as the |
| # styling of text inserted adjacent to it. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| # of this content. |
| "A String", |
| ], |
| "suggestedTextStyleChanges": { # The suggested text style changes to this InlineObject, keyed by suggestion |
| # ID. |
| "a_key": { # A suggested change to a TextStyle. |
| "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| # the changes made in this suggestion. This can be used along with the |
| # text_style_suggestion_state |
| # to see which fields have changed and their new values. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| # For any field set to true, there is a new suggested value. |
| "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| }, |
| }, |
| }, |
| "inlineObjectId": "A String", # The ID of the InlineObject this |
| # element contains. |
| "suggestedInsertionIds": [ # The suggested insertion IDs. An InlineObjectElement may have multiple insertion IDs |
| # if it is a nested suggested change. If empty, then this is not a suggested |
| # insertion. |
| "A String", |
| ], |
| }, |
| "footnoteReference": { # A ParagraphElement representing a # A footnote reference paragraph element. |
| # footnote reference. A footnote reference is the inline content rendered with |
| # a number and is used to identify the footnote. |
| "textStyle": { # Represents the styling that can be applied to text. # The text style of this FootnoteReference. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "footnoteNumber": "A String", # The rendered number of this footnote. |
| "suggestedInsertionIds": [ # The suggested insertion IDs. A FootnoteReference may have multiple insertion IDs if |
| # it is a nested suggested change. If empty, then this is not a suggested |
| # insertion. |
| "A String", |
| ], |
| "footnoteId": "A String", # The ID of the footnote that |
| # contains the content of this footnote reference. |
| "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| # of this content. |
| "A String", |
| ], |
| "suggestedTextStyleChanges": { # The suggested text style changes to this FootnoteReference, keyed by |
| # suggestion ID. |
| "a_key": { # A suggested change to a TextStyle. |
| "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| # the changes made in this suggestion. This can be used along with the |
| # text_style_suggestion_state |
| # to see which fields have changed and their new values. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| # For any field set to true, there is a new suggested value. |
| "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| }, |
| }, |
| }, |
| }, |
| }, |
| ], |
| "suggestedPositionedObjectIds": { # The IDs of the positioned objects that are suggested to be attached to this |
| # paragraph, keyed by suggestion ID. |
| "a_key": { # A collection of object IDs. |
| "objectIds": [ # The object IDs. |
| "A String", |
| ], |
| }, |
| }, |
| "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. |
| "textStyle": { # Represents the styling that can be applied to text. # The paragraph specific text style applied to this bullet. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| }, |
| "suggestedBulletChanges": { # The suggested changes to this paragraph's bullet. |
| "a_key": { # A suggested change to a Bullet. |
| "bullet": { # Describes the bullet of a paragraph. # A Bullet that only includes the changes made |
| # in this suggestion. This can be used along with the |
| # bullet_suggestion_state to see which |
| # fields have changed and their new values. |
| "nestingLevel": 42, # The nesting level of this paragraph in the list. |
| "listId": "A String", # The ID of the list this paragraph belongs to. |
| "textStyle": { # Represents the styling that can be applied to text. # The paragraph specific text style applied to this bullet. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| }, |
| "bulletSuggestionState": { # A mask that indicates which of the fields on the base # A mask that indicates which of the fields on the base |
| # Bullet have been changed in this suggestion. |
| # Bullet have been changed in this suggestion. |
| # For any field set to true, there is a new suggested value. |
| "nestingLevelSuggested": True or False, # Indicates if there was a suggested change to the |
| # nesting_level. |
| "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields in text style have been changed in this |
| # suggestion. |
| # For any field set to true, there is a new suggested value. |
| "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| }, |
| "listIdSuggested": True or False, # Indicates if there was a suggested change to the |
| # list_id. |
| }, |
| }, |
| }, |
| "positionedObjectIds": [ # The IDs of the positioned objects tethered to this paragraph. |
| "A String", |
| ], |
| "suggestedParagraphStyleChanges": { # The suggested paragraph style changes to this paragraph, keyed by |
| # suggestion ID. |
| "a_key": { # A suggested change to a |
| # ParagraphStyle. |
| "paragraphStyleSuggestionState": { # A mask that indicates which of the fields on the base ParagraphStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base ParagraphStyle have been changed in this suggestion. |
| # For any field set to true, there is a new suggested value. |
| "avoidWidowAndOrphanSuggested": True or False, # Indicates if there was a suggested change to avoid_widow_and_orphan. |
| "lineSpacingSuggested": True or False, # Indicates if there was a suggested change to line_spacing. |
| "spacingModeSuggested": True or False, # Indicates if there was a suggested change to spacing_mode. |
| "spaceBelowSuggested": True or False, # Indicates if there was a suggested change to space_below. |
| "borderRightSuggested": True or False, # Indicates if there was a suggested change to border_right. |
| "indentStartSuggested": True or False, # Indicates if there was a suggested change to indent_start. |
| "namedStyleTypeSuggested": True or False, # Indicates if there was a suggested change to named_style_type. |
| "indentEndSuggested": True or False, # Indicates if there was a suggested change to indent_end. |
| "borderBetweenSuggested": True or False, # Indicates if there was a suggested change to border_between. |
| "borderTopSuggested": True or False, # Indicates if there was a suggested change to border_top. |
| "borderLeftSuggested": True or False, # Indicates if there was a suggested change to border_left. |
| "keepWithNextSuggested": True or False, # Indicates if there was a suggested change to keep_with_next. |
| "spaceAboveSuggested": True or False, # Indicates if there was a suggested change to space_above. |
| "alignmentSuggested": True or False, # Indicates if there was a suggested change to alignment. |
| "indentFirstLineSuggested": True or False, # Indicates if there was a suggested change to indent_first_line. |
| "headingIdSuggested": True or False, # Indicates if there was a suggested change to heading_id. |
| "borderBottomSuggested": True or False, # Indicates if there was a suggested change to border_bottom. |
| "directionSuggested": True or False, # Indicates if there was a suggested change to direction. |
| "keepLinesTogetherSuggested": True or False, # Indicates if there was a suggested change to keep_lines_together. |
| "shadingSuggestionState": { # A mask that indicates which of the fields on the base Shading have been changed in this # A mask that indicates which of the fields in shading have been changed in |
| # this suggestion. |
| # suggested change. For any field set to true, there is a new suggested value. |
| "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to the Shading. |
| }, |
| }, |
| "paragraphStyle": { # Styles that apply to a whole paragraph. # A ParagraphStyle that only includes |
| # the changes made in this suggestion. This can be used along with the |
| # paragraph_suggestion_state |
| # to see which fields have changed and their new values. |
| # |
| # Inherited paragraph styles are represented as unset fields in this message. |
| # A paragraph style's parent depends on where the paragraph style is defined: |
| # |
| # * The ParagraphStyle on a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The ParagraphStyle on a named style |
| # inherits from the normal text named style. |
| # * The ParagraphStyle of the normal text named style inherits |
| # from the default paragraph style in the Docs editor. |
| # * The ParagraphStyle on a Paragraph |
| # element that is contained in a table may inherit its paragraph style from |
| # the table style. |
| # |
| # If the paragraph style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "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 |
| # paragraph 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. |
| }, |
| "keepWithNext": True or False, # Whether at least a part of this paragraph should be laid out on the same |
| # page or column as the next paragraph if possible. If unset, the value is |
| # inherited from the parent. |
| "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. |
| "avoidWidowAndOrphan": True or False, # Whether to avoid widows and orphans for the paragraph. If unset, the value |
| # is inherited from the parent. |
| "borderBottom": { # A border around a paragraph. # The border at the bottom of this paragraph. If unset, the value is |
| # inherited from the parent. |
| # |
| # The bottom border is rendered when the paragraph below has different border |
| # and indent properties. |
| # |
| # Paragraph borders cannot be partially updated. When making |
| # changes to a paragraph border the new border must be specified in |
| # its entirety. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| }, |
| "indentStart": { # A magnitude in a single direction in the specified units. # The amount of indentation for the paragraph on the side that corresponds to |
| # the start of the text, based on the current paragraph direction. If unset, |
| # the value is inherited from the parent. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "borderBetween": { # A border around a paragraph. # The border between this paragraph and the next and previous paragraphs. |
| # If unset, the value is inherited from the parent. |
| # |
| # The between border is rendered when the adjacent paragraph has the same |
| # border and indent properties. |
| # |
| # Paragraph borders cannot be partially updated. When making |
| # changes to a paragraph border the new border must be specified in |
| # its entirety. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| }, |
| "namedStyleType": "A String", # The named style type of the paragraph. |
| # |
| # Since updating the named style type affects other properties within |
| # ParagraphStyle, the named style type is applied before the other properties |
| # are updated. |
| "borderRight": { # A border around a paragraph. # The border to the right of this paragraph. If unset, the value is inherited |
| # from the parent. |
| # |
| # Paragraph borders cannot be partially updated. When making |
| # changes to a paragraph border the new border must be specified in |
| # its entirety. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| "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 of indentation for the paragraph on the side that corresponds to |
| # the end of the text, based on the current paragraph direction. If unset, |
| # the value is inherited from the parent. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "borderLeft": { # A border around a paragraph. # The border to the left of this paragraph. If unset, the value is inherited |
| # from the parent. |
| # |
| # Paragraph borders cannot be partially updated. When making |
| # changes to a paragraph border the new border must be specified in |
| # its entirety. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| "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. |
| }, |
| "headingId": "A String", # The heading ID of the paragraph. If empty, then this paragraph is not a |
| # heading. This property is read-only. |
| "shading": { # The shading of a paragraph. # The shading of the paragraph. If unset, the value is inherited from the |
| # parent. |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of this paragraph shading. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| }, |
| "borderTop": { # A border around a paragraph. # The border at the top of this paragraph. If unset, the value is inherited |
| # from the parent. |
| # |
| # The top border is rendered when the paragraph above has different border |
| # and indent properties. |
| # |
| # Paragraph borders cannot be partially updated. When making |
| # changes to a paragraph border the new border must be specified in |
| # its entirety. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| }, |
| "tabStops": [ # A list of the tab stops for this paragraph. The list of tab stops is not |
| # inherited. This property is read-only. |
| { # A tab stop within a paragraph. |
| "alignment": "A String", # The alignment of this tab stop. If unset, the value defaults to START. |
| "offset": { # A magnitude in a single direction in the specified units. # The offset between this tab stop and the start margin. |
| "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 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. |
| "keepLinesTogether": True or False, # Whether all lines of the paragraph should be laid out on the same page or |
| # column if possible. If unset, the value is inherited from the parent. |
| }, |
| }, |
| }, |
| "paragraphStyle": { # Styles that apply to a whole paragraph. # The style of this paragraph. |
| # |
| # Inherited paragraph styles are represented as unset fields in this message. |
| # A paragraph style's parent depends on where the paragraph style is defined: |
| # |
| # * The ParagraphStyle on a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The ParagraphStyle on a named style |
| # inherits from the normal text named style. |
| # * The ParagraphStyle of the normal text named style inherits |
| # from the default paragraph style in the Docs editor. |
| # * The ParagraphStyle on a Paragraph |
| # element that is contained in a table may inherit its paragraph style from |
| # the table style. |
| # |
| # If the paragraph style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "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 |
| # paragraph 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. |
| }, |
| "keepWithNext": True or False, # Whether at least a part of this paragraph should be laid out on the same |
| # page or column as the next paragraph if possible. If unset, the value is |
| # inherited from the parent. |
| "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. |
| "avoidWidowAndOrphan": True or False, # Whether to avoid widows and orphans for the paragraph. If unset, the value |
| # is inherited from the parent. |
| "borderBottom": { # A border around a paragraph. # The border at the bottom of this paragraph. If unset, the value is |
| # inherited from the parent. |
| # |
| # The bottom border is rendered when the paragraph below has different border |
| # and indent properties. |
| # |
| # Paragraph borders cannot be partially updated. When making |
| # changes to a paragraph border the new border must be specified in |
| # its entirety. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| }, |
| "indentStart": { # A magnitude in a single direction in the specified units. # The amount of indentation for the paragraph on the side that corresponds to |
| # the start of the text, based on the current paragraph direction. If unset, |
| # the value is inherited from the parent. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "borderBetween": { # A border around a paragraph. # The border between this paragraph and the next and previous paragraphs. |
| # If unset, the value is inherited from the parent. |
| # |
| # The between border is rendered when the adjacent paragraph has the same |
| # border and indent properties. |
| # |
| # Paragraph borders cannot be partially updated. When making |
| # changes to a paragraph border the new border must be specified in |
| # its entirety. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| }, |
| "namedStyleType": "A String", # The named style type of the paragraph. |
| # |
| # Since updating the named style type affects other properties within |
| # ParagraphStyle, the named style type is applied before the other properties |
| # are updated. |
| "borderRight": { # A border around a paragraph. # The border to the right of this paragraph. If unset, the value is inherited |
| # from the parent. |
| # |
| # Paragraph borders cannot be partially updated. When making |
| # changes to a paragraph border the new border must be specified in |
| # its entirety. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| "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 of indentation for the paragraph on the side that corresponds to |
| # the end of the text, based on the current paragraph direction. If unset, |
| # the value is inherited from the parent. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "borderLeft": { # A border around a paragraph. # The border to the left of this paragraph. If unset, the value is inherited |
| # from the parent. |
| # |
| # Paragraph borders cannot be partially updated. When making |
| # changes to a paragraph border the new border must be specified in |
| # its entirety. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| "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. |
| }, |
| "headingId": "A String", # The heading ID of the paragraph. If empty, then this paragraph is not a |
| # heading. This property is read-only. |
| "shading": { # The shading of a paragraph. # The shading of the paragraph. If unset, the value is inherited from the |
| # parent. |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of this paragraph shading. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| }, |
| "borderTop": { # A border around a paragraph. # The border at the top of this paragraph. If unset, the value is inherited |
| # from the parent. |
| # |
| # The top border is rendered when the paragraph above has different border |
| # and indent properties. |
| # |
| # Paragraph borders cannot be partially updated. When making |
| # changes to a paragraph border the new border must be specified in |
| # its entirety. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| }, |
| "tabStops": [ # A list of the tab stops for this paragraph. The list of tab stops is not |
| # inherited. This property is read-only. |
| { # A tab stop within a paragraph. |
| "alignment": "A String", # The alignment of this tab stop. If unset, the value defaults to START. |
| "offset": { # A magnitude in a single direction in the specified units. # The offset between this tab stop and the start margin. |
| "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 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. |
| "keepLinesTogether": True or False, # Whether all lines of the paragraph should be laid out on the same page or |
| # column if possible. If unset, the value is inherited from the parent. |
| }, |
| }, |
| "table": { # A StructuralElement representing a # A table type of structural element. |
| # table. |
| "rows": 42, # Number of rows in the table. |
| "tableStyle": { # Styles that apply to a table. # The style of the table. |
| "tableColumnProperties": [ # The properties of each column. |
| # |
| # Note that in Docs, tables contain rows and rows contain cells, similar to |
| # HTML. So the properties for a row can be found on the row's |
| # table_row_style. |
| { # The properties of a column in a table. |
| "width": { # A magnitude in a single direction in the specified units. # The width of the column. Set when the column's `width_type` is |
| # FIXED_WIDTH. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "widthType": "A String", # The width type of the column. |
| }, |
| ], |
| }, |
| "suggestedInsertionIds": [ # The suggested insertion IDs. A Table may have |
| # multiple insertion IDs if it is a nested suggested change. If empty, then |
| # this is not a suggested insertion. |
| "A String", |
| ], |
| "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| # of this content. |
| "A String", |
| ], |
| "tableRows": [ # The contents and style of each row. |
| { # The contents and style of a row in a Table. |
| "endIndex": 42, # The zero-based end index of this row, exclusive, in UTF-16 code units. |
| "tableCells": [ # The contents and style of each cell in this row. |
| # |
| # It is possible for a table to be non-rectangular, so some rows may have a |
| # different number of cells than other rows in the same table. |
| { # The contents and style of a cell in a Table. |
| "endIndex": 42, # The zero-based end index of this cell, exclusive, in UTF-16 code units. |
| "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| # of this content. |
| "A String", |
| ], |
| "suggestedInsertionIds": [ # The suggested insertion IDs. A TableCell |
| # may have multiple insertion IDs if it is a nested suggested change. If |
| # empty, then this is not a suggested insertion. |
| "A String", |
| ], |
| "content": [ # The content of the cell. |
| # Object with schema name: StructuralElement |
| ], |
| "tableCellStyle": { # The style of a TableCell. # The style of the cell. |
| # |
| # Inherited table cell styles are represented as unset fields in this message. |
| # A table cell style can inherit from the table's style. |
| "paddingBottom": { # A magnitude in a single direction in the specified units. # The bottom padding of the cell. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "borderBottom": { # A border around a table cell. # The bottom border of the cell. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| }, |
| "paddingLeft": { # A magnitude in a single direction in the specified units. # The left padding of the cell. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "paddingTop": { # A magnitude in a single direction in the specified units. # The top padding of the cell. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "borderLeft": { # A border around a table cell. # The left border of the cell. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| }, |
| "columnSpan": 42, # The column span of the cell. This property is read-only. |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the cell. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "borderRight": { # A border around a table cell. # The right border of the cell. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| }, |
| "rowSpan": 42, # The row span of the cell. This property is read-only. |
| "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 Docs editor. |
| "paddingRight": { # A magnitude in a single direction in the specified units. # The right padding of the cell. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "borderTop": { # A border around a table cell. # The top border of the cell. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| }, |
| }, |
| "startIndex": 42, # The zero-based start index of this cell, in UTF-16 code units. |
| "suggestedTableCellStyleChanges": { # The suggested changes to the table cell style, keyed by suggestion ID. |
| "a_key": { # A suggested change to a TableCellStyle. |
| "tableCellStyle": { # The style of a TableCell. # A TableCellStyle that only includes |
| # the changes made in this suggestion. This can be used along with the |
| # table_cell_style_suggestion_state |
| # to see which fields have changed and their new values. |
| # |
| # Inherited table cell styles are represented as unset fields in this message. |
| # A table cell style can inherit from the table's style. |
| "paddingBottom": { # A magnitude in a single direction in the specified units. # The bottom padding of the cell. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "borderBottom": { # A border around a table cell. # The bottom border of the cell. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| }, |
| "paddingLeft": { # A magnitude in a single direction in the specified units. # The left padding of the cell. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "paddingTop": { # A magnitude in a single direction in the specified units. # The top padding of the cell. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "borderLeft": { # A border around a table cell. # The left border of the cell. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| }, |
| "columnSpan": 42, # The column span of the cell. This property is read-only. |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the cell. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "borderRight": { # A border around a table cell. # The right border of the cell. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| }, |
| "rowSpan": 42, # The row span of the cell. This property is read-only. |
| "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 Docs editor. |
| "paddingRight": { # A magnitude in a single direction in the specified units. # The right padding of the cell. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "borderTop": { # A border around a table cell. # The top border of the cell. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| }, |
| }, |
| "tableCellStyleSuggestionState": { # A mask that indicates which of the fields on the base TableCellStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TableCellStyle have been changed in this suggestion. |
| # For any field set to true, there is a new suggested value. |
| "borderRightSuggested": True or False, # Indicates if there was a suggested change to border_right. |
| "borderBottomSuggested": True or False, # Indicates if there was a suggested change to border_bottom. |
| "paddingBottomSuggested": True or False, # Indicates if there was a suggested change to padding_bottom. |
| "contentAlignmentSuggested": True or False, # Indicates if there was a suggested change to content_alignment. |
| "rowSpanSuggested": True or False, # Indicates if there was a suggested change to row_span. |
| "borderLeftSuggested": True or False, # Indicates if there was a suggested change to border_left. |
| "borderTopSuggested": True or False, # Indicates if there was a suggested change to border_top. |
| "columnSpanSuggested": True or False, # Indicates if there was a suggested change to column_span. |
| "paddingRightSuggested": True or False, # Indicates if there was a suggested change to padding_right. |
| "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| "paddingLeftSuggested": True or False, # Indicates if there was a suggested change to padding_left. |
| "paddingTopSuggested": True or False, # Indicates if there was a suggested change to padding_top. |
| }, |
| }, |
| }, |
| }, |
| ], |
| "tableRowStyle": { # Styles that apply to a table row. # The style of the table row. |
| "minRowHeight": { # A magnitude in a single direction in the specified units. # The minimum height of the row. The row will be rendered in the Docs editor |
| # at a height equal to or greater than this value in order to show all the |
| # content in the row's cells. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| }, |
| "suggestedInsertionIds": [ # The suggested insertion IDs. A TableRow |
| # may have multiple insertion IDs if it is a nested suggested change. If |
| # empty, then this is not a suggested insertion. |
| "A String", |
| ], |
| "startIndex": 42, # The zero-based start index of this row, in UTF-16 code units. |
| "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| # of this content. |
| "A String", |
| ], |
| "suggestedTableRowStyleChanges": { # The suggested style changes to this row, keyed by suggestion ID. |
| "a_key": { # A suggested change to a |
| # TableRowStyle. |
| "tableRowStyle": { # Styles that apply to a table row. # A TableRowStyle that only includes |
| # the changes made in this suggestion. This can be used along with the |
| # table_row_style_suggestion_state |
| # to see which fields have changed and their new values. |
| "minRowHeight": { # A magnitude in a single direction in the specified units. # The minimum height of the row. The row will be rendered in the Docs editor |
| # at a height equal to or greater than this value in order to show all the |
| # content in the row's cells. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| }, |
| "tableRowStyleSuggestionState": { # A mask that indicates which of the fields on the base TableRowStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TableRowStyle have been changed in this suggestion. |
| # For any field set to true, there is a new suggested value. |
| "minRowHeightSuggested": True or False, # Indicates if there was a suggested change to min_row_height. |
| }, |
| }, |
| }, |
| }, |
| ], |
| "columns": 42, # Number of columns in the table. |
| # |
| # It is possible for a table to be non-rectangular, so some rows may have a |
| # different number of cells. |
| }, |
| }, |
| ], |
| "footnoteId": "A String", # The ID of the footnote. |
| }, |
| }, |
| "positionedObjects": { # The positioned objects in the document, keyed by object ID. |
| "a_key": { # An object that is tethered to a Paragraph |
| # and positioned relative to the beginning of the paragraph. A PositionedObject |
| # contains an EmbeddedObject such as an |
| # image. |
| "positionedObjectProperties": { # Properties of a PositionedObject. # The properties of this positioned object. |
| "positioning": { # The positioning of a PositionedObject. The positioned object is positioned # The positioning of this positioned object relative to the newline of the |
| # Paragraph that references this positioned |
| # object. |
| # relative to the beginning of the Paragraph |
| # it is tethered to. |
| "leftOffset": { # A magnitude in a single direction in the specified units. # The offset of the left edge of the positioned object relative to the |
| # beginning of the Paragraph it is tethered |
| # to. The exact positioning of the object can depend on other content in the |
| # document and the document's styling. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "topOffset": { # A magnitude in a single direction in the specified units. # The offset of the top edge of the positioned object relative to the |
| # beginning of the Paragraph it is tethered |
| # to. The exact positioning of the object can depend on other content in the |
| # document and the document's styling. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "layout": "A String", # The layout of this positioned object. |
| }, |
| "embeddedObject": { # An embedded object in the document. # The embedded object of this positioned object. |
| "imageProperties": { # The properties of an image. # The properties of an image. |
| "angle": 3.14, # The clockwise rotation angle of the image, in radians. |
| "contentUri": "A String", # A URI to the image with a default lifetime of 30 minutes. |
| # This URI is tagged with the account of the requester. Anyone with the URI |
| # effectively accesses the image as the original requester. Access to the |
| # image may be lost if the document's sharing settings change. |
| "sourceUri": "A String", # The source URI is the URI used to insert the image. The source URI can be |
| # empty. |
| "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. |
| "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. |
| "cropProperties": { # The crop properties of an image. # The crop properties of the image. |
| # |
| # The crop rectangle is represented using fractional offsets from the original |
| # content's four edges. |
| # |
| # - If the offset is in the interval (0, 1), the corresponding edge of crop |
| # rectangle is positioned inside of the image's original bounding rectangle. |
| # - If the offset is negative or greater than 1, the corresponding edge of crop |
| # rectangle is positioned outside of the image's original bounding rectangle. |
| # - If all offsets and rotation angle are 0, the image is not cropped. |
| "offsetBottom": 3.14, # The offset specifies how far inwards the bottom edge of the crop rectangle |
| # is from the bottom edge of the original content as a fraction of the |
| # original content's height. |
| "angle": 3.14, # The clockwise rotation angle of the crop rectangle around its center, in |
| # radians. Rotation is applied after the offsets. |
| "offsetLeft": 3.14, # The offset specifies how far inwards the left edge of the crop rectangle is |
| # from the left edge of the original content as a fraction of the original |
| # content's width. |
| "offsetRight": 3.14, # The offset specifies how far inwards the right edge of the crop rectangle |
| # is from the right edge of the original content as a fraction of the |
| # original content's width. |
| "offsetTop": 3.14, # The offset specifies how far inwards the top edge of the crop rectangle is |
| # from the top edge of the original content as a fraction of the original |
| # content's height. |
| }, |
| "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. |
| }, |
| "description": "A String", # The description of the embedded object. The `title` and `description` are |
| # both combined to display alt text. |
| "title": "A String", # The title of the embedded object. The `title` and `description` are both |
| # combined to display alt text. |
| "embeddedDrawingProperties": { # The properties of an embedded drawing. # The properties of an embedded drawing. |
| }, |
| "linkedContentReference": { # A reference to the external linked source content. # A reference to the external linked source content. For example, it contains |
| # a reference to the source Sheets chart when the embedded object is a linked |
| # chart. |
| # |
| # If unset, then the embedded object is not linked. |
| "sheetsChartReference": { # A reference to a linked chart embedded from Google Sheets. # A reference to the linked chart. |
| "spreadsheetId": "A String", # The ID of the Google Sheets spreadsheet that contains the source chart. |
| "chartId": 42, # The ID of the specific chart in the Google Sheets spreadsheet that is |
| # embedded. |
| }, |
| }, |
| "embeddedObjectBorder": { # A border around an EmbeddedObject. # The border of the embedded object. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "propertyState": "A String", # The property state of the border property. |
| }, |
| "marginBottom": { # A magnitude in a single direction in the specified units. # The bottom margin of the embedded object. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "marginLeft": { # A magnitude in a single direction in the specified units. # The left margin of the embedded object. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "marginRight": { # A magnitude in a single direction in the specified units. # The right margin of the embedded object. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "marginTop": { # A magnitude in a single direction in the specified units. # The top margin of the embedded object. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "size": { # A width and height. # The visible size of the image after cropping. |
| "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. |
| }, |
| }, |
| }, |
| }, |
| "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| # of this content. |
| "A String", |
| ], |
| "suggestedPositionedObjectPropertiesChanges": { # The suggested changes to the positioned object properties, keyed by |
| # suggestion ID. |
| "a_key": { # A suggested change to PositionedObjectProperties. |
| "positionedObjectPropertiesSuggestionState": { # A mask that indicates which of the fields on the base # A mask that indicates which of the fields on the base |
| # PositionedObjectProperties have been changed in this |
| # suggestion. |
| # PositionedObjectProperties |
| # have been changed in this suggestion. For any field set to true, there is a |
| # new suggested value. |
| "positioningSuggestionState": { # A mask that indicates which of the fields on the base # A mask that indicates which of the fields in positioning have been |
| # changed in this suggestion. |
| # PositionedObjectPositioning have been changed in this |
| # suggestion. For any field set to true, there is a new suggested value. |
| "layoutSuggested": True or False, # Indicates if there was a suggested change to layout. |
| "topOffsetSuggested": True or False, # Indicates if there was a suggested change to top_offset. |
| "leftOffsetSuggested": True or False, # Indicates if there was a suggested change to left_offset. |
| }, |
| "embeddedObjectSuggestionState": { # A mask that indicates which of the fields on the base EmbeddedObject have been changed in this suggestion. # A mask that indicates which of the fields in embedded_object have been |
| # changed in this suggestion. |
| # For any field set to true, there is a new suggested value. |
| "linkedContentReferenceSuggestionState": { # A mask that indicates which of the fields on the base # A mask that indicates which of the fields in linked_content_reference have been |
| # changed in this suggestion. |
| # LinkedContentReference have |
| # been changed in this suggestion. For any field set to true, there is a new |
| # suggested value. |
| "sheetsChartReferenceSuggestionState": { # A mask that indicates which of the fields on the base SheetsChartReference have been changed in this # A mask that indicates which of the fields in sheets_chart_reference have |
| # been changed in this suggestion. |
| # suggestion. For any field set to true, there is a new suggested value. |
| "spreadsheetIdSuggested": True or False, # Indicates if there was a suggested change to spreadsheet_id. |
| "chartIdSuggested": True or False, # Indicates if there was a suggested change to chart_id. |
| }, |
| }, |
| "sizeSuggestionState": { # A mask that indicates which of the fields on the base Size have been changed in this suggestion. # A mask that indicates which of the fields in size have been changed in this |
| # suggestion. |
| # For any field set to true, the Size has |
| # a new suggested value. |
| "widthSuggested": True or False, # Indicates if there was a suggested change to width. |
| "heightSuggested": True or False, # Indicates if there was a suggested change to height. |
| }, |
| "embeddedDrawingPropertiesSuggestionState": { # A mask that indicates which of the fields on the base # A mask that indicates which of the fields in embedded_drawing_properties have been |
| # changed in this suggestion. |
| # EmbeddedDrawingProperties |
| # have been changed in this suggestion. For any field set to true, there is a |
| # new suggested value. |
| }, |
| "marginRightSuggested": True or False, # Indicates if there was a suggested change to margin_right. |
| "imagePropertiesSuggestionState": { # A mask that indicates which of the fields on the base ImageProperties have been changed in this suggestion. # A mask that indicates which of the fields in image_properties have been changed in |
| # this suggestion. |
| # For any field set to true, there is a new suggested value. |
| "cropPropertiesSuggestionState": { # A mask that indicates which of the fields on the base CropProperties have been changed in this suggestion. # A mask that indicates which of the fields in crop_properties have been changed in |
| # this suggestion. |
| # For any field set to true, there is a new suggested value. |
| "offsetLeftSuggested": True or False, # Indicates if there was a suggested change to offset_left. |
| "offsetBottomSuggested": True or False, # Indicates if there was a suggested change to offset_bottom. |
| "offsetRightSuggested": True or False, # Indicates if there was a suggested change to offset_right. |
| "angleSuggested": True or False, # Indicates if there was a suggested change to angle. |
| "offsetTopSuggested": True or False, # Indicates if there was a suggested change to offset_top. |
| }, |
| "contrastSuggested": True or False, # Indicates if there was a suggested change to contrast. |
| "brightnessSuggested": True or False, # Indicates if there was a suggested change to brightness. |
| "transparencySuggested": True or False, # Indicates if there was a suggested change to transparency. |
| "angleSuggested": True or False, # Indicates if there was a suggested change to angle. |
| "sourceUriSuggested": True or False, # Indicates if there was a suggested change to source_uri. |
| "contentUriSuggested": True or False, # Indicates if there was a suggested change to |
| # content_uri. |
| }, |
| "descriptionSuggested": True or False, # Indicates if there was a suggested change to description. |
| "titleSuggested": True or False, # Indicates if there was a suggested change to title. |
| "marginTopSuggested": True or False, # Indicates if there was a suggested change to margin_top. |
| "marginLeftSuggested": True or False, # Indicates if there was a suggested change to margin_left. |
| "marginBottomSuggested": True or False, # Indicates if there was a suggested change to margin_bottom. |
| "embeddedObjectBorderSuggestionState": { # A mask that indicates which of the fields on the base EmbeddedObjectBorder have been changed in this # A mask that indicates which of the fields in embedded_object_border have been |
| # changed in this suggestion. |
| # suggestion. For any field set to true, there is a new suggested value. |
| "colorSuggested": True or False, # Indicates if there was a suggested change to color. |
| "dashStyleSuggested": True or False, # Indicates if there was a suggested change to dash_style. |
| "widthSuggested": True or False, # Indicates if there was a suggested change to width. |
| "propertyStateSuggested": True or False, # Indicates if there was a suggested change to property_state. |
| }, |
| }, |
| }, |
| "positionedObjectProperties": { # Properties of a PositionedObject. # A PositionedObjectProperties that only includes the |
| # changes made in this suggestion. This can be used along with the |
| # positioned_object_properties_suggestion_state |
| # to see which fields have changed and their new values. |
| "positioning": { # The positioning of a PositionedObject. The positioned object is positioned # The positioning of this positioned object relative to the newline of the |
| # Paragraph that references this positioned |
| # object. |
| # relative to the beginning of the Paragraph |
| # it is tethered to. |
| "leftOffset": { # A magnitude in a single direction in the specified units. # The offset of the left edge of the positioned object relative to the |
| # beginning of the Paragraph it is tethered |
| # to. The exact positioning of the object can depend on other content in the |
| # document and the document's styling. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "topOffset": { # A magnitude in a single direction in the specified units. # The offset of the top edge of the positioned object relative to the |
| # beginning of the Paragraph it is tethered |
| # to. The exact positioning of the object can depend on other content in the |
| # document and the document's styling. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "layout": "A String", # The layout of this positioned object. |
| }, |
| "embeddedObject": { # An embedded object in the document. # The embedded object of this positioned object. |
| "imageProperties": { # The properties of an image. # The properties of an image. |
| "angle": 3.14, # The clockwise rotation angle of the image, in radians. |
| "contentUri": "A String", # A URI to the image with a default lifetime of 30 minutes. |
| # This URI is tagged with the account of the requester. Anyone with the URI |
| # effectively accesses the image as the original requester. Access to the |
| # image may be lost if the document's sharing settings change. |
| "sourceUri": "A String", # The source URI is the URI used to insert the image. The source URI can be |
| # empty. |
| "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. |
| "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. |
| "cropProperties": { # The crop properties of an image. # The crop properties of the image. |
| # |
| # The crop rectangle is represented using fractional offsets from the original |
| # content's four edges. |
| # |
| # - If the offset is in the interval (0, 1), the corresponding edge of crop |
| # rectangle is positioned inside of the image's original bounding rectangle. |
| # - If the offset is negative or greater than 1, the corresponding edge of crop |
| # rectangle is positioned outside of the image's original bounding rectangle. |
| # - If all offsets and rotation angle are 0, the image is not cropped. |
| "offsetBottom": 3.14, # The offset specifies how far inwards the bottom edge of the crop rectangle |
| # is from the bottom edge of the original content as a fraction of the |
| # original content's height. |
| "angle": 3.14, # The clockwise rotation angle of the crop rectangle around its center, in |
| # radians. Rotation is applied after the offsets. |
| "offsetLeft": 3.14, # The offset specifies how far inwards the left edge of the crop rectangle is |
| # from the left edge of the original content as a fraction of the original |
| # content's width. |
| "offsetRight": 3.14, # The offset specifies how far inwards the right edge of the crop rectangle |
| # is from the right edge of the original content as a fraction of the |
| # original content's width. |
| "offsetTop": 3.14, # The offset specifies how far inwards the top edge of the crop rectangle is |
| # from the top edge of the original content as a fraction of the original |
| # content's height. |
| }, |
| "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. |
| }, |
| "description": "A String", # The description of the embedded object. The `title` and `description` are |
| # both combined to display alt text. |
| "title": "A String", # The title of the embedded object. The `title` and `description` are both |
| # combined to display alt text. |
| "embeddedDrawingProperties": { # The properties of an embedded drawing. # The properties of an embedded drawing. |
| }, |
| "linkedContentReference": { # A reference to the external linked source content. # A reference to the external linked source content. For example, it contains |
| # a reference to the source Sheets chart when the embedded object is a linked |
| # chart. |
| # |
| # If unset, then the embedded object is not linked. |
| "sheetsChartReference": { # A reference to a linked chart embedded from Google Sheets. # A reference to the linked chart. |
| "spreadsheetId": "A String", # The ID of the Google Sheets spreadsheet that contains the source chart. |
| "chartId": 42, # The ID of the specific chart in the Google Sheets spreadsheet that is |
| # embedded. |
| }, |
| }, |
| "embeddedObjectBorder": { # A border around an EmbeddedObject. # The border of the embedded object. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "propertyState": "A String", # The property state of the border property. |
| }, |
| "marginBottom": { # A magnitude in a single direction in the specified units. # The bottom margin of the embedded object. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "marginLeft": { # A magnitude in a single direction in the specified units. # The left margin of the embedded object. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "marginRight": { # A magnitude in a single direction in the specified units. # The right margin of the embedded object. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "marginTop": { # A magnitude in a single direction in the specified units. # The top margin of the embedded object. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "size": { # A width and height. # The visible size of the image after cropping. |
| "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. |
| }, |
| }, |
| }, |
| }, |
| }, |
| }, |
| "objectId": "A String", # The ID of this positioned object. |
| "suggestedInsertionId": "A String", # The suggested insertion ID. If empty, then this is not a suggested |
| # insertion. |
| }, |
| }, |
| "inlineObjects": { # The inline objects in the document, keyed by object ID. |
| "a_key": { # An object that appears inline with text. An InlineObject contains |
| # an EmbeddedObject such as an image. |
| "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| # of this content. |
| "A String", |
| ], |
| "inlineObjectProperties": { # Properties of an InlineObject. # The properties of this inline object. |
| "embeddedObject": { # An embedded object in the document. # The embedded object of this inline object. |
| "imageProperties": { # The properties of an image. # The properties of an image. |
| "angle": 3.14, # The clockwise rotation angle of the image, in radians. |
| "contentUri": "A String", # A URI to the image with a default lifetime of 30 minutes. |
| # This URI is tagged with the account of the requester. Anyone with the URI |
| # effectively accesses the image as the original requester. Access to the |
| # image may be lost if the document's sharing settings change. |
| "sourceUri": "A String", # The source URI is the URI used to insert the image. The source URI can be |
| # empty. |
| "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. |
| "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. |
| "cropProperties": { # The crop properties of an image. # The crop properties of the image. |
| # |
| # The crop rectangle is represented using fractional offsets from the original |
| # content's four edges. |
| # |
| # - If the offset is in the interval (0, 1), the corresponding edge of crop |
| # rectangle is positioned inside of the image's original bounding rectangle. |
| # - If the offset is negative or greater than 1, the corresponding edge of crop |
| # rectangle is positioned outside of the image's original bounding rectangle. |
| # - If all offsets and rotation angle are 0, the image is not cropped. |
| "offsetBottom": 3.14, # The offset specifies how far inwards the bottom edge of the crop rectangle |
| # is from the bottom edge of the original content as a fraction of the |
| # original content's height. |
| "angle": 3.14, # The clockwise rotation angle of the crop rectangle around its center, in |
| # radians. Rotation is applied after the offsets. |
| "offsetLeft": 3.14, # The offset specifies how far inwards the left edge of the crop rectangle is |
| # from the left edge of the original content as a fraction of the original |
| # content's width. |
| "offsetRight": 3.14, # The offset specifies how far inwards the right edge of the crop rectangle |
| # is from the right edge of the original content as a fraction of the |
| # original content's width. |
| "offsetTop": 3.14, # The offset specifies how far inwards the top edge of the crop rectangle is |
| # from the top edge of the original content as a fraction of the original |
| # content's height. |
| }, |
| "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. |
| }, |
| "description": "A String", # The description of the embedded object. The `title` and `description` are |
| # both combined to display alt text. |
| "title": "A String", # The title of the embedded object. The `title` and `description` are both |
| # combined to display alt text. |
| "embeddedDrawingProperties": { # The properties of an embedded drawing. # The properties of an embedded drawing. |
| }, |
| "linkedContentReference": { # A reference to the external linked source content. # A reference to the external linked source content. For example, it contains |
| # a reference to the source Sheets chart when the embedded object is a linked |
| # chart. |
| # |
| # If unset, then the embedded object is not linked. |
| "sheetsChartReference": { # A reference to a linked chart embedded from Google Sheets. # A reference to the linked chart. |
| "spreadsheetId": "A String", # The ID of the Google Sheets spreadsheet that contains the source chart. |
| "chartId": 42, # The ID of the specific chart in the Google Sheets spreadsheet that is |
| # embedded. |
| }, |
| }, |
| "embeddedObjectBorder": { # A border around an EmbeddedObject. # The border of the embedded object. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "propertyState": "A String", # The property state of the border property. |
| }, |
| "marginBottom": { # A magnitude in a single direction in the specified units. # The bottom margin of the embedded object. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "marginLeft": { # A magnitude in a single direction in the specified units. # The left margin of the embedded object. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "marginRight": { # A magnitude in a single direction in the specified units. # The right margin of the embedded object. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "marginTop": { # A magnitude in a single direction in the specified units. # The top margin of the embedded object. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "size": { # A width and height. # The visible size of the image after cropping. |
| "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. |
| }, |
| }, |
| }, |
| }, |
| "suggestedInlineObjectPropertiesChanges": { # The suggested changes to the inline object properties, keyed by suggestion |
| # ID. |
| "a_key": { # A suggested change to InlineObjectProperties. |
| "inlineObjectProperties": { # Properties of an InlineObject. # An InlineObjectProperties |
| # that only includes the changes made in this suggestion. This can be used |
| # along with the inline_object_properties_suggestion_state |
| # to see which fields have changed and their new values. |
| "embeddedObject": { # An embedded object in the document. # The embedded object of this inline object. |
| "imageProperties": { # The properties of an image. # The properties of an image. |
| "angle": 3.14, # The clockwise rotation angle of the image, in radians. |
| "contentUri": "A String", # A URI to the image with a default lifetime of 30 minutes. |
| # This URI is tagged with the account of the requester. Anyone with the URI |
| # effectively accesses the image as the original requester. Access to the |
| # image may be lost if the document's sharing settings change. |
| "sourceUri": "A String", # The source URI is the URI used to insert the image. The source URI can be |
| # empty. |
| "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. |
| "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. |
| "cropProperties": { # The crop properties of an image. # The crop properties of the image. |
| # |
| # The crop rectangle is represented using fractional offsets from the original |
| # content's four edges. |
| # |
| # - If the offset is in the interval (0, 1), the corresponding edge of crop |
| # rectangle is positioned inside of the image's original bounding rectangle. |
| # - If the offset is negative or greater than 1, the corresponding edge of crop |
| # rectangle is positioned outside of the image's original bounding rectangle. |
| # - If all offsets and rotation angle are 0, the image is not cropped. |
| "offsetBottom": 3.14, # The offset specifies how far inwards the bottom edge of the crop rectangle |
| # is from the bottom edge of the original content as a fraction of the |
| # original content's height. |
| "angle": 3.14, # The clockwise rotation angle of the crop rectangle around its center, in |
| # radians. Rotation is applied after the offsets. |
| "offsetLeft": 3.14, # The offset specifies how far inwards the left edge of the crop rectangle is |
| # from the left edge of the original content as a fraction of the original |
| # content's width. |
| "offsetRight": 3.14, # The offset specifies how far inwards the right edge of the crop rectangle |
| # is from the right edge of the original content as a fraction of the |
| # original content's width. |
| "offsetTop": 3.14, # The offset specifies how far inwards the top edge of the crop rectangle is |
| # from the top edge of the original content as a fraction of the original |
| # content's height. |
| }, |
| "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. |
| }, |
| "description": "A String", # The description of the embedded object. The `title` and `description` are |
| # both combined to display alt text. |
| "title": "A String", # The title of the embedded object. The `title` and `description` are both |
| # combined to display alt text. |
| "embeddedDrawingProperties": { # The properties of an embedded drawing. # The properties of an embedded drawing. |
| }, |
| "linkedContentReference": { # A reference to the external linked source content. # A reference to the external linked source content. For example, it contains |
| # a reference to the source Sheets chart when the embedded object is a linked |
| # chart. |
| # |
| # If unset, then the embedded object is not linked. |
| "sheetsChartReference": { # A reference to a linked chart embedded from Google Sheets. # A reference to the linked chart. |
| "spreadsheetId": "A String", # The ID of the Google Sheets spreadsheet that contains the source chart. |
| "chartId": 42, # The ID of the specific chart in the Google Sheets spreadsheet that is |
| # embedded. |
| }, |
| }, |
| "embeddedObjectBorder": { # A border around an EmbeddedObject. # The border of the embedded object. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "propertyState": "A String", # The property state of the border property. |
| }, |
| "marginBottom": { # A magnitude in a single direction in the specified units. # The bottom margin of the embedded object. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "marginLeft": { # A magnitude in a single direction in the specified units. # The left margin of the embedded object. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "marginRight": { # A magnitude in a single direction in the specified units. # The right margin of the embedded object. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "marginTop": { # A magnitude in a single direction in the specified units. # The top margin of the embedded object. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "size": { # A width and height. # The visible size of the image after cropping. |
| "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. |
| }, |
| }, |
| }, |
| }, |
| "inlineObjectPropertiesSuggestionState": { # A mask that indicates which of the fields on the base # A mask that indicates which of the fields on the base |
| # InlineObjectProperties have |
| # been changed in this suggestion. |
| # InlineObjectProperties have |
| # been changed in this suggestion. For any field set to true, there is a new |
| # suggested value. |
| "embeddedObjectSuggestionState": { # A mask that indicates which of the fields on the base EmbeddedObject have been changed in this suggestion. # A mask that indicates which of the fields in embedded_object have been |
| # changed in this suggestion. |
| # For any field set to true, there is a new suggested value. |
| "linkedContentReferenceSuggestionState": { # A mask that indicates which of the fields on the base # A mask that indicates which of the fields in linked_content_reference have been |
| # changed in this suggestion. |
| # LinkedContentReference have |
| # been changed in this suggestion. For any field set to true, there is a new |
| # suggested value. |
| "sheetsChartReferenceSuggestionState": { # A mask that indicates which of the fields on the base SheetsChartReference have been changed in this # A mask that indicates which of the fields in sheets_chart_reference have |
| # been changed in this suggestion. |
| # suggestion. For any field set to true, there is a new suggested value. |
| "spreadsheetIdSuggested": True or False, # Indicates if there was a suggested change to spreadsheet_id. |
| "chartIdSuggested": True or False, # Indicates if there was a suggested change to chart_id. |
| }, |
| }, |
| "sizeSuggestionState": { # A mask that indicates which of the fields on the base Size have been changed in this suggestion. # A mask that indicates which of the fields in size have been changed in this |
| # suggestion. |
| # For any field set to true, the Size has |
| # a new suggested value. |
| "widthSuggested": True or False, # Indicates if there was a suggested change to width. |
| "heightSuggested": True or False, # Indicates if there was a suggested change to height. |
| }, |
| "embeddedDrawingPropertiesSuggestionState": { # A mask that indicates which of the fields on the base # A mask that indicates which of the fields in embedded_drawing_properties have been |
| # changed in this suggestion. |
| # EmbeddedDrawingProperties |
| # have been changed in this suggestion. For any field set to true, there is a |
| # new suggested value. |
| }, |
| "marginRightSuggested": True or False, # Indicates if there was a suggested change to margin_right. |
| "imagePropertiesSuggestionState": { # A mask that indicates which of the fields on the base ImageProperties have been changed in this suggestion. # A mask that indicates which of the fields in image_properties have been changed in |
| # this suggestion. |
| # For any field set to true, there is a new suggested value. |
| "cropPropertiesSuggestionState": { # A mask that indicates which of the fields on the base CropProperties have been changed in this suggestion. # A mask that indicates which of the fields in crop_properties have been changed in |
| # this suggestion. |
| # For any field set to true, there is a new suggested value. |
| "offsetLeftSuggested": True or False, # Indicates if there was a suggested change to offset_left. |
| "offsetBottomSuggested": True or False, # Indicates if there was a suggested change to offset_bottom. |
| "offsetRightSuggested": True or False, # Indicates if there was a suggested change to offset_right. |
| "angleSuggested": True or False, # Indicates if there was a suggested change to angle. |
| "offsetTopSuggested": True or False, # Indicates if there was a suggested change to offset_top. |
| }, |
| "contrastSuggested": True or False, # Indicates if there was a suggested change to contrast. |
| "brightnessSuggested": True or False, # Indicates if there was a suggested change to brightness. |
| "transparencySuggested": True or False, # Indicates if there was a suggested change to transparency. |
| "angleSuggested": True or False, # Indicates if there was a suggested change to angle. |
| "sourceUriSuggested": True or False, # Indicates if there was a suggested change to source_uri. |
| "contentUriSuggested": True or False, # Indicates if there was a suggested change to |
| # content_uri. |
| }, |
| "descriptionSuggested": True or False, # Indicates if there was a suggested change to description. |
| "titleSuggested": True or False, # Indicates if there was a suggested change to title. |
| "marginTopSuggested": True or False, # Indicates if there was a suggested change to margin_top. |
| "marginLeftSuggested": True or False, # Indicates if there was a suggested change to margin_left. |
| "marginBottomSuggested": True or False, # Indicates if there was a suggested change to margin_bottom. |
| "embeddedObjectBorderSuggestionState": { # A mask that indicates which of the fields on the base EmbeddedObjectBorder have been changed in this # A mask that indicates which of the fields in embedded_object_border have been |
| # changed in this suggestion. |
| # suggestion. For any field set to true, there is a new suggested value. |
| "colorSuggested": True or False, # Indicates if there was a suggested change to color. |
| "dashStyleSuggested": True or False, # Indicates if there was a suggested change to dash_style. |
| "widthSuggested": True or False, # Indicates if there was a suggested change to width. |
| "propertyStateSuggested": True or False, # Indicates if there was a suggested change to property_state. |
| }, |
| }, |
| }, |
| }, |
| }, |
| "objectId": "A String", # The ID of this inline object. |
| "suggestedInsertionId": "A String", # The suggested insertion ID. If empty, then this is not a suggested |
| # insertion. |
| }, |
| }, |
| "revisionId": "A String", # The revision ID of the document. Can be used in update requests to specify |
| # which revision of a document to apply updates to and how the request should |
| # behave if the document has been edited since that revision. Only populated |
| # if the user has edit access to the document. |
| # |
| # 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 document has not changed. |
| # Conversely, a changed ID (for the same document and user) usually means the |
| # document has been updated; however, a changed ID can also be due to |
| # internal factors such as ID format changes. |
| "documentId": "A String", # The ID of the document. |
| }</pre> |
| </div> |
| |
| <div class="method"> |
| <code class="details" id="get">get(documentId, x__xgafv=None, suggestionsViewMode=None)</code> |
| <pre>Gets the latest version of the specified document. |
| |
| Args: |
| documentId: string, The ID of the document to retrieve. (required) |
| x__xgafv: string, V1 error format. |
| Allowed values |
| 1 - v1 error format |
| 2 - v2 error format |
| suggestionsViewMode: string, The suggestions view mode to apply to the document. This allows viewing the |
| document with all suggestions inline, accepted or rejected. If one is not |
| specified, DEFAULT_FOR_CURRENT_ACCESS is |
| used. |
| |
| Returns: |
| An object of the form: |
| |
| { # A Google Docs document. |
| "body": { # The document body. # The main body of the document. |
| # |
| # The body typically contains the full document contents except for |
| # headers, footers |
| # and footnotes. |
| "content": [ # The contents of the body. |
| # |
| # The indexes for the body's content begin at zero. |
| { # A StructuralElement describes content that provides structure to the |
| # document. |
| "endIndex": 42, # The zero-based end index of this structural element, exclusive, in UTF-16 |
| # code units. |
| "sectionBreak": { # A StructuralElement representing a # A section break type of structural element. |
| # section break. A section is a range of content which has the same |
| # SectionStyle. A section break represents |
| # the start of a new section, and the section style applies to the section |
| # after the section break. |
| # |
| # The document body always begins with a section break. |
| "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| # of this content. |
| "A String", |
| ], |
| "sectionStyle": { # The styling that applies to a section. # The style of the section after this section break. |
| "contentDirection": "A String", # The content direction of this section. If unset, the value defaults to |
| # LEFT_TO_RIGHT. |
| "columnProperties": [ # The section's columns properties. |
| # |
| # If empty, the section contains one column with the default properties in |
| # the Docs editor. |
| { # Properties that apply to a section's column. |
| "width": { # A magnitude in a single direction in the specified units. # The width of the column. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "paddingEnd": { # A magnitude in a single direction in the specified units. # The padding at the end of the column. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| }, |
| ], |
| "columnSeparatorStyle": "A String", # The style of column separators. |
| # |
| # This style can be set even when there is one column in the section. |
| }, |
| "suggestedInsertionIds": [ # The suggested insertion IDs. A SectionBreak may have multiple insertion IDs if it is |
| # a nested suggested change. If empty, then this is not a suggested |
| # insertion. |
| "A String", |
| ], |
| }, |
| "tableOfContents": { # A StructuralElement representing # A table of contents type of structural element. |
| # a table of contents. |
| "content": [ # The content of the table of contents. |
| # Object with schema name: StructuralElement |
| ], |
| "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| # of this content. |
| "A String", |
| ], |
| "suggestedInsertionIds": [ # The suggested insertion IDs. A TableOfContents may have multiple insertion IDs if it |
| # is a nested suggested change. If empty, then this is not a suggested |
| # insertion. |
| "A String", |
| ], |
| }, |
| "startIndex": 42, # The zero-based start index of this structural element, in UTF-16 code |
| # units. |
| "paragraph": { # A StructuralElement representing a # A paragraph type of structural element. |
| # paragraph. A paragraph is a range of content that is terminated with a |
| # newline character. |
| "elements": [ # The content of the paragraph broken down into its component parts. |
| { # A ParagraphElement describes content within a |
| # Paragraph. |
| "endIndex": 42, # The zero-base end index of this paragraph element, exclusive, in UTF-16 |
| # code units. |
| "equation": { # A ParagraphElement representing an # An equation paragraph element. |
| # equation. |
| "suggestedInsertionIds": [ # The suggested insertion IDs. A Equation |
| # may have multiple insertion IDs if it is a nested suggested change. If |
| # empty, then this is not a suggested insertion. |
| "A String", |
| ], |
| "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| # of this content. |
| "A String", |
| ], |
| }, |
| "columnBreak": { # A ParagraphElement representing a # A column break paragraph element. |
| # column break. A column break makes the subsequent text start at the top of |
| # the next column. |
| "textStyle": { # Represents the styling that can be applied to text. # The text style of this ColumnBreak. |
| # |
| # Similar to text content, like text runs and footnote references, the text |
| # style of a column break can affect content layout as well as the styling of |
| # text inserted adjacent to it. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "suggestedInsertionIds": [ # The suggested insertion IDs. A ColumnBreak may have multiple insertion IDs if it is |
| # a nested suggested change. If empty, then this is not a suggested |
| # insertion. |
| "A String", |
| ], |
| "suggestedTextStyleChanges": { # The suggested text style changes to this ColumnBreak, keyed by suggestion |
| # ID. |
| "a_key": { # A suggested change to a TextStyle. |
| "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| # the changes made in this suggestion. This can be used along with the |
| # text_style_suggestion_state |
| # to see which fields have changed and their new values. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| # For any field set to true, there is a new suggested value. |
| "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| }, |
| }, |
| }, |
| "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| # of this content. |
| "A String", |
| ], |
| }, |
| "startIndex": 42, # The zero-based start index of this paragraph element, in UTF-16 code units. |
| "pageBreak": { # A ParagraphElement representing a # A page break paragraph element. |
| # page break. A page break makes the subsequent text start at the top of the |
| # next page. |
| "textStyle": { # Represents the styling that can be applied to text. # The text style of this PageBreak. |
| # |
| # Similar to text content, like text runs and footnote references, the text |
| # style of a page break can affect content layout as well as the styling of |
| # text inserted adjacent to it. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| # of this content. |
| "A String", |
| ], |
| "suggestedTextStyleChanges": { # The suggested text style changes to this PageBreak, keyed by suggestion ID. |
| "a_key": { # A suggested change to a TextStyle. |
| "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| # the changes made in this suggestion. This can be used along with the |
| # text_style_suggestion_state |
| # to see which fields have changed and their new values. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| # For any field set to true, there is a new suggested value. |
| "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| }, |
| }, |
| }, |
| "suggestedInsertionIds": [ # The suggested insertion IDs. A PageBreak |
| # may have multiple insertion IDs if it is a nested suggested change. If |
| # empty, then this is not a suggested insertion. |
| "A String", |
| ], |
| }, |
| "horizontalRule": { # A ParagraphElement representing a # A horizontal rule paragraph element. |
| # horizontal line. |
| "textStyle": { # Represents the styling that can be applied to text. # The text style of this HorizontalRule. |
| # |
| # Similar to text content, like text runs and footnote references, the text |
| # style of a horizontal rule can affect content layout as well as the styling |
| # of text inserted adjacent to it. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "suggestedInsertionIds": [ # The suggested insertion IDs. A HorizontalRule may have multiple insertion IDs if it |
| # is a nested suggested change. If empty, then this is not a suggested |
| # insertion. |
| "A String", |
| ], |
| "suggestedTextStyleChanges": { # The suggested text style changes to this HorizontalRule, keyed by |
| # suggestion ID. |
| "a_key": { # A suggested change to a TextStyle. |
| "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| # the changes made in this suggestion. This can be used along with the |
| # text_style_suggestion_state |
| # to see which fields have changed and their new values. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| # For any field set to true, there is a new suggested value. |
| "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| }, |
| }, |
| }, |
| "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| # of this content. |
| "A String", |
| ], |
| }, |
| "textRun": { # A ParagraphElement that represents a # A text run paragraph element. |
| # run of text that all has the same styling. |
| "content": "A String", # The text of this run. |
| # |
| # Any non-text elements in the run are replaced with the Unicode character |
| # U+E907. |
| "textStyle": { # Represents the styling that can be applied to text. # The text style of this run. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "suggestedInsertionIds": [ # The suggested insertion IDs. A TextRun may |
| # have multiple insertion IDs if it is a nested suggested change. If empty, |
| # then this is not a suggested insertion. |
| "A String", |
| ], |
| "suggestedTextStyleChanges": { # The suggested text style changes to this run, keyed by suggestion ID. |
| "a_key": { # A suggested change to a TextStyle. |
| "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| # the changes made in this suggestion. This can be used along with the |
| # text_style_suggestion_state |
| # to see which fields have changed and their new values. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| # For any field set to true, there is a new suggested value. |
| "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| }, |
| }, |
| }, |
| "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| # of this content. |
| "A String", |
| ], |
| }, |
| "autoText": { # A ParagraphElement representing a # An auto text paragraph element. |
| # spot in the text that is dynamically replaced with content that can change |
| # over time, like a page number. |
| "textStyle": { # Represents the styling that can be applied to text. # The text style of this AutoText. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| # of this content. |
| "A String", |
| ], |
| "suggestedTextStyleChanges": { # The suggested text style changes to this AutoText, keyed by suggestion ID. |
| "a_key": { # A suggested change to a TextStyle. |
| "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| # the changes made in this suggestion. This can be used along with the |
| # text_style_suggestion_state |
| # to see which fields have changed and their new values. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| # For any field set to true, there is a new suggested value. |
| "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| }, |
| }, |
| }, |
| "type": "A String", # The type of this auto text. |
| "suggestedInsertionIds": [ # The suggested insertion IDs. An AutoText |
| # may have multiple insertion IDs if it is a nested suggested change. If |
| # empty, then this is not a suggested insertion. |
| "A String", |
| ], |
| }, |
| "inlineObjectElement": { # A ParagraphElement that contains # An inline object paragraph element. |
| # an InlineObject. |
| "textStyle": { # Represents the styling that can be applied to text. # The text style of this InlineObjectElement. |
| # |
| # Similar to text content, like text runs and footnote references, the text |
| # style of an inline object element can affect content layout as well as the |
| # styling of text inserted adjacent to it. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| # of this content. |
| "A String", |
| ], |
| "suggestedTextStyleChanges": { # The suggested text style changes to this InlineObject, keyed by suggestion |
| # ID. |
| "a_key": { # A suggested change to a TextStyle. |
| "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| # the changes made in this suggestion. This can be used along with the |
| # text_style_suggestion_state |
| # to see which fields have changed and their new values. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| # For any field set to true, there is a new suggested value. |
| "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| }, |
| }, |
| }, |
| "inlineObjectId": "A String", # The ID of the InlineObject this |
| # element contains. |
| "suggestedInsertionIds": [ # The suggested insertion IDs. An InlineObjectElement may have multiple insertion IDs |
| # if it is a nested suggested change. If empty, then this is not a suggested |
| # insertion. |
| "A String", |
| ], |
| }, |
| "footnoteReference": { # A ParagraphElement representing a # A footnote reference paragraph element. |
| # footnote reference. A footnote reference is the inline content rendered with |
| # a number and is used to identify the footnote. |
| "textStyle": { # Represents the styling that can be applied to text. # The text style of this FootnoteReference. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "footnoteNumber": "A String", # The rendered number of this footnote. |
| "suggestedInsertionIds": [ # The suggested insertion IDs. A FootnoteReference may have multiple insertion IDs if |
| # it is a nested suggested change. If empty, then this is not a suggested |
| # insertion. |
| "A String", |
| ], |
| "footnoteId": "A String", # The ID of the footnote that |
| # contains the content of this footnote reference. |
| "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| # of this content. |
| "A String", |
| ], |
| "suggestedTextStyleChanges": { # The suggested text style changes to this FootnoteReference, keyed by |
| # suggestion ID. |
| "a_key": { # A suggested change to a TextStyle. |
| "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| # the changes made in this suggestion. This can be used along with the |
| # text_style_suggestion_state |
| # to see which fields have changed and their new values. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| # For any field set to true, there is a new suggested value. |
| "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| }, |
| }, |
| }, |
| }, |
| }, |
| ], |
| "suggestedPositionedObjectIds": { # The IDs of the positioned objects that are suggested to be attached to this |
| # paragraph, keyed by suggestion ID. |
| "a_key": { # A collection of object IDs. |
| "objectIds": [ # The object IDs. |
| "A String", |
| ], |
| }, |
| }, |
| "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. |
| "textStyle": { # Represents the styling that can be applied to text. # The paragraph specific text style applied to this bullet. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| }, |
| "suggestedBulletChanges": { # The suggested changes to this paragraph's bullet. |
| "a_key": { # A suggested change to a Bullet. |
| "bullet": { # Describes the bullet of a paragraph. # A Bullet that only includes the changes made |
| # in this suggestion. This can be used along with the |
| # bullet_suggestion_state to see which |
| # fields have changed and their new values. |
| "nestingLevel": 42, # The nesting level of this paragraph in the list. |
| "listId": "A String", # The ID of the list this paragraph belongs to. |
| "textStyle": { # Represents the styling that can be applied to text. # The paragraph specific text style applied to this bullet. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| }, |
| "bulletSuggestionState": { # A mask that indicates which of the fields on the base # A mask that indicates which of the fields on the base |
| # Bullet have been changed in this suggestion. |
| # Bullet have been changed in this suggestion. |
| # For any field set to true, there is a new suggested value. |
| "nestingLevelSuggested": True or False, # Indicates if there was a suggested change to the |
| # nesting_level. |
| "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields in text style have been changed in this |
| # suggestion. |
| # For any field set to true, there is a new suggested value. |
| "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| }, |
| "listIdSuggested": True or False, # Indicates if there was a suggested change to the |
| # list_id. |
| }, |
| }, |
| }, |
| "positionedObjectIds": [ # The IDs of the positioned objects tethered to this paragraph. |
| "A String", |
| ], |
| "suggestedParagraphStyleChanges": { # The suggested paragraph style changes to this paragraph, keyed by |
| # suggestion ID. |
| "a_key": { # A suggested change to a |
| # ParagraphStyle. |
| "paragraphStyleSuggestionState": { # A mask that indicates which of the fields on the base ParagraphStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base ParagraphStyle have been changed in this suggestion. |
| # For any field set to true, there is a new suggested value. |
| "avoidWidowAndOrphanSuggested": True or False, # Indicates if there was a suggested change to avoid_widow_and_orphan. |
| "lineSpacingSuggested": True or False, # Indicates if there was a suggested change to line_spacing. |
| "spacingModeSuggested": True or False, # Indicates if there was a suggested change to spacing_mode. |
| "spaceBelowSuggested": True or False, # Indicates if there was a suggested change to space_below. |
| "borderRightSuggested": True or False, # Indicates if there was a suggested change to border_right. |
| "indentStartSuggested": True or False, # Indicates if there was a suggested change to indent_start. |
| "namedStyleTypeSuggested": True or False, # Indicates if there was a suggested change to named_style_type. |
| "indentEndSuggested": True or False, # Indicates if there was a suggested change to indent_end. |
| "borderBetweenSuggested": True or False, # Indicates if there was a suggested change to border_between. |
| "borderTopSuggested": True or False, # Indicates if there was a suggested change to border_top. |
| "borderLeftSuggested": True or False, # Indicates if there was a suggested change to border_left. |
| "keepWithNextSuggested": True or False, # Indicates if there was a suggested change to keep_with_next. |
| "spaceAboveSuggested": True or False, # Indicates if there was a suggested change to space_above. |
| "alignmentSuggested": True or False, # Indicates if there was a suggested change to alignment. |
| "indentFirstLineSuggested": True or False, # Indicates if there was a suggested change to indent_first_line. |
| "headingIdSuggested": True or False, # Indicates if there was a suggested change to heading_id. |
| "borderBottomSuggested": True or False, # Indicates if there was a suggested change to border_bottom. |
| "directionSuggested": True or False, # Indicates if there was a suggested change to direction. |
| "keepLinesTogetherSuggested": True or False, # Indicates if there was a suggested change to keep_lines_together. |
| "shadingSuggestionState": { # A mask that indicates which of the fields on the base Shading have been changed in this # A mask that indicates which of the fields in shading have been changed in |
| # this suggestion. |
| # suggested change. For any field set to true, there is a new suggested value. |
| "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to the Shading. |
| }, |
| }, |
| "paragraphStyle": { # Styles that apply to a whole paragraph. # A ParagraphStyle that only includes |
| # the changes made in this suggestion. This can be used along with the |
| # paragraph_suggestion_state |
| # to see which fields have changed and their new values. |
| # |
| # Inherited paragraph styles are represented as unset fields in this message. |
| # A paragraph style's parent depends on where the paragraph style is defined: |
| # |
| # * The ParagraphStyle on a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The ParagraphStyle on a named style |
| # inherits from the normal text named style. |
| # * The ParagraphStyle of the normal text named style inherits |
| # from the default paragraph style in the Docs editor. |
| # * The ParagraphStyle on a Paragraph |
| # element that is contained in a table may inherit its paragraph style from |
| # the table style. |
| # |
| # If the paragraph style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "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 |
| # paragraph 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. |
| }, |
| "keepWithNext": True or False, # Whether at least a part of this paragraph should be laid out on the same |
| # page or column as the next paragraph if possible. If unset, the value is |
| # inherited from the parent. |
| "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. |
| "avoidWidowAndOrphan": True or False, # Whether to avoid widows and orphans for the paragraph. If unset, the value |
| # is inherited from the parent. |
| "borderBottom": { # A border around a paragraph. # The border at the bottom of this paragraph. If unset, the value is |
| # inherited from the parent. |
| # |
| # The bottom border is rendered when the paragraph below has different border |
| # and indent properties. |
| # |
| # Paragraph borders cannot be partially updated. When making |
| # changes to a paragraph border the new border must be specified in |
| # its entirety. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| }, |
| "indentStart": { # A magnitude in a single direction in the specified units. # The amount of indentation for the paragraph on the side that corresponds to |
| # the start of the text, based on the current paragraph direction. If unset, |
| # the value is inherited from the parent. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "borderBetween": { # A border around a paragraph. # The border between this paragraph and the next and previous paragraphs. |
| # If unset, the value is inherited from the parent. |
| # |
| # The between border is rendered when the adjacent paragraph has the same |
| # border and indent properties. |
| # |
| # Paragraph borders cannot be partially updated. When making |
| # changes to a paragraph border the new border must be specified in |
| # its entirety. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| }, |
| "namedStyleType": "A String", # The named style type of the paragraph. |
| # |
| # Since updating the named style type affects other properties within |
| # ParagraphStyle, the named style type is applied before the other properties |
| # are updated. |
| "borderRight": { # A border around a paragraph. # The border to the right of this paragraph. If unset, the value is inherited |
| # from the parent. |
| # |
| # Paragraph borders cannot be partially updated. When making |
| # changes to a paragraph border the new border must be specified in |
| # its entirety. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| "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 of indentation for the paragraph on the side that corresponds to |
| # the end of the text, based on the current paragraph direction. If unset, |
| # the value is inherited from the parent. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "borderLeft": { # A border around a paragraph. # The border to the left of this paragraph. If unset, the value is inherited |
| # from the parent. |
| # |
| # Paragraph borders cannot be partially updated. When making |
| # changes to a paragraph border the new border must be specified in |
| # its entirety. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| "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. |
| }, |
| "headingId": "A String", # The heading ID of the paragraph. If empty, then this paragraph is not a |
| # heading. This property is read-only. |
| "shading": { # The shading of a paragraph. # The shading of the paragraph. If unset, the value is inherited from the |
| # parent. |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of this paragraph shading. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| }, |
| "borderTop": { # A border around a paragraph. # The border at the top of this paragraph. If unset, the value is inherited |
| # from the parent. |
| # |
| # The top border is rendered when the paragraph above has different border |
| # and indent properties. |
| # |
| # Paragraph borders cannot be partially updated. When making |
| # changes to a paragraph border the new border must be specified in |
| # its entirety. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| }, |
| "tabStops": [ # A list of the tab stops for this paragraph. The list of tab stops is not |
| # inherited. This property is read-only. |
| { # A tab stop within a paragraph. |
| "alignment": "A String", # The alignment of this tab stop. If unset, the value defaults to START. |
| "offset": { # A magnitude in a single direction in the specified units. # The offset between this tab stop and the start margin. |
| "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 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. |
| "keepLinesTogether": True or False, # Whether all lines of the paragraph should be laid out on the same page or |
| # column if possible. If unset, the value is inherited from the parent. |
| }, |
| }, |
| }, |
| "paragraphStyle": { # Styles that apply to a whole paragraph. # The style of this paragraph. |
| # |
| # Inherited paragraph styles are represented as unset fields in this message. |
| # A paragraph style's parent depends on where the paragraph style is defined: |
| # |
| # * The ParagraphStyle on a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The ParagraphStyle on a named style |
| # inherits from the normal text named style. |
| # * The ParagraphStyle of the normal text named style inherits |
| # from the default paragraph style in the Docs editor. |
| # * The ParagraphStyle on a Paragraph |
| # element that is contained in a table may inherit its paragraph style from |
| # the table style. |
| # |
| # If the paragraph style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "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 |
| # paragraph 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. |
| }, |
| "keepWithNext": True or False, # Whether at least a part of this paragraph should be laid out on the same |
| # page or column as the next paragraph if possible. If unset, the value is |
| # inherited from the parent. |
| "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. |
| "avoidWidowAndOrphan": True or False, # Whether to avoid widows and orphans for the paragraph. If unset, the value |
| # is inherited from the parent. |
| "borderBottom": { # A border around a paragraph. # The border at the bottom of this paragraph. If unset, the value is |
| # inherited from the parent. |
| # |
| # The bottom border is rendered when the paragraph below has different border |
| # and indent properties. |
| # |
| # Paragraph borders cannot be partially updated. When making |
| # changes to a paragraph border the new border must be specified in |
| # its entirety. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| }, |
| "indentStart": { # A magnitude in a single direction in the specified units. # The amount of indentation for the paragraph on the side that corresponds to |
| # the start of the text, based on the current paragraph direction. If unset, |
| # the value is inherited from the parent. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "borderBetween": { # A border around a paragraph. # The border between this paragraph and the next and previous paragraphs. |
| # If unset, the value is inherited from the parent. |
| # |
| # The between border is rendered when the adjacent paragraph has the same |
| # border and indent properties. |
| # |
| # Paragraph borders cannot be partially updated. When making |
| # changes to a paragraph border the new border must be specified in |
| # its entirety. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| }, |
| "namedStyleType": "A String", # The named style type of the paragraph. |
| # |
| # Since updating the named style type affects other properties within |
| # ParagraphStyle, the named style type is applied before the other properties |
| # are updated. |
| "borderRight": { # A border around a paragraph. # The border to the right of this paragraph. If unset, the value is inherited |
| # from the parent. |
| # |
| # Paragraph borders cannot be partially updated. When making |
| # changes to a paragraph border the new border must be specified in |
| # its entirety. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| "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 of indentation for the paragraph on the side that corresponds to |
| # the end of the text, based on the current paragraph direction. If unset, |
| # the value is inherited from the parent. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "borderLeft": { # A border around a paragraph. # The border to the left of this paragraph. If unset, the value is inherited |
| # from the parent. |
| # |
| # Paragraph borders cannot be partially updated. When making |
| # changes to a paragraph border the new border must be specified in |
| # its entirety. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| "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. |
| }, |
| "headingId": "A String", # The heading ID of the paragraph. If empty, then this paragraph is not a |
| # heading. This property is read-only. |
| "shading": { # The shading of a paragraph. # The shading of the paragraph. If unset, the value is inherited from the |
| # parent. |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of this paragraph shading. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| }, |
| "borderTop": { # A border around a paragraph. # The border at the top of this paragraph. If unset, the value is inherited |
| # from the parent. |
| # |
| # The top border is rendered when the paragraph above has different border |
| # and indent properties. |
| # |
| # Paragraph borders cannot be partially updated. When making |
| # changes to a paragraph border the new border must be specified in |
| # its entirety. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| }, |
| "tabStops": [ # A list of the tab stops for this paragraph. The list of tab stops is not |
| # inherited. This property is read-only. |
| { # A tab stop within a paragraph. |
| "alignment": "A String", # The alignment of this tab stop. If unset, the value defaults to START. |
| "offset": { # A magnitude in a single direction in the specified units. # The offset between this tab stop and the start margin. |
| "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 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. |
| "keepLinesTogether": True or False, # Whether all lines of the paragraph should be laid out on the same page or |
| # column if possible. If unset, the value is inherited from the parent. |
| }, |
| }, |
| "table": { # A StructuralElement representing a # A table type of structural element. |
| # table. |
| "rows": 42, # Number of rows in the table. |
| "tableStyle": { # Styles that apply to a table. # The style of the table. |
| "tableColumnProperties": [ # The properties of each column. |
| # |
| # Note that in Docs, tables contain rows and rows contain cells, similar to |
| # HTML. So the properties for a row can be found on the row's |
| # table_row_style. |
| { # The properties of a column in a table. |
| "width": { # A magnitude in a single direction in the specified units. # The width of the column. Set when the column's `width_type` is |
| # FIXED_WIDTH. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "widthType": "A String", # The width type of the column. |
| }, |
| ], |
| }, |
| "suggestedInsertionIds": [ # The suggested insertion IDs. A Table may have |
| # multiple insertion IDs if it is a nested suggested change. If empty, then |
| # this is not a suggested insertion. |
| "A String", |
| ], |
| "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| # of this content. |
| "A String", |
| ], |
| "tableRows": [ # The contents and style of each row. |
| { # The contents and style of a row in a Table. |
| "endIndex": 42, # The zero-based end index of this row, exclusive, in UTF-16 code units. |
| "tableCells": [ # The contents and style of each cell in this row. |
| # |
| # It is possible for a table to be non-rectangular, so some rows may have a |
| # different number of cells than other rows in the same table. |
| { # The contents and style of a cell in a Table. |
| "endIndex": 42, # The zero-based end index of this cell, exclusive, in UTF-16 code units. |
| "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| # of this content. |
| "A String", |
| ], |
| "suggestedInsertionIds": [ # The suggested insertion IDs. A TableCell |
| # may have multiple insertion IDs if it is a nested suggested change. If |
| # empty, then this is not a suggested insertion. |
| "A String", |
| ], |
| "content": [ # The content of the cell. |
| # Object with schema name: StructuralElement |
| ], |
| "tableCellStyle": { # The style of a TableCell. # The style of the cell. |
| # |
| # Inherited table cell styles are represented as unset fields in this message. |
| # A table cell style can inherit from the table's style. |
| "paddingBottom": { # A magnitude in a single direction in the specified units. # The bottom padding of the cell. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "borderBottom": { # A border around a table cell. # The bottom border of the cell. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| }, |
| "paddingLeft": { # A magnitude in a single direction in the specified units. # The left padding of the cell. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "paddingTop": { # A magnitude in a single direction in the specified units. # The top padding of the cell. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "borderLeft": { # A border around a table cell. # The left border of the cell. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| }, |
| "columnSpan": 42, # The column span of the cell. This property is read-only. |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the cell. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "borderRight": { # A border around a table cell. # The right border of the cell. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| }, |
| "rowSpan": 42, # The row span of the cell. This property is read-only. |
| "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 Docs editor. |
| "paddingRight": { # A magnitude in a single direction in the specified units. # The right padding of the cell. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "borderTop": { # A border around a table cell. # The top border of the cell. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| }, |
| }, |
| "startIndex": 42, # The zero-based start index of this cell, in UTF-16 code units. |
| "suggestedTableCellStyleChanges": { # The suggested changes to the table cell style, keyed by suggestion ID. |
| "a_key": { # A suggested change to a TableCellStyle. |
| "tableCellStyle": { # The style of a TableCell. # A TableCellStyle that only includes |
| # the changes made in this suggestion. This can be used along with the |
| # table_cell_style_suggestion_state |
| # to see which fields have changed and their new values. |
| # |
| # Inherited table cell styles are represented as unset fields in this message. |
| # A table cell style can inherit from the table's style. |
| "paddingBottom": { # A magnitude in a single direction in the specified units. # The bottom padding of the cell. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "borderBottom": { # A border around a table cell. # The bottom border of the cell. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| }, |
| "paddingLeft": { # A magnitude in a single direction in the specified units. # The left padding of the cell. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "paddingTop": { # A magnitude in a single direction in the specified units. # The top padding of the cell. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "borderLeft": { # A border around a table cell. # The left border of the cell. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| }, |
| "columnSpan": 42, # The column span of the cell. This property is read-only. |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the cell. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "borderRight": { # A border around a table cell. # The right border of the cell. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| }, |
| "rowSpan": 42, # The row span of the cell. This property is read-only. |
| "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 Docs editor. |
| "paddingRight": { # A magnitude in a single direction in the specified units. # The right padding of the cell. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "borderTop": { # A border around a table cell. # The top border of the cell. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| }, |
| }, |
| "tableCellStyleSuggestionState": { # A mask that indicates which of the fields on the base TableCellStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TableCellStyle have been changed in this suggestion. |
| # For any field set to true, there is a new suggested value. |
| "borderRightSuggested": True or False, # Indicates if there was a suggested change to border_right. |
| "borderBottomSuggested": True or False, # Indicates if there was a suggested change to border_bottom. |
| "paddingBottomSuggested": True or False, # Indicates if there was a suggested change to padding_bottom. |
| "contentAlignmentSuggested": True or False, # Indicates if there was a suggested change to content_alignment. |
| "rowSpanSuggested": True or False, # Indicates if there was a suggested change to row_span. |
| "borderLeftSuggested": True or False, # Indicates if there was a suggested change to border_left. |
| "borderTopSuggested": True or False, # Indicates if there was a suggested change to border_top. |
| "columnSpanSuggested": True or False, # Indicates if there was a suggested change to column_span. |
| "paddingRightSuggested": True or False, # Indicates if there was a suggested change to padding_right. |
| "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| "paddingLeftSuggested": True or False, # Indicates if there was a suggested change to padding_left. |
| "paddingTopSuggested": True or False, # Indicates if there was a suggested change to padding_top. |
| }, |
| }, |
| }, |
| }, |
| ], |
| "tableRowStyle": { # Styles that apply to a table row. # The style of the table row. |
| "minRowHeight": { # A magnitude in a single direction in the specified units. # The minimum height of the row. The row will be rendered in the Docs editor |
| # at a height equal to or greater than this value in order to show all the |
| # content in the row's cells. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| }, |
| "suggestedInsertionIds": [ # The suggested insertion IDs. A TableRow |
| # may have multiple insertion IDs if it is a nested suggested change. If |
| # empty, then this is not a suggested insertion. |
| "A String", |
| ], |
| "startIndex": 42, # The zero-based start index of this row, in UTF-16 code units. |
| "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| # of this content. |
| "A String", |
| ], |
| "suggestedTableRowStyleChanges": { # The suggested style changes to this row, keyed by suggestion ID. |
| "a_key": { # A suggested change to a |
| # TableRowStyle. |
| "tableRowStyle": { # Styles that apply to a table row. # A TableRowStyle that only includes |
| # the changes made in this suggestion. This can be used along with the |
| # table_row_style_suggestion_state |
| # to see which fields have changed and their new values. |
| "minRowHeight": { # A magnitude in a single direction in the specified units. # The minimum height of the row. The row will be rendered in the Docs editor |
| # at a height equal to or greater than this value in order to show all the |
| # content in the row's cells. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| }, |
| "tableRowStyleSuggestionState": { # A mask that indicates which of the fields on the base TableRowStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TableRowStyle have been changed in this suggestion. |
| # For any field set to true, there is a new suggested value. |
| "minRowHeightSuggested": True or False, # Indicates if there was a suggested change to min_row_height. |
| }, |
| }, |
| }, |
| }, |
| ], |
| "columns": 42, # Number of columns in the table. |
| # |
| # It is possible for a table to be non-rectangular, so some rows may have a |
| # different number of cells. |
| }, |
| }, |
| ], |
| }, |
| "documentStyle": { # The style of the document. # The style of the document. |
| "defaultFooterId": "A String", # The ID of the default footer. If not set, there is no default footer. |
| "evenPageFooterId": "A String", # The ID of the footer used only for even pages. The value of |
| # use_even_page_header_footer determines |
| # whether to use the default_footer_id or this value for the |
| # footer on even pages. If not set, there is no even page footer. |
| "firstPageFooterId": "A String", # The ID of the footer used only for the first page. If not set then |
| # a unique footer for the first page does not exist. The value of |
| # use_first_page_header_footer determines |
| # whether to use the default_footer_id or this value for the |
| # footer on the first page. If not set, there is no first page footer. |
| "pageSize": { # A width and height. # The size of a page in the document. |
| "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. |
| }, |
| }, |
| "defaultHeaderId": "A String", # The ID of the default header. If not set, there is no default header. |
| "marginBottom": { # A magnitude in a single direction in the specified units. # The bottom page margin. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "firstPageHeaderId": "A String", # The ID of the header used only for the first page. If not set then |
| # a unique header for the first page does not exist. |
| # The value of use_first_page_header_footer determines |
| # whether to use the default_header_id or this value for the |
| # header on the first page. If not set, there is no first page header. |
| "evenPageHeaderId": "A String", # The ID of the header used only for even pages. The value of |
| # use_even_page_header_footer determines |
| # whether to use the default_header_id or this value for the |
| # header on even pages. If not set, there is no even page header. |
| "useFirstPageHeaderFooter": True or False, # Indicates whether to use the first page header / footer IDs for the first |
| # page. |
| "marginLeft": { # A magnitude in a single direction in the specified units. # The left page margin. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "useEvenPageHeaderFooter": True or False, # Indicates whether to use the even page header / footer IDs for the even |
| # pages. |
| "background": { # Represents the background of a document. # The background of the document. |
| "color": { # A color that can either be fully opaque or fully transparent. # The background color. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| }, |
| "marginRight": { # A magnitude in a single direction in the specified units. # The right page margin. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "pageNumberStart": 42, # The page number from which to start counting the number of pages. |
| "marginTop": { # A magnitude in a single direction in the specified units. # The top page margin. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| }, |
| "title": "A String", # The title of the document. |
| "namedRanges": { # The named ranges in the document, keyed by name. |
| "a_key": { # A collection of all the NamedRanges in the |
| # document that share a given name. |
| "namedRanges": [ # The NamedRanges that share the same name. |
| { # A collection of Ranges with the same named range |
| # ID. |
| # |
| # Named ranges allow developers to associate parts of a document with an |
| # arbitrary user-defined label so their contents can be programmatically read |
| # or edited at a later time. A document can contain multiple named ranges with |
| # the same name, but every named range has a unique ID. |
| # |
| # A named range is created with a single Range, |
| # and content inserted inside a named range generally expands that range. |
| # However, certain document changes can cause the range to be split into |
| # multiple ranges. |
| # |
| # Named ranges are not private. All applications and collaborators that have |
| # access to the document can see its named ranges. |
| "ranges": [ # The ranges that belong to this named range. |
| { # Specifies a contiguous range of text. |
| "endIndex": 42, # The zero-based end index of this range, exclusive, in UTF-16 code units. |
| # |
| # In all current uses, an end index must be provided. This field is an |
| # Int32Value in order to accommodate future use cases with open-ended ranges. |
| "startIndex": 42, # The zero-based start index of this range, in UTF-16 code units. |
| # |
| # In all current uses, a start index must be provided. This field is an |
| # Int32Value in order to accommodate future use cases with open-ended ranges. |
| "segmentId": "A String", # The ID of the header, footer or footnote that this range is contained in. |
| # An empty segment ID signifies the document's body. |
| }, |
| ], |
| "namedRangeId": "A String", # The ID of the named range. |
| "name": "A String", # The name of the named range. |
| }, |
| ], |
| "name": "A String", # The name that all the named ranges share. |
| }, |
| }, |
| "suggestedDocumentStyleChanges": { # The suggested changes to the style of the document, keyed by suggestion ID. |
| "a_key": { # A suggested change to the DocumentStyle. |
| "documentStyle": { # The style of the document. # A DocumentStyle that only includes |
| # the changes made in this suggestion. This can be used along with the |
| # document_style_suggestion_state |
| # to see which fields have changed and their new values. |
| "defaultFooterId": "A String", # The ID of the default footer. If not set, there is no default footer. |
| "evenPageFooterId": "A String", # The ID of the footer used only for even pages. The value of |
| # use_even_page_header_footer determines |
| # whether to use the default_footer_id or this value for the |
| # footer on even pages. If not set, there is no even page footer. |
| "firstPageFooterId": "A String", # The ID of the footer used only for the first page. If not set then |
| # a unique footer for the first page does not exist. The value of |
| # use_first_page_header_footer determines |
| # whether to use the default_footer_id or this value for the |
| # footer on the first page. If not set, there is no first page footer. |
| "pageSize": { # A width and height. # The size of a page in the document. |
| "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. |
| }, |
| }, |
| "defaultHeaderId": "A String", # The ID of the default header. If not set, there is no default header. |
| "marginBottom": { # A magnitude in a single direction in the specified units. # The bottom page margin. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "firstPageHeaderId": "A String", # The ID of the header used only for the first page. If not set then |
| # a unique header for the first page does not exist. |
| # The value of use_first_page_header_footer determines |
| # whether to use the default_header_id or this value for the |
| # header on the first page. If not set, there is no first page header. |
| "evenPageHeaderId": "A String", # The ID of the header used only for even pages. The value of |
| # use_even_page_header_footer determines |
| # whether to use the default_header_id or this value for the |
| # header on even pages. If not set, there is no even page header. |
| "useFirstPageHeaderFooter": True or False, # Indicates whether to use the first page header / footer IDs for the first |
| # page. |
| "marginLeft": { # A magnitude in a single direction in the specified units. # The left page margin. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "useEvenPageHeaderFooter": True or False, # Indicates whether to use the even page header / footer IDs for the even |
| # pages. |
| "background": { # Represents the background of a document. # The background of the document. |
| "color": { # A color that can either be fully opaque or fully transparent. # The background color. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| }, |
| "marginRight": { # A magnitude in a single direction in the specified units. # The right page margin. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "pageNumberStart": 42, # The page number from which to start counting the number of pages. |
| "marginTop": { # A magnitude in a single direction in the specified units. # The top page margin. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| }, |
| "documentStyleSuggestionState": { # A mask that indicates which of the fields on the base DocumentStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base DocumentStyle have been changed in this suggestion. |
| # For any field set to true, there is a new suggested value. |
| "marginRightSuggested": True or False, # Indicates if there was a suggested change to margin_right. |
| "evenPageHeaderIdSuggested": True or False, # Indicates if there was a suggested change to even_page_header_id. |
| "firstPageHeaderIdSuggested": True or False, # Indicates if there was a suggested change to first_page_header_id. |
| "marginBottomSuggested": True or False, # Indicates if there was a suggested change to margin_bottom. |
| "pageNumberStartSuggested": True or False, # Indicates if there was a suggested change to page_number_start. |
| "defaultHeaderIdSuggested": True or False, # Indicates if there was a suggested change to default_header_id. |
| "pageSizeSuggestionState": { # A mask that indicates which of the fields on the base Size have been changed in this suggestion. # A mask that indicates which of the fields in size have been changed in this |
| # suggestion. |
| # For any field set to true, the Size has |
| # a new suggested value. |
| "widthSuggested": True or False, # Indicates if there was a suggested change to width. |
| "heightSuggested": True or False, # Indicates if there was a suggested change to height. |
| }, |
| "marginLeftSuggested": True or False, # Indicates if there was a suggested change to margin_left. |
| "marginTopSuggested": True or False, # Indicates if there was a suggested change to margin_top. |
| "firstPageFooterIdSuggested": True or False, # Indicates if there was a suggested change to first_page_footer_id. |
| "defaultFooterIdSuggested": True or False, # Indicates if there was a suggested change to default_footer_id. |
| "useFirstPageHeaderFooterSuggested": True or False, # Indicates if there was a suggested change to use_first_page_header_footer. |
| "evenPageFooterIdSuggested": True or False, # Indicates if there was a suggested change to even_page_footer_id. |
| "backgroundSuggestionState": { # A mask that indicates which of the fields on the base Background have been changed in this suggestion. # A mask that indicates which of the fields in background have been changed in this |
| # suggestion. |
| # For any field set to true, the Backgound has a new suggested value. |
| "backgroundColorSuggested": True or False, # Indicates whether the current background color has been modified in this |
| # suggestion. |
| }, |
| "useEvenPageHeaderFooterSuggested": True or False, # Indicates if there was a suggested change to use_even_page_header_footer. |
| }, |
| }, |
| }, |
| "suggestedNamedStylesChanges": { # The suggested changes to the named styles of the document, keyed by |
| # suggestion ID. |
| "a_key": { # A suggested change to the NamedStyles. |
| "namedStylesSuggestionState": { # The suggestion state of a NamedStyles # A mask that indicates which of the fields on the base NamedStyles have been changed in this suggestion. |
| # message. |
| "stylesSuggestionStates": [ # A mask that indicates which of the fields on the corresponding NamedStyle in styles have been changed in this |
| # suggestion. |
| # |
| # The order of these named style suggestion states match the order of the |
| # corresponding named style within the named styles suggestion. |
| { # A suggestion state of a NamedStyle message. |
| "paragraphStyleSuggestionState": { # A mask that indicates which of the fields on the base ParagraphStyle have been changed in this suggestion. # A mask that indicates which of the fields in paragraph style have been changed in this |
| # suggestion. |
| # For any field set to true, there is a new suggested value. |
| "avoidWidowAndOrphanSuggested": True or False, # Indicates if there was a suggested change to avoid_widow_and_orphan. |
| "lineSpacingSuggested": True or False, # Indicates if there was a suggested change to line_spacing. |
| "spacingModeSuggested": True or False, # Indicates if there was a suggested change to spacing_mode. |
| "spaceBelowSuggested": True or False, # Indicates if there was a suggested change to space_below. |
| "borderRightSuggested": True or False, # Indicates if there was a suggested change to border_right. |
| "indentStartSuggested": True or False, # Indicates if there was a suggested change to indent_start. |
| "namedStyleTypeSuggested": True or False, # Indicates if there was a suggested change to named_style_type. |
| "indentEndSuggested": True or False, # Indicates if there was a suggested change to indent_end. |
| "borderBetweenSuggested": True or False, # Indicates if there was a suggested change to border_between. |
| "borderTopSuggested": True or False, # Indicates if there was a suggested change to border_top. |
| "borderLeftSuggested": True or False, # Indicates if there was a suggested change to border_left. |
| "keepWithNextSuggested": True or False, # Indicates if there was a suggested change to keep_with_next. |
| "spaceAboveSuggested": True or False, # Indicates if there was a suggested change to space_above. |
| "alignmentSuggested": True or False, # Indicates if there was a suggested change to alignment. |
| "indentFirstLineSuggested": True or False, # Indicates if there was a suggested change to indent_first_line. |
| "headingIdSuggested": True or False, # Indicates if there was a suggested change to heading_id. |
| "borderBottomSuggested": True or False, # Indicates if there was a suggested change to border_bottom. |
| "directionSuggested": True or False, # Indicates if there was a suggested change to direction. |
| "keepLinesTogetherSuggested": True or False, # Indicates if there was a suggested change to keep_lines_together. |
| "shadingSuggestionState": { # A mask that indicates which of the fields on the base Shading have been changed in this # A mask that indicates which of the fields in shading have been changed in |
| # this suggestion. |
| # suggested change. For any field set to true, there is a new suggested value. |
| "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to the Shading. |
| }, |
| }, |
| "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields in text style have been changed in this |
| # suggestion. |
| # For any field set to true, there is a new suggested value. |
| "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| }, |
| "namedStyleType": "A String", # The named style type that this suggestion state corresponds to. |
| # |
| # This field is provided as a convenience for matching the |
| # NamedStyleSuggestionState with its corresponding NamedStyle. |
| }, |
| ], |
| }, |
| "namedStyles": { # The named styles. Paragraphs in the document can inherit their # A NamedStyles that only includes the |
| # changes made in this suggestion. This can be used along with the |
| # named_styles_suggestion_state to |
| # see which fields have changed and their new values. |
| # TextStyle and |
| # ParagraphStyle from these named styles. |
| "styles": [ # The named styles. |
| # |
| # There is an entry for each of the possible named style types. |
| { # A named style. Paragraphs in the document can inherit their |
| # TextStyle and |
| # ParagraphStyle from this named style |
| # when they have the same named style type. |
| "textStyle": { # Represents the styling that can be applied to text. # The text style of this named style. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "namedStyleType": "A String", # The type of this named style. |
| "paragraphStyle": { # Styles that apply to a whole paragraph. # The paragraph style of this named style. |
| # |
| # Inherited paragraph styles are represented as unset fields in this message. |
| # A paragraph style's parent depends on where the paragraph style is defined: |
| # |
| # * The ParagraphStyle on a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The ParagraphStyle on a named style |
| # inherits from the normal text named style. |
| # * The ParagraphStyle of the normal text named style inherits |
| # from the default paragraph style in the Docs editor. |
| # * The ParagraphStyle on a Paragraph |
| # element that is contained in a table may inherit its paragraph style from |
| # the table style. |
| # |
| # If the paragraph style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "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 |
| # paragraph 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. |
| }, |
| "keepWithNext": True or False, # Whether at least a part of this paragraph should be laid out on the same |
| # page or column as the next paragraph if possible. If unset, the value is |
| # inherited from the parent. |
| "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. |
| "avoidWidowAndOrphan": True or False, # Whether to avoid widows and orphans for the paragraph. If unset, the value |
| # is inherited from the parent. |
| "borderBottom": { # A border around a paragraph. # The border at the bottom of this paragraph. If unset, the value is |
| # inherited from the parent. |
| # |
| # The bottom border is rendered when the paragraph below has different border |
| # and indent properties. |
| # |
| # Paragraph borders cannot be partially updated. When making |
| # changes to a paragraph border the new border must be specified in |
| # its entirety. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| }, |
| "indentStart": { # A magnitude in a single direction in the specified units. # The amount of indentation for the paragraph on the side that corresponds to |
| # the start of the text, based on the current paragraph direction. If unset, |
| # the value is inherited from the parent. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "borderBetween": { # A border around a paragraph. # The border between this paragraph and the next and previous paragraphs. |
| # If unset, the value is inherited from the parent. |
| # |
| # The between border is rendered when the adjacent paragraph has the same |
| # border and indent properties. |
| # |
| # Paragraph borders cannot be partially updated. When making |
| # changes to a paragraph border the new border must be specified in |
| # its entirety. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| }, |
| "namedStyleType": "A String", # The named style type of the paragraph. |
| # |
| # Since updating the named style type affects other properties within |
| # ParagraphStyle, the named style type is applied before the other properties |
| # are updated. |
| "borderRight": { # A border around a paragraph. # The border to the right of this paragraph. If unset, the value is inherited |
| # from the parent. |
| # |
| # Paragraph borders cannot be partially updated. When making |
| # changes to a paragraph border the new border must be specified in |
| # its entirety. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| "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 of indentation for the paragraph on the side that corresponds to |
| # the end of the text, based on the current paragraph direction. If unset, |
| # the value is inherited from the parent. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "borderLeft": { # A border around a paragraph. # The border to the left of this paragraph. If unset, the value is inherited |
| # from the parent. |
| # |
| # Paragraph borders cannot be partially updated. When making |
| # changes to a paragraph border the new border must be specified in |
| # its entirety. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| "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. |
| }, |
| "headingId": "A String", # The heading ID of the paragraph. If empty, then this paragraph is not a |
| # heading. This property is read-only. |
| "shading": { # The shading of a paragraph. # The shading of the paragraph. If unset, the value is inherited from the |
| # parent. |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of this paragraph shading. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| }, |
| "borderTop": { # A border around a paragraph. # The border at the top of this paragraph. If unset, the value is inherited |
| # from the parent. |
| # |
| # The top border is rendered when the paragraph above has different border |
| # and indent properties. |
| # |
| # Paragraph borders cannot be partially updated. When making |
| # changes to a paragraph border the new border must be specified in |
| # its entirety. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| }, |
| "tabStops": [ # A list of the tab stops for this paragraph. The list of tab stops is not |
| # inherited. This property is read-only. |
| { # A tab stop within a paragraph. |
| "alignment": "A String", # The alignment of this tab stop. If unset, the value defaults to START. |
| "offset": { # A magnitude in a single direction in the specified units. # The offset between this tab stop and the start margin. |
| "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 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. |
| "keepLinesTogether": True or False, # Whether all lines of the paragraph should be laid out on the same page or |
| # column if possible. If unset, the value is inherited from the parent. |
| }, |
| }, |
| ], |
| }, |
| }, |
| }, |
| "suggestionsViewMode": "A String", # The suggestions view mode applied to the document. |
| # |
| # Note: When editing a document, changes must be based on a document with |
| # SUGGESTIONS_INLINE. |
| "lists": { # The lists in the document, keyed by list ID. |
| "a_key": { # A List represents the list attributes for a group of paragraphs that all |
| # belong to the same list. A paragraph that is part of a list has a reference |
| # to the list's ID in its bullet. |
| "listProperties": { # The properties of a list which describe the look # The properties of the list. |
| # and feel of bullets belonging to paragraphs associated with a list. |
| "nestingLevels": [ # Describes the properties of the bullets at the associated level. |
| # |
| # A list has at most nine levels of nesting with nesting level 0 |
| # corresponding to the top-most level and nesting level 8 corresponding to |
| # the most nested level. The nesting levels are returned in ascending order |
| # with the least nested returned first. |
| { # Contains properties describing the look and feel of a list bullet at a given |
| # level of nesting. |
| "textStyle": { # Represents the styling that can be applied to text. # The text style of bullets at this level of nesting. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "indentStart": { # A magnitude in a single direction in the specified units. # The amount of indentation for paragraphs at this level of nesting. Applied |
| # to the side that corresponds to the start of the text, based on the |
| # paragraph's content direction. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "glyphFormat": "A String", # The format string used by bullets at this level of nesting. |
| # |
| # The glyph format contains one or more placeholders, and these placeholder |
| # are replaced with the appropriate values depending on the glyph_type or glyph_symbol. The placeholders follow |
| # the pattern `%[nesting_level]`. Furthermore, placeholders can have prefixes |
| # and suffixes. Thus, the glyph format follows the pattern |
| # `<prefix>%[nesting_level]<suffix>`. Note that the prefix and suffix are |
| # optional and can be arbitrary strings. |
| # |
| # For example, the glyph format `%0.` indicates that the rendered glyph will |
| # replace the placeholder with the corresponding glyph for nesting level 0 |
| # followed by a period as the suffix. So a list with a glyph type of |
| # UPPER_ALPHA and |
| # glyph format `%0.` at nesting level 0 will result in a list with rendered |
| # glyphs |
| # <p>`A.` |
| # <p>`B.` |
| # <p>`C.` |
| # |
| # The glyph format can contain placeholders for the current nesting level as |
| # well as placeholders for parent nesting levels. For example, a |
| # list can have a glyph format of `%0.` at nesting level 0 and a |
| # glyph format of `%0.%1.` at nesting level 1. Assuming both nesting levels |
| # have DECIMAL glyph |
| # types, this would result in a list with rendered glyphs |
| # <p>`1.` |
| # <p>`2.` |
| # <p>` 2.1.` |
| # <p>` 2.2.` |
| # <p>`3.` |
| # |
| # For nesting levels that are ordered, the string that replaces a placeholder |
| # in the glyph format for a particular paragraph depends on the paragraph's |
| # order within the list. |
| "glyphType": "A String", # The type of glyph used by bullets when paragraphs at this level of |
| # nesting are ordered. |
| # |
| # The glyph type determines the type of glyph used to replace placeholders |
| # within the glyph_format |
| # when paragraphs at this level of nesting are ordered. For example, if the |
| # nesting level is 0, the glyph_format is `%0.` and the glyph |
| # type is DECIMAL, |
| # then the rendered glyph would replace the placeholder `%0` in the glyph |
| # format with a number corresponding to list item's order within the list. |
| "startNumber": 42, # The number of the first list item at this nesting level. |
| # |
| # A value of 0 is treated as a value of 1 for lettered lists and roman |
| # numeraled lists, i.e. for values of both 0 and 1, lettered and roman |
| # numeraled lists will begin at `a` and `i` respectively. |
| # |
| # This value is ignored for nesting levels with unordered glyphs. |
| "bulletAlignment": "A String", # The alignment of the bullet within the space allotted for rendering the |
| # bullet. |
| "glyphSymbol": "A String", # A custom glyph symbol used by bullets when paragraphs at this level of |
| # nesting are unordered. |
| # |
| # The glyph symbol replaces placeholders within the glyph_format. For example, if the |
| # glyph_symbol is the solid circle corresponding to Unicode U+25cf code |
| # point and the glyph_format is `%0`, the rendered |
| # glyph would be the solid circle. |
| "indentFirstLine": { # A magnitude in a single direction in the specified units. # The amount of indentation for the first line of paragraphs at this level of |
| # nesting. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| }, |
| ], |
| }, |
| "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| # of this list. |
| "A String", |
| ], |
| "suggestedListPropertiesChanges": { # The suggested changes to the list properties, keyed by suggestion |
| # ID. |
| "a_key": { # A suggested change to ListProperties. |
| "listProperties": { # The properties of a list which describe the look # A ListProperties that only includes |
| # the changes made in this suggestion. This can be used along with the |
| # list_properties_suggestion_state |
| # to see which fields have changed and their new values. |
| # and feel of bullets belonging to paragraphs associated with a list. |
| "nestingLevels": [ # Describes the properties of the bullets at the associated level. |
| # |
| # A list has at most nine levels of nesting with nesting level 0 |
| # corresponding to the top-most level and nesting level 8 corresponding to |
| # the most nested level. The nesting levels are returned in ascending order |
| # with the least nested returned first. |
| { # Contains properties describing the look and feel of a list bullet at a given |
| # level of nesting. |
| "textStyle": { # Represents the styling that can be applied to text. # The text style of bullets at this level of nesting. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "indentStart": { # A magnitude in a single direction in the specified units. # The amount of indentation for paragraphs at this level of nesting. Applied |
| # to the side that corresponds to the start of the text, based on the |
| # paragraph's content direction. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "glyphFormat": "A String", # The format string used by bullets at this level of nesting. |
| # |
| # The glyph format contains one or more placeholders, and these placeholder |
| # are replaced with the appropriate values depending on the glyph_type or glyph_symbol. The placeholders follow |
| # the pattern `%[nesting_level]`. Furthermore, placeholders can have prefixes |
| # and suffixes. Thus, the glyph format follows the pattern |
| # `<prefix>%[nesting_level]<suffix>`. Note that the prefix and suffix are |
| # optional and can be arbitrary strings. |
| # |
| # For example, the glyph format `%0.` indicates that the rendered glyph will |
| # replace the placeholder with the corresponding glyph for nesting level 0 |
| # followed by a period as the suffix. So a list with a glyph type of |
| # UPPER_ALPHA and |
| # glyph format `%0.` at nesting level 0 will result in a list with rendered |
| # glyphs |
| # <p>`A.` |
| # <p>`B.` |
| # <p>`C.` |
| # |
| # The glyph format can contain placeholders for the current nesting level as |
| # well as placeholders for parent nesting levels. For example, a |
| # list can have a glyph format of `%0.` at nesting level 0 and a |
| # glyph format of `%0.%1.` at nesting level 1. Assuming both nesting levels |
| # have DECIMAL glyph |
| # types, this would result in a list with rendered glyphs |
| # <p>`1.` |
| # <p>`2.` |
| # <p>` 2.1.` |
| # <p>` 2.2.` |
| # <p>`3.` |
| # |
| # For nesting levels that are ordered, the string that replaces a placeholder |
| # in the glyph format for a particular paragraph depends on the paragraph's |
| # order within the list. |
| "glyphType": "A String", # The type of glyph used by bullets when paragraphs at this level of |
| # nesting are ordered. |
| # |
| # The glyph type determines the type of glyph used to replace placeholders |
| # within the glyph_format |
| # when paragraphs at this level of nesting are ordered. For example, if the |
| # nesting level is 0, the glyph_format is `%0.` and the glyph |
| # type is DECIMAL, |
| # then the rendered glyph would replace the placeholder `%0` in the glyph |
| # format with a number corresponding to list item's order within the list. |
| "startNumber": 42, # The number of the first list item at this nesting level. |
| # |
| # A value of 0 is treated as a value of 1 for lettered lists and roman |
| # numeraled lists, i.e. for values of both 0 and 1, lettered and roman |
| # numeraled lists will begin at `a` and `i` respectively. |
| # |
| # This value is ignored for nesting levels with unordered glyphs. |
| "bulletAlignment": "A String", # The alignment of the bullet within the space allotted for rendering the |
| # bullet. |
| "glyphSymbol": "A String", # A custom glyph symbol used by bullets when paragraphs at this level of |
| # nesting are unordered. |
| # |
| # The glyph symbol replaces placeholders within the glyph_format. For example, if the |
| # glyph_symbol is the solid circle corresponding to Unicode U+25cf code |
| # point and the glyph_format is `%0`, the rendered |
| # glyph would be the solid circle. |
| "indentFirstLine": { # A magnitude in a single direction in the specified units. # The amount of indentation for the first line of paragraphs at this level of |
| # nesting. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| }, |
| ], |
| }, |
| "listPropertiesSuggestionState": { # A mask that indicates which of the fields on the base ListProperties have been changed in this suggestion. # A mask that indicates which of the fields on the base ListProperties have been changed in this suggestion. |
| # For any field set to true, there is a new suggested value. |
| "nestingLevelsSuggestionStates": [ # A mask that indicates which of the fields on the corresponding |
| # NestingLevel in nesting_levels have been changed in |
| # this suggestion. |
| # |
| # The nesting level suggestion states are returned in ascending order of the |
| # nesting level with the least nested returned first. |
| { # A mask that indicates which of the fields on the base NestingLevel have been changed in this suggestion. For |
| # any field set to true, there is a new suggested value. |
| "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields in text style have been changed in this |
| # suggestion. |
| # For any field set to true, there is a new suggested value. |
| "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| }, |
| "glyphFormatSuggested": True or False, # Indicates if there was a suggested change to |
| # glyph_format. |
| "indentStartSuggested": True or False, # Indicates if there was a suggested change to |
| # indent_start. |
| "startNumberSuggested": True or False, # Indicates if there was a suggested change to |
| # start_number. |
| "glyphTypeSuggested": True or False, # Indicates if there was a suggested change to |
| # glyph_type. |
| "indentFirstLineSuggested": True or False, # Indicates if there was a suggested change to |
| # indent_first_line. |
| "glyphSymbolSuggested": True or False, # Indicates if there was a suggested change to |
| # glyph_symbol. |
| "bulletAlignmentSuggested": True or False, # Indicates if there was a suggested change to |
| # bullet_alignment. |
| }, |
| ], |
| }, |
| }, |
| }, |
| "suggestedInsertionId": "A String", # The suggested insertion ID. If empty, then this is not a suggested |
| # insertion. |
| }, |
| }, |
| "headers": { # The headers in the document, keyed by header ID. |
| "a_key": { # A document header. |
| "headerId": "A String", # The ID of the header. |
| "content": [ # The contents of the header. |
| # |
| # The indexes for a header's content begin at zero. |
| { # A StructuralElement describes content that provides structure to the |
| # document. |
| "endIndex": 42, # The zero-based end index of this structural element, exclusive, in UTF-16 |
| # code units. |
| "sectionBreak": { # A StructuralElement representing a # A section break type of structural element. |
| # section break. A section is a range of content which has the same |
| # SectionStyle. A section break represents |
| # the start of a new section, and the section style applies to the section |
| # after the section break. |
| # |
| # The document body always begins with a section break. |
| "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| # of this content. |
| "A String", |
| ], |
| "sectionStyle": { # The styling that applies to a section. # The style of the section after this section break. |
| "contentDirection": "A String", # The content direction of this section. If unset, the value defaults to |
| # LEFT_TO_RIGHT. |
| "columnProperties": [ # The section's columns properties. |
| # |
| # If empty, the section contains one column with the default properties in |
| # the Docs editor. |
| { # Properties that apply to a section's column. |
| "width": { # A magnitude in a single direction in the specified units. # The width of the column. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "paddingEnd": { # A magnitude in a single direction in the specified units. # The padding at the end of the column. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| }, |
| ], |
| "columnSeparatorStyle": "A String", # The style of column separators. |
| # |
| # This style can be set even when there is one column in the section. |
| }, |
| "suggestedInsertionIds": [ # The suggested insertion IDs. A SectionBreak may have multiple insertion IDs if it is |
| # a nested suggested change. If empty, then this is not a suggested |
| # insertion. |
| "A String", |
| ], |
| }, |
| "tableOfContents": { # A StructuralElement representing # A table of contents type of structural element. |
| # a table of contents. |
| "content": [ # The content of the table of contents. |
| # Object with schema name: StructuralElement |
| ], |
| "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| # of this content. |
| "A String", |
| ], |
| "suggestedInsertionIds": [ # The suggested insertion IDs. A TableOfContents may have multiple insertion IDs if it |
| # is a nested suggested change. If empty, then this is not a suggested |
| # insertion. |
| "A String", |
| ], |
| }, |
| "startIndex": 42, # The zero-based start index of this structural element, in UTF-16 code |
| # units. |
| "paragraph": { # A StructuralElement representing a # A paragraph type of structural element. |
| # paragraph. A paragraph is a range of content that is terminated with a |
| # newline character. |
| "elements": [ # The content of the paragraph broken down into its component parts. |
| { # A ParagraphElement describes content within a |
| # Paragraph. |
| "endIndex": 42, # The zero-base end index of this paragraph element, exclusive, in UTF-16 |
| # code units. |
| "equation": { # A ParagraphElement representing an # An equation paragraph element. |
| # equation. |
| "suggestedInsertionIds": [ # The suggested insertion IDs. A Equation |
| # may have multiple insertion IDs if it is a nested suggested change. If |
| # empty, then this is not a suggested insertion. |
| "A String", |
| ], |
| "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| # of this content. |
| "A String", |
| ], |
| }, |
| "columnBreak": { # A ParagraphElement representing a # A column break paragraph element. |
| # column break. A column break makes the subsequent text start at the top of |
| # the next column. |
| "textStyle": { # Represents the styling that can be applied to text. # The text style of this ColumnBreak. |
| # |
| # Similar to text content, like text runs and footnote references, the text |
| # style of a column break can affect content layout as well as the styling of |
| # text inserted adjacent to it. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "suggestedInsertionIds": [ # The suggested insertion IDs. A ColumnBreak may have multiple insertion IDs if it is |
| # a nested suggested change. If empty, then this is not a suggested |
| # insertion. |
| "A String", |
| ], |
| "suggestedTextStyleChanges": { # The suggested text style changes to this ColumnBreak, keyed by suggestion |
| # ID. |
| "a_key": { # A suggested change to a TextStyle. |
| "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| # the changes made in this suggestion. This can be used along with the |
| # text_style_suggestion_state |
| # to see which fields have changed and their new values. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| # For any field set to true, there is a new suggested value. |
| "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| }, |
| }, |
| }, |
| "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| # of this content. |
| "A String", |
| ], |
| }, |
| "startIndex": 42, # The zero-based start index of this paragraph element, in UTF-16 code units. |
| "pageBreak": { # A ParagraphElement representing a # A page break paragraph element. |
| # page break. A page break makes the subsequent text start at the top of the |
| # next page. |
| "textStyle": { # Represents the styling that can be applied to text. # The text style of this PageBreak. |
| # |
| # Similar to text content, like text runs and footnote references, the text |
| # style of a page break can affect content layout as well as the styling of |
| # text inserted adjacent to it. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| # of this content. |
| "A String", |
| ], |
| "suggestedTextStyleChanges": { # The suggested text style changes to this PageBreak, keyed by suggestion ID. |
| "a_key": { # A suggested change to a TextStyle. |
| "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| # the changes made in this suggestion. This can be used along with the |
| # text_style_suggestion_state |
| # to see which fields have changed and their new values. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| # For any field set to true, there is a new suggested value. |
| "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| }, |
| }, |
| }, |
| "suggestedInsertionIds": [ # The suggested insertion IDs. A PageBreak |
| # may have multiple insertion IDs if it is a nested suggested change. If |
| # empty, then this is not a suggested insertion. |
| "A String", |
| ], |
| }, |
| "horizontalRule": { # A ParagraphElement representing a # A horizontal rule paragraph element. |
| # horizontal line. |
| "textStyle": { # Represents the styling that can be applied to text. # The text style of this HorizontalRule. |
| # |
| # Similar to text content, like text runs and footnote references, the text |
| # style of a horizontal rule can affect content layout as well as the styling |
| # of text inserted adjacent to it. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "suggestedInsertionIds": [ # The suggested insertion IDs. A HorizontalRule may have multiple insertion IDs if it |
| # is a nested suggested change. If empty, then this is not a suggested |
| # insertion. |
| "A String", |
| ], |
| "suggestedTextStyleChanges": { # The suggested text style changes to this HorizontalRule, keyed by |
| # suggestion ID. |
| "a_key": { # A suggested change to a TextStyle. |
| "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| # the changes made in this suggestion. This can be used along with the |
| # text_style_suggestion_state |
| # to see which fields have changed and their new values. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| # For any field set to true, there is a new suggested value. |
| "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| }, |
| }, |
| }, |
| "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| # of this content. |
| "A String", |
| ], |
| }, |
| "textRun": { # A ParagraphElement that represents a # A text run paragraph element. |
| # run of text that all has the same styling. |
| "content": "A String", # The text of this run. |
| # |
| # Any non-text elements in the run are replaced with the Unicode character |
| # U+E907. |
| "textStyle": { # Represents the styling that can be applied to text. # The text style of this run. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "suggestedInsertionIds": [ # The suggested insertion IDs. A TextRun may |
| # have multiple insertion IDs if it is a nested suggested change. If empty, |
| # then this is not a suggested insertion. |
| "A String", |
| ], |
| "suggestedTextStyleChanges": { # The suggested text style changes to this run, keyed by suggestion ID. |
| "a_key": { # A suggested change to a TextStyle. |
| "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| # the changes made in this suggestion. This can be used along with the |
| # text_style_suggestion_state |
| # to see which fields have changed and their new values. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| # For any field set to true, there is a new suggested value. |
| "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| }, |
| }, |
| }, |
| "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| # of this content. |
| "A String", |
| ], |
| }, |
| "autoText": { # A ParagraphElement representing a # An auto text paragraph element. |
| # spot in the text that is dynamically replaced with content that can change |
| # over time, like a page number. |
| "textStyle": { # Represents the styling that can be applied to text. # The text style of this AutoText. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| # of this content. |
| "A String", |
| ], |
| "suggestedTextStyleChanges": { # The suggested text style changes to this AutoText, keyed by suggestion ID. |
| "a_key": { # A suggested change to a TextStyle. |
| "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| # the changes made in this suggestion. This can be used along with the |
| # text_style_suggestion_state |
| # to see which fields have changed and their new values. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| # For any field set to true, there is a new suggested value. |
| "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| }, |
| }, |
| }, |
| "type": "A String", # The type of this auto text. |
| "suggestedInsertionIds": [ # The suggested insertion IDs. An AutoText |
| # may have multiple insertion IDs if it is a nested suggested change. If |
| # empty, then this is not a suggested insertion. |
| "A String", |
| ], |
| }, |
| "inlineObjectElement": { # A ParagraphElement that contains # An inline object paragraph element. |
| # an InlineObject. |
| "textStyle": { # Represents the styling that can be applied to text. # The text style of this InlineObjectElement. |
| # |
| # Similar to text content, like text runs and footnote references, the text |
| # style of an inline object element can affect content layout as well as the |
| # styling of text inserted adjacent to it. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| # of this content. |
| "A String", |
| ], |
| "suggestedTextStyleChanges": { # The suggested text style changes to this InlineObject, keyed by suggestion |
| # ID. |
| "a_key": { # A suggested change to a TextStyle. |
| "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| # the changes made in this suggestion. This can be used along with the |
| # text_style_suggestion_state |
| # to see which fields have changed and their new values. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| # For any field set to true, there is a new suggested value. |
| "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| }, |
| }, |
| }, |
| "inlineObjectId": "A String", # The ID of the InlineObject this |
| # element contains. |
| "suggestedInsertionIds": [ # The suggested insertion IDs. An InlineObjectElement may have multiple insertion IDs |
| # if it is a nested suggested change. If empty, then this is not a suggested |
| # insertion. |
| "A String", |
| ], |
| }, |
| "footnoteReference": { # A ParagraphElement representing a # A footnote reference paragraph element. |
| # footnote reference. A footnote reference is the inline content rendered with |
| # a number and is used to identify the footnote. |
| "textStyle": { # Represents the styling that can be applied to text. # The text style of this FootnoteReference. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "footnoteNumber": "A String", # The rendered number of this footnote. |
| "suggestedInsertionIds": [ # The suggested insertion IDs. A FootnoteReference may have multiple insertion IDs if |
| # it is a nested suggested change. If empty, then this is not a suggested |
| # insertion. |
| "A String", |
| ], |
| "footnoteId": "A String", # The ID of the footnote that |
| # contains the content of this footnote reference. |
| "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| # of this content. |
| "A String", |
| ], |
| "suggestedTextStyleChanges": { # The suggested text style changes to this FootnoteReference, keyed by |
| # suggestion ID. |
| "a_key": { # A suggested change to a TextStyle. |
| "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| # the changes made in this suggestion. This can be used along with the |
| # text_style_suggestion_state |
| # to see which fields have changed and their new values. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| # For any field set to true, there is a new suggested value. |
| "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| }, |
| }, |
| }, |
| }, |
| }, |
| ], |
| "suggestedPositionedObjectIds": { # The IDs of the positioned objects that are suggested to be attached to this |
| # paragraph, keyed by suggestion ID. |
| "a_key": { # A collection of object IDs. |
| "objectIds": [ # The object IDs. |
| "A String", |
| ], |
| }, |
| }, |
| "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. |
| "textStyle": { # Represents the styling that can be applied to text. # The paragraph specific text style applied to this bullet. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| }, |
| "suggestedBulletChanges": { # The suggested changes to this paragraph's bullet. |
| "a_key": { # A suggested change to a Bullet. |
| "bullet": { # Describes the bullet of a paragraph. # A Bullet that only includes the changes made |
| # in this suggestion. This can be used along with the |
| # bullet_suggestion_state to see which |
| # fields have changed and their new values. |
| "nestingLevel": 42, # The nesting level of this paragraph in the list. |
| "listId": "A String", # The ID of the list this paragraph belongs to. |
| "textStyle": { # Represents the styling that can be applied to text. # The paragraph specific text style applied to this bullet. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| }, |
| "bulletSuggestionState": { # A mask that indicates which of the fields on the base # A mask that indicates which of the fields on the base |
| # Bullet have been changed in this suggestion. |
| # Bullet have been changed in this suggestion. |
| # For any field set to true, there is a new suggested value. |
| "nestingLevelSuggested": True or False, # Indicates if there was a suggested change to the |
| # nesting_level. |
| "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields in text style have been changed in this |
| # suggestion. |
| # For any field set to true, there is a new suggested value. |
| "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| }, |
| "listIdSuggested": True or False, # Indicates if there was a suggested change to the |
| # list_id. |
| }, |
| }, |
| }, |
| "positionedObjectIds": [ # The IDs of the positioned objects tethered to this paragraph. |
| "A String", |
| ], |
| "suggestedParagraphStyleChanges": { # The suggested paragraph style changes to this paragraph, keyed by |
| # suggestion ID. |
| "a_key": { # A suggested change to a |
| # ParagraphStyle. |
| "paragraphStyleSuggestionState": { # A mask that indicates which of the fields on the base ParagraphStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base ParagraphStyle have been changed in this suggestion. |
| # For any field set to true, there is a new suggested value. |
| "avoidWidowAndOrphanSuggested": True or False, # Indicates if there was a suggested change to avoid_widow_and_orphan. |
| "lineSpacingSuggested": True or False, # Indicates if there was a suggested change to line_spacing. |
| "spacingModeSuggested": True or False, # Indicates if there was a suggested change to spacing_mode. |
| "spaceBelowSuggested": True or False, # Indicates if there was a suggested change to space_below. |
| "borderRightSuggested": True or False, # Indicates if there was a suggested change to border_right. |
| "indentStartSuggested": True or False, # Indicates if there was a suggested change to indent_start. |
| "namedStyleTypeSuggested": True or False, # Indicates if there was a suggested change to named_style_type. |
| "indentEndSuggested": True or False, # Indicates if there was a suggested change to indent_end. |
| "borderBetweenSuggested": True or False, # Indicates if there was a suggested change to border_between. |
| "borderTopSuggested": True or False, # Indicates if there was a suggested change to border_top. |
| "borderLeftSuggested": True or False, # Indicates if there was a suggested change to border_left. |
| "keepWithNextSuggested": True or False, # Indicates if there was a suggested change to keep_with_next. |
| "spaceAboveSuggested": True or False, # Indicates if there was a suggested change to space_above. |
| "alignmentSuggested": True or False, # Indicates if there was a suggested change to alignment. |
| "indentFirstLineSuggested": True or False, # Indicates if there was a suggested change to indent_first_line. |
| "headingIdSuggested": True or False, # Indicates if there was a suggested change to heading_id. |
| "borderBottomSuggested": True or False, # Indicates if there was a suggested change to border_bottom. |
| "directionSuggested": True or False, # Indicates if there was a suggested change to direction. |
| "keepLinesTogetherSuggested": True or False, # Indicates if there was a suggested change to keep_lines_together. |
| "shadingSuggestionState": { # A mask that indicates which of the fields on the base Shading have been changed in this # A mask that indicates which of the fields in shading have been changed in |
| # this suggestion. |
| # suggested change. For any field set to true, there is a new suggested value. |
| "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to the Shading. |
| }, |
| }, |
| "paragraphStyle": { # Styles that apply to a whole paragraph. # A ParagraphStyle that only includes |
| # the changes made in this suggestion. This can be used along with the |
| # paragraph_suggestion_state |
| # to see which fields have changed and their new values. |
| # |
| # Inherited paragraph styles are represented as unset fields in this message. |
| # A paragraph style's parent depends on where the paragraph style is defined: |
| # |
| # * The ParagraphStyle on a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The ParagraphStyle on a named style |
| # inherits from the normal text named style. |
| # * The ParagraphStyle of the normal text named style inherits |
| # from the default paragraph style in the Docs editor. |
| # * The ParagraphStyle on a Paragraph |
| # element that is contained in a table may inherit its paragraph style from |
| # the table style. |
| # |
| # If the paragraph style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "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 |
| # paragraph 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. |
| }, |
| "keepWithNext": True or False, # Whether at least a part of this paragraph should be laid out on the same |
| # page or column as the next paragraph if possible. If unset, the value is |
| # inherited from the parent. |
| "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. |
| "avoidWidowAndOrphan": True or False, # Whether to avoid widows and orphans for the paragraph. If unset, the value |
| # is inherited from the parent. |
| "borderBottom": { # A border around a paragraph. # The border at the bottom of this paragraph. If unset, the value is |
| # inherited from the parent. |
| # |
| # The bottom border is rendered when the paragraph below has different border |
| # and indent properties. |
| # |
| # Paragraph borders cannot be partially updated. When making |
| # changes to a paragraph border the new border must be specified in |
| # its entirety. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| }, |
| "indentStart": { # A magnitude in a single direction in the specified units. # The amount of indentation for the paragraph on the side that corresponds to |
| # the start of the text, based on the current paragraph direction. If unset, |
| # the value is inherited from the parent. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "borderBetween": { # A border around a paragraph. # The border between this paragraph and the next and previous paragraphs. |
| # If unset, the value is inherited from the parent. |
| # |
| # The between border is rendered when the adjacent paragraph has the same |
| # border and indent properties. |
| # |
| # Paragraph borders cannot be partially updated. When making |
| # changes to a paragraph border the new border must be specified in |
| # its entirety. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| }, |
| "namedStyleType": "A String", # The named style type of the paragraph. |
| # |
| # Since updating the named style type affects other properties within |
| # ParagraphStyle, the named style type is applied before the other properties |
| # are updated. |
| "borderRight": { # A border around a paragraph. # The border to the right of this paragraph. If unset, the value is inherited |
| # from the parent. |
| # |
| # Paragraph borders cannot be partially updated. When making |
| # changes to a paragraph border the new border must be specified in |
| # its entirety. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| "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 of indentation for the paragraph on the side that corresponds to |
| # the end of the text, based on the current paragraph direction. If unset, |
| # the value is inherited from the parent. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "borderLeft": { # A border around a paragraph. # The border to the left of this paragraph. If unset, the value is inherited |
| # from the parent. |
| # |
| # Paragraph borders cannot be partially updated. When making |
| # changes to a paragraph border the new border must be specified in |
| # its entirety. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| "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. |
| }, |
| "headingId": "A String", # The heading ID of the paragraph. If empty, then this paragraph is not a |
| # heading. This property is read-only. |
| "shading": { # The shading of a paragraph. # The shading of the paragraph. If unset, the value is inherited from the |
| # parent. |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of this paragraph shading. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| }, |
| "borderTop": { # A border around a paragraph. # The border at the top of this paragraph. If unset, the value is inherited |
| # from the parent. |
| # |
| # The top border is rendered when the paragraph above has different border |
| # and indent properties. |
| # |
| # Paragraph borders cannot be partially updated. When making |
| # changes to a paragraph border the new border must be specified in |
| # its entirety. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| }, |
| "tabStops": [ # A list of the tab stops for this paragraph. The list of tab stops is not |
| # inherited. This property is read-only. |
| { # A tab stop within a paragraph. |
| "alignment": "A String", # The alignment of this tab stop. If unset, the value defaults to START. |
| "offset": { # A magnitude in a single direction in the specified units. # The offset between this tab stop and the start margin. |
| "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 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. |
| "keepLinesTogether": True or False, # Whether all lines of the paragraph should be laid out on the same page or |
| # column if possible. If unset, the value is inherited from the parent. |
| }, |
| }, |
| }, |
| "paragraphStyle": { # Styles that apply to a whole paragraph. # The style of this paragraph. |
| # |
| # Inherited paragraph styles are represented as unset fields in this message. |
| # A paragraph style's parent depends on where the paragraph style is defined: |
| # |
| # * The ParagraphStyle on a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The ParagraphStyle on a named style |
| # inherits from the normal text named style. |
| # * The ParagraphStyle of the normal text named style inherits |
| # from the default paragraph style in the Docs editor. |
| # * The ParagraphStyle on a Paragraph |
| # element that is contained in a table may inherit its paragraph style from |
| # the table style. |
| # |
| # If the paragraph style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "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 |
| # paragraph 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. |
| }, |
| "keepWithNext": True or False, # Whether at least a part of this paragraph should be laid out on the same |
| # page or column as the next paragraph if possible. If unset, the value is |
| # inherited from the parent. |
| "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. |
| "avoidWidowAndOrphan": True or False, # Whether to avoid widows and orphans for the paragraph. If unset, the value |
| # is inherited from the parent. |
| "borderBottom": { # A border around a paragraph. # The border at the bottom of this paragraph. If unset, the value is |
| # inherited from the parent. |
| # |
| # The bottom border is rendered when the paragraph below has different border |
| # and indent properties. |
| # |
| # Paragraph borders cannot be partially updated. When making |
| # changes to a paragraph border the new border must be specified in |
| # its entirety. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| }, |
| "indentStart": { # A magnitude in a single direction in the specified units. # The amount of indentation for the paragraph on the side that corresponds to |
| # the start of the text, based on the current paragraph direction. If unset, |
| # the value is inherited from the parent. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "borderBetween": { # A border around a paragraph. # The border between this paragraph and the next and previous paragraphs. |
| # If unset, the value is inherited from the parent. |
| # |
| # The between border is rendered when the adjacent paragraph has the same |
| # border and indent properties. |
| # |
| # Paragraph borders cannot be partially updated. When making |
| # changes to a paragraph border the new border must be specified in |
| # its entirety. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| }, |
| "namedStyleType": "A String", # The named style type of the paragraph. |
| # |
| # Since updating the named style type affects other properties within |
| # ParagraphStyle, the named style type is applied before the other properties |
| # are updated. |
| "borderRight": { # A border around a paragraph. # The border to the right of this paragraph. If unset, the value is inherited |
| # from the parent. |
| # |
| # Paragraph borders cannot be partially updated. When making |
| # changes to a paragraph border the new border must be specified in |
| # its entirety. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| "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 of indentation for the paragraph on the side that corresponds to |
| # the end of the text, based on the current paragraph direction. If unset, |
| # the value is inherited from the parent. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "borderLeft": { # A border around a paragraph. # The border to the left of this paragraph. If unset, the value is inherited |
| # from the parent. |
| # |
| # Paragraph borders cannot be partially updated. When making |
| # changes to a paragraph border the new border must be specified in |
| # its entirety. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| "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. |
| }, |
| "headingId": "A String", # The heading ID of the paragraph. If empty, then this paragraph is not a |
| # heading. This property is read-only. |
| "shading": { # The shading of a paragraph. # The shading of the paragraph. If unset, the value is inherited from the |
| # parent. |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of this paragraph shading. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| }, |
| "borderTop": { # A border around a paragraph. # The border at the top of this paragraph. If unset, the value is inherited |
| # from the parent. |
| # |
| # The top border is rendered when the paragraph above has different border |
| # and indent properties. |
| # |
| # Paragraph borders cannot be partially updated. When making |
| # changes to a paragraph border the new border must be specified in |
| # its entirety. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| }, |
| "tabStops": [ # A list of the tab stops for this paragraph. The list of tab stops is not |
| # inherited. This property is read-only. |
| { # A tab stop within a paragraph. |
| "alignment": "A String", # The alignment of this tab stop. If unset, the value defaults to START. |
| "offset": { # A magnitude in a single direction in the specified units. # The offset between this tab stop and the start margin. |
| "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 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. |
| "keepLinesTogether": True or False, # Whether all lines of the paragraph should be laid out on the same page or |
| # column if possible. If unset, the value is inherited from the parent. |
| }, |
| }, |
| "table": { # A StructuralElement representing a # A table type of structural element. |
| # table. |
| "rows": 42, # Number of rows in the table. |
| "tableStyle": { # Styles that apply to a table. # The style of the table. |
| "tableColumnProperties": [ # The properties of each column. |
| # |
| # Note that in Docs, tables contain rows and rows contain cells, similar to |
| # HTML. So the properties for a row can be found on the row's |
| # table_row_style. |
| { # The properties of a column in a table. |
| "width": { # A magnitude in a single direction in the specified units. # The width of the column. Set when the column's `width_type` is |
| # FIXED_WIDTH. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "widthType": "A String", # The width type of the column. |
| }, |
| ], |
| }, |
| "suggestedInsertionIds": [ # The suggested insertion IDs. A Table may have |
| # multiple insertion IDs if it is a nested suggested change. If empty, then |
| # this is not a suggested insertion. |
| "A String", |
| ], |
| "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| # of this content. |
| "A String", |
| ], |
| "tableRows": [ # The contents and style of each row. |
| { # The contents and style of a row in a Table. |
| "endIndex": 42, # The zero-based end index of this row, exclusive, in UTF-16 code units. |
| "tableCells": [ # The contents and style of each cell in this row. |
| # |
| # It is possible for a table to be non-rectangular, so some rows may have a |
| # different number of cells than other rows in the same table. |
| { # The contents and style of a cell in a Table. |
| "endIndex": 42, # The zero-based end index of this cell, exclusive, in UTF-16 code units. |
| "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| # of this content. |
| "A String", |
| ], |
| "suggestedInsertionIds": [ # The suggested insertion IDs. A TableCell |
| # may have multiple insertion IDs if it is a nested suggested change. If |
| # empty, then this is not a suggested insertion. |
| "A String", |
| ], |
| "content": [ # The content of the cell. |
| # Object with schema name: StructuralElement |
| ], |
| "tableCellStyle": { # The style of a TableCell. # The style of the cell. |
| # |
| # Inherited table cell styles are represented as unset fields in this message. |
| # A table cell style can inherit from the table's style. |
| "paddingBottom": { # A magnitude in a single direction in the specified units. # The bottom padding of the cell. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "borderBottom": { # A border around a table cell. # The bottom border of the cell. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| }, |
| "paddingLeft": { # A magnitude in a single direction in the specified units. # The left padding of the cell. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "paddingTop": { # A magnitude in a single direction in the specified units. # The top padding of the cell. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "borderLeft": { # A border around a table cell. # The left border of the cell. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| }, |
| "columnSpan": 42, # The column span of the cell. This property is read-only. |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the cell. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "borderRight": { # A border around a table cell. # The right border of the cell. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| }, |
| "rowSpan": 42, # The row span of the cell. This property is read-only. |
| "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 Docs editor. |
| "paddingRight": { # A magnitude in a single direction in the specified units. # The right padding of the cell. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "borderTop": { # A border around a table cell. # The top border of the cell. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| }, |
| }, |
| "startIndex": 42, # The zero-based start index of this cell, in UTF-16 code units. |
| "suggestedTableCellStyleChanges": { # The suggested changes to the table cell style, keyed by suggestion ID. |
| "a_key": { # A suggested change to a TableCellStyle. |
| "tableCellStyle": { # The style of a TableCell. # A TableCellStyle that only includes |
| # the changes made in this suggestion. This can be used along with the |
| # table_cell_style_suggestion_state |
| # to see which fields have changed and their new values. |
| # |
| # Inherited table cell styles are represented as unset fields in this message. |
| # A table cell style can inherit from the table's style. |
| "paddingBottom": { # A magnitude in a single direction in the specified units. # The bottom padding of the cell. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "borderBottom": { # A border around a table cell. # The bottom border of the cell. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| }, |
| "paddingLeft": { # A magnitude in a single direction in the specified units. # The left padding of the cell. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "paddingTop": { # A magnitude in a single direction in the specified units. # The top padding of the cell. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "borderLeft": { # A border around a table cell. # The left border of the cell. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| }, |
| "columnSpan": 42, # The column span of the cell. This property is read-only. |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the cell. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "borderRight": { # A border around a table cell. # The right border of the cell. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| }, |
| "rowSpan": 42, # The row span of the cell. This property is read-only. |
| "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 Docs editor. |
| "paddingRight": { # A magnitude in a single direction in the specified units. # The right padding of the cell. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "borderTop": { # A border around a table cell. # The top border of the cell. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| }, |
| }, |
| "tableCellStyleSuggestionState": { # A mask that indicates which of the fields on the base TableCellStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TableCellStyle have been changed in this suggestion. |
| # For any field set to true, there is a new suggested value. |
| "borderRightSuggested": True or False, # Indicates if there was a suggested change to border_right. |
| "borderBottomSuggested": True or False, # Indicates if there was a suggested change to border_bottom. |
| "paddingBottomSuggested": True or False, # Indicates if there was a suggested change to padding_bottom. |
| "contentAlignmentSuggested": True or False, # Indicates if there was a suggested change to content_alignment. |
| "rowSpanSuggested": True or False, # Indicates if there was a suggested change to row_span. |
| "borderLeftSuggested": True or False, # Indicates if there was a suggested change to border_left. |
| "borderTopSuggested": True or False, # Indicates if there was a suggested change to border_top. |
| "columnSpanSuggested": True or False, # Indicates if there was a suggested change to column_span. |
| "paddingRightSuggested": True or False, # Indicates if there was a suggested change to padding_right. |
| "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| "paddingLeftSuggested": True or False, # Indicates if there was a suggested change to padding_left. |
| "paddingTopSuggested": True or False, # Indicates if there was a suggested change to padding_top. |
| }, |
| }, |
| }, |
| }, |
| ], |
| "tableRowStyle": { # Styles that apply to a table row. # The style of the table row. |
| "minRowHeight": { # A magnitude in a single direction in the specified units. # The minimum height of the row. The row will be rendered in the Docs editor |
| # at a height equal to or greater than this value in order to show all the |
| # content in the row's cells. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| }, |
| "suggestedInsertionIds": [ # The suggested insertion IDs. A TableRow |
| # may have multiple insertion IDs if it is a nested suggested change. If |
| # empty, then this is not a suggested insertion. |
| "A String", |
| ], |
| "startIndex": 42, # The zero-based start index of this row, in UTF-16 code units. |
| "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| # of this content. |
| "A String", |
| ], |
| "suggestedTableRowStyleChanges": { # The suggested style changes to this row, keyed by suggestion ID. |
| "a_key": { # A suggested change to a |
| # TableRowStyle. |
| "tableRowStyle": { # Styles that apply to a table row. # A TableRowStyle that only includes |
| # the changes made in this suggestion. This can be used along with the |
| # table_row_style_suggestion_state |
| # to see which fields have changed and their new values. |
| "minRowHeight": { # A magnitude in a single direction in the specified units. # The minimum height of the row. The row will be rendered in the Docs editor |
| # at a height equal to or greater than this value in order to show all the |
| # content in the row's cells. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| }, |
| "tableRowStyleSuggestionState": { # A mask that indicates which of the fields on the base TableRowStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TableRowStyle have been changed in this suggestion. |
| # For any field set to true, there is a new suggested value. |
| "minRowHeightSuggested": True or False, # Indicates if there was a suggested change to min_row_height. |
| }, |
| }, |
| }, |
| }, |
| ], |
| "columns": 42, # Number of columns in the table. |
| # |
| # It is possible for a table to be non-rectangular, so some rows may have a |
| # different number of cells. |
| }, |
| }, |
| ], |
| }, |
| }, |
| "namedStyles": { # The named styles. Paragraphs in the document can inherit their # The named styles of the document. |
| # TextStyle and |
| # ParagraphStyle from these named styles. |
| "styles": [ # The named styles. |
| # |
| # There is an entry for each of the possible named style types. |
| { # A named style. Paragraphs in the document can inherit their |
| # TextStyle and |
| # ParagraphStyle from this named style |
| # when they have the same named style type. |
| "textStyle": { # Represents the styling that can be applied to text. # The text style of this named style. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "namedStyleType": "A String", # The type of this named style. |
| "paragraphStyle": { # Styles that apply to a whole paragraph. # The paragraph style of this named style. |
| # |
| # Inherited paragraph styles are represented as unset fields in this message. |
| # A paragraph style's parent depends on where the paragraph style is defined: |
| # |
| # * The ParagraphStyle on a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The ParagraphStyle on a named style |
| # inherits from the normal text named style. |
| # * The ParagraphStyle of the normal text named style inherits |
| # from the default paragraph style in the Docs editor. |
| # * The ParagraphStyle on a Paragraph |
| # element that is contained in a table may inherit its paragraph style from |
| # the table style. |
| # |
| # If the paragraph style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "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 |
| # paragraph 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. |
| }, |
| "keepWithNext": True or False, # Whether at least a part of this paragraph should be laid out on the same |
| # page or column as the next paragraph if possible. If unset, the value is |
| # inherited from the parent. |
| "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. |
| "avoidWidowAndOrphan": True or False, # Whether to avoid widows and orphans for the paragraph. If unset, the value |
| # is inherited from the parent. |
| "borderBottom": { # A border around a paragraph. # The border at the bottom of this paragraph. If unset, the value is |
| # inherited from the parent. |
| # |
| # The bottom border is rendered when the paragraph below has different border |
| # and indent properties. |
| # |
| # Paragraph borders cannot be partially updated. When making |
| # changes to a paragraph border the new border must be specified in |
| # its entirety. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| }, |
| "indentStart": { # A magnitude in a single direction in the specified units. # The amount of indentation for the paragraph on the side that corresponds to |
| # the start of the text, based on the current paragraph direction. If unset, |
| # the value is inherited from the parent. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "borderBetween": { # A border around a paragraph. # The border between this paragraph and the next and previous paragraphs. |
| # If unset, the value is inherited from the parent. |
| # |
| # The between border is rendered when the adjacent paragraph has the same |
| # border and indent properties. |
| # |
| # Paragraph borders cannot be partially updated. When making |
| # changes to a paragraph border the new border must be specified in |
| # its entirety. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| }, |
| "namedStyleType": "A String", # The named style type of the paragraph. |
| # |
| # Since updating the named style type affects other properties within |
| # ParagraphStyle, the named style type is applied before the other properties |
| # are updated. |
| "borderRight": { # A border around a paragraph. # The border to the right of this paragraph. If unset, the value is inherited |
| # from the parent. |
| # |
| # Paragraph borders cannot be partially updated. When making |
| # changes to a paragraph border the new border must be specified in |
| # its entirety. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| "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 of indentation for the paragraph on the side that corresponds to |
| # the end of the text, based on the current paragraph direction. If unset, |
| # the value is inherited from the parent. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "borderLeft": { # A border around a paragraph. # The border to the left of this paragraph. If unset, the value is inherited |
| # from the parent. |
| # |
| # Paragraph borders cannot be partially updated. When making |
| # changes to a paragraph border the new border must be specified in |
| # its entirety. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| "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. |
| }, |
| "headingId": "A String", # The heading ID of the paragraph. If empty, then this paragraph is not a |
| # heading. This property is read-only. |
| "shading": { # The shading of a paragraph. # The shading of the paragraph. If unset, the value is inherited from the |
| # parent. |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of this paragraph shading. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| }, |
| "borderTop": { # A border around a paragraph. # The border at the top of this paragraph. If unset, the value is inherited |
| # from the parent. |
| # |
| # The top border is rendered when the paragraph above has different border |
| # and indent properties. |
| # |
| # Paragraph borders cannot be partially updated. When making |
| # changes to a paragraph border the new border must be specified in |
| # its entirety. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| }, |
| "tabStops": [ # A list of the tab stops for this paragraph. The list of tab stops is not |
| # inherited. This property is read-only. |
| { # A tab stop within a paragraph. |
| "alignment": "A String", # The alignment of this tab stop. If unset, the value defaults to START. |
| "offset": { # A magnitude in a single direction in the specified units. # The offset between this tab stop and the start margin. |
| "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 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. |
| "keepLinesTogether": True or False, # Whether all lines of the paragraph should be laid out on the same page or |
| # column if possible. If unset, the value is inherited from the parent. |
| }, |
| }, |
| ], |
| }, |
| "footers": { # The footers in the document, keyed by footer ID. |
| "a_key": { # A document footer. |
| "content": [ # The contents of the footer. |
| # |
| # The indexes for a footer's content begin at zero. |
| { # A StructuralElement describes content that provides structure to the |
| # document. |
| "endIndex": 42, # The zero-based end index of this structural element, exclusive, in UTF-16 |
| # code units. |
| "sectionBreak": { # A StructuralElement representing a # A section break type of structural element. |
| # section break. A section is a range of content which has the same |
| # SectionStyle. A section break represents |
| # the start of a new section, and the section style applies to the section |
| # after the section break. |
| # |
| # The document body always begins with a section break. |
| "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| # of this content. |
| "A String", |
| ], |
| "sectionStyle": { # The styling that applies to a section. # The style of the section after this section break. |
| "contentDirection": "A String", # The content direction of this section. If unset, the value defaults to |
| # LEFT_TO_RIGHT. |
| "columnProperties": [ # The section's columns properties. |
| # |
| # If empty, the section contains one column with the default properties in |
| # the Docs editor. |
| { # Properties that apply to a section's column. |
| "width": { # A magnitude in a single direction in the specified units. # The width of the column. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "paddingEnd": { # A magnitude in a single direction in the specified units. # The padding at the end of the column. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| }, |
| ], |
| "columnSeparatorStyle": "A String", # The style of column separators. |
| # |
| # This style can be set even when there is one column in the section. |
| }, |
| "suggestedInsertionIds": [ # The suggested insertion IDs. A SectionBreak may have multiple insertion IDs if it is |
| # a nested suggested change. If empty, then this is not a suggested |
| # insertion. |
| "A String", |
| ], |
| }, |
| "tableOfContents": { # A StructuralElement representing # A table of contents type of structural element. |
| # a table of contents. |
| "content": [ # The content of the table of contents. |
| # Object with schema name: StructuralElement |
| ], |
| "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| # of this content. |
| "A String", |
| ], |
| "suggestedInsertionIds": [ # The suggested insertion IDs. A TableOfContents may have multiple insertion IDs if it |
| # is a nested suggested change. If empty, then this is not a suggested |
| # insertion. |
| "A String", |
| ], |
| }, |
| "startIndex": 42, # The zero-based start index of this structural element, in UTF-16 code |
| # units. |
| "paragraph": { # A StructuralElement representing a # A paragraph type of structural element. |
| # paragraph. A paragraph is a range of content that is terminated with a |
| # newline character. |
| "elements": [ # The content of the paragraph broken down into its component parts. |
| { # A ParagraphElement describes content within a |
| # Paragraph. |
| "endIndex": 42, # The zero-base end index of this paragraph element, exclusive, in UTF-16 |
| # code units. |
| "equation": { # A ParagraphElement representing an # An equation paragraph element. |
| # equation. |
| "suggestedInsertionIds": [ # The suggested insertion IDs. A Equation |
| # may have multiple insertion IDs if it is a nested suggested change. If |
| # empty, then this is not a suggested insertion. |
| "A String", |
| ], |
| "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| # of this content. |
| "A String", |
| ], |
| }, |
| "columnBreak": { # A ParagraphElement representing a # A column break paragraph element. |
| # column break. A column break makes the subsequent text start at the top of |
| # the next column. |
| "textStyle": { # Represents the styling that can be applied to text. # The text style of this ColumnBreak. |
| # |
| # Similar to text content, like text runs and footnote references, the text |
| # style of a column break can affect content layout as well as the styling of |
| # text inserted adjacent to it. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "suggestedInsertionIds": [ # The suggested insertion IDs. A ColumnBreak may have multiple insertion IDs if it is |
| # a nested suggested change. If empty, then this is not a suggested |
| # insertion. |
| "A String", |
| ], |
| "suggestedTextStyleChanges": { # The suggested text style changes to this ColumnBreak, keyed by suggestion |
| # ID. |
| "a_key": { # A suggested change to a TextStyle. |
| "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| # the changes made in this suggestion. This can be used along with the |
| # text_style_suggestion_state |
| # to see which fields have changed and their new values. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| # For any field set to true, there is a new suggested value. |
| "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| }, |
| }, |
| }, |
| "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| # of this content. |
| "A String", |
| ], |
| }, |
| "startIndex": 42, # The zero-based start index of this paragraph element, in UTF-16 code units. |
| "pageBreak": { # A ParagraphElement representing a # A page break paragraph element. |
| # page break. A page break makes the subsequent text start at the top of the |
| # next page. |
| "textStyle": { # Represents the styling that can be applied to text. # The text style of this PageBreak. |
| # |
| # Similar to text content, like text runs and footnote references, the text |
| # style of a page break can affect content layout as well as the styling of |
| # text inserted adjacent to it. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| # of this content. |
| "A String", |
| ], |
| "suggestedTextStyleChanges": { # The suggested text style changes to this PageBreak, keyed by suggestion ID. |
| "a_key": { # A suggested change to a TextStyle. |
| "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| # the changes made in this suggestion. This can be used along with the |
| # text_style_suggestion_state |
| # to see which fields have changed and their new values. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| # For any field set to true, there is a new suggested value. |
| "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| }, |
| }, |
| }, |
| "suggestedInsertionIds": [ # The suggested insertion IDs. A PageBreak |
| # may have multiple insertion IDs if it is a nested suggested change. If |
| # empty, then this is not a suggested insertion. |
| "A String", |
| ], |
| }, |
| "horizontalRule": { # A ParagraphElement representing a # A horizontal rule paragraph element. |
| # horizontal line. |
| "textStyle": { # Represents the styling that can be applied to text. # The text style of this HorizontalRule. |
| # |
| # Similar to text content, like text runs and footnote references, the text |
| # style of a horizontal rule can affect content layout as well as the styling |
| # of text inserted adjacent to it. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "suggestedInsertionIds": [ # The suggested insertion IDs. A HorizontalRule may have multiple insertion IDs if it |
| # is a nested suggested change. If empty, then this is not a suggested |
| # insertion. |
| "A String", |
| ], |
| "suggestedTextStyleChanges": { # The suggested text style changes to this HorizontalRule, keyed by |
| # suggestion ID. |
| "a_key": { # A suggested change to a TextStyle. |
| "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| # the changes made in this suggestion. This can be used along with the |
| # text_style_suggestion_state |
| # to see which fields have changed and their new values. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| # For any field set to true, there is a new suggested value. |
| "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| }, |
| }, |
| }, |
| "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| # of this content. |
| "A String", |
| ], |
| }, |
| "textRun": { # A ParagraphElement that represents a # A text run paragraph element. |
| # run of text that all has the same styling. |
| "content": "A String", # The text of this run. |
| # |
| # Any non-text elements in the run are replaced with the Unicode character |
| # U+E907. |
| "textStyle": { # Represents the styling that can be applied to text. # The text style of this run. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "suggestedInsertionIds": [ # The suggested insertion IDs. A TextRun may |
| # have multiple insertion IDs if it is a nested suggested change. If empty, |
| # then this is not a suggested insertion. |
| "A String", |
| ], |
| "suggestedTextStyleChanges": { # The suggested text style changes to this run, keyed by suggestion ID. |
| "a_key": { # A suggested change to a TextStyle. |
| "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| # the changes made in this suggestion. This can be used along with the |
| # text_style_suggestion_state |
| # to see which fields have changed and their new values. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| # For any field set to true, there is a new suggested value. |
| "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| }, |
| }, |
| }, |
| "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| # of this content. |
| "A String", |
| ], |
| }, |
| "autoText": { # A ParagraphElement representing a # An auto text paragraph element. |
| # spot in the text that is dynamically replaced with content that can change |
| # over time, like a page number. |
| "textStyle": { # Represents the styling that can be applied to text. # The text style of this AutoText. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| # of this content. |
| "A String", |
| ], |
| "suggestedTextStyleChanges": { # The suggested text style changes to this AutoText, keyed by suggestion ID. |
| "a_key": { # A suggested change to a TextStyle. |
| "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| # the changes made in this suggestion. This can be used along with the |
| # text_style_suggestion_state |
| # to see which fields have changed and their new values. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| # For any field set to true, there is a new suggested value. |
| "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| }, |
| }, |
| }, |
| "type": "A String", # The type of this auto text. |
| "suggestedInsertionIds": [ # The suggested insertion IDs. An AutoText |
| # may have multiple insertion IDs if it is a nested suggested change. If |
| # empty, then this is not a suggested insertion. |
| "A String", |
| ], |
| }, |
| "inlineObjectElement": { # A ParagraphElement that contains # An inline object paragraph element. |
| # an InlineObject. |
| "textStyle": { # Represents the styling that can be applied to text. # The text style of this InlineObjectElement. |
| # |
| # Similar to text content, like text runs and footnote references, the text |
| # style of an inline object element can affect content layout as well as the |
| # styling of text inserted adjacent to it. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| # of this content. |
| "A String", |
| ], |
| "suggestedTextStyleChanges": { # The suggested text style changes to this InlineObject, keyed by suggestion |
| # ID. |
| "a_key": { # A suggested change to a TextStyle. |
| "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| # the changes made in this suggestion. This can be used along with the |
| # text_style_suggestion_state |
| # to see which fields have changed and their new values. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| # For any field set to true, there is a new suggested value. |
| "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| }, |
| }, |
| }, |
| "inlineObjectId": "A String", # The ID of the InlineObject this |
| # element contains. |
| "suggestedInsertionIds": [ # The suggested insertion IDs. An InlineObjectElement may have multiple insertion IDs |
| # if it is a nested suggested change. If empty, then this is not a suggested |
| # insertion. |
| "A String", |
| ], |
| }, |
| "footnoteReference": { # A ParagraphElement representing a # A footnote reference paragraph element. |
| # footnote reference. A footnote reference is the inline content rendered with |
| # a number and is used to identify the footnote. |
| "textStyle": { # Represents the styling that can be applied to text. # The text style of this FootnoteReference. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "footnoteNumber": "A String", # The rendered number of this footnote. |
| "suggestedInsertionIds": [ # The suggested insertion IDs. A FootnoteReference may have multiple insertion IDs if |
| # it is a nested suggested change. If empty, then this is not a suggested |
| # insertion. |
| "A String", |
| ], |
| "footnoteId": "A String", # The ID of the footnote that |
| # contains the content of this footnote reference. |
| "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| # of this content. |
| "A String", |
| ], |
| "suggestedTextStyleChanges": { # The suggested text style changes to this FootnoteReference, keyed by |
| # suggestion ID. |
| "a_key": { # A suggested change to a TextStyle. |
| "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| # the changes made in this suggestion. This can be used along with the |
| # text_style_suggestion_state |
| # to see which fields have changed and their new values. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| # For any field set to true, there is a new suggested value. |
| "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| }, |
| }, |
| }, |
| }, |
| }, |
| ], |
| "suggestedPositionedObjectIds": { # The IDs of the positioned objects that are suggested to be attached to this |
| # paragraph, keyed by suggestion ID. |
| "a_key": { # A collection of object IDs. |
| "objectIds": [ # The object IDs. |
| "A String", |
| ], |
| }, |
| }, |
| "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. |
| "textStyle": { # Represents the styling that can be applied to text. # The paragraph specific text style applied to this bullet. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| }, |
| "suggestedBulletChanges": { # The suggested changes to this paragraph's bullet. |
| "a_key": { # A suggested change to a Bullet. |
| "bullet": { # Describes the bullet of a paragraph. # A Bullet that only includes the changes made |
| # in this suggestion. This can be used along with the |
| # bullet_suggestion_state to see which |
| # fields have changed and their new values. |
| "nestingLevel": 42, # The nesting level of this paragraph in the list. |
| "listId": "A String", # The ID of the list this paragraph belongs to. |
| "textStyle": { # Represents the styling that can be applied to text. # The paragraph specific text style applied to this bullet. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| }, |
| "bulletSuggestionState": { # A mask that indicates which of the fields on the base # A mask that indicates which of the fields on the base |
| # Bullet have been changed in this suggestion. |
| # Bullet have been changed in this suggestion. |
| # For any field set to true, there is a new suggested value. |
| "nestingLevelSuggested": True or False, # Indicates if there was a suggested change to the |
| # nesting_level. |
| "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields in text style have been changed in this |
| # suggestion. |
| # For any field set to true, there is a new suggested value. |
| "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| }, |
| "listIdSuggested": True or False, # Indicates if there was a suggested change to the |
| # list_id. |
| }, |
| }, |
| }, |
| "positionedObjectIds": [ # The IDs of the positioned objects tethered to this paragraph. |
| "A String", |
| ], |
| "suggestedParagraphStyleChanges": { # The suggested paragraph style changes to this paragraph, keyed by |
| # suggestion ID. |
| "a_key": { # A suggested change to a |
| # ParagraphStyle. |
| "paragraphStyleSuggestionState": { # A mask that indicates which of the fields on the base ParagraphStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base ParagraphStyle have been changed in this suggestion. |
| # For any field set to true, there is a new suggested value. |
| "avoidWidowAndOrphanSuggested": True or False, # Indicates if there was a suggested change to avoid_widow_and_orphan. |
| "lineSpacingSuggested": True or False, # Indicates if there was a suggested change to line_spacing. |
| "spacingModeSuggested": True or False, # Indicates if there was a suggested change to spacing_mode. |
| "spaceBelowSuggested": True or False, # Indicates if there was a suggested change to space_below. |
| "borderRightSuggested": True or False, # Indicates if there was a suggested change to border_right. |
| "indentStartSuggested": True or False, # Indicates if there was a suggested change to indent_start. |
| "namedStyleTypeSuggested": True or False, # Indicates if there was a suggested change to named_style_type. |
| "indentEndSuggested": True or False, # Indicates if there was a suggested change to indent_end. |
| "borderBetweenSuggested": True or False, # Indicates if there was a suggested change to border_between. |
| "borderTopSuggested": True or False, # Indicates if there was a suggested change to border_top. |
| "borderLeftSuggested": True or False, # Indicates if there was a suggested change to border_left. |
| "keepWithNextSuggested": True or False, # Indicates if there was a suggested change to keep_with_next. |
| "spaceAboveSuggested": True or False, # Indicates if there was a suggested change to space_above. |
| "alignmentSuggested": True or False, # Indicates if there was a suggested change to alignment. |
| "indentFirstLineSuggested": True or False, # Indicates if there was a suggested change to indent_first_line. |
| "headingIdSuggested": True or False, # Indicates if there was a suggested change to heading_id. |
| "borderBottomSuggested": True or False, # Indicates if there was a suggested change to border_bottom. |
| "directionSuggested": True or False, # Indicates if there was a suggested change to direction. |
| "keepLinesTogetherSuggested": True or False, # Indicates if there was a suggested change to keep_lines_together. |
| "shadingSuggestionState": { # A mask that indicates which of the fields on the base Shading have been changed in this # A mask that indicates which of the fields in shading have been changed in |
| # this suggestion. |
| # suggested change. For any field set to true, there is a new suggested value. |
| "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to the Shading. |
| }, |
| }, |
| "paragraphStyle": { # Styles that apply to a whole paragraph. # A ParagraphStyle that only includes |
| # the changes made in this suggestion. This can be used along with the |
| # paragraph_suggestion_state |
| # to see which fields have changed and their new values. |
| # |
| # Inherited paragraph styles are represented as unset fields in this message. |
| # A paragraph style's parent depends on where the paragraph style is defined: |
| # |
| # * The ParagraphStyle on a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The ParagraphStyle on a named style |
| # inherits from the normal text named style. |
| # * The ParagraphStyle of the normal text named style inherits |
| # from the default paragraph style in the Docs editor. |
| # * The ParagraphStyle on a Paragraph |
| # element that is contained in a table may inherit its paragraph style from |
| # the table style. |
| # |
| # If the paragraph style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "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 |
| # paragraph 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. |
| }, |
| "keepWithNext": True or False, # Whether at least a part of this paragraph should be laid out on the same |
| # page or column as the next paragraph if possible. If unset, the value is |
| # inherited from the parent. |
| "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. |
| "avoidWidowAndOrphan": True or False, # Whether to avoid widows and orphans for the paragraph. If unset, the value |
| # is inherited from the parent. |
| "borderBottom": { # A border around a paragraph. # The border at the bottom of this paragraph. If unset, the value is |
| # inherited from the parent. |
| # |
| # The bottom border is rendered when the paragraph below has different border |
| # and indent properties. |
| # |
| # Paragraph borders cannot be partially updated. When making |
| # changes to a paragraph border the new border must be specified in |
| # its entirety. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| }, |
| "indentStart": { # A magnitude in a single direction in the specified units. # The amount of indentation for the paragraph on the side that corresponds to |
| # the start of the text, based on the current paragraph direction. If unset, |
| # the value is inherited from the parent. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "borderBetween": { # A border around a paragraph. # The border between this paragraph and the next and previous paragraphs. |
| # If unset, the value is inherited from the parent. |
| # |
| # The between border is rendered when the adjacent paragraph has the same |
| # border and indent properties. |
| # |
| # Paragraph borders cannot be partially updated. When making |
| # changes to a paragraph border the new border must be specified in |
| # its entirety. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| }, |
| "namedStyleType": "A String", # The named style type of the paragraph. |
| # |
| # Since updating the named style type affects other properties within |
| # ParagraphStyle, the named style type is applied before the other properties |
| # are updated. |
| "borderRight": { # A border around a paragraph. # The border to the right of this paragraph. If unset, the value is inherited |
| # from the parent. |
| # |
| # Paragraph borders cannot be partially updated. When making |
| # changes to a paragraph border the new border must be specified in |
| # its entirety. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| "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 of indentation for the paragraph on the side that corresponds to |
| # the end of the text, based on the current paragraph direction. If unset, |
| # the value is inherited from the parent. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "borderLeft": { # A border around a paragraph. # The border to the left of this paragraph. If unset, the value is inherited |
| # from the parent. |
| # |
| # Paragraph borders cannot be partially updated. When making |
| # changes to a paragraph border the new border must be specified in |
| # its entirety. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| "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. |
| }, |
| "headingId": "A String", # The heading ID of the paragraph. If empty, then this paragraph is not a |
| # heading. This property is read-only. |
| "shading": { # The shading of a paragraph. # The shading of the paragraph. If unset, the value is inherited from the |
| # parent. |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of this paragraph shading. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| }, |
| "borderTop": { # A border around a paragraph. # The border at the top of this paragraph. If unset, the value is inherited |
| # from the parent. |
| # |
| # The top border is rendered when the paragraph above has different border |
| # and indent properties. |
| # |
| # Paragraph borders cannot be partially updated. When making |
| # changes to a paragraph border the new border must be specified in |
| # its entirety. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| }, |
| "tabStops": [ # A list of the tab stops for this paragraph. The list of tab stops is not |
| # inherited. This property is read-only. |
| { # A tab stop within a paragraph. |
| "alignment": "A String", # The alignment of this tab stop. If unset, the value defaults to START. |
| "offset": { # A magnitude in a single direction in the specified units. # The offset between this tab stop and the start margin. |
| "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 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. |
| "keepLinesTogether": True or False, # Whether all lines of the paragraph should be laid out on the same page or |
| # column if possible. If unset, the value is inherited from the parent. |
| }, |
| }, |
| }, |
| "paragraphStyle": { # Styles that apply to a whole paragraph. # The style of this paragraph. |
| # |
| # Inherited paragraph styles are represented as unset fields in this message. |
| # A paragraph style's parent depends on where the paragraph style is defined: |
| # |
| # * The ParagraphStyle on a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The ParagraphStyle on a named style |
| # inherits from the normal text named style. |
| # * The ParagraphStyle of the normal text named style inherits |
| # from the default paragraph style in the Docs editor. |
| # * The ParagraphStyle on a Paragraph |
| # element that is contained in a table may inherit its paragraph style from |
| # the table style. |
| # |
| # If the paragraph style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "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 |
| # paragraph 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. |
| }, |
| "keepWithNext": True or False, # Whether at least a part of this paragraph should be laid out on the same |
| # page or column as the next paragraph if possible. If unset, the value is |
| # inherited from the parent. |
| "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. |
| "avoidWidowAndOrphan": True or False, # Whether to avoid widows and orphans for the paragraph. If unset, the value |
| # is inherited from the parent. |
| "borderBottom": { # A border around a paragraph. # The border at the bottom of this paragraph. If unset, the value is |
| # inherited from the parent. |
| # |
| # The bottom border is rendered when the paragraph below has different border |
| # and indent properties. |
| # |
| # Paragraph borders cannot be partially updated. When making |
| # changes to a paragraph border the new border must be specified in |
| # its entirety. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| }, |
| "indentStart": { # A magnitude in a single direction in the specified units. # The amount of indentation for the paragraph on the side that corresponds to |
| # the start of the text, based on the current paragraph direction. If unset, |
| # the value is inherited from the parent. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "borderBetween": { # A border around a paragraph. # The border between this paragraph and the next and previous paragraphs. |
| # If unset, the value is inherited from the parent. |
| # |
| # The between border is rendered when the adjacent paragraph has the same |
| # border and indent properties. |
| # |
| # Paragraph borders cannot be partially updated. When making |
| # changes to a paragraph border the new border must be specified in |
| # its entirety. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| }, |
| "namedStyleType": "A String", # The named style type of the paragraph. |
| # |
| # Since updating the named style type affects other properties within |
| # ParagraphStyle, the named style type is applied before the other properties |
| # are updated. |
| "borderRight": { # A border around a paragraph. # The border to the right of this paragraph. If unset, the value is inherited |
| # from the parent. |
| # |
| # Paragraph borders cannot be partially updated. When making |
| # changes to a paragraph border the new border must be specified in |
| # its entirety. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| "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 of indentation for the paragraph on the side that corresponds to |
| # the end of the text, based on the current paragraph direction. If unset, |
| # the value is inherited from the parent. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "borderLeft": { # A border around a paragraph. # The border to the left of this paragraph. If unset, the value is inherited |
| # from the parent. |
| # |
| # Paragraph borders cannot be partially updated. When making |
| # changes to a paragraph border the new border must be specified in |
| # its entirety. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| "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. |
| }, |
| "headingId": "A String", # The heading ID of the paragraph. If empty, then this paragraph is not a |
| # heading. This property is read-only. |
| "shading": { # The shading of a paragraph. # The shading of the paragraph. If unset, the value is inherited from the |
| # parent. |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of this paragraph shading. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| }, |
| "borderTop": { # A border around a paragraph. # The border at the top of this paragraph. If unset, the value is inherited |
| # from the parent. |
| # |
| # The top border is rendered when the paragraph above has different border |
| # and indent properties. |
| # |
| # Paragraph borders cannot be partially updated. When making |
| # changes to a paragraph border the new border must be specified in |
| # its entirety. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| }, |
| "tabStops": [ # A list of the tab stops for this paragraph. The list of tab stops is not |
| # inherited. This property is read-only. |
| { # A tab stop within a paragraph. |
| "alignment": "A String", # The alignment of this tab stop. If unset, the value defaults to START. |
| "offset": { # A magnitude in a single direction in the specified units. # The offset between this tab stop and the start margin. |
| "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 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. |
| "keepLinesTogether": True or False, # Whether all lines of the paragraph should be laid out on the same page or |
| # column if possible. If unset, the value is inherited from the parent. |
| }, |
| }, |
| "table": { # A StructuralElement representing a # A table type of structural element. |
| # table. |
| "rows": 42, # Number of rows in the table. |
| "tableStyle": { # Styles that apply to a table. # The style of the table. |
| "tableColumnProperties": [ # The properties of each column. |
| # |
| # Note that in Docs, tables contain rows and rows contain cells, similar to |
| # HTML. So the properties for a row can be found on the row's |
| # table_row_style. |
| { # The properties of a column in a table. |
| "width": { # A magnitude in a single direction in the specified units. # The width of the column. Set when the column's `width_type` is |
| # FIXED_WIDTH. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "widthType": "A String", # The width type of the column. |
| }, |
| ], |
| }, |
| "suggestedInsertionIds": [ # The suggested insertion IDs. A Table may have |
| # multiple insertion IDs if it is a nested suggested change. If empty, then |
| # this is not a suggested insertion. |
| "A String", |
| ], |
| "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| # of this content. |
| "A String", |
| ], |
| "tableRows": [ # The contents and style of each row. |
| { # The contents and style of a row in a Table. |
| "endIndex": 42, # The zero-based end index of this row, exclusive, in UTF-16 code units. |
| "tableCells": [ # The contents and style of each cell in this row. |
| # |
| # It is possible for a table to be non-rectangular, so some rows may have a |
| # different number of cells than other rows in the same table. |
| { # The contents and style of a cell in a Table. |
| "endIndex": 42, # The zero-based end index of this cell, exclusive, in UTF-16 code units. |
| "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| # of this content. |
| "A String", |
| ], |
| "suggestedInsertionIds": [ # The suggested insertion IDs. A TableCell |
| # may have multiple insertion IDs if it is a nested suggested change. If |
| # empty, then this is not a suggested insertion. |
| "A String", |
| ], |
| "content": [ # The content of the cell. |
| # Object with schema name: StructuralElement |
| ], |
| "tableCellStyle": { # The style of a TableCell. # The style of the cell. |
| # |
| # Inherited table cell styles are represented as unset fields in this message. |
| # A table cell style can inherit from the table's style. |
| "paddingBottom": { # A magnitude in a single direction in the specified units. # The bottom padding of the cell. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "borderBottom": { # A border around a table cell. # The bottom border of the cell. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| }, |
| "paddingLeft": { # A magnitude in a single direction in the specified units. # The left padding of the cell. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "paddingTop": { # A magnitude in a single direction in the specified units. # The top padding of the cell. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "borderLeft": { # A border around a table cell. # The left border of the cell. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| }, |
| "columnSpan": 42, # The column span of the cell. This property is read-only. |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the cell. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "borderRight": { # A border around a table cell. # The right border of the cell. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| }, |
| "rowSpan": 42, # The row span of the cell. This property is read-only. |
| "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 Docs editor. |
| "paddingRight": { # A magnitude in a single direction in the specified units. # The right padding of the cell. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "borderTop": { # A border around a table cell. # The top border of the cell. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| }, |
| }, |
| "startIndex": 42, # The zero-based start index of this cell, in UTF-16 code units. |
| "suggestedTableCellStyleChanges": { # The suggested changes to the table cell style, keyed by suggestion ID. |
| "a_key": { # A suggested change to a TableCellStyle. |
| "tableCellStyle": { # The style of a TableCell. # A TableCellStyle that only includes |
| # the changes made in this suggestion. This can be used along with the |
| # table_cell_style_suggestion_state |
| # to see which fields have changed and their new values. |
| # |
| # Inherited table cell styles are represented as unset fields in this message. |
| # A table cell style can inherit from the table's style. |
| "paddingBottom": { # A magnitude in a single direction in the specified units. # The bottom padding of the cell. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "borderBottom": { # A border around a table cell. # The bottom border of the cell. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| }, |
| "paddingLeft": { # A magnitude in a single direction in the specified units. # The left padding of the cell. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "paddingTop": { # A magnitude in a single direction in the specified units. # The top padding of the cell. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "borderLeft": { # A border around a table cell. # The left border of the cell. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| }, |
| "columnSpan": 42, # The column span of the cell. This property is read-only. |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the cell. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "borderRight": { # A border around a table cell. # The right border of the cell. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| }, |
| "rowSpan": 42, # The row span of the cell. This property is read-only. |
| "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 Docs editor. |
| "paddingRight": { # A magnitude in a single direction in the specified units. # The right padding of the cell. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "borderTop": { # A border around a table cell. # The top border of the cell. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| }, |
| }, |
| "tableCellStyleSuggestionState": { # A mask that indicates which of the fields on the base TableCellStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TableCellStyle have been changed in this suggestion. |
| # For any field set to true, there is a new suggested value. |
| "borderRightSuggested": True or False, # Indicates if there was a suggested change to border_right. |
| "borderBottomSuggested": True or False, # Indicates if there was a suggested change to border_bottom. |
| "paddingBottomSuggested": True or False, # Indicates if there was a suggested change to padding_bottom. |
| "contentAlignmentSuggested": True or False, # Indicates if there was a suggested change to content_alignment. |
| "rowSpanSuggested": True or False, # Indicates if there was a suggested change to row_span. |
| "borderLeftSuggested": True or False, # Indicates if there was a suggested change to border_left. |
| "borderTopSuggested": True or False, # Indicates if there was a suggested change to border_top. |
| "columnSpanSuggested": True or False, # Indicates if there was a suggested change to column_span. |
| "paddingRightSuggested": True or False, # Indicates if there was a suggested change to padding_right. |
| "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| "paddingLeftSuggested": True or False, # Indicates if there was a suggested change to padding_left. |
| "paddingTopSuggested": True or False, # Indicates if there was a suggested change to padding_top. |
| }, |
| }, |
| }, |
| }, |
| ], |
| "tableRowStyle": { # Styles that apply to a table row. # The style of the table row. |
| "minRowHeight": { # A magnitude in a single direction in the specified units. # The minimum height of the row. The row will be rendered in the Docs editor |
| # at a height equal to or greater than this value in order to show all the |
| # content in the row's cells. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| }, |
| "suggestedInsertionIds": [ # The suggested insertion IDs. A TableRow |
| # may have multiple insertion IDs if it is a nested suggested change. If |
| # empty, then this is not a suggested insertion. |
| "A String", |
| ], |
| "startIndex": 42, # The zero-based start index of this row, in UTF-16 code units. |
| "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| # of this content. |
| "A String", |
| ], |
| "suggestedTableRowStyleChanges": { # The suggested style changes to this row, keyed by suggestion ID. |
| "a_key": { # A suggested change to a |
| # TableRowStyle. |
| "tableRowStyle": { # Styles that apply to a table row. # A TableRowStyle that only includes |
| # the changes made in this suggestion. This can be used along with the |
| # table_row_style_suggestion_state |
| # to see which fields have changed and their new values. |
| "minRowHeight": { # A magnitude in a single direction in the specified units. # The minimum height of the row. The row will be rendered in the Docs editor |
| # at a height equal to or greater than this value in order to show all the |
| # content in the row's cells. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| }, |
| "tableRowStyleSuggestionState": { # A mask that indicates which of the fields on the base TableRowStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TableRowStyle have been changed in this suggestion. |
| # For any field set to true, there is a new suggested value. |
| "minRowHeightSuggested": True or False, # Indicates if there was a suggested change to min_row_height. |
| }, |
| }, |
| }, |
| }, |
| ], |
| "columns": 42, # Number of columns in the table. |
| # |
| # It is possible for a table to be non-rectangular, so some rows may have a |
| # different number of cells. |
| }, |
| }, |
| ], |
| "footerId": "A String", # The ID of the footer. |
| }, |
| }, |
| "footnotes": { # The footnotes in the document, keyed by footnote ID. |
| "a_key": { # A document footnote. |
| "content": [ # The contents of the footnote. |
| # |
| # The indexes for a footnote's content begin at zero. |
| { # A StructuralElement describes content that provides structure to the |
| # document. |
| "endIndex": 42, # The zero-based end index of this structural element, exclusive, in UTF-16 |
| # code units. |
| "sectionBreak": { # A StructuralElement representing a # A section break type of structural element. |
| # section break. A section is a range of content which has the same |
| # SectionStyle. A section break represents |
| # the start of a new section, and the section style applies to the section |
| # after the section break. |
| # |
| # The document body always begins with a section break. |
| "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| # of this content. |
| "A String", |
| ], |
| "sectionStyle": { # The styling that applies to a section. # The style of the section after this section break. |
| "contentDirection": "A String", # The content direction of this section. If unset, the value defaults to |
| # LEFT_TO_RIGHT. |
| "columnProperties": [ # The section's columns properties. |
| # |
| # If empty, the section contains one column with the default properties in |
| # the Docs editor. |
| { # Properties that apply to a section's column. |
| "width": { # A magnitude in a single direction in the specified units. # The width of the column. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "paddingEnd": { # A magnitude in a single direction in the specified units. # The padding at the end of the column. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| }, |
| ], |
| "columnSeparatorStyle": "A String", # The style of column separators. |
| # |
| # This style can be set even when there is one column in the section. |
| }, |
| "suggestedInsertionIds": [ # The suggested insertion IDs. A SectionBreak may have multiple insertion IDs if it is |
| # a nested suggested change. If empty, then this is not a suggested |
| # insertion. |
| "A String", |
| ], |
| }, |
| "tableOfContents": { # A StructuralElement representing # A table of contents type of structural element. |
| # a table of contents. |
| "content": [ # The content of the table of contents. |
| # Object with schema name: StructuralElement |
| ], |
| "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| # of this content. |
| "A String", |
| ], |
| "suggestedInsertionIds": [ # The suggested insertion IDs. A TableOfContents may have multiple insertion IDs if it |
| # is a nested suggested change. If empty, then this is not a suggested |
| # insertion. |
| "A String", |
| ], |
| }, |
| "startIndex": 42, # The zero-based start index of this structural element, in UTF-16 code |
| # units. |
| "paragraph": { # A StructuralElement representing a # A paragraph type of structural element. |
| # paragraph. A paragraph is a range of content that is terminated with a |
| # newline character. |
| "elements": [ # The content of the paragraph broken down into its component parts. |
| { # A ParagraphElement describes content within a |
| # Paragraph. |
| "endIndex": 42, # The zero-base end index of this paragraph element, exclusive, in UTF-16 |
| # code units. |
| "equation": { # A ParagraphElement representing an # An equation paragraph element. |
| # equation. |
| "suggestedInsertionIds": [ # The suggested insertion IDs. A Equation |
| # may have multiple insertion IDs if it is a nested suggested change. If |
| # empty, then this is not a suggested insertion. |
| "A String", |
| ], |
| "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| # of this content. |
| "A String", |
| ], |
| }, |
| "columnBreak": { # A ParagraphElement representing a # A column break paragraph element. |
| # column break. A column break makes the subsequent text start at the top of |
| # the next column. |
| "textStyle": { # Represents the styling that can be applied to text. # The text style of this ColumnBreak. |
| # |
| # Similar to text content, like text runs and footnote references, the text |
| # style of a column break can affect content layout as well as the styling of |
| # text inserted adjacent to it. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "suggestedInsertionIds": [ # The suggested insertion IDs. A ColumnBreak may have multiple insertion IDs if it is |
| # a nested suggested change. If empty, then this is not a suggested |
| # insertion. |
| "A String", |
| ], |
| "suggestedTextStyleChanges": { # The suggested text style changes to this ColumnBreak, keyed by suggestion |
| # ID. |
| "a_key": { # A suggested change to a TextStyle. |
| "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| # the changes made in this suggestion. This can be used along with the |
| # text_style_suggestion_state |
| # to see which fields have changed and their new values. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| # For any field set to true, there is a new suggested value. |
| "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| }, |
| }, |
| }, |
| "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| # of this content. |
| "A String", |
| ], |
| }, |
| "startIndex": 42, # The zero-based start index of this paragraph element, in UTF-16 code units. |
| "pageBreak": { # A ParagraphElement representing a # A page break paragraph element. |
| # page break. A page break makes the subsequent text start at the top of the |
| # next page. |
| "textStyle": { # Represents the styling that can be applied to text. # The text style of this PageBreak. |
| # |
| # Similar to text content, like text runs and footnote references, the text |
| # style of a page break can affect content layout as well as the styling of |
| # text inserted adjacent to it. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| # of this content. |
| "A String", |
| ], |
| "suggestedTextStyleChanges": { # The suggested text style changes to this PageBreak, keyed by suggestion ID. |
| "a_key": { # A suggested change to a TextStyle. |
| "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| # the changes made in this suggestion. This can be used along with the |
| # text_style_suggestion_state |
| # to see which fields have changed and their new values. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| # For any field set to true, there is a new suggested value. |
| "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| }, |
| }, |
| }, |
| "suggestedInsertionIds": [ # The suggested insertion IDs. A PageBreak |
| # may have multiple insertion IDs if it is a nested suggested change. If |
| # empty, then this is not a suggested insertion. |
| "A String", |
| ], |
| }, |
| "horizontalRule": { # A ParagraphElement representing a # A horizontal rule paragraph element. |
| # horizontal line. |
| "textStyle": { # Represents the styling that can be applied to text. # The text style of this HorizontalRule. |
| # |
| # Similar to text content, like text runs and footnote references, the text |
| # style of a horizontal rule can affect content layout as well as the styling |
| # of text inserted adjacent to it. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "suggestedInsertionIds": [ # The suggested insertion IDs. A HorizontalRule may have multiple insertion IDs if it |
| # is a nested suggested change. If empty, then this is not a suggested |
| # insertion. |
| "A String", |
| ], |
| "suggestedTextStyleChanges": { # The suggested text style changes to this HorizontalRule, keyed by |
| # suggestion ID. |
| "a_key": { # A suggested change to a TextStyle. |
| "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| # the changes made in this suggestion. This can be used along with the |
| # text_style_suggestion_state |
| # to see which fields have changed and their new values. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| # For any field set to true, there is a new suggested value. |
| "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| }, |
| }, |
| }, |
| "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| # of this content. |
| "A String", |
| ], |
| }, |
| "textRun": { # A ParagraphElement that represents a # A text run paragraph element. |
| # run of text that all has the same styling. |
| "content": "A String", # The text of this run. |
| # |
| # Any non-text elements in the run are replaced with the Unicode character |
| # U+E907. |
| "textStyle": { # Represents the styling that can be applied to text. # The text style of this run. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "suggestedInsertionIds": [ # The suggested insertion IDs. A TextRun may |
| # have multiple insertion IDs if it is a nested suggested change. If empty, |
| # then this is not a suggested insertion. |
| "A String", |
| ], |
| "suggestedTextStyleChanges": { # The suggested text style changes to this run, keyed by suggestion ID. |
| "a_key": { # A suggested change to a TextStyle. |
| "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| # the changes made in this suggestion. This can be used along with the |
| # text_style_suggestion_state |
| # to see which fields have changed and their new values. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| # For any field set to true, there is a new suggested value. |
| "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| }, |
| }, |
| }, |
| "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| # of this content. |
| "A String", |
| ], |
| }, |
| "autoText": { # A ParagraphElement representing a # An auto text paragraph element. |
| # spot in the text that is dynamically replaced with content that can change |
| # over time, like a page number. |
| "textStyle": { # Represents the styling that can be applied to text. # The text style of this AutoText. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| # of this content. |
| "A String", |
| ], |
| "suggestedTextStyleChanges": { # The suggested text style changes to this AutoText, keyed by suggestion ID. |
| "a_key": { # A suggested change to a TextStyle. |
| "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| # the changes made in this suggestion. This can be used along with the |
| # text_style_suggestion_state |
| # to see which fields have changed and their new values. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| # For any field set to true, there is a new suggested value. |
| "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| }, |
| }, |
| }, |
| "type": "A String", # The type of this auto text. |
| "suggestedInsertionIds": [ # The suggested insertion IDs. An AutoText |
| # may have multiple insertion IDs if it is a nested suggested change. If |
| # empty, then this is not a suggested insertion. |
| "A String", |
| ], |
| }, |
| "inlineObjectElement": { # A ParagraphElement that contains # An inline object paragraph element. |
| # an InlineObject. |
| "textStyle": { # Represents the styling that can be applied to text. # The text style of this InlineObjectElement. |
| # |
| # Similar to text content, like text runs and footnote references, the text |
| # style of an inline object element can affect content layout as well as the |
| # styling of text inserted adjacent to it. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| # of this content. |
| "A String", |
| ], |
| "suggestedTextStyleChanges": { # The suggested text style changes to this InlineObject, keyed by suggestion |
| # ID. |
| "a_key": { # A suggested change to a TextStyle. |
| "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| # the changes made in this suggestion. This can be used along with the |
| # text_style_suggestion_state |
| # to see which fields have changed and their new values. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| # For any field set to true, there is a new suggested value. |
| "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| }, |
| }, |
| }, |
| "inlineObjectId": "A String", # The ID of the InlineObject this |
| # element contains. |
| "suggestedInsertionIds": [ # The suggested insertion IDs. An InlineObjectElement may have multiple insertion IDs |
| # if it is a nested suggested change. If empty, then this is not a suggested |
| # insertion. |
| "A String", |
| ], |
| }, |
| "footnoteReference": { # A ParagraphElement representing a # A footnote reference paragraph element. |
| # footnote reference. A footnote reference is the inline content rendered with |
| # a number and is used to identify the footnote. |
| "textStyle": { # Represents the styling that can be applied to text. # The text style of this FootnoteReference. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "footnoteNumber": "A String", # The rendered number of this footnote. |
| "suggestedInsertionIds": [ # The suggested insertion IDs. A FootnoteReference may have multiple insertion IDs if |
| # it is a nested suggested change. If empty, then this is not a suggested |
| # insertion. |
| "A String", |
| ], |
| "footnoteId": "A String", # The ID of the footnote that |
| # contains the content of this footnote reference. |
| "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| # of this content. |
| "A String", |
| ], |
| "suggestedTextStyleChanges": { # The suggested text style changes to this FootnoteReference, keyed by |
| # suggestion ID. |
| "a_key": { # A suggested change to a TextStyle. |
| "textStyle": { # Represents the styling that can be applied to text. # A TextStyle that only includes |
| # the changes made in this suggestion. This can be used along with the |
| # text_style_suggestion_state |
| # to see which fields have changed and their new values. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. |
| # For any field set to true, there is a new suggested value. |
| "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| }, |
| }, |
| }, |
| }, |
| }, |
| ], |
| "suggestedPositionedObjectIds": { # The IDs of the positioned objects that are suggested to be attached to this |
| # paragraph, keyed by suggestion ID. |
| "a_key": { # A collection of object IDs. |
| "objectIds": [ # The object IDs. |
| "A String", |
| ], |
| }, |
| }, |
| "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. |
| "textStyle": { # Represents the styling that can be applied to text. # The paragraph specific text style applied to this bullet. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| }, |
| "suggestedBulletChanges": { # The suggested changes to this paragraph's bullet. |
| "a_key": { # A suggested change to a Bullet. |
| "bullet": { # Describes the bullet of a paragraph. # A Bullet that only includes the changes made |
| # in this suggestion. This can be used along with the |
| # bullet_suggestion_state to see which |
| # fields have changed and their new values. |
| "nestingLevel": 42, # The nesting level of this paragraph in the list. |
| "listId": "A String", # The ID of the list this paragraph belongs to. |
| "textStyle": { # Represents the styling that can be applied to text. # The paragraph specific text style applied to this bullet. |
| # |
| # Inherited text styles are represented as unset fields in this message. A |
| # text style's parent depends on where the text style is defined: |
| # |
| # * The TextStyle of text in a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The TextStyle on a named style |
| # inherits from the normal text named style. |
| # * The TextStyle of the normal text named style inherits |
| # from the default text style in the Docs editor. |
| # * The TextStyle on a Paragraph element |
| # that is contained in a table may inherit its text style from the table |
| # style. |
| # |
| # If the text style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The foreground color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "italic": True or False, # Whether or not the text is italicized. |
| "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 of text. # The font family and rendered weight of the text. |
| # |
| # 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 Docs or from |
| # [Google Fonts] (https://fonts.google.com/). If the font name is |
| # unrecognized, the text is rendered in `Arial`. |
| "weight": 42, # The weight of the font. 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. |
| # |
| # The default value is `400` ("normal"). |
| # |
| # The font weight makes up just one component of the rendered font weight. |
| # The rendered weight is determined by a combination of the `weight` and the |
| # text style's resolved `bold` value, after accounting for inheritance: |
| # |
| # * If the text is bold and the weight is less than `400`, the rendered |
| # weight is 400. |
| # * If the text is bold and the weight is greater than or equal to `400` but |
| # is less than `700`, the rendered weight is `700`. |
| # * If the weight is greater than or equal to `700`, the rendered weight is |
| # equal to the weight. |
| # * If the text is not bold, the rendered weight is equal to the weight. |
| }, |
| "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either an RGB color |
| # or transparent, depending on the `color` field. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "link": { # A reference to another portion of a document or an external URL resource. # 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 updated to the |
| # default link color 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. |
| "headingId": "A String", # The ID of a heading in this document. |
| "url": "A String", # An external URL. |
| "bookmarkId": "A String", # The ID of a bookmark in this document. |
| }, |
| "underline": True or False, # Whether or not the text is underlined. |
| "bold": True or False, # Whether or not the text is rendered as bold. |
| }, |
| }, |
| "bulletSuggestionState": { # A mask that indicates which of the fields on the base # A mask that indicates which of the fields on the base |
| # Bullet have been changed in this suggestion. |
| # Bullet have been changed in this suggestion. |
| # For any field set to true, there is a new suggested value. |
| "nestingLevelSuggested": True or False, # Indicates if there was a suggested change to the |
| # nesting_level. |
| "textStyleSuggestionState": { # A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. # A mask that indicates which of the fields in text style have been changed in this |
| # suggestion. |
| # For any field set to true, there is a new suggested value. |
| "foregroundColorSuggested": True or False, # Indicates if there was a suggested change to foreground_color. |
| "fontSizeSuggested": True or False, # Indicates if there was a suggested change to font_size. |
| "strikethroughSuggested": True or False, # Indicates if there was a suggested change to strikethrough. |
| "weightedFontFamilySuggested": True or False, # Indicates if there was a suggested change to weighted_font_family. |
| "underlineSuggested": True or False, # Indicates if there was a suggested change to underline. |
| "smallCapsSuggested": True or False, # Indicates if there was a suggested change to small_caps. |
| "linkSuggested": True or False, # Indicates if there was a suggested change to link. |
| "italicSuggested": True or False, # Indicates if there was a suggested change to italic. |
| "boldSuggested": True or False, # Indicates if there was a suggested change to bold. |
| "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| "baselineOffsetSuggested": True or False, # Indicates if there was a suggested change to baseline_offset. |
| }, |
| "listIdSuggested": True or False, # Indicates if there was a suggested change to the |
| # list_id. |
| }, |
| }, |
| }, |
| "positionedObjectIds": [ # The IDs of the positioned objects tethered to this paragraph. |
| "A String", |
| ], |
| "suggestedParagraphStyleChanges": { # The suggested paragraph style changes to this paragraph, keyed by |
| # suggestion ID. |
| "a_key": { # A suggested change to a |
| # ParagraphStyle. |
| "paragraphStyleSuggestionState": { # A mask that indicates which of the fields on the base ParagraphStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base ParagraphStyle have been changed in this suggestion. |
| # For any field set to true, there is a new suggested value. |
| "avoidWidowAndOrphanSuggested": True or False, # Indicates if there was a suggested change to avoid_widow_and_orphan. |
| "lineSpacingSuggested": True or False, # Indicates if there was a suggested change to line_spacing. |
| "spacingModeSuggested": True or False, # Indicates if there was a suggested change to spacing_mode. |
| "spaceBelowSuggested": True or False, # Indicates if there was a suggested change to space_below. |
| "borderRightSuggested": True or False, # Indicates if there was a suggested change to border_right. |
| "indentStartSuggested": True or False, # Indicates if there was a suggested change to indent_start. |
| "namedStyleTypeSuggested": True or False, # Indicates if there was a suggested change to named_style_type. |
| "indentEndSuggested": True or False, # Indicates if there was a suggested change to indent_end. |
| "borderBetweenSuggested": True or False, # Indicates if there was a suggested change to border_between. |
| "borderTopSuggested": True or False, # Indicates if there was a suggested change to border_top. |
| "borderLeftSuggested": True or False, # Indicates if there was a suggested change to border_left. |
| "keepWithNextSuggested": True or False, # Indicates if there was a suggested change to keep_with_next. |
| "spaceAboveSuggested": True or False, # Indicates if there was a suggested change to space_above. |
| "alignmentSuggested": True or False, # Indicates if there was a suggested change to alignment. |
| "indentFirstLineSuggested": True or False, # Indicates if there was a suggested change to indent_first_line. |
| "headingIdSuggested": True or False, # Indicates if there was a suggested change to heading_id. |
| "borderBottomSuggested": True or False, # Indicates if there was a suggested change to border_bottom. |
| "directionSuggested": True or False, # Indicates if there was a suggested change to direction. |
| "keepLinesTogetherSuggested": True or False, # Indicates if there was a suggested change to keep_lines_together. |
| "shadingSuggestionState": { # A mask that indicates which of the fields on the base Shading have been changed in this # A mask that indicates which of the fields in shading have been changed in |
| # this suggestion. |
| # suggested change. For any field set to true, there is a new suggested value. |
| "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to the Shading. |
| }, |
| }, |
| "paragraphStyle": { # Styles that apply to a whole paragraph. # A ParagraphStyle that only includes |
| # the changes made in this suggestion. This can be used along with the |
| # paragraph_suggestion_state |
| # to see which fields have changed and their new values. |
| # |
| # Inherited paragraph styles are represented as unset fields in this message. |
| # A paragraph style's parent depends on where the paragraph style is defined: |
| # |
| # * The ParagraphStyle on a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The ParagraphStyle on a named style |
| # inherits from the normal text named style. |
| # * The ParagraphStyle of the normal text named style inherits |
| # from the default paragraph style in the Docs editor. |
| # * The ParagraphStyle on a Paragraph |
| # element that is contained in a table may inherit its paragraph style from |
| # the table style. |
| # |
| # If the paragraph style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "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 |
| # paragraph 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. |
| }, |
| "keepWithNext": True or False, # Whether at least a part of this paragraph should be laid out on the same |
| # page or column as the next paragraph if possible. If unset, the value is |
| # inherited from the parent. |
| "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. |
| "avoidWidowAndOrphan": True or False, # Whether to avoid widows and orphans for the paragraph. If unset, the value |
| # is inherited from the parent. |
| "borderBottom": { # A border around a paragraph. # The border at the bottom of this paragraph. If unset, the value is |
| # inherited from the parent. |
| # |
| # The bottom border is rendered when the paragraph below has different border |
| # and indent properties. |
| # |
| # Paragraph borders cannot be partially updated. When making |
| # changes to a paragraph border the new border must be specified in |
| # its entirety. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| }, |
| "indentStart": { # A magnitude in a single direction in the specified units. # The amount of indentation for the paragraph on the side that corresponds to |
| # the start of the text, based on the current paragraph direction. If unset, |
| # the value is inherited from the parent. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "borderBetween": { # A border around a paragraph. # The border between this paragraph and the next and previous paragraphs. |
| # If unset, the value is inherited from the parent. |
| # |
| # The between border is rendered when the adjacent paragraph has the same |
| # border and indent properties. |
| # |
| # Paragraph borders cannot be partially updated. When making |
| # changes to a paragraph border the new border must be specified in |
| # its entirety. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| }, |
| "namedStyleType": "A String", # The named style type of the paragraph. |
| # |
| # Since updating the named style type affects other properties within |
| # ParagraphStyle, the named style type is applied before the other properties |
| # are updated. |
| "borderRight": { # A border around a paragraph. # The border to the right of this paragraph. If unset, the value is inherited |
| # from the parent. |
| # |
| # Paragraph borders cannot be partially updated. When making |
| # changes to a paragraph border the new border must be specified in |
| # its entirety. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| "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 of indentation for the paragraph on the side that corresponds to |
| # the end of the text, based on the current paragraph direction. If unset, |
| # the value is inherited from the parent. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "borderLeft": { # A border around a paragraph. # The border to the left of this paragraph. If unset, the value is inherited |
| # from the parent. |
| # |
| # Paragraph borders cannot be partially updated. When making |
| # changes to a paragraph border the new border must be specified in |
| # its entirety. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| "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. |
| }, |
| "headingId": "A String", # The heading ID of the paragraph. If empty, then this paragraph is not a |
| # heading. This property is read-only. |
| "shading": { # The shading of a paragraph. # The shading of the paragraph. If unset, the value is inherited from the |
| # parent. |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of this paragraph shading. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| }, |
| "borderTop": { # A border around a paragraph. # The border at the top of this paragraph. If unset, the value is inherited |
| # from the parent. |
| # |
| # The top border is rendered when the paragraph above has different border |
| # and indent properties. |
| # |
| # Paragraph borders cannot be partially updated. When making |
| # changes to a paragraph border the new border must be specified in |
| # its entirety. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| }, |
| "tabStops": [ # A list of the tab stops for this paragraph. The list of tab stops is not |
| # inherited. This property is read-only. |
| { # A tab stop within a paragraph. |
| "alignment": "A String", # The alignment of this tab stop. If unset, the value defaults to START. |
| "offset": { # A magnitude in a single direction in the specified units. # The offset between this tab stop and the start margin. |
| "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 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. |
| "keepLinesTogether": True or False, # Whether all lines of the paragraph should be laid out on the same page or |
| # column if possible. If unset, the value is inherited from the parent. |
| }, |
| }, |
| }, |
| "paragraphStyle": { # Styles that apply to a whole paragraph. # The style of this paragraph. |
| # |
| # Inherited paragraph styles are represented as unset fields in this message. |
| # A paragraph style's parent depends on where the paragraph style is defined: |
| # |
| # * The ParagraphStyle on a Paragraph |
| # inherits from the paragraph's corresponding named style type. |
| # * The ParagraphStyle on a named style |
| # inherits from the normal text named style. |
| # * The ParagraphStyle of the normal text named style inherits |
| # from the default paragraph style in the Docs editor. |
| # * The ParagraphStyle on a Paragraph |
| # element that is contained in a table may inherit its paragraph style from |
| # the table style. |
| # |
| # If the paragraph style does not inherit from a parent, unsetting fields will |
| # revert the style to a value matching the defaults in the Docs editor. |
| "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 |
| # paragraph 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. |
| }, |
| "keepWithNext": True or False, # Whether at least a part of this paragraph should be laid out on the same |
| # page or column as the next paragraph if possible. If unset, the value is |
| # inherited from the parent. |
| "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. |
| "avoidWidowAndOrphan": True or False, # Whether to avoid widows and orphans for the paragraph. If unset, the value |
| # is inherited from the parent. |
| "borderBottom": { # A border around a paragraph. # The border at the bottom of this paragraph. If unset, the value is |
| # inherited from the parent. |
| # |
| # The bottom border is rendered when the paragraph below has different border |
| # and indent properties. |
| # |
| # Paragraph borders cannot be partially updated. When making |
| # changes to a paragraph border the new border must be specified in |
| # its entirety. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| }, |
| "indentStart": { # A magnitude in a single direction in the specified units. # The amount of indentation for the paragraph on the side that corresponds to |
| # the start of the text, based on the current paragraph direction. If unset, |
| # the value is inherited from the parent. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "borderBetween": { # A border around a paragraph. # The border between this paragraph and the next and previous paragraphs. |
| # If unset, the value is inherited from the parent. |
| # |
| # The between border is rendered when the adjacent paragraph has the same |
| # border and indent properties. |
| # |
| # Paragraph borders cannot be partially updated. When making |
| # changes to a paragraph border the new border must be specified in |
| # its entirety. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| }, |
| "namedStyleType": "A String", # The named style type of the paragraph. |
| # |
| # Since updating the named style type affects other properties within |
| # ParagraphStyle, the named style type is applied before the other properties |
| # are updated. |
| "borderRight": { # A border around a paragraph. # The border to the right of this paragraph. If unset, the value is inherited |
| # from the parent. |
| # |
| # Paragraph borders cannot be partially updated. When making |
| # changes to a paragraph border the new border must be specified in |
| # its entirety. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| "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 of indentation for the paragraph on the side that corresponds to |
| # the end of the text, based on the current paragraph direction. If unset, |
| # the value is inherited from the parent. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "borderLeft": { # A border around a paragraph. # The border to the left of this paragraph. If unset, the value is inherited |
| # from the parent. |
| # |
| # Paragraph borders cannot be partially updated. When making |
| # changes to a paragraph border the new border must be specified in |
| # its entirety. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| "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. |
| }, |
| "headingId": "A String", # The heading ID of the paragraph. If empty, then this paragraph is not a |
| # heading. This property is read-only. |
| "shading": { # The shading of a paragraph. # The shading of the paragraph. If unset, the value is inherited from the |
| # parent. |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of this paragraph shading. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| }, |
| "borderTop": { # A border around a paragraph. # The border at the top of this paragraph. If unset, the value is inherited |
| # from the parent. |
| # |
| # The top border is rendered when the paragraph above has different border |
| # and indent properties. |
| # |
| # Paragraph borders cannot be partially updated. When making |
| # changes to a paragraph border the new border must be specified in |
| # its entirety. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "padding": { # A magnitude in a single direction in the specified units. # The padding of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| }, |
| "tabStops": [ # A list of the tab stops for this paragraph. The list of tab stops is not |
| # inherited. This property is read-only. |
| { # A tab stop within a paragraph. |
| "alignment": "A String", # The alignment of this tab stop. If unset, the value defaults to START. |
| "offset": { # A magnitude in a single direction in the specified units. # The offset between this tab stop and the start margin. |
| "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 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. |
| "keepLinesTogether": True or False, # Whether all lines of the paragraph should be laid out on the same page or |
| # column if possible. If unset, the value is inherited from the parent. |
| }, |
| }, |
| "table": { # A StructuralElement representing a # A table type of structural element. |
| # table. |
| "rows": 42, # Number of rows in the table. |
| "tableStyle": { # Styles that apply to a table. # The style of the table. |
| "tableColumnProperties": [ # The properties of each column. |
| # |
| # Note that in Docs, tables contain rows and rows contain cells, similar to |
| # HTML. So the properties for a row can be found on the row's |
| # table_row_style. |
| { # The properties of a column in a table. |
| "width": { # A magnitude in a single direction in the specified units. # The width of the column. Set when the column's `width_type` is |
| # FIXED_WIDTH. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "widthType": "A String", # The width type of the column. |
| }, |
| ], |
| }, |
| "suggestedInsertionIds": [ # The suggested insertion IDs. A Table may have |
| # multiple insertion IDs if it is a nested suggested change. If empty, then |
| # this is not a suggested insertion. |
| "A String", |
| ], |
| "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| # of this content. |
| "A String", |
| ], |
| "tableRows": [ # The contents and style of each row. |
| { # The contents and style of a row in a Table. |
| "endIndex": 42, # The zero-based end index of this row, exclusive, in UTF-16 code units. |
| "tableCells": [ # The contents and style of each cell in this row. |
| # |
| # It is possible for a table to be non-rectangular, so some rows may have a |
| # different number of cells than other rows in the same table. |
| { # The contents and style of a cell in a Table. |
| "endIndex": 42, # The zero-based end index of this cell, exclusive, in UTF-16 code units. |
| "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| # of this content. |
| "A String", |
| ], |
| "suggestedInsertionIds": [ # The suggested insertion IDs. A TableCell |
| # may have multiple insertion IDs if it is a nested suggested change. If |
| # empty, then this is not a suggested insertion. |
| "A String", |
| ], |
| "content": [ # The content of the cell. |
| # Object with schema name: StructuralElement |
| ], |
| "tableCellStyle": { # The style of a TableCell. # The style of the cell. |
| # |
| # Inherited table cell styles are represented as unset fields in this message. |
| # A table cell style can inherit from the table's style. |
| "paddingBottom": { # A magnitude in a single direction in the specified units. # The bottom padding of the cell. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "borderBottom": { # A border around a table cell. # The bottom border of the cell. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| }, |
| "paddingLeft": { # A magnitude in a single direction in the specified units. # The left padding of the cell. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "paddingTop": { # A magnitude in a single direction in the specified units. # The top padding of the cell. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "borderLeft": { # A border around a table cell. # The left border of the cell. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| }, |
| "columnSpan": 42, # The column span of the cell. This property is read-only. |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the cell. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "borderRight": { # A border around a table cell. # The right border of the cell. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| }, |
| "rowSpan": 42, # The row span of the cell. This property is read-only. |
| "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 Docs editor. |
| "paddingRight": { # A magnitude in a single direction in the specified units. # The right padding of the cell. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "borderTop": { # A border around a table cell. # The top border of the cell. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| }, |
| }, |
| "startIndex": 42, # The zero-based start index of this cell, in UTF-16 code units. |
| "suggestedTableCellStyleChanges": { # The suggested changes to the table cell style, keyed by suggestion ID. |
| "a_key": { # A suggested change to a TableCellStyle. |
| "tableCellStyle": { # The style of a TableCell. # A TableCellStyle that only includes |
| # the changes made in this suggestion. This can be used along with the |
| # table_cell_style_suggestion_state |
| # to see which fields have changed and their new values. |
| # |
| # Inherited table cell styles are represented as unset fields in this message. |
| # A table cell style can inherit from the table's style. |
| "paddingBottom": { # A magnitude in a single direction in the specified units. # The bottom padding of the cell. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "borderBottom": { # A border around a table cell. # The bottom border of the cell. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| }, |
| "paddingLeft": { # A magnitude in a single direction in the specified units. # The left padding of the cell. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "paddingTop": { # A magnitude in a single direction in the specified units. # The top padding of the cell. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "borderLeft": { # A border around a table cell. # The left border of the cell. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| }, |
| "columnSpan": 42, # The column span of the cell. This property is read-only. |
| "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the cell. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "borderRight": { # A border around a table cell. # The right border of the cell. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| }, |
| "rowSpan": 42, # The row span of the cell. This property is read-only. |
| "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 Docs editor. |
| "paddingRight": { # A magnitude in a single direction in the specified units. # The right padding of the cell. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "borderTop": { # A border around a table cell. # The top border of the cell. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| }, |
| }, |
| "tableCellStyleSuggestionState": { # A mask that indicates which of the fields on the base TableCellStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TableCellStyle have been changed in this suggestion. |
| # For any field set to true, there is a new suggested value. |
| "borderRightSuggested": True or False, # Indicates if there was a suggested change to border_right. |
| "borderBottomSuggested": True or False, # Indicates if there was a suggested change to border_bottom. |
| "paddingBottomSuggested": True or False, # Indicates if there was a suggested change to padding_bottom. |
| "contentAlignmentSuggested": True or False, # Indicates if there was a suggested change to content_alignment. |
| "rowSpanSuggested": True or False, # Indicates if there was a suggested change to row_span. |
| "borderLeftSuggested": True or False, # Indicates if there was a suggested change to border_left. |
| "borderTopSuggested": True or False, # Indicates if there was a suggested change to border_top. |
| "columnSpanSuggested": True or False, # Indicates if there was a suggested change to column_span. |
| "paddingRightSuggested": True or False, # Indicates if there was a suggested change to padding_right. |
| "backgroundColorSuggested": True or False, # Indicates if there was a suggested change to background_color. |
| "paddingLeftSuggested": True or False, # Indicates if there was a suggested change to padding_left. |
| "paddingTopSuggested": True or False, # Indicates if there was a suggested change to padding_top. |
| }, |
| }, |
| }, |
| }, |
| ], |
| "tableRowStyle": { # Styles that apply to a table row. # The style of the table row. |
| "minRowHeight": { # A magnitude in a single direction in the specified units. # The minimum height of the row. The row will be rendered in the Docs editor |
| # at a height equal to or greater than this value in order to show all the |
| # content in the row's cells. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| }, |
| "suggestedInsertionIds": [ # The suggested insertion IDs. A TableRow |
| # may have multiple insertion IDs if it is a nested suggested change. If |
| # empty, then this is not a suggested insertion. |
| "A String", |
| ], |
| "startIndex": 42, # The zero-based start index of this row, in UTF-16 code units. |
| "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| # of this content. |
| "A String", |
| ], |
| "suggestedTableRowStyleChanges": { # The suggested style changes to this row, keyed by suggestion ID. |
| "a_key": { # A suggested change to a |
| # TableRowStyle. |
| "tableRowStyle": { # Styles that apply to a table row. # A TableRowStyle that only includes |
| # the changes made in this suggestion. This can be used along with the |
| # table_row_style_suggestion_state |
| # to see which fields have changed and their new values. |
| "minRowHeight": { # A magnitude in a single direction in the specified units. # The minimum height of the row. The row will be rendered in the Docs editor |
| # at a height equal to or greater than this value in order to show all the |
| # content in the row's cells. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| }, |
| "tableRowStyleSuggestionState": { # A mask that indicates which of the fields on the base TableRowStyle have been changed in this suggestion. # A mask that indicates which of the fields on the base TableRowStyle have been changed in this suggestion. |
| # For any field set to true, there is a new suggested value. |
| "minRowHeightSuggested": True or False, # Indicates if there was a suggested change to min_row_height. |
| }, |
| }, |
| }, |
| }, |
| ], |
| "columns": 42, # Number of columns in the table. |
| # |
| # It is possible for a table to be non-rectangular, so some rows may have a |
| # different number of cells. |
| }, |
| }, |
| ], |
| "footnoteId": "A String", # The ID of the footnote. |
| }, |
| }, |
| "positionedObjects": { # The positioned objects in the document, keyed by object ID. |
| "a_key": { # An object that is tethered to a Paragraph |
| # and positioned relative to the beginning of the paragraph. A PositionedObject |
| # contains an EmbeddedObject such as an |
| # image. |
| "positionedObjectProperties": { # Properties of a PositionedObject. # The properties of this positioned object. |
| "positioning": { # The positioning of a PositionedObject. The positioned object is positioned # The positioning of this positioned object relative to the newline of the |
| # Paragraph that references this positioned |
| # object. |
| # relative to the beginning of the Paragraph |
| # it is tethered to. |
| "leftOffset": { # A magnitude in a single direction in the specified units. # The offset of the left edge of the positioned object relative to the |
| # beginning of the Paragraph it is tethered |
| # to. The exact positioning of the object can depend on other content in the |
| # document and the document's styling. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "topOffset": { # A magnitude in a single direction in the specified units. # The offset of the top edge of the positioned object relative to the |
| # beginning of the Paragraph it is tethered |
| # to. The exact positioning of the object can depend on other content in the |
| # document and the document's styling. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "layout": "A String", # The layout of this positioned object. |
| }, |
| "embeddedObject": { # An embedded object in the document. # The embedded object of this positioned object. |
| "imageProperties": { # The properties of an image. # The properties of an image. |
| "angle": 3.14, # The clockwise rotation angle of the image, in radians. |
| "contentUri": "A String", # A URI to the image with a default lifetime of 30 minutes. |
| # This URI is tagged with the account of the requester. Anyone with the URI |
| # effectively accesses the image as the original requester. Access to the |
| # image may be lost if the document's sharing settings change. |
| "sourceUri": "A String", # The source URI is the URI used to insert the image. The source URI can be |
| # empty. |
| "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. |
| "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. |
| "cropProperties": { # The crop properties of an image. # The crop properties of the image. |
| # |
| # The crop rectangle is represented using fractional offsets from the original |
| # content's four edges. |
| # |
| # - If the offset is in the interval (0, 1), the corresponding edge of crop |
| # rectangle is positioned inside of the image's original bounding rectangle. |
| # - If the offset is negative or greater than 1, the corresponding edge of crop |
| # rectangle is positioned outside of the image's original bounding rectangle. |
| # - If all offsets and rotation angle are 0, the image is not cropped. |
| "offsetBottom": 3.14, # The offset specifies how far inwards the bottom edge of the crop rectangle |
| # is from the bottom edge of the original content as a fraction of the |
| # original content's height. |
| "angle": 3.14, # The clockwise rotation angle of the crop rectangle around its center, in |
| # radians. Rotation is applied after the offsets. |
| "offsetLeft": 3.14, # The offset specifies how far inwards the left edge of the crop rectangle is |
| # from the left edge of the original content as a fraction of the original |
| # content's width. |
| "offsetRight": 3.14, # The offset specifies how far inwards the right edge of the crop rectangle |
| # is from the right edge of the original content as a fraction of the |
| # original content's width. |
| "offsetTop": 3.14, # The offset specifies how far inwards the top edge of the crop rectangle is |
| # from the top edge of the original content as a fraction of the original |
| # content's height. |
| }, |
| "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. |
| }, |
| "description": "A String", # The description of the embedded object. The `title` and `description` are |
| # both combined to display alt text. |
| "title": "A String", # The title of the embedded object. The `title` and `description` are both |
| # combined to display alt text. |
| "embeddedDrawingProperties": { # The properties of an embedded drawing. # The properties of an embedded drawing. |
| }, |
| "linkedContentReference": { # A reference to the external linked source content. # A reference to the external linked source content. For example, it contains |
| # a reference to the source Sheets chart when the embedded object is a linked |
| # chart. |
| # |
| # If unset, then the embedded object is not linked. |
| "sheetsChartReference": { # A reference to a linked chart embedded from Google Sheets. # A reference to the linked chart. |
| "spreadsheetId": "A String", # The ID of the Google Sheets spreadsheet that contains the source chart. |
| "chartId": 42, # The ID of the specific chart in the Google Sheets spreadsheet that is |
| # embedded. |
| }, |
| }, |
| "embeddedObjectBorder": { # A border around an EmbeddedObject. # The border of the embedded object. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "propertyState": "A String", # The property state of the border property. |
| }, |
| "marginBottom": { # A magnitude in a single direction in the specified units. # The bottom margin of the embedded object. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "marginLeft": { # A magnitude in a single direction in the specified units. # The left margin of the embedded object. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "marginRight": { # A magnitude in a single direction in the specified units. # The right margin of the embedded object. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "marginTop": { # A magnitude in a single direction in the specified units. # The top margin of the embedded object. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "size": { # A width and height. # The visible size of the image after cropping. |
| "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. |
| }, |
| }, |
| }, |
| }, |
| "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| # of this content. |
| "A String", |
| ], |
| "suggestedPositionedObjectPropertiesChanges": { # The suggested changes to the positioned object properties, keyed by |
| # suggestion ID. |
| "a_key": { # A suggested change to PositionedObjectProperties. |
| "positionedObjectPropertiesSuggestionState": { # A mask that indicates which of the fields on the base # A mask that indicates which of the fields on the base |
| # PositionedObjectProperties have been changed in this |
| # suggestion. |
| # PositionedObjectProperties |
| # have been changed in this suggestion. For any field set to true, there is a |
| # new suggested value. |
| "positioningSuggestionState": { # A mask that indicates which of the fields on the base # A mask that indicates which of the fields in positioning have been |
| # changed in this suggestion. |
| # PositionedObjectPositioning have been changed in this |
| # suggestion. For any field set to true, there is a new suggested value. |
| "layoutSuggested": True or False, # Indicates if there was a suggested change to layout. |
| "topOffsetSuggested": True or False, # Indicates if there was a suggested change to top_offset. |
| "leftOffsetSuggested": True or False, # Indicates if there was a suggested change to left_offset. |
| }, |
| "embeddedObjectSuggestionState": { # A mask that indicates which of the fields on the base EmbeddedObject have been changed in this suggestion. # A mask that indicates which of the fields in embedded_object have been |
| # changed in this suggestion. |
| # For any field set to true, there is a new suggested value. |
| "linkedContentReferenceSuggestionState": { # A mask that indicates which of the fields on the base # A mask that indicates which of the fields in linked_content_reference have been |
| # changed in this suggestion. |
| # LinkedContentReference have |
| # been changed in this suggestion. For any field set to true, there is a new |
| # suggested value. |
| "sheetsChartReferenceSuggestionState": { # A mask that indicates which of the fields on the base SheetsChartReference have been changed in this # A mask that indicates which of the fields in sheets_chart_reference have |
| # been changed in this suggestion. |
| # suggestion. For any field set to true, there is a new suggested value. |
| "spreadsheetIdSuggested": True or False, # Indicates if there was a suggested change to spreadsheet_id. |
| "chartIdSuggested": True or False, # Indicates if there was a suggested change to chart_id. |
| }, |
| }, |
| "sizeSuggestionState": { # A mask that indicates which of the fields on the base Size have been changed in this suggestion. # A mask that indicates which of the fields in size have been changed in this |
| # suggestion. |
| # For any field set to true, the Size has |
| # a new suggested value. |
| "widthSuggested": True or False, # Indicates if there was a suggested change to width. |
| "heightSuggested": True or False, # Indicates if there was a suggested change to height. |
| }, |
| "embeddedDrawingPropertiesSuggestionState": { # A mask that indicates which of the fields on the base # A mask that indicates which of the fields in embedded_drawing_properties have been |
| # changed in this suggestion. |
| # EmbeddedDrawingProperties |
| # have been changed in this suggestion. For any field set to true, there is a |
| # new suggested value. |
| }, |
| "marginRightSuggested": True or False, # Indicates if there was a suggested change to margin_right. |
| "imagePropertiesSuggestionState": { # A mask that indicates which of the fields on the base ImageProperties have been changed in this suggestion. # A mask that indicates which of the fields in image_properties have been changed in |
| # this suggestion. |
| # For any field set to true, there is a new suggested value. |
| "cropPropertiesSuggestionState": { # A mask that indicates which of the fields on the base CropProperties have been changed in this suggestion. # A mask that indicates which of the fields in crop_properties have been changed in |
| # this suggestion. |
| # For any field set to true, there is a new suggested value. |
| "offsetLeftSuggested": True or False, # Indicates if there was a suggested change to offset_left. |
| "offsetBottomSuggested": True or False, # Indicates if there was a suggested change to offset_bottom. |
| "offsetRightSuggested": True or False, # Indicates if there was a suggested change to offset_right. |
| "angleSuggested": True or False, # Indicates if there was a suggested change to angle. |
| "offsetTopSuggested": True or False, # Indicates if there was a suggested change to offset_top. |
| }, |
| "contrastSuggested": True or False, # Indicates if there was a suggested change to contrast. |
| "brightnessSuggested": True or False, # Indicates if there was a suggested change to brightness. |
| "transparencySuggested": True or False, # Indicates if there was a suggested change to transparency. |
| "angleSuggested": True or False, # Indicates if there was a suggested change to angle. |
| "sourceUriSuggested": True or False, # Indicates if there was a suggested change to source_uri. |
| "contentUriSuggested": True or False, # Indicates if there was a suggested change to |
| # content_uri. |
| }, |
| "descriptionSuggested": True or False, # Indicates if there was a suggested change to description. |
| "titleSuggested": True or False, # Indicates if there was a suggested change to title. |
| "marginTopSuggested": True or False, # Indicates if there was a suggested change to margin_top. |
| "marginLeftSuggested": True or False, # Indicates if there was a suggested change to margin_left. |
| "marginBottomSuggested": True or False, # Indicates if there was a suggested change to margin_bottom. |
| "embeddedObjectBorderSuggestionState": { # A mask that indicates which of the fields on the base EmbeddedObjectBorder have been changed in this # A mask that indicates which of the fields in embedded_object_border have been |
| # changed in this suggestion. |
| # suggestion. For any field set to true, there is a new suggested value. |
| "colorSuggested": True or False, # Indicates if there was a suggested change to color. |
| "dashStyleSuggested": True or False, # Indicates if there was a suggested change to dash_style. |
| "widthSuggested": True or False, # Indicates if there was a suggested change to width. |
| "propertyStateSuggested": True or False, # Indicates if there was a suggested change to property_state. |
| }, |
| }, |
| }, |
| "positionedObjectProperties": { # Properties of a PositionedObject. # A PositionedObjectProperties that only includes the |
| # changes made in this suggestion. This can be used along with the |
| # positioned_object_properties_suggestion_state |
| # to see which fields have changed and their new values. |
| "positioning": { # The positioning of a PositionedObject. The positioned object is positioned # The positioning of this positioned object relative to the newline of the |
| # Paragraph that references this positioned |
| # object. |
| # relative to the beginning of the Paragraph |
| # it is tethered to. |
| "leftOffset": { # A magnitude in a single direction in the specified units. # The offset of the left edge of the positioned object relative to the |
| # beginning of the Paragraph it is tethered |
| # to. The exact positioning of the object can depend on other content in the |
| # document and the document's styling. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "topOffset": { # A magnitude in a single direction in the specified units. # The offset of the top edge of the positioned object relative to the |
| # beginning of the Paragraph it is tethered |
| # to. The exact positioning of the object can depend on other content in the |
| # document and the document's styling. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "layout": "A String", # The layout of this positioned object. |
| }, |
| "embeddedObject": { # An embedded object in the document. # The embedded object of this positioned object. |
| "imageProperties": { # The properties of an image. # The properties of an image. |
| "angle": 3.14, # The clockwise rotation angle of the image, in radians. |
| "contentUri": "A String", # A URI to the image with a default lifetime of 30 minutes. |
| # This URI is tagged with the account of the requester. Anyone with the URI |
| # effectively accesses the image as the original requester. Access to the |
| # image may be lost if the document's sharing settings change. |
| "sourceUri": "A String", # The source URI is the URI used to insert the image. The source URI can be |
| # empty. |
| "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. |
| "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. |
| "cropProperties": { # The crop properties of an image. # The crop properties of the image. |
| # |
| # The crop rectangle is represented using fractional offsets from the original |
| # content's four edges. |
| # |
| # - If the offset is in the interval (0, 1), the corresponding edge of crop |
| # rectangle is positioned inside of the image's original bounding rectangle. |
| # - If the offset is negative or greater than 1, the corresponding edge of crop |
| # rectangle is positioned outside of the image's original bounding rectangle. |
| # - If all offsets and rotation angle are 0, the image is not cropped. |
| "offsetBottom": 3.14, # The offset specifies how far inwards the bottom edge of the crop rectangle |
| # is from the bottom edge of the original content as a fraction of the |
| # original content's height. |
| "angle": 3.14, # The clockwise rotation angle of the crop rectangle around its center, in |
| # radians. Rotation is applied after the offsets. |
| "offsetLeft": 3.14, # The offset specifies how far inwards the left edge of the crop rectangle is |
| # from the left edge of the original content as a fraction of the original |
| # content's width. |
| "offsetRight": 3.14, # The offset specifies how far inwards the right edge of the crop rectangle |
| # is from the right edge of the original content as a fraction of the |
| # original content's width. |
| "offsetTop": 3.14, # The offset specifies how far inwards the top edge of the crop rectangle is |
| # from the top edge of the original content as a fraction of the original |
| # content's height. |
| }, |
| "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. |
| }, |
| "description": "A String", # The description of the embedded object. The `title` and `description` are |
| # both combined to display alt text. |
| "title": "A String", # The title of the embedded object. The `title` and `description` are both |
| # combined to display alt text. |
| "embeddedDrawingProperties": { # The properties of an embedded drawing. # The properties of an embedded drawing. |
| }, |
| "linkedContentReference": { # A reference to the external linked source content. # A reference to the external linked source content. For example, it contains |
| # a reference to the source Sheets chart when the embedded object is a linked |
| # chart. |
| # |
| # If unset, then the embedded object is not linked. |
| "sheetsChartReference": { # A reference to a linked chart embedded from Google Sheets. # A reference to the linked chart. |
| "spreadsheetId": "A String", # The ID of the Google Sheets spreadsheet that contains the source chart. |
| "chartId": 42, # The ID of the specific chart in the Google Sheets spreadsheet that is |
| # embedded. |
| }, |
| }, |
| "embeddedObjectBorder": { # A border around an EmbeddedObject. # The border of the embedded object. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "propertyState": "A String", # The property state of the border property. |
| }, |
| "marginBottom": { # A magnitude in a single direction in the specified units. # The bottom margin of the embedded object. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "marginLeft": { # A magnitude in a single direction in the specified units. # The left margin of the embedded object. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "marginRight": { # A magnitude in a single direction in the specified units. # The right margin of the embedded object. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "marginTop": { # A magnitude in a single direction in the specified units. # The top margin of the embedded object. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "size": { # A width and height. # The visible size of the image after cropping. |
| "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. |
| }, |
| }, |
| }, |
| }, |
| }, |
| }, |
| "objectId": "A String", # The ID of this positioned object. |
| "suggestedInsertionId": "A String", # The suggested insertion ID. If empty, then this is not a suggested |
| # insertion. |
| }, |
| }, |
| "inlineObjects": { # The inline objects in the document, keyed by object ID. |
| "a_key": { # An object that appears inline with text. An InlineObject contains |
| # an EmbeddedObject such as an image. |
| "suggestedDeletionIds": [ # The suggested deletion IDs. If empty, then there are no suggested deletions |
| # of this content. |
| "A String", |
| ], |
| "inlineObjectProperties": { # Properties of an InlineObject. # The properties of this inline object. |
| "embeddedObject": { # An embedded object in the document. # The embedded object of this inline object. |
| "imageProperties": { # The properties of an image. # The properties of an image. |
| "angle": 3.14, # The clockwise rotation angle of the image, in radians. |
| "contentUri": "A String", # A URI to the image with a default lifetime of 30 minutes. |
| # This URI is tagged with the account of the requester. Anyone with the URI |
| # effectively accesses the image as the original requester. Access to the |
| # image may be lost if the document's sharing settings change. |
| "sourceUri": "A String", # The source URI is the URI used to insert the image. The source URI can be |
| # empty. |
| "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. |
| "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. |
| "cropProperties": { # The crop properties of an image. # The crop properties of the image. |
| # |
| # The crop rectangle is represented using fractional offsets from the original |
| # content's four edges. |
| # |
| # - If the offset is in the interval (0, 1), the corresponding edge of crop |
| # rectangle is positioned inside of the image's original bounding rectangle. |
| # - If the offset is negative or greater than 1, the corresponding edge of crop |
| # rectangle is positioned outside of the image's original bounding rectangle. |
| # - If all offsets and rotation angle are 0, the image is not cropped. |
| "offsetBottom": 3.14, # The offset specifies how far inwards the bottom edge of the crop rectangle |
| # is from the bottom edge of the original content as a fraction of the |
| # original content's height. |
| "angle": 3.14, # The clockwise rotation angle of the crop rectangle around its center, in |
| # radians. Rotation is applied after the offsets. |
| "offsetLeft": 3.14, # The offset specifies how far inwards the left edge of the crop rectangle is |
| # from the left edge of the original content as a fraction of the original |
| # content's width. |
| "offsetRight": 3.14, # The offset specifies how far inwards the right edge of the crop rectangle |
| # is from the right edge of the original content as a fraction of the |
| # original content's width. |
| "offsetTop": 3.14, # The offset specifies how far inwards the top edge of the crop rectangle is |
| # from the top edge of the original content as a fraction of the original |
| # content's height. |
| }, |
| "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. |
| }, |
| "description": "A String", # The description of the embedded object. The `title` and `description` are |
| # both combined to display alt text. |
| "title": "A String", # The title of the embedded object. The `title` and `description` are both |
| # combined to display alt text. |
| "embeddedDrawingProperties": { # The properties of an embedded drawing. # The properties of an embedded drawing. |
| }, |
| "linkedContentReference": { # A reference to the external linked source content. # A reference to the external linked source content. For example, it contains |
| # a reference to the source Sheets chart when the embedded object is a linked |
| # chart. |
| # |
| # If unset, then the embedded object is not linked. |
| "sheetsChartReference": { # A reference to a linked chart embedded from Google Sheets. # A reference to the linked chart. |
| "spreadsheetId": "A String", # The ID of the Google Sheets spreadsheet that contains the source chart. |
| "chartId": 42, # The ID of the specific chart in the Google Sheets spreadsheet that is |
| # embedded. |
| }, |
| }, |
| "embeddedObjectBorder": { # A border around an EmbeddedObject. # The border of the embedded object. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "propertyState": "A String", # The property state of the border property. |
| }, |
| "marginBottom": { # A magnitude in a single direction in the specified units. # The bottom margin of the embedded object. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "marginLeft": { # A magnitude in a single direction in the specified units. # The left margin of the embedded object. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "marginRight": { # A magnitude in a single direction in the specified units. # The right margin of the embedded object. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "marginTop": { # A magnitude in a single direction in the specified units. # The top margin of the embedded object. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "size": { # A width and height. # The visible size of the image after cropping. |
| "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. |
| }, |
| }, |
| }, |
| }, |
| "suggestedInlineObjectPropertiesChanges": { # The suggested changes to the inline object properties, keyed by suggestion |
| # ID. |
| "a_key": { # A suggested change to InlineObjectProperties. |
| "inlineObjectProperties": { # Properties of an InlineObject. # An InlineObjectProperties |
| # that only includes the changes made in this suggestion. This can be used |
| # along with the inline_object_properties_suggestion_state |
| # to see which fields have changed and their new values. |
| "embeddedObject": { # An embedded object in the document. # The embedded object of this inline object. |
| "imageProperties": { # The properties of an image. # The properties of an image. |
| "angle": 3.14, # The clockwise rotation angle of the image, in radians. |
| "contentUri": "A String", # A URI to the image with a default lifetime of 30 minutes. |
| # This URI is tagged with the account of the requester. Anyone with the URI |
| # effectively accesses the image as the original requester. Access to the |
| # image may be lost if the document's sharing settings change. |
| "sourceUri": "A String", # The source URI is the URI used to insert the image. The source URI can be |
| # empty. |
| "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. |
| "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. |
| "cropProperties": { # The crop properties of an image. # The crop properties of the image. |
| # |
| # The crop rectangle is represented using fractional offsets from the original |
| # content's four edges. |
| # |
| # - If the offset is in the interval (0, 1), the corresponding edge of crop |
| # rectangle is positioned inside of the image's original bounding rectangle. |
| # - If the offset is negative or greater than 1, the corresponding edge of crop |
| # rectangle is positioned outside of the image's original bounding rectangle. |
| # - If all offsets and rotation angle are 0, the image is not cropped. |
| "offsetBottom": 3.14, # The offset specifies how far inwards the bottom edge of the crop rectangle |
| # is from the bottom edge of the original content as a fraction of the |
| # original content's height. |
| "angle": 3.14, # The clockwise rotation angle of the crop rectangle around its center, in |
| # radians. Rotation is applied after the offsets. |
| "offsetLeft": 3.14, # The offset specifies how far inwards the left edge of the crop rectangle is |
| # from the left edge of the original content as a fraction of the original |
| # content's width. |
| "offsetRight": 3.14, # The offset specifies how far inwards the right edge of the crop rectangle |
| # is from the right edge of the original content as a fraction of the |
| # original content's width. |
| "offsetTop": 3.14, # The offset specifies how far inwards the top edge of the crop rectangle is |
| # from the top edge of the original content as a fraction of the original |
| # content's height. |
| }, |
| "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. |
| }, |
| "description": "A String", # The description of the embedded object. The `title` and `description` are |
| # both combined to display alt text. |
| "title": "A String", # The title of the embedded object. The `title` and `description` are both |
| # combined to display alt text. |
| "embeddedDrawingProperties": { # The properties of an embedded drawing. # The properties of an embedded drawing. |
| }, |
| "linkedContentReference": { # A reference to the external linked source content. # A reference to the external linked source content. For example, it contains |
| # a reference to the source Sheets chart when the embedded object is a linked |
| # chart. |
| # |
| # If unset, then the embedded object is not linked. |
| "sheetsChartReference": { # A reference to a linked chart embedded from Google Sheets. # A reference to the linked chart. |
| "spreadsheetId": "A String", # The ID of the Google Sheets spreadsheet that contains the source chart. |
| "chartId": 42, # The ID of the specific chart in the Google Sheets spreadsheet that is |
| # embedded. |
| }, |
| }, |
| "embeddedObjectBorder": { # A border around an EmbeddedObject. # The border of the embedded object. |
| "color": { # A color that can either be fully opaque or fully transparent. # The color of the border. |
| "color": { # A solid color. # If set, this will be used as an opaque color. If unset, this represents |
| # a transparent color. |
| "rgbColor": { # An RGB color. # The RGB color value. |
| "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| }, |
| }, |
| }, |
| "width": { # A magnitude in a single direction in the specified units. # The width of the border. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "dashStyle": "A String", # The dash style of the border. |
| "propertyState": "A String", # The property state of the border property. |
| }, |
| "marginBottom": { # A magnitude in a single direction in the specified units. # The bottom margin of the embedded object. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "marginLeft": { # A magnitude in a single direction in the specified units. # The left margin of the embedded object. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "marginRight": { # A magnitude in a single direction in the specified units. # The right margin of the embedded object. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "marginTop": { # A magnitude in a single direction in the specified units. # The top margin of the embedded object. |
| "magnitude": 3.14, # The magnitude. |
| "unit": "A String", # The units for magnitude. |
| }, |
| "size": { # A width and height. # The visible size of the image after cropping. |
| "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. |
| }, |
| }, |
| }, |
| }, |
| "inlineObjectPropertiesSuggestionState": { # A mask that indicates which of the fields on the base # A mask that indicates which of the fields on the base |
| # InlineObjectProperties have |
| # been changed in this suggestion. |
| # InlineObjectProperties have |
| # been changed in this suggestion. For any field set to true, there is a new |
| # suggested value. |
| "embeddedObjectSuggestionState": { # A mask that indicates which of the fields on the base EmbeddedObject have been changed in this suggestion. # A mask that indicates which of the fields in embedded_object have been |
| # changed in this suggestion. |
| # For any field set to true, there is a new suggested value. |
| "linkedContentReferenceSuggestionState": { # A mask that indicates which of the fields on the base # A mask that indicates which of the fields in linked_content_reference have been |
| # changed in this suggestion. |
| # LinkedContentReference have |
| # been changed in this suggestion. For any field set to true, there is a new |
| # suggested value. |
| "sheetsChartReferenceSuggestionState": { # A mask that indicates which of the fields on the base SheetsChartReference have been changed in this # A mask that indicates which of the fields in sheets_chart_reference have |
| # been changed in this suggestion. |
| # suggestion. For any field set to true, there is a new suggested value. |
| "spreadsheetIdSuggested": True or False, # Indicates if there was a suggested change to spreadsheet_id. |
| "chartIdSuggested": True or False, # Indicates if there was a suggested change to chart_id. |
| }, |
| }, |
| "sizeSuggestionState": { # A mask that indicates which of the fields on the base Size have been changed in this suggestion. # A mask that indicates which of the fields in size have been changed in this |
| # suggestion. |
| # For any field set to true, the Size has |
| # a new suggested value. |
| "widthSuggested": True or False, # Indicates if there was a suggested change to width. |
| "heightSuggested": True or False, # Indicates if there was a suggested change to height. |
| }, |
| "embeddedDrawingPropertiesSuggestionState": { # A mask that indicates which of the fields on the base # A mask that indicates which of the fields in embedded_drawing_properties have been |
| # changed in this suggestion. |
| # EmbeddedDrawingProperties |
| # have been changed in this suggestion. For any field set to true, there is a |
| # new suggested value. |
| }, |
| "marginRightSuggested": True or False, # Indicates if there was a suggested change to margin_right. |
| "imagePropertiesSuggestionState": { # A mask that indicates which of the fields on the base ImageProperties have been changed in this suggestion. # A mask that indicates which of the fields in image_properties have been changed in |
| # this suggestion. |
| # For any field set to true, there is a new suggested value. |
| "cropPropertiesSuggestionState": { # A mask that indicates which of the fields on the base CropProperties have been changed in this suggestion. # A mask that indicates which of the fields in crop_properties have been changed in |
| # this suggestion. |
| # For any field set to true, there is a new suggested value. |
| "offsetLeftSuggested": True or False, # Indicates if there was a suggested change to offset_left. |
| "offsetBottomSuggested": True or False, # Indicates if there was a suggested change to offset_bottom. |
| "offsetRightSuggested": True or False, # Indicates if there was a suggested change to offset_right. |
| "angleSuggested": True or False, # Indicates if there was a suggested change to angle. |
| "offsetTopSuggested": True or False, # Indicates if there was a suggested change to offset_top. |
| }, |
| "contrastSuggested": True or False, # Indicates if there was a suggested change to contrast. |
| "brightnessSuggested": True or False, # Indicates if there was a suggested change to brightness. |
| "transparencySuggested": True or False, # Indicates if there was a suggested change to transparency. |
| "angleSuggested": True or False, # Indicates if there was a suggested change to angle. |
| "sourceUriSuggested": True or False, # Indicates if there was a suggested change to source_uri. |
| "contentUriSuggested": True or False, # Indicates if there was a suggested change to |
| # content_uri. |
| }, |
| "descriptionSuggested": True or False, # Indicates if there was a suggested change to description. |
| "titleSuggested": True or False, # Indicates if there was a suggested change to title. |
| "marginTopSuggested": True or False, # Indicates if there was a suggested change to margin_top. |
| "marginLeftSuggested": True or False, # Indicates if there was a suggested change to margin_left. |
| "marginBottomSuggested": True or False, # Indicates if there was a suggested change to margin_bottom. |
| "embeddedObjectBorderSuggestionState": { # A mask that indicates which of the fields on the base EmbeddedObjectBorder have been changed in this # A mask that indicates which of the fields in embedded_object_border have been |
| # changed in this suggestion. |
| # suggestion. For any field set to true, there is a new suggested value. |
| "colorSuggested": True or False, # Indicates if there was a suggested change to color. |
| "dashStyleSuggested": True or False, # Indicates if there was a suggested change to dash_style. |
| "widthSuggested": True or False, # Indicates if there was a suggested change to width. |
| "propertyStateSuggested": True or False, # Indicates if there was a suggested change to property_state. |
| }, |
| }, |
| }, |
| }, |
| }, |
| "objectId": "A String", # The ID of this inline object. |
| "suggestedInsertionId": "A String", # The suggested insertion ID. If empty, then this is not a suggested |
| # insertion. |
| }, |
| }, |
| "revisionId": "A String", # The revision ID of the document. Can be used in update requests to specify |
| # which revision of a document to apply updates to and how the request should |
| # behave if the document has been edited since that revision. Only populated |
| # if the user has edit access to the document. |
| # |
| # 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 document has not changed. |
| # Conversely, a changed ID (for the same document and user) usually means the |
| # document has been updated; however, a changed ID can also be due to |
| # internal factors such as ID format changes. |
| "documentId": "A String", # The ID of the document. |
| }</pre> |
| </div> |
| |
| </body></html> |