Class: Google::Apis::RunV2::GoogleCloudRunV2InlinedSource

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/run_v2/classes.rb,
lib/google/apis/run_v2/representations.rb,
lib/google/apis/run_v2/representations.rb

Overview

Inlined source.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudRunV2InlinedSource

Returns a new instance of GoogleCloudRunV2InlinedSource.



1306
1307
1308
# File 'lib/google/apis/run_v2/classes.rb', line 1306

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

Instance Attribute Details

#sourcesArray<Google::Apis::RunV2::GoogleCloudRunV2SourceFile>

Required. Input only. The source code. Corresponds to the JSON property sources



1304
1305
1306
# File 'lib/google/apis/run_v2/classes.rb', line 1304

def sources
  @sources
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1311
1312
1313
# File 'lib/google/apis/run_v2/classes.rb', line 1311

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