class Google::Apis::BinaryauthorizationV1beta1::AdmissionWhitelistPattern
An admission allowlist pattern exempts images from checks by admission rules.
Attributes
name_pattern[RW]
An image name pattern to allowlist, in the form `registry/path/to/image`. This supports a trailing `*` as a wildcard, but this is allowed only in text after the `registry/` part. `*` wildcard does not match `/`, i.e., gcr.io/nginx* matches gcr.io/nginx, but it does not match gcr.io/nginx/image. This also supports a trailing `**` wildcard which matches subdirectories, i.e., gcr. io/nginx** matches gcr.io/nginx/image. Corresponds to the JSON property `namePattern` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/binaryauthorization_v1beta1/classes.rb, line 79 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/binaryauthorization_v1beta1/classes.rb, line 84 def update!(**args) @name_pattern = args[:name_pattern] if args.key?(:name_pattern) end