public abstract class MaterializedViewId extends Object implements TargetId
TargetId for materialized views.
See MaterializedView for more details about
an materialized view.
| Constructor and Description |
|---|
MaterializedViewId() |
| Modifier and Type | Method and Description |
|---|---|
abstract String |
getMaterializedViewId() |
static MaterializedViewId |
of(String materializedViewId)
Constructs a new MaterializedViewId object from the specified materializedViewId.
|
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 MaterializedViewId of(String materializedViewId)
public abstract String getMaterializedViewId()
@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.