Class: Google::Apis::CloudassetV1::IamPolicyAnalysis
- Inherits:
-
Object
- Object
- Google::Apis::CloudassetV1::IamPolicyAnalysis
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudasset_v1/classes.rb,
lib/google/apis/cloudasset_v1/representations.rb,
lib/google/apis/cloudasset_v1/representations.rb
Overview
An analysis message to group the query and results.
Instance Attribute Summary collapse
-
#analysis_query ⇒ Google::Apis::CloudassetV1::IamPolicyAnalysisQuery
IAM policy analysis query message.
-
#analysis_results ⇒ Array<Google::Apis::CloudassetV1::IamPolicyAnalysisResult>
A list of IamPolicyAnalysisResult that matches the analysis query, or empty if no result is found.
-
#fully_explored ⇒ Boolean
(also: #fully_explored?)
Represents whether all entries in the analysis_results have been fully explored to answer the query.
-
#non_critical_errors ⇒ Array<Google::Apis::CloudassetV1::IamPolicyAnalysisState>
A list of non-critical errors happened during the query handling.
Instance Method Summary collapse
-
#initialize(**args) ⇒ IamPolicyAnalysis
constructor
A new instance of IamPolicyAnalysis.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ IamPolicyAnalysis
Returns a new instance of IamPolicyAnalysis.
3805 3806 3807 |
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 3805 def initialize(**args) update!(**args) end |
Instance Attribute Details
#analysis_query ⇒ Google::Apis::CloudassetV1::IamPolicyAnalysisQuery
IAM policy analysis query message.
Corresponds to the JSON property analysisQuery
3785 3786 3787 |
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 3785 def analysis_query @analysis_query end |
#analysis_results ⇒ Array<Google::Apis::CloudassetV1::IamPolicyAnalysisResult>
A list of IamPolicyAnalysisResult that matches the analysis query, or empty if
no result is found.
Corresponds to the JSON property analysisResults
3791 3792 3793 |
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 3791 def analysis_results @analysis_results end |
#fully_explored ⇒ Boolean Also known as: fully_explored?
Represents whether all entries in the analysis_results have been fully
explored to answer the query.
Corresponds to the JSON property fullyExplored
3797 3798 3799 |
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 3797 def fully_explored @fully_explored end |
#non_critical_errors ⇒ Array<Google::Apis::CloudassetV1::IamPolicyAnalysisState>
A list of non-critical errors happened during the query handling.
Corresponds to the JSON property nonCriticalErrors
3803 3804 3805 |
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 3803 def non_critical_errors @non_critical_errors end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3810 3811 3812 3813 3814 3815 |
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 3810 def update!(**args) @analysis_query = args[:analysis_query] if args.key?(:analysis_query) @analysis_results = args[:analysis_results] if args.key?(:analysis_results) @fully_explored = args[:fully_explored] if args.key?(:fully_explored) @non_critical_errors = args[:non_critical_errors] if args.key?(:non_critical_errors) end |