Policy Simulator V1 API - Class Google::Cloud::PolicySimulator::V1::ExplainedAccess (v1.0.0)

Reference documentation and code samples for the Policy Simulator V1 API class Google::Cloud::PolicySimulator::V1::ExplainedAccess.

Details about how a set of policies, listed in ExplainedPolicy, resulted in a certain AccessState when replaying an access tuple.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#access_state

def access_state() -> ::Google::Cloud::PolicySimulator::V1::AccessState
Returns

#access_state=

def access_state=(value) -> ::Google::Cloud::PolicySimulator::V1::AccessState
Parameter
Returns

#errors

def errors() -> ::Array<::Google::Rpc::Status>
Returns
  • (::Array<::Google::Rpc::Status>) — If the AccessState is UNKNOWN, this field contains a list of errors explaining why the result is UNKNOWN.

    If the AccessState is GRANTED or NOT_GRANTED, this field is omitted.

#errors=

def errors=(value) -> ::Array<::Google::Rpc::Status>
Parameter
  • value (::Array<::Google::Rpc::Status>) — If the AccessState is UNKNOWN, this field contains a list of errors explaining why the result is UNKNOWN.

    If the AccessState is GRANTED or NOT_GRANTED, this field is omitted.

Returns
  • (::Array<::Google::Rpc::Status>) — If the AccessState is UNKNOWN, this field contains a list of errors explaining why the result is UNKNOWN.

    If the AccessState is GRANTED or NOT_GRANTED, this field is omitted.

#policies

def policies() -> ::Array<::Google::Cloud::PolicySimulator::V1::ExplainedPolicy>
Returns

#policies=

def policies=(value) -> ::Array<::Google::Cloud::PolicySimulator::V1::ExplainedPolicy>
Parameter
Returns