Google Cloud Logging v2 API - Class CreateViewRequest (4.3.0)

public sealed class CreateViewRequest : IMessage<CreateViewRequest>, IEquatable<CreateViewRequest>, IDeepCloneable<CreateViewRequest>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Cloud Logging v2 API class CreateViewRequest.

The parameters to CreateView.

Inheritance

object > CreateViewRequest

Namespace

Google.Cloud.Logging.V2

Assembly

Google.Cloud.Logging.V2.dll

Constructors

CreateViewRequest()

public CreateViewRequest()

CreateViewRequest(CreateViewRequest)

public CreateViewRequest(CreateViewRequest other)
Parameter
NameDescription
otherCreateViewRequest

Properties

Parent

public string Parent { get; set; }

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"

Property Value
TypeDescription
string

View

public LogView View { get; set; }

Required. The new view.

Property Value
TypeDescription
LogView

ViewId

public string ViewId { get; set; }

Required. A client-assigned identifier such as "my-view". Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods.

Property Value
TypeDescription
string