google-apis-slides_v1 0.8.0 → 0.12.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +16 -0
- data/OVERVIEW.md +3 -3
- data/lib/google/apis/slides_v1/classes.rb +48 -0
- data/lib/google/apis/slides_v1/gem_version.rb +2 -2
- data/lib/google/apis/slides_v1/representations.rb +20 -0
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7b73f14fcccfd37b53899008ac68fd4852c876f03abbc73ba7fac277b1141c22
|
4
|
+
data.tar.gz: 9f86919dc0e942d9a665bf30876aa4cdbdada96b02f559cc3a3ee36287c29075
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 73d414bff76eac697c1454411868264ee212f9e4d1f97996d9050e4992edecaa30fe1f98196305c30fb373e15e81c33a09abf734ddc15a88d90d37ca15df77dc
|
7
|
+
data.tar.gz: 5fb76d33ef3a1289cf60a9a36a2cdc11ffb68e420cd5dd3f950d3599b63354b6e4cf6b62905fc874dad356bc7ad42a82661bf5bca2dda98c2359049f27c58a63
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,21 @@
|
|
1
1
|
# Release history for google-apis-slides_v1
|
2
2
|
|
3
|
+
### v0.12.0 (2021-12-16)
|
4
|
+
|
5
|
+
* Unspecified changes
|
6
|
+
|
7
|
+
### v0.11.0 (2021-10-20)
|
8
|
+
|
9
|
+
* Unspecified changes
|
10
|
+
|
11
|
+
### v0.10.0 (2021-08-24)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20210820
|
14
|
+
|
15
|
+
### v0.9.0 (2021-07-13)
|
16
|
+
|
17
|
+
* Regenerated from discovery document revision 20210706
|
18
|
+
|
3
19
|
### v0.8.0 (2021-07-08)
|
4
20
|
|
5
21
|
* Regenerated from discovery document revision 20210629
|
data/OVERVIEW.md
CHANGED
@@ -51,7 +51,7 @@ require "google/apis/slides_v1"
|
|
51
51
|
client = Google::Apis::SlidesV1::SlidesService.new
|
52
52
|
|
53
53
|
# Authenticate calls
|
54
|
-
client.
|
54
|
+
client.authorization = # ... use the googleauth gem to create credentials
|
55
55
|
```
|
56
56
|
|
57
57
|
See the class reference docs for information on the methods you can call from a client.
|
@@ -60,8 +60,8 @@ See the class reference docs for information on the methods you can call from a
|
|
60
60
|
|
61
61
|
More detailed descriptions of the Google simple REST clients are available in two documents.
|
62
62
|
|
63
|
-
* The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/
|
64
|
-
* The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/
|
63
|
+
* The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
|
64
|
+
* The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
|
65
65
|
|
66
66
|
(Note: the above documents are written for the simple REST clients in general, and their examples may not reflect the Slides service in particular.)
|
67
67
|
|
@@ -1207,6 +1207,11 @@ module Google
|
|
1207
1207
|
# @return [Google::Apis::SlidesV1::ImageProperties]
|
1208
1208
|
attr_accessor :image_properties
|
1209
1209
|
|
1210
|
+
# The placeholder information that uniquely identifies a placeholder shape.
|
1211
|
+
# Corresponds to the JSON property `placeholder`
|
1212
|
+
# @return [Google::Apis::SlidesV1::Placeholder]
|
1213
|
+
attr_accessor :placeholder
|
1214
|
+
|
1210
1215
|
# The source URL is the URL used to insert the image. The source URL can be
|
1211
1216
|
# empty.
|
1212
1217
|
# Corresponds to the JSON property `sourceUrl`
|
@@ -1221,6 +1226,7 @@ module Google
|
|
1221
1226
|
def update!(**args)
|
1222
1227
|
@content_url = args[:content_url] if args.key?(:content_url)
|
1223
1228
|
@image_properties = args[:image_properties] if args.key?(:image_properties)
|
1229
|
+
@placeholder = args[:placeholder] if args.key?(:placeholder)
|
1224
1230
|
@source_url = args[:source_url] if args.key?(:source_url)
|
1225
1231
|
end
|
1226
1232
|
end
|
@@ -3011,6 +3017,11 @@ module Google
|
|
3011
3017
|
# @return [Google::Apis::SlidesV1::UpdateShapePropertiesRequest]
|
3012
3018
|
attr_accessor :update_shape_properties
|
3013
3019
|
|
3020
|
+
# Updates the properties of a Slide.
|
3021
|
+
# Corresponds to the JSON property `updateSlideProperties`
|
3022
|
+
# @return [Google::Apis::SlidesV1::UpdateSlidePropertiesRequest]
|
3023
|
+
attr_accessor :update_slide_properties
|
3024
|
+
|
3014
3025
|
# Updates the position of slides in the presentation.
|
3015
3026
|
# Corresponds to the JSON property `updateSlidesPosition`
|
3016
3027
|
# @return [Google::Apis::SlidesV1::UpdateSlidesPositionRequest]
|
@@ -3088,6 +3099,7 @@ module Google
|
|
3088
3099
|
@update_page_properties = args[:update_page_properties] if args.key?(:update_page_properties)
|
3089
3100
|
@update_paragraph_style = args[:update_paragraph_style] if args.key?(:update_paragraph_style)
|
3090
3101
|
@update_shape_properties = args[:update_shape_properties] if args.key?(:update_shape_properties)
|
3102
|
+
@update_slide_properties = args[:update_slide_properties] if args.key?(:update_slide_properties)
|
3091
3103
|
@update_slides_position = args[:update_slides_position] if args.key?(:update_slides_position)
|
3092
3104
|
@update_table_border_properties = args[:update_table_border_properties] if args.key?(:update_table_border_properties)
|
3093
3105
|
@update_table_cell_properties = args[:update_table_cell_properties] if args.key?(:update_table_cell_properties)
|
@@ -4723,6 +4735,42 @@ module Google
|
|
4723
4735
|
end
|
4724
4736
|
end
|
4725
4737
|
|
4738
|
+
# Updates the properties of a Slide.
|
4739
|
+
class UpdateSlidePropertiesRequest
|
4740
|
+
include Google::Apis::Core::Hashable
|
4741
|
+
|
4742
|
+
# The fields that should be updated. At least one field must be specified. The
|
4743
|
+
# root 'slideProperties' is implied and should not be specified. A single `"*"`
|
4744
|
+
# can be used as short-hand for listing every field. For example to update
|
4745
|
+
# whether a slide is skipped, set `fields` to `"isSkipped"`. To reset a property
|
4746
|
+
# to its default value, include its field name in the field mask but leave the
|
4747
|
+
# field itself unset.
|
4748
|
+
# Corresponds to the JSON property `fields`
|
4749
|
+
# @return [String]
|
4750
|
+
attr_accessor :fields
|
4751
|
+
|
4752
|
+
# The object ID of the slide the update is applied to.
|
4753
|
+
# Corresponds to the JSON property `objectId`
|
4754
|
+
# @return [String]
|
4755
|
+
attr_accessor :object_id_prop
|
4756
|
+
|
4757
|
+
# The properties of Page that are only relevant for pages with page_type SLIDE.
|
4758
|
+
# Corresponds to the JSON property `slideProperties`
|
4759
|
+
# @return [Google::Apis::SlidesV1::SlideProperties]
|
4760
|
+
attr_accessor :slide_properties
|
4761
|
+
|
4762
|
+
def initialize(**args)
|
4763
|
+
update!(**args)
|
4764
|
+
end
|
4765
|
+
|
4766
|
+
# Update properties of this object
|
4767
|
+
def update!(**args)
|
4768
|
+
@fields = args[:fields] if args.key?(:fields)
|
4769
|
+
@object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop)
|
4770
|
+
@slide_properties = args[:slide_properties] if args.key?(:slide_properties)
|
4771
|
+
end
|
4772
|
+
end
|
4773
|
+
|
4726
4774
|
# Updates the position of slides in the presentation.
|
4727
4775
|
class UpdateSlidesPositionRequest
|
4728
4776
|
include Google::Apis::Core::Hashable
|
@@ -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.12.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.4.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210820"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -748,6 +748,12 @@ module Google
|
|
748
748
|
include Google::Apis::Core::JsonObjectSupport
|
749
749
|
end
|
750
750
|
|
751
|
+
class UpdateSlidePropertiesRequest
|
752
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
753
|
+
|
754
|
+
include Google::Apis::Core::JsonObjectSupport
|
755
|
+
end
|
756
|
+
|
751
757
|
class UpdateSlidesPositionRequest
|
752
758
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
753
759
|
|
@@ -1150,6 +1156,8 @@ module Google
|
|
1150
1156
|
property :content_url, as: 'contentUrl'
|
1151
1157
|
property :image_properties, as: 'imageProperties', class: Google::Apis::SlidesV1::ImageProperties, decorator: Google::Apis::SlidesV1::ImageProperties::Representation
|
1152
1158
|
|
1159
|
+
property :placeholder, as: 'placeholder', class: Google::Apis::SlidesV1::Placeholder, decorator: Google::Apis::SlidesV1::Placeholder::Representation
|
1160
|
+
|
1153
1161
|
property :source_url, as: 'sourceUrl'
|
1154
1162
|
end
|
1155
1163
|
end
|
@@ -1670,6 +1678,8 @@ module Google
|
|
1670
1678
|
|
1671
1679
|
property :update_shape_properties, as: 'updateShapeProperties', class: Google::Apis::SlidesV1::UpdateShapePropertiesRequest, decorator: Google::Apis::SlidesV1::UpdateShapePropertiesRequest::Representation
|
1672
1680
|
|
1681
|
+
property :update_slide_properties, as: 'updateSlideProperties', class: Google::Apis::SlidesV1::UpdateSlidePropertiesRequest, decorator: Google::Apis::SlidesV1::UpdateSlidePropertiesRequest::Representation
|
1682
|
+
|
1673
1683
|
property :update_slides_position, as: 'updateSlidesPosition', class: Google::Apis::SlidesV1::UpdateSlidesPositionRequest, decorator: Google::Apis::SlidesV1::UpdateSlidesPositionRequest::Representation
|
1674
1684
|
|
1675
1685
|
property :update_table_border_properties, as: 'updateTableBorderProperties', class: Google::Apis::SlidesV1::UpdateTableBorderPropertiesRequest, decorator: Google::Apis::SlidesV1::UpdateTableBorderPropertiesRequest::Representation
|
@@ -2165,6 +2175,16 @@ module Google
|
|
2165
2175
|
end
|
2166
2176
|
end
|
2167
2177
|
|
2178
|
+
class UpdateSlidePropertiesRequest
|
2179
|
+
# @private
|
2180
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2181
|
+
property :fields, as: 'fields'
|
2182
|
+
property :object_id_prop, as: 'objectId'
|
2183
|
+
property :slide_properties, as: 'slideProperties', class: Google::Apis::SlidesV1::SlideProperties, decorator: Google::Apis::SlidesV1::SlideProperties::Representation
|
2184
|
+
|
2185
|
+
end
|
2186
|
+
end
|
2187
|
+
|
2168
2188
|
class UpdateSlidesPositionRequest
|
2169
2189
|
# @private
|
2170
2190
|
class Representation < Google::Apis::Core::JsonRepresentation
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
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.12.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:
|
11
|
+
date: 2022-01-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -57,9 +57,9 @@ licenses:
|
|
57
57
|
- Apache-2.0
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
|
-
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-slides_v1/v0.
|
62
|
-
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/
|
60
|
+
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.12.0
|
62
|
+
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-slides_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|
65
65
|
require_paths:
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.
|
78
|
+
rubygems_version: 3.3.4
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Google Slides API V1
|