pub struct GoogleCloudPolicysimulatorV1ReplayResult {
pub access_tuple: Option<GoogleCloudPolicysimulatorV1AccessTuple>,
pub diff: Option<GoogleCloudPolicysimulatorV1ReplayDiff>,
pub error: Option<GoogleRpcStatus>,
pub last_seen_date: Option<GoogleTypeDate>,
pub name: Option<String>,
pub parent: Option<String>,
}
Expand description
The result of replaying a single access tuple against a simulated state.
This type is not used in any activity, and only used as part of another schema.
Fields
access_tuple: Option<GoogleCloudPolicysimulatorV1AccessTuple>
The access tuple that was replayed. This field includes information about the principal, resource, and permission that were involved in the access attempt.
diff: Option<GoogleCloudPolicysimulatorV1ReplayDiff>
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.
error: Option<GoogleRpcStatus>
The error that caused the access tuple replay to fail. This field is only included for access tuples that were not replayed successfully.
last_seen_date: Option<GoogleTypeDate>
The latest date this access tuple was seen in the logs.
name: Option<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. Example: projects/my-example-project/locations/global/replays/506a5f7f-38ce-4d7d-8e03-479ce1833c36/results/1234
parent: Option<String>
The Replay that the access tuple was included in.
Trait Implementations
sourceimpl Clone for GoogleCloudPolicysimulatorV1ReplayResult
impl Clone for GoogleCloudPolicysimulatorV1ReplayResult
sourcefn clone(&self) -> GoogleCloudPolicysimulatorV1ReplayResult
fn clone(&self) -> GoogleCloudPolicysimulatorV1ReplayResult
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Default for GoogleCloudPolicysimulatorV1ReplayResult
impl Default for GoogleCloudPolicysimulatorV1ReplayResult
sourcefn default() -> GoogleCloudPolicysimulatorV1ReplayResult
fn default() -> GoogleCloudPolicysimulatorV1ReplayResult
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for GoogleCloudPolicysimulatorV1ReplayResult
impl<'de> Deserialize<'de> for GoogleCloudPolicysimulatorV1ReplayResult
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Part for GoogleCloudPolicysimulatorV1ReplayResult
Auto Trait Implementations
impl RefUnwindSafe for GoogleCloudPolicysimulatorV1ReplayResult
impl Send for GoogleCloudPolicysimulatorV1ReplayResult
impl Sync for GoogleCloudPolicysimulatorV1ReplayResult
impl Unpin for GoogleCloudPolicysimulatorV1ReplayResult
impl UnwindSafe for GoogleCloudPolicysimulatorV1ReplayResult
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more