Class: Google::Apis::CloudassetV1::AnalyzeIamPolicyResponse

Inherits:
Object
  • Object
show all
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

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.



150
151
152
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 150

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)


136
137
138
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 136

def fully_explored
  @fully_explored
end

#main_analysisGoogle::Apis::CloudassetV1::IamPolicyAnalysis

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



142
143
144
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 142

def main_analysis
  @main_analysis
end

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

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



148
149
150
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 148

def 
  @service_account_impersonation_analysis
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



155
156
157
158
159
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 155

def update!(**args)
  @fully_explored = args[:fully_explored] if args.key?(:fully_explored)
  @main_analysis = args[:main_analysis] if args.key?(:main_analysis)
  @service_account_impersonation_analysis = args[:service_account_impersonation_analysis] if args.key?(:service_account_impersonation_analysis)
end