public final class CreateLogicalViewRequest extends Object
Sample code:
LogicalView existingLogicalView = ...;
CreateLogicalViewRequest logicalViewRequest = CreateLogicalViewRequest.of("my-instance", "my-new-logical-view")
.setQuery("...").setDeletionProtection(true);
for more details| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
int |
hashCode() |
static CreateLogicalViewRequest |
of(String instanceId,
String logicalViewId)
Builds a new request to create a new logical view in the specified instance.
|
CreateLogicalViewRequest |
setDeletionProtection(boolean value)
Configures if the logical view is deletion protected.
|
CreateLogicalViewRequest |
setQuery(String query)
Sets the query of the LogicalView.
|
CreateLogicalViewRequest |
toProto(String projectId)
Creates the request protobuf.
|
public static CreateLogicalViewRequest of(String instanceId, String logicalViewId)
public CreateLogicalViewRequest setQuery(@Nonnull String query)
public CreateLogicalViewRequest setDeletionProtection(boolean value)
@InternalApi public CreateLogicalViewRequest toProto(String projectId)
Copyright © 2026 Google LLC. All rights reserved.