google-apis-slides_v1 0.1.0 → 0.6.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 +22 -0
- data/lib/google/apis/slides_v1.rb +1 -1
- data/lib/google/apis/slides_v1/classes.rb +48 -0
- data/lib/google/apis/slides_v1/gem_version.rb +3 -3
- data/lib/google/apis/slides_v1/representations.rb +17 -0
- metadata +15 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9bcf5419fd36bf701d1fecc398929c9128385ab0ef1edeb1031e729175cf06eb
|
4
|
+
data.tar.gz: 4a6eec2ad9a0d89fc62c123e9318e8bcac2faa3a5dfbde430a17bf90cd16e930
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d50a5fb094cf7d3449a57031ced5bfc0611817b8b728d75b0e5d46bcf31ed31e40e0e745bec048c011de2fe883d4bc2331ca216148a7e4afb29e75e85da39099
|
7
|
+
data.tar.gz: d4c12c51c72d7224576c71ac1682f02a0f1ff82b0889c517ed84690fa00da1c4cd68f74ee9028d16be4141bbafd28321620506df17a8220c8ab1d79bf2ff3470
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,27 @@
|
|
1
1
|
# Release history for google-apis-slides_v1
|
2
2
|
|
3
|
+
### v0.6.0 (2021-06-24)
|
4
|
+
|
5
|
+
* Regenerated using generator version 0.3.0
|
6
|
+
|
7
|
+
### v0.5.0 (2021-05-20)
|
8
|
+
|
9
|
+
* Unspecified changes
|
10
|
+
|
11
|
+
### v0.4.0 (2021-03-30)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20210322
|
14
|
+
* Regenerated using generator version 0.2.0
|
15
|
+
|
16
|
+
### v0.3.0 (2021-03-04)
|
17
|
+
|
18
|
+
* Regenerated from discovery document revision 20210223
|
19
|
+
|
20
|
+
### v0.2.0 (2021-02-03)
|
21
|
+
|
22
|
+
* Regenerated from discovery document revision 20210128
|
23
|
+
* Regenerated using generator version 0.1.2
|
24
|
+
|
3
25
|
### v0.1.0 (2021-01-07)
|
4
26
|
|
5
27
|
* Regenerated using generator version 0.1.1
|
@@ -32,7 +32,7 @@ module Google
|
|
32
32
|
# See, edit, create, and delete all of your Google Drive files
|
33
33
|
AUTH_DRIVE = 'https://www.googleapis.com/auth/drive'
|
34
34
|
|
35
|
-
#
|
35
|
+
# See, edit, create, and delete only the specific Google Drive files you use with this app
|
36
36
|
AUTH_DRIVE_FILE = 'https://www.googleapis.com/auth/drive.file'
|
37
37
|
|
38
38
|
# See and download all your Google Drive files
|
@@ -123,6 +123,48 @@ module Google
|
|
123
123
|
end
|
124
124
|
end
|
125
125
|
|
126
|
+
# The autofit properties of a Shape.
|
127
|
+
class Autofit
|
128
|
+
include Google::Apis::Core::Hashable
|
129
|
+
|
130
|
+
# The autofit type of the shape. If the autofit type is AUTOFIT_TYPE_UNSPECIFIED,
|
131
|
+
# the autofit type is inherited from a parent placeholder if it exists. The
|
132
|
+
# 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
|
+
# to the font_size and the line_spacing_reduction is applied to the line_spacing.
|
135
|
+
# Both properties are also reset to default values.
|
136
|
+
# Corresponds to the JSON property `autofitType`
|
137
|
+
# @return [String]
|
138
|
+
attr_accessor :autofit_type
|
139
|
+
|
140
|
+
# The font scale applied to the shape. For shapes with autofit_type NONE or
|
141
|
+
# 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 is rendered in the
|
143
|
+
# editor. This property is read-only.
|
144
|
+
# Corresponds to the JSON property `fontScale`
|
145
|
+
# @return [Float]
|
146
|
+
attr_accessor :font_scale
|
147
|
+
|
148
|
+
# The line spacing reduction applied to the shape. For shapes with autofit_type
|
149
|
+
# 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 is
|
151
|
+
# rendered in the editor. This property is read-only.
|
152
|
+
# Corresponds to the JSON property `lineSpacingReduction`
|
153
|
+
# @return [Float]
|
154
|
+
attr_accessor :line_spacing_reduction
|
155
|
+
|
156
|
+
def initialize(**args)
|
157
|
+
update!(**args)
|
158
|
+
end
|
159
|
+
|
160
|
+
# Update properties of this object
|
161
|
+
def update!(**args)
|
162
|
+
@autofit_type = args[:autofit_type] if args.key?(:autofit_type)
|
163
|
+
@font_scale = args[:font_scale] if args.key?(:font_scale)
|
164
|
+
@line_spacing_reduction = args[:line_spacing_reduction] if args.key?(:line_spacing_reduction)
|
165
|
+
end
|
166
|
+
end
|
167
|
+
|
126
168
|
# Request message for PresentationsService.BatchUpdatePresentation.
|
127
169
|
class BatchUpdatePresentationRequest
|
128
170
|
include Google::Apis::Core::Hashable
|
@@ -3346,6 +3388,11 @@ module Google
|
|
3346
3388
|
class ShapeProperties
|
3347
3389
|
include Google::Apis::Core::Hashable
|
3348
3390
|
|
3391
|
+
# The autofit properties of a Shape.
|
3392
|
+
# Corresponds to the JSON property `autofit`
|
3393
|
+
# @return [Google::Apis::SlidesV1::Autofit]
|
3394
|
+
attr_accessor :autofit
|
3395
|
+
|
3349
3396
|
# The alignment of the content in the shape. If unspecified, the alignment is
|
3350
3397
|
# inherited from a parent placeholder if it exists. If the shape has no parent,
|
3351
3398
|
# the default alignment matches the alignment for new shapes created in the
|
@@ -3386,6 +3433,7 @@ module Google
|
|
3386
3433
|
|
3387
3434
|
# Update properties of this object
|
3388
3435
|
def update!(**args)
|
3436
|
+
@autofit = args[:autofit] if args.key?(:autofit)
|
3389
3437
|
@content_alignment = args[:content_alignment] if args.key?(:content_alignment)
|
3390
3438
|
@link = args[:link] if args.key?(:link)
|
3391
3439
|
@outline = args[:outline] if args.key?(:outline)
|
@@ -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.6.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.3.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210322"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -34,6 +34,12 @@ module Google
|
|
34
34
|
include Google::Apis::Core::JsonObjectSupport
|
35
35
|
end
|
36
36
|
|
37
|
+
class Autofit
|
38
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
|
+
|
40
|
+
include Google::Apis::Core::JsonObjectSupport
|
41
|
+
end
|
42
|
+
|
37
43
|
class BatchUpdatePresentationRequest
|
38
44
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
45
|
|
@@ -837,6 +843,15 @@ module Google
|
|
837
843
|
end
|
838
844
|
end
|
839
845
|
|
846
|
+
class Autofit
|
847
|
+
# @private
|
848
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
849
|
+
property :autofit_type, as: 'autofitType'
|
850
|
+
property :font_scale, as: 'fontScale'
|
851
|
+
property :line_spacing_reduction, as: 'lineSpacingReduction'
|
852
|
+
end
|
853
|
+
end
|
854
|
+
|
840
855
|
class BatchUpdatePresentationRequest
|
841
856
|
# @private
|
842
857
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1760,6 +1775,8 @@ module Google
|
|
1760
1775
|
class ShapeProperties
|
1761
1776
|
# @private
|
1762
1777
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1778
|
+
property :autofit, as: 'autofit', class: Google::Apis::SlidesV1::Autofit, decorator: Google::Apis::SlidesV1::Autofit::Representation
|
1779
|
+
|
1763
1780
|
property :content_alignment, as: 'contentAlignment'
|
1764
1781
|
property :link, as: 'link', class: Google::Apis::SlidesV1::Link, decorator: Google::Apis::SlidesV1::Link::Representation
|
1765
1782
|
|
metadata
CHANGED
@@ -1,29 +1,35 @@
|
|
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.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-06-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
19
|
+
version: '0.3'
|
20
|
+
- - "<"
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: 2.a
|
20
23
|
type: :runtime
|
21
24
|
prerelease: false
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
23
26
|
requirements:
|
24
|
-
- - "
|
27
|
+
- - ">="
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '0.3'
|
30
|
+
- - "<"
|
25
31
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
32
|
+
version: 2.a
|
27
33
|
description: This is the simple REST client for Google Slides API V1. Simple REST
|
28
34
|
clients are Ruby client libraries that provide access to Google services via their
|
29
35
|
HTTP REST API endpoints. These libraries are generated and updated automatically
|
@@ -52,7 +58,7 @@ licenses:
|
|
52
58
|
metadata:
|
53
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
54
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-slides_v1/CHANGELOG.md
|
55
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-slides_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-slides_v1/v0.6.0
|
56
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-slides_v1
|
57
63
|
post_install_message:
|
58
64
|
rdoc_options: []
|
@@ -62,14 +68,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
62
68
|
requirements:
|
63
69
|
- - ">="
|
64
70
|
- !ruby/object:Gem::Version
|
65
|
-
version: '2.
|
71
|
+
version: '2.5'
|
66
72
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
67
73
|
requirements:
|
68
74
|
- - ">="
|
69
75
|
- !ruby/object:Gem::Version
|
70
76
|
version: '0'
|
71
77
|
requirements: []
|
72
|
-
rubygems_version: 3.
|
78
|
+
rubygems_version: 3.2.17
|
73
79
|
signing_key:
|
74
80
|
specification_version: 4
|
75
81
|
summary: Simple REST client for Google Slides API V1
|