public abstract class TableId implements TargetId
An implementation of a TargetId for tables.
Implements
TargetIdStatic Methods
of(String tableId)
public static TableId of(String tableId)
Constructs a new TableId object for the specified table id.
Parameter | |
---|---|
Name | Description |
tableId | String |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
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 |