class Google::Apis::ContaineranalysisV1beta1::ArtifactRule

Defines an object to declare an in-toto artifact rule

Attributes

artifact_rule[RW]

Corresponds to the JSON property `artifactRule` @return [Array<String>]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/containeranalysis_v1beta1/classes.rb, line 115
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/containeranalysis_v1beta1/classes.rb, line 120
def update!(**args)
  @artifact_rule = args[:artifact_rule] if args.key?(:artifact_rule)
end