Class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfig
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfig
- 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
Configuration of an experiment.
Instance Attribute Summary collapse
-
#evolution_settings ⇒ Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfigEvolutionSettings
Evolution settings for the experiment.
-
#generation_settings ⇒ Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfigGenerationSettings
Generation settings for the experiment.
-
#problem_description ⇒ String
Required.
-
#program_language ⇒ String
Required.
-
#run_settings ⇒ Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfigRunSettings
Run settings for the experiment.
-
#title ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfig
constructor
A new instance of GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfig
Returns a new instance of GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfig.
7593 7594 7595 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 7593 def initialize(**args) update!(**args) end |
Instance Attribute Details
#evolution_settings ⇒ Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfigEvolutionSettings
Evolution settings for the experiment.
Corresponds to the JSON property evolutionSettings
7566 7567 7568 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 7566 def evolution_settings @evolution_settings end |
#generation_settings ⇒ Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfigGenerationSettings
Generation settings for the experiment.
Corresponds to the JSON property generationSettings
7571 7572 7573 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 7571 def generation_settings @generation_settings end |
#problem_description ⇒ String
Required. Description of the problem to be solved by the experiment.
Corresponds to the JSON property problemDescription
7576 7577 7578 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 7576 def problem_description @problem_description end |
#program_language ⇒ String
Required. Primary programming language of the code being optimized.
Corresponds to the JSON property programLanguage
7581 7582 7583 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 7581 def program_language @program_language end |
#run_settings ⇒ Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfigRunSettings
Run settings for the experiment.
Corresponds to the JSON property runSettings
7586 7587 7588 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 7586 def run_settings @run_settings end |
#title ⇒ String
Required. Title of the experiment.
Corresponds to the JSON property title
7591 7592 7593 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 7591 def title @title end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7598 7599 7600 7601 7602 7603 7604 7605 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 7598 def update!(**args) @evolution_settings = args[:evolution_settings] if args.key?(:evolution_settings) @generation_settings = args[:generation_settings] if args.key?(:generation_settings) @problem_description = args[:problem_description] if args.key?(:problem_description) @program_language = args[:program_language] if args.key?(:program_language) @run_settings = args[:run_settings] if args.key?(:run_settings) @title = args[:title] if args.key?(:title) end |