単一の CodeRepositoryIndex の詳細を取得します。
HTTP リクエスト
GET https://cloudaicompanion.googleapis.com/v1/{name=projects/*/locations/*/codeRepositoryIndexes/*}
この URL では gRPC Transcoding 構文を使用します。
パスパラメータ
| パラメータ | |
|---|---|
name |
必須。リソースの名前 |
リクエストの本文
リクエスト本文は空にする必要があります。
レスポンス本文
成功した場合、レスポンスの本文には CodeRepositoryIndex のインスタンスが含まれます。
認可スコープ
次の OAuth スコープが必要です。
https://www.googleapis.com/auth/cloud-platform
詳細については、Authentication Overview をご覧ください。
IAM 権限
name リソースに対する次の IAM 権限が必要です。
cloudaicompanion.codeRepositoryIndexes.get
詳細については、IAM のドキュメントをご覧ください。