Class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaGenerateGroundedContentResponseCandidateGroundingMetadataRetrievalMetadata

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

Overview

Describes the metadata associated with a retrieval step.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1betaGenerateGroundedContentResponseCandidateGroundingMetadataRetrievalMetadata

Returns a new instance of GoogleCloudDiscoveryengineV1betaGenerateGroundedContentResponseCandidateGroundingMetadataRetrievalMetadata.



16364
16365
16366
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 16364

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

Instance Attribute Details

#dynamic_retrieval_metadataGoogle::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaGenerateGroundedContentResponseCandidateGroundingMetadataDynamicRetrievalMetadata

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



16357
16358
16359
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 16357

def 
  @dynamic_retrieval_metadata
end

#sourceString

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

Returns:

  • (String)


16362
16363
16364
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 16362

def source
  @source
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



16369
16370
16371
16372
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 16369

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