google-apis-slides_v1 0.5.0 → 0.9.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: b4e5820ba859a807bd178144f25e3fb0af7e1a8d6be15e452c2a30f81dcc1c04
4
- data.tar.gz: 7bc4da88cbf3e2876c8caf3a2403774546dc31877d396f82450f74a89fd1acdb
3
+ metadata.gz: d188c626bcc147cac0ea339bbeb1500b416c7969d2f12333f48e87627b087c23
4
+ data.tar.gz: c8cb2567f5389433d1e0828298e0ce24288984b5ab0869092222decb69030710
5
5
  SHA512:
6
- metadata.gz: 74cefb69244a90756aef786b23b92b5a8bbced99f3fdf6a3169fef851d3cce9fbe16817f8051bcdc6d91f1c8556054e627dcd580c0b9efc87b50201522b65e23
7
- data.tar.gz: 71978e6d71e12b0b5a4553b6bff676c9651c07d76e29c9d8df0bcfb6b2ba7ce503cd474654e4c3627d5ed58a36bb89264483f8cf8df4045112bf01c407ee3763
6
+ metadata.gz: 9f4942248f55a1653f1a9f5eed3196d419be13a1f8899e0863f6ceb39b050c14cebcef284cf67f2a7bbbe816fed92cbddaa4abd9a6c49bf0385693892fcd6665
7
+ data.tar.gz: 56ba32ca5439405d45f4df016373bda60daaeff7cb1b31c4a4986bec1e7cad3d93f20989fc69d53e12bb4b5c7e9936046e3cfa26cd61cdd88df8ce14cbe0fcdf
data/CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
1
1
  # Release history for google-apis-slides_v1
2
2
 
3
+ ### v0.9.0 (2021-07-13)
4
+
5
+ * Regenerated from discovery document revision 20210706
6
+
7
+ ### v0.8.0 (2021-07-08)
8
+
9
+ * Regenerated from discovery document revision 20210629
10
+
11
+ ### v0.7.0 (2021-06-29)
12
+
13
+ * Regenerated from discovery document revision 20210622
14
+ * Regenerated using generator version 0.4.0
15
+
16
+ ### v0.6.0 (2021-06-24)
17
+
18
+ * Regenerated using generator version 0.3.0
19
+
3
20
  ### v0.5.0 (2021-05-20)
4
21
 
5
22
  * Unspecified changes
@@ -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
@@ -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
@@ -3005,6 +3011,11 @@ module Google
3005
3011
  # @return [Google::Apis::SlidesV1::UpdateShapePropertiesRequest]
3006
3012
  attr_accessor :update_shape_properties
3007
3013
 
3014
+ # Updates the properties of a Slide.
3015
+ # Corresponds to the JSON property `updateSlideProperties`
3016
+ # @return [Google::Apis::SlidesV1::UpdateSlidePropertiesRequest]
3017
+ attr_accessor :update_slide_properties
3018
+
3008
3019
  # Updates the position of slides in the presentation.
3009
3020
  # Corresponds to the JSON property `updateSlidesPosition`
3010
3021
  # @return [Google::Apis::SlidesV1::UpdateSlidesPositionRequest]
@@ -3082,6 +3093,7 @@ module Google
3082
3093
  @update_page_properties = args[:update_page_properties] if args.key?(:update_page_properties)
3083
3094
  @update_paragraph_style = args[:update_paragraph_style] if args.key?(:update_paragraph_style)
3084
3095
  @update_shape_properties = args[:update_shape_properties] if args.key?(:update_shape_properties)
3096
+ @update_slide_properties = args[:update_slide_properties] if args.key?(:update_slide_properties)
3085
3097
  @update_slides_position = args[:update_slides_position] if args.key?(:update_slides_position)
3086
3098
  @update_table_border_properties = args[:update_table_border_properties] if args.key?(:update_table_border_properties)
3087
3099
  @update_table_cell_properties = args[:update_table_cell_properties] if args.key?(:update_table_cell_properties)
@@ -3530,6 +3542,12 @@ module Google
3530
3542
  class SlideProperties
3531
3543
  include Google::Apis::Core::Hashable
3532
3544
 
3545
+ # Whether the slide is skipped in the presentation mode. Defaults to false.
3546
+ # Corresponds to the JSON property `isSkipped`
3547
+ # @return [Boolean]
3548
+ attr_accessor :is_skipped
3549
+ alias_method :is_skipped?, :is_skipped
3550
+
3533
3551
  # The object ID of the layout that this slide is based on. This property is read-
3534
3552
  # only.
3535
3553
  # Corresponds to the JSON property `layoutObjectId`
@@ -3553,6 +3571,7 @@ module Google
3553
3571
 
3554
3572
  # Update properties of this object
3555
3573
  def update!(**args)
3574
+ @is_skipped = args[:is_skipped] if args.key?(:is_skipped)
3556
3575
  @layout_object_id = args[:layout_object_id] if args.key?(:layout_object_id)
