Cloud Logging API . billingAccounts . buckets . views

Instance Methods

close()

Close httplib2 connections.

get(name, x__xgafv=None)

Gets a view on a log bucket..

Method Details

close()
Close httplib2 connections.
get(name, x__xgafv=None)
Gets a view on a log bucket..

Args:
  name: string, Required. The resource name of the policy: "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]" For example:"projects/my-project/locations/global/buckets/my-bucket/views/my-view" (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 log entries in a bucket.
  "createTime": "A String", # Output only. The creation 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 idFor example:SOURCE("projects/myproject") AND resource.type = "gce_instance" AND LOG_ID("stdout")
  "name": "A String", # The resource name of the view.For example:projects/my-project/locations/global/buckets/my-bucket/views/my-view
  "updateTime": "A String", # Output only. The last update timestamp of the view.
}