Class: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1GenericArtifactDependency
- Inherits:
-
Object
- Object
- Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1GenericArtifactDependency
- 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
Represents a generic artifact as a build dependency.
Instance Attribute Summary collapse
-
#dest_path ⇒ String
Required.
-
#resource ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleDevtoolsCloudbuildV1GenericArtifactDependency
constructor
A new instance of GoogleDevtoolsCloudbuildV1GenericArtifactDependency.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleDevtoolsCloudbuildV1GenericArtifactDependency
Returns a new instance of GoogleDevtoolsCloudbuildV1GenericArtifactDependency.
5697 5698 5699 |
# File 'lib/google/apis/run_v2/classes.rb', line 5697 def initialize(**args) update!(**args) end |
Instance Attribute Details
#dest_path ⇒ String
Required. Where the artifact files should be placed on the worker.
Corresponds to the JSON property destPath
5689 5690 5691 |
# File 'lib/google/apis/run_v2/classes.rb', line 5689 def dest_path @dest_path end |
#resource ⇒ String
Required. The location to download the artifact files from. Ex: projects/p1/
locations/us/repositories/r1/packages/p1/versions/v1
Corresponds to the JSON property resource
5695 5696 5697 |
# File 'lib/google/apis/run_v2/classes.rb', line 5695 def resource @resource end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5702 5703 5704 5705 |
# File 'lib/google/apis/run_v2/classes.rb', line 5702 def update!(**args) @dest_path = args[:dest_path] if args.key?(:dest_path) @resource = args[:resource] if args.key?(:resource) end |