public interface ReplayResultOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
AccessTuple |
getAccessTuple()
The access tuple that was replayed.
|
AccessTupleOrBuilder |
getAccessTupleOrBuilder()
The access tuple that was replayed.
|
ReplayDiff |
getDiff()
The difference between the principal's access under the current
(baseline) policies and the principal's access under the proposed
(simulated) policies.
|
ReplayDiffOrBuilder |
getDiffOrBuilder()
The difference between the principal's access under the current
(baseline) policies and the principal's access under the proposed
(simulated) policies.
|
com.google.rpc.Status |
getError()
The error that caused the access tuple replay to fail.
|
com.google.rpc.StatusOrBuilder |
getErrorOrBuilder()
The error that caused the access tuple replay to fail.
|
com.google.type.Date |
getLastSeenDate()
The latest date this access tuple was seen in the logs.
|
com.google.type.DateOrBuilder |
getLastSeenDateOrBuilder()
The latest date this access tuple was seen in the logs.
|
String |
getName()
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][google.cloud.policysimulator.v1.Replay].
|
com.google.protobuf.ByteString |
getNameBytes()
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][google.cloud.policysimulator.v1.Replay].
|
String |
getParent()
The [Replay][google.cloud.policysimulator.v1.Replay] that the access tuple
was included in.
|
com.google.protobuf.ByteString |
getParentBytes()
The [Replay][google.cloud.policysimulator.v1.Replay] that the access tuple
was included in.
|
ReplayResult.ResultCase |
getResultCase() |
boolean |
hasAccessTuple()
The access tuple that was replayed.
|
boolean |
hasDiff()
The difference between the principal's access under the current
(baseline) policies and the principal's access under the proposed
(simulated) policies.
|
boolean |
hasError()
The error that caused the access tuple replay to fail.
|
boolean |
hasLastSeenDate()
The latest date this access tuple was seen in the logs.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofboolean hasDiff()
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.
.google.cloud.policysimulator.v1.ReplayDiff diff = 5;ReplayDiff getDiff()
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.
.google.cloud.policysimulator.v1.ReplayDiff diff = 5;ReplayDiffOrBuilder getDiffOrBuilder()
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.
.google.cloud.policysimulator.v1.ReplayDiff diff = 5;boolean hasError()
The error that caused the access tuple replay to fail. This field is only included for access tuples that were not replayed successfully.
.google.rpc.Status error = 6;com.google.rpc.Status getError()
The error that caused the access tuple replay to fail. This field is only included for access tuples that were not replayed successfully.
.google.rpc.Status error = 6;com.google.rpc.StatusOrBuilder getErrorOrBuilder()
The error that caused the access tuple replay to fail. This field is only included for access tuples that were not replayed successfully.
.google.rpc.Status error = 6;String getName()
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][google.cloud.policysimulator.v1.Replay].
Example:
`projects/my-example-project/locations/global/replays/506a5f7f-38ce-4d7d-8e03-479ce1833c36/results/1234`
string name = 1;com.google.protobuf.ByteString getNameBytes()
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][google.cloud.policysimulator.v1.Replay].
Example:
`projects/my-example-project/locations/global/replays/506a5f7f-38ce-4d7d-8e03-479ce1833c36/results/1234`
string name = 1;String getParent()
The [Replay][google.cloud.policysimulator.v1.Replay] that the access tuple was included in.
string parent = 2 [(.google.api.resource_reference) = { ... }com.google.protobuf.ByteString getParentBytes()
The [Replay][google.cloud.policysimulator.v1.Replay] that the access tuple was included in.
string parent = 2 [(.google.api.resource_reference) = { ... }boolean hasAccessTuple()
The access tuple that was replayed. This field includes information about the principal, resource, and permission that were involved in the access attempt.
.google.cloud.policysimulator.v1.AccessTuple access_tuple = 3;AccessTuple getAccessTuple()
The access tuple that was replayed. This field includes information about the principal, resource, and permission that were involved in the access attempt.
.google.cloud.policysimulator.v1.AccessTuple access_tuple = 3;AccessTupleOrBuilder getAccessTupleOrBuilder()
The access tuple that was replayed. This field includes information about the principal, resource, and permission that were involved in the access attempt.
.google.cloud.policysimulator.v1.AccessTuple access_tuple = 3;boolean hasLastSeenDate()
The latest date this access tuple was seen in the logs.
.google.type.Date last_seen_date = 4;com.google.type.Date getLastSeenDate()
The latest date this access tuple was seen in the logs.
.google.type.Date last_seen_date = 4;com.google.type.DateOrBuilder getLastSeenDateOrBuilder()
The latest date this access tuple was seen in the logs.
.google.type.Date last_seen_date = 4;ReplayResult.ResultCase getResultCase()
Copyright © 2023 Google LLC. All rights reserved.