Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestSearchSpecSearchResultListSearchResultUnstructuredDocumentInfoDocumentContext

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

Overview

Document context.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestSearchSpecSearchResultListSearchResultUnstructuredDocumentInfoDocumentContext

Returns a new instance of GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestSearchSpecSearchResultListSearchResultUnstructuredDocumentInfoDocumentContext.



2321
2322
2323
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 2321

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

Instance Attribute Details

#contentString

Document content. Corresponds to the JSON property content

Returns:

  • (String)


2314
2315
2316
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 2314

def content
  @content
end

#page_identifierString

Page identifier. Corresponds to the JSON property pageIdentifier

Returns:

  • (String)


2319
2320
2321
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 2319

def page_identifier
  @page_identifier
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2326
2327
2328
2329
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 2326

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