Google Cloud BigQuery 策略

Google Cloud BigQuery 策略包含 Google Cloud BigQuery Request 节点在将其连接到 Google Cloud BigQuery时使用的连接详细信息。

您可以在消息流中使用 Google Cloud BigQuery Request 节点IBM® App Connect Enterprise 连接到 Google Cloud BigQuery ,并发出请求以对对象 (例如数据集,作业,表和视图) 执行操作。 Google Cloud BigQuery 策略在运行时控制对 Google Cloud BigQuery 应用程序的访问。

当您使用 "连接器发现" 向导配置 Google Cloud BigQuery Request 节点与 Google Cloud BigQuery 之间的连接时,将创建 Google Cloud BigQuery 策略。 在发现过程中,帐户凭证存储在保险库文件中,连接详细信息存储在策略中。 将创建类型为 Google Cloud BigQuery的策略,并且策略的名称将返回到节点并在 "连接" 选项卡中指定,格式为 {policyProjectName}:policyName

您还可以使用 "管理发现连接器策略和凭证" 向导来创建,更新或删除 Google Cloud BigQuery 策略,您可以通过右键单击 IBM App Connect Enterprise Toolkit 中的策略项目,然后单击 新建 > 发现连接器策略和凭证来访问该策略。

必须先部署此策略,然后才能启动使用此策略的消息流。 如果重新部署 Google Cloud BigQuery 策略,那么将停止并重新启动使用该策略的所有消息流。

有关使用 Google Cloud BigQuery 策略的更多信息,请参阅 将 Google Cloud BigQuery 与 IBM App Connect Enterprise

表 1. Google Cloud BigQuery 策略的属性
属性 .policyxml 文件中的属性名 属性描述
Google Cloud BigQuery 应用程序类型 applicationType 此属性保留以供将来使用,并且必须设置为值 online
Google Cloud BigQuery 应用程序版本 applicationVersion 此属性保留以供将来使用,并且必须设置为值 v1
Google Cloud BigQuery 认证方法 authenticationMethod 此属性指定用于 IBM App Connect EnterpriseGoogle Cloud BigQuery之间的连接的认证类型。 此属性保留以供将来使用,并且必须设置为 BASIC
项目标识 projectId 您的 Google Cloud BigQuery 项目标识。
数据集标识 datasetId 包含要在 Google Cloud BigQuery 项目中使用的表和视图的数据集的标识 (模式名称)。 要处理来自另一数据集的表或视图,需要使用该特定数据集标识来创建其他帐户。
凭证名称 credentialName

可以在连接器发现期间定义指定的凭证并将其存储在保险库文件中。 或者,您可以指定使用 mqsicredentials 命令或 server.conf.yaml 文件配置的现有凭证,或者通过外部凭证提供程序装入的现有凭证。