v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-134794214.4 KB
locations

Creates a view over log entries in a log bucket. A bucket may contain a maximum of 30 views.

post/v2/{+parent}/views

Path parameters

parentstring required

Required. The bucket in which to create the view "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" For example:"projects/my-project/locations/global/buckets/my-bucket"

Query parameters

viewIdstring

Required. A client-assigned identifier such as "my-view". Identifiers are limited to 100 characters and can include only letters, digits, underscores, and hyphens.

Request body

updateTimestring google-datetime

Output only. The last update timestamp of the view.

createTimestring google-datetime

Output only. The creation timestamp of the view.

filterstring

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

namestring

Output only. The resource name of the view.For example:projects/my-project/locations/global/buckets/my-bucket/views/my-view

descriptionstring

Optional. Describes this view.

Response

Successful response