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.



8335
8336
8337
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 8335

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

Instance Attribute Details

#documentString

Document resource name. Corresponds to the JSON property document

Returns:

  • (String)


8318
8319
8320
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 8318

def document
  @document
end

#struct_dataHash<String,Object>

Structured search data. Corresponds to the JSON property structData

Returns:

  • (Hash<String,Object>)


8323
8324
8325
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 8323

def struct_data
  @struct_data
end

#titleString

Output only. The title of the document. Corresponds to the JSON property title

Returns:

  • (String)


8328
8329
8330
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 8328

def title
  @title
end

#uriString

Output only. The URI of the document. Corresponds to the JSON property uri

Returns:

  • (String)


8333
8334
8335
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 8333

def uri
  @uri
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8340
8341
8342
8343
8344
8345
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 8340

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