Class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAnswerReferenceStructuredDocumentInfo

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/discoveryengine_v1beta/classes.rb,
lib/google/apis/discoveryengine_v1beta/representations.rb,
lib/google/apis/discoveryengine_v1beta/representations.rb

Overview

Structured search information.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaAnswerReferenceStructuredDocumentInfo

Returns a new instance of GoogleCloudDiscoveryengineV1alphaAnswerReferenceStructuredDocumentInfo.



4194
4195
4196
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 4194

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#documentString

Document resource name. Corresponds to the JSON property document

Returns:

  • (String)


4187
4188
4189
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 4187

def document
  @document
end

#struct_dataHash<String,Object>

Structured search data. Corresponds to the JSON property structData

Returns:

  • (Hash<String,Object>)


4192
4193
4194
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 4192

def struct_data
  @struct_data
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4199
4200
4201
4202
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 4199

def update!(**args)
  @document = args[:document] if args.key?(:document)
  @struct_data = args[:struct_data] if args.key?(:struct_data)
end