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.



1292
1293
1294
# File 'lib/google/apis/run_v2/classes.rb', line 1292

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



1290
1291
1292
# File 'lib/google/apis/run_v2/classes.rb', line 1290

def sources
  @sources
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1297
1298
1299
# File 'lib/google/apis/run_v2/classes.rb', line 1297

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