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.
-
#denied_accesses ⇒ Array<Google::Apis::CloudassetV1::DeniedAccess>
A list of DeniedAccess, which contains all access tuples in the analysis_results that are denied by IAM deny policies.
-
#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.
3839 3840 3841 |
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 3839 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
3811 3812 3813 |
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 3811 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
3817 3818 3819 |
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 3817 def analysis_results @analysis_results end |
#denied_accesses ⇒ Array<Google::Apis::CloudassetV1::DeniedAccess>
A list of DeniedAccess, which contains all access tuples in the
analysis_results that are denied by IAM deny policies. If no access tuples are
denied, the list is empty. This is only populated when IamPolicyAnalysisQuery.
Options.include_deny_policy_analysis is true.
Corresponds to the JSON property deniedAccesses
3825 3826 3827 |
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 3825 def denied_accesses @denied_accesses 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
3831 3832 3833 |
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 3831 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
3837 3838 3839 |
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 3837 def non_critical_errors @non_critical_errors end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3844 3845 3846 3847 3848 3849 3850 |
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 3844 def update!(**args) @analysis_query = args[:analysis_query] if args.key?(:analysis_query) @analysis_results = args[:analysis_results] if args.key?(:analysis_results) @denied_accesses = args[:denied_accesses] if args.key?(:denied_accesses) @fully_explored = args[:fully_explored] if args.key?(:fully_explored) @non_critical_errors = args[:non_critical_errors] if args.key?(:non_critical_errors) end |