pub struct ListLogEntriesRequest {
pub filter: Option<String>,
pub order_by: Option<String>,
pub page_size: Option<i32>,
pub page_token: Option<String>,
pub project_ids: Option<Vec<String>>,
pub resource_names: Option<Vec<String>>,
}
Expand description
The parameters to ListLogEntries.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- list entries (request)
Fields§
§filter: Option<String>
Optional. A filter that chooses which log entries to return. See Advanced Logs Filters. Only log entries that match the filter are returned. An empty filter matches all log entries in the resources listed in resource_names. Referencing a parent resource that is not listed in resource_names will cause the filter to return no results. The maximum length of the filter is 20000 characters.
order_by: Option<String>
Optional. How the results should be sorted. Presently, the only permitted values are “timestamp asc” (default) and “timestamp desc”. The first option returns entries in order of increasing values of LogEntry.timestamp (oldest first), and the second option returns entries in order of decreasing timestamps (newest first). Entries with equal timestamps are returned in order of their insert_id values.
page_size: Option<i32>
Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of next_page_token in the response indicates that more results might be available.
page_token: Option<String>
Optional. If present, then retrieve the next batch of results from the preceding call to this method. page_token must be the value of next_page_token from the previous response. The values of other method parameters should be identical to those in the previous call.
project_ids: Option<Vec<String>>
Deprecated. Use resource_names instead. One or more project identifiers or project numbers from which to retrieve log entries. Example: “my-project-1A”.
resource_names: Option<Vec<String>>
Required. Names of one or more parent resources from which to retrieve log entries: “projects/[PROJECT_ID]” “organizations/[ORGANIZATION_ID]” “billingAccounts/[BILLING_ACCOUNT_ID]” “folders/[FOLDER_ID]” Projects listed in the project_ids field are added to this list.
Trait Implementations§
Source§impl Clone for ListLogEntriesRequest
impl Clone for ListLogEntriesRequest
Source§fn clone(&self) -> ListLogEntriesRequest
fn clone(&self) -> ListLogEntriesRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for ListLogEntriesRequest
impl Debug for ListLogEntriesRequest
Source§impl Default for ListLogEntriesRequest
impl Default for ListLogEntriesRequest
Source§fn default() -> ListLogEntriesRequest
fn default() -> ListLogEntriesRequest
Source§impl<'de> Deserialize<'de> for ListLogEntriesRequest
impl<'de> Deserialize<'de> for ListLogEntriesRequest
Source§fn 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>,
Source§impl Serialize for ListLogEntriesRequest
impl Serialize for ListLogEntriesRequest
impl RequestValue for ListLogEntriesRequest
Auto Trait Implementations§
impl Freeze for ListLogEntriesRequest
impl RefUnwindSafe for ListLogEntriesRequest
impl Send for ListLogEntriesRequest
impl Sync for ListLogEntriesRequest
impl Unpin for ListLogEntriesRequest
impl UnwindSafe for ListLogEntriesRequest
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more