pub struct LogView {
pub create_time: Option<DateTime<Utc>>,
pub description: Option<String>,
pub filter: Option<String>,
pub name: Option<String>,
pub update_time: Option<DateTime<Utc>>,
}
Expand description
Describes a view over log entries in a bucket.
§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).
- locations buckets views create billing accounts (request|response)
- locations buckets views get billing accounts (response)
- locations buckets views patch billing accounts (request|response)
- locations buckets views create folders (request|response)
- locations buckets views get folders (response)
- locations buckets views patch folders (request|response)
- buckets views create locations (request|response)
- buckets views get locations (response)
- buckets views patch locations (request|response)
- locations buckets views create organizations (request|response)
- locations buckets views get organizations (response)
- locations buckets views patch organizations (request|response)
- locations buckets views create projects (request|response)
- locations buckets views get projects (response)
- locations buckets views patch projects (request|response)
Fields§
§create_time: Option<DateTime<Utc>>
Output only. The creation timestamp of the view.
description: Option<String>
Optional. Describes this view.
filter: Option<String>
Optional. Filter that restricts which log entries in a bucket are visible in this view.Filters must be logical conjunctions that use the AND operator, and they can use any of the following qualifiers: SOURCE(), which specifies a project, folder, organization, or billing account of origin. resource.type, which specifies the resource type. LOG_ID(), which identifies the log.They can also use the negations of these qualifiers with the NOT operator.For example:SOURCE(“projects/myproject”) AND resource.type = “gce_instance” AND NOT LOG_ID(“stdout”)
name: Option<String>
Output only. The resource name of the view.For example:projects/my-project/locations/global/buckets/my-bucket/views/my-view
update_time: Option<DateTime<Utc>>
Output only. The last update timestamp of the view.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for LogView
impl<'de> Deserialize<'de> for LogView
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>,
impl RequestValue for LogView
impl ResponseResult for LogView
Auto Trait Implementations§
impl Freeze for LogView
impl RefUnwindSafe for LogView
impl Send for LogView
impl Sync for LogView
impl Unpin for LogView
impl UnwindSafe for LogView
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