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.



3370
3371
3372
# File 'lib/google/apis/run_v2/classes.rb', line 3370

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

Instance Attribute Details

#cloud_storage_sourceGoogle::Apis::RunV2::GoogleCloudRunV2CloudStorageSource

Cloud Storage source. Corresponds to the JSON property cloudStorageSource



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

def cloud_storage_source
  @cloud_storage_source
end

#inlined_sourceGoogle::Apis::RunV2::GoogleCloudRunV2InlinedSource

Inlined source. Corresponds to the JSON property inlinedSource



3368
3369
3370
# File 'lib/google/apis/run_v2/classes.rb', line 3368

def inlined_source
  @inlined_source
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3375
3376
3377
3378
# File 'lib/google/apis/run_v2/classes.rb', line 3375

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