pub struct LogScope {
pub create_time: Option<DateTime<Utc>>,
pub description: Option<String>,
pub name: Option<String>,
pub resource_names: Option<Vec<String>>,
pub update_time: Option<DateTime<Utc>>,
}Expand description
Describes a group of resources to read log entries from.
§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 log scopes create folders (request|response)
- locations log scopes get folders (response)
- locations log scopes patch folders (request|response)
- locations log scopes create organizations (request|response)
- locations log scopes get organizations (response)
- locations log scopes patch organizations (request|response)
- locations log scopes create projects (request|response)
- locations log scopes get projects (response)
- locations log scopes patch projects (request|response)
Fields§
§create_time: Option<DateTime<Utc>>Output only. The creation timestamp of the log scope.
description: Option<String>Optional. Describes this log scope.The maximum length of the description is 8000 characters.
name: Option<String>Output only. The resource name of the log scope.Log scopes are only available in the global location. For example:projects/my-project/locations/global/logScopes/my-log-scope
resource_names: Option<Vec<String>>Required. Names of one or more parent resources (organizations and folders are not supported.): projects/[PROJECT_ID]May alternatively be one or more views: projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]A log scope can include a maximum of 5 projects and a maximum of 100 resources in total.
update_time: Option<DateTime<Utc>>Output only. The last update timestamp of the log scope.