Class: Google::Apis::CloudassetV1p4beta1::IamPolicyAnalysis

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



2061
2062
2063
# File 'lib/google/apis/cloudasset_v1p4beta1/classes.rb', line 2061

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

Instance Attribute Details

#analysis_queryGoogle::Apis::CloudassetV1p4beta1::IamPolicyAnalysisQuery

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



2046
2047
2048
# File 'lib/google/apis/cloudasset_v1p4beta1/classes.rb', line 2046

def analysis_query
  @analysis_query
end

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

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



2052
2053
2054
# File 'lib/google/apis/cloudasset_v1p4beta1/classes.rb', line 2052

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)


2058
2059
2060
# File 'lib/google/apis/cloudasset_v1p4beta1/classes.rb', line 2058

def fully_explored
  @fully_explored
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2066
2067
2068
2069
2070
# File 'lib/google/apis/cloudasset_v1p4beta1/classes.rb', line 2066

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)
end