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



592
593
594
# File 'generated/google/apis/iam_v1/classes.rb', line 592

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

Instance Attribute Details

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

List of lint results sorted by a composite key, descending order of severity and ascending order of binding_ordinal. There is no certain order among the same keys. For cross-binding results (only if the input object to lint is instance of google.iam.v1.Policy), there will be a google.iam.admin.v1.LintResult for each of the involved bindings, and the associated debug_message may enumerate the other involved binding ordinal number(s). Corresponds to the JSON property lintResults



590
591
592
# File 'generated/google/apis/iam_v1/classes.rb', line 590

def lint_results
  @lint_results
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



597
598
599
# File 'generated/google/apis/iam_v1/classes.rb', line 597

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