Preview
This product or feature is subject to the "Pre-GA Offerings Terms" in the General Service Terms section of theService Specific Terms. Pre-GA products and features are available "as is" and might have limited support. For more information, see thelaunch stage descriptions.
Google Docs
The Google Docs connector lets you perform the supported operations onGoogle Docs.
Before you begin
Before using the Google Docs connector, do the following tasks:
- In your Google Cloud project:
- Ensure that network connectivity is set up. For information about network patterns, seeNetwork connectivity.
- Grant theroles/connectors.admin IAM role to the user configuring the connector.
- Grant the following IAM roles to the service account that you want to use for the connector:
roles/secretmanager.viewerroles/secretmanager.secretAccessor
A service account is a special type of Google account intended to represent a non-human user that needs to authenticate and be authorized to access data in Google APIs. 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 information, seeCreating a service account.
- Enable the following services:
secretmanager.googleapis.com(Secret Manager API)connectors.googleapis.com(Connectors API)
To understand how to enable services, seeEnabling services.
If these services or permissions have not been enabled for your project previously, you are prompted to enable them when configuring the connector.
- 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, seeIAM roles and permissions.
Configure the connector
A connection is specific to a data source. Itmeans that if you have many data sources, you must create a separate connectionfor each data source. To create a connection, do the following:
- In theCloud console, go to theIntegration Connectors > Connections page and then select or create a Google Cloud project.
- Click+ Create new to open theCreate Connection page.
- In theLocation section, choose the location for the connection.
- Region: Select a location from the drop-down list.
For the list of all the supported regions, seeLocations.
- ClickNext.
- Region: Select a location from the drop-down list.
- Connector: SelectGoogle Docs from the drop down list of available connectors.
- Connector version: Select the connector version from the drop down list of available versions.
- In theConnection Name field, enter a name for the connection instance.
Connection names must meet the following criteria:
- Connection names can use letters, numbers, or hyphens.
- Letters must be lower-case.
- Connection names must begin with a letter and end with a letter or number.
- Connection names cannot exceed 49 characters.
- Optionally, enter aDescription for the connection instance.
- Optionally, selectEnable cloud logging if you want to log the connector execution details.
- Service Account: Select a service account that has therequired roles.
- Optionally, configure theConnection node settings:
- Minimum number of nodes: Enter the minimum number of connection nodes.
- Maximum number of nodes: Enter the maximum number of connection nodes.
A node is a unit (or replica) of a connection that processes transactions. More nodes are required to process more transactions for a connection and conversely, fewer nodes are required to process fewer transactions. To understand how the nodes affect your connector pricing, see Pricing for connection nodes. If you don't enter any values, by default the minimum nodes are set to 2 (for better availability) and the maximum nodes are set to 50.
Note: You can customize the connection node values only if you are a Pay-as-you-go customer. - Optionally, click+ Add label to add a label to the connection in the form of a key-value pair.
- ClickNext.
- In theAuthentication section, enter the authentication details.
- Select anAuthentication type and enter the relevant details.
You can choose any of the following authentication types:
- OAuth 2.0 - Authorization code (Google Managed)
If you want Google Cloud to manage the client ID and client secret, instead of you creating the client ID and client secret, select this option.
- OAuth 2.0 - Authorization code
- OAuth 2.0 - Authorization code (Google Managed)
- ClickNext.
To understand how to configure these authentication types, seeConfigure authentication.
- Select anAuthentication type and enter the relevant details.
- Review: Review your connection and authentication details.
- ClickCreate.
Configure authentication
Enter the details based on the authentication you want to use.
- OAuth 2.0 - Authorization code (Google Managed)
Google Cloud manages the client ID and client secret and you don't need to specify them.
- 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 theOAuth 2.0 Scopes for Google APIs page.
- OAuth 2.0 - Authorization code
- Client ID: The client ID required to connect to your backend Google service.
- 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 theOAuth 2.0 Scopes for Google APIs page.
- Client Secret: Select the Secret Manager secret containing the password associated with the client secret.
- Secret version: Select the secret version.
Actions
This connector provides a layer of abstraction for the objects ofthe connected backend service. You can access the backend's objects only through this abstraction. The abstraction is exposed to you as actions. AnAction is a first class function that is made available to the integration through the connector interface. An action lets you make changes to an entity or entities, and varies from connector to connector. However, it is possible that a connector doesn't support any action, in which case theActions list will be empty.
Use the Google Docs connection in an integration
After you create the connection, it becomes available in Application Integration. You can use the connection in an integration through theConnectors task.
Get help from the Google Cloud community
You can post your questions and discuss this connector in the Google Cloudcommunity atCloud Forums.What's next
- Understand how tosuspend and resume a connection.
- Understand how tomonitor connector usage.
- Understand how toview connector logs.
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-02-19 UTC.