Show / Hide Table of Contents

Class BillingAccountsResource.LocationsResource.BucketsResource.ViewsResource

The "views" collection of methods.

Inheritance
object
BillingAccountsResource.LocationsResource.BucketsResource.ViewsResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Logging.v2
Assembly: Google.Apis.Logging.v2.dll
Syntax
public class BillingAccountsResource.LocationsResource.BucketsResource.ViewsResource

Constructors

ViewsResource(IClientService)

Constructs a new resource.

Declaration
public ViewsResource(IClientService service)
Parameters
Type Name Description
IClientService service

Properties

Logs

Gets the Logs resource.

Declaration
public virtual BillingAccountsResource.LocationsResource.BucketsResource.ViewsResource.LogsResource Logs { get; }
Property Value
Type Description
BillingAccountsResource.LocationsResource.BucketsResource.ViewsResource.LogsResource

Methods

Create(LogView, string)

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

Declaration
public virtual BillingAccountsResource.LocationsResource.BucketsResource.ViewsResource.CreateRequest Create(LogView body, string parent)
Parameters
Type Name Description
LogView body

The body of the request.

string parent

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"

Returns
Type Description
BillingAccountsResource.LocationsResource.BucketsResource.ViewsResource.CreateRequest

Delete(string)

Deletes 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.

Declaration
public virtual BillingAccountsResource.LocationsResource.BucketsResource.ViewsResource.DeleteRequest Delete(string name)
Parameters
Type Name Description
string name

Required. The full resource name of the view to delete: "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"

Returns
Type Description
BillingAccountsResource.LocationsResource.BucketsResource.ViewsResource.DeleteRequest

Get(string)

Gets a view on a log bucket.

Declaration
public virtual BillingAccountsResource.LocationsResource.BucketsResource.ViewsResource.GetRequest Get(string name)
Parameters
Type Name Description
string name

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"

Returns
Type Description
BillingAccountsResource.LocationsResource.BucketsResource.ViewsResource.GetRequest

List(string)

Lists views on a log bucket.

Declaration
public virtual BillingAccountsResource.LocationsResource.BucketsResource.ViewsResource.ListRequest List(string parent)
Parameters
Type Name Description
string parent

Required. The bucket whose views are to be listed: "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"

Returns
Type Description
BillingAccountsResource.LocationsResource.BucketsResource.ViewsResource.ListRequest

Patch(LogView, string)

Updates a view on a log bucket. This method replaces the value of the filter field from the existing view with the corresponding value from the new view. 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.

Declaration
public virtual BillingAccountsResource.LocationsResource.BucketsResource.ViewsResource.PatchRequest Patch(LogView body, string name)
Parameters
Type Name Description
LogView body

The body of the request.

string name

Required. The full resource name of the view to update "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"

Returns
Type Description
BillingAccountsResource.LocationsResource.BucketsResource.ViewsResource.PatchRequest
In this article
Back to top Generated by DocFX