public final class AuthorizedView extends Object
AuthorizedView protocol buffer
object.
An AuthorizedView represents subsets of a particular table based on rules. The access to each AuthorizedView can be configured separately from the Table.
Users can perform read/write operation on an AuthorizedView by providing an authorizedView id besides a table id, in which case the semantics remain identical as reading/writing on a Table except that visibility is restricted to the subset of the Table that the AuthorizedView represents.
| Modifier and Type | Class and Description |
|---|---|
static interface |
AuthorizedView.AuthorizedViewType
Represents a subset of a Table.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
static AuthorizedView |
fromProto(AuthorizedView proto)
Wraps the protobuf.
|
AuthorizedView.AuthorizedViewType |
getAuthorizedViewType()
Gets the type of this authorized view, which currently can only be a subset view.
|
String |
getId()
Gets the authorized view's id.
|
String |
getTableId()
Gets the id of the table that owns this authorized view.
|
int |
hashCode() |
boolean |
isDeletionProtected()
Returns whether this authorized view is deletion protected.
|
AuthorizedView |
toProto()
Creates the request protobuf.
|
@InternalApi public static AuthorizedView fromProto(@Nonnull AuthorizedView proto)
public String getId()
public String getTableId()
public boolean isDeletionProtected()
public AuthorizedView.AuthorizedViewType getAuthorizedViewType()
@InternalApi public AuthorizedView toProto()
Copyright © 2026 Google LLC. All rights reserved.