Reference documentation and code samples for the Cloud Asset V1 API class Google::Cloud::Asset::V1::IamPolicyAnalysisResult::Identity.
An identity under analysis.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#analysis_state
def analysis_state() -> ::Google::Cloud::Asset::V1::IamPolicyAnalysisState
Returns
- (::Google::Cloud::Asset::V1::IamPolicyAnalysisState) — The analysis state of this identity.
#analysis_state=
def analysis_state=(value) -> ::Google::Cloud::Asset::V1::IamPolicyAnalysisState
Parameter
- value (::Google::Cloud::Asset::V1::IamPolicyAnalysisState) — The analysis state of this identity.
Returns
- (::Google::Cloud::Asset::V1::IamPolicyAnalysisState) — The analysis state of this identity.
#name
def name() -> ::String
Returns
-
(::String) —
The identity name in any form of members appear in IAM policy binding, such as:
- user:foo@google.com
- group:group1@google.com
- serviceAccount:s1@prj1.iam.gserviceaccount.com
- projectOwner:some_project_id
- domain:google.com
- allUsers
- etc.
#name=
def name=(value) -> ::String
Parameter
-
value (::String) —
The identity name in any form of members appear in IAM policy binding, such as:
- user:foo@google.com
- group:group1@google.com
- serviceAccount:s1@prj1.iam.gserviceaccount.com
- projectOwner:some_project_id
- domain:google.com
- allUsers
- etc.
Returns
-
(::String) —
The identity name in any form of members appear in IAM policy binding, such as:
- user:foo@google.com
- group:group1@google.com
- serviceAccount:s1@prj1.iam.gserviceaccount.com
- projectOwner:some_project_id
- domain:google.com
- allUsers
- etc.