Class: Google::Apis::CloudassetV1::IamPolicyAnalysis

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

An analysis message to group the query and results.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ IamPolicyAnalysis

Returns a new instance of IamPolicyAnalysis.



2183
2184
2185
# File 'generated/google/apis/cloudasset_v1/classes.rb', line 2183

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

Instance Attribute Details

#analysis_queryGoogle::Apis::CloudassetV1::IamPolicyAnalysisQuery

LINT.IfChange Keep in sync with ## logs/proto/cloud_asset_inventory/

iam_policy_analyzer_log.proto IAM policy analysis query message. Corresponds to the JSON property analysisQuery



2163
2164
2165
# File 'generated/google/apis/cloudasset_v1/classes.rb', line 2163

def analysis_query
  @analysis_query
end

#analysis_resultsArray<Google::Apis::CloudassetV1::IamPolicyAnalysisResult>

A list of IamPolicyAnalysisResult that matches the analysis query, or empty if no result is found. Corresponds to the JSON property analysisResults



2169
2170
2171
# File 'generated/google/apis/cloudasset_v1/classes.rb', line 2169

def analysis_results
  @analysis_results
end

#fully_exploredBoolean Also known as: fully_explored?

Represents whether all entries in the analysis_results have been fully explored to answer the query. Corresponds to the JSON property fullyExplored

Returns:

  • (Boolean)


2175
2176
2177
# File 'generated/google/apis/cloudasset_v1/classes.rb', line 2175

def fully_explored
  @fully_explored
end

#non_critical_errorsArray<Google::Apis::CloudassetV1::IamPolicyAnalysisState>

A list of non-critical errors happened during the query handling. Corresponds to the JSON property nonCriticalErrors



2181
2182
2183
# File 'generated/google/apis/cloudasset_v1/classes.rb', line 2181

def non_critical_errors
  @non_critical_errors
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2188
2189
2190
2191
2192
2193
# File 'generated/google/apis/cloudasset_v1/classes.rb', line 2188

def update!(**args)
  @analysis_query = args[:analysis_query] if args.key?(:analysis_query)
  @analysis_results = args[:analysis_results] if args.key?(:analysis_results)
  @fully_explored = args[:fully_explored] if args.key?(:fully_explored)
  @non_critical_errors = args[:non_critical_errors] if args.key?(:non_critical_errors)
end