Reference documentation and code samples for the Stackdriver Logging V2 Client class LogView.
Describes a view over log entries in a bucket.
Generated from protobuf message google.logging.v2.LogView
Namespace
Google \ Cloud \ Logging \ V2Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ 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.
↳ create_time
↳ update_time
↳ 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")
getName
The resource name of the view.
For example: projects/my-project/locations/global/buckets/my-bucket/views/my-view
string
setName
The resource name of the view.
For example: projects/my-project/locations/global/buckets/my-bucket/views/my-view
var
string
$this
getDescription
Describes this view.
string
setDescription
Describes this view.
var
string
$this
getCreateTime
Output only. The creation timestamp of the view.
hasCreateTime
clearCreateTime
setCreateTime
Output only. The creation timestamp of the view.
$this
getUpdateTime
Output only. The last update timestamp of the view.
hasUpdateTime
clearUpdateTime
setUpdateTime
Output only. The last update timestamp of the view.
$this
getFilter
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")
string
setFilter
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")
var
string
$this