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

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/iam_v1/classes.rb,
generated/google/apis/iam_v1/representations.rb,
generated/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

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ LintPolicyResponse

Returns a new instance of LintPolicyResponse.



615
616
617
# File 'generated/google/apis/iam_v1/classes.rb', line 615

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



613
614
615
# File 'generated/google/apis/iam_v1/classes.rb', line 613

def lint_results
  @lint_results
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



620
621
622
# File 'generated/google/apis/iam_v1/classes.rb', line 620

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