Viene visualizzato l'elenco dei connettori personalizzati.
Fai clic sul connettore personalizzato per il quale vuoi aggiungere una versione.
Viene visualizzata la pagina dei dettagli della connessione.
Fai clic su Versioni.
La pagina mostra tutte le versioni del connettore.
Fai clic su Crea. Viene visualizzata la pagina Crea nuova versione con il nuovo numero di versione. I passaggi per creare una nuova versione sono simili a quelli per creare un nuovo connettore personalizzato.
Ciò significa che puoi creare una versione con connettività diretta o indiretta.
Viene visualizzato l'elenco dei connettori personalizzati.
Fai clic sul connettore personalizzato con versioni.
Viene visualizzata la pagina dei dettagli della connessione.
Fai clic su Versioni.
Vengono visualizzate le versioni del connettore selezionato.
Fai clic su more_vertAzioni per selezionare una delle seguenti opzioni:
Visualizza dettagli: per visualizzare i dettagli della versione del connettore personalizzato.
Depreca versione: per deprecare la versione.
Elimina: per eliminare la versione.
Esporta: per scaricare la versione del connettore come file di specifica JSON. Per saperne di più, consulta Esportare e importare.
Esportazione e importazione
Puoi condividere il connettore tra diversi progetti Google Cloud esportando e importando la specifica del connettore. Puoi esportare qualsiasi versione della connessione e poi importare la specifica nello stesso progetto o in progetti diversi. Google Cloud L'esportazione delle versioni del connettore ritirate non è supportata.
Ruoli e autorizzazioni richiesti
Per ottenere le autorizzazioni necessarie per esportare e importare un connettore personalizzato, chiedi all'amministratore di concederti i seguenti ruoli IAM:
Security Admin (roles/iam.securityAdmin)
sul progetto in cui è presente il secret. In alternativa, puoi anche chiedere all'amministratore di concedere a te o al account di servizio le autorizzazioni secretmanager.secrets.getIamPolicy e secretmanager.secrets.setIamPolicy per il progetto in cui è presente il secret.
Viene visualizzata la pagina Connettori personalizzati.
Fai clic su downloadImporta.
Sfoglia e seleziona il file di specifica JSON per il connettore personalizzato. Se importi il connettore in un altro progetto, il campo Service account non viene precompilato.
A seconda che il connettore esista già o meno, sono possibili i seguenti scenari:
Non esiste un connettore con lo stesso nome:viene visualizzata la pagina Crea connettore personalizzato. La versione del connettore nel file JSON importato è precompilata. Questa versione non può essere modificata.
Esiste un connettore con lo stesso nome, ma non la stessa versione: viene visualizzata la pagina Crea versione per quel connettore. Le proprietà del connettore, come tipo, nome e descrizione, vengono precompilate dal connettore esistente e non vengono sovrascritte dal file JSON importato. Tuttavia, i dettagli e il nome della versione del connettore vengono letti dal file JSON importato. È possibile modificare solo il nome della versione.
Esiste un connettore con lo stesso nome e la stessa versione:viene visualizzato un messaggio di avviso che indica che la versione esiste già e che verrà utilizzata una nuova versione quando importi la specifica JSON. Se fai clic su Importa, viene visualizzata la pagina Crea versione per il connettore. Le proprietà del connettore, come tipo, nome e descrizione, vengono precompilate dal connettore esistente e non vengono sovrascritte dal file JSON importato. Tuttavia, i dettagli della versione vengono letti dal JSON importato e possono essere modificati. Per il nome della versione viene utilizzato il numero dell'ultima versione disponibile.
Compila i dettagli rimanenti e fai clic su Crea. Il connettore viene creato con la specifica JSON importata.
[[["Facile da capire","easyToUnderstand","thumb-up"],["Il problema è stato risolto","solvedMyProblem","thumb-up"],["Altra","otherUp","thumb-up"]],[["Difficile da capire","hardToUnderstand","thumb-down"],["Informazioni o codice di esempio errati","incorrectInformationOrSampleCode","thumb-down"],["Mancano le informazioni o gli esempi di cui ho bisogno","missingTheInformationSamplesINeed","thumb-down"],["Problema di traduzione","translationIssue","thumb-down"],["Altra","otherDown","thumb-down"]],["Ultimo aggiornamento 2025-09-04 UTC."],[[["\u003cp\u003ePre-GA offerings, including the custom connector features described, are subject to the "Pre-GA Offerings Terms" and are provided "as is" with potentially limited support.\u003c/p\u003e\n"],["\u003cp\u003eYou can create new versions of custom connectors, using either direct or indirect connectivity, through the Integration Connectors section of the Google Cloud Console.\u003c/p\u003e\n"],["\u003cp\u003eExisting custom connector versions can be managed via the Console, allowing you to view details, deprecate, delete, or export versions as a JSON specification file.\u003c/p\u003e\n"],["\u003cp\u003eCustom connector versions can be shared across different Google Cloud projects by exporting the connector's JSON specification and importing it into another project.\u003c/p\u003e\n"],["\u003cp\u003eSpecific IAM roles, including Storage Object Admin and Security Admin, are required to successfully export and import custom connectors.\u003c/p\u003e\n"]]],[],null,["# Manage custom connector versions\n\n| **Preview**\n|\n|\n| This product or feature is subject to the \"Pre-GA Offerings Terms\" in the General Service Terms section\n| of the [Service Specific Terms](/terms/service-terms#1).\n|\n| Pre-GA products and features are available \"as is\" and might have limited support.\n|\n| For more information, see the\n| [launch stage descriptions](/products#product-launch-stages).\n\nManage custom connector versions\n================================\n\nCreate a custom connector version\n---------------------------------\n\nTo create a custom connector version, follow these steps:\n\n1. In the [Console](https://console.cloud.google.com/), go to the **Integration Connectors \\\u003e Custom connectors** page, and then select or create a Google Cloud project.\n\n\n [Go to the Custom connectors page](https://console.cloud.google.com/connectors/custom-connectors)\n\n This displays the list of custom connectors.\n2. Click the custom connector for which you want to add a version. The displays the connection details page.\n\n3. Click **Versions** .\n\n The page displays all the versions of the connector.\n4. Click **Create** . This displays the **Create new version** page with the new version number. The steps to create a new version are similar to that of creating a new custom connector. It means that you can create a version with direct or indirect connectivity.\n - For creating a version with direct connectivity, do steps (from step 3 onwards) as documented in [Create a custom connector with direct connectivity](/integration-connectors/docs/create-custom-connector#create-a-custom-connector-with-direct-connectivity).\n - For creating a version with indirect connectivity, do steps (from step 3 onwards) as documented in [Create a custom connector with indirect connectivity](/integration-connectors/docs/create-custom-connector#create-a-custom-connector-with-indirect-connectivity).\n\nManage a custom connector version\n---------------------------------\n\nTo edit a custom connector, do the following steps:\n\n1. In the [Console](https://console.cloud.google.com/), go to the **Integration Connectors \\\u003e Custom connectors** page, and then select or create a Google Cloud project.\n\n\n [Go to the Custom connectors page](https://console.cloud.google.com/connectors/custom-connectors)\n\n This displays the list of custom connectors.\n2. Click the custom connector that has versions. The displays the connection details page.\n\n3. Click **Versions** .\n\n The versions for the selected connector appears.\n4. Click more_vert **Actions** to select one of the following options:\n - **View Details**: To view the custom connector version details.\n - **Deprecate Version**: To deprecate the version.\n - **Delete**: To delete the version.\n - **Export** : To downloads the connector version as a JSON specification file. For more information, see [Export and import](#export-import).\n\nExport and import\n-----------------\n\nYou can share the connector between different Google Cloud projects by exporting and importing the connector specification. You can export any connection version and then import the specification to the same project or different Google Cloud projects. Exporting deprecated connector versions is not supported.\n\n### Required roles and permissions\n\n\nTo get the permissions that\nyou need to export and import a custom connector,\n\nask your administrator to grant you the\nfollowing IAM roles:\n\n- [Storage Object Admin](/iam/docs/roles-permissions/storage#storage.objectAdmin) (`roles/storage.objectAdmin`) on the Cloud Storage bucket\n- [Security Admin](/iam/docs/roles-permissions/iam#iam.securityAdmin) (`roles/iam.securityAdmin`) on the project in which the secret is present. Alternatively, you can also ask your administrator to grant you or the service account, the `secretmanager.secrets.getIamPolicy` and `secretmanager.secrets.setIamPolicy` permissions on the project in which the secret is present.\n\n\nFor more information about granting roles, see [Manage access to projects, folders, and organizations](/iam/docs/granting-changing-revoking-access).\n\n\nYou might also be able to get\nthe required permissions through [custom\nroles](/iam/docs/creating-custom-roles) or other [predefined\nroles](/iam/docs/roles-overview#predefined).\n\n### Export a custom connector\n\nTo export a connector version, follow these steps:\n\n1. In the [Console](https://console.cloud.google.com/), go to the **Integration Connectors \\\u003e Custom connectors** page, and then select or create a Google Cloud project.\n\n\n [Go to the Custom connectors page](https://console.cloud.google.com/connectors/custom-connectors)\n2. Click the custom connector that you want to export. The custom connector's overview page opens.\n3. Click **Versions**. A list of versions of the custom connector is displayed.\n4. Click more_vert **More Actions** and then click upload **Export**. A JSON specification file for the custom connector is downloaded.\n\n### Import a custom connector\n\nTo import a connector version, follow these steps:\n\n1. In the [Console](https://console.cloud.google.com/), go to the **Integration Connectors \\\u003e Custom connectors** page, and then select or create a Google Cloud project.\n\n\n [Go to the Custom connectors page](https://console.cloud.google.com/connectors/custom-connectors)\nThe **Custom connectors** page appears.\n2. Click download **Import**.\n3. Browse and select the JSON specification file for the custom connector. If you are importing the connector to a different project, then the **Service account** field is not prefilled.\n\n \u003cbr /\u003e\n\n | **Note:** Ensure that the connector that you want to import is not deprecated.\n\n Based on whether the connector already exists or not, the following scenarios are possible:\n - **Connector with the same name doesn't exist:** The **Create custom connector** page appears. The connector version in the imported JSON is prefilled. This version can't be changed.\n - **Connector with the same name exists but the same version doesn't exist:** The **Create version** page for that connector appears. Connector properties like connector type, name, description are prefilled from the existing connector and are not overwritten from the imported JSON. However, the connector version details and name are read from the imported JSON. Only the version name can be edited.\n - **Connector with the same name and version exists:** A warning message appears stating that the version already exists and a new version will be used when you import the JSON specification. If you click **Import** , the **Create version** page for that connector appears. Connector properties like the connector type, name, description are prefilled from the existing connector and are not overwritten by the imported JSON. However, the version details are read from the imported JSON and can be edited. The latest available version number is used for the version name.\n4. Fill the remaining details and click **Create**. The connector is created with the imported JSON specification."]]