public final class UpdateAuthorizedViewRequest extends Object
AuthorizedView.
Sample code:
AuthorizedView existingAuthorizedView = client.getAuthorizedView("my-table", "my-authorized-view");
UpdateAuthorizedViewRequest request =
UpdateAuthorizedViewRequest.of(existingAuthorizedView).setDeletionProtection(true);
for more details.| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
int |
hashCode() |
static UpdateAuthorizedViewRequest |
of(AuthorizedView authorizedView)
Builds a new update request using an existing authorized view.
|
static UpdateAuthorizedViewRequest |
of(String tableId,
String authorizedViewId)
Builds a new update authorized view request.
|
UpdateAuthorizedViewRequest |
setAuthorizedViewType(AuthorizedView.AuthorizedViewType authorizedViewType)
Updates the implementation for this authorized view.
|
UpdateAuthorizedViewRequest |
setDeletionProtection(boolean deletionProtection)
Changes the deletion protection of an existing authorized view.
|
UpdateAuthorizedViewRequest |
setIgnoreWarnings(boolean value)
Configures if safety warnings should be disabled.
|
UpdateAuthorizedViewRequest |
toProto(String projectId,
String instanceId)
Creates the request protobuf.
|
public static UpdateAuthorizedViewRequest of(@Nonnull AuthorizedView authorizedView)
public static UpdateAuthorizedViewRequest of(@Nonnull String tableId, @Nonnull String authorizedViewId)
public UpdateAuthorizedViewRequest setDeletionProtection(boolean deletionProtection)
public UpdateAuthorizedViewRequest setAuthorizedViewType(@Nonnull AuthorizedView.AuthorizedViewType authorizedViewType)
for details.public UpdateAuthorizedViewRequest setIgnoreWarnings(boolean value)
@InternalApi public UpdateAuthorizedViewRequest toProto(@Nonnull String projectId, @Nonnull String instanceId)
Copyright © 2026 Google LLC. All rights reserved.