class Google::Apis::SlidesV1::UpdatePagePropertiesRequest

Updates the properties of a Page.

Attributes

fields[RW]

The fields that should be updated. At least one field must be specified. The root `pageProperties` is implied and should not be specified. A single `“*”` can be used as short-hand for listing every field. For example to update the page background solid fill color, set `fields` to `“pageBackgroundFill. solidFill.color”`. 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` @return [String]

object_id_prop[RW]

The object ID of the page the update is applied to. Corresponds to the JSON property `objectId` @return [String]

page_properties[RW]

The properties of the Page. The page will inherit properties from the parent page. Depending on the page type the hierarchy is defined in either SlideProperties or LayoutProperties. Corresponds to the JSON property `pageProperties` @return [Google::Apis::SlidesV1::PageProperties]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/slides_v1/classes.rb, line 4628
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/slides_v1/classes.rb, line 4633
def update!(**args)
  @fields = args[:fields] if args.key?(:fields)
  @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop)
  @page_properties = args[:page_properties] if args.key?(:page_properties)
end