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

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
generated/google/apis/cloudasset_v1/classes.rb,
generated/google/apis/cloudasset_v1/representations.rb,
generated/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.



102
103
104
# File 'generated/google/apis/cloudasset_v1/classes.rb', line 102

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)


88
89
90
# File 'generated/google/apis/cloudasset_v1/classes.rb', line 88

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



94
95
96
# File 'generated/google/apis/cloudasset_v1/classes.rb', line 94

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



100
101
102
# File 'generated/google/apis/cloudasset_v1/classes.rb', line 100

def 
  @service_account_impersonation_analysis
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



107
108
109
110
111
# File 'generated/google/apis/cloudasset_v1/classes.rb', line 107

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