Class: Google::Apis::SlidesV1::UpdateSlidePropertiesRequest

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ UpdateSlidePropertiesRequest

Returns a new instance of UpdateSlidePropertiesRequest.



4756
4757
4758
# File 'lib/google/apis/slides_v1/classes.rb', line 4756

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#fieldsString

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

Returns:

  • (String)


4744
4745
4746
# File 'lib/google/apis/slides_v1/classes.rb', line 4744

def fields
  @fields
end

#object_id_propString

The object ID of the slide the update is applied to. Corresponds to the JSON property objectId

Returns:

  • (String)


4749
4750
4751
# File 'lib/google/apis/slides_v1/classes.rb', line 4749

def object_id_prop
  @object_id_prop
end

#slide_propertiesGoogle::Apis::SlidesV1::SlideProperties

The properties of Page that are only relevant for pages with page_type SLIDE. Corresponds to the JSON property slideProperties



4754
4755
4756
# File 'lib/google/apis/slides_v1/classes.rb', line 4754

def slide_properties
  @slide_properties
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4761
4762
4763
4764
4765
# File 'lib/google/apis/slides_v1/classes.rb', line 4761

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