Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentResponseCandidateGroundingMetadataRetrievalMetadata

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

Describes the metadata associated with a retrieval step.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentResponseCandidateGroundingMetadataRetrievalMetadata

Returns a new instance of GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentResponseCandidateGroundingMetadataRetrievalMetadata.



10851
10852
10853
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 10851

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

Instance Attribute Details

#dynamic_retrieval_metadataGoogle::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentResponseCandidateGroundingMetadataDynamicRetrievalMetadata

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



10844
10845
10846
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 10844

def 
  @dynamic_retrieval_metadata
end

#sourceString

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

Returns:

  • (String)


10849
10850
10851
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 10849

def source
  @source
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10856
10857
10858
10859
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 10856

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