Interface CreateViewRequestOrBuilder (3.15.11)

public interface CreateViewRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getParent()

public abstract String getParent()

Required. The bucket in which to create the view

 <code>"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"</code>

For example:

"projects/my-project/locations/global/buckets/my-bucket"

string parent = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

Required. The bucket in which to create the view

 <code>"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"</code>

For example:

"projects/my-project/locations/global/buckets/my-bucket"

string parent = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for parent.

getView()

public abstract LogView getView()

Required. The new view.

.google.logging.v2.LogView view = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
LogView

The view.

getViewId()

public abstract String getViewId()

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.

string view_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The viewId.

getViewIdBytes()

public abstract ByteString getViewIdBytes()

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.

string view_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for viewId.

getViewOrBuilder()

public abstract LogViewOrBuilder getViewOrBuilder()

Required. The new view.

.google.logging.v2.LogView view = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
LogViewOrBuilder

hasView()

public abstract boolean hasView()

Required. The new view.

.google.logging.v2.LogView view = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the view field is set.