REST Resource: folders.locations.logScopes

Resource: LogScope

Describes a group of resources to read log entries from.

JSON representation
{
  "name": string,
  "resourceNames": [
    string
  ],
  "description": string,
  "createTime": string,
  "updateTime": string
}
Fields
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.

A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

updateTime

string (Timestamp format)

Output only. The last update timestamp of the log scope.

A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

Methods

create

Creates a log scope.

delete

Deletes a log scope.

get

Gets a log scope.

list

Lists log scopes.

patch

Updates a log scope.