Class: Google::Apis::CloudsearchV1::AppsDynamiteSharedTextWithDescription
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::AppsDynamiteSharedTextWithDescription
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudsearch_v1/classes.rb,
lib/google/apis/cloudsearch_v1/representations.rb,
lib/google/apis/cloudsearch_v1/representations.rb
Overview
Defines a text with descriptive text segments associated.
Instance Attribute Summary collapse
-
#text_body ⇒ String
Corresponds to the JSON property
textBody
. -
#text_segments_with_description ⇒ Array<Google::Apis::CloudsearchV1::AppsDynamiteSharedTextSegmentsWithDescription>
Corresponds to the JSON property
textSegmentsWithDescription
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AppsDynamiteSharedTextWithDescription
constructor
A new instance of AppsDynamiteSharedTextWithDescription.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AppsDynamiteSharedTextWithDescription
Returns a new instance of AppsDynamiteSharedTextWithDescription.
2619 2620 2621 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2619 def initialize(**args) update!(**args) end |
Instance Attribute Details
#text_body ⇒ String
Corresponds to the JSON property textBody
2612 2613 2614 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2612 def text_body @text_body end |
#text_segments_with_description ⇒ Array<Google::Apis::CloudsearchV1::AppsDynamiteSharedTextSegmentsWithDescription>
Corresponds to the JSON property textSegmentsWithDescription
2617 2618 2619 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2617 def text_segments_with_description @text_segments_with_description end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2624 2625 2626 2627 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2624 def update!(**args) @text_body = args[:text_body] if args.key?(:text_body) @text_segments_with_description = args[:text_segments_with_description] if args.key?(:text_segments_with_description) end |