Google Drive: scope the shared drive and preserve identity
The Google Drive connector reads a Google Workspace Shared Drive. Its setup and permission model should not be confused with connecting an arbitrary personal folder.
Understand the idea
Use an administrator-approved test shared drive. Record its identifier and the files in scope. Follow the current setup guide for the required Google identity, API access, permissions and runtime endpoints; do not borrow an employee’s interactive login as the integration design.
| Concept | What it means |
|---|---|
| Shared drive | The approved Workspace source for this connector. |
| Stable document ID | Identity that survives changes to a display title. |
| Explicit permission | A named user or group grant. |
| Reconciliation | Comparing source scope with destination state. |
A concrete example
Use an administrator-approved test shared drive. Record its identifier and the files in scope. Follow the current setup guide for the required Google identity, API access, permissions and runtime endpoints; do not borrow an employee’s interactive login as the integration design.
Remember: Identity must include the source namespace; identical titles or IDs across sources must not collapse into one document.
Explain it step by step · full theory
Understand the idea
Use an administrator-approved test shared drive. Record its identifier and the files in scope. Follow the current setup guide for the required Google identity, API access, permissions and runtime endpoints; do not borrow an employee’s interactive login as the integration design.
Keep source system and document ID together as the business key. A SharePoint file and a Drive file can share a title without representing the same document. Titles are for display, not deduplication.
Apply it carefully
For optional live practice, install the supported connector in the approved runtime, provide its protected credentials and source/destination parameters, then sync one supported file. Update its content and explicit group access and inspect the corresponding outputs. Use actual connector output mappings rather than assuming our lab columns exist.
The documented Google connector supports explicit user/group permissions rather than Anyone-link authentication. Folder moves/renames are not captured during incremental ingestion. These limitations are reasons to plan a source inventory comparison, not to promise complete synchronization without checking.
Words used in this lesson
- Shared drive
- The approved Workspace source for this connector.
- Stable document ID
- Identity that survives changes to a display title.
- Explicit permission
- A named user or group grant.
- Reconciliation
- Comparing source scope with destination state.
See how it works
Choose a step to explore the idea at your own pace.
Open the interactive explanation
Google Drive: scope the shared drive and preserve identity
Follow the flow
The Google Drive connector reads a Google Workspace Shared Drive. Its setup and permission model should not be confused with connecting an arbitrary personal folder.
Automatic playback is off for reduced motion. Select any step or use Previous and Next. Illustrations explain behavior; they are not live measurements.
Read the complete diagram explanation
- Follow the flow
The Google Drive connector reads a Google Workspace Shared Drive. Its setup and permission model should not be confused with connecting an arbitrary personal folder.
- Find the boundary
The documented Google connector supports explicit user/group permissions rather than Anyone-link authentication. Folder moves/renames are not captured during incremental ingestion. These limitations are reasons to plan a source inventory comparison, not to promise complete synchronization without checking.
Try the SQL or command
Read → predict → run in your learning environment → compare. You can also learn by reading without an account.
New to SQL? Where to run it and how to read it
A query is a question written in SQL. Snowflake runs it and returns a result table. This website shows examples; it does not connect to your account.
- No account yet? Read and predict the output first. Follow the account and Snowsight lesson when you are ready.
- For SQL practice, use a learning account in Snowsight and select an authorized role and warehouse. A role determines permissions; a warehouse supplies processing power. Follow the example’s database/schema setup when it refers to stored objects.
- Read the entire example, including comments beginning with
--. Run the selected statement or labeled block in the stated order. Examples labeled Python, shell or HTTP belong in that client, not in a SQL editor. - Compare values and row counts with the explained result. If an example deliberately causes an error, follow its rollback and cleanup steps before continuing.
- SELECT / FROM
- Choose the values to return / identify their input.
- VALUES / COLUMN1
- VALUES supplies tiny example rows. COLUMN1 means their first column, COLUMN2 their second.
- AS / WITH
- AS gives a result a readable name. WITH names a temporary query step within one statement.
- NULL / ::
- NULL means missing or unknown. The :: notation converts a value to a named data type.
- Session
- One connection and its settings. Keep related transaction steps in the same session.
- Database.schema.table
- A full address for stored data. It is separate from the warehouse that processes queries.
Need the L2_OBJECTS_LAB setup? Open the first database-object lesson →
Help with common practice errors
- No active warehouse: select a warehouse your role can use. Do not assume you need to create a new one.
- Object missing or not authorized: check the full name, required setup and active role. Ask the account owner for access if needed.
- Object already exists: setup may already have run. Read the current state or choose a fresh lab name consistently; do not add OR REPLACE blindly.
- Different result: check whether an earlier INSERT or UPDATE changed the data. VALUES examples provide their own fresh input for each statement.
Before running this lesson
SQL practice is manual. The website does not connect to external services. Connector deployment is a separate administrator-assisted exercise.
Hands-on SQL: Google Drive: scope the shared drive and preserve identity
INSERT INTO DOCUMENT_EVENTS VALUES
('GOOGLE_DRIVE','policy-1',1,'Travel policy','UPSERT','STAFF',
'2026-01-01 09:04:00','2026-01-01 09:06:00');
SELECT SOURCE_SYSTEM,DOCUMENT_ID,TITLE FROM DOCUMENT_EVENTS
WHERE DOCUMENT_ID='policy-1' ORDER BY SOURCE_SYSTEM;What to expect and why
Returns two distinct policy-1 documents, one per source. A merge keyed only by DOCUMENT_ID would incorrectly combine them.
Check your understanding
Choose an answer, then check your reasoning. This is practice, not a scored test.
Try it yourself
Explain your decision: What is the correct document key in this lab?
Compare your reasoning
Identity must include the source namespace; identical titles or IDs across sources must not collapse into one document.
Official sources and curriculum
Module 09 · See module scope