Class TableId (2.37.0)

public abstract class TableId implements TargetId

An implementation of a TargetId for tables.

Inheritance

java.lang.Object > TableId

Implements

TargetId

Static Methods

of(String tableId)

public static TableId of(String tableId)

Constructs a new TableId object for the specified table id.

Parameter
NameDescription
tableIdString
Returns
TypeDescription
TableId

Constructors

TableId()

public TableId()

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