Class: Google::Apis::BinaryauthorizationV1::AllowlistResult
- Inherits:
-
Object
- Object
- Google::Apis::BinaryauthorizationV1::AllowlistResult
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/binaryauthorization_v1/classes.rb,
lib/google/apis/binaryauthorization_v1/representations.rb,
lib/google/apis/binaryauthorization_v1/representations.rb
Overview
Result of evaluating an image name allowlist.
Instance Attribute Summary collapse
-
#matched_pattern ⇒ String
The allowlist pattern that the image matched.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AllowlistResult
constructor
A new instance of AllowlistResult.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AllowlistResult
Returns a new instance of AllowlistResult.
96 97 98 |
# File 'lib/google/apis/binaryauthorization_v1/classes.rb', line 96 def initialize(**args) update!(**args) end |
Instance Attribute Details
#matched_pattern ⇒ String
The allowlist pattern that the image matched.
Corresponds to the JSON property matchedPattern
94 95 96 |
# File 'lib/google/apis/binaryauthorization_v1/classes.rb', line 94 def matched_pattern @matched_pattern end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
101 102 103 |
# File 'lib/google/apis/binaryauthorization_v1/classes.rb', line 101 def update!(**args) @matched_pattern = args[:matched_pattern] if args.key?(:matched_pattern) end |