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.



7831
7832
7833
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 7831

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

Instance Attribute Details

#descriptionString

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

Returns:

  • (String)


7824
7825
7826
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 7824

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



7829
7830
7831
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 7829

def files
  @files
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7836
7837
7838
7839
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 7836

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