Resource: LogScope
Describes a group of resources to read log entries from.
JSON representation |
---|
{ "name" : string , "resourceNames" : [ string ] , "description" : string , "createTime" : string , "updateTime" : string } |
name
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
resourceNames[]
string
Required. Names of one or more parent resources:
-
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.
description
string
Optional. Describes this log scope.
The maximum length of the description is 8000 characters.
createTime
string (
Timestamp
format)
Output only. The creation timestamp of the log scope.
Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: "2014-10-02T15:01:23Z"
, "2014-10-02T15:01:23.045123456Z"
or "2014-10-02T15:01:23+05:30"
.
updateTime
string (
Timestamp
format)
Output only. The last update timestamp of the log scope.
Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: "2014-10-02T15:01:23Z"
, "2014-10-02T15:01:23.045123456Z"
or "2014-10-02T15:01:23+05:30"
.
Methods |
|
---|---|
|
Creates a log scope. |
|
Deletes a log scope. |
|
Gets a log scope. |
|
Lists log scopes. |
|
Updates a log scope. |