3557
3576
  @master_object_id = args[:master_object_id] if args.key?(:master_object_id)
3558
3577
  @notes_page = args[:notes_page] if args.key?(:notes_page)
@@ -4710,6 +4729,42 @@ module Google
4710
4729
  end
4711
4730
  end
4712
4731
 
4732
+ # Updates the properties of a Slide.
4733
+ class UpdateSlidePropertiesRequest
4734
+ include Google::Apis::Core::Hashable
4735
+
4736
+ # The fields that should be updated. At least one field must be specified. The
4737
+ # root 'slideProperties' is implied and should not be specified. A single `"*"`
4738
+ # can be used as short-hand for listing every field. For example to update
4739
+ # whether a slide is skipped, set `fields` to `"isSkipped"`. To reset a property
4740
+ # to its default value, include its field name in the field mask but leave the
4741
+ # field itself unset.
4742
+ # Corresponds to the JSON property `fields`
4743
+ # @return [String]
4744
+ attr_accessor :fields
4745
+
4746
+ # The object ID of the slide the update is applied to.
4747
+ # Corresponds to the JSON property `objectId`
4748
+ # @return [String]
4749
+ attr_accessor :object_id_prop
4750
+
4751
+ # The properties of Page that are only relevant for pages with page_type SLIDE.
4752
+ # Corresponds to the JSON property `slideProperties`
4753
+ # @return [Google::Apis::SlidesV1::SlideProperties]
4754
+ attr_accessor :slide_properties
4755
+
4756
+ def initialize(**args)
4757
+ update!(**args)
4758
+ end
4759
+
4760
+ # Update properties of this object
4761
+ def update!(**args)
4762
+ @fields = args[:fields] if args.key?(:fields)
4763
+ @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop)
4764
+ @slide_properties = args[:slide_properties] if args.key?(:slide_properties)
4765
+ end
4766
+ end
4767
+
4713
4768
  # Updates the position of slides in the presentation.
4714
4769
  class UpdateSlidesPositionRequest
4715
4770
  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.5.0"
19
+ GEM_VERSION = "0.9.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.2.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 = "20210706"
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
 
@@ -1670,6 +1676,8 @@ module Google
1670
1676
 
1671
1677
  property :update_shape_properties, as: 'updateShapeProperties', class: Google::Apis::SlidesV1::UpdateShapePropertiesRequest, decorator: Google::Apis::SlidesV1::UpdateShapePropertiesRequest::Representation
1672
1678
 
1679
+ property :update_slide_properties, as: 'updateSlideProperties', class: Google::Apis::SlidesV1::UpdateSlidePropertiesRequest, decorator: Google::Apis::SlidesV1::UpdateSlidePropertiesRequest::Representation
1680
+
1673
1681
  property :update_slides_position, as: 'updateSlidesPosition', class: Google::Apis::SlidesV1::UpdateSlidesPositionRequest, decorator: Google::Apis::SlidesV1::UpdateSlidesPositionRequest::Representation
1674
1682
 
1675
1683
  property :update_table_border_properties, as: 'updateTableBorderProperties', class: Google::Apis::SlidesV1::UpdateTableBorderPropertiesRequest, decorator: Google::Apis::SlidesV1::UpdateTableBorderPropertiesRequest::Representation
@@ -1821,6 +1829,7 @@ module Google
1821
1829
  class SlideProperties
1822
1830
  # @private
1823
1831
  class Representation < Google::Apis::Core::JsonRepresentation
1832
+ property :is_skipped, as: 'isSkipped'
1824
1833
  property :layout_object_id, as: 'layoutObjectId'
1825
1834
  property :master_object_id, as: 'masterObjectId'
1826
1835
  property :notes_page, as: 'notesPage', class: Google::Apis::SlidesV1::Page, decorator: Google::Apis::SlidesV1::Page::Representation
@@ -2164,6 +2173,16 @@ module Google
2164
2173
  end
2165
2174
  end
2166
2175
 
2176
+ class UpdateSlidePropertiesRequest
2177
+ # @private
2178
+ class Representation < Google::Apis::Core::JsonRepresentation
2179
+ property :fields, as: 'fields'
2180
+ property :object_id_prop, as: 'objectId'
2181
+ property :slide_properties, as: 'slideProperties', class: Google::Apis::SlidesV1::SlideProperties, decorator: Google::Apis::SlidesV1::SlideProperties::Representation
2182
+
2183
+ end
2184
+ end
2185
+
2167
2186
  class UpdateSlidesPositionRequest
2168
2187
  # @private
2169
2188
  class Representation < Google::Apis::Core::JsonRepresentation
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.5.0
4
+ version: 0.9.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-05-24 00:00:00.000000000 Z
11
+ date: 2021-07-19 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.1'
19
+ version: '0.4'
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.4'
30
+ - - "<"
25
31
  - !ruby/object:Gem::Version
26
- version: '0.1'
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.5.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-slides_v1/v0.9.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: []