Struct google_logging2::api::LogView
source · 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.