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
Namespace
Google \ Cloud \ Asset \ V1Methods
__construct
Constructor.
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;
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;
var
int
$this
getCause
The human-readable description of the cause of failure.
string
setCause
The human-readable description of the cause of failure.
var
string
$this