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.
Returns | |
---|---|
Type | Description |
Google\Cloud\Asset\V1\AnalyzeIamPolicyResponse\IamPolicyAnalysis|null |
hasMainAnalysis
clearMainAnalysis
setMainAnalysis
The main analysis that matches the original request.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\Asset\V1\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<Google\Cloud\Asset\V1\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 |