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

Constructor Details

#initialize(**args) ⇒ LintPolicyResponse

Returns a new instance of LintPolicyResponse.



522
523
524
# File 'generated/google/apis/iam_v1/classes.rb', line 522

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



520
521
522
# File 'generated/google/apis/iam_v1/classes.rb', line 520

def lint_results
  @lint_results
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



527
528
529
# File 'generated/google/apis/iam_v1/classes.rb', line 527

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