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.



4822
4823
4824
# File 'lib/google/apis/slides_v1/classes.rb', line 4822

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)


4810
4811
4812
# File 'lib/google/apis/slides_v1/classes.rb', line 4810

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)


4815
4816
4817
# File 'lib/google/apis/slides_v1/classes.rb', line 4815

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



4820
4821
4822
# File 'lib/google/apis/slides_v1/classes.rb', line 4820

def slide_properties
  @slide_properties
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4827
4828
4829
4830
4831
# File 'lib/google/apis/slides_v1/classes.rb', line 4827

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