public abstract class AuthorizedViewId extends Object implements TargetId
TargetId for authorized views.
See AuthorizedView for more details about an
authorized view.
| Constructor and Description |
|---|
AuthorizedViewId() |
| Modifier and Type | Method and Description |
|---|---|
abstract String |
getAuthorizedViewId() |
abstract String |
getTableId() |
static AuthorizedViewId |
of(String tableId,
String authorizedViewId)
Constructs a new AuthorizedViewId object from the specified tableId and authorizedViewId.
|
static AuthorizedViewId |
of(TableId tableId,
String authorizedViewId) |
boolean |
scopedForAuthorizedView()
Returns true if this TargetId object represents id for an authorized view (rather than a
table/materialized view).
|
boolean |
scopedForMaterializedView()
Returns true if this TargetId object represents id for an materialized view (rather than a
table/authorized view).
|
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.
|
public static AuthorizedViewId of(String tableId, String authorizedViewId)
public static AuthorizedViewId of(TableId tableId, String authorizedViewId)
public abstract String getTableId()
public abstract String getAuthorizedViewId()
@InternalApi public String toResourceName(String projectId, String instanceId)
TargetIdThis method is considered an internal implementation detail and not meant to be used by applications.
toResourceName in interface TargetId@InternalApi public boolean scopedForAuthorizedView()
TargetIdscopedForAuthorizedView in interface TargetId@InternalApi public boolean scopedForMaterializedView()
TargetIdscopedForMaterializedView in interface TargetIdCopyright © 2026 Google LLC. All rights reserved.