Class AuthorizedView
java.lang.Object
com.google.cloud.bigtable.admin.v2.models.AuthorizedView
A class that wraps the
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.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceRepresents a subset of a Table. -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic AuthorizedViewfromProto(AuthorizedView proto) Wraps the protobuf.Gets the type of this authorized view, which currently can only be a subset view.getId()Gets the authorized view's id.Gets the id of the table that owns this authorized view.inthashCode()booleanReturns whether this authorized view is deletion protected.toProto()Creates the request protobuf.
-
Method Details
-
fromProto
Wraps the protobuf. This method is considered an internal implementation detail and not meant to be used by applications. -
getId
Gets the authorized view's id. -
getTableId
Gets the id of the table that owns this authorized view. -
isDeletionProtected
public boolean isDeletionProtected()Returns whether this authorized view is deletion protected. -
getAuthorizedViewType
Gets the type of this authorized view, which currently can only be a subset view. -
toProto
Creates the request protobuf. This method is considered an internal implementation detail and not meant to be used by applications. -
equals
-
hashCode
public int hashCode()
-