Class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAlphaEvolveProgram
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAlphaEvolveProgram
- 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
Represents a single program to be used within the context of an AlphaEvolve experiment.
Instance Attribute Summary collapse
-
#content ⇒ Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAlphaEvolveProgramContent
A self-contained message containing the content of a program.
-
#create_time ⇒ String
Output only.
-
#evaluation ⇒ Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAlphaEvolveProgramEvaluation
Evaluation results for a program candidate.
-
#lock_token ⇒ String
Optional.
-
#name ⇒ String
Identifier.
-
#parent_programs ⇒ Array<String>
Output only.
-
#state ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaAlphaEvolveProgram
constructor
A new instance of GoogleCloudDiscoveryengineV1alphaAlphaEvolveProgram.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaAlphaEvolveProgram
Returns a new instance of GoogleCloudDiscoveryengineV1alphaAlphaEvolveProgram.
7788 7789 7790 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 7788 def initialize(**args) update!(**args) end |
Instance Attribute Details
#content ⇒ Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAlphaEvolveProgramContent
A self-contained message containing the content of a program. Can represent a
collection of files.
Corresponds to the JSON property content
7750 7751 7752 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 7750 def content @content end |
#create_time ⇒ String
Output only. Time when the program was created.
Corresponds to the JSON property createTime
7755 7756 7757 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 7755 def create_time @create_time end |
#evaluation ⇒ Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAlphaEvolveProgramEvaluation
Evaluation results for a program candidate.
Corresponds to the JSON property evaluation
7760 7761 7762 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 7760 def evaluation @evaluation end |
#lock_token ⇒ String
Optional. Lock token for the program.
Corresponds to the JSON property lockToken
7765 7766 7767 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 7765 def lock_token @lock_token end |
#name ⇒ String
Identifier. Unique identifier for the program. Format: projects/project/
locations/location/collections/collection/engines/engine/sessions/
session/alphaEvolveExperiments/alpha_evolve_experiment/alphaEvolvePrograms/
alpha_evolve_program`
Corresponds to the JSON propertyname`
7773 7774 7775 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 7773 def name @name end |
#parent_programs ⇒ Array<String>
Output only. Optionally specifies which parent programs this program was
evolved from. Format: projects/project/locations/location/collections/
collection/engines/engine/sessions/session/alphaEvolveExperiments/
alpha_evolve_experiment/alphaEvolvePrograms/alpha_evolve_program`
Corresponds to the JSON propertyparentPrograms`
7781 7782 7783 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 7781 def parent_programs @parent_programs end |
#state ⇒ String
Output only. State of the program.
Corresponds to the JSON property state
7786 7787 7788 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 7786 def state @state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7793 7794 7795 7796 7797 7798 7799 7800 7801 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 7793 def update!(**args) @content = args[:content] if args.key?(:content) @create_time = args[:create_time] if args.key?(:create_time) @evaluation = args[:evaluation] if args.key?(:evaluation) @lock_token = args[:lock_token] if args.key?(:lock_token) @name = args[:name] if args.key?(:name) @parent_programs = args[:parent_programs] if args.key?(:parent_programs) @state = args[:state] if args.key?(:state) end |