Struct gapi_grpc::google::logging::v2::TailLogEntriesRequest[][src]

pub struct TailLogEntriesRequest {
    pub resource_names: Vec<String>,
    pub filter: String,
    pub buffer_window: Option<Duration>,
}

The parameters to TailLogEntries.

Fields

resource_names: Vec<String>

Required. Name of a parent resource from which to retrieve log entries:

"projects/[PROJECT_ID]"
"organizations/[ORGANIZATION_ID]"
"billingAccounts/[BILLING_ACCOUNT_ID]"
"folders/[FOLDER_ID]"

May alternatively be one or more views: “projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]” “organization/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]” “billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]” “folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]”

filter: 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 in resource_names will cause the filter to return no results. The maximum length of the filter is 20000 characters.

buffer_window: Option<Duration>

Optional. The amount of time to buffer log entries at the server before being returned to prevent out of order results due to late arriving log entries. Valid values are between 0-60000 milliseconds. Defaults to 2000 milliseconds.

Trait Implementations

impl Clone for TailLogEntriesRequest[src]

impl Debug for TailLogEntriesRequest[src]

impl Default for TailLogEntriesRequest[src]

impl Message for TailLogEntriesRequest[src]

impl PartialEq<TailLogEntriesRequest> for TailLogEntriesRequest[src]

impl StructuralPartialEq for TailLogEntriesRequest[src]

Auto Trait Implementations

impl RefUnwindSafe for TailLogEntriesRequest

impl Send for TailLogEntriesRequest

impl Sync for TailLogEntriesRequest

impl Unpin for TailLogEntriesRequest

impl UnwindSafe for TailLogEntriesRequest

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]