Class: Google::Apis::CloudassetV1p4beta1::AnalyzeIamPolicyResponse
- Inherits:
-
Object
- Object
- Google::Apis::CloudassetV1p4beta1::AnalyzeIamPolicyResponse
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudasset_v1p4beta1/classes.rb,
lib/google/apis/cloudasset_v1p4beta1/representations.rb,
lib/google/apis/cloudasset_v1p4beta1/representations.rb
Overview
A response message for AssetService.AnalyzeIamPolicy.
Instance Attribute Summary collapse
-
#fully_explored ⇒ Boolean
(also: #fully_explored?)
Represents whether all entries in the main_analysis and service_account_impersonation_analysis have been fully explored to answer the query in the request.
-
#main_analysis ⇒ Google::Apis::CloudassetV1p4beta1::IamPolicyAnalysis
An analysis message to group the query and results.
-
#non_critical_errors ⇒ Array<Google::Apis::CloudassetV1p4beta1::GoogleCloudAssetV1p4beta1AnalysisState>
A list of non-critical errors happened during the request handling to explain why
fully_explored
is false, or empty if no error happened. -
#service_account_impersonation_analysis ⇒ Array<Google::Apis::CloudassetV1p4beta1::IamPolicyAnalysis>
The service account impersonation analysis if AnalyzeIamPolicyRequest.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AnalyzeIamPolicyResponse
constructor
A new instance of AnalyzeIamPolicyResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AnalyzeIamPolicyResponse
Returns a new instance of AnalyzeIamPolicyResponse.
116 117 118 |
# File 'lib/google/apis/cloudasset_v1p4beta1/classes.rb', line 116 def initialize(**args) update!(**args) end |
Instance Attribute Details
#fully_explored ⇒ Boolean Also known as: fully_explored?
Represents whether all entries in the main_analysis and
service_account_impersonation_analysis have been fully explored to answer the
query in the request.
Corresponds to the JSON property fullyExplored
96 97 98 |
# File 'lib/google/apis/cloudasset_v1p4beta1/classes.rb', line 96 def fully_explored @fully_explored end |
#main_analysis ⇒ Google::Apis::CloudassetV1p4beta1::IamPolicyAnalysis
An analysis message to group the query and results.
Corresponds to the JSON property mainAnalysis
102 103 104 |
# File 'lib/google/apis/cloudasset_v1p4beta1/classes.rb', line 102 def main_analysis @main_analysis end |
#non_critical_errors ⇒ Array<Google::Apis::CloudassetV1p4beta1::GoogleCloudAssetV1p4beta1AnalysisState>
A list of non-critical errors happened during the request handling to explain
why fully_explored
is false, or empty if no error happened.
Corresponds to the JSON property nonCriticalErrors
108 109 110 |
# File 'lib/google/apis/cloudasset_v1p4beta1/classes.rb', line 108 def non_critical_errors @non_critical_errors end |
#service_account_impersonation_analysis ⇒ Array<Google::Apis::CloudassetV1p4beta1::IamPolicyAnalysis>
The service account impersonation analysis if AnalyzeIamPolicyRequest.
analyze_service_account_impersonation is enabled.
Corresponds to the JSON property serviceAccountImpersonationAnalysis
114 115 116 |
# File 'lib/google/apis/cloudasset_v1p4beta1/classes.rb', line 114 def service_account_impersonation_analysis @service_account_impersonation_analysis end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
121 122 123 124 125 126 |
# File 'lib/google/apis/cloudasset_v1p4beta1/classes.rb', line 121 def update!(**args) @fully_explored = args[:fully_explored] if args.key?(:fully_explored) @main_analysis = args[:main_analysis] if args.key?(:main_analysis) @non_critical_errors = args[:non_critical_errors] if args.key?(:non_critical_errors) @service_account_impersonation_analysis = args[:service_account_impersonation_analysis] if args.key?(:service_account_impersonation_analysis) end |