Class AuthorizedViewId (2.79.0)
Stay organized with collections
Save and categorize content based on your preferences.
public abstract class AuthorizedViewId implements TargetId
Static Methods
of(TableId tableId, String authorizedViewId)
public static AuthorizedViewId of(TableId tableId, String authorizedViewId)
| Parameters |
| Name |
Description |
tableId |
TableId
|
authorizedViewId |
String
|
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
|
Constructors
AuthorizedViewId()
public AuthorizedViewId()
Methods
getAuthorizedViewId()
public abstract String getAuthorizedViewId()
| Returns |
| Type |
Description |
String |
|
getTableId()
public abstract String getTableId()
| Returns |
| Type |
Description |
String |
|
scopedForAuthorizedView()
public boolean scopedForAuthorizedView()
Returns true if this TargetId object represents id for an authorized view (rather than a
table/materialized view).
public boolean scopedForMaterializedView()
Returns true if this TargetId object represents id for an materialized view (rather than a
table/authorized view).
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 |
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-06-19 UTC.
[null,null,["Last updated 2026-06-19 UTC."],[],[]]