Google Cloud Asset V1 Client - Class AnalyzeIamPolicyResponse (1.14.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
NameDescription
data array

Optional. Data for populating the Message object.

↳ main_analysis Google\Cloud\Asset\V1\AnalyzeIamPolicyResponse\IamPolicyAnalysis

The main analysis that matches the original request.

↳ service_account_impersonation_analysis array<Google\Cloud\Asset\V1\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
TypeDescription
Google\Cloud\Asset\V1\AnalyzeIamPolicyResponse\IamPolicyAnalysis|null

hasMainAnalysis

clearMainAnalysis

setMainAnalysis

The main analysis that matches the original request.

Parameter
NameDescription
var Google\Cloud\Asset\V1\AnalyzeIamPolicyResponse\IamPolicyAnalysis
Returns
TypeDescription
$this

getServiceAccountImpersonationAnalysis

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

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setServiceAccountImpersonationAnalysis

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

Parameter
NameDescription
var array<Google\Cloud\Asset\V1\AnalyzeIamPolicyResponse\IamPolicyAnalysis>
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var bool
Returns
TypeDescription
$this