Class: Google::Apis::RunV2::GoogleCloudRunV2SourceCode

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

Source type for the container.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudRunV2SourceCode

Returns a new instance of GoogleCloudRunV2SourceCode.



3357
3358
3359
# File 'lib/google/apis/run_v2/classes.rb', line 3357

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

Instance Attribute Details

#cloud_storage_sourceGoogle::Apis::RunV2::GoogleCloudRunV2CloudStorageSource

Cloud Storage source. Corresponds to the JSON property cloudStorageSource



3350
3351
3352
# File 'lib/google/apis/run_v2/classes.rb', line 3350

def cloud_storage_source
  @cloud_storage_source
end

#inlined_sourceGoogle::Apis::RunV2::GoogleCloudRunV2InlinedSource

Inlined source. Corresponds to the JSON property inlinedSource



3355
3356
3357
# File 'lib/google/apis/run_v2/classes.rb', line 3355

def inlined_source
  @inlined_source
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3362
3363
3364
3365
# File 'lib/google/apis/run_v2/classes.rb', line 3362

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