Class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAlphaEvolveProgramContent

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

A self-contained message containing the content of a program. Can represent a collection of files.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaAlphaEvolveProgramContent

Returns a new instance of GoogleCloudDiscoveryengineV1alphaAlphaEvolveProgramContent.



7809
7810
7811
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 7809

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

Instance Attribute Details

#descriptionString

Optional. Description of the program. Corresponds to the JSON property description

Returns:

  • (String)


7802
7803
7804
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 7802

def description
  @description
end

#filesArray<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAlphaEvolveSourceFile>

Required. A list of source files that make up the overall program. Corresponds to the JSON property files



7807
7808
7809
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 7807

def files
  @files
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7814
7815
7816
7817
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 7814

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