google-apis-slides_v1 0.7.0 → 0.11.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 71f705c0822b59c2ea34dade2de949dd1b556c6c90c055af3f579355ed61175c
4
- data.tar.gz: 0b1ed6a53ae1eb4431f4ad7c438079a74f9665d5a275348600df7bca0141e457
3
+ metadata.gz: dd0ff01ad0ce5eb87fe353b5d3c1015bc450f425830723e938ef9ffe5d050f48
4
+ data.tar.gz: 9f61163096e661b8e7c5dd9ed0ac11306b5a708d9692a0c4916dd187fbcc6fb2
5
5
  SHA512:
6
- metadata.gz: 3bfce7c4d8d79bc3ad22e157c47049006a2ce2e330360749e2ee9673fca80eec4858c9a1198f8179132801f122d6cfc68bf9505543e9dc40dd3f3204dc948d46
7
- data.tar.gz: bb2b282abb3cd76ba467e0697282a72d65a96f8be59197301076faad3c678326aec54e9b432400f5e1912b24bc95e52f4aaaa3cb7467ad323a326f9a6871a752
6
+ metadata.gz: 34138c1766cb14119b9b30731b96b9e2576df350c21f9945f81d98cabfa5fc18c17da028e9c581723454392a74cfd4053fbe94438a63a592ddbab96274d982ac
7
+ data.tar.gz: 9c6fd84cdfc0f25ab15079546928f9edf2b0008009f06bd9fa4f8d7f98cce623393af134355c73f75e2f51a32b41024bd7ff965fc6e7ea2b09894f5012cfff5a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Release history for google-apis-slides_v1
2
2
 
3
+ ### v0.11.0 (2021-10-20)
4
+
5
+ * Unspecified changes
6
+
7
+ ### v0.10.0 (2021-08-24)
8
+
9
+ * Regenerated from discovery document revision 20210820
10
+
11
+ ### v0.9.0 (2021-07-13)
12
+
13
+ * Regenerated from discovery document revision 20210706
14
+
15
+ ### v0.8.0 (2021-07-08)
16
+
17
+ * Regenerated from discovery document revision 20210629
18
+
3
19
  ### v0.7.0 (2021-06-29)
4
20
 
5
21
  * Regenerated from discovery document revision 20210622
data/OVERVIEW.md CHANGED
@@ -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/master/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/master/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
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
 
@@ -589,7 +589,10 @@ module Google
589
589
  # @return [String]
590
590
  attr_accessor :object_id_prop
591
591
 
592
- # The ID of the Google Sheets spreadsheet that contains the chart.
592
+ # The ID of the Google Sheets spreadsheet that contains the chart. You might
593
+ # need to add a resource key to the HTTP header for a subset of old files. For
594
+ # more information, see [Access link-shared files using resource keys](https://
595
+ # developers.google.com/drive/api/v3/resource-keys).
593
596
  # Corresponds to the JSON property `spreadsheetId`
594
597
  # @return [String]
595
598
  attr_accessor :spreadsheet_id
@@ -771,7 +774,10 @@ module Google
771
774
  # The video source's unique identifier for this video. e.g. For YouTube video
772
775
  # https://www.youtube.com/watch?v=7U3axjORYZ0, the ID is 7U3axjORYZ0. For a
773
776
  # Google Drive video https://drive.google.com/file/d/1xCgQLFTJi5_Xl8DgW_lcUYq5e-
774
- # q6Hi5Q the ID is 1xCgQLFTJi5_Xl8DgW_lcUYq5e-q6Hi5Q.
777
+ # q6Hi5Q the ID is 1xCgQLFTJi5_Xl8DgW_lcUYq5e-q6Hi5Q. To access a Google Drive
778
+ # video file, you might need to add a resource key to the HTTP header for a
779
+ # subset of old files. For more information, see [Access link-shared files using
780
+ # resource keys](https://developers.google.com/drive/api/v3/resource-keys).
775
781
  # Corresponds to the JSON property `id`
776
782
  # @return [String]
777
783
  attr_accessor :id
@@ -894,8 +900,8 @@ module Google
894
900
 
895
901
  # The object ID of the page or page element to delete. If after a delete
896
902
  # operation a group contains only 1 or no page elements, the group is also
897
- # deleted. If a placeholder is deleted on a layout, any empty inheriting shapes
898
- # are also deleted.
903
+ # deleted. If a placeholder is deleted on a layout, any empty inheriting
904
+ # placeholders are also deleted.
899
905
  # Corresponds to the JSON property `objectId`
