Reference documentation and code samples for the Policy Troubleshooter V3 API class Google::Cloud::PolicyTroubleshooter::Iam::V3::ConditionExplanation.
Explanation for how a condition affects a principal's access
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#errors
def errors() -> ::Array<::Google::Rpc::Status>
Returns
- (::Array<::Google::Rpc::Status>) — Any errors that prevented complete evaluation of the condition expression.
#errors=
def errors=(value) -> ::Array<::Google::Rpc::Status>
Parameter
- value (::Array<::Google::Rpc::Status>) — Any errors that prevented complete evaluation of the condition expression.
Returns
- (::Array<::Google::Rpc::Status>) — Any errors that prevented complete evaluation of the condition expression.
#evaluation_states
def evaluation_states() -> ::Array<::Google::Cloud::PolicyTroubleshooter::Iam::V3::ConditionExplanation::EvaluationState>
Returns
-
(::Array<::Google::Cloud::PolicyTroubleshooter::Iam::V3::ConditionExplanation::EvaluationState>) — The value of each statement of the condition expression. The value can be
true
,false
, ornull
. The value isnull
if the statement can't be evaluated.
#evaluation_states=
def evaluation_states=(value) -> ::Array<::Google::Cloud::PolicyTroubleshooter::Iam::V3::ConditionExplanation::EvaluationState>
Parameter
-
value (::Array<::Google::Cloud::PolicyTroubleshooter::Iam::V3::ConditionExplanation::EvaluationState>) — The value of each statement of the condition expression. The value can be
true
,false
, ornull
. The value isnull
if the statement can't be evaluated.
Returns
-
(::Array<::Google::Cloud::PolicyTroubleshooter::Iam::V3::ConditionExplanation::EvaluationState>) — The value of each statement of the condition expression. The value can be
true
,false
, ornull
. The value isnull
if the statement can't be evaluated.
#value
def value() -> ::Google::Protobuf::Value
Returns
- (::Google::Protobuf::Value) — Value of the condition.
#value=
def value=(value) -> ::Google::Protobuf::Value
Parameter
- value (::Google::Protobuf::Value) — Value of the condition.
Returns
- (::Google::Protobuf::Value) — Value of the condition.