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.



2913
2914
2915
# File 'lib/google/apis/run_v2/classes.rb', line 2913

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

Instance Attribute Details

#cloud_storage_sourceGoogle::Apis::RunV2::GoogleCloudRunV2CloudStorageSource

Cloud Storage source. Corresponds to the JSON property cloudStorageSource



2911
2912
2913
# File 'lib/google/apis/run_v2/classes.rb', line 2911

def cloud_storage_source
  @cloud_storage_source
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2918
2919
2920
# File 'lib/google/apis/run_v2/classes.rb', line 2918

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