Class: Google::Apis::IamV1::LintPolicyResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/iam_v1/classes.rb,
lib/google/apis/iam_v1/representations.rb,
lib/google/apis/iam_v1/representations.rb

Overview

The response of a lint operation. An empty response indicates the operation was able to fully execute and no lint issue was found.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ LintPolicyResponse

Returns a new instance of LintPolicyResponse.



999
1000
1001
# File 'lib/google/apis/iam_v1/classes.rb', line 999

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#lint_resultsArray<Google::Apis::IamV1::LintResult>

List of lint results sorted by severity in descending order. Corresponds to the JSON property lintResults



997
998
999
# File 'lib/google/apis/iam_v1/classes.rb', line 997

def lint_results
  @lint_results
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1004
1005
1006
# File 'lib/google/apis/iam_v1/classes.rb', line 1004

def update!(**args)
  @lint_results = args[:lint_results] if args.key?(:lint_results)
end