Struct google_api_proto::google::cloud::identitytoolkit::logging::RequestLog
source · pub struct RequestLog {
pub method_name: String,
pub status: Option<Status>,
pub request_metadata: Option<RequestMetadata>,
pub request: Option<Struct>,
pub response: Option<Struct>,
pub num_response_items: i64,
pub metadata: Option<Struct>,
}
Expand description
Log of a request to Identitytoolkit. This proto is modeled after google.cloud.audit.AuditLog so that consumers can easily query for requests regardless of whether those requests were logged via Cloud Audit Logging or Identitytoolkit request logging.
Fields§
§method_name: String
The name of the service method or operation. For API calls, this should be the name of the API method. For example,
"google.datastore.v1.Datastore.RunQuery"
"google.logging.v1.LoggingService.DeleteLog"
status: Option<Status>
The status of the overall operation.
request_metadata: Option<RequestMetadata>
Metadata about the operation.
request: Option<Struct>
The operation request. This may not include all request parameters,
such as those that are too large, privacy-sensitive, or duplicated
elsewhere in the log record.
It should never include user-generated data, such as file contents.
When the JSON object represented here has a proto equivalent, the proto
name will be indicated in the @type
property.
response: Option<Struct>
The operation response. This may not include all response elements,
such as those that are too large, privacy-sensitive, or duplicated
elsewhere in the log record.
It should never include user-generated data, such as file contents.
When the JSON object represented here has a proto equivalent, the proto
name will be indicated in the @type
property.
num_response_items: i64
The number of items returned from a List or Query API method, if applicable.
metadata: Option<Struct>
Other service-specific data about the request, response, and other information associated with the current event.
Trait Implementations§
source§impl Clone for RequestLog
impl Clone for RequestLog
source§fn clone(&self) -> RequestLog
fn clone(&self) -> RequestLog
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for RequestLog
impl Debug for RequestLog
source§impl Default for RequestLog
impl Default for RequestLog
source§impl Message for RequestLog
impl Message for RequestLog
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 RequestLog
impl PartialEq for RequestLog
source§fn eq(&self, other: &RequestLog) -> bool
fn eq(&self, other: &RequestLog) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for RequestLog
Auto Trait Implementations§
impl Freeze for RequestLog
impl RefUnwindSafe for RequestLog
impl Send for RequestLog
impl Sync for RequestLog
impl Unpin for RequestLog
impl UnwindSafe for RequestLog
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