Skip to content

Commit f30e580

Browse files
feat: Automated regeneration of Slides client (googleapis#13033)
Auto-created at 2025-02-25 13:13:28 +0000 using the toys pull request generator.
1 parent 3e96462 commit f30e580

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

clients/slides/lib/google_api/slides/v1/metadata.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ defmodule GoogleApi.Slides.V1 do
2020
API client metadata for GoogleApi.Slides.V1.
2121
"""
2222

23-
@discovery_revision "20240305"
23+
@discovery_revision "20250218"
2424

2525
def discovery_revision(), do: @discovery_revision
2626
end

clients/slides/lib/google_api/slides/v1/model/autofit.ex

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@
1717

1818
defmodule GoogleApi.Slides.V1.Model.Autofit do
1919
@moduledoc """
20-
The autofit properties of a Shape.
20+
The autofit properties of a Shape. This property is only set for shapes that allow text.
2121
2222
## Attributes
2323
24-
* `autofitType` (*type:* `String.t`, *default:* `nil`) - The autofit type of the shape. If the autofit type is AUTOFIT_TYPE_UNSPECIFIED, the autofit type is inherited from a parent placeholder if it exists. The field is automatically set to NONE if a request is made that might affect text fitting within its bounding text box. In this case the font_scale is applied to the font_size and the line_spacing_reduction is applied to the line_spacing. Both properties are also reset to default values.
25-
* `fontScale` (*type:* `number()`, *default:* `nil`) - The font scale applied to the shape. For shapes with autofit_type NONE or SHAPE_AUTOFIT, this value is the default value of 1. For TEXT_AUTOFIT, this value multiplied by the font_size gives the font size that is rendered in the editor. This property is read-only.
26-
* `lineSpacingReduction` (*type:* `number()`, *default:* `nil`) - The line spacing reduction applied to the shape. For shapes with autofit_type NONE or SHAPE_AUTOFIT, this value is the default value of 0. For TEXT_AUTOFIT, this value subtracted from the line_spacing gives the line spacing that is rendered in the editor. This property is read-only.
24+
* `autofitType` (*type:* `String.t`, *default:* `nil`) - The autofit type of the shape. If the autofit type is AUTOFIT_TYPE_UNSPECIFIED, the autofit type is inherited from a parent placeholder if it exists. The field is automatically set to NONE if a request is made that might affect text fitting within its bounding text box. In this case, the font_scale is applied to the font_size and the line_spacing_reduction is applied to the line_spacing. Both properties are also reset to default values.
25+
* `fontScale` (*type:* `number()`, *default:* `nil`) - The font scale applied to the shape. For shapes with autofit_type NONE or SHAPE_AUTOFIT, this value is the default value of 1. For TEXT_AUTOFIT, this value multiplied by the font_size gives the font size that's rendered in the editor. This property is read-only.
26+
* `lineSpacingReduction` (*type:* `number()`, *default:* `nil`) - The line spacing reduction applied to the shape. For shapes with autofit_type NONE or SHAPE_AUTOFIT, this value is the default value of 0. For TEXT_AUTOFIT, this value subtracted from the line_spacing gives the line spacing that's rendered in the editor. This property is read-only.
2727
"""
2828

2929
use GoogleApi.Gax.ModelBase

clients/slides/lib/google_api/slides/v1/model/line_connection.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ defmodule GoogleApi.Slides.V1.Model.LineConnection do
2222
## Attributes
2323
2424
* `connectedObjectId` (*type:* `String.t`, *default:* `nil`) - The object ID of the connected page element. Some page elements, such as groups, tables, and lines do not have connection sites and therefore cannot be connected to a connector line.
25-
* `connectionSiteIndex` (*type:* `integer()`, *default:* `nil`) - The index of the connection site on the connected page element. In most cases, it corresponds to the predefined connection site index from the ECMA-376 standard. More information on those connection sites can be found in the description of the "cnx" attribute in section 20.1.9.9 and Annex H. "Predefined DrawingML Shape and Text Geometries" of "Office Open XML File Formats-Fundamentals and Markup Language Reference", part 1 of [ECMA-376 5th edition] (http://www.ecma-international.org/publications/standards/Ecma-376.htm). The position of each connection site can also be viewed from Slides editor.
25+
* `connectionSiteIndex` (*type:* `integer()`, *default:* `nil`) - The index of the connection site on the connected page element. In most cases, it corresponds to the predefined connection site index from the ECMA-376 standard. More information on those connection sites can be found in both the description of the "cxn" attribute in section 20.1.9.9 and "Annex H. Example Predefined DrawingML Shape and Text Geometries" of "Office Open XML File Formats - Fundamentals and Markup Language Reference", part 1 of [ECMA-376 5th edition](https://ecma-international.org/publications-and-standards/standards/ecma-376/). The position of each connection site can also be viewed from Slides editor.
2626
"""
2727

2828
use GoogleApi.Gax.ModelBase

clients/slides/lib/google_api/slides/v1/model/shape.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
defmodule GoogleApi.Slides.V1.Model.Shape do
1919
@moduledoc """
20-
A PageElement kind representing a generic shape that does not have a more specific classification.
20+
A PageElement kind representing a generic shape that doesn't have a more specific classification. For more information, see [Size and position page elements](https://developers.google.com/slides/api/guides/transform).
2121
2222
## Attributes
2323

clients/slides/mix.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
defmodule GoogleApi.Slides.Mixfile do
1919
use Mix.Project
2020

21-
@version "0.23.0"
21+
@version "0.23.1"
2222

2323
def project() do
2424
[

0 commit comments

Comments
 (0)