Class AuthorizedViewId (2.37.0)

public abstract class AuthorizedViewId implements TargetId

An implementation of a TargetId for authorized views.

See com.google.cloud.bigtable.admin.v2.models.AuthorizedView for more details about an authorized view.

Inheritance

java.lang.Object > AuthorizedViewId

Implements

TargetId

Static Methods

of(String tableId, String authorizedViewId)

public static AuthorizedViewId of(String tableId, String authorizedViewId)

Constructs a new AuthorizedViewId object from the specified tableId and authorizedViewId.

Parameters
NameDescription
tableIdString
authorizedViewIdString
Returns
TypeDescription
AuthorizedViewId

Constructors

AuthorizedViewId()

public AuthorizedViewId()

Methods

scopedForAuthorizedView()

public boolean scopedForAuthorizedView()

Returns true if this TargetId object represents id for an authorized view (rather than a table).

Returns
TypeDescription
boolean

toResourceName(String projectId, String instanceId)

public String toResourceName(String projectId, String instanceId)

Combines the table or authorized view id with the projectId and instanceId to form the actual resource name in the request protobuf.

This method is considered an internal implementation detail and not meant to be used by applications.

Parameters
NameDescription
projectIdString
instanceIdString
Returns
TypeDescription
String