Class: Google::Cloud::PolicySimulator::V1::ReplayResult
- Inherits:
-
Object
- Object
- Google::Cloud::PolicySimulator::V1::ReplayResult
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/policysimulator/v1/simulator.rb
Overview
The result of replaying a single access tuple against a simulated state.
Instance Attribute Summary collapse
-
#access_tuple ⇒ ::Google::Cloud::PolicySimulator::V1::AccessTuple
The access tuple that was replayed.
-
#diff ⇒ ::Google::Cloud::PolicySimulator::V1::ReplayDiff
The difference between the principal's access under the current (baseline) policies and the principal's access under the proposed (simulated) policies.
-
#error ⇒ ::Google::Rpc::Status
The error that caused the access tuple replay to fail.
-
#last_seen_date ⇒ ::Google::Type::Date
The latest date this access tuple was seen in the logs.
-
#name ⇒ ::String
The resource name of the
ReplayResult
, in the following format:. -
#parent ⇒ ::String
The Replay that the access tuple was included in.
Instance Attribute Details
#access_tuple ⇒ ::Google::Cloud::PolicySimulator::V1::AccessTuple
Returns The access tuple that was replayed. This field includes information about the principal, resource, and permission that were involved in the access attempt.
132 133 134 135 |
# File 'proto_docs/google/cloud/policysimulator/v1/simulator.rb', line 132 class ReplayResult include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#diff ⇒ ::Google::Cloud::PolicySimulator::V1::ReplayDiff
Returns The difference between the principal's access under the current (baseline) policies and the principal's access under the proposed (simulated) policies.
This field is only included for access tuples that were successfully replayed and had different results under the current policies and the proposed policies.
132 133 134 135 |
# File 'proto_docs/google/cloud/policysimulator/v1/simulator.rb', line 132 class ReplayResult include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#error ⇒ ::Google::Rpc::Status
Returns The error that caused the access tuple replay to fail.
This field is only included for access tuples that were not replayed successfully.
132 133 134 135 |
# File 'proto_docs/google/cloud/policysimulator/v1/simulator.rb', line 132 class ReplayResult include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#last_seen_date ⇒ ::Google::Type::Date
Returns The latest date this access tuple was seen in the logs.
132 133 134 135 |
# File 'proto_docs/google/cloud/policysimulator/v1/simulator.rb', line 132 class ReplayResult include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#name ⇒ ::String
Returns The resource name of the ReplayResult
, in the following format:
{projects|folders|organizations}/{resource-id}/locations/global/replays/{replay-id}/results/{replay-result-id}
,
where {resource-id}
is the ID of the project, folder, or organization
that owns the Replay.
Example:
projects/my-example-project/locations/global/replays/506a5f7f-38ce-4d7d-8e03-479ce1833c36/results/1234
.
132 133 134 135 |
# File 'proto_docs/google/cloud/policysimulator/v1/simulator.rb', line 132 class ReplayResult include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |