Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentRequestDynamicRetrievalConfiguration

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 options to customize dynamic retrieval.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentRequestDynamicRetrievalConfiguration

Returns a new instance of GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentRequestDynamicRetrievalConfiguration.



10409
10410
10411
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 10409

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

Instance Attribute Details

#predictorGoogle::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentRequestDynamicRetrievalConfigurationDynamicRetrievalPredictor

Describes the predictor settings for dynamic retrieval. Corresponds to the JSON property predictor



10407
10408
10409
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 10407

def predictor
  @predictor
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10414
10415
10416
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 10414

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