Class: Google::Apis::ContentV2_1::BuiltInSimpleActionAdditionalContent
- Inherits:
-
Object
- Object
- Google::Apis::ContentV2_1::BuiltInSimpleActionAdditionalContent
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/content_v2_1/classes.rb,
lib/google/apis/content_v2_1/representations.rb,
lib/google/apis/content_v2_1/representations.rb
Overview
Long text from external source.
Instance Attribute Summary collapse
-
#paragraphs ⇒ Array<String>
Long text organized into paragraphs.
-
#title ⇒ String
Title of the additional content; Corresponds to the JSON property
title
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BuiltInSimpleActionAdditionalContent
constructor
A new instance of BuiltInSimpleActionAdditionalContent.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ BuiltInSimpleActionAdditionalContent
Returns a new instance of BuiltInSimpleActionAdditionalContent.
2659 2660 2661 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 2659 def initialize(**args) update!(**args) end |
Instance Attribute Details
#paragraphs ⇒ Array<String>
Long text organized into paragraphs.
Corresponds to the JSON property paragraphs
2652 2653 2654 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 2652 def paragraphs @paragraphs end |
#title ⇒ String
Title of the additional content;
Corresponds to the JSON property title
2657 2658 2659 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 2657 def title @title end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2664 2665 2666 2667 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 2664 def update!(**args) @paragraphs = args[:paragraphs] if args.key?(:paragraphs) @title = args[:title] if args.key?(:title) end |