Close httplib2 connections.
Gets a view.
close()
Close httplib2 connections.
get(name, x__xgafv=None)
Gets a view.
Args:
name: string, Required. The resource name of the policy: "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]" Example: "projects/my-project-id/locations/my-location/buckets/my-bucket-id/views/my-view-id". (required)
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format
Returns:
An object of the form:
{ # Describes a view over logs in a bucket.
"name": "A String", # The resource name of the view. For example "projects/my-project-id/locations/my-location/buckets/my-bucket-id/views/my-view
"updateTime": "A String", # Output only. The last update timestamp of the view.
"description": "A String", # Describes this view.
"filter": "A 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 Example: SOURCE("projects/myproject") AND resource.type = "gce_instance" AND LOG_ID("stdout")
"createTime": "A String", # Output only. The creation timestamp of the view.
}