900
906
  # @return [String]
901
907
  attr_accessor :object_id_prop
@@ -1138,7 +1144,7 @@ module Google
1138
1144
  # The object IDs of the objects to group. Only page elements can be grouped.
1139
1145
  # There should be at least two page elements on the same page that are not
1140
1146
  # already in another group. Some page elements, such as videos, tables and
1141
- # placeholder shapes cannot be grouped.
1147
+ # placeholders cannot be grouped.
1142
1148
  # Corresponds to the JSON property `childrenObjectIds`
1143
1149
  # @return [Array<String>]
1144
1150
  attr_accessor :children_object_ids
@@ -1201,6 +1207,11 @@ module Google
1201
1207
  # @return [Google::Apis::SlidesV1::ImageProperties]
1202
1208
  attr_accessor :image_properties
1203
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
+
1204
1215
  # The source URL is the URL used to insert the image. The source URL can be
1205
1216
  # empty.
1206
1217
  # Corresponds to the JSON property `sourceUrl`
@@ -1215,6 +1226,7 @@ module Google
1215
1226
  def update!(**args)
1216
1227
  @content_url = args[:content_url] if args.key?(:content_url)
1217
1228
  @image_properties = args[:image_properties] if args.key?(:image_properties)
1229
+ @placeholder = args[:placeholder] if args.key?(:placeholder)
1218
1230
  @source_url = args[:source_url] if args.key?(:source_url)
1219
1231
  end
1220
1232
  end
@@ -3005,6 +3017,11 @@ module Google
3005
3017
  # @return [Google::Apis::SlidesV1::UpdateShapePropertiesRequest]
3006
3018
  attr_accessor :update_shape_properties
3007
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
+
3008
3025
  # Updates the position of slides in the presentation.
3009
3026
  # Corresponds to the JSON property `updateSlidesPosition`
3010
3027
  # @return [Google::Apis::SlidesV1::UpdateSlidesPositionRequest]
@@ -3082,6 +3099,7 @@ module Google
3082
3099
  @update_page_properties = args[:update_page_properties] if args.key?(:update_page_properties)
3083
3100
  @update_paragraph_style = args[:update_paragraph_style] if args.key?(:update_paragraph_style)
3084
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)
3085
3103
  @update_slides_position = args[:update_slides_position] if args.key?(:update_slides_position)
3086
3104
  @update_table_border_properties = args[:update_table_border_properties] if args.key?(:update_table_border_properties)
3087
3105
  @update_table_cell_properties = args[:update_table_cell_properties] if args.key?(:update_table_cell_properties)
@@ -4717,6 +4735,42 @@ module Google
4717
4735
  end
4718
4736
  end
4719
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
+
4720
4774
  # Updates the position of slides in the presentation.
4721
4775
  class UpdateSlidesPositionRequest
4722
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.7.0"
19
+ GEM_VERSION = "0.11.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 = "20210622"
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
@@ -38,16 +38,16 @@ module Google
38
38
  # See and download all your Google Drive files
39
39
  AUTH_DRIVE_READONLY = 'https://www.googleapis.com/auth/drive.readonly'
40
40
 
41
- # View and manage your Google Slides presentations
41
+ # See, edit, create, and delete all your Google Slides presentations
42
42
  AUTH_PRESENTATIONS = 'https://www.googleapis.com/auth/presentations'
43
43
 
44
- # View your Google Slides presentations
44
+ # See all your Google Slides presentations
45
45
  AUTH_PRESENTATIONS_READONLY = 'https://www.googleapis.com/auth/presentations.readonly'
46
46
 
47
- # See, edit, create, and delete your spreadsheets in Google Drive
47
+ # See, edit, create, and delete all your Google Sheets spreadsheets
48
48
  AUTH_SPREADSHEETS = 'https://www.googleapis.com/auth/spreadsheets'
49
49
 
50
- # View your Google Spreadsheets
50
+ # See all your Google Sheets spreadsheets
51
51
  AUTH_SPREADSHEETS_READONLY = 'https://www.googleapis.com/auth/spreadsheets.readonly'
52
52
  end
53
53
  end
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.7.0
4
+ version: 0.11.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-07-05 00:00:00.000000000 Z
11
+ date: 2021-10-27 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/master/generated/google-apis-slides_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-slides_v1/v0.7.0
62
- source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-slides_v1
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.11.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: