Google Cloud Asset V1 Client - Class AnalyzeIamPolicyResponse (2.1.1)

Reference documentation and code samples for the Google Cloud Asset V1 Client class AnalyzeIamPolicyResponse.

A response message for AssetService.AnalyzeIamPolicy.

Generated from protobuf message google.cloud.asset.v1.AnalyzeIamPolicyResponse

Namespace

Google \ Cloud \ Asset \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ main_analysis AnalyzeIamPolicyResponse\IamPolicyAnalysis

The main analysis that matches the original request.

↳ service_account_impersonation_analysis array<AnalyzeIamPolicyResponse\IamPolicyAnalysis>

The service account impersonation analysis if AnalyzeIamPolicyRequest.analyze_service_account_impersonation is enabled.

↳ fully_explored bool

Represents whether all entries in the main_analysis and service_account_impersonation_analysis have been fully explored to answer the query in the request.

getMainAnalysis

The main analysis that matches the original request.

Returns
Type Description
AnalyzeIamPolicyResponse\IamPolicyAnalysis|null

hasMainAnalysis

clearMainAnalysis

setMainAnalysis

The main analysis that matches the original request.

Parameter
Name Description
var AnalyzeIamPolicyResponse\IamPolicyAnalysis
Returns
Type Description
$this

getServiceAccountImpersonationAnalysis

The service account impersonation analysis if AnalyzeIamPolicyRequest.analyze_service_account_impersonation is enabled.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setServiceAccountImpersonationAnalysis

The service account impersonation analysis if AnalyzeIamPolicyRequest.analyze_service_account_impersonation is enabled.

Parameter
Name Description
var array<AnalyzeIamPolicyResponse\IamPolicyAnalysis>
Returns
Type Description
$this

getFullyExplored

Represents whether all entries in the main_analysis and service_account_impersonation_analysis have been fully explored to answer the query in the request.

Returns
Type Description
bool

setFullyExplored

Represents whether all entries in the main_analysis and service_account_impersonation_analysis have been fully explored to answer the query in the request.

Parameter
Name Description
var bool
Returns
Type Description
$this