Reference documentation and code samples for the Google Cloud Asset V1 Client class IamPolicyAnalysisState.
Represents the detailed state of an entity under analysis, such as a resource, an identity or an access.
Generated from protobuf message google.cloud.asset.v1.IamPolicyAnalysisState
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ code |
int
The Google standard error code that best describes the state. For example: - OK means the analysis on this entity has been successfully finished; - PERMISSION_DENIED means an access denied error is encountered; - DEADLINE_EXCEEDED means the analysis on this entity hasn't been started in time; |
↳ cause |
string
The human-readable description of the cause of failure. |
getCode
The Google standard error code that best describes the state.
For example:
- OK means the analysis on this entity has been successfully finished;
- PERMISSION_DENIED means an access denied error is encountered;
- DEADLINE_EXCEEDED means the analysis on this entity hasn't been started in time;
Generated from protobuf field .google.rpc.Code code = 1;
Returns | |
---|---|
Type | Description |
int |
setCode
The Google standard error code that best describes the state.
For example:
- OK means the analysis on this entity has been successfully finished;
- PERMISSION_DENIED means an access denied error is encountered;
- DEADLINE_EXCEEDED means the analysis on this entity hasn't been started in time;
Generated from protobuf field .google.rpc.Code code = 1;
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |
getCause
The human-readable description of the cause of failure.
Generated from protobuf field string cause = 2;
Returns | |
---|---|
Type | Description |
string |
setCause
The human-readable description of the cause of failure.
Generated from protobuf field string cause = 2;
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |