REST Resource: folders.locations.buckets.views

Resource: LogView

Describes a view over log entries in a bucket.

JSON representation
{
  "name": string,
  "description": string,
  "createTime": string,
  "updateTime": string,
  "filter": string
}
Fields
name

string

The resource name of the view.

For example:

projects/my-project/locations/global/buckets/my-bucket/views/my-view

description

string

Describes this view.

createTime

string (Timestamp format)

Output only. The creation timestamp of the view.

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 view.

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".

filter

string

Filter that restricts which log entries in a bucket are visible in this view.

Filters are restricted to be a logical AND of ==/!= of any of the following:

  • originating project/folder/organization/billing account.
  • resource type
  • log id

For example:

SOURCE("projects/myproject") AND resource.type = "gce_instance" AND LOG_ID("stdout")

Methods

create

Creates a view over log entries in a log bucket.

delete

Deletes a view on a log bucket.

get

Gets a view on a log bucket..

list

Lists views on a log bucket.

patch

Updates a view on a log bucket.