Class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1BatchGetDocumentsMetadataResponseDocumentMetadata

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

Overview

The metadata of a Document.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1BatchGetDocumentsMetadataResponseDocumentMetadata

Returns a new instance of GoogleCloudDiscoveryengineV1BatchGetDocumentsMetadataResponseDocumentMetadata.



1696
1697
1698
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 1696

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)


1679
1680
1681
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 1679

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)


1684
1685
1686
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 1684

def last_refreshed_time
  @last_refreshed_time
end

#matcher_valueGoogle::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1BatchGetDocumentsMetadataResponseDocumentMetadataMatcherValue

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



1689
1690
1691
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 1689

def matcher_value
  @matcher_value
end

#statusString

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

Returns:

  • (String)


1694
1695
1696
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 1694

def status
  @status
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1701
1702
1703
1704
1705
1706
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 1701

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)
  @status = args[:status] if args.key?(:status)
end