Class: Google::Apis::BinaryauthorizationV1::AllowlistResult

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_patternString

The allowlist pattern that the image matched. Corresponds to the JSON property matchedPattern

Returns:

  • (String)


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