Class: Google::Apis::CloudassetV1p4beta1::AnalyzeIamPolicyResponse

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
generated/google/apis/cloudasset_v1p4beta1/classes.rb,
generated/google/apis/cloudasset_v1p4beta1/representations.rb,
generated/google/apis/cloudasset_v1p4beta1/representations.rb

Overview

A response message for AssetService.AnalyzeIamPolicy.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AnalyzeIamPolicyResponse

Returns a new instance of AnalyzeIamPolicyResponse.



83
84
85
# File 'generated/google/apis/cloudasset_v1p4beta1/classes.rb', line 83

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

Instance Attribute Details

#fully_exploredBoolean 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

Returns:

  • (Boolean)


63
64
65
# File 'generated/google/apis/cloudasset_v1p4beta1/classes.rb', line 63

def fully_explored
  @fully_explored
end

#main_analysisGoogle::Apis::CloudassetV1p4beta1::IamPolicyAnalysis

An analysis message to group the query and results. Corresponds to the JSON property mainAnalysis



69
70
71
# File 'generated/google/apis/cloudasset_v1p4beta1/classes.rb', line 69

def main_analysis
  @main_analysis
end

#non_critical_errorsArray<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



75
76
77
# File 'generated/google/apis/cloudasset_v1p4beta1/classes.rb', line 75

def non_critical_errors
  @non_critical_errors
end

#service_account_impersonation_analysisArray<Google::Apis::CloudassetV1p4beta1::IamPolicyAnalysis>

The service account impersonation analysis if AnalyzeIamPolicyRequest. analyze_service_account_impersonation is enabled. Corresponds to the JSON property serviceAccountImpersonationAnalysis



81
82
83
# File 'generated/google/apis/cloudasset_v1p4beta1/classes.rb', line 81

def 
  @service_account_impersonation_analysis
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



88
89
90
91
92
93
# File 'generated/google/apis/cloudasset_v1p4beta1/classes.rb', line 88

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