google-apis-slides_v1 0.28.0 → 0.30.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -0
- data/OVERVIEW.md +1 -1
- data/lib/google/apis/slides_v1/classes.rb +29 -15
- data/lib/google/apis/slides_v1/gem_version.rb +3 -3
- data/lib/google/apis/slides_v1/representations.rb +1 -0
- data/lib/google/apis/slides_v1/service.rb +3 -2
- data/lib/google/apis/slides_v1.rb +1 -1
- metadata +4 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0254ae66a9ba76eb37bb975b1451a6bf05d14bb7a1c760e31fad7ca3beaf0ef0
|
4
|
+
data.tar.gz: b76d2fe7c41b835782a4a8a276f3a8dc6d16928f3c30b50cd5f5c852222d9d4c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f9246dd0722f6aa2f75b9067a99fc9b0ef5119f2f1fb1d0f59af935e08d88d2395f7aafa3b90e0811be62ce0f8c740a14cf98246356a08c4bacba49d82e664e1
|
7
|
+
data.tar.gz: ec175408e97c67bcc1074ad3fe664765bea4eeff360f99be2cc0a9c6f2532e30d47ac575a7181713013e05bd8a56f8029bd6c34ef8454840409d13f1fb50c42f
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# Release history for google-apis-slides_v1
|
2
2
|
|
3
|
+
### v0.30.0 (2025-04-13)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20250401
|
6
|
+
|
7
|
+
### v0.29.0 (2025-02-26)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20250218
|
10
|
+
* Regenerated using generator version 0.16.0
|
11
|
+
|
3
12
|
### v0.28.0 (2024-05-19)
|
4
13
|
|
5
14
|
* Regenerated using generator version 0.15.0
|
data/OVERVIEW.md
CHANGED
@@ -79,7 +79,7 @@ Gem names for modern clients are often of the form `google-cloud-<service_name>`
|
|
79
79
|
|
80
80
|
**For most users, we recommend the modern client, if one is available.** Compared with simple clients, modern clients are generally much easier to use and more Ruby-like, support more advanced features such as streaming and long-running operations, and often provide much better performance. You may consider using a simple client instead, if a modern client is not yet available for the service you want to use, or if you are not able to use gRPC on your infrastructure.
|
81
81
|
|
82
|
-
The [product documentation](https://developers.google.com/slides/) may provide guidance regarding the preferred client library to use.
|
82
|
+
The [product documentation](https://developers.google.com/workspace/slides/) may provide guidance regarding the preferred client library to use.
|
83
83
|
|
84
84
|
## Supported Ruby versions
|
85
85
|
|
@@ -123,14 +123,15 @@ module Google
|
|
123
123
|
end
|
124
124
|
end
|
125
125
|
|
126
|
-
# The autofit properties of a Shape.
|
126
|
+
# The autofit properties of a Shape. This property is only set for shapes that
|
127
|
+
# allow text.
|
127
128
|
class Autofit
|
128
129
|
include Google::Apis::Core::Hashable
|
129
130
|
|
130
131
|
# The autofit type of the shape. If the autofit type is AUTOFIT_TYPE_UNSPECIFIED,
|
131
132
|
# the autofit type is inherited from a parent placeholder if it exists. The
|
132
133
|
# field is automatically set to NONE if a request is made that might affect text
|
133
|
-
# fitting within its bounding text box. In this case the font_scale is applied
|
134
|
+
# fitting within its bounding text box. In this case, the font_scale is applied
|
134
135
|
# to the font_size and the line_spacing_reduction is applied to the line_spacing.
|
135
136
|
# Both properties are also reset to default values.
|
136
137
|
# Corresponds to the JSON property `autofitType`
|
@@ -139,7 +140,7 @@ module Google
|
|
139
140
|
|
140
141
|
# The font scale applied to the shape. For shapes with autofit_type NONE or
|
141
142
|
# SHAPE_AUTOFIT, this value is the default value of 1. For TEXT_AUTOFIT, this
|
142
|
-
# value multiplied by the font_size gives the font size that
|
143
|
+
# value multiplied by the font_size gives the font size that's rendered in the
|
143
144
|
# editor. This property is read-only.
|
144
145
|
# Corresponds to the JSON property `fontScale`
|
145
146
|
# @return [Float]
|
@@ -147,7 +148,7 @@ module Google
|
|
147
148
|
|
148
149
|
# The line spacing reduction applied to the shape. For shapes with autofit_type
|
149
150
|
# NONE or SHAPE_AUTOFIT, this value is the default value of 0. For TEXT_AUTOFIT,
|
150
|
-
# this value subtracted from the line_spacing gives the line spacing that
|
151
|
+
# this value subtracted from the line_spacing gives the line spacing that's
|
151
152
|
# rendered in the editor. This property is read-only.
|
152
153
|
# Corresponds to the JSON property `lineSpacingReduction`
|
153
154
|
# @return [Float]
|
@@ -1586,13 +1587,13 @@ module Google
|
|
1586
1587
|
|
1587
1588
|
# The index of the connection site on the connected page element. In most cases,
|
1588
1589
|
# it corresponds to the predefined connection site index from the ECMA-376
|
1589
|
-
# standard. More information on those connection sites can be found in the
|
1590
|
-
# description of the "
|
1590
|
+
# standard. More information on those connection sites can be found in both the
|
1591
|
+
# description of the "cxn" attribute in section 20.1.9.9 and "Annex H. Example
|
1591
1592
|
# Predefined DrawingML Shape and Text Geometries" of "Office Open XML File
|
1592
|
-
# Formats-Fundamentals and Markup Language Reference", part 1 of [ECMA-376 5th
|
1593
|
-
# edition]
|
1594
|
-
#
|
1595
|
-
# editor.
|
1593
|
+
# Formats - Fundamentals and Markup Language Reference", part 1 of [ECMA-376 5th
|
1594
|
+
# edition](https://ecma-international.org/publications-and-standards/standards/
|
1595
|
+
# ecma-376/). The position of each connection site can also be viewed from
|
1596
|
+
# Slides editor.
|
1596
1597
|
# Corresponds to the JSON property `connectionSiteIndex`
|
1597
1598
|
# @return [Fixnum]
|
1598
1599
|
attr_accessor :connection_site_index
|
@@ -2122,8 +2123,9 @@ module Google
|
|
2122
2123
|
# @return [String]
|
2123
2124
|
attr_accessor :object_id_prop
|
2124
2125
|
|
2125
|
-
# A PageElement kind representing a generic shape that
|
2126
|
-
# specific classification.
|
2126
|
+
# A PageElement kind representing a generic shape that doesn't have a more
|
2127
|
+
# specific classification. For more information, see [Size and position page
|
2128
|
+
# elements](https://developers.google.com/workspace/slides/api/guides/transform).
|
2127
2129
|
# Corresponds to the JSON property `shape`
|
2128
2130
|
# @return [Google::Apis::SlidesV1::Shape]
|
2129
2131
|
attr_accessor :shape
|
@@ -3332,8 +3334,9 @@ module Google
|
|
3332
3334
|
end
|
3333
3335
|
end
|
3334
3336
|
|
3335
|
-
# A PageElement kind representing a generic shape that
|
3336
|
-
# specific classification.
|
3337
|
+
# A PageElement kind representing a generic shape that doesn't have a more
|
3338
|
+
# specific classification. For more information, see [Size and position page
|
3339
|
+
# elements](https://developers.google.com/workspace/slides/api/guides/transform).
|
3337
3340
|
class Shape
|
3338
3341
|
include Google::Apis::Core::Hashable
|
3339
3342
|
|
@@ -3416,7 +3419,8 @@ module Google
|
|
3416
3419
|
class ShapeProperties
|
3417
3420
|
include Google::Apis::Core::Hashable
|
3418
3421
|
|
3419
|
-
# The autofit properties of a Shape.
|
3422
|
+
# The autofit properties of a Shape. This property is only set for shapes that
|
3423
|
+
# allow text.
|
3420
3424
|
# Corresponds to the JSON property `autofit`
|
3421
3425
|
# @return [Google::Apis::SlidesV1::Autofit]
|
3422
3426
|
attr_accessor :autofit
|
@@ -3719,6 +3723,15 @@ module Google
|
|
3719
3723
|
attr_accessor :match_case
|
3720
3724
|
alias_method :match_case?, :match_case
|
3721
3725
|
|
3726
|
+
# Optional. True if the find value should be treated as a regular expression.
|
3727
|
+
# Any backslashes in the pattern should be escaped. - `True`: the search text is
|
3728
|
+
# treated as a regular expressions. - `False`: the search text is treated as a
|
3729
|
+
# substring for matching.
|
3730
|
+
# Corresponds to the JSON property `searchByRegex`
|
3731
|
+
# @return [Boolean]
|
3732
|
+
attr_accessor :search_by_regex
|
3733
|
+
alias_method :search_by_regex?, :search_by_regex
|
3734
|
+
|
3722
3735
|
# The text to search for in the shape or table.
|
3723
3736
|
# Corresponds to the JSON property `text`
|
3724
3737
|
# @return [String]
|
@@ -3731,6 +3744,7 @@ module Google
|
|
3731
3744
|
# Update properties of this object
|
3732
3745
|
def update!(**args)
|
3733
3746
|
@match_case = args[:match_case] if args.key?(:match_case)
|
3747
|
+
@search_by_regex = args[:search_by_regex] if args.key?(:search_by_regex)
|
3734
3748
|
@text = args[:text] if args.key?(:text)
|
3735
3749
|
end
|
3736
3750
|
end
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module SlidesV1
|
18
18
|
# Version of the google-apis-slides_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.30.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.16.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20250401"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -30,7 +30,7 @@ module Google
|
|
30
30
|
# Slides = Google::Apis::SlidesV1 # Alias the module
|
31
31
|
# service = Slides::SlidesService.new
|
32
32
|
#
|
33
|
-
# @see https://developers.google.com/slides/
|
33
|
+
# @see https://developers.google.com/workspace/slides/
|
34
34
|
class SlidesService < Google::Apis::Core::BaseService
|
35
35
|
DEFAULT_ENDPOINT_TEMPLATE = "https://slides.$UNIVERSE_DOMAIN$/"
|
36
36
|
|
@@ -194,7 +194,8 @@ module Google
|
|
194
194
|
|
195
195
|
# Generates a thumbnail of the latest version of the specified page in the
|
196
196
|
# presentation and returns a URL to the thumbnail image. This request counts as
|
197
|
-
# an [expensive read request](/slides/
|
197
|
+
# an [expensive read request](https://developers.google.com/workspace/slides/
|
198
|
+
# limits) for quota purposes.
|
198
199
|
# @param [String] presentation_id
|
199
200
|
# The ID of the presentation to retrieve.
|
200
201
|
# @param [String] page_object_id
|
@@ -23,7 +23,7 @@ module Google
|
|
23
23
|
#
|
24
24
|
# Reads and writes Google Slides presentations.
|
25
25
|
#
|
26
|
-
# @see https://developers.google.com/slides/
|
26
|
+
# @see https://developers.google.com/workspace/slides/
|
27
27
|
module SlidesV1
|
28
28
|
# Version of the Google Slides API this client connects to.
|
29
29
|
# This is NOT the gem version.
|
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-slides_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.30.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 2025-04-16 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
13
|
name: google-apis-core
|
@@ -58,9 +57,8 @@ licenses:
|
|
58
57
|
metadata:
|
59
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-slides_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-slides_v1/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-slides_v1/v0.30.0
|
62
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-slides_v1
|
63
|
-
post_install_message:
|
64
62
|
rdoc_options: []
|
65
63
|
require_paths:
|
66
64
|
- lib
|
@@ -75,8 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
73
|
- !ruby/object:Gem::Version
|
76
74
|
version: '0'
|
77
75
|
requirements: []
|
78
|
-
rubygems_version: 3.5
|
79
|
-
signing_key:
|
76
|
+
rubygems_version: 3.6.5
|
80
77
|
specification_version: 4
|
81
78
|
summary: Simple REST client for Google Slides API V1
|
82
79
|
test_files: []
|