Class: Google::Apis::SlidesV1::UpdatePagePropertiesRequest
- Inherits:
-
Object
- Object
- Google::Apis::SlidesV1::UpdatePagePropertiesRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/slides_v1/classes.rb,
generated/google/apis/slides_v1/representations.rb,
generated/google/apis/slides_v1/representations.rb
Overview
Updates the properties of a Page.
Instance Attribute Summary collapse
-
#fields ⇒ String
The fields that should be updated.
-
#object_id_prop ⇒ String
The object ID of the page the update is applied to.
-
#page_properties ⇒ Google::Apis::SlidesV1::PageProperties
The properties of the Page.
Instance Method Summary collapse
-
#initialize(**args) ⇒ UpdatePagePropertiesRequest
constructor
A new instance of UpdatePagePropertiesRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ UpdatePagePropertiesRequest
Returns a new instance of UpdatePagePropertiesRequest
3775 3776 3777 |
# File 'generated/google/apis/slides_v1/classes.rb', line 3775 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 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
3759 3760 3761 |
# File 'generated/google/apis/slides_v1/classes.rb', line 3759 def fields @fields end |
#object_id_prop ⇒ String
The object ID of the page the update is applied to.
Corresponds to the JSON property objectId
3764 3765 3766 |
# File 'generated/google/apis/slides_v1/classes.rb', line 3764 def object_id_prop @object_id_prop end |
#page_properties ⇒ Google::Apis::SlidesV1::PageProperties
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
3773 3774 3775 |
# File 'generated/google/apis/slides_v1/classes.rb', line 3773 def page_properties @page_properties end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3780 3781 3782 3783 3784 |
# File 'generated/google/apis/slides_v1/classes.rb', line 3780 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 |