Google Cloud Asset V1 Client - Class AnalyzeIamPolicyResponse (1.9.2)

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

Methods

__construct

Constructor.

Parameters
Name
Description
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.

Generated from protobuf field .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis main_analysis = 1;

hasMainAnalysis

clearMainAnalysis

setMainAnalysis

The main analysis that matches the original request.

Generated from protobuf field .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis main_analysis = 1;

Returns
Type
Description
$this

getServiceAccountImpersonationAnalysis

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

Generated from protobuf field repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2;

Returns
Type
Description
Google\Protobuf\Internal\RepeatedField

setServiceAccountImpersonationAnalysis

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

Generated from protobuf field repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2;

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.

Generated from protobuf field bool fully_explored = 3;

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.

Generated from protobuf field bool fully_explored = 3;

Parameter
Name
Description
var
bool
Returns
Type
Description
$this
Create a Mobile Website
View Site in Mobile | Classic
Share by: