Class AuthorizedViewId (2.39.2)

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
Name Description
tableId String
authorizedViewId String
Returns
Type Description
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
Type Description
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
Name Description
projectId String
instanceId String
Returns
Type Description
String