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.



857
858
859
# File 'lib/google/apis/iam_v1/classes.rb', line 857

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



855
856
857
# File 'lib/google/apis/iam_v1/classes.rb', line 855

def lint_results
  @lint_results
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



862
863
864
# File 'lib/google/apis/iam_v1/classes.rb', line 862

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