Skip to main content

views

Overview

Nameviews
TypeResource
Idgoogle.logging.views

Fields

NameDatatypeDescription
namestringThe resource name of the view.For example:projects/my-project/locations/global/buckets/my-bucket/views/my-view
descriptionstringDescribes this view.
updateTimestringOutput only. The last update timestamp of the view.
createTimestringOutput only. The creation timestamp of the view.
filterstringFilter 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")

Methods

NameAccessible byRequired ParamsDescription
billing_accounts_locations_buckets_views_getSELECTbillingAccountsId, bucketsId, locationsId, viewsIdGets a view on a log bucket.
billing_accounts_locations_buckets_views_listSELECTbillingAccountsId, bucketsId, locationsIdLists views on a log bucket.
folders_locations_buckets_views_getSELECTbucketsId, foldersId, locationsId, viewsIdGets a view on a log bucket.
folders_locations_buckets_views_listSELECTbucketsId, foldersId, locationsIdLists views on a log bucket.
locations_buckets_views_listSELECTparent, parentTypeLists views on a log bucket.
organizations_locations_buckets_views_getSELECTbucketsId, locationsId, organizationsId, viewsIdGets a view on a log bucket.
organizations_locations_buckets_views_listSELECTbucketsId, locationsId, organizationsIdLists views on a log bucket.
projects_locations_buckets_views_getSELECTbucketsId, locationsId, projectsId, viewsIdGets a view on a log bucket.
projects_locations_buckets_views_listSELECTbucketsId, locationsId, projectsIdLists views on a log bucket.
billing_accounts_locations_buckets_views_createINSERTbillingAccountsId, bucketsId, locationsIdCreates a view over log entries in a log bucket. A bucket may contain a maximum of 30 views.
folders_locations_buckets_views_createINSERTbucketsId, foldersId, locationsIdCreates a view over log entries in a log bucket. A bucket may contain a maximum of 30 views.
locations_buckets_views_createINSERTparent, parentTypeCreates a view over log entries in a log bucket. A bucket may contain a maximum of 30 views.
organizations_locations_buckets_views_createINSERTbucketsId, locationsId, organizationsIdCreates a view over log entries in a log bucket. A bucket may contain a maximum of 30 views.
projects_locations_buckets_views_createINSERTbucketsId, locationsId, projectsIdCreates a view over log entries in a log bucket. A bucket may contain a maximum of 30 views.
billing_accounts_locations_buckets_views_deleteDELETEbillingAccountsId, bucketsId, locationsId, viewsIdDeletes a view on a log bucket. If an UNAVAILABLE error is returned, this indicates that system is not in a state where it can delete the view. If this occurs, please try again in a few minutes.
folders_locations_buckets_views_deleteDELETEbucketsId, foldersId, locationsId, viewsIdDeletes a view on a log bucket. If an UNAVAILABLE error is returned, this indicates that system is not in a state where it can delete the view. If this occurs, please try again in a few minutes.
organizations_locations_buckets_views_deleteDELETEbucketsId, locationsId, organizationsId, viewsIdDeletes a view on a log bucket. If an UNAVAILABLE error is returned, this indicates that system is not in a state where it can delete the view. If this occurs, please try again in a few minutes.
projects_locations_buckets_views_deleteDELETEbucketsId, locationsId, projectsId, viewsIdDeletes a view on a log bucket. If an UNAVAILABLE error is returned, this indicates that system is not in a state where it can delete the view. If this occurs, please try again in a few minutes.
_billing_accounts_locations_buckets_views_listEXECbillingAccountsId, bucketsId, locationsIdLists views on a log bucket.
_folders_locations_buckets_views_listEXECbucketsId, foldersId, locationsIdLists views on a log bucket.
_locations_buckets_views_listEXECparent, parentTypeLists views on a log bucket.
_organizations_locations_buckets_views_listEXECbucketsId, locationsId, organizationsIdLists views on a log bucket.
_projects_locations_buckets_views_listEXECbucketsId, locationsId, projectsIdLists views on a log bucket.
billing_accounts_locations_buckets_views_patchEXECbillingAccountsId, bucketsId, locationsId, viewsIdUpdates a view on a log bucket. This method replaces the following fields in the existing view with values from the new view: filter. If an UNAVAILABLE error is returned, this indicates that system is not in a state where it can update the view. If this occurs, please try again in a few minutes.
folders_locations_buckets_views_patchEXECbucketsId, foldersId, locationsId, viewsIdUpdates a view on a log bucket. This method replaces the following fields in the existing view with values from the new view: filter. If an UNAVAILABLE error is returned, this indicates that system is not in a state where it can update the view. If this occurs, please try again in a few minutes.
organizations_locations_buckets_views_patchEXECbucketsId, locationsId, organizationsId, viewsIdUpdates a view on a log bucket. This method replaces the following fields in the existing view with values from the new view: filter. If an UNAVAILABLE error is returned, this indicates that system is not in a state where it can update the view. If this occurs, please try again in a few minutes.
projects_locations_buckets_views_patchEXECbucketsId, locationsId, projectsId, viewsIdUpdates a view on a log bucket. This method replaces the following fields in the existing view with values from the new view: filter. If an UNAVAILABLE error is returned, this indicates that system is not in a state where it can update the view. If this occurs, please try again in a few minutes.