Class: Google::Apis::SlidesV1::UpdatePageElementAltTextRequest
- Inherits:
-
Object
- Object
- Google::Apis::SlidesV1::UpdatePageElementAltTextRequest
- 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 alt text title and/or description of a page element.
Instance Attribute Summary collapse
-
#description ⇒ String
The updated alt text description of the page element.
-
#object_id_prop ⇒ String
The object ID of the page element the updates are applied to.
-
#title ⇒ String
The updated alt text title of the page element.
Instance Method Summary collapse
-
#initialize(**args) ⇒ UpdatePageElementAltTextRequest
constructor
A new instance of UpdatePageElementAltTextRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ UpdatePageElementAltTextRequest
Returns a new instance of UpdatePageElementAltTextRequest
4664 4665 4666 |
# File 'generated/google/apis/slides_v1/classes.rb', line 4664 def initialize(**args) update!(**args) end |
Instance Attribute Details
#description ⇒ String
The updated alt text description of the page element. If unset the existing
value will be maintained. The description is exposed to screen readers
and other accessibility interfaces. Only use human readable values related
to the content of the page element.
Corresponds to the JSON property description
4649 4650 4651 |
# File 'generated/google/apis/slides_v1/classes.rb', line 4649 def description @description end |
#object_id_prop ⇒ String
The object ID of the page element the updates are applied to.
Corresponds to the JSON property objectId
4654 4655 4656 |
# File 'generated/google/apis/slides_v1/classes.rb', line 4654 def object_id_prop @object_id_prop end |
#title ⇒ String
The updated alt text title of the page element. If unset the
existing value will be maintained. The title is exposed to screen readers
and other accessibility interfaces. Only use human readable values related
to the content of the page element.
Corresponds to the JSON property title
4662 4663 4664 |
# File 'generated/google/apis/slides_v1/classes.rb', line 4662 def title @title end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4669 4670 4671 4672 4673 |
# File 'generated/google/apis/slides_v1/classes.rb', line 4669 def update!(**args) @description = args[:description] if args.key?(:description) @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop) @title = args[:title] if args.key?(:title) end |