Class: Google::Apis::RunV2::GoogleCloudRunV2SourceCode
- Inherits:
-
Object
- Object
- Google::Apis::RunV2::GoogleCloudRunV2SourceCode
- 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
-
#cloud_storage_source ⇒ Google::Apis::RunV2::GoogleCloudRunV2CloudStorageSource
Cloud Storage source.
-
#inlined_source ⇒ Google::Apis::RunV2::GoogleCloudRunV2InlinedSource
Inlined source.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudRunV2SourceCode
constructor
A new instance of GoogleCloudRunV2SourceCode.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudRunV2SourceCode
Returns a new instance of GoogleCloudRunV2SourceCode.
3383 3384 3385 |
# File 'lib/google/apis/run_v2/classes.rb', line 3383 def initialize(**args) update!(**args) end |
Instance Attribute Details
#cloud_storage_source ⇒ Google::Apis::RunV2::GoogleCloudRunV2CloudStorageSource
Cloud Storage source.
Corresponds to the JSON property cloudStorageSource
3376 3377 3378 |
# File 'lib/google/apis/run_v2/classes.rb', line 3376 def cloud_storage_source @cloud_storage_source end |
#inlined_source ⇒ Google::Apis::RunV2::GoogleCloudRunV2InlinedSource
Inlined source.
Corresponds to the JSON property inlinedSource
3381 3382 3383 |
# File 'lib/google/apis/run_v2/classes.rb', line 3381 def inlined_source @inlined_source end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3388 3389 3390 3391 |
# File 'lib/google/apis/run_v2/classes.rb', line 3388 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 |