Method: projects.locations.collections.dataConnector.getConnectorSecret

関連付けられたコネクタのシークレットを取得します。

HTTP リクエスト

GET https://discoveryengine.googleapis.com/v1alpha/{name=projects/*/locations/*/collections/*/dataConnector}:getConnectorSecret

この URL では gRPC Transcoding 構文を使用します。

パスパラメータ

パラメータ
name

string

必須。関連付けられたデータコネクタの完全なリソース名。

リクエストの本文

リクエストの本文は空にする必要があります。

レスポンスの本文

DataConnectorService.GetConnectorSecret に対するレスポンス メッセージです。

成功した場合、レスポンスの本文には次の構造のデータが含まれます。

JSON 表現
{
  "app": string,
  "instance": string,
  "tenantId": string,
  "clientId": string,
  "redirectUri": string,
  "authorizationUri": string
}
フィールド
app

string

関連付けられているコネクタのアプリ名。

instance

string

関連付けられたコネクタのインスタンス名。

tenantId

string

関連付けられているコネクタのテナント ID。

clientId

string

関連付けられたコネクタのクライアント ID。

redirectUri

string

関連付けられたコネクタのリダイレクト URL。

authorizationUri

string

データ コネクタの認可 URI。

認可スコープ

次の OAuth スコープのいずれかが必要です。

  • https://www.googleapis.com/auth/cloud-platform
  • https://www.googleapis.com/auth/discoveryengine.readwrite
  • https://www.googleapis.com/auth/discoveryengine.assist.readwrite

詳細については、Authentication Overview をご覧ください。

IAM 権限

name リソースに対する次の IAM 権限が必要です。

  • discoveryengine.dataConnectors.get

詳細については、IAM のドキュメントをご覧ください。