Class: Google::Apis::CloudsearchV1::StructuredResult
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::StructuredResult
- Defined in:
- generated/google/apis/cloudsearch_v1/classes.rb,
generated/google/apis/cloudsearch_v1/representations.rb,
generated/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.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ StructuredResult
Returns a new instance of StructuredResult
4256 4257 4258 |
# File 'generated/google/apis/cloudsearch_v1/classes.rb', line 4256 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
4254 4255 4256 |
# File 'generated/google/apis/cloudsearch_v1/classes.rb', line 4254 def person @person end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4261 4262 4263 |
# File 'generated/google/apis/cloudsearch_v1/classes.rb', line 4261 def update!(**args) @person = args[:person] if args.key?(:person) end |