LinkDatabase
Lets projects reach a database project: inside each linked project the database is the host <database_project_id> at its port, and Project.database says how to sign in (its password with GetProject include_secret_values). Takes effect at once and deploys nothing. INVALID_ARGUMENT = a project in both link and unlink. NOT_FOUND = no such project. FAILED_PRECONDITION = database_project_id is no database; + DatabaseLinkRefusal = the app is a database, has a service named or aliased like the database, or there are 20 links already. Answers with the database's Project.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| link | No | App project_ids to link. | |
| unlink | No | App project_ids to unlink. | |
| database_project_id | No |