Struct google_api_proto::google::cloud::policysimulator::v1::ReplayResult
source · pub struct ReplayResult {
pub name: String,
pub parent: String,
pub access_tuple: Option<AccessTuple>,
pub last_seen_date: Option<Date>,
pub result: Option<Result>,
}
Expand description
The result of replaying a single access tuple against a simulated state.
Fields§
§name: String
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
parent: String
The [Replay][google.cloud.policysimulator.v1.Replay] that the access tuple was included in.
access_tuple: Option<AccessTuple>
The access tuple that was replayed. This field includes information about the principal, resource, and permission that were involved in the access attempt.
last_seen_date: Option<Date>
The latest date this access tuple was seen in the logs.
result: Option<Result>
The result of replaying the access tuple.
Trait Implementations§
source§impl Clone for ReplayResult
impl Clone for ReplayResult
source§fn clone(&self) -> ReplayResult
fn clone(&self) -> ReplayResult
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ReplayResult
impl Debug for ReplayResult
source§impl Default for ReplayResult
impl Default for ReplayResult
source§impl Message for ReplayResult
impl Message for ReplayResult
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for ReplayResult
impl PartialEq for ReplayResult
source§fn eq(&self, other: &ReplayResult) -> bool
fn eq(&self, other: &ReplayResult) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ReplayResult
Auto Trait Implementations§
impl Freeze for ReplayResult
impl RefUnwindSafe for ReplayResult
impl Send for ReplayResult
impl Sync for ReplayResult
impl Unpin for ReplayResult
impl UnwindSafe for ReplayResult
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request