google-apis-slides_v1 0.6.0 → 0.10.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: 9bcf5419fd36bf701d1fecc398929c9128385ab0ef1edeb1031e729175cf06eb
4
- data.tar.gz: 4a6eec2ad9a0d89fc62c123e9318e8bcac2faa3a5dfbde430a17bf90cd16e930
3
+ metadata.gz: aa331d2aab9471815e141c3e8bb8a65cc2560ed4a1eed7d93c3d3dec1db3203e
4
+ data.tar.gz: 702643a1f8ec64780839fbe923416c6b81e770d24c6e5b88ec4a0e05c7a5c1e5
5
5
  SHA512:
6
- metadata.gz: d50a5fb094cf7d3449a57031ced5bfc0611817b8b728d75b0e5d46bcf31ed31e40e0e745bec048c011de2fe883d4bc2331ca216148a7e4afb29e75e85da39099
7
- data.tar.gz: d4c12c51c72d7224576c71ac1682f02a0f1ff82b0889c517ed84690fa00da1c4cd68f74ee9028d16be4141bbafd28321620506df17a8220c8ab1d79bf2ff3470
6
+ metadata.gz: e74389c11a5292e1403f2d82e1b0cb2a1453640fa996fa754beeb2e0a9e1652d504c3b5dcf108752a5c465fd682fe280930a5787853be181b58ba605b26e6a74
7
+ data.tar.gz: 5b39f64959c7542af39a8feddacdbf16094fada8a435ab2dceb5368290c000e965987491da5b9494e2f05994380aba7afcf168e9d424167e2bdd42c4c0dfefd2
data/CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
1
1
  # Release history for google-apis-slides_v1
2
2
 
3
+ ### v0.10.0 (2021-08-24)
4
+
5
+ * Regenerated from discovery document revision 20210820
6
+
7
+ ### v0.9.0 (2021-07-13)
8
+
9
+ * Regenerated from discovery document revision 20210706
10
+
11
+ ### v0.8.0 (2021-07-08)
12
+
13
+ * Regenerated from discovery document revision 20210629
14
+
15
+ ### v0.7.0 (2021-06-29)
16
+
17
+ * Regenerated from discovery document revision 20210622
18
+ * Regenerated using generator version 0.4.0
19
+
3
20
  ### v0.6.0 (2021-06-24)
4
21
 
5
22
  * Regenerated using generator version 0.3.0
@@ -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)
@@ -3530,6 +3548,12 @@ module Google
3530
3548
  class SlideProperties
3531
3549
  include Google::Apis::Core::Hashable
3532
3550
 
3551
+ # Whether the slide is skipped in the presentation mode. Defaults to false.
3552
+ # Corresponds to the JSON property `isSkipped`
3553
+ # @return [Boolean]
3554
+ attr_accessor :is_skipped
3555
+ alias_method :is_skipped?, :is_skipped
3556
+
3533
3557
  # The object ID of the layout that this slide is based on. This property is read-
3534
3558
  # only.
3535
3559
  # Corresponds to the JSON property `layoutObjectId`
@@ -3553,6 +3577,7 @@ module Google
3553
3577
 
3554
3578
  # Update properties of this object
3555
3579
  def update!(**args)
3580
+ @is_skipped = args[:is_skipped] if args.key?(:is_skipped)
3556
3581
  @layout_object_id = args[:layout_object_id] if args.key?(:layout_object_id)
3557
3582
  @master_object_id = args[:master_object_id] if args.key?(:master_object_id)
3558
3583
  @notes_page = args[:notes_page] if args.key?(:notes_page)
@@ -4710,6 +4735,42 @@ module Google
4710
4735
  end
4711
4736
  end
4712
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
+
4713
4774
  # Updates the position of slides in the presentation.
4714
4775
  class UpdateSlidesPositionRequest
4715
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.6.0"
19
+ GEM_VERSION = "0.10.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.3.0"
22
+ GENERATOR_VERSION = "0.4.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210322"
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
@@ -1821,6 +1831,7 @@ module Google
1821
1831
  class SlideProperties
1822
1832
  # @private
1823
1833
  class Representation < Google::Apis::Core::JsonRepresentation
1834
+ property :is_skipped, as: 'isSkipped'
1824
1835
  property :layout_object_id, as: 'layoutObjectId'
1825
1836
  property :master_object_id, as: 'masterObjectId'
1826
1837
  property :notes_page, as: 'notesPage', class: Google::Apis::SlidesV1::Page, decorator: Google::Apis::SlidesV1::Page::Representation
@@ -2164,6 +2175,16 @@ module Google
2164
2175
  end
2165
2176
  end
2166
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
+
2167
2188
  class UpdateSlidesPositionRequest
2168
2189
  # @private
2169
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.6.0
4
+ version: 0.10.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-06-28 00:00:00.000000000 Z
11
+ date: 2021-08-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0.3'
19
+ version: '0.4'
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: '0.3'
29
+ version: '0.4'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
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.6.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-slides_v1/v0.10.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-slides_v1
63
63
  post_install_message:
64
64
  rdoc_options: []