public final class CreateAuthorizedViewRequest extends Object
AuthorizedView, which represents subsets of
a particular table.
Sample code:
CreateAuthorizedViewRequest request =
CreateAuthorizedViewRequest.of("my-table", "my-new-authorized-view")
.setAuthorizedViewType(
SubsetView.create()
.addRowPrefix("row#")
.addFamilySubsets(
"my-family", FamilySubsets.create().addQualifier("column")));
for more details.| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
int |
hashCode() |
static CreateAuthorizedViewRequest |
of(String tableId,
String authorizedViewId) |
CreateAuthorizedViewRequest |
setAuthorizedViewType(AuthorizedView.AuthorizedViewType authorizedViewType)
Sets the implementation for this authorized view.
|
CreateAuthorizedViewRequest |
setDeletionProtection(boolean deletionProtection)
Configures if the authorized view is deletion protected.
|
CreateAuthorizedViewRequest |
toProto(String projectId,
String instanceId)
Creates the request protobuf.
|
public static CreateAuthorizedViewRequest of(@Nonnull String tableId, @Nonnull String authorizedViewId)
public CreateAuthorizedViewRequest setDeletionProtection(boolean deletionProtection)
public CreateAuthorizedViewRequest setAuthorizedViewType(@Nonnull AuthorizedView.AuthorizedViewType authorizedViewType)
for details.@InternalApi public CreateAuthorizedViewRequest toProto(@Nonnull String projectId, @Nonnull String instanceId)
Copyright © 2026 Google LLC. All rights reserved.