Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 1 | <html><body> |
| 2 | <style> |
| 3 | |
| 4 | body, h1, h2, h3, div, span, p, pre, a { |
| 5 | margin: 0; |
| 6 | padding: 0; |
| 7 | border: 0; |
| 8 | font-weight: inherit; |
| 9 | font-style: inherit; |
| 10 | font-size: 100%; |
| 11 | font-family: inherit; |
| 12 | vertical-align: baseline; |
| 13 | } |
| 14 | |
| 15 | body { |
| 16 | font-size: 13px; |
| 17 | padding: 1em; |
| 18 | } |
| 19 | |
| 20 | h1 { |
| 21 | font-size: 26px; |
| 22 | margin-bottom: 1em; |
| 23 | } |
| 24 | |
| 25 | h2 { |
| 26 | font-size: 24px; |
| 27 | margin-bottom: 1em; |
| 28 | } |
| 29 | |
| 30 | h3 { |
| 31 | font-size: 20px; |
| 32 | margin-bottom: 1em; |
| 33 | margin-top: 1em; |
| 34 | } |
| 35 | |
| 36 | pre, code { |
| 37 | line-height: 1.5; |
| 38 | font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace; |
| 39 | } |
| 40 | |
| 41 | pre { |
| 42 | margin-top: 0.5em; |
| 43 | } |
| 44 | |
| 45 | h1, h2, h3, p { |
| 46 | font-family: Arial, sans serif; |
| 47 | } |
| 48 | |
| 49 | h1, h2, h3 { |
| 50 | border-bottom: solid #CCC 1px; |
| 51 | } |
| 52 | |
| 53 | .toc_element { |
| 54 | margin-top: 0.5em; |
| 55 | } |
| 56 | |
| 57 | .firstline { |
| 58 | margin-left: 2 em; |
| 59 | } |
| 60 | |
| 61 | .method { |
| 62 | margin-top: 1em; |
| 63 | border: solid 1px #CCC; |
| 64 | padding: 1em; |
| 65 | background: #EEE; |
| 66 | } |
| 67 | |
| 68 | .details { |
| 69 | font-weight: bold; |
| 70 | font-size: 14px; |
| 71 | } |
| 72 | |
| 73 | </style> |
| 74 | |
| 75 | <h1><a href="slides_v1.html">Google Slides API</a> . <a href="slides_v1.presentations.html">presentations</a> . <a href="slides_v1.presentations.pages.html">pages</a></h1> |
| 76 | <h2>Instance Methods</h2> |
| 77 | <p class="toc_element"> |
| 78 | <code><a href="#get">get(presentationId, pageObjectId, x__xgafv=None)</a></code></p> |
| 79 | <p class="firstline">Gets the latest version of the specified page in the presentation.</p> |
Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 80 | <p class="toc_element"> |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 81 | <code><a href="#getThumbnail">getThumbnail(presentationId, pageObjectId, thumbnailProperties_thumbnailSize=None, thumbnailProperties_mimeType=None, x__xgafv=None)</a></code></p> |
Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 82 | <p class="firstline">Generates a thumbnail of the latest version of the specified page in the</p> |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 83 | <h3>Method Details</h3> |
| 84 | <div class="method"> |
| 85 | <code class="details" id="get">get(presentationId, pageObjectId, x__xgafv=None)</code> |
| 86 | <pre>Gets the latest version of the specified page in the presentation. |
| 87 | |
| 88 | Args: |
| 89 | presentationId: string, The ID of the presentation to retrieve. (required) |
| 90 | pageObjectId: string, The object ID of the page to retrieve. (required) |
| 91 | x__xgafv: string, V1 error format. |
| 92 | Allowed values |
| 93 | 1 - v1 error format |
| 94 | 2 - v2 error format |
| 95 | |
| 96 | Returns: |
| 97 | An object of the form: |
| 98 | |
| 99 | { # A page in a presentation. |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame^] | 100 | "pageProperties": { # The properties of the Page. # The properties of the page. |
| 101 | # |
| 102 | # The page will inherit properties from the parent page. Depending on the page |
| 103 | # type the hierarchy is defined in either |
| 104 | # SlideProperties or |
| 105 | # LayoutProperties. |
| 106 | "pageBackgroundFill": { # The page background fill. # The background fill of the page. If unset, the background fill is inherited |
| 107 | # from a parent page if it exists. If the page has no parent, then the |
| 108 | # background fill defaults to the corresponding fill in the Slides editor. |
| 109 | "propertyState": "A String", # The background fill property state. |
| 110 | # |
| 111 | # Updating the fill on a page will implicitly update this field to |
| 112 | # `RENDERED`, unless another value is specified in the same request. To |
| 113 | # have no fill on a page, set this field to `NOT_RENDERED`. In this case, |
| 114 | # any other fill fields set in the same request will be ignored. |
| 115 | "stretchedPictureFill": { # The stretched picture fill. The page or page element is filled entirely with # Stretched picture fill. |
| 116 | # the specified picture. The picture is stretched to fit its container. |
| 117 | "size": { # A width and height. # The original size of the picture fill. This field is read-only. |
| 118 | "width": { # A magnitude in a single direction in the specified units. # The width of the object. |
| 119 | "magnitude": 3.14, # The magnitude. |
| 120 | "unit": "A String", # The units for magnitude. |
| 121 | }, |
| 122 | "height": { # A magnitude in a single direction in the specified units. # The height of the object. |
| 123 | "magnitude": 3.14, # The magnitude. |
| 124 | "unit": "A String", # The units for magnitude. |
| 125 | }, |
| 126 | }, |
| 127 | "contentUrl": "A String", # Reading the content_url: |
| 128 | # |
| 129 | # An URL to a picture with a default lifetime of 30 minutes. |
| 130 | # This URL is tagged with the account of the requester. Anyone with the URL |
| 131 | # effectively accesses the picture as the original requester. Access to the |
| 132 | # picture may be lost if the presentation's sharing settings change. |
| 133 | # |
| 134 | # Writing the content_url: |
| 135 | # |
| 136 | # The picture is fetched once at insertion time and a copy is stored for |
| 137 | # display inside the presentation. Pictures must be less than 50MB in size, |
| 138 | # cannot exceed 25 megapixels, and must be in one of PNG, JPEG, or GIF |
| 139 | # format. |
| 140 | # |
| 141 | # The provided URL can be at most 2 kB in length. |
| 142 | }, |
| 143 | "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill. |
| 144 | # specified color value. |
| 145 | # |
| 146 | # If any field is unset, its value may be inherited from a parent placeholder |
| 147 | # if it exists. |
| 148 | "color": { # A themeable solid color value. # The color value of the solid fill. |
| 149 | "themeColor": "A String", # An opaque theme color. |
| 150 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 151 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 152 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 153 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 154 | }, |
| 155 | }, |
| 156 | "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel. |
| 157 | # That is, the final pixel color is defined by the equation: |
| 158 | # |
| 159 | # pixel color = alpha * (color) + (1.0 - alpha) * (background color) |
| 160 | # |
| 161 | # This means that a value of 1.0 corresponds to a solid color, whereas |
| 162 | # a value of 0.0 corresponds to a completely transparent color. |
| 163 | }, |
| 164 | }, |
| 165 | "colorScheme": { # The palette of predefined colors for a page. # The color scheme of the page. If unset, the color scheme is inherited from |
| 166 | # a parent page. If the page has no parent, the color scheme uses a default |
| 167 | # Slides color scheme, matching the defaults in the Slides editor. |
| 168 | # |
| 169 | # Only the concrete colors of the first 12 ThemeColorTypes are editable. In addition, only |
| 170 | # the color scheme on `Master` pages can be updated. To update the field, a |
| 171 | # color scheme containing mappings from all the first 12 ThemeColorTypes to |
| 172 | # their concrete colors must be provided. Colors for the remaining |
| 173 | # ThemeColorTypes will be ignored. |
| 174 | "colors": [ # The ThemeColorType and corresponding concrete color pairs. |
| 175 | { # A pair mapping a theme color type to the concrete color it represents. |
| 176 | "color": { # An RGB color. # The concrete color corresponding to the theme color type above. |
| 177 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 178 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 179 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 180 | }, |
| 181 | "type": "A String", # The type of the theme color. |
| 182 | }, |
| 183 | ], |
| 184 | }, |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 185 | }, |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame^] | 186 | "revisionId": "A String", # The revision ID of the presentation containing this page. Can be used in |
| 187 | # update requests to assert that the presentation revision hasn't changed |
| 188 | # since the last read operation. Only populated if the user has edit access |
| 189 | # to the presentation. |
| 190 | # |
| 191 | # The format of the revision ID may change over time, so it should be treated |
| 192 | # opaquely. A returned revision ID is only guaranteed to be valid for 24 |
| 193 | # hours after it has been returned and cannot be shared across users. If the |
| 194 | # revision ID is unchanged between calls, then the presentation has not |
| 195 | # changed. Conversely, a changed ID (for the same presentation and user) |
| 196 | # usually means the presentation has been updated; however, a changed ID can |
| 197 | # also be due to internal factors such as ID format changes. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 198 | "slideProperties": { # The properties of Page that are only # Slide specific properties. Only set if page_type = SLIDE. |
| 199 | # relevant for pages with page_type SLIDE. |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 200 | "layoutObjectId": "A String", # The object ID of the layout that this slide is based on. This property is |
| 201 | # read-only. |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame^] | 202 | "masterObjectId": "A String", # The object ID of the master that this slide is based on. This property is |
| 203 | # read-only. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 204 | "notesPage": # Object with schema name: Page # The notes page that this slide is associated with. It defines the visual |
| 205 | # appearance of a notes page when printing or exporting slides with speaker |
| 206 | # notes. A notes page inherits properties from the |
| 207 | # notes master. |
| 208 | # The placeholder shape with type BODY on the notes page contains the speaker |
| 209 | # notes for this slide. The ID of this shape is identified by the |
| 210 | # speakerNotesObjectId field. |
| 211 | # The notes page is read-only except for the text content and styles of the |
| 212 | # speaker notes shape. This property is read-only. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 213 | }, |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame^] | 214 | "masterProperties": { # The properties of Page that are only # Master specific properties. Only set if page_type = MASTER. |
| 215 | # relevant for pages with page_type MASTER. |
| 216 | "displayName": "A String", # The human-readable name of the master. |
| 217 | }, |
| 218 | "pageType": "A String", # The type of the page. |
| 219 | "notesProperties": { # The properties of Page that are only # Notes specific properties. Only set if page_type = NOTES. |
| 220 | # relevant for pages with page_type NOTES. |
| 221 | "speakerNotesObjectId": "A String", # The object ID of the shape on this notes page that contains the speaker |
| 222 | # notes for the corresponding slide. |
| 223 | # The actual shape may not always exist on the notes page. Inserting text |
| 224 | # using this object ID will automatically create the shape. In this case, the |
| 225 | # actual shape may have different object ID. The `GetPresentation` or |
| 226 | # `GetPage` action will always return the latest object ID. |
| 227 | }, |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 228 | "pageElements": [ # The page elements rendered on the page. |
| 229 | { # A visual element rendered on a page. |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame^] | 230 | "size": { # A width and height. # The size of the page element. |
| 231 | "width": { # A magnitude in a single direction in the specified units. # The width of the object. |
| 232 | "magnitude": 3.14, # The magnitude. |
| 233 | "unit": "A String", # The units for magnitude. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 234 | }, |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame^] | 235 | "height": { # A magnitude in a single direction in the specified units. # The height of the object. |
| 236 | "magnitude": 3.14, # The magnitude. |
| 237 | "unit": "A String", # The units for magnitude. |
| 238 | }, |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 239 | }, |
| 240 | "video": { # A PageElement kind representing a # A video page element. |
| 241 | # video. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 242 | "source": "A String", # The video source. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 243 | "videoProperties": { # The properties of the Video. # The properties of the video. |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame^] | 244 | "autoPlay": True or False, # Whether to enable video autoplay when the page is displayed in present |
| 245 | # mode. Defaults to false. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 246 | "end": 42, # The time at which to end playback, measured in seconds from the beginning |
| 247 | # of the video. |
| 248 | # If set, the end time should be after the start time. |
| 249 | # If not set or if you set this to a value that exceeds the video's length, |
| 250 | # the video will be played until its end. |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame^] | 251 | "mute": True or False, # Whether to mute the audio during video playback. Defaults to false. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 252 | "outline": { # The outline of a PageElement. # The outline of the video. The default outline matches the defaults for new |
| 253 | # videos created in the Slides editor. |
| 254 | # |
| 255 | # If these fields are unset, they may be inherited from a parent placeholder |
| 256 | # if it exists. If there is no parent, the fields will default to the value |
| 257 | # used for new page elements created in the Slides editor, which may depend on |
| 258 | # the page element kind. |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame^] | 259 | "propertyState": "A String", # The outline property state. |
| 260 | # |
| 261 | # Updating the outline on a page element will implicitly update this field |
| 262 | # to `RENDERED`, unless another value is specified in the same request. To |
| 263 | # have no outline on a page element, set this field to `NOT_RENDERED`. In |
| 264 | # this case, any other outline fields set in the same request will be |
| 265 | # ignored. |
| 266 | "dashStyle": "A String", # The dash style of the outline. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 267 | "outlineFill": { # The fill of the outline. # The fill of the outline. |
| 268 | "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill. |
| 269 | # specified color value. |
| 270 | # |
| 271 | # If any field is unset, its value may be inherited from a parent placeholder |
| 272 | # if it exists. |
| 273 | "color": { # A themeable solid color value. # The color value of the solid fill. |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame^] | 274 | "themeColor": "A String", # An opaque theme color. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 275 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 276 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame^] | 277 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 278 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 279 | }, |
| 280 | }, |
| 281 | "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel. |
| 282 | # That is, the final pixel color is defined by the equation: |
| 283 | # |
| 284 | # pixel color = alpha * (color) + (1.0 - alpha) * (background color) |
| 285 | # |
| 286 | # This means that a value of 1.0 corresponds to a solid color, whereas |
| 287 | # a value of 0.0 corresponds to a completely transparent color. |
| 288 | }, |
| 289 | }, |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 290 | "weight": { # A magnitude in a single direction in the specified units. # The thickness of the outline. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 291 | "magnitude": 3.14, # The magnitude. |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame^] | 292 | "unit": "A String", # The units for magnitude. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 293 | }, |
| 294 | }, |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame^] | 295 | "start": 42, # The time at which to start playback, measured in seconds from the beginning |
| 296 | # of the video. |
| 297 | # If set, the start time should be before the end time. |
| 298 | # If you set this to a value that exceeds the video's length in seconds, the |
| 299 | # video will be played from the last second. |
| 300 | # If not set, the video will be played from the beginning. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 301 | }, |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame^] | 302 | "url": "A String", # An URL to a video. The URL is valid as long as the source video exists and |
| 303 | # sharing settings do not change. |
| 304 | "id": "A String", # The video source's unique identifier for this video. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 305 | }, |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame^] | 306 | "title": "A String", # The title of the page element. Combined with description to display alt |
| 307 | # text. |
| 308 | # |
| 309 | # The field is not supported for Group |
| 310 | # elements. |
| 311 | "objectId": "A String", # The object ID for this page element. Object IDs used by |
| 312 | # google.apps.slides.v1.Page and |
| 313 | # google.apps.slides.v1.PageElement share the same namespace. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 314 | "line": { # A PageElement kind representing a # A line page element. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 315 | # non-connector line, straight connector, curved connector, or bent connector. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 316 | "lineType": "A String", # The type of the line. |
| 317 | "lineProperties": { # The properties of the Line. # The properties of the line. |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 318 | # |
| 319 | # When unset, these fields default to values that match the appearance of |
| 320 | # new lines created in the Slides editor. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 321 | "startConnection": { # The properties for one end of a Line # The connection at the beginning of the line. If unset, there is no |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 322 | # connection. |
| 323 | # |
| 324 | # Only lines with a Type indicating it is |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 325 | # a "connector" can have a `start_connection`. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 326 | # connection. |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame^] | 327 | "connectedObjectId": "A String", # The object ID of the connected page element. |
| 328 | # |
| 329 | # Some page elements, such as groups, tables, and lines |
| 330 | # do not have connection sites and therefore cannot be connected to a |
| 331 | # connector line. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 332 | "connectionSiteIndex": 42, # The index of the connection site on the connected page element. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 333 | # |
| 334 | # In most cases, it corresponds to the predefined connection site index from |
| 335 | # the ECMA-376 standard. More information on those connection sites can be |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 336 | # found in the description of the "cnx" attribute in section 20.1.9.9 and |
| 337 | # Annex H. "Predefined DrawingML Shape and Text Geometries" of "Office Open |
| 338 | # XML File Formats-Fundamentals and Markup Language Reference", part 1 of |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 339 | # [ECMA-376 5th edition] |
| 340 | # (http://www.ecma-international.org/publications/standards/Ecma-376.htm). |
| 341 | # |
| 342 | # The position of each connection site can also be viewed from Slides editor. |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame^] | 343 | }, |
| 344 | "endConnection": { # The properties for one end of a Line # The connection at the end of the line. If unset, there is no connection. |
| 345 | # |
| 346 | # Only lines with a Type indicating it is |
| 347 | # a "connector" can have an `end_connection`. |
| 348 | # connection. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 349 | "connectedObjectId": "A String", # The object ID of the connected page element. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 350 | # |
| 351 | # Some page elements, such as groups, tables, and lines |
| 352 | # do not have connection sites and therefore cannot be connected to a |
| 353 | # connector line. |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame^] | 354 | "connectionSiteIndex": 42, # The index of the connection site on the connected page element. |
| 355 | # |
| 356 | # In most cases, it corresponds to the predefined connection site index from |
| 357 | # the ECMA-376 standard. More information on those connection sites can be |
| 358 | # found in the description of the "cnx" attribute in section 20.1.9.9 and |
| 359 | # Annex H. "Predefined DrawingML Shape and Text Geometries" of "Office Open |
| 360 | # XML File Formats-Fundamentals and Markup Language Reference", part 1 of |
| 361 | # [ECMA-376 5th edition] |
| 362 | # (http://www.ecma-international.org/publications/standards/Ecma-376.htm). |
| 363 | # |
| 364 | # The position of each connection site can also be viewed from Slides editor. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 365 | }, |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 366 | "endArrow": "A String", # The style of the arrow at the end of the line. |
| 367 | "lineFill": { # The fill of the line. # The fill of the line. The default line fill matches the defaults for new |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 368 | # lines created in the Slides editor. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 369 | "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill. |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 370 | # specified color value. |
| 371 | # |
| 372 | # If any field is unset, its value may be inherited from a parent placeholder |
| 373 | # if it exists. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 374 | "color": { # A themeable solid color value. # The color value of the solid fill. |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame^] | 375 | "themeColor": "A String", # An opaque theme color. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 376 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 377 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame^] | 378 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 379 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 380 | }, |
| 381 | }, |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 382 | "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel. |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 383 | # That is, the final pixel color is defined by the equation: |
| 384 | # |
| 385 | # pixel color = alpha * (color) + (1.0 - alpha) * (background color) |
| 386 | # |
| 387 | # This means that a value of 1.0 corresponds to a solid color, whereas |
| 388 | # a value of 0.0 corresponds to a completely transparent color. |
| 389 | }, |
| 390 | }, |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame^] | 391 | "weight": { # A magnitude in a single direction in the specified units. # The thickness of the line. |
| 392 | "magnitude": 3.14, # The magnitude. |
| 393 | "unit": "A String", # The units for magnitude. |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 394 | }, |
| 395 | "link": { # A hypertext link. # The hyperlink destination of the line. If unset, there is no link. |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame^] | 396 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 397 | # addressed by its position. |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 398 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 399 | # in the presentation. There may not be a slide at this index. |
| 400 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 401 | # presentation with this ID. A page with this ID may not exist. |
| 402 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 403 | }, |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame^] | 404 | "dashStyle": "A String", # The dash style of the line. |
| 405 | "startArrow": "A String", # The style of the arrow at the beginning of the line. |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 406 | }, |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame^] | 407 | "lineCategory": "A String", # The category of the line. |
| 408 | # |
| 409 | # It matches the `category` specified in CreateLineRequest, and can be updated with |
| 410 | # UpdateLineCategoryRequest. |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 411 | }, |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 412 | "shape": { # A PageElement kind representing a # A generic shape. |
| 413 | # generic shape that does not have a more specific classification. |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame^] | 414 | "shapeType": "A String", # The type of the shape. |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 415 | "text": { # The general text content. The text must reside in a compatible shape (e.g. # The text content of the shape. |
| 416 | # text box or rectangle) or a table cell in a page. |
| 417 | "lists": { # The bulleted lists contained in this text, keyed by list ID. |
| 418 | "a_key": { # A List describes the look and feel of bullets belonging to paragraphs |
| 419 | # associated with a list. A paragraph that is part of a list has an implicit |
| 420 | # reference to that list's ID. |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 421 | "nestingLevel": { # A map of nesting levels to the properties of bullets at the associated |
| 422 | # level. A list has at most nine levels of nesting, so the possible values |
| 423 | # for the keys of this map are 0 through 8, inclusive. |
| 424 | "a_key": { # Contains properties describing the look and feel of a list bullet at a given |
| 425 | # level of nesting. |
| 426 | "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The style of a bullet at this level of nesting. |
| 427 | # |
| 428 | # If this text is contained in a shape with a parent placeholder, then these text styles may be |
| 429 | # inherited from the parent. Which text styles are inherited depend on the |
| 430 | # nesting level of lists: |
| 431 | # |
| 432 | # * A text run in a paragraph that is not in a list will inherit its text style |
| 433 | # from the the newline character in the paragraph at the 0 nesting level of |
| 434 | # the list inside the parent placeholder. |
| 435 | # * A text run in a paragraph that is in a list will inherit its text style |
| 436 | # from the newline character in the paragraph at its corresponding nesting |
| 437 | # level of the list inside the parent placeholder. |
| 438 | # |
| 439 | # Inherited text styles are represented as unset fields in this message. If |
| 440 | # text is contained in a shape without a parent placeholder, unsetting these |
| 441 | # fields will revert the style to a value matching the defaults in the Slides |
| 442 | # editor. |
| 443 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame^] | 444 | "fontFamily": "A String", # The font family of the text. |
| 445 | # |
| 446 | # The font family can be any font from the Font menu in Slides or from |
| 447 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 448 | # unrecognized, the text is rendered in `Arial`. |
| 449 | # |
| 450 | # Some fonts can affect the weight of the text. If an update request |
| 451 | # specifies values for both `font_family` and `bold`, the explicitly-set |
| 452 | # `bold` value is used. |
| 453 | "underline": True or False, # Whether or not the text is underlined. |
| 454 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 455 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or |
| 456 | # transparent, depending on if the `opaque_color` field in it is set. |
| 457 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 458 | # a transparent color. |
| 459 | "themeColor": "A String", # An opaque theme color. |
| 460 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 461 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 462 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 463 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 464 | }, |
| 465 | }, |
| 466 | }, |
| 467 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 468 | "italic": True or False, # Whether or not the text is italicized. |
| 469 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 470 | # |
| 471 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 472 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 473 | # The `font_size` itself is not affected by changes in this field. |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 474 | "weightedFontFamily": { # Represents a font family and weight used to style a TextRun. # The font family and rendered weight of the text. |
| 475 | # |
| 476 | # This field is an extension of `font_family` meant to support explicit font |
| 477 | # weights without breaking backwards compatibility. As such, when reading the |
| 478 | # style of a range of text, the value of `weighted_font_family#font_family` |
| 479 | # will always be equal to that of `font_family`. However, when writing, if |
| 480 | # both fields are included in the field mask (either explicitly or through |
| 481 | # the wildcard `"*"`), their values are reconciled as follows: |
| 482 | # |
| 483 | # * If `font_family` is set and `weighted_font_family` is not, the value of |
| 484 | # `font_family` is applied with weight `400` ("normal"). |
| 485 | # * If both fields are set, the value of `font_family` must match that of |
| 486 | # `weighted_font_family#font_family`. If so, the font family and weight of |
| 487 | # `weighted_font_family` is applied. Otherwise, a 400 bad request error is |
| 488 | # returned. |
| 489 | # * If `weighted_font_family` is set and `font_family` is not, the font |
| 490 | # family and weight of `weighted_font_family` is applied. |
| 491 | # * If neither field is set, the font family and weight of the text inherit |
| 492 | # from the parent. Note that these properties cannot inherit separately |
| 493 | # from each other. |
| 494 | # |
| 495 | # If an update request specifies values for both `weighted_font_family` and |
| 496 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 497 | # |
| 498 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 499 | # |
| 500 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 501 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 502 | # is returned. |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 503 | "weight": 42, # The rendered weight of the text. This field can have any value that is a |
| 504 | # multiple of `100` between `100` and `900`, inclusive. This range |
| 505 | # corresponds to the numerical values described in the CSS 2.1 |
| 506 | # Specification, |
| 507 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), |
| 508 | # with non-numerical values disallowed. Weights greater than or equal to |
| 509 | # `700` are considered bold, and weights less than `700`are not bold. The |
| 510 | # default value is `400` ("normal"). |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame^] | 511 | "fontFamily": "A String", # The font family of the text. |
| 512 | # |
| 513 | # The font family can be any font from the Font menu in Slides or from |
| 514 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 515 | # unrecognized, the text is rendered in `Arial`. |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 516 | }, |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 517 | "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links |
| 518 | # are not inherited from parent text. |
| 519 | # |
| 520 | # Changing the link in an update request causes some other changes to the |
| 521 | # text style of the range: |
| 522 | # |
| 523 | # * When setting a link, the text foreground color will be set to |
| 524 | # ThemeColorType.HYPERLINK and the text will |
| 525 | # be underlined. If these fields are modified in the same |
| 526 | # request, those values will be used instead of the link defaults. |
| 527 | # * Setting a link on a text range that overlaps with an existing link will |
| 528 | # also update the existing link to point to the new URL. |
| 529 | # * Links are not settable on newline characters. As a result, setting a link |
| 530 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 531 | # will separate the newline character(s) into their own text runs. The |
| 532 | # link will be applied separately to the runs before and after the newline. |
| 533 | # * Removing a link will update the text style of the range to match the |
| 534 | # style of the preceding text (or the default text styles if the preceding |
| 535 | # text is another link) unless different styles are being set in the same |
| 536 | # request. |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame^] | 537 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 538 | # addressed by its position. |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 539 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 540 | # in the presentation. There may not be a slide at this index. |
| 541 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 542 | # presentation with this ID. A page with this ID may not exist. |
| 543 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 544 | }, |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame^] | 545 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in |
| 546 | # points. |
| 547 | "magnitude": 3.14, # The magnitude. |
| 548 | "unit": "A String", # The units for magnitude. |
| 549 | }, |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 550 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or |
| 551 | # transparent, depending on if the `opaque_color` field in it is set. |
| 552 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 553 | # a transparent color. |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame^] | 554 | "themeColor": "A String", # An opaque theme color. |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 555 | "rgbColor": { # An RGB color. # An opaque RGB color. |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 556 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame^] | 557 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 558 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 559 | }, |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 560 | }, |
| 561 | }, |
| 562 | }, |
| 563 | }, |
| 564 | }, |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame^] | 565 | "listId": "A String", # The ID of the list. |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 566 | }, |
| 567 | }, |
| 568 | "textElements": [ # The text contents broken down into its component parts, including styling |
| 569 | # information. This property is read-only. |
| 570 | { # A TextElement describes the content of a range of indices in the text content |
| 571 | # of a Shape or TableCell. |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame^] | 572 | "endIndex": 42, # The zero-based end index of this text element, exclusive, in Unicode code |
| 573 | # units. |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 574 | "autoText": { # A TextElement kind that represents auto text. # A TextElement representing a spot in the text that is dynamically |
| 575 | # replaced with content that can change over time. |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 576 | "content": "A String", # The rendered content of this auto text, if available. |
| 577 | "style": { # Represents the styling that can be applied to a TextRun. # The styling applied to this auto text. |
| 578 | # |
| 579 | # If this text is contained in a shape with a parent placeholder, then these text styles may be |
| 580 | # inherited from the parent. Which text styles are inherited depend on the |
| 581 | # nesting level of lists: |
| 582 | # |
| 583 | # * A text run in a paragraph that is not in a list will inherit its text style |
| 584 | # from the the newline character in the paragraph at the 0 nesting level of |
| 585 | # the list inside the parent placeholder. |
| 586 | # * A text run in a paragraph that is in a list will inherit its text style |
| 587 | # from the newline character in the paragraph at its corresponding nesting |
| 588 | # level of the list inside the parent placeholder. |
| 589 | # |
| 590 | # Inherited text styles are represented as unset fields in this message. If |
| 591 | # text is contained in a shape without a parent placeholder, unsetting these |
| 592 | # fields will revert the style to a value matching the defaults in the Slides |
| 593 | # editor. |
| 594 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame^] | 595 | "fontFamily": "A String", # The font family of the text. |
| 596 | # |
| 597 | # The font family can be any font from the Font menu in Slides or from |
| 598 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 599 | # unrecognized, the text is rendered in `Arial`. |
| 600 | # |
| 601 | # Some fonts can affect the weight of the text. If an update request |
| 602 | # specifies values for both `font_family` and `bold`, the explicitly-set |
| 603 | # `bold` value is used. |
| 604 | "underline": True or False, # Whether or not the text is underlined. |
| 605 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 606 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or |
| 607 | # transparent, depending on if the `opaque_color` field in it is set. |
| 608 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 609 | # a transparent color. |
| 610 | "themeColor": "A String", # An opaque theme color. |
| 611 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 612 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 613 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 614 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 615 | }, |
| 616 | }, |
| 617 | }, |
| 618 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 619 | "italic": True or False, # Whether or not the text is italicized. |
| 620 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 621 | # |
| 622 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 623 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 624 | # The `font_size` itself is not affected by changes in this field. |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 625 | "weightedFontFamily": { # Represents a font family and weight used to style a TextRun. # The font family and rendered weight of the text. |
| 626 | # |
| 627 | # This field is an extension of `font_family` meant to support explicit font |
| 628 | # weights without breaking backwards compatibility. As such, when reading the |
| 629 | # style of a range of text, the value of `weighted_font_family#font_family` |
| 630 | # will always be equal to that of `font_family`. However, when writing, if |
| 631 | # both fields are included in the field mask (either explicitly or through |
| 632 | # the wildcard `"*"`), their values are reconciled as follows: |
| 633 | # |
| 634 | # * If `font_family` is set and `weighted_font_family` is not, the value of |
| 635 | # `font_family` is applied with weight `400` ("normal"). |
| 636 | # * If both fields are set, the value of `font_family` must match that of |
| 637 | # `weighted_font_family#font_family`. If so, the font family and weight of |
| 638 | # `weighted_font_family` is applied. Otherwise, a 400 bad request error is |
| 639 | # returned. |
| 640 | # * If `weighted_font_family` is set and `font_family` is not, the font |
| 641 | # family and weight of `weighted_font_family` is applied. |
| 642 | # * If neither field is set, the font family and weight of the text inherit |
| 643 | # from the parent. Note that these properties cannot inherit separately |
| 644 | # from each other. |
| 645 | # |
| 646 | # If an update request specifies values for both `weighted_font_family` and |
| 647 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 648 | # |
| 649 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 650 | # |
| 651 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 652 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 653 | # is returned. |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 654 | "weight": 42, # The rendered weight of the text. This field can have any value that is a |
| 655 | # multiple of `100` between `100` and `900`, inclusive. This range |
| 656 | # corresponds to the numerical values described in the CSS 2.1 |
| 657 | # Specification, |
| 658 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), |
| 659 | # with non-numerical values disallowed. Weights greater than or equal to |
| 660 | # `700` are considered bold, and weights less than `700`are not bold. The |
| 661 | # default value is `400` ("normal"). |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame^] | 662 | "fontFamily": "A String", # The font family of the text. |
| 663 | # |
| 664 | # The font family can be any font from the Font menu in Slides or from |
| 665 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 666 | # unrecognized, the text is rendered in `Arial`. |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 667 | }, |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 668 | "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links |
| 669 | # are not inherited from parent text. |
| 670 | # |
| 671 | # Changing the link in an update request causes some other changes to the |
| 672 | # text style of the range: |
| 673 | # |
| 674 | # * When setting a link, the text foreground color will be set to |
| 675 | # ThemeColorType.HYPERLINK and the text will |
| 676 | # be underlined. If these fields are modified in the same |
| 677 | # request, those values will be used instead of the link defaults. |
| 678 | # * Setting a link on a text range that overlaps with an existing link will |
| 679 | # also update the existing link to point to the new URL. |
| 680 | # * Links are not settable on newline characters. As a result, setting a link |
| 681 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 682 | # will separate the newline character(s) into their own text runs. The |
| 683 | # link will be applied separately to the runs before and after the newline. |
| 684 | # * Removing a link will update the text style of the range to match the |
| 685 | # style of the preceding text (or the default text styles if the preceding |
| 686 | # text is another link) unless different styles are being set in the same |
| 687 | # request. |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame^] | 688 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 689 | # addressed by its position. |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 690 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 691 | # in the presentation. There may not be a slide at this index. |
| 692 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 693 | # presentation with this ID. A page with this ID may not exist. |
| 694 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 695 | }, |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame^] | 696 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in |
| 697 | # points. |
| 698 | "magnitude": 3.14, # The magnitude. |
| 699 | "unit": "A String", # The units for magnitude. |
| 700 | }, |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 701 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or |
| 702 | # transparent, depending on if the `opaque_color` field in it is set. |
| 703 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 704 | # a transparent color. |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame^] | 705 | "themeColor": "A String", # An opaque theme color. |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 706 | "rgbColor": { # An RGB color. # An opaque RGB color. |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 707 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame^] | 708 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 709 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 710 | }, |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 711 | }, |
| 712 | }, |
| 713 | }, |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame^] | 714 | "type": "A String", # The type of this auto text. |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 715 | }, |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame^] | 716 | "paragraphMarker": { # A TextElement kind that represents the beginning of a new paragraph. # A marker representing the beginning of a new paragraph. |
| 717 | # |
| 718 | # The `start_index` and `end_index` of this TextElement represent the |
| 719 | # range of the paragraph. Other TextElements with an index range contained |
| 720 | # inside this paragraph's range are considered to be part of this |
| 721 | # paragraph. The range of indices of two separate paragraphs will never |
| 722 | # overlap. |
| 723 | "style": { # Styles that apply to a whole paragraph. # The paragraph's style |
| 724 | # |
| 725 | # If this text is contained in a shape with a parent placeholder, then these paragraph styles may be |
| 726 | # inherited from the parent. Which paragraph styles are inherited depend on the |
| 727 | # nesting level of lists: |
| 728 | # |
| 729 | # * A paragraph not in a list will inherit its paragraph style from the |
| 730 | # paragraph at the 0 nesting level of the list inside the parent placeholder. |
| 731 | # * A paragraph in a list will inherit its paragraph style from the paragraph |
| 732 | # at its corresponding nesting level of the list inside the parent |
| 733 | # placeholder. |
| 734 | # |
| 735 | # Inherited paragraph styles are represented as unset fields in this message. |
| 736 | "indentEnd": { # A magnitude in a single direction in the specified units. # The amount indentation for the paragraph on the side that corresponds to |
| 737 | # the end of the text, based on the current text direction. If unset, the |
| 738 | # value is inherited from the parent. |
| 739 | "magnitude": 3.14, # The magnitude. |
| 740 | "unit": "A String", # The units for magnitude. |
| 741 | }, |
| 742 | "indentFirstLine": { # A magnitude in a single direction in the specified units. # The amount of indentation for the start of the first line of the paragraph. |
| 743 | # If unset, the value is inherited from the parent. |
| 744 | "magnitude": 3.14, # The magnitude. |
| 745 | "unit": "A String", # The units for magnitude. |
| 746 | }, |
| 747 | "spaceAbove": { # A magnitude in a single direction in the specified units. # The amount of extra space above the paragraph. If unset, the value is |
| 748 | # inherited from the parent. |
| 749 | "magnitude": 3.14, # The magnitude. |
| 750 | "unit": "A String", # The units for magnitude. |
| 751 | }, |
| 752 | "indentStart": { # A magnitude in a single direction in the specified units. # The amount indentation for the paragraph on the side that corresponds to |
| 753 | # the start of the text, based on the current text direction. If unset, the |
| 754 | # value is inherited from the parent. |
| 755 | "magnitude": 3.14, # The magnitude. |
| 756 | "unit": "A String", # The units for magnitude. |
| 757 | }, |
| 758 | "spacingMode": "A String", # The spacing mode for the paragraph. |
| 759 | "spaceBelow": { # A magnitude in a single direction in the specified units. # The amount of extra space below the paragraph. If unset, the value is |
| 760 | # inherited from the parent. |
| 761 | "magnitude": 3.14, # The magnitude. |
| 762 | "unit": "A String", # The units for magnitude. |
| 763 | }, |
| 764 | "direction": "A String", # The text direction of this paragraph. If unset, the value defaults to |
| 765 | # LEFT_TO_RIGHT since |
| 766 | # text direction is not inherited. |
| 767 | "lineSpacing": 3.14, # The amount of space between lines, as a percentage of normal, where normal |
| 768 | # is represented as 100.0. If unset, the value is inherited from the parent. |
| 769 | "alignment": "A String", # The text alignment for this paragraph. |
| 770 | }, |
| 771 | "bullet": { # Describes the bullet of a paragraph. # The bullet for this paragraph. If not present, the paragraph does not |
| 772 | # belong to a list. |
| 773 | "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The paragraph specific text style applied to this bullet. |
| 774 | # |
| 775 | # If this text is contained in a shape with a parent placeholder, then these text styles may be |
| 776 | # inherited from the parent. Which text styles are inherited depend on the |
| 777 | # nesting level of lists: |
| 778 | # |
| 779 | # * A text run in a paragraph that is not in a list will inherit its text style |
| 780 | # from the the newline character in the paragraph at the 0 nesting level of |
| 781 | # the list inside the parent placeholder. |
| 782 | # * A text run in a paragraph that is in a list will inherit its text style |
| 783 | # from the newline character in the paragraph at its corresponding nesting |
| 784 | # level of the list inside the parent placeholder. |
| 785 | # |
| 786 | # Inherited text styles are represented as unset fields in this message. If |
| 787 | # text is contained in a shape without a parent placeholder, unsetting these |
| 788 | # fields will revert the style to a value matching the defaults in the Slides |
| 789 | # editor. |
| 790 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 791 | "fontFamily": "A String", # The font family of the text. |
| 792 | # |
| 793 | # The font family can be any font from the Font menu in Slides or from |
| 794 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 795 | # unrecognized, the text is rendered in `Arial`. |
| 796 | # |
| 797 | # Some fonts can affect the weight of the text. If an update request |
| 798 | # specifies values for both `font_family` and `bold`, the explicitly-set |
| 799 | # `bold` value is used. |
| 800 | "underline": True or False, # Whether or not the text is underlined. |
| 801 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 802 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or |
| 803 | # transparent, depending on if the `opaque_color` field in it is set. |
| 804 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 805 | # a transparent color. |
| 806 | "themeColor": "A String", # An opaque theme color. |
| 807 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 808 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 809 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 810 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 811 | }, |
| 812 | }, |
| 813 | }, |
| 814 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 815 | "italic": True or False, # Whether or not the text is italicized. |
| 816 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 817 | # |
| 818 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 819 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 820 | # The `font_size` itself is not affected by changes in this field. |
| 821 | "weightedFontFamily": { # Represents a font family and weight used to style a TextRun. # The font family and rendered weight of the text. |
| 822 | # |
| 823 | # This field is an extension of `font_family` meant to support explicit font |
| 824 | # weights without breaking backwards compatibility. As such, when reading the |
| 825 | # style of a range of text, the value of `weighted_font_family#font_family` |
| 826 | # will always be equal to that of `font_family`. However, when writing, if |
| 827 | # both fields are included in the field mask (either explicitly or through |
| 828 | # the wildcard `"*"`), their values are reconciled as follows: |
| 829 | # |
| 830 | # * If `font_family` is set and `weighted_font_family` is not, the value of |
| 831 | # `font_family` is applied with weight `400` ("normal"). |
| 832 | # * If both fields are set, the value of `font_family` must match that of |
| 833 | # `weighted_font_family#font_family`. If so, the font family and weight of |
| 834 | # `weighted_font_family` is applied. Otherwise, a 400 bad request error is |
| 835 | # returned. |
| 836 | # * If `weighted_font_family` is set and `font_family` is not, the font |
| 837 | # family and weight of `weighted_font_family` is applied. |
| 838 | # * If neither field is set, the font family and weight of the text inherit |
| 839 | # from the parent. Note that these properties cannot inherit separately |
| 840 | # from each other. |
| 841 | # |
| 842 | # If an update request specifies values for both `weighted_font_family` and |
| 843 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 844 | # |
| 845 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 846 | # |
| 847 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 848 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 849 | # is returned. |
| 850 | "weight": 42, # The rendered weight of the text. This field can have any value that is a |
| 851 | # multiple of `100` between `100` and `900`, inclusive. This range |
| 852 | # corresponds to the numerical values described in the CSS 2.1 |
| 853 | # Specification, |
| 854 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), |
| 855 | # with non-numerical values disallowed. Weights greater than or equal to |
| 856 | # `700` are considered bold, and weights less than `700`are not bold. The |
| 857 | # default value is `400` ("normal"). |
| 858 | "fontFamily": "A String", # The font family of the text. |
| 859 | # |
| 860 | # The font family can be any font from the Font menu in Slides or from |
| 861 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 862 | # unrecognized, the text is rendered in `Arial`. |
| 863 | }, |
| 864 | "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links |
| 865 | # are not inherited from parent text. |
| 866 | # |
| 867 | # Changing the link in an update request causes some other changes to the |
| 868 | # text style of the range: |
| 869 | # |
| 870 | # * When setting a link, the text foreground color will be set to |
| 871 | # ThemeColorType.HYPERLINK and the text will |
| 872 | # be underlined. If these fields are modified in the same |
| 873 | # request, those values will be used instead of the link defaults. |
| 874 | # * Setting a link on a text range that overlaps with an existing link will |
| 875 | # also update the existing link to point to the new URL. |
| 876 | # * Links are not settable on newline characters. As a result, setting a link |
| 877 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 878 | # will separate the newline character(s) into their own text runs. The |
| 879 | # link will be applied separately to the runs before and after the newline. |
| 880 | # * Removing a link will update the text style of the range to match the |
| 881 | # style of the preceding text (or the default text styles if the preceding |
| 882 | # text is another link) unless different styles are being set in the same |
| 883 | # request. |
| 884 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 885 | # addressed by its position. |
| 886 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 887 | # in the presentation. There may not be a slide at this index. |
| 888 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 889 | # presentation with this ID. A page with this ID may not exist. |
| 890 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
| 891 | }, |
| 892 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in |
| 893 | # points. |
| 894 | "magnitude": 3.14, # The magnitude. |
| 895 | "unit": "A String", # The units for magnitude. |
| 896 | }, |
| 897 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or |
| 898 | # transparent, depending on if the `opaque_color` field in it is set. |
| 899 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 900 | # a transparent color. |
| 901 | "themeColor": "A String", # An opaque theme color. |
| 902 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 903 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 904 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 905 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 906 | }, |
| 907 | }, |
| 908 | }, |
| 909 | }, |
| 910 | "nestingLevel": 42, # The nesting level of this paragraph in the list. |
| 911 | "listId": "A String", # The ID of the list this paragraph belongs to. |
| 912 | "glyph": "A String", # The rendered bullet glyph for this paragraph. |
| 913 | }, |
| 914 | }, |
| 915 | "startIndex": 42, # The zero-based start index of this text element, in Unicode code units. |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 916 | "textRun": { # A TextElement kind that represents a run of text that all has the same # A TextElement representing a run of text where all of the characters |
| 917 | # in the run have the same TextStyle. |
| 918 | # |
| 919 | # The `start_index` and `end_index` of TextRuns will always be fully |
| 920 | # contained in the index range of a single `paragraph_marker` TextElement. |
| 921 | # In other words, a TextRun will never span multiple paragraphs. |
| 922 | # styling. |
| 923 | "content": "A String", # The text of this run. |
| 924 | "style": { # Represents the styling that can be applied to a TextRun. # The styling applied to this run. |
| 925 | # |
| 926 | # If this text is contained in a shape with a parent placeholder, then these text styles may be |
| 927 | # inherited from the parent. Which text styles are inherited depend on the |
| 928 | # nesting level of lists: |
| 929 | # |
| 930 | # * A text run in a paragraph that is not in a list will inherit its text style |
| 931 | # from the the newline character in the paragraph at the 0 nesting level of |
| 932 | # the list inside the parent placeholder. |
| 933 | # * A text run in a paragraph that is in a list will inherit its text style |
| 934 | # from the newline character in the paragraph at its corresponding nesting |
| 935 | # level of the list inside the parent placeholder. |
| 936 | # |
| 937 | # Inherited text styles are represented as unset fields in this message. If |
| 938 | # text is contained in a shape without a parent placeholder, unsetting these |
| 939 | # fields will revert the style to a value matching the defaults in the Slides |
| 940 | # editor. |
| 941 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame^] | 942 | "fontFamily": "A String", # The font family of the text. |
| 943 | # |
| 944 | # The font family can be any font from the Font menu in Slides or from |
| 945 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 946 | # unrecognized, the text is rendered in `Arial`. |
| 947 | # |
| 948 | # Some fonts can affect the weight of the text. If an update request |
| 949 | # specifies values for both `font_family` and `bold`, the explicitly-set |
| 950 | # `bold` value is used. |
| 951 | "underline": True or False, # Whether or not the text is underlined. |
| 952 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 953 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or |
| 954 | # transparent, depending on if the `opaque_color` field in it is set. |
| 955 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 956 | # a transparent color. |
| 957 | "themeColor": "A String", # An opaque theme color. |
| 958 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 959 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 960 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 961 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 962 | }, |
| 963 | }, |
| 964 | }, |
| 965 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 966 | "italic": True or False, # Whether or not the text is italicized. |
| 967 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 968 | # |
| 969 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 970 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 971 | # The `font_size` itself is not affected by changes in this field. |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 972 | "weightedFontFamily": { # Represents a font family and weight used to style a TextRun. # The font family and rendered weight of the text. |
| 973 | # |
| 974 | # This field is an extension of `font_family` meant to support explicit font |
| 975 | # weights without breaking backwards compatibility. As such, when reading the |
| 976 | # style of a range of text, the value of `weighted_font_family#font_family` |
| 977 | # will always be equal to that of `font_family`. However, when writing, if |
| 978 | # both fields are included in the field mask (either explicitly or through |
| 979 | # the wildcard `"*"`), their values are reconciled as follows: |
| 980 | # |
| 981 | # * If `font_family` is set and `weighted_font_family` is not, the value of |
| 982 | # `font_family` is applied with weight `400` ("normal"). |
| 983 | # * If both fields are set, the value of `font_family` must match that of |
| 984 | # `weighted_font_family#font_family`. If so, the font family and weight of |
| 985 | # `weighted_font_family` is applied. Otherwise, a 400 bad request error is |
| 986 | # returned. |
| 987 | # * If `weighted_font_family` is set and `font_family` is not, the font |
| 988 | # family and weight of `weighted_font_family` is applied. |
| 989 | # * If neither field is set, the font family and weight of the text inherit |
| 990 | # from the parent. Note that these properties cannot inherit separately |
| 991 | # from each other. |
| 992 | # |
| 993 | # If an update request specifies values for both `weighted_font_family` and |
| 994 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 995 | # |
| 996 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 997 | # |
| 998 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 999 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 1000 | # is returned. |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 1001 | "weight": 42, # The rendered weight of the text. This field can have any value that is a |
| 1002 | # multiple of `100` between `100` and `900`, inclusive. This range |
| 1003 | # corresponds to the numerical values described in the CSS 2.1 |
| 1004 | # Specification, |
| 1005 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), |
| 1006 | # with non-numerical values disallowed. Weights greater than or equal to |
| 1007 | # `700` are considered bold, and weights less than `700`are not bold. The |
| 1008 | # default value is `400` ("normal"). |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame^] | 1009 | "fontFamily": "A String", # The font family of the text. |
| 1010 | # |
| 1011 | # The font family can be any font from the Font menu in Slides or from |
| 1012 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 1013 | # unrecognized, the text is rendered in `Arial`. |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 1014 | }, |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 1015 | "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links |
| 1016 | # are not inherited from parent text. |
| 1017 | # |
| 1018 | # Changing the link in an update request causes some other changes to the |
| 1019 | # text style of the range: |
| 1020 | # |
| 1021 | # * When setting a link, the text foreground color will be set to |
| 1022 | # ThemeColorType.HYPERLINK and the text will |
| 1023 | # be underlined. If these fields are modified in the same |
| 1024 | # request, those values will be used instead of the link defaults. |
| 1025 | # * Setting a link on a text range that overlaps with an existing link will |
| 1026 | # also update the existing link to point to the new URL. |
| 1027 | # * Links are not settable on newline characters. As a result, setting a link |
| 1028 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 1029 | # will separate the newline character(s) into their own text runs. The |
| 1030 | # link will be applied separately to the runs before and after the newline. |
| 1031 | # * Removing a link will update the text style of the range to match the |
| 1032 | # style of the preceding text (or the default text styles if the preceding |
| 1033 | # text is another link) unless different styles are being set in the same |
| 1034 | # request. |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame^] | 1035 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 1036 | # addressed by its position. |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 1037 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 1038 | # in the presentation. There may not be a slide at this index. |
| 1039 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 1040 | # presentation with this ID. A page with this ID may not exist. |
| 1041 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 1042 | }, |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame^] | 1043 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in |
| 1044 | # points. |
| 1045 | "magnitude": 3.14, # The magnitude. |
| 1046 | "unit": "A String", # The units for magnitude. |
| 1047 | }, |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 1048 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or |
| 1049 | # transparent, depending on if the `opaque_color` field in it is set. |
| 1050 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 1051 | # a transparent color. |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame^] | 1052 | "themeColor": "A String", # An opaque theme color. |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 1053 | "rgbColor": { # An RGB color. # An opaque RGB color. |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 1054 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame^] | 1055 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 1056 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 1057 | }, |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 1058 | }, |
| 1059 | }, |
| 1060 | }, |
| 1061 | }, |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 1062 | }, |
| 1063 | ], |
| 1064 | }, |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 1065 | "placeholder": { # The placeholder information that uniquely identifies a placeholder shape. # Placeholders are shapes that are inherit from corresponding placeholders on |
| 1066 | # layouts and masters. |
| 1067 | # |
| 1068 | # If set, the shape is a placeholder shape and any inherited properties |
| 1069 | # can be resolved by looking at the parent placeholder identified by the |
| 1070 | # Placeholder.parent_object_id field. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 1071 | "parentObjectId": "A String", # The object ID of this shape's parent placeholder. |
| 1072 | # If unset, the parent placeholder shape does not exist, so the shape does |
| 1073 | # not inherit properties from any other shape. |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame^] | 1074 | "index": 42, # The index of the placeholder. If the same placeholder types are present in |
| 1075 | # the same page, they would have different index values. |
| 1076 | "type": "A String", # The type of the placeholder. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 1077 | }, |
| 1078 | "shapeProperties": { # The properties of a Shape. # The properties of the shape. |
| 1079 | # |
| 1080 | # If the shape is a placeholder shape as determined by the |
| 1081 | # placeholder field, then these |
| 1082 | # properties may be inherited from a parent placeholder shape. |
| 1083 | # Determining the rendered value of the property depends on the corresponding |
| 1084 | # property_state field value. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 1085 | "outline": { # The outline of a PageElement. # The outline of the shape. If unset, the outline is inherited from a |
| 1086 | # parent placeholder if it exists. If the shape has no parent, then the |
| 1087 | # default outline depends on the shape type, matching the defaults for |
| 1088 | # new shapes created in the Slides editor. |
| 1089 | # |
| 1090 | # If these fields are unset, they may be inherited from a parent placeholder |
| 1091 | # if it exists. If there is no parent, the fields will default to the value |
| 1092 | # used for new page elements created in the Slides editor, which may depend on |
| 1093 | # the page element kind. |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame^] | 1094 | "propertyState": "A String", # The outline property state. |
| 1095 | # |
| 1096 | # Updating the outline on a page element will implicitly update this field |
| 1097 | # to `RENDERED`, unless another value is specified in the same request. To |
| 1098 | # have no outline on a page element, set this field to `NOT_RENDERED`. In |
| 1099 | # this case, any other outline fields set in the same request will be |
| 1100 | # ignored. |
| 1101 | "dashStyle": "A String", # The dash style of the outline. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 1102 | "outlineFill": { # The fill of the outline. # The fill of the outline. |
| 1103 | "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill. |
| 1104 | # specified color value. |
| 1105 | # |
| 1106 | # If any field is unset, its value may be inherited from a parent placeholder |
| 1107 | # if it exists. |
| 1108 | "color": { # A themeable solid color value. # The color value of the solid fill. |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame^] | 1109 | "themeColor": "A String", # An opaque theme color. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 1110 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 1111 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame^] | 1112 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 1113 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 1114 | }, |
| 1115 | }, |
| 1116 | "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel. |
| 1117 | # That is, the final pixel color is defined by the equation: |
| 1118 | # |
| 1119 | # pixel color = alpha * (color) + (1.0 - alpha) * (background color) |
| 1120 | # |
| 1121 | # This means that a value of 1.0 corresponds to a solid color, whereas |
| 1122 | # a value of 0.0 corresponds to a completely transparent color. |
| 1123 | }, |
| 1124 | }, |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 1125 | "weight": { # A magnitude in a single direction in the specified units. # The thickness of the outline. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 1126 | "magnitude": 3.14, # The magnitude. |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame^] | 1127 | "unit": "A String", # The units for magnitude. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 1128 | }, |
| 1129 | }, |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame^] | 1130 | "contentAlignment": "A String", # The alignment of the content in the shape. If unspecified, |
| 1131 | # the alignment is inherited from a parent placeholder if it exists. If the |
| 1132 | # shape has no parent, the default alignment matches the alignment for new |
| 1133 | # shapes created in the Slides editor. |
| 1134 | "link": { # A hypertext link. # The hyperlink destination of the shape. If unset, there is no link. Links |
| 1135 | # are not inherited from parent placeholders. |
| 1136 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 1137 | # addressed by its position. |
| 1138 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 1139 | # in the presentation. There may not be a slide at this index. |
| 1140 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 1141 | # presentation with this ID. A page with this ID may not exist. |
| 1142 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
| 1143 | }, |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 1144 | "shadow": { # The shadow properties of a page element. # The shadow properties of the shape. If unset, the shadow is inherited from |
| 1145 | # a parent placeholder if it exists. If the shape has no parent, then the |
| 1146 | # default shadow matches the defaults for new shapes created in the Slides |
| 1147 | # editor. This property is read-only. |
| 1148 | # |
| 1149 | # If these fields are unset, they may be inherited from a parent placeholder |
| 1150 | # if it exists. If there is no parent, the fields will default to the value |
| 1151 | # used for new page elements created in the Slides editor, which may depend on |
| 1152 | # the page element kind. |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame^] | 1153 | "rotateWithShape": True or False, # Whether the shadow should rotate with the shape. This property is |
| 1154 | # read-only. |
| 1155 | "blurRadius": { # A magnitude in a single direction in the specified units. # The radius of the shadow blur. The larger the radius, the more diffuse the |
| 1156 | # shadow becomes. |
| 1157 | "magnitude": 3.14, # The magnitude. |
| 1158 | "unit": "A String", # The units for magnitude. |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 1159 | }, |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 1160 | "propertyState": "A String", # The shadow property state. |
| 1161 | # |
| 1162 | # Updating the shadow on a page element will implicitly update this field to |
| 1163 | # `RENDERED`, unless another value is specified in the same request. To have |
| 1164 | # no shadow on a page element, set this field to `NOT_RENDERED`. In this |
| 1165 | # case, any other shadow fields set in the same request will be ignored. |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame^] | 1166 | "alignment": "A String", # The alignment point of the shadow, that sets the origin for translate, |
| 1167 | # scale and skew of the shadow. This property is read-only. |
| 1168 | "type": "A String", # The type of the shadow. This property is read-only. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 1169 | "transform": { # AffineTransform uses a 3x3 matrix with an implied last row of [ 0 0 1 ] # Transform that encodes the translate, scale, and skew of the shadow, |
| 1170 | # relative to the alignment position. |
| 1171 | # to transform source coordinates (x,y) into destination coordinates (x', y') |
| 1172 | # according to: |
| 1173 | # |
| 1174 | # x' x = shear_y scale_y translate_y |
| 1175 | # 1 [ 1 ] |
| 1176 | # |
| 1177 | # After transformation, |
| 1178 | # |
| 1179 | # x' = scale_x * x + shear_x * y + translate_x; |
| 1180 | # y' = scale_y * y + shear_y * x + translate_y; |
| 1181 | # |
| 1182 | # This message is therefore composed of these six matrix elements. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 1183 | "scaleY": 3.14, # The Y coordinate scaling element. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 1184 | "translateY": 3.14, # The Y coordinate translation element. |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame^] | 1185 | "shearY": 3.14, # The Y coordinate shearing element. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 1186 | "scaleX": 3.14, # The X coordinate scaling element. |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 1187 | "unit": "A String", # The units for translate elements. |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame^] | 1188 | "shearX": 3.14, # The X coordinate shearing element. |
| 1189 | "translateX": 3.14, # The X coordinate translation element. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 1190 | }, |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame^] | 1191 | "color": { # A themeable solid color value. # The shadow color value. |
| 1192 | "themeColor": "A String", # An opaque theme color. |
| 1193 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 1194 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 1195 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 1196 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 1197 | }, |
| 1198 | }, |
| 1199 | "alpha": 3.14, # The alpha of the shadow's color, from 0.0 to 1.0. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 1200 | }, |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame^] | 1201 | "shapeBackgroundFill": { # The shape background fill. # The background fill of the shape. If unset, the background fill is |
| 1202 | # inherited from a parent placeholder if it exists. If the shape has no |
| 1203 | # parent, then the default background fill depends on the shape type, |
| 1204 | # matching the defaults for new shapes created in the Slides editor. |
| 1205 | "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill. |
| 1206 | # specified color value. |
| 1207 | # |
| 1208 | # If any field is unset, its value may be inherited from a parent placeholder |
| 1209 | # if it exists. |
| 1210 | "color": { # A themeable solid color value. # The color value of the solid fill. |
| 1211 | "themeColor": "A String", # An opaque theme color. |
| 1212 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 1213 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 1214 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 1215 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 1216 | }, |
| 1217 | }, |
| 1218 | "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel. |
| 1219 | # That is, the final pixel color is defined by the equation: |
| 1220 | # |
| 1221 | # pixel color = alpha * (color) + (1.0 - alpha) * (background color) |
| 1222 | # |
| 1223 | # This means that a value of 1.0 corresponds to a solid color, whereas |
| 1224 | # a value of 0.0 corresponds to a completely transparent color. |
| 1225 | }, |
| 1226 | "propertyState": "A String", # The background fill property state. |
| 1227 | # |
| 1228 | # Updating the fill on a shape will implicitly update this field to |
| 1229 | # `RENDERED`, unless another value is specified in the same request. To |
| 1230 | # have no fill on a shape, set this field to `NOT_RENDERED`. In this case, |
| 1231 | # any other fill fields set in the same request will be ignored. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 1232 | }, |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 1233 | }, |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 1234 | }, |
| 1235 | "wordArt": { # A PageElement kind representing # A word art page element. |
| 1236 | # word art. |
| 1237 | "renderedText": "A String", # The text rendered as word art. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 1238 | }, |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame^] | 1239 | "table": { # A PageElement kind representing a # A table page element. |
| 1240 | # table. |
| 1241 | "horizontalBorderRows": [ # Properties of horizontal cell borders. |
| 1242 | # |
| 1243 | # A table's horizontal cell borders are represented as a grid. The grid has |
| 1244 | # one more row than the number of rows in the table and the same number of |
| 1245 | # columns as the table. For example, if the table is 3 x 3, its horizontal |
| 1246 | # borders will be represented as a grid with 4 rows and 3 columns. |
| 1247 | { # Contents of each border row in a table. |
| 1248 | "tableBorderCells": [ # Properties of each border cell. When a border's adjacent table cells are |
| 1249 | # merged, it is not included in the response. |
| 1250 | { # The properties of each border cell. |
| 1251 | "tableBorderProperties": { # The border styling properties of the # The border properties. |
| 1252 | # TableBorderCell. |
| 1253 | "tableBorderFill": { # The fill of the border. # The fill of the table border. |
| 1254 | "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid fill. |
| 1255 | # specified color value. |
| 1256 | # |
| 1257 | # If any field is unset, its value may be inherited from a parent placeholder |
| 1258 | # if it exists. |
| 1259 | "color": { # A themeable solid color value. # The color value of the solid fill. |
| 1260 | "themeColor": "A String", # An opaque theme color. |
| 1261 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 1262 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 1263 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 1264 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 1265 | }, |
| 1266 | }, |
| 1267 | "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel. |
| 1268 | # That is, the final pixel color is defined by the equation: |
| 1269 | # |
| 1270 | # pixel color = alpha * (color) + (1.0 - alpha) * (background color) |
| 1271 | # |
| 1272 | # This means that a value of 1.0 corresponds to a solid color, whereas |
| 1273 | # a value of 0.0 corresponds to a completely transparent color. |
| 1274 | }, |
| 1275 | }, |
| 1276 | "weight": { # A magnitude in a single direction in the specified units. # The thickness of the border. |
| 1277 | "magnitude": 3.14, # The magnitude. |
| 1278 | "unit": "A String", # The units for magnitude. |
| 1279 | }, |
| 1280 | "dashStyle": "A String", # The dash style of the border. |
| 1281 | }, |
| 1282 | "location": { # A location of a single table cell within a table. # The location of the border within the border table. |
| 1283 | "rowIndex": 42, # The 0-based row index. |
| 1284 | "columnIndex": 42, # The 0-based column index. |
| 1285 | }, |
| 1286 | }, |
| 1287 | ], |
| 1288 | }, |
| 1289 | ], |
| 1290 | "columns": 42, # Number of columns in the table. |
| 1291 | "tableRows": [ # Properties and contents of each row. |
| 1292 | # |
| 1293 | # Cells that span multiple rows are contained in only one of these rows and |
| 1294 | # have a row_span greater |
| 1295 | # than 1. |
| 1296 | { # Properties and contents of each row in a table. |
| 1297 | "rowHeight": { # A magnitude in a single direction in the specified units. # Height of a row. |
| 1298 | "magnitude": 3.14, # The magnitude. |
| 1299 | "unit": "A String", # The units for magnitude. |
| 1300 | }, |
| 1301 | "tableRowProperties": { # Properties of each row in a table. # Properties of the row. |
| 1302 | "minRowHeight": { # A magnitude in a single direction in the specified units. # Minimum height of the row. The row will be rendered in the Slides editor at |
| 1303 | # a height equal to or greater than this value in order to show all the text |
| 1304 | # in the row's cell(s). |
| 1305 | "magnitude": 3.14, # The magnitude. |
| 1306 | "unit": "A String", # The units for magnitude. |
| 1307 | }, |
| 1308 | }, |
| 1309 | "tableCells": [ # Properties and contents of each cell. |
| 1310 | # |
| 1311 | # Cells that span multiple columns are represented only once with a |
| 1312 | # column_span greater |
| 1313 | # than 1. As a result, the length of this collection does not always match |
| 1314 | # the number of columns of the entire table. |
| 1315 | { # Properties and contents of each table cell. |
| 1316 | "text": { # The general text content. The text must reside in a compatible shape (e.g. # The text content of the cell. |
| 1317 | # text box or rectangle) or a table cell in a page. |
| 1318 | "lists": { # The bulleted lists contained in this text, keyed by list ID. |
| 1319 | "a_key": { # A List describes the look and feel of bullets belonging to paragraphs |
| 1320 | # associated with a list. A paragraph that is part of a list has an implicit |
| 1321 | # reference to that list's ID. |
| 1322 | "nestingLevel": { # A map of nesting levels to the properties of bullets at the associated |
| 1323 | # level. A list has at most nine levels of nesting, so the possible values |
| 1324 | # for the keys of this map are 0 through 8, inclusive. |
| 1325 | "a_key": { # Contains properties describing the look and feel of a list bullet at a given |
| 1326 | # level of nesting. |
| 1327 | "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The style of a bullet at this level of nesting. |
| 1328 | # |
| 1329 | # If this text is contained in a shape with a parent placeholder, then these text styles may be |
| 1330 | # inherited from the parent. Which text styles are inherited depend on the |
| 1331 | # nesting level of lists: |
| 1332 | # |
| 1333 | # * A text run in a paragraph that is not in a list will inherit its text style |
| 1334 | # from the the newline character in the paragraph at the 0 nesting level of |
| 1335 | # the list inside the parent placeholder. |
| 1336 | # * A text run in a paragraph that is in a list will inherit its text style |
| 1337 | # from the newline character in the paragraph at its corresponding nesting |
| 1338 | # level of the list inside the parent placeholder. |
| 1339 | # |
| 1340 | # Inherited text styles are represented as unset fields in this message. If |
| 1341 | # text is contained in a shape without a parent placeholder, unsetting these |
| 1342 | # fields will revert the style to a value matching the defaults in the Slides |
| 1343 | # editor. |
| 1344 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 1345 | "fontFamily": "A String", # The font family of the text. |
| 1346 | # |
| 1347 | # The font family can be any font from the Font menu in Slides or from |
| 1348 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 1349 | # unrecognized, the text is rendered in `Arial`. |
| 1350 | # |
| 1351 | # Some fonts can affect the weight of the text. If an update request |
| 1352 | # specifies values for both `font_family` and `bold`, the explicitly-set |
| 1353 | # `bold` value is used. |
| 1354 | "underline": True or False, # Whether or not the text is underlined. |
| 1355 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 1356 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or |
| 1357 | # transparent, depending on if the `opaque_color` field in it is set. |
| 1358 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 1359 | # a transparent color. |
| 1360 | "themeColor": "A String", # An opaque theme color. |
| 1361 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 1362 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 1363 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 1364 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 1365 | }, |
| 1366 | }, |
| 1367 | }, |
| 1368 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 1369 | "italic": True or False, # Whether or not the text is italicized. |
| 1370 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 1371 | # |
| 1372 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 1373 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 1374 | # The `font_size` itself is not affected by changes in this field. |
| 1375 | "weightedFontFamily": { # Represents a font family and weight used to style a TextRun. # The font family and rendered weight of the text. |
| 1376 | # |
| 1377 | # This field is an extension of `font_family` meant to support explicit font |
| 1378 | # weights without breaking backwards compatibility. As such, when reading the |
| 1379 | # style of a range of text, the value of `weighted_font_family#font_family` |
| 1380 | # will always be equal to that of `font_family`. However, when writing, if |
| 1381 | # both fields are included in the field mask (either explicitly or through |
| 1382 | # the wildcard `"*"`), their values are reconciled as follows: |
| 1383 | # |
| 1384 | # * If `font_family` is set and `weighted_font_family` is not, the value of |
| 1385 | # `font_family` is applied with weight `400` ("normal"). |
| 1386 | # * If both fields are set, the value of `font_family` must match that of |
| 1387 | # `weighted_font_family#font_family`. If so, the font family and weight of |
| 1388 | # `weighted_font_family` is applied. Otherwise, a 400 bad request error is |
| 1389 | # returned. |
| 1390 | # * If `weighted_font_family` is set and `font_family` is not, the font |
| 1391 | # family and weight of `weighted_font_family` is applied. |
| 1392 | # * If neither field is set, the font family and weight of the text inherit |
| 1393 | # from the parent. Note that these properties cannot inherit separately |
| 1394 | # from each other. |
| 1395 | # |
| 1396 | # If an update request specifies values for both `weighted_font_family` and |
| 1397 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 1398 | # |
| 1399 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 1400 | # |
| 1401 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 1402 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 1403 | # is returned. |
| 1404 | "weight": 42, # The rendered weight of the text. This field can have any value that is a |
| 1405 | # multiple of `100` between `100` and `900`, inclusive. This range |
| 1406 | # corresponds to the numerical values described in the CSS 2.1 |
| 1407 | # Specification, |
| 1408 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), |
| 1409 | # with non-numerical values disallowed. Weights greater than or equal to |
| 1410 | # `700` are considered bold, and weights less than `700`are not bold. The |
| 1411 | # default value is `400` ("normal"). |
| 1412 | "fontFamily": "A String", # The font family of the text. |
| 1413 | # |
| 1414 | # The font family can be any font from the Font menu in Slides or from |
| 1415 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 1416 | # unrecognized, the text is rendered in `Arial`. |
| 1417 | }, |
| 1418 | "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links |
| 1419 | # are not inherited from parent text. |
| 1420 | # |
| 1421 | # Changing the link in an update request causes some other changes to the |
| 1422 | # text style of the range: |
| 1423 | # |
| 1424 | # * When setting a link, the text foreground color will be set to |
| 1425 | # ThemeColorType.HYPERLINK and the text will |
| 1426 | # be underlined. If these fields are modified in the same |
| 1427 | # request, those values will be used instead of the link defaults. |
| 1428 | # * Setting a link on a text range that overlaps with an existing link will |
| 1429 | # also update the existing link to point to the new URL. |
| 1430 | # * Links are not settable on newline characters. As a result, setting a link |
| 1431 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 1432 | # will separate the newline character(s) into their own text runs. The |
| 1433 | # link will be applied separately to the runs before and after the newline. |
| 1434 | # * Removing a link will update the text style of the range to match the |
| 1435 | # style of the preceding text (or the default text styles if the preceding |
| 1436 | # text is another link) unless different styles are being set in the same |
| 1437 | # request. |
| 1438 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 1439 | # addressed by its position. |
| 1440 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 1441 | # in the presentation. There may not be a slide at this index. |
| 1442 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 1443 | # presentation with this ID. A page with this ID may not exist. |
| 1444 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
| 1445 | }, |
| 1446 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in |
| 1447 | # points. |
| 1448 | "magnitude": 3.14, # The magnitude. |
| 1449 | "unit": "A String", # The units for magnitude. |
| 1450 | }, |
| 1451 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or |
| 1452 | # transparent, depending on if the `opaque_color` field in it is set. |
| 1453 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 1454 | # a transparent color. |
| 1455 | "themeColor": "A String", # An opaque theme color. |
| 1456 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 1457 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 1458 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 1459 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 1460 | }, |
| 1461 | }, |
| 1462 | }, |
| 1463 | }, |
| 1464 | }, |
| 1465 | }, |
| 1466 | "listId": "A String", # The ID of the list. |
| 1467 | }, |
| 1468 | }, |
| 1469 | "textElements": [ # The text contents broken down into its component parts, including styling |
| 1470 | # information. This property is read-only. |
| 1471 | { # A TextElement describes the content of a range of indices in the text content |
| 1472 | # of a Shape or TableCell. |
| 1473 | "endIndex": 42, # The zero-based end index of this text element, exclusive, in Unicode code |
| 1474 | # units. |
| 1475 | "autoText": { # A TextElement kind that represents auto text. # A TextElement representing a spot in the text that is dynamically |
| 1476 | # replaced with content that can change over time. |
| 1477 | "content": "A String", # The rendered content of this auto text, if available. |
| 1478 | "style": { # Represents the styling that can be applied to a TextRun. # The styling applied to this auto text. |
| 1479 | # |
| 1480 | # If this text is contained in a shape with a parent placeholder, then these text styles may be |
| 1481 | # inherited from the parent. Which text styles are inherited depend on the |
| 1482 | # nesting level of lists: |
| 1483 | # |
| 1484 | # * A text run in a paragraph that is not in a list will inherit its text style |
| 1485 | # from the the newline character in the paragraph at the 0 nesting level of |
| 1486 | # the list inside the parent placeholder. |
| 1487 | # * A text run in a paragraph that is in a list will inherit its text style |
| 1488 | # from the newline character in the paragraph at its corresponding nesting |
| 1489 | # level of the list inside the parent placeholder. |
| 1490 | # |
| 1491 | # Inherited text styles are represented as unset fields in this message. If |
| 1492 | # text is contained in a shape without a parent placeholder, unsetting these |
| 1493 | # fields will revert the style to a value matching the defaults in the Slides |
| 1494 | # editor. |
| 1495 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 1496 | "fontFamily": "A String", # The font family of the text. |
| 1497 | # |
| 1498 | # The font family can be any font from the Font menu in Slides or from |
| 1499 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 1500 | # unrecognized, the text is rendered in `Arial`. |
| 1501 | # |
| 1502 | # Some fonts can affect the weight of the text. If an update request |
| 1503 | # specifies values for both `font_family` and `bold`, the explicitly-set |
| 1504 | # `bold` value is used. |
| 1505 | "underline": True or False, # Whether or not the text is underlined. |
| 1506 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 1507 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or |
| 1508 | # transparent, depending on if the `opaque_color` field in it is set. |
| 1509 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 1510 | # a transparent color. |
| 1511 | "themeColor": "A String", # An opaque theme color. |
| 1512 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 1513 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 1514 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 1515 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 1516 | }, |
| 1517 | }, |
| 1518 | }, |
| 1519 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 1520 | "italic": True or False, # Whether or not the text is italicized. |
| 1521 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 1522 | # |
| 1523 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 1524 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 1525 | # The `font_size` itself is not affected by changes in this field. |
| 1526 | "weightedFontFamily": { # Represents a font family and weight used to style a TextRun. # The font family and rendered weight of the text. |
| 1527 | # |
| 1528 | # This field is an extension of `font_family` meant to support explicit font |
| 1529 | # weights without breaking backwards compatibility. As such, when reading the |
| 1530 | # style of a range of text, the value of `weighted_font_family#font_family` |
| 1531 | # will always be equal to that of `font_family`. However, when writing, if |
| 1532 | # both fields are included in the field mask (either explicitly or through |
| 1533 | # the wildcard `"*"`), their values are reconciled as follows: |
| 1534 | # |
| 1535 | # * If `font_family` is set and `weighted_font_family` is not, the value of |
| 1536 | # `font_family` is applied with weight `400` ("normal"). |
| 1537 | # * If both fields are set, the value of `font_family` must match that of |
| 1538 | # `weighted_font_family#font_family`. If so, the font family and weight of |
| 1539 | # `weighted_font_family` is applied. Otherwise, a 400 bad request error is |
| 1540 | # returned. |
| 1541 | # * If `weighted_font_family` is set and `font_family` is not, the font |
| 1542 | # family and weight of `weighted_font_family` is applied. |
| 1543 | # * If neither field is set, the font family and weight of the text inherit |
| 1544 | # from the parent. Note that these properties cannot inherit separately |
| 1545 | # from each other. |
| 1546 | # |
| 1547 | # If an update request specifies values for both `weighted_font_family` and |
| 1548 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 1549 | # |
| 1550 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 1551 | # |
| 1552 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 1553 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 1554 | # is returned. |
| 1555 | "weight": 42, # The rendered weight of the text. This field can have any value that is a |
| 1556 | # multiple of `100` between `100` and `900`, inclusive. This range |
| 1557 | # corresponds to the numerical values described in the CSS 2.1 |
| 1558 | # Specification, |
| 1559 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), |
| 1560 | # with non-numerical values disallowed. Weights greater than or equal to |
| 1561 | # `700` are considered bold, and weights less than `700`are not bold. The |
| 1562 | # default value is `400` ("normal"). |
| 1563 | "fontFamily": "A String", # The font family of the text. |
| 1564 | # |
| 1565 | # The font family can be any font from the Font menu in Slides or from |
| 1566 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 1567 | # unrecognized, the text is rendered in `Arial`. |
| 1568 | }, |
| 1569 | "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links |
| 1570 | # are not inherited from parent text. |
| 1571 | # |
| 1572 | # Changing the link in an update request causes some other changes to the |
| 1573 | # text style of the range: |
| 1574 | # |
| 1575 | # * When setting a link, the text foreground color will be set to |
| 1576 | # ThemeColorType.HYPERLINK and the text will |
| 1577 | # be underlined. If these fields are modified in the same |
| 1578 | # request, those values will be used instead of the link defaults. |
| 1579 | # * Setting a link on a text range that overlaps with an existing link will |
| 1580 | # also update the existing link to point to the new URL. |
| 1581 | # * Links are not settable on newline characters. As a result, setting a link |
| 1582 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 1583 | # will separate the newline character(s) into their own text runs. The |
| 1584 | # link will be applied separately to the runs before and after the newline. |
| 1585 | # * Removing a link will update the text style of the range to match the |
| 1586 | # style of the preceding text (or the default text styles if the preceding |
| 1587 | # text is another link) unless different styles are being set in the same |
| 1588 | # request. |
| 1589 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 1590 | # addressed by its position. |
| 1591 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 1592 | # in the presentation. There may not be a slide at this index. |
| 1593 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 1594 | # presentation with this ID. A page with this ID may not exist. |
| 1595 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
| 1596 | }, |
| 1597 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in |
| 1598 | # points. |
| 1599 | "magnitude": 3.14, # The magnitude. |
| 1600 | "unit": "A String", # The units for magnitude. |
| 1601 | }, |
| 1602 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or |
| 1603 | # transparent, depending on if the `opaque_color` field in it is set. |
| 1604 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 1605 | # a transparent color. |
| 1606 | "themeColor": "A String", # An opaque theme color. |
| 1607 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 1608 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 1609 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 1610 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 1611 | }, |
| 1612 | }, |
| 1613 | }, |
| 1614 | }, |
| 1615 | "type": "A String", # The type of this auto text. |
| 1616 | }, |
| 1617 | "paragraphMarker": { # A TextElement kind that represents the beginning of a new paragraph. # A marker representing the beginning of a new paragraph. |
| 1618 | # |
| 1619 | # The `start_index` and `end_index` of this TextElement represent the |
| 1620 | # range of the paragraph. Other TextElements with an index range contained |
| 1621 | # inside this paragraph's range are considered to be part of this |
| 1622 | # paragraph. The range of indices of two separate paragraphs will never |
| 1623 | # overlap. |
| 1624 | "style": { # Styles that apply to a whole paragraph. # The paragraph's style |
| 1625 | # |
| 1626 | # If this text is contained in a shape with a parent placeholder, then these paragraph styles may be |
| 1627 | # inherited from the parent. Which paragraph styles are inherited depend on the |
| 1628 | # nesting level of lists: |
| 1629 | # |
| 1630 | # * A paragraph not in a list will inherit its paragraph style from the |
| 1631 | # paragraph at the 0 nesting level of the list inside the parent placeholder. |
| 1632 | # * A paragraph in a list will inherit its paragraph style from the paragraph |
| 1633 | # at its corresponding nesting level of the list inside the parent |
| 1634 | # placeholder. |
| 1635 | # |
| 1636 | # Inherited paragraph styles are represented as unset fields in this message. |
| 1637 | "indentEnd": { # A magnitude in a single direction in the specified units. # The amount indentation for the paragraph on the side that corresponds to |
| 1638 | # the end of the text, based on the current text direction. If unset, the |
| 1639 | # value is inherited from the parent. |
| 1640 | "magnitude": 3.14, # The magnitude. |
| 1641 | "unit": "A String", # The units for magnitude. |
| 1642 | }, |
| 1643 | "indentFirstLine": { # A magnitude in a single direction in the specified units. # The amount of indentation for the start of the first line of the paragraph. |
| 1644 | # If unset, the value is inherited from the parent. |
| 1645 | "magnitude": 3.14, # The magnitude. |
| 1646 | "unit": "A String", # The units for magnitude. |
| 1647 | }, |
| 1648 | "spaceAbove": { # A magnitude in a single direction in the specified units. # The amount of extra space above the paragraph. If unset, the value is |
| 1649 | # inherited from the parent. |
| 1650 | "magnitude": 3.14, # The magnitude. |
| 1651 | "unit": "A String", # The units for magnitude. |
| 1652 | }, |
| 1653 | "indentStart": { # A magnitude in a single direction in the specified units. # The amount indentation for the paragraph on the side that corresponds to |
| 1654 | # the start of the text, based on the current text direction. If unset, the |
| 1655 | # value is inherited from the parent. |
| 1656 | "magnitude": 3.14, # The magnitude. |
| 1657 | "unit": "A String", # The units for magnitude. |
| 1658 | }, |
| 1659 | "spacingMode": "A String", # The spacing mode for the paragraph. |
| 1660 | "spaceBelow": { # A magnitude in a single direction in the specified units. # The amount of extra space below the paragraph. If unset, the value is |
| 1661 | # inherited from the parent. |
| 1662 | "magnitude": 3.14, # The magnitude. |
| 1663 | "unit": "A String", # The units for magnitude. |
| 1664 | }, |
| 1665 | "direction": "A String", # The text direction of this paragraph. If unset, the value defaults to |
| 1666 | # LEFT_TO_RIGHT since |
| 1667 | # text direction is not inherited. |
| 1668 | "lineSpacing": 3.14, # The amount of space between lines, as a percentage of normal, where normal |
| 1669 | # is represented as 100.0. If unset, the value is inherited from the parent. |
| 1670 | "alignment": "A String", # The text alignment for this paragraph. |
| 1671 | }, |
| 1672 | "bullet": { # Describes the bullet of a paragraph. # The bullet for this paragraph. If not present, the paragraph does not |
| 1673 | # belong to a list. |
| 1674 | "bulletStyle": { # Represents the styling that can be applied to a TextRun. # The paragraph specific text style applied to this bullet. |
| 1675 | # |
| 1676 | # If this text is contained in a shape with a parent placeholder, then these text styles may be |
| 1677 | # inherited from the parent. Which text styles are inherited depend on the |
| 1678 | # nesting level of lists: |
| 1679 | # |
| 1680 | # * A text run in a paragraph that is not in a list will inherit its text style |
| 1681 | # from the the newline character in the paragraph at the 0 nesting level of |
| 1682 | # the list inside the parent placeholder. |
| 1683 | # * A text run in a paragraph that is in a list will inherit its text style |
| 1684 | # from the newline character in the paragraph at its corresponding nesting |
| 1685 | # level of the list inside the parent placeholder. |
| 1686 | # |
| 1687 | # Inherited text styles are represented as unset fields in this message. If |
| 1688 | # text is contained in a shape without a parent placeholder, unsetting these |
| 1689 | # fields will revert the style to a value matching the defaults in the Slides |
| 1690 | # editor. |
| 1691 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 1692 | "fontFamily": "A String", # The font family of the text. |
| 1693 | # |
| 1694 | # The font family can be any font from the Font menu in Slides or from |
| 1695 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 1696 | # unrecognized, the text is rendered in `Arial`. |
| 1697 | # |
| 1698 | # Some fonts can affect the weight of the text. If an update request |
| 1699 | # specifies values for both `font_family` and `bold`, the explicitly-set |
| 1700 | # `bold` value is used. |
| 1701 | "underline": True or False, # Whether or not the text is underlined. |
| 1702 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 1703 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or |
| 1704 | # transparent, depending on if the `opaque_color` field in it is set. |
| 1705 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 1706 | # a transparent color. |
| 1707 | "themeColor": "A String", # An opaque theme color. |
| 1708 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 1709 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 1710 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 1711 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 1712 | }, |
| 1713 | }, |
| 1714 | }, |
| 1715 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 1716 | "italic": True or False, # Whether or not the text is italicized. |
| 1717 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 1718 | # |
| 1719 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 1720 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 1721 | # The `font_size` itself is not affected by changes in this field. |
| 1722 | "weightedFontFamily": { # Represents a font family and weight used to style a TextRun. # The font family and rendered weight of the text. |
| 1723 | # |
| 1724 | # This field is an extension of `font_family` meant to support explicit font |
| 1725 | # weights without breaking backwards compatibility. As such, when reading the |
| 1726 | # style of a range of text, the value of `weighted_font_family#font_family` |
| 1727 | # will always be equal to that of `font_family`. However, when writing, if |
| 1728 | # both fields are included in the field mask (either explicitly or through |
| 1729 | # the wildcard `"*"`), their values are reconciled as follows: |
| 1730 | # |
| 1731 | # * If `font_family` is set and `weighted_font_family` is not, the value of |
| 1732 | # `font_family` is applied with weight `400` ("normal"). |
| 1733 | # * If both fields are set, the value of `font_family` must match that of |
| 1734 | # `weighted_font_family#font_family`. If so, the font family and weight of |
| 1735 | # `weighted_font_family` is applied. Otherwise, a 400 bad request error is |
| 1736 | # returned. |
| 1737 | # * If `weighted_font_family` is set and `font_family` is not, the font |
| 1738 | # family and weight of `weighted_font_family` is applied. |
| 1739 | # * If neither field is set, the font family and weight of the text inherit |
| 1740 | # from the parent. Note that these properties cannot inherit separately |
| 1741 | # from each other. |
| 1742 | # |
| 1743 | # If an update request specifies values for both `weighted_font_family` and |
| 1744 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 1745 | # |
| 1746 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 1747 | # |
| 1748 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 1749 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 1750 | # is returned. |
| 1751 | "weight": 42, # The rendered weight of the text. This field can have any value that is a |
| 1752 | # multiple of `100` between `100` and `900`, inclusive. This range |
| 1753 | # corresponds to the numerical values described in the CSS 2.1 |
| 1754 | # Specification, |
| 1755 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), |
| 1756 | # with non-numerical values disallowed. Weights greater than or equal to |
| 1757 | # `700` are considered bold, and weights less than `700`are not bold. The |
| 1758 | # default value is `400` ("normal"). |
| 1759 | "fontFamily": "A String", # The font family of the text. |
| 1760 | # |
| 1761 | # The font family can be any font from the Font menu in Slides or from |
| 1762 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 1763 | # unrecognized, the text is rendered in `Arial`. |
| 1764 | }, |
| 1765 | "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links |
| 1766 | # are not inherited from parent text. |
| 1767 | # |
| 1768 | # Changing the link in an update request causes some other changes to the |
| 1769 | # text style of the range: |
| 1770 | # |
| 1771 | # * When setting a link, the text foreground color will be set to |
| 1772 | # ThemeColorType.HYPERLINK and the text will |
| 1773 | # be underlined. If these fields are modified in the same |
| 1774 | # request, those values will be used instead of the link defaults. |
| 1775 | # * Setting a link on a text range that overlaps with an existing link will |
| 1776 | # also update the existing link to point to the new URL. |
| 1777 | # * Links are not settable on newline characters. As a result, setting a link |
| 1778 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 1779 | # will separate the newline character(s) into their own text runs. The |
| 1780 | # link will be applied separately to the runs before and after the newline. |
| 1781 | # * Removing a link will update the text style of the range to match the |
| 1782 | # style of the preceding text (or the default text styles if the preceding |
| 1783 | # text is another link) unless different styles are being set in the same |
| 1784 | # request. |
| 1785 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 1786 | # addressed by its position. |
| 1787 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 1788 | # in the presentation. There may not be a slide at this index. |
| 1789 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 1790 | # presentation with this ID. A page with this ID may not exist. |
| 1791 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
| 1792 | }, |
| 1793 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in |
| 1794 | # points. |
| 1795 | "magnitude": 3.14, # The magnitude. |
| 1796 | "unit": "A String", # The units for magnitude. |
| 1797 | }, |
| 1798 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or |
| 1799 | # transparent, depending on if the `opaque_color` field in it is set. |
| 1800 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 1801 | # a transparent color. |
| 1802 | "themeColor": "A String", # An opaque theme color. |
| 1803 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 1804 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 1805 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 1806 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 1807 | }, |
| 1808 | }, |
| 1809 | }, |
| 1810 | }, |
| 1811 | "nestingLevel": 42, # The nesting level of this paragraph in the list. |
| 1812 | "listId": "A String", # The ID of the list this paragraph belongs to. |
| 1813 | "glyph": "A String", # The rendered bullet glyph for this paragraph. |
| 1814 | }, |
| 1815 | }, |
| 1816 | "startIndex": 42, # The zero-based start index of this text element, in Unicode code units. |
| 1817 | "textRun": { # A TextElement kind that represents a run of text that all has the same # A TextElement representing a run of text where all of the characters |
| 1818 | # in the run have the same TextStyle. |
| 1819 | # |
| 1820 | # The `start_index` and `end_index` of TextRuns will always be fully |
| 1821 | # contained in the index range of a single `paragraph_marker` TextElement. |
| 1822 | # In other words, a TextRun will never span multiple paragraphs. |
| 1823 | # styling. |
| 1824 | "content": "A String", # The text of this run. |
| 1825 | "style": { # Represents the styling that can be applied to a TextRun. # The styling applied to this run. |
| 1826 | # |
| 1827 | # If this text is contained in a shape with a parent placeholder, then these text styles may be |
| 1828 | # inherited from the parent. Which text styles are inherited depend on the |
| 1829 | # nesting level of lists: |
| 1830 | # |
| 1831 | # * A text run in a paragraph that is not in a list will inherit its text style |
| 1832 | # from the the newline character in the paragraph at the 0 nesting level of |
| 1833 | # the list inside the parent placeholder. |
| 1834 | # * A text run in a paragraph that is in a list will inherit its text style |
| 1835 | # from the newline character in the paragraph at its corresponding nesting |
| 1836 | # level of the list inside the parent placeholder. |
| 1837 | # |
| 1838 | # Inherited text styles are represented as unset fields in this message. If |
| 1839 | # text is contained in a shape without a parent placeholder, unsetting these |
| 1840 | # fields will revert the style to a value matching the defaults in the Slides |
| 1841 | # editor. |
| 1842 | "smallCaps": True or False, # Whether or not the text is in small capital letters. |
| 1843 | "fontFamily": "A String", # The font family of the text. |
| 1844 | # |
| 1845 | # The font family can be any font from the Font menu in Slides or from |
| 1846 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 1847 | # unrecognized, the text is rendered in `Arial`. |
| 1848 | # |
| 1849 | # Some fonts can affect the weight of the text. If an update request |
| 1850 | # specifies values for both `font_family` and `bold`, the explicitly-set |
| 1851 | # `bold` value is used. |
| 1852 | "underline": True or False, # Whether or not the text is underlined. |
| 1853 | "strikethrough": True or False, # Whether or not the text is struck through. |
| 1854 | "foregroundColor": { # A color that can either be fully opaque or fully transparent. # The color of the text itself. If set, the color is either opaque or |
| 1855 | # transparent, depending on if the `opaque_color` field in it is set. |
| 1856 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 1857 | # a transparent color. |
| 1858 | "themeColor": "A String", # An opaque theme color. |
| 1859 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 1860 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 1861 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 1862 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 1863 | }, |
| 1864 | }, |
| 1865 | }, |
| 1866 | "bold": True or False, # Whether or not the text is rendered as bold. |
| 1867 | "italic": True or False, # Whether or not the text is italicized. |
| 1868 | "baselineOffset": "A String", # The text's vertical offset from its normal position. |
| 1869 | # |
| 1870 | # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
| 1871 | # rendered in a smaller font size, computed based on the `font_size` field. |
| 1872 | # The `font_size` itself is not affected by changes in this field. |
| 1873 | "weightedFontFamily": { # Represents a font family and weight used to style a TextRun. # The font family and rendered weight of the text. |
| 1874 | # |
| 1875 | # This field is an extension of `font_family` meant to support explicit font |
| 1876 | # weights without breaking backwards compatibility. As such, when reading the |
| 1877 | # style of a range of text, the value of `weighted_font_family#font_family` |
| 1878 | # will always be equal to that of `font_family`. However, when writing, if |
| 1879 | # both fields are included in the field mask (either explicitly or through |
| 1880 | # the wildcard `"*"`), their values are reconciled as follows: |
| 1881 | # |
| 1882 | # * If `font_family` is set and `weighted_font_family` is not, the value of |
| 1883 | # `font_family` is applied with weight `400` ("normal"). |
| 1884 | # * If both fields are set, the value of `font_family` must match that of |
| 1885 | # `weighted_font_family#font_family`. If so, the font family and weight of |
| 1886 | # `weighted_font_family` is applied. Otherwise, a 400 bad request error is |
| 1887 | # returned. |
| 1888 | # * If `weighted_font_family` is set and `font_family` is not, the font |
| 1889 | # family and weight of `weighted_font_family` is applied. |
| 1890 | # * If neither field is set, the font family and weight of the text inherit |
| 1891 | # from the parent. Note that these properties cannot inherit separately |
| 1892 | # from each other. |
| 1893 | # |
| 1894 | # If an update request specifies values for both `weighted_font_family` and |
| 1895 | # `bold`, the `weighted_font_family` is applied first, then `bold`. |
| 1896 | # |
| 1897 | # If `weighted_font_family#weight` is not set, it defaults to `400`. |
| 1898 | # |
| 1899 | # If `weighted_font_family` is set, then `weighted_font_family#font_family` |
| 1900 | # must also be set with a non-empty value. Otherwise, a 400 bad request error |
| 1901 | # is returned. |
| 1902 | "weight": 42, # The rendered weight of the text. This field can have any value that is a |
| 1903 | # multiple of `100` between `100` and `900`, inclusive. This range |
| 1904 | # corresponds to the numerical values described in the CSS 2.1 |
| 1905 | # Specification, |
| 1906 | # [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), |
| 1907 | # with non-numerical values disallowed. Weights greater than or equal to |
| 1908 | # `700` are considered bold, and weights less than `700`are not bold. The |
| 1909 | # default value is `400` ("normal"). |
| 1910 | "fontFamily": "A String", # The font family of the text. |
| 1911 | # |
| 1912 | # The font family can be any font from the Font menu in Slides or from |
| 1913 | # [Google Fonts] (https://fonts.google.com/). If the font name is |
| 1914 | # unrecognized, the text is rendered in `Arial`. |
| 1915 | }, |
| 1916 | "link": { # A hypertext link. # The hyperlink destination of the text. If unset, there is no link. Links |
| 1917 | # are not inherited from parent text. |
| 1918 | # |
| 1919 | # Changing the link in an update request causes some other changes to the |
| 1920 | # text style of the range: |
| 1921 | # |
| 1922 | # * When setting a link, the text foreground color will be set to |
| 1923 | # ThemeColorType.HYPERLINK and the text will |
| 1924 | # be underlined. If these fields are modified in the same |
| 1925 | # request, those values will be used instead of the link defaults. |
| 1926 | # * Setting a link on a text range that overlaps with an existing link will |
| 1927 | # also update the existing link to point to the new URL. |
| 1928 | # * Links are not settable on newline characters. As a result, setting a link |
| 1929 | # on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
| 1930 | # will separate the newline character(s) into their own text runs. The |
| 1931 | # link will be applied separately to the runs before and after the newline. |
| 1932 | # * Removing a link will update the text style of the range to match the |
| 1933 | # style of the preceding text (or the default text styles if the preceding |
| 1934 | # text is another link) unless different styles are being set in the same |
| 1935 | # request. |
| 1936 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 1937 | # addressed by its position. |
| 1938 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 1939 | # in the presentation. There may not be a slide at this index. |
| 1940 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 1941 | # presentation with this ID. A page with this ID may not exist. |
| 1942 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
| 1943 | }, |
| 1944 | "fontSize": { # A magnitude in a single direction in the specified units. # The size of the text's font. When read, the `font_size` will specified in |
| 1945 | # points. |
| 1946 | "magnitude": 3.14, # The magnitude. |
| 1947 | "unit": "A String", # The units for magnitude. |
| 1948 | }, |
| 1949 | "backgroundColor": { # A color that can either be fully opaque or fully transparent. # The background color of the text. If set, the color is either opaque or |
| 1950 | # transparent, depending on if the `opaque_color` field in it is set. |
| 1951 | "opaqueColor": { # A themeable solid color value. # If set, this will be used as an opaque color. If unset, this represents |
| 1952 | # a transparent color. |
| 1953 | "themeColor": "A String", # An opaque theme color. |
| 1954 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 1955 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 1956 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 1957 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 1958 | }, |
| 1959 | }, |
| 1960 | }, |
| 1961 | }, |
| 1962 | }, |
| 1963 | }, |
| 1964 | ], |
| 1965 | }, |
| 1966 | "rowSpan": 42, # Row span of the cell. |
| 1967 | "columnSpan": 42, # Column span of the cell. |
| 1968 | "tableCellProperties": { # The properties of the TableCell. # The properties of the table cell. |
| 1969 | "tableCellBackgroundFill": { # The table cell background fill. # The background fill of the table cell. The default fill matches the fill |
| 1970 | # for newly created table cells in the Slides editor. |
| 1971 | "propertyState": "A String", # The background fill property state. |
| 1972 | # |
| 1973 | # Updating the fill on a table cell will implicitly update this field |
| 1974 | # to `RENDERED`, unless another value is specified in the same request. To |
| 1975 | # have no fill on a table cell, set this field to `NOT_RENDERED`. In this |
| 1976 | # case, any other fill fields set in the same request will be ignored. |
| 1977 | "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill. |
| 1978 | # specified color value. |
| 1979 | # |
| 1980 | # If any field is unset, its value may be inherited from a parent placeholder |
| 1981 | # if it exists. |
| 1982 | "color": { # A themeable solid color value. # The color value of the solid fill. |
| 1983 | "themeColor": "A String", # An opaque theme color. |
| 1984 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 1985 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 1986 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 1987 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 1988 | }, |
| 1989 | }, |
| 1990 | "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel. |
| 1991 | # That is, the final pixel color is defined by the equation: |
| 1992 | # |
| 1993 | # pixel color = alpha * (color) + (1.0 - alpha) * (background color) |
| 1994 | # |
| 1995 | # This means that a value of 1.0 corresponds to a solid color, whereas |
| 1996 | # a value of 0.0 corresponds to a completely transparent color. |
| 1997 | }, |
| 1998 | }, |
| 1999 | "contentAlignment": "A String", # The alignment of the content in the table cell. The default alignment |
| 2000 | # matches the alignment for newly created table cells in the Slides editor. |
| 2001 | }, |
| 2002 | "location": { # A location of a single table cell within a table. # The location of the cell within the table. |
| 2003 | "rowIndex": 42, # The 0-based row index. |
| 2004 | "columnIndex": 42, # The 0-based column index. |
| 2005 | }, |
| 2006 | }, |
| 2007 | ], |
| 2008 | }, |
| 2009 | ], |
| 2010 | "rows": 42, # Number of rows in the table. |
| 2011 | "tableColumns": [ # Properties of each column. |
| 2012 | { # Properties of each column in a table. |
| 2013 | "columnWidth": { # A magnitude in a single direction in the specified units. # Width of a column. |
| 2014 | "magnitude": 3.14, # The magnitude. |
| 2015 | "unit": "A String", # The units for magnitude. |
| 2016 | }, |
| 2017 | }, |
| 2018 | ], |
| 2019 | "verticalBorderRows": [ # Properties of vertical cell borders. |
| 2020 | # |
| 2021 | # A table's vertical cell borders are represented as a grid. The grid has the |
| 2022 | # same number of rows as the table and one more column than the number of |
| 2023 | # columns in the table. For example, if the table is 3 x 3, its vertical |
| 2024 | # borders will be represented as a grid with 3 rows and 4 columns. |
| 2025 | { # Contents of each border row in a table. |
| 2026 | "tableBorderCells": [ # Properties of each border cell. When a border's adjacent table cells are |
| 2027 | # merged, it is not included in the response. |
| 2028 | { # The properties of each border cell. |
| 2029 | "tableBorderProperties": { # The border styling properties of the # The border properties. |
| 2030 | # TableBorderCell. |
| 2031 | "tableBorderFill": { # The fill of the border. # The fill of the table border. |
| 2032 | "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid fill. |
| 2033 | # specified color value. |
| 2034 | # |
| 2035 | # If any field is unset, its value may be inherited from a parent placeholder |
| 2036 | # if it exists. |
| 2037 | "color": { # A themeable solid color value. # The color value of the solid fill. |
| 2038 | "themeColor": "A String", # An opaque theme color. |
| 2039 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 2040 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 2041 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 2042 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 2043 | }, |
| 2044 | }, |
| 2045 | "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel. |
| 2046 | # That is, the final pixel color is defined by the equation: |
| 2047 | # |
| 2048 | # pixel color = alpha * (color) + (1.0 - alpha) * (background color) |
| 2049 | # |
| 2050 | # This means that a value of 1.0 corresponds to a solid color, whereas |
| 2051 | # a value of 0.0 corresponds to a completely transparent color. |
| 2052 | }, |
| 2053 | }, |
| 2054 | "weight": { # A magnitude in a single direction in the specified units. # The thickness of the border. |
| 2055 | "magnitude": 3.14, # The magnitude. |
| 2056 | "unit": "A String", # The units for magnitude. |
| 2057 | }, |
| 2058 | "dashStyle": "A String", # The dash style of the border. |
| 2059 | }, |
| 2060 | "location": { # A location of a single table cell within a table. # The location of the border within the border table. |
| 2061 | "rowIndex": 42, # The 0-based row index. |
| 2062 | "columnIndex": 42, # The 0-based column index. |
| 2063 | }, |
| 2064 | }, |
| 2065 | ], |
| 2066 | }, |
| 2067 | ], |
| 2068 | }, |
| 2069 | "sheetsChart": { # A PageElement kind representing # A linked chart embedded from Google Sheets. Unlinked charts are |
| 2070 | # represented as images. |
| 2071 | # a linked chart embedded from Google Sheets. |
| 2072 | "sheetsChartProperties": { # The properties of the SheetsChart. # The properties of the Sheets chart. |
| 2073 | "chartImageProperties": { # The properties of the Image. # The properties of the embedded chart image. |
| 2074 | "transparency": 3.14, # The transparency effect of the image. The value should be in the interval |
| 2075 | # [0.0, 1.0], where 0 means no effect and 1 means completely transparent. |
| 2076 | # This property is read-only. |
| 2077 | "shadow": { # The shadow properties of a page element. # The shadow of the image. If not set, the image has no shadow. This property |
| 2078 | # is read-only. |
| 2079 | # |
| 2080 | # If these fields are unset, they may be inherited from a parent placeholder |
| 2081 | # if it exists. If there is no parent, the fields will default to the value |
| 2082 | # used for new page elements created in the Slides editor, which may depend on |
| 2083 | # the page element kind. |
| 2084 | "rotateWithShape": True or False, # Whether the shadow should rotate with the shape. This property is |
| 2085 | # read-only. |
| 2086 | "blurRadius": { # A magnitude in a single direction in the specified units. # The radius of the shadow blur. The larger the radius, the more diffuse the |
| 2087 | # shadow becomes. |
| 2088 | "magnitude": 3.14, # The magnitude. |
| 2089 | "unit": "A String", # The units for magnitude. |
| 2090 | }, |
| 2091 | "propertyState": "A String", # The shadow property state. |
| 2092 | # |
| 2093 | # Updating the shadow on a page element will implicitly update this field to |
| 2094 | # `RENDERED`, unless another value is specified in the same request. To have |
| 2095 | # no shadow on a page element, set this field to `NOT_RENDERED`. In this |
| 2096 | # case, any other shadow fields set in the same request will be ignored. |
| 2097 | "alignment": "A String", # The alignment point of the shadow, that sets the origin for translate, |
| 2098 | # scale and skew of the shadow. This property is read-only. |
| 2099 | "type": "A String", # The type of the shadow. This property is read-only. |
| 2100 | "transform": { # AffineTransform uses a 3x3 matrix with an implied last row of [ 0 0 1 ] # Transform that encodes the translate, scale, and skew of the shadow, |
| 2101 | # relative to the alignment position. |
| 2102 | # to transform source coordinates (x,y) into destination coordinates (x', y') |
| 2103 | # according to: |
| 2104 | # |
| 2105 | # x' x = shear_y scale_y translate_y |
| 2106 | # 1 [ 1 ] |
| 2107 | # |
| 2108 | # After transformation, |
| 2109 | # |
| 2110 | # x' = scale_x * x + shear_x * y + translate_x; |
| 2111 | # y' = scale_y * y + shear_y * x + translate_y; |
| 2112 | # |
| 2113 | # This message is therefore composed of these six matrix elements. |
| 2114 | "scaleY": 3.14, # The Y coordinate scaling element. |
| 2115 | "translateY": 3.14, # The Y coordinate translation element. |
| 2116 | "shearY": 3.14, # The Y coordinate shearing element. |
| 2117 | "scaleX": 3.14, # The X coordinate scaling element. |
| 2118 | "unit": "A String", # The units for translate elements. |
| 2119 | "shearX": 3.14, # The X coordinate shearing element. |
| 2120 | "translateX": 3.14, # The X coordinate translation element. |
| 2121 | }, |
| 2122 | "color": { # A themeable solid color value. # The shadow color value. |
| 2123 | "themeColor": "A String", # An opaque theme color. |
| 2124 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 2125 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 2126 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 2127 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 2128 | }, |
| 2129 | }, |
| 2130 | "alpha": 3.14, # The alpha of the shadow's color, from 0.0 to 1.0. |
| 2131 | }, |
| 2132 | "outline": { # The outline of a PageElement. # The outline of the image. If not set, the image has no outline. |
| 2133 | # |
| 2134 | # If these fields are unset, they may be inherited from a parent placeholder |
| 2135 | # if it exists. If there is no parent, the fields will default to the value |
| 2136 | # used for new page elements created in the Slides editor, which may depend on |
| 2137 | # the page element kind. |
| 2138 | "propertyState": "A String", # The outline property state. |
| 2139 | # |
| 2140 | # Updating the outline on a page element will implicitly update this field |
| 2141 | # to `RENDERED`, unless another value is specified in the same request. To |
| 2142 | # have no outline on a page element, set this field to `NOT_RENDERED`. In |
| 2143 | # this case, any other outline fields set in the same request will be |
| 2144 | # ignored. |
| 2145 | "dashStyle": "A String", # The dash style of the outline. |
| 2146 | "outlineFill": { # The fill of the outline. # The fill of the outline. |
| 2147 | "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill. |
| 2148 | # specified color value. |
| 2149 | # |
| 2150 | # If any field is unset, its value may be inherited from a parent placeholder |
| 2151 | # if it exists. |
| 2152 | "color": { # A themeable solid color value. # The color value of the solid fill. |
| 2153 | "themeColor": "A String", # An opaque theme color. |
| 2154 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 2155 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 2156 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 2157 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 2158 | }, |
| 2159 | }, |
| 2160 | "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel. |
| 2161 | # That is, the final pixel color is defined by the equation: |
| 2162 | # |
| 2163 | # pixel color = alpha * (color) + (1.0 - alpha) * (background color) |
| 2164 | # |
| 2165 | # This means that a value of 1.0 corresponds to a solid color, whereas |
| 2166 | # a value of 0.0 corresponds to a completely transparent color. |
| 2167 | }, |
| 2168 | }, |
| 2169 | "weight": { # A magnitude in a single direction in the specified units. # The thickness of the outline. |
| 2170 | "magnitude": 3.14, # The magnitude. |
| 2171 | "unit": "A String", # The units for magnitude. |
| 2172 | }, |
| 2173 | }, |
| 2174 | "brightness": 3.14, # The brightness effect of the image. The value should be in the interval |
| 2175 | # [-1.0, 1.0], where 0 means no effect. This property is read-only. |
| 2176 | "recolor": { # A recolor effect applied on an image. # The recolor effect of the image. If not set, the image is not recolored. |
| 2177 | # This property is read-only. |
| 2178 | "name": "A String", # The name of the recolor effect. |
| 2179 | # |
| 2180 | # The name is determined from the `recolor_stops` by matching the gradient |
| 2181 | # against the colors in the page's current color scheme. This property is |
| 2182 | # read-only. |
| 2183 | "recolorStops": [ # The recolor effect is represented by a gradient, which is a list of color |
| 2184 | # stops. |
| 2185 | # |
| 2186 | # The colors in the gradient will replace the corresponding colors at |
| 2187 | # the same position in the color palette and apply to the image. This |
| 2188 | # property is read-only. |
| 2189 | { # A color and position in a gradient band. |
| 2190 | "position": 3.14, # The relative position of the color stop in the gradient band measured |
| 2191 | # in percentage. The value should be in the interval [0.0, 1.0]. |
| 2192 | "color": { # A themeable solid color value. # The color of the gradient stop. |
| 2193 | "themeColor": "A String", # An opaque theme color. |
| 2194 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 2195 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 2196 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 2197 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 2198 | }, |
| 2199 | }, |
| 2200 | "alpha": 3.14, # The alpha value of this color in the gradient band. Defaults to 1.0, |
| 2201 | # fully opaque. |
| 2202 | }, |
| 2203 | ], |
| 2204 | }, |
| 2205 | "contrast": 3.14, # The contrast effect of the image. The value should be in the interval |
| 2206 | # [-1.0, 1.0], where 0 means no effect. This property is read-only. |
| 2207 | "cropProperties": { # The crop properties of an object enclosed in a container. For example, an # The crop properties of the image. If not set, the image is not cropped. |
| 2208 | # This property is read-only. |
| 2209 | # Image. |
| 2210 | # |
| 2211 | # The crop properties is represented by the offsets of four edges which define |
| 2212 | # a crop rectangle. The offsets are measured in percentage from the |
| 2213 | # corresponding edges of the object's original bounding rectangle towards |
| 2214 | # inside, relative to the object's original dimensions. |
| 2215 | # |
| 2216 | # - If the offset is in the interval (0, 1), the corresponding edge of crop |
| 2217 | # rectangle is positioned inside of the object's original bounding rectangle. |
| 2218 | # - If the offset is negative or greater than 1, the corresponding edge of crop |
| 2219 | # rectangle is positioned outside of the object's original bounding rectangle. |
| 2220 | # - If the left edge of the crop rectangle is on the right side of its right |
| 2221 | # edge, the object will be flipped horizontally. |
| 2222 | # - If the top edge of the crop rectangle is below its bottom edge, the object |
| 2223 | # will be flipped vertically. |
| 2224 | # - If all offsets and rotation angle is 0, the object is not cropped. |
| 2225 | # |
| 2226 | # After cropping, the content in the crop rectangle will be stretched to fit |
| 2227 | # its container. |
| 2228 | "topOffset": 3.14, # The offset specifies the top edge of the crop rectangle that is located |
| 2229 | # below the original bounding rectangle top edge, relative to the object's |
| 2230 | # original height. |
| 2231 | "angle": 3.14, # The rotation angle of the crop window around its center, in radians. |
| 2232 | # Rotation angle is applied after the offset. |
| 2233 | "leftOffset": 3.14, # The offset specifies the left edge of the crop rectangle that is located to |
| 2234 | # the right of the original bounding rectangle left edge, relative to the |
| 2235 | # object's original width. |
| 2236 | "bottomOffset": 3.14, # The offset specifies the bottom edge of the crop rectangle that is located |
| 2237 | # above the original bounding rectangle bottom edge, relative to the object's |
| 2238 | # original height. |
| 2239 | "rightOffset": 3.14, # The offset specifies the right edge of the crop rectangle that is located |
| 2240 | # to the left of the original bounding rectangle right edge, relative to the |
| 2241 | # object's original width. |
| 2242 | }, |
| 2243 | "link": { # A hypertext link. # The hyperlink destination of the image. If unset, there is no link. |
| 2244 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 2245 | # addressed by its position. |
| 2246 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 2247 | # in the presentation. There may not be a slide at this index. |
| 2248 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 2249 | # presentation with this ID. A page with this ID may not exist. |
| 2250 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
| 2251 | }, |
| 2252 | }, |
| 2253 | }, |
| 2254 | "spreadsheetId": "A String", # The ID of the Google Sheets spreadsheet that contains the source chart. |
| 2255 | "chartId": 42, # The ID of the specific chart in the Google Sheets spreadsheet that is |
| 2256 | # embedded. |
| 2257 | "contentUrl": "A String", # The URL of an image of the embedded chart, with a default lifetime of 30 |
| 2258 | # minutes. This URL is tagged with the account of the requester. Anyone with |
| 2259 | # the URL effectively accesses the image as the original requester. Access to |
| 2260 | # the image may be lost if the presentation's sharing settings change. |
| 2261 | }, |
| 2262 | "description": "A String", # The description of the page element. Combined with title to display alt |
| 2263 | # text. |
| 2264 | # |
| 2265 | # The field is not supported for Group |
| 2266 | # elements. |
| 2267 | "elementGroup": { # A PageElement kind representing a # A collection of page elements joined as a single unit. |
| 2268 | # joined collection of PageElements. |
| 2269 | "children": [ # The collection of elements in the group. The minimum size of a group is 2. |
| 2270 | # Object with schema name: PageElement |
| 2271 | ], |
| 2272 | }, |
| 2273 | "transform": { # AffineTransform uses a 3x3 matrix with an implied last row of [ 0 0 1 ] # The transform of the page element. |
| 2274 | # |
| 2275 | # The visual appearance of the page element is determined by its absolute |
| 2276 | # transform. To compute the absolute transform, preconcatenate a page |
| 2277 | # element's transform with the transforms of all of its parent groups. If the |
| 2278 | # page element is not in a group, its absolute transform is the same as the |
| 2279 | # value in this field. |
| 2280 | # |
| 2281 | # The initial transform for the newly created Group is always the identity transform. |
| 2282 | # to transform source coordinates (x,y) into destination coordinates (x', y') |
| 2283 | # according to: |
| 2284 | # |
| 2285 | # x' x = shear_y scale_y translate_y |
| 2286 | # 1 [ 1 ] |
| 2287 | # |
| 2288 | # After transformation, |
| 2289 | # |
| 2290 | # x' = scale_x * x + shear_x * y + translate_x; |
| 2291 | # y' = scale_y * y + shear_y * x + translate_y; |
| 2292 | # |
| 2293 | # This message is therefore composed of these six matrix elements. |
| 2294 | "scaleY": 3.14, # The Y coordinate scaling element. |
| 2295 | "translateY": 3.14, # The Y coordinate translation element. |
| 2296 | "shearY": 3.14, # The Y coordinate shearing element. |
| 2297 | "scaleX": 3.14, # The X coordinate scaling element. |
| 2298 | "unit": "A String", # The units for translate elements. |
| 2299 | "shearX": 3.14, # The X coordinate shearing element. |
| 2300 | "translateX": 3.14, # The X coordinate translation element. |
| 2301 | }, |
| 2302 | "image": { # A PageElement kind representing an # An image page element. |
| 2303 | # image. |
| 2304 | "contentUrl": "A String", # An URL to an image with a default lifetime of 30 minutes. |
| 2305 | # This URL is tagged with the account of the requester. Anyone with the URL |
| 2306 | # effectively accesses the image as the original requester. Access to the |
| 2307 | # image may be lost if the presentation's sharing settings change. |
| 2308 | "imageProperties": { # The properties of the Image. # The properties of the image. |
| 2309 | "transparency": 3.14, # The transparency effect of the image. The value should be in the interval |
| 2310 | # [0.0, 1.0], where 0 means no effect and 1 means completely transparent. |
| 2311 | # This property is read-only. |
| 2312 | "shadow": { # The shadow properties of a page element. # The shadow of the image. If not set, the image has no shadow. This property |
| 2313 | # is read-only. |
| 2314 | # |
| 2315 | # If these fields are unset, they may be inherited from a parent placeholder |
| 2316 | # if it exists. If there is no parent, the fields will default to the value |
| 2317 | # used for new page elements created in the Slides editor, which may depend on |
| 2318 | # the page element kind. |
| 2319 | "rotateWithShape": True or False, # Whether the shadow should rotate with the shape. This property is |
| 2320 | # read-only. |
| 2321 | "blurRadius": { # A magnitude in a single direction in the specified units. # The radius of the shadow blur. The larger the radius, the more diffuse the |
| 2322 | # shadow becomes. |
| 2323 | "magnitude": 3.14, # The magnitude. |
| 2324 | "unit": "A String", # The units for magnitude. |
| 2325 | }, |
| 2326 | "propertyState": "A String", # The shadow property state. |
| 2327 | # |
| 2328 | # Updating the shadow on a page element will implicitly update this field to |
| 2329 | # `RENDERED`, unless another value is specified in the same request. To have |
| 2330 | # no shadow on a page element, set this field to `NOT_RENDERED`. In this |
| 2331 | # case, any other shadow fields set in the same request will be ignored. |
| 2332 | "alignment": "A String", # The alignment point of the shadow, that sets the origin for translate, |
| 2333 | # scale and skew of the shadow. This property is read-only. |
| 2334 | "type": "A String", # The type of the shadow. This property is read-only. |
| 2335 | "transform": { # AffineTransform uses a 3x3 matrix with an implied last row of [ 0 0 1 ] # Transform that encodes the translate, scale, and skew of the shadow, |
| 2336 | # relative to the alignment position. |
| 2337 | # to transform source coordinates (x,y) into destination coordinates (x', y') |
| 2338 | # according to: |
| 2339 | # |
| 2340 | # x' x = shear_y scale_y translate_y |
| 2341 | # 1 [ 1 ] |
| 2342 | # |
| 2343 | # After transformation, |
| 2344 | # |
| 2345 | # x' = scale_x * x + shear_x * y + translate_x; |
| 2346 | # y' = scale_y * y + shear_y * x + translate_y; |
| 2347 | # |
| 2348 | # This message is therefore composed of these six matrix elements. |
| 2349 | "scaleY": 3.14, # The Y coordinate scaling element. |
| 2350 | "translateY": 3.14, # The Y coordinate translation element. |
| 2351 | "shearY": 3.14, # The Y coordinate shearing element. |
| 2352 | "scaleX": 3.14, # The X coordinate scaling element. |
| 2353 | "unit": "A String", # The units for translate elements. |
| 2354 | "shearX": 3.14, # The X coordinate shearing element. |
| 2355 | "translateX": 3.14, # The X coordinate translation element. |
| 2356 | }, |
| 2357 | "color": { # A themeable solid color value. # The shadow color value. |
| 2358 | "themeColor": "A String", # An opaque theme color. |
| 2359 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 2360 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 2361 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 2362 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 2363 | }, |
| 2364 | }, |
| 2365 | "alpha": 3.14, # The alpha of the shadow's color, from 0.0 to 1.0. |
| 2366 | }, |
| 2367 | "outline": { # The outline of a PageElement. # The outline of the image. If not set, the image has no outline. |
| 2368 | # |
| 2369 | # If these fields are unset, they may be inherited from a parent placeholder |
| 2370 | # if it exists. If there is no parent, the fields will default to the value |
| 2371 | # used for new page elements created in the Slides editor, which may depend on |
| 2372 | # the page element kind. |
| 2373 | "propertyState": "A String", # The outline property state. |
| 2374 | # |
| 2375 | # Updating the outline on a page element will implicitly update this field |
| 2376 | # to `RENDERED`, unless another value is specified in the same request. To |
| 2377 | # have no outline on a page element, set this field to `NOT_RENDERED`. In |
| 2378 | # this case, any other outline fields set in the same request will be |
| 2379 | # ignored. |
| 2380 | "dashStyle": "A String", # The dash style of the outline. |
| 2381 | "outlineFill": { # The fill of the outline. # The fill of the outline. |
| 2382 | "solidFill": { # A solid color fill. The page or page element is filled entirely with the # Solid color fill. |
| 2383 | # specified color value. |
| 2384 | # |
| 2385 | # If any field is unset, its value may be inherited from a parent placeholder |
| 2386 | # if it exists. |
| 2387 | "color": { # A themeable solid color value. # The color value of the solid fill. |
| 2388 | "themeColor": "A String", # An opaque theme color. |
| 2389 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 2390 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 2391 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 2392 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 2393 | }, |
| 2394 | }, |
| 2395 | "alpha": 3.14, # The fraction of this `color` that should be applied to the pixel. |
| 2396 | # That is, the final pixel color is defined by the equation: |
| 2397 | # |
| 2398 | # pixel color = alpha * (color) + (1.0 - alpha) * (background color) |
| 2399 | # |
| 2400 | # This means that a value of 1.0 corresponds to a solid color, whereas |
| 2401 | # a value of 0.0 corresponds to a completely transparent color. |
| 2402 | }, |
| 2403 | }, |
| 2404 | "weight": { # A magnitude in a single direction in the specified units. # The thickness of the outline. |
| 2405 | "magnitude": 3.14, # The magnitude. |
| 2406 | "unit": "A String", # The units for magnitude. |
| 2407 | }, |
| 2408 | }, |
| 2409 | "brightness": 3.14, # The brightness effect of the image. The value should be in the interval |
| 2410 | # [-1.0, 1.0], where 0 means no effect. This property is read-only. |
| 2411 | "recolor": { # A recolor effect applied on an image. # The recolor effect of the image. If not set, the image is not recolored. |
| 2412 | # This property is read-only. |
| 2413 | "name": "A String", # The name of the recolor effect. |
| 2414 | # |
| 2415 | # The name is determined from the `recolor_stops` by matching the gradient |
| 2416 | # against the colors in the page's current color scheme. This property is |
| 2417 | # read-only. |
| 2418 | "recolorStops": [ # The recolor effect is represented by a gradient, which is a list of color |
| 2419 | # stops. |
| 2420 | # |
| 2421 | # The colors in the gradient will replace the corresponding colors at |
| 2422 | # the same position in the color palette and apply to the image. This |
| 2423 | # property is read-only. |
| 2424 | { # A color and position in a gradient band. |
| 2425 | "position": 3.14, # The relative position of the color stop in the gradient band measured |
| 2426 | # in percentage. The value should be in the interval [0.0, 1.0]. |
| 2427 | "color": { # A themeable solid color value. # The color of the gradient stop. |
| 2428 | "themeColor": "A String", # An opaque theme color. |
| 2429 | "rgbColor": { # An RGB color. # An opaque RGB color. |
| 2430 | "green": 3.14, # The green component of the color, from 0.0 to 1.0. |
| 2431 | "red": 3.14, # The red component of the color, from 0.0 to 1.0. |
| 2432 | "blue": 3.14, # The blue component of the color, from 0.0 to 1.0. |
| 2433 | }, |
| 2434 | }, |
| 2435 | "alpha": 3.14, # The alpha value of this color in the gradient band. Defaults to 1.0, |
| 2436 | # fully opaque. |
| 2437 | }, |
| 2438 | ], |
| 2439 | }, |
| 2440 | "contrast": 3.14, # The contrast effect of the image. The value should be in the interval |
| 2441 | # [-1.0, 1.0], where 0 means no effect. This property is read-only. |
| 2442 | "cropProperties": { # The crop properties of an object enclosed in a container. For example, an # The crop properties of the image. If not set, the image is not cropped. |
| 2443 | # This property is read-only. |
| 2444 | # Image. |
| 2445 | # |
| 2446 | # The crop properties is represented by the offsets of four edges which define |
| 2447 | # a crop rectangle. The offsets are measured in percentage from the |
| 2448 | # corresponding edges of the object's original bounding rectangle towards |
| 2449 | # inside, relative to the object's original dimensions. |
| 2450 | # |
| 2451 | # - If the offset is in the interval (0, 1), the corresponding edge of crop |
| 2452 | # rectangle is positioned inside of the object's original bounding rectangle. |
| 2453 | # - If the offset is negative or greater than 1, the corresponding edge of crop |
| 2454 | # rectangle is positioned outside of the object's original bounding rectangle. |
| 2455 | # - If the left edge of the crop rectangle is on the right side of its right |
| 2456 | # edge, the object will be flipped horizontally. |
| 2457 | # - If the top edge of the crop rectangle is below its bottom edge, the object |
| 2458 | # will be flipped vertically. |
| 2459 | # - If all offsets and rotation angle is 0, the object is not cropped. |
| 2460 | # |
| 2461 | # After cropping, the content in the crop rectangle will be stretched to fit |
| 2462 | # its container. |
| 2463 | "topOffset": 3.14, # The offset specifies the top edge of the crop rectangle that is located |
| 2464 | # below the original bounding rectangle top edge, relative to the object's |
| 2465 | # original height. |
| 2466 | "angle": 3.14, # The rotation angle of the crop window around its center, in radians. |
| 2467 | # Rotation angle is applied after the offset. |
| 2468 | "leftOffset": 3.14, # The offset specifies the left edge of the crop rectangle that is located to |
| 2469 | # the right of the original bounding rectangle left edge, relative to the |
| 2470 | # object's original width. |
| 2471 | "bottomOffset": 3.14, # The offset specifies the bottom edge of the crop rectangle that is located |
| 2472 | # above the original bounding rectangle bottom edge, relative to the object's |
| 2473 | # original height. |
| 2474 | "rightOffset": 3.14, # The offset specifies the right edge of the crop rectangle that is located |
| 2475 | # to the left of the original bounding rectangle right edge, relative to the |
| 2476 | # object's original width. |
| 2477 | }, |
| 2478 | "link": { # A hypertext link. # The hyperlink destination of the image. If unset, there is no link. |
| 2479 | "relativeLink": "A String", # If set, indicates this is a link to a slide in this presentation, |
| 2480 | # addressed by its position. |
| 2481 | "slideIndex": 42, # If set, indicates this is a link to the slide at this zero-based index |
| 2482 | # in the presentation. There may not be a slide at this index. |
| 2483 | "pageObjectId": "A String", # If set, indicates this is a link to the specific page in this |
| 2484 | # presentation with this ID. A page with this ID may not exist. |
| 2485 | "url": "A String", # If set, indicates this is a link to the external web page at this URL. |
| 2486 | }, |
| 2487 | }, |
| 2488 | "sourceUrl": "A String", # The source URL is the URL used to insert the image. The source URL can be |
| 2489 | # empty. |
| 2490 | }, |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 2491 | }, |
| 2492 | ], |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 2493 | "layoutProperties": { # The properties of Page are only # Layout specific properties. Only set if page_type = LAYOUT. |
| 2494 | # relevant for pages with page_type LAYOUT. |
| 2495 | "masterObjectId": "A String", # The object ID of the master that this layout is based on. |
| 2496 | "displayName": "A String", # The human-readable name of the layout. |
| 2497 | "name": "A String", # The name of the layout. |
| 2498 | }, |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame^] | 2499 | "objectId": "A String", # The object ID for this page. Object IDs used by |
| 2500 | # Page and |
| 2501 | # PageElement share the same namespace. |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 2502 | }</pre> |
| 2503 | </div> |
| 2504 | |
Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 2505 | <div class="method"> |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 2506 | <code class="details" id="getThumbnail">getThumbnail(presentationId, pageObjectId, thumbnailProperties_thumbnailSize=None, thumbnailProperties_mimeType=None, x__xgafv=None)</code> |
Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 2507 | <pre>Generates a thumbnail of the latest version of the specified page in the |
| 2508 | presentation and returns a URL to the thumbnail image. |
| 2509 | |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 2510 | This request counts as an [expensive read request](/slides/limits) for |
| 2511 | quota purposes. |
| 2512 | |
Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 2513 | Args: |
| 2514 | presentationId: string, The ID of the presentation to retrieve. (required) |
| 2515 | pageObjectId: string, The object ID of the page whose thumbnail to retrieve. (required) |
Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 2516 | thumbnailProperties_thumbnailSize: string, The optional thumbnail image size. |
| 2517 | |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 2518 | If you don't specify the size, the server chooses a default size of the |
Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 2519 | image. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 2520 | thumbnailProperties_mimeType: string, The optional mime type of the thumbnail image. |
| 2521 | |
| 2522 | If you don't specify the mime type, the mime type defaults to PNG. |
Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 2523 | x__xgafv: string, V1 error format. |
| 2524 | Allowed values |
| 2525 | 1 - v1 error format |
| 2526 | 2 - v2 error format |
| 2527 | |
| 2528 | Returns: |
| 2529 | An object of the form: |
| 2530 | |
| 2531 | { # The thumbnail of a page. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 2532 | "contentUrl": "A String", # The content URL of the thumbnail image. |
Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 2533 | # |
| 2534 | # The URL to the image has a default lifetime of 30 minutes. |
| 2535 | # This URL is tagged with the account of the requester. Anyone with the URL |
| 2536 | # effectively accesses the image as the original requester. Access to the |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 2537 | # image may be lost if the presentation's sharing settings change. |
Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 2538 | # The mime type of the thumbnail image is the same as specified in the |
| 2539 | # `GetPageThumbnailRequest`. |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame^] | 2540 | "width": 42, # The positive width in pixels of the thumbnail image. |
| 2541 | "height": 42, # The positive height in pixels of the thumbnail image. |
Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 2542 | }</pre> |
| 2543 | </div> |
| 2544 | |
Jon Wayne Parrott | 692617a | 2017-01-06 09:58:29 -0800 | [diff] [blame] | 2545 | </body></html> |