Restez organisé à l'aide des collections
Enregistrez et classez les contenus selon vos préférences.
Data Catalog
Le connecteur Data Catalog vous permet d'effectuer les opérations compatibles dans Data Catalog.
Avant de commencer
Avant d'utiliser le connecteur Data Catalog, effectuez les tâches suivantes :
Dans votre projet Google Cloud :
Assurez-vous que la connectivité réseau est configurée. Pour en savoir plus sur les schémas de réseau, consultez Connectivité réseau.
Attribuez le rôle IAM roles/connectors.admin à l'utilisateur qui configure le connecteur.
Attribuez les rôles IAM suivants au compte de service que vous souhaitez utiliser pour le connecteur :
roles/secretmanager.viewer
roles/secretmanager.secretAccessor
Un compte de service est un type spécial de compte Google destiné à représenter un utilisateur non humain qui doit s'authentifier et obtenir les autorisations permettant d'accéder aux données des API Google.
Si vous ne possédez pas de compte de service, vous devez en créer un. Pour plus d'informations, consultez Créer un compte de service.
Si ces services ou autorisations n'ont pas encore été activés pour votre projet, vous êtes invité à les activer au moment de configurer le connecteur.
Si vous utilisez l'authentification par compte de service au lieu de l'authentification OAuth 2.0, assurez-vous que le compte de service dispose des autorisations appropriées. Pour en savoir plus, consultez Rôles et autorisations IAM.
Configurer le connecteur
Une connexion est propre à une source de données. Cela signifie que si vous disposez de nombreuses sources de données, vous devez créer une connexion distincte pour chacune d'elles. Pour créer une connexion, procédez comme suit :
Dans la console Cloud, accédez à la page Connecteurs d'intégration > Connexions, puis sélectionnez ou créez un projet Google Cloud.
Cliquez sur + Créer pour ouvrir la page Créer une connexion.
Dans la section Emplacement, choisissez l'emplacement de la connexion.
Région : sélectionnez un emplacement dans la liste déroulante.
Pour obtenir la liste de toutes les régions disponibles, consultez Emplacements.
Cliquez sur Suivant.
Dans la section Détails de connexion, définissez les champs suivants :
Connecteur : sélectionnez Data Catalog dans la liste déroulante des connecteurs disponibles.
Version du connecteur : sélectionnez la version du connecteur dans la liste déroulante des versions disponibles.
Dans le champ Nom de connexion, indiquez le nom de l'instance de connexion.
Les noms de connexion doivent répondre aux critères suivants :
Ils peuvent contenir des lettres, des chiffres ou des traits d'union.
Les lettres doivent être en minuscules.
Ils doivent commencer par une lettre et se terminer par une lettre ou un chiffre.
Ils ne peuvent pas dépasser 49 caractères.
(Facultatif) Saisissez une description de l'instance de connexion.
(Facultatif) Sélectionnez Activer Cloud Logging pour consigner les détails de l'exécution du connecteur.
Compte de service : sélectionnez un compte de service disposant des rôles requis.
(Facultatif) Configurez les paramètres de nœuds de connexion :
Nombre minimal de nœuds : saisissez le nombre minimal de nœuds de connexion.
Nombre maximal de nœuds : saisissez le nombre maximal de nœuds de connexion.
Un nœud est une unité (ou instance répliquée) de connexion qui traite des transactions.
Pour traiter davantage de transactions pour une connexion, vous devez disposer de plus de nœuds. À l'inverse, moins de nœuds sont nécessaires si une connexion traite moins de transactions.
Pour comprendre comment les nœuds affectent la tarification de votre connecteur, consultez Tarifs des nœuds de connexion. Si vous ne saisissez aucune valeur, le nombre minimal de nœuds est défini par défaut sur 2 (pour améliorer la disponibilité) et le nombre maximal de nœuds sur 50.
(Facultatif) Cliquez sur + Ajouter une étiquette pour ajouter une étiquette à la connexion sous la forme d'une paire clé/valeur.
Cliquez sur Suivant.
Dans la section Authentification, saisissez les informations d'authentification.
Sélectionnez un type d'authentification, puis saisissez les informations appropriées.
Vous pouvez choisir l'un des types d'authentification suivants :
Vérifier : vérifiez vos informations de connexion et d'authentification.
Cliquez sur Créer.
Configurer l'authentification
Saisissez les informations en fonction de l'authentification que vous souhaitez utiliser.
Code d'autorisation OAuth 2.0
ID client : ID client requis pour se connecter à votre service de backend Google.
Niveaux d'accès : sélectionnez les niveaux d'accès OAuth 2.0 requis dans le menu déroulant. Pour afficher tous les niveaux d'accès OAuth 2.0 acceptés par le service Google requis, consultez la section correspondante sur la page Champs d'application OAuth 2.0 pour les API Google.
Code secret du client : sélectionnez le secret Secret Manager contenant le mot de passe associé au code secret du client.
Version du secret : sélectionnez la version du secret.
Compte de service
Sélectionnez cette option pour vous authentifier à l'aide du compte de service que vous avez fourni lors des étapes précédentes de la configuration de cette connexion. Assurez-vous d'avoir fourni le compte de service disposant des rôles et des autorisations IAM appropriés pour l'authentification.
Niveaux d'accès : sélectionnez les niveaux d'accès OAuth 2.0 requis dans le menu déroulant. Pour en savoir plus, consultez Niveaux d'accès.
Actions
Ce connecteur fournit une couche d'abstraction pour les objets du service de backend connecté. Vous ne pouvez accéder aux objets du backend que par le biais de cette abstraction. L'abstraction vous est présentée en tant qu'actions. Une Action est une fonction de première classe mise à la disposition de l'intégration au moyen de l'interface du connecteur. Une action vous permet de modifier une ou plusieurs entités, et varie d'un connecteur à l'autre. Toutefois, il est possible qu'un connecteur n'accepte aucune action, auquel cas la liste Actions est vide.
Utiliser la connexion Data Catalog dans une intégration
Une fois la connexion créée, elle devient disponible dans Application Integration. Vous pouvez utiliser la connexion dans une intégration au moyen de la tâche "Connecteurs".
Demander de l'aide à la communauté Google Cloud
Vous pouvez publier vos questions et discuter de ce connecteur sur les forums Cloud de la communauté Google Cloud.
Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2025/09/09 (UTC).
[[["Facile à comprendre","easyToUnderstand","thumb-up"],["J'ai pu résoudre mon problème","solvedMyProblem","thumb-up"],["Autre","otherUp","thumb-up"]],[["Difficile à comprendre","hardToUnderstand","thumb-down"],["Informations ou exemple de code incorrects","incorrectInformationOrSampleCode","thumb-down"],["Il n'y a pas l'information/les exemples dont j'ai besoin","missingTheInformationSamplesINeed","thumb-down"],["Problème de traduction","translationIssue","thumb-down"],["Autre","otherDown","thumb-down"]],["Dernière mise à jour le 2025/09/09 (UTC)."],[[["\u003cp\u003eThis connector facilitates interaction with Google Cloud's Data Catalog, enabling users to perform various supported operations.\u003c/p\u003e\n"],["\u003cp\u003eBefore setting up the connector, users must configure network connectivity, grant specific IAM roles to both the user and the service account, and enable the Secret Manager and Connectors APIs.\u003c/p\u003e\n"],["\u003cp\u003eCreating a connection involves selecting the Data Catalog connector, naming the connection, choosing authentication methods (OAuth 2.0 or service account), and configuring node settings if required.\u003c/p\u003e\n"],["\u003cp\u003eThe connector offers actions, which are functions that allow users to make changes to entities, accessible through the connector interface and viewable in the Connectors task within Application Integration.\u003c/p\u003e\n"],["\u003cp\u003eOnce established, the connection can be used within Application Integration and can be suspended or resumed, with usage monitoring and logging available for tracking purposes.\u003c/p\u003e\n"]]],[],null,["# Data Catalog\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\nData Catalog\n============\n\nThe Data Catalog connector lets you perform the supported operations on [Data Catalog](https://cloud.google.com/data-catalog/docs).\n\nBefore you begin\n----------------\n\nBefore using the Data Catalog connector, do the following tasks:\n\n- In your Google Cloud project:\n - Ensure that network connectivity is set up. For information about network patterns, see [Network connectivity](/integration-connectors/docs/network-connectivity-private).\n - Grant the [roles/connectors.admin](/integration-connectors/docs/connectors-access-permissions#iam-roles-for-integration-connectors) IAM role to the user configuring the connector.\n - Grant the following IAM roles to the service account that you want to use for the connector:\n - `roles/secretmanager.viewer`\n - `roles/secretmanager.secretAccessor`\n\n A service account is a special type of Google account intended to represent a non-human\n user that needs to authenticate and be authorized to access data in Google APIs.\n If you don't have a service account, you must create a service account. The connector and the service account must belong to the same project. For more\n information, see\n [Creating a service account](/iam/docs/creating-managing-service-accounts#creating).\n - Enable the following services:\n - `secretmanager.googleapis.com` (Secret Manager API)\n - `connectors.googleapis.com` (Connectors API)\n\n To understand how to enable services, see [Enabling services](/service-usage/docs/enable-disable#enabling).\n\n\n If these services or permissions have not been enabled for your project previously, you are prompted to enable them\n when configuring the connector.\n- If you are using the service account authentication instead of OAuth 2.0 authentication, ensure that appropriate permissions are given to the service account. For more information, see [IAM roles and permissions](https://cloud.google.com/data-catalog/docs/concepts/iam).\n\nConfigure the connector\n-----------------------\n\nA connection is specific to a data source. It\nmeans that if you have many data sources, you must create a separate connection\nfor each data source. To create a connection, do the following:\n\n1. In the [Cloud console](https://console.cloud.google.com), go to the **Integration Connectors \\\u003e Connections** page and then select or create a Google Cloud project.\n\n\n [Go to the Connections page](https://console.cloud.google.com/connectors/connections)\n2. Click **+ Create new** to open the **Create Connection** page.\n3. In the **Location** section, choose the location for the connection.\n 1. **Region** : Select a location from the drop-down list.\n\n For the list of all the supported regions, see [Locations](/integration-connectors/docs/locations).\n 2. Click **Next**.\n\n- In the **Connection Details** section, set the following fields:\n 1. **Connector** : Select **Data Catalog** from the drop down list of available connectors.\n 2. **Connector version**: Select the connector version from the drop down list of available versions.\n 3. In the **Connection Name** field, enter a name for the connection instance.\n\n Connection names must meet the following criteria:\n - Connection names can use letters, numbers, or hyphens.\n - Letters must be lower-case.\n - Connection names must begin with a letter and end with a letter or number.\n - Connection names cannot exceed 49 characters.\n 4. Optionally, enter a **Description** for the connection instance.\n 5. Optionally, select **Enable cloud logging** if you want to log the connector execution details.\n 6. **Service Account** : Select a service account that has the [required roles](#before-you-begin).\n 7. Optionally, configure the **Connection node settings** :\n\n\n - **Minimum number of nodes**: Enter the minimum number of connection nodes.\n - **Maximum number of nodes**: Enter the maximum number of connection nodes.\n\n A node is a unit (or replica) of a connection that processes transactions.\n More nodes are required to process more transactions for a connection and conversely,\n fewer nodes are required to process fewer transactions.\n To understand how the nodes affect your connector pricing, see\n [Pricing for connection nodes](/integration-connectors/docs/pricing#pricing-for-connection-nodes). If you don't enter any values, by default\n the minimum nodes are set to 2 (for better availability) and the maximum nodes are set to 50.\n | **Note:** You can customize the connection node values only if you are a Pay-as-you-go customer.\n 8. Optionally, click **+ Add label** to add a label to the connection in the form of a key-value pair.\n 9. Click **Next**.\n 10. In the **Authentication** section, enter the authentication details.\n 1. Select an **Authentication type** and enter the relevant details.\n\n You can choose any of the following authentication types:\n - OAuth 2.0 - Authorization code\n - Service account\n 2. To understand how to configure these authentication types, see [Configure authentication](#configure-auth).\n 3. Click **Next**.\n 11. **Review**: Review your connection and authentication details.\n 12. Click **Create**.\n\n ### Configure authentication\n\n Enter the details based on the authentication you want to use.\n - **OAuth 2.0 - Authorization code**\n - **Client ID**: The client ID required to connect to your backend Google service.\n - **Scopes** : Select the required OAuth 2.0 scopes from the drop-down. To view all the supported OAuth 2.0 scopes for your required Google service, see the relevant section in the [OAuth 2.0 Scopes for Google APIs](https://developers.google.com/identity/protocols/oauth2/scopes) page.\n - **Client Secret**: Select the Secret Manager secret containing the password associated with the client secret.\n - **Secret version**: Select the secret version.\n - **Service account**\n\n Select this option to authenticate using the service account that you provided in\n the preceding steps when configuring this connection. Ensure that you have\n provided the service account that has the relevant IAM roles and permissions required for authentication.\n - **Scopes** : Select the required OAuth 2.0 scopes from the drop-down. For more information, see [Access scopes](/compute/docs/access/service-accounts#accesscopesiam).\n\n Actions\n -------\n\n\n This connector provides a layer of abstraction for the objects of\n the connected backend service. You can access the backend's objects\n only through this abstraction. The abstraction is exposed\n to you as actions. An `Action` is a first class\n function that is made available to the integration\n through the connector interface. An action lets you make\n changes to an entity or entities, and varies from connector\n to connector. However, it is possible\n that a connector doesn't support any action,\n in which case the `Actions` list will be empty.\n | **Note:** You can view the actions of the connector in the [Connectors task](/application-integration/docs/connectors-task).\n\n Use the Data Catalog connection in an integration\n -------------------------------------------------\n\n After you create the connection, it becomes available in\n Application Integration. You can use the connection in an integration through the [Connectors task](/application-integration/docs/configure-connectors-task).\n\n Get help from the Google Cloud community\n ----------------------------------------\n\n You can post your questions and discuss this connector in the Google Cloud community at [Cloud Forums](https://www.googlecloudcommunity.com/gc/Integration-Services/bd-p/cloud-integration-services).\n\n What's next\n -----------\n\n - Understand how to [suspend and resume a connection](/integration-connectors/docs/suspend-resume-connection).\n - Understand how to [monitor connector usage](/integration-connectors/docs/cloud-monitoring).\n - Understand how to [view connector logs](/integration-connectors/docs/view-connector-logs)."]]