Class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAnswerReferenceStructuredDocumentInfo

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) ⇒ GoogleCloudDiscoveryengineV1betaAnswerReferenceStructuredDocumentInfo

Returns a new instance of GoogleCloudDiscoveryengineV1betaAnswerReferenceStructuredDocumentInfo.



19597
19598
19599
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 19597

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

Instance Attribute Details

#documentString

Document resource name. Corresponds to the JSON property document

Returns:

  • (String)


19580
19581
19582
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 19580

def document
  @document
end

#struct_dataHash<String,Object>

Structured search data. Corresponds to the JSON property structData

Returns:

  • (Hash<String,Object>)


19585
19586
19587
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 19585

def struct_data
  @struct_data
end

#titleString

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

Returns:

  • (String)


19590
19591
19592
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 19590

def title
  @title
end

#uriString

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

Returns:

  • (String)


19595
19596
19597
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 19595

def uri
  @uri
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



19602
19603
19604
19605
19606
19607
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 19602

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