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

Methods included from Google::Apis::Core::JsonObjectSupport

#to_json

Methods included from Google::Apis::Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ AnalyzeIamPolicyResponse

Returns a new instance of AnalyzeIamPolicyResponse.


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

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)

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

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


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

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


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

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


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

def 
  @service_account_impersonation_analysis
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


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

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