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.



7819
7820
7821
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 7819

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

Instance Attribute Details

#descriptionString

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

Returns:

  • (String)


7812
7813
7814
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 7812

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



7817
7818
7819
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 7817

def files
  @files
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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