Interface ReplayResultOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    ReplayResult, ReplayResult.Builder

    public interface ReplayResultOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method 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.
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • hasDiff

        boolean 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;
        Returns:
        Whether the diff field is set.
      • getDiff

        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;
        Returns:
        The diff.
      • getDiffOrBuilder

        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;
      • hasError

        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;
        Returns:
        Whether the error field is set.
      • getError

        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;
        Returns:
        The error.
      • getErrorOrBuilder

        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;
      • getName

        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;
        Returns:
        The name.
      • getNameBytes

        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;
        Returns:
        The bytes for name.
      • getParent

        String getParent()
         The [Replay][google.cloud.policysimulator.v1.Replay] that the access tuple
         was included in.
         
        string parent = 2 [(.google.api.resource_reference) = { ... }
        Returns:
        The parent.
      • getParentBytes

        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) = { ... }
        Returns:
        The bytes for parent.
      • hasAccessTuple

        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;
        Returns:
        Whether the accessTuple field is set.
      • getAccessTuple

        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;
        Returns:
        The accessTuple.
      • getAccessTupleOrBuilder

        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;
      • hasLastSeenDate

        boolean hasLastSeenDate()
         The latest date this access tuple was seen in the logs.
         
        .google.type.Date last_seen_date = 4;
        Returns:
        Whether the lastSeenDate field is set.
      • getLastSeenDate

        com.google.type.Date getLastSeenDate()
         The latest date this access tuple was seen in the logs.
         
        .google.type.Date last_seen_date = 4;
        Returns:
        The lastSeenDate.
      • getLastSeenDateOrBuilder

        com.google.type.DateOrBuilder getLastSeenDateOrBuilder()
         The latest date this access tuple was seen in the logs.
         
        .google.type.Date last_seen_date = 4;