Reference documentation and code samples for the Google Cloud Asset V1 Client class Identity.
An identity under analysis.
Generated from protobuf message google.cloud.asset.v1.IamPolicyAnalysisResult.Identity
Namespace
Google \ Cloud \ Asset \ V1 \ IamPolicyAnalysisResultMethods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
The identity of members, formatted as appear in an IAM policy binding . For example, they might be formatted like the following: - user:foo@google.com - group:group1@google.com - serviceAccount:s1@prj1.iam.gserviceaccount.com - projectOwner:some_project_id - domain:google.com - allUsers
↳ analysis_state
getName
The identity of members, formatted as appear in an IAM policy binding . For example, they might be formatted like the following:
- user:foo@google.com
- group:group1@google.com
- serviceAccount:s1@prj1.iam.gserviceaccount.com
- projectOwner:some_project_id
- domain:google.com
- allUsers
string
setName
The identity of members, formatted as appear in an IAM policy binding . For example, they might be formatted like the following:
- user:foo@google.com
- group:group1@google.com
- serviceAccount:s1@prj1.iam.gserviceaccount.com
- projectOwner:some_project_id
- domain:google.com
- allUsers
var
string
$this
getAnalysisState
The analysis state of this identity.
hasAnalysisState
clearAnalysisState
setAnalysisState
The analysis state of this identity.
$this