Class UpdateAuthorizedViewRequest
java.lang.Object
com.google.cloud.bigtable.admin.v2.models.UpdateAuthorizedViewRequest
Parameters for updating an existing Cloud Bigtable
AuthorizedView.
Sample code:
AuthorizedView existingAuthorizedView = client.getAuthorizedView("my-table", "my-authorized-view");
UpdateAuthorizedViewRequest request =
UpdateAuthorizedViewRequest.of(existingAuthorizedView).setDeletionProtection(true);
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionbooleaninthashCode()static UpdateAuthorizedViewRequestof(AuthorizedView authorizedView) Builds a new update request using an existing authorized view.static UpdateAuthorizedViewRequestBuilds a new update authorized view request.setAuthorizedViewType(AuthorizedView.AuthorizedViewType authorizedViewType) Updates the implementation for this authorized view.setDeletionProtection(boolean deletionProtection) Changes the deletion protection of an existing authorized view.setIgnoreWarnings(boolean value) Configures if safety warnings should be disabled.Creates the request protobuf.
-
Method Details
-
of
Builds a new update request using an existing authorized view. -
of
public static UpdateAuthorizedViewRequest of(@Nonnull String tableId, @Nonnull String authorizedViewId) Builds a new update authorized view request. -
setDeletionProtection
Changes the deletion protection of an existing authorized view. -
setAuthorizedViewType
public UpdateAuthorizedViewRequest setAuthorizedViewType(@Nonnull AuthorizedView.AuthorizedViewType authorizedViewType) Updates the implementation for this authorized view.- See Also:
-
setIgnoreWarnings
Configures if safety warnings should be disabled. If set, then updates that making the authorized view more restrictive are allowed. -
equals
-
hashCode
public int hashCode() -
toProto
@InternalApi public UpdateAuthorizedViewRequest toProto(@Nonnull String projectId, @Nonnull String instanceId) Creates the request protobuf. This method is considered an internal implementation detail and not meant to be used by applications.
-