Interface ReplayResultOrBuilder

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

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

    Modifier and Type
    Method
    Description
    The access tuple that was replayed.
    The access tuple that was replayed.
    The difference between the principal's access under the current (baseline) policies and the principal's access under the proposed (simulated) policies.
    The difference between the principal's access under the current (baseline) policies and the principal's access under the proposed (simulated) policies.
    The error that caused the access tuple replay to fail.
    The error that caused the access tuple replay to fail.
    The latest date this access tuple was seen in the logs.
    The latest date this access tuple was seen in the logs.
    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
    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].
    The [Replay][google.cloud.policysimulator.v1.Replay] that the access tuple was included in.
    com.google.protobuf.ByteString
    The [Replay][google.cloud.policysimulator.v1.Replay] that the access tuple was included in.
     
    boolean
    The access tuple that was replayed.
    boolean
    The difference between the principal's access under the current (baseline) policies and the principal's access under the proposed (simulated) policies.
    boolean
    The error that caused the access tuple replay to fail.
    boolean
    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 Details

    • 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

      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

      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

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

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

      ReplayResult.ResultCase getResultCase()