Class: Google::Apis::CloudsearchV1::AppsDynamiteSharedTextSegmentsWithDescription
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::AppsDynamiteSharedTextSegmentsWithDescription
- 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 text segments with description type associated.
Instance Attribute Summary collapse
-
#description_type ⇒ String
Corresponds to the JSON property
descriptionType
. -
#text_segment ⇒ Array<Google::Apis::CloudsearchV1::AppsDynamiteSharedTextSegment>
Corresponds to the JSON property
textSegment
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AppsDynamiteSharedTextSegmentsWithDescription
constructor
A new instance of AppsDynamiteSharedTextSegmentsWithDescription.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AppsDynamiteSharedTextSegmentsWithDescription
Returns a new instance of AppsDynamiteSharedTextSegmentsWithDescription.
2536 2537 2538 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2536 def initialize(**args) update!(**args) end |
Instance Attribute Details
#description_type ⇒ String
Corresponds to the JSON property descriptionType
2529 2530 2531 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2529 def description_type @description_type end |
#text_segment ⇒ Array<Google::Apis::CloudsearchV1::AppsDynamiteSharedTextSegment>
Corresponds to the JSON property textSegment
2534 2535 2536 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2534 def text_segment @text_segment end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2541 2542 2543 2544 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2541 def update!(**args) @description_type = args[:description_type] if args.key?(:description_type) @text_segment = args[:text_segment] if args.key?(:text_segment) end |