Class: Google::Apis::SlidesV1::UpdateSlidePropertiesRequest
- Inherits:
-
Object
- Object
- Google::Apis::SlidesV1::UpdateSlidePropertiesRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/slides_v1/classes.rb,
lib/google/apis/slides_v1/representations.rb,
lib/google/apis/slides_v1/representations.rb
Overview
Updates the properties of a Slide.
Instance Attribute Summary collapse
-
#fields ⇒ String
The fields that should be updated.
-
#object_id_prop ⇒ String
The object ID of the slide the update is applied to.
-
#slide_properties ⇒ Google::Apis::SlidesV1::SlideProperties
The properties of Page that are only relevant for pages with page_type SLIDE.
Instance Method Summary collapse
-
#initialize(**args) ⇒ UpdateSlidePropertiesRequest
constructor
A new instance of UpdateSlidePropertiesRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ UpdateSlidePropertiesRequest
Returns a new instance of UpdateSlidePropertiesRequest.
4836 4837 4838 |
# File 'lib/google/apis/slides_v1/classes.rb', line 4836 def initialize(**args) update!(**args) end |
Instance Attribute Details
#fields ⇒ String
The fields that should be updated. At least one field must be specified. The
root 'slideProperties' is implied and should not be specified. A single "*"
can be used as short-hand for listing every field. For example to update
whether a slide is skipped, set fields to "isSkipped". To reset a property
to its default value, include its field name in the field mask but leave the
field itself unset.
Corresponds to the JSON property fields
4824 4825 4826 |
# File 'lib/google/apis/slides_v1/classes.rb', line 4824 def fields @fields end |
#object_id_prop ⇒ String
The object ID of the slide the update is applied to.
Corresponds to the JSON property objectId
4829 4830 4831 |
# File 'lib/google/apis/slides_v1/classes.rb', line 4829 def object_id_prop @object_id_prop end |
#slide_properties ⇒ Google::Apis::SlidesV1::SlideProperties
The properties of Page that are only relevant for pages with page_type SLIDE.
Corresponds to the JSON property slideProperties
4834 4835 4836 |
# File 'lib/google/apis/slides_v1/classes.rb', line 4834 def @slide_properties end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4841 4842 4843 4844 4845 |
# File 'lib/google/apis/slides_v1/classes.rb', line 4841 def update!(**args) @fields = args[:fields] if args.key?(:fields) @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop) @slide_properties = args[:slide_properties] if args.key?(:slide_properties) end |