Class: Google::Apis::CloudsearchV1::StructuredResult
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::StructuredResult
- 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
Structured results that are returned as part of search request.
Instance Attribute Summary collapse
-
#person ⇒ Google::Apis::CloudsearchV1::Person
Object to represent a person.
Instance Method Summary collapse
-
#initialize(**args) ⇒ StructuredResult
constructor
A new instance of StructuredResult.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ StructuredResult
Returns a new instance of StructuredResult.
7569 7570 7571 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 7569 def initialize(**args) update!(**args) end |
Instance Attribute Details
#person ⇒ Google::Apis::CloudsearchV1::Person
Object to represent a person.
Corresponds to the JSON property person
7567 7568 7569 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 7567 def person @person end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7574 7575 7576 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 7574 def update!(**args) @person = args[:person] if args.key?(:person) end |