Class: Google::Apis::ContaineranalysisV1beta1::ArtifactRule
- Inherits:
-
Object
- Object
- Google::Apis::ContaineranalysisV1beta1::ArtifactRule
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- generated/google/apis/containeranalysis_v1beta1/classes.rb,
generated/google/apis/containeranalysis_v1beta1/representations.rb,
generated/google/apis/containeranalysis_v1beta1/representations.rb
Overview
Defines an object to declare an in-toto artifact rule
Instance Attribute Summary collapse
-
#artifact_rule ⇒ Array<String>
Corresponds to the JSON property
artifactRule
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ArtifactRule
constructor
A new instance of ArtifactRule.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ArtifactRule
Returns a new instance of ArtifactRule.
115 116 117 |
# File 'generated/google/apis/containeranalysis_v1beta1/classes.rb', line 115 def initialize(**args) update!(**args) end |
Instance Attribute Details
#artifact_rule ⇒ Array<String>
Corresponds to the JSON property artifactRule
113 114 115 |
# File 'generated/google/apis/containeranalysis_v1beta1/classes.rb', line 113 def artifact_rule @artifact_rule end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
120 121 122 |
# File 'generated/google/apis/containeranalysis_v1beta1/classes.rb', line 120 def update!(**args) @artifact_rule = args[:artifact_rule] if args.key?(:artifact_rule) end |