Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaBatchGetDocumentsMetadataResponseDocumentMetadata

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

The metadata of a Document.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaBatchGetDocumentsMetadataResponseDocumentMetadata

Returns a new instance of GoogleCloudDiscoveryengineV1alphaBatchGetDocumentsMetadataResponseDocumentMetadata.



5790
5791
5792
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 5790

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

Instance Attribute Details

#data_ingestion_sourceString

The data ingestion source of the Document. Allowed values are: * batch: Data ingested via Batch API, e.g., ImportDocuments. * streaming Data ingested via Streaming API, e.g., FHIR streaming. Corresponds to the JSON property dataIngestionSource

Returns:

  • (String)


5773
5774
5775
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 5773

def data_ingestion_source
  @data_ingestion_source
end

#last_refreshed_timeString

The timestamp of the last time the Document was last indexed. Corresponds to the JSON property lastRefreshedTime

Returns:

  • (String)


5778
5779
5780
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 5778

def last_refreshed_time
  @last_refreshed_time
end

#matcher_valueGoogle::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaBatchGetDocumentsMetadataResponseDocumentMetadataMatcherValue

The value of the matcher that was used to match the Document. Corresponds to the JSON property matcherValue



5783
5784
5785
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 5783

def matcher_value
  @matcher_value
end

#stateString

The state of the document. Corresponds to the JSON property state

Returns:

  • (String)


5788
5789
5790
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 5788

def state
  @state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5795
5796
5797
5798
5799
5800
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 5795

def update!(**args)
  @data_ingestion_source = args[:data_ingestion_source] if args.key?(:data_ingestion_source)
  @last_refreshed_time = args[:last_refreshed_time] if args.key?(:last_refreshed_time)
  @matcher_value = args[:matcher_value] if args.key?(:matcher_value)
  @state = args[:state] if args.key?(:state)
end