Class: Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGenericArtifactDependency
- Inherits:
-
Object
- Object
- Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGenericArtifactDependency
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/containeranalysis_v1beta1/classes.rb,
lib/google/apis/containeranalysis_v1beta1/representations.rb,
lib/google/apis/containeranalysis_v1beta1/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) ⇒ ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGenericArtifactDependency
constructor
A new instance of ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGenericArtifactDependency.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGenericArtifactDependency
Returns a new instance of ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGenericArtifactDependency.
2460 2461 2462 |
# File 'lib/google/apis/containeranalysis_v1beta1/classes.rb', line 2460 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
2452 2453 2454 |
# File 'lib/google/apis/containeranalysis_v1beta1/classes.rb', line 2452 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
2458 2459 2460 |
# File 'lib/google/apis/containeranalysis_v1beta1/classes.rb', line 2458 def resource @resource end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2465 2466 2467 2468 |
# File 'lib/google/apis/containeranalysis_v1beta1/classes.rb', line 2465 def update!(**args) @dest_path = args[:dest_path] if args.key?(:dest_path) @resource = args[:resource] if args.key?(:resource) end |