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.
7514 7515 7516 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 7514 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
7487 7488 7489 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 7487 def evolution_settings @evolution_settings end |
#generation_settings ⇒ Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfigGenerationSettings
Generation settings for the experiment.
Corresponds to the JSON property generationSettings
7492 7493 7494 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 7492 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
7497 7498 7499 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 7497 def problem_description @problem_description end |
#program_language ⇒ String
Required. Primary programming language of the code being optimized.
Corresponds to the JSON property programLanguage
7502 7503 7504 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 7502 def program_language @program_language end |
#run_settings ⇒ Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfigRunSettings
Run settings for the experiment.
Corresponds to the JSON property runSettings
7507 7508 7509 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 7507 def run_settings @run_settings end |
#title ⇒ String
Required. Title of the experiment.
Corresponds to the JSON property title
7512 7513 7514 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 7512 def title @title end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7519 7520 7521 7522 7523 7524 7525 7526 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 7519 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 |