Class AuthorizedView

java.lang.Object
com.google.cloud.bigtable.admin.v2.models.AuthorizedView

public final class AuthorizedView extends Object
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.

  • Method Details

    • fromProto

      @InternalApi public static AuthorizedView fromProto(@Nonnull AuthorizedView proto)
      Wraps the protobuf. This method is considered an internal implementation detail and not meant to be used by applications.
    • getId

      public String getId()
      Gets the authorized view's id.
    • getTableId

      public String 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

      public AuthorizedView.AuthorizedViewType getAuthorizedViewType()
      Gets the type of this authorized view, which currently can only be a subset view.
    • toProto

      @InternalApi public AuthorizedView toProto()
      Creates the request protobuf. This method is considered an internal implementation detail and not meant to be used by applications.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object