Class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1GenerateGroundedContentResponseCandidateGroundingMetadataRetrievalMetadata

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

Describes the metadata associated with a retrieval step.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1GenerateGroundedContentResponseCandidateGroundingMetadataRetrievalMetadata

Returns a new instance of GoogleCloudDiscoveryengineV1GenerateGroundedContentResponseCandidateGroundingMetadataRetrievalMetadata.



5749
5750
5751
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 5749

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

Instance Attribute Details

#dynamic_retrieval_metadataGoogle::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1GenerateGroundedContentResponseCandidateGroundingMetadataDynamicRetrievalMetadata

Describes the metadata about dynamic retrieval. Corresponds to the JSON property dynamicRetrievalMetadata



5742
5743
5744
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 5742

def 
  @dynamic_retrieval_metadata
end

#sourceString

Describes the source to which the metadata is referring to. Corresponds to the JSON property source

Returns:

  • (String)


5747
5748
5749
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 5747

def source
  @source
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5754
5755
5756
5757
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 5754

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