@zackbart/connecta 0.34.0 → 0.35.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +393 -0
- package/README.md +62 -105
- package/SECURITY.md +3 -2
- package/bin/connecta.mjs +41 -16
- package/bin/version.mjs +1 -1
- package/dist/access-tokens.d.ts +2 -1
- package/dist/access-tokens.js +66 -30
- package/dist/activity.d.ts +1 -1
- package/dist/activity.js +2 -0
- package/dist/agent-config.d.ts +23 -0
- package/dist/agent-config.js +59 -0
- package/dist/agent-description.js +16 -0
- package/dist/agent-identity.js +4 -4
- package/dist/agent-observation.js +39 -0
- package/dist/auth/clerk-sdk/client.d.ts +2 -0
- package/dist/auth/clerk-sdk/generated.js +554 -563
- package/dist/auth/clerk-transport.js +70 -3
- package/dist/auth/clerk.d.ts +13 -0
- package/dist/auth/clerk.js +653 -246
- package/dist/auth/cloudflare-access.js +46 -42
- package/dist/auth/downstream-client-metadata.js +2 -2
- package/dist/auth/downstream-oauth.js +2051 -1160
- package/dist/auth/downstream-revocation.js +88 -88
- package/dist/auth/native-call.js +20 -0
- package/dist/auth/native.js +184 -0
- package/dist/auth/oauth-start-reset.js +11 -5
- package/dist/auth/oauth-token-response.js +121 -102
- package/dist/auth/oauth-v2-migration.js +97 -78
- package/dist/auth/renewable-grant.js +10 -0
- package/dist/auth/static-oauth.js +663 -271
- package/dist/auth/vercel-agent.js +266 -0
- package/dist/auth-admission.js +204 -0
- package/dist/auth-elicitation.js +350 -241
- package/dist/authorization-handoff.js +164 -90
- package/dist/call-admission-context.js +3 -10
- package/dist/call-admission.js +2 -0
- package/dist/call-classification.js +9 -0
- package/dist/call-recovery.js +32 -13
- package/dist/canonical-json.js +8 -0
- package/dist/catalog-cache.js +369 -213
- package/dist/catalog-service.js +659 -530
- package/dist/catalog.js +5 -1
- package/dist/concurrency.js +0 -25
- package/dist/config-defaults.d.ts +1 -0
- package/dist/config-defaults.js +1 -0
- package/dist/config-schema.d.ts +3 -1
- package/dist/config-schema.js +13 -3
- package/dist/config.d.ts +40 -6
- package/dist/config.js +40 -26
- package/dist/connector-caller.d.ts +4 -0
- package/dist/connector-caller.js +17 -4
- package/dist/connectors/api-connector.d.ts +15 -7
- package/dist/connectors/api-connector.js +147 -57
- package/dist/connectors/guarded-fetch.d.ts +51 -17
- package/dist/connectors/guarded-fetch.js +215 -121
- package/dist/connectors/negotiation-cache.js +20 -10
- package/dist/connectors/option-shapes.js +1 -1
- package/dist/connectors/remote-mcp.d.ts +12 -30
- package/dist/connectors/remote-mcp.js +960 -564
- package/dist/d1.js +10 -243
- package/dist/derived-context.js +5 -0
- package/dist/describe-config.d.ts +5 -1
- package/dist/describe-config.js +3 -0
- package/dist/downstream-input.js +347 -260
- package/dist/errors.d.ts +87 -6
- package/dist/errors.js +114 -4
- package/dist/execute.js +87 -50
- package/dist/executor-admission.js +3 -0
- package/dist/executors/quickjs.js +163 -112
- package/dist/guarded-transport.js +50 -0
- package/dist/guest-runtime.js +1 -1
- package/dist/http/client.js +439 -0
- package/dist/http/errors.js +558 -0
- package/dist/http/fields.js +49 -0
- package/dist/http/hatch-paging.js +318 -0
- package/dist/http/hatch.js +1279 -0
- package/dist/http/json-schema.js +267 -0
- package/dist/http/node-transport.js +241 -0
- package/dist/http/oauth.js +162 -0
- package/dist/http/paging.js +228 -0
- package/dist/http/provider.js +221 -0
- package/dist/http/safety.js +82 -0
- package/dist/http/services.js +79 -0
- package/dist/http/tools.js +383 -0
- package/dist/http/vendor-index.js +138 -0
- package/dist/http/vendor.js +448 -0
- package/dist/http/write-request.js +66 -0
- package/dist/http-policy.d.ts +11 -0
- package/dist/http-policy.js +45 -0
- package/dist/inbound-credential.js +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js +4 -0
- package/dist/invocation-auth.js +30 -19
- package/dist/invocation.js +221 -87
- package/dist/mcp-result.js +0 -4
- package/dist/membership.d.ts +4 -0
- package/dist/meta-output.js +1 -1
- package/dist/meta-tools.js +534 -408
- package/dist/native-recovery.js +52 -0
- package/dist/native-tools.js +382 -0
- package/dist/node.d.ts +4 -3
- package/dist/node.js +45 -8
- package/dist/oauth-handoff.js +177 -104
- package/dist/oauth-partition.js +6 -20
- package/dist/oauth-sealing.js +6 -7
- package/dist/operation-vocabulary.js +101 -0
- package/dist/operator-record.d.ts +2 -2
- package/dist/operator-record.js +17 -4
- package/dist/operator-ui/agents.d.ts +5 -4
- package/dist/operator-ui/agents.js +17 -7
- package/dist/operator-ui/config-summary.js +8 -4
- package/dist/operator-ui/connection-map.js +9 -6
- package/dist/operator-ui/contract.d.ts +7 -3
- package/dist/operator-ui/endpoints.js +5 -14
- package/dist/operator-ui/fix-prompts.d.ts +1 -1
- package/dist/operator-ui/fix-prompts.js +0 -8
- package/dist/operator-ui/generated.js +3 -3
- package/dist/operator-ui/health.js +52 -0
- package/dist/operator-ui/model.d.ts +2 -3
- package/dist/operator-ui/overview.js +11 -19
- package/dist/operator-ui/setup-commands.js +0 -4
- package/dist/operator-ui/view.d.ts +5 -29
- package/dist/operator-ui/view.js +3 -59
- package/dist/program-writes.js +47 -26
- package/dist/provider-call-facts.d.ts +115 -0
- package/dist/provider-call-facts.js +182 -0
- package/dist/provider-call.d.ts +112 -0
- package/dist/provider-call.js +271 -0
- package/dist/provider.d.ts +71 -32
- package/dist/provider.js +134 -40
- package/dist/providers/_shared/google/hatch.js +91 -0
- package/dist/providers/_shared/google/kit.js +537 -0
- package/dist/providers/_shared/google/result-size.js +15 -2
- package/dist/providers/_shared/google/service-account.d.ts +2 -1
- package/dist/providers/_shared/google/service-account.js +8 -4
- package/dist/providers/_shared/google/workspace.d.ts +8 -209
- package/dist/providers/_shared/google/workspace.js +7 -426
- package/dist/providers/_shared/rest/compact-index.js +86 -0
- package/dist/providers/_shared/rest/dispatch.js +3 -23
- package/dist/providers/_shared/rest/kit.js +546 -0
- package/dist/providers/_shared/rest/operation-index.js +230 -14
- package/dist/providers/_shared/rest/response-media.js +11 -0
- package/dist/providers/_shared/rest/tools.js +101 -78
- package/dist/providers/_shared/rest/value-safety.js +353 -195
- package/dist/providers/_shared/sensitive-fields.js +27 -0
- package/dist/providers/breeze/api.js +584 -0
- package/dist/providers/breeze/index.d.ts +3 -3
- package/dist/providers/breeze/index.js +67 -1420
- package/dist/providers/breeze/openapi.generated.js +60 -0
- package/dist/providers/breeze/skill.generated.js +2 -6
- package/dist/providers/breeze/tools.js +696 -0
- package/dist/providers/ccb/api.js +496 -0
- package/dist/providers/ccb/index.d.ts +17 -37
- package/dist/providers/ccb/index.js +77 -1702
- package/dist/providers/ccb/lib/constants.d.ts +34 -0
- package/dist/providers/ccb/lib/constants.js +74 -0
- package/dist/providers/ccb/lib/guide.js +9 -0
- package/dist/providers/ccb/lib/verdicts.js +387 -0
- package/dist/providers/ccb/openapi.generated.js +397 -0
- package/dist/providers/ccb/safety.js +295 -0
- package/dist/providers/ccb/skill.generated.js +2 -6
- package/dist/providers/ccb/tools.js +853 -0
- package/dist/providers/cloudflare/api.js +1066 -0
- package/dist/providers/cloudflare/index.d.ts +7 -22
- package/dist/providers/cloudflare/index.js +80 -194
- package/dist/providers/cloudflare/lib/config.d.ts +16 -0
- package/dist/providers/cloudflare/lib/config.js +2 -0
- package/dist/providers/cloudflare/lib/discovery.js +29 -0
- package/dist/providers/cloudflare/{graphql.js → lib/graphql.js} +1 -1
- package/dist/providers/cloudflare/lib/hatch.js +103 -0
- package/dist/providers/cloudflare/lib/path-bounds.js +28 -0
- package/dist/providers/cloudflare/lib/response-media.js +75 -0
- package/dist/providers/cloudflare/openapi.generated.js +3299 -3208
- package/dist/providers/cloudflare/{value-safety.js → safety.js} +538 -18
- package/dist/providers/cloudflare/skill.generated.js +2 -10
- package/dist/providers/cloudflare/tools.js +360 -0
- package/dist/providers/docs/api.js +51 -0
- package/dist/providers/docs/index.d.ts +1 -12
- package/dist/providers/docs/index.js +53 -1165
- package/dist/providers/docs/lib/constants.d.ts +18 -0
- package/dist/providers/docs/lib/constants.js +18 -0
- package/dist/providers/docs/lib/discovery.js +26 -0
- package/dist/providers/docs/lib/requests.js +48 -0
- package/dist/providers/docs/lib/schemas.js +168 -0
- package/dist/providers/docs/openapi.generated.js +16 -0
- package/dist/providers/docs/safety.js +54 -0
- package/dist/providers/docs/skill.generated.js +2 -6
- package/dist/providers/docs/tools.js +802 -0
- package/dist/providers/drive/api.js +177 -0
- package/dist/providers/drive/index.d.ts +1 -12
- package/dist/providers/drive/index.js +38 -1448
- package/dist/providers/drive/lib/constants.d.ts +6 -0
- package/dist/providers/drive/lib/constants.js +6 -0
- package/dist/providers/drive/lib/contracts.js +532 -0
- package/dist/providers/drive/lib/hatch.js +197 -0
- package/dist/providers/drive/openapi.generated.js +77 -0
- package/dist/providers/drive/safety.js +90 -0
- package/dist/providers/drive/skill.generated.js +2 -6
- package/dist/providers/drive/tools.js +1290 -0
- package/dist/providers/forms/api.js +71 -0
- package/dist/providers/forms/index.d.ts +1 -12
- package/dist/providers/forms/index.js +49 -1145
- package/dist/providers/forms/lib/constants.d.ts +14 -0
- package/dist/providers/forms/lib/constants.js +19 -0
- package/dist/providers/forms/lib/hatch.js +72 -0
- package/dist/providers/forms/openapi.generated.js +23 -0
- package/dist/providers/forms/safety.js +34 -0
- package/dist/providers/forms/skill.generated.js +2 -8
- package/dist/providers/forms/tools.js +1024 -0
- package/dist/providers/github/api.js +150 -0
- package/dist/providers/github/index.d.ts +4 -5
- package/dist/providers/github/index.js +30 -87
- package/dist/providers/github/{auth.d.ts → lib/auth.d.ts} +5 -3
- package/dist/providers/github/{auth.js → lib/auth.js} +40 -43
- package/dist/providers/github/lib/discovery.js +132 -0
- package/dist/providers/github/lib/operations.js +58 -0
- package/dist/providers/github/{scope.d.ts → lib/scope.d.ts} +2 -0
- package/dist/providers/github/{scope.js → lib/scope.js} +25 -1
- package/dist/providers/github/openapi.generated.js +1216 -0
- package/dist/providers/github/safety.js +216 -0
- package/dist/providers/github/skill.generated.js +2 -5
- package/dist/providers/github/tools.js +506 -0
- package/dist/providers/gmail/api.js +114 -0
- package/dist/providers/gmail/index.d.ts +1 -12
- package/dist/providers/gmail/index.js +73 -1621
- package/dist/providers/gmail/lib/constants.d.ts +13 -0
- package/dist/providers/gmail/lib/constants.js +16 -0
- package/dist/providers/gmail/lib/index.js +173 -0
- package/dist/providers/gmail/lib/schemas.js +176 -0
- package/dist/providers/gmail/lib/threading.js +120 -0
- package/dist/providers/gmail/openapi.generated.js +92 -0
- package/dist/providers/gmail/safety.js +21 -0
- package/dist/providers/gmail/skill.generated.js +2 -6
- package/dist/providers/gmail/tools.js +1435 -0
- package/dist/providers/overflow/api.js +1008 -0
- package/dist/providers/overflow/index.d.ts +3 -17
- package/dist/providers/overflow/index.js +60 -1488
- package/dist/providers/overflow/skill.generated.js +2 -5
- package/dist/providers/overflow/tools.js +873 -0
- package/dist/providers/planning-center/api.js +467 -0
- package/dist/providers/planning-center/index.d.ts +6 -35
- package/dist/providers/planning-center/index.js +69 -2445
- package/dist/providers/planning-center/lib/constants.d.ts +58 -0
- package/dist/providers/planning-center/lib/constants.js +83 -0
- package/dist/providers/planning-center/lib/discovery.js +40 -0
- package/dist/providers/planning-center/lib/guide.js +39 -0
- package/dist/providers/planning-center/lib/json-api.js +83 -0
- package/dist/providers/planning-center/lib/verdicts.js +1758 -0
- package/dist/providers/planning-center/openapi.generated.js +1764 -0
- package/dist/providers/planning-center/safety.js +188 -0
- package/dist/providers/planning-center/skill.generated.js +2 -27
- package/dist/providers/planning-center/tools.js +1010 -0
- package/dist/providers/sheets/api.js +133 -0
- package/dist/providers/sheets/index.d.ts +4 -16
- package/dist/providers/sheets/index.js +61 -1172
- package/dist/providers/sheets/lib/constants.d.ts +14 -0
- package/dist/providers/sheets/lib/constants.js +14 -0
- package/dist/providers/sheets/lib/hatch.js +163 -0
- package/dist/providers/sheets/lib/requests.js +105 -0
- package/dist/providers/sheets/lib/schemas.js +138 -0
- package/dist/providers/sheets/openapi.generated.js +30 -0
- package/dist/providers/sheets/safety.js +27 -0
- package/dist/providers/sheets/skill.generated.js +2 -7
- package/dist/providers/sheets/tools.js +734 -0
- package/dist/providers/slides/api.js +147 -0
- package/dist/providers/slides/index.d.ts +2 -10
- package/dist/providers/slides/index.js +48 -2555
- package/dist/providers/slides/lib/constants.d.ts +11 -0
- package/dist/providers/slides/lib/constants.js +11 -0
- package/dist/providers/slides/lib/requests.js +60 -0
- package/dist/providers/slides/lib/schemas.js +565 -0
- package/dist/providers/slides/openapi.generated.js +18 -0
- package/dist/providers/slides/skill.generated.js +2 -6
- package/dist/providers/slides/tools.js +1968 -0
- package/dist/providers/stripe/api.js +401 -0
- package/dist/providers/stripe/index.d.ts +7 -27
- package/dist/providers/stripe/index.js +75 -191
- package/dist/providers/stripe/lib/config.d.ts +4 -0
- package/dist/providers/stripe/lib/config.js +2 -0
- package/dist/providers/stripe/openapi.generated.js +4 -3
- package/dist/providers/stripe/{value-safety.js → safety.js} +5 -5
- package/dist/providers/stripe/skill.generated.js +2 -10
- package/dist/providers/stripe/tools.js +77 -0
- package/dist/providers/tithely/api.js +531 -0
- package/dist/providers/tithely/index.d.ts +19 -0
- package/dist/providers/tithely/index.js +86 -965
- package/dist/providers/tithely/skill.generated.js +2 -5
- package/dist/providers/tithely/tools.js +426 -0
- package/dist/providers/vercel/api.js +551 -0
- package/dist/providers/vercel/index.d.ts +11 -25
- package/dist/providers/vercel/index.js +67 -261
- package/dist/providers/vercel/lib/config.d.ts +2 -0
- package/dist/providers/vercel/lib/config.js +2 -0
- package/dist/providers/vercel/lib/index.js +117 -0
- package/dist/providers/vercel/lib/logs.js +100 -0
- package/dist/providers/vercel/lib/pin.js +270 -0
- package/dist/providers/vercel/openapi.generated.js +398 -376
- package/dist/providers/vercel/{value-safety.js → safety.js} +261 -42
- package/dist/providers/vercel/skill.generated.js +2 -7
- package/dist/providers/vercel/tools.js +642 -0
- package/dist/redaction-identity.js +47 -0
- package/dist/redaction-marker.js +125 -0
- package/dist/registry.d.ts +30 -28
- package/dist/registry.js +446 -413
- package/dist/routes/access-tokens.js +1 -1
- package/dist/routes/actor-labels.js +1 -1
- package/dist/routes/connect.js +1 -1
- package/dist/routes/dispatch.js +103 -0
- package/dist/routes/mcp.js +170 -79
- package/dist/routes/oauth.js +3 -1
- package/dist/routes/operator.js +2 -2
- package/dist/routes/shared.d.ts +5 -4
- package/dist/routes/shared.js +244 -177
- package/dist/routes/skills.js +10 -8
- package/dist/routes/ui-config.js +27 -3
- package/dist/routes/ui-data.js +29 -22
- package/dist/routes/ui.js +1 -1
- package/dist/runtime/call-admission.js +0 -26
- package/dist/runtime/call-entry.js +30 -0
- package/dist/runtime/call.js +556 -0
- package/dist/runtime/connector-scope.js +7 -0
- package/dist/runtime/credential-probe.js +34 -0
- package/dist/runtime/executor.js +40 -0
- package/dist/runtime/native-storage.js +63 -0
- package/dist/runtime/registry.js +27 -0
- package/dist/runtime/request-scope.js +72 -0
- package/dist/runtime/run.js +15 -7
- package/dist/runtime/shared-read.js +34 -5
- package/dist/runtime/storage.js +34 -21
- package/dist/sent-secrets.d.ts +194 -37
- package/dist/sent-secrets.js +1743 -340
- package/dist/server.js +5 -56
- package/dist/skills.js +330 -224
- package/dist/sqlite.js +15 -14
- package/dist/storage/d1-copy.js +255 -0
- package/dist/storage/d1-driver.js +15 -0
- package/dist/storage/keys.js +28 -0
- package/dist/storage/sql-driver.js +88 -0
- package/dist/storage/sql-native.js +544 -0
- package/dist/storage/sql-schema.d.ts +6 -0
- package/dist/storage/sql-schema.js +15 -0
- package/dist/storage/sql.d.ts +14 -20
- package/dist/storage/sql.js +29 -535
- package/dist/timeout.js +0 -26
- package/dist/tool-safety.js +20 -10
- package/dist/types.d.ts +11 -99
- package/dist/upward.js +3 -0
- package/dist/usage-guide.js +3 -1
- package/dist/validate.d.ts +4 -2
- package/dist/validate.js +86 -9
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/dist/worker.js +312 -292
- package/dist/workspace-subject.js +5 -1
- package/dist/write-outcome.js +454 -34
- package/documentation/README.md +27 -7
- package/documentation/architecture.md +2550 -186
- package/documentation/auth.md +821 -98
- package/documentation/code-mode.md +56 -21
- package/documentation/deploying.md +164 -20
- package/documentation/hosted-mcp-migration.md +460 -0
- package/documentation/integrating.md +144 -105
- package/documentation/meta-tools.md +411 -34
- package/documentation/operating.md +28 -4
- package/documentation/operator-tests.md +11 -2
- package/documentation/operator-ui.md +103 -33
- package/documentation/provider-auth-migration.md +38 -63
- package/documentation/provider-migration-0.29.md +10 -5
- package/documentation/provider-migration-0.35.md +975 -0
- package/documentation/providers.md +965 -0
- package/examples/worker/AGENTS.md +23 -9
- package/examples/worker/README.md +254 -135
- package/examples/worker/alchemy.run.ts +116 -0
- package/examples/worker/gitignore +10 -0
- package/examples/worker/src/connecta.config.ts +23 -21
- package/examples/worker/wrangler.jsonc +14 -5
- package/guides/connecting-agents.md +157 -0
- package/guides/how-it-works.md +156 -0
- package/guides/safety-and-trust.md +153 -0
- package/package.json +27 -42
- package/templates/node/.env.example +3 -0
- package/templates/node/README.md +22 -2
- package/templates/node/docker-compose.yml +1 -0
- package/templates/node/package.json +3 -2
- package/templates/node/src/connecta.config.ts +8 -0
- package/dist/catalog-drift.d.ts +0 -134
- package/dist/catalog-drift.js +0 -493
- package/dist/providers/_shared/request-token.js +0 -83
- package/dist/providers/_shared/rest/operation-index.d.ts +0 -133
- package/dist/providers/_shared/rest/tools.d.ts +0 -141
- package/dist/providers/_shared/rest/value-safety.d.ts +0 -201
- package/dist/providers/basecamp/index.d.ts +0 -43
- package/dist/providers/basecamp/index.js +0 -997
- package/dist/providers/basecamp/skill.generated.js +0 -9
- package/dist/providers/cloudflare/rest.d.ts +0 -37
- package/dist/providers/cloudflare/rest.js +0 -1078
- package/dist/providers/github/hosted.js +0 -218
- package/dist/providers/github/rest.js +0 -321
- package/dist/providers/infisical/index.d.ts +0 -7
- package/dist/providers/infisical/index.js +0 -713
- package/dist/providers/infisical/skill.generated.js +0 -8
- package/dist/providers/linear/index.d.ts +0 -55
- package/dist/providers/linear/index.js +0 -352
- package/dist/providers/linear/skill.generated.js +0 -8
- package/dist/providers/mixpanel/index.d.ts +0 -57
- package/dist/providers/mixpanel/index.js +0 -468
- package/dist/providers/mixpanel/operations.js +0 -20
- package/dist/providers/mixpanel/rest.js +0 -603
- package/dist/providers/mixpanel/skill.generated.js +0 -10
- package/dist/providers/mixpanel/value-safety.js +0 -16
- package/dist/providers/notion/index.d.ts +0 -65
- package/dist/providers/notion/index.js +0 -368
- package/dist/providers/notion/openapi.generated.js +0 -75
- package/dist/providers/notion/rest.d.ts +0 -24
- package/dist/providers/notion/rest.js +0 -1226
- package/dist/providers/notion/skill.generated.js +0 -11
- package/dist/providers/notion/value-safety.js +0 -56
- package/dist/providers/revenuecat/index.d.ts +0 -49
- package/dist/providers/revenuecat/index.js +0 -557
- package/dist/providers/revenuecat/skill.generated.js +0 -11
- package/dist/providers/stripe/rest.d.ts +0 -14
- package/dist/providers/stripe/rest.js +0 -402
- package/dist/providers/vercel/rest.d.ts +0 -20
- package/dist/providers/vercel/rest.js +0 -1020
- package/dist/providers/wispr-flow/index.d.ts +0 -14
- package/dist/providers/wispr-flow/index.js +0 -117
- package/dist/providers/wispr-flow/skill.generated.js +0 -8
- /package/dist/providers/github/{key.js → lib/key.js} +0 -0
|
@@ -0,0 +1,197 @@
|
|
|
1
|
+
// Full frozen inventory; every callable method has a literal reviewed verdict.
|
|
2
|
+
import { googlePageToken } from "../../../http/hatch-paging.js";
|
|
3
|
+
import { googleHatchBinding } from "../../_shared/google/hatch.js";
|
|
4
|
+
import { OperationIndex } from "../../_shared/rest/operation-index.js";
|
|
5
|
+
import { openapi } from "../openapi.generated.js";
|
|
6
|
+
export const driveIndex = new OperationIndex(openapi, {
|
|
7
|
+
vendor: "drive",
|
|
8
|
+
title: "Google Drive",
|
|
9
|
+
pathMatching: "uri-template",
|
|
10
|
+
});
|
|
11
|
+
export const DRIVE_REFUSALS = {
|
|
12
|
+
"GET /apps": "This operation has not been admitted to the narrow Drive execution allowlist; use the named file and permission workflows.",
|
|
13
|
+
"GET /apps/{appId}": "This operation has not been admitted to the narrow Drive execution allowlist; use the named file and permission workflows.",
|
|
14
|
+
"GET /changes": "This operation has not been admitted to the narrow Drive execution allowlist; use the named file and permission workflows.",
|
|
15
|
+
"GET /changes/startPageToken": "This operation has not been admitted to the narrow Drive execution allowlist; use the named file and permission workflows.",
|
|
16
|
+
"POST /changes/watch": "Persistent watch delivery and channel administration are outside this connection.",
|
|
17
|
+
"POST /channels/stop": "Persistent watch delivery and channel administration are outside this connection.",
|
|
18
|
+
"POST /drives": "Shared-drive administration and ownership changes are outside this connection; list_shared_drives reads membership.",
|
|
19
|
+
"DELETE /drives/{driveId}": "Shared-drive administration and ownership changes are outside this connection; list_shared_drives reads membership.",
|
|
20
|
+
"GET /drives/{driveId}": "Shared-drive administration and ownership changes are outside this connection; list_shared_drives reads membership.",
|
|
21
|
+
"PATCH /drives/{driveId}": "Shared-drive administration and ownership changes are outside this connection; list_shared_drives reads membership.",
|
|
22
|
+
"POST /drives/{driveId}/hide": "Shared-drive administration and ownership changes are outside this connection; list_shared_drives reads membership.",
|
|
23
|
+
"POST /drives/{driveId}/unhide": "Shared-drive administration and ownership changes are outside this connection; list_shared_drives reads membership.",
|
|
24
|
+
"GET /files/generateCseToken": "Credential minting is outside this connection; no CSE access token is returned.",
|
|
25
|
+
"GET /files/generateIds": "This operation has not been admitted to the narrow Drive execution allowlist; use the named file and permission workflows.",
|
|
26
|
+
"DELETE /files/trash": "Permanent deletion is outside this connection; use trash_file for recoverable trash.",
|
|
27
|
+
"DELETE /files/{fileId}": "Permanent deletion is outside this connection; use trash_file for recoverable trash.",
|
|
28
|
+
"GET /files/{fileId}/accessproposals": "Approval and access-proposal workflows require separate review and are outside this connection.",
|
|
29
|
+
"GET /files/{fileId}/accessproposals/{proposalId}": "Approval and access-proposal workflows require separate review and are outside this connection.",
|
|
30
|
+
"POST /files/{fileId}/accessproposals/{proposalId}:resolve": "Approval and access-proposal workflows require separate review and are outside this connection.",
|
|
31
|
+
"GET /files/{fileId}/approvals": "Approval and access-proposal workflows require separate review and are outside this connection.",
|
|
32
|
+
"GET /files/{fileId}/approvals/{approvalId}": "Approval and access-proposal workflows require separate review and are outside this connection.",
|
|
33
|
+
"POST /files/{fileId}/approvals/{approvalId}:approve": "Approval and access-proposal workflows require separate review and are outside this connection.",
|
|
34
|
+
"POST /files/{fileId}/approvals/{approvalId}:cancel": "Approval and access-proposal workflows require separate review and are outside this connection.",
|
|
35
|
+
"POST /files/{fileId}/approvals/{approvalId}:comment": "Approval and access-proposal workflows require separate review and are outside this connection.",
|
|
36
|
+
"POST /files/{fileId}/approvals/{approvalId}:decline": "Approval and access-proposal workflows require separate review and are outside this connection.",
|
|
37
|
+
"POST /files/{fileId}/approvals/{approvalId}:reassign": "Approval and access-proposal workflows require separate review and are outside this connection.",
|
|
38
|
+
"POST /files/{fileId}/approvals:start": "Approval and access-proposal workflows require separate review and are outside this connection.",
|
|
39
|
+
"GET /files/{fileId}/comments": "This operation has not been admitted to the narrow Drive execution allowlist; use the named file and permission workflows.",
|
|
40
|
+
"POST /files/{fileId}/comments": "This operation has not been admitted to the narrow Drive execution allowlist; use the named file and permission workflows.",
|
|
41
|
+
"DELETE /files/{fileId}/comments/{commentId}": "This operation has not been admitted to the narrow Drive execution allowlist; use the named file and permission workflows.",
|
|
42
|
+
"GET /files/{fileId}/comments/{commentId}": "This operation has not been admitted to the narrow Drive execution allowlist; use the named file and permission workflows.",
|
|
43
|
+
"PATCH /files/{fileId}/comments/{commentId}": "This operation has not been admitted to the narrow Drive execution allowlist; use the named file and permission workflows.",
|
|
44
|
+
"GET /files/{fileId}/comments/{commentId}/replies": "This operation has not been admitted to the narrow Drive execution allowlist; use the named file and permission workflows.",
|
|
45
|
+
"POST /files/{fileId}/comments/{commentId}/replies": "This operation has not been admitted to the narrow Drive execution allowlist; use the named file and permission workflows.",
|
|
46
|
+
"DELETE /files/{fileId}/comments/{commentId}/replies/{replyId}": "This operation has not been admitted to the narrow Drive execution allowlist; use the named file and permission workflows.",
|
|
47
|
+
"GET /files/{fileId}/comments/{commentId}/replies/{replyId}": "This operation has not been admitted to the narrow Drive execution allowlist; use the named file and permission workflows.",
|
|
48
|
+
"PATCH /files/{fileId}/comments/{commentId}/replies/{replyId}": "This operation has not been admitted to the narrow Drive execution allowlist; use the named file and permission workflows.",
|
|
49
|
+
"POST /files/{fileId}/download": "Media transport and private download destinations are outside the hatch; use get_file_content for bounded safe content.",
|
|
50
|
+
"GET /files/{fileId}/export": "Media transport and private download destinations are outside the hatch; use get_file_content for bounded safe content.",
|
|
51
|
+
"GET /files/{fileId}/listLabels": "This operation has not been admitted to the narrow Drive execution allowlist; use the named file and permission workflows.",
|
|
52
|
+
"POST /files/{fileId}/modifyLabels": "This operation has not been admitted to the narrow Drive execution allowlist; use the named file and permission workflows.",
|
|
53
|
+
"POST /files/{fileId}/permissions": "Use share_file for every grant; it validates the grantee and defaults notification email to false. The pinned Discovery marks emailAddress and domain output-only.",
|
|
54
|
+
"DELETE /files/{fileId}/revisions/{revisionId}": "Revision mutations can remove retained content or change publication; only revision metadata reads are admitted.",
|
|
55
|
+
"PATCH /files/{fileId}/revisions/{revisionId}": "Revision mutations can remove retained content or change publication; only revision metadata reads are admitted.",
|
|
56
|
+
"POST /files/{fileId}/watch": "Persistent watch delivery and channel administration are outside this connection.",
|
|
57
|
+
"GET /operations/{name}": "Media transport and private download destinations are outside the hatch; use get_file_content for bounded safe content.",
|
|
58
|
+
"GET /teamdrives": "Shared-drive administration and ownership changes are outside this connection; list_shared_drives reads membership.",
|
|
59
|
+
"POST /teamdrives": "Shared-drive administration and ownership changes are outside this connection; list_shared_drives reads membership.",
|
|
60
|
+
"DELETE /teamdrives/{teamDriveId}": "Shared-drive administration and ownership changes are outside this connection; list_shared_drives reads membership.",
|
|
61
|
+
"GET /teamdrives/{teamDriveId}": "Shared-drive administration and ownership changes are outside this connection; list_shared_drives reads membership.",
|
|
62
|
+
"PATCH /teamdrives/{teamDriveId}": "Shared-drive administration and ownership changes are outside this connection; list_shared_drives reads membership.",
|
|
63
|
+
};
|
|
64
|
+
const ROLES = ["reader", "commenter", "writer", "fileOrganizer", "organizer"];
|
|
65
|
+
function guard(call) {
|
|
66
|
+
const refused = DRIVE_REFUSALS[`${call.method} ${call.op.path}`];
|
|
67
|
+
if (refused)
|
|
68
|
+
return refused;
|
|
69
|
+
for (const name of ["transferOwnership", "moveToNewOwnersRoot", "useDomainAdminAccess", "enforceSingleParent"])
|
|
70
|
+
if (Object.hasOwn(call.query, name))
|
|
71
|
+
return `${name} is outside the Drive hatch; ownership and administrator authority cannot be changed.`;
|
|
72
|
+
if (call.method === "GET" || call.method === "DELETE")
|
|
73
|
+
return undefined;
|
|
74
|
+
const body = call.body && typeof call.body === "object" && !Array.isArray(call.body)
|
|
75
|
+
? call.body
|
|
76
|
+
: {};
|
|
77
|
+
if (call.op.path.endsWith("/permissions/{permissionId}")) {
|
|
78
|
+
if (Object.keys(body).some((key) => !["role", "allowFileDiscovery", "expirationTime"].includes(key)))
|
|
79
|
+
return "Only role, allowFileDiscovery and expirationTime may change; use update_permission for the named workflow.";
|
|
80
|
+
if (body["role"] !== undefined && !ROLES.includes(String(body["role"])))
|
|
81
|
+
return "Ownership and pending ownership are never granted; choose a non-owner permission role.";
|
|
82
|
+
if (!Object.keys(body).length && call.query["removeExpiration"] !== true)
|
|
83
|
+
return "Pass a reviewed permission change; an empty update is not sent.";
|
|
84
|
+
}
|
|
85
|
+
else {
|
|
86
|
+
if (body["parents"] !== undefined &&
|
|
87
|
+
(!Array.isArray(body["parents"]) ||
|
|
88
|
+
body["parents"].some((id) => typeof id !== "string" || !/^[A-Za-z0-9_-]{1,256}$/.test(id))))
|
|
89
|
+
return "File parents must be original Drive ids or root, never withheld or altered values.";
|
|
90
|
+
if (body["mimeType"] !== undefined &&
|
|
91
|
+
(typeof body["mimeType"] !== "string" || !/^[A-Za-z0-9][\w.+-]*\/[A-Za-z0-9][\w.+-]*$/.test(body["mimeType"])))
|
|
92
|
+
return "mimeType must be an original bare media type, never a withheld or altered value.";
|
|
93
|
+
if (Object.keys(body).some((key) => !["name", "description", "mimeType", "parents", "trashed", "starred", "properties", "appProperties"].includes(key)))
|
|
94
|
+
return "Only reviewed file metadata may change; use create_file or update_file_content for media and share_file for grants.";
|
|
95
|
+
}
|
|
96
|
+
return undefined;
|
|
97
|
+
}
|
|
98
|
+
export function driveBinding(connection) {
|
|
99
|
+
return googleHatchBinding(connection, {
|
|
100
|
+
index: driveIndex,
|
|
101
|
+
review: "Thirteen reviewed JSON metadata methods on the confined delegated Drive connection; grants remain named-only, with no permanent deletion, ownership transfer, media, watches or credential minting.",
|
|
102
|
+
refusal: (op) => DRIVE_REFUSALS[`${op.method} ${op.path}`],
|
|
103
|
+
refuse: guard,
|
|
104
|
+
});
|
|
105
|
+
}
|
|
106
|
+
export const DRIVE_HATCH = {
|
|
107
|
+
name: "drive",
|
|
108
|
+
title: "Google Drive",
|
|
109
|
+
index: driveIndex,
|
|
110
|
+
pathExample: "/files/file_123",
|
|
111
|
+
verdicts: {
|
|
112
|
+
"GET /about": "read",
|
|
113
|
+
"GET /apps": "refuse",
|
|
114
|
+
"GET /apps/{appId}": "refuse",
|
|
115
|
+
"GET /changes": "refuse",
|
|
116
|
+
"GET /changes/startPageToken": "refuse",
|
|
117
|
+
"POST /changes/watch": "refuse",
|
|
118
|
+
"POST /channels/stop": "refuse",
|
|
119
|
+
"GET /drives": "read",
|
|
120
|
+
"POST /drives": "refuse",
|
|
121
|
+
"DELETE /drives/{driveId}": "refuse",
|
|
122
|
+
"GET /drives/{driveId}": "refuse",
|
|
123
|
+
"PATCH /drives/{driveId}": "refuse",
|
|
124
|
+
"POST /drives/{driveId}/hide": "refuse",
|
|
125
|
+
"POST /drives/{driveId}/unhide": "refuse",
|
|
126
|
+
"GET /files": "read",
|
|
127
|
+
"POST /files": "destructive",
|
|
128
|
+
"GET /files/generateCseToken": "refuse",
|
|
129
|
+
"GET /files/generateIds": "refuse",
|
|
130
|
+
"DELETE /files/trash": "refuse",
|
|
131
|
+
"DELETE /files/{fileId}": "refuse",
|
|
132
|
+
"GET /files/{fileId}": "read",
|
|
133
|
+
"PATCH /files/{fileId}": "destructive",
|
|
134
|
+
"GET /files/{fileId}/accessproposals": "refuse",
|
|
135
|
+
"GET /files/{fileId}/accessproposals/{proposalId}": "refuse",
|
|
136
|
+
"POST /files/{fileId}/accessproposals/{proposalId}:resolve": "refuse",
|
|
137
|
+
"GET /files/{fileId}/approvals": "refuse",
|
|
138
|
+
"GET /files/{fileId}/approvals/{approvalId}": "refuse",
|
|
139
|
+
"POST /files/{fileId}/approvals/{approvalId}:approve": "refuse",
|
|
140
|
+
"POST /files/{fileId}/approvals/{approvalId}:cancel": "refuse",
|
|
141
|
+
"POST /files/{fileId}/approvals/{approvalId}:comment": "refuse",
|
|
142
|
+
"POST /files/{fileId}/approvals/{approvalId}:decline": "refuse",
|
|
143
|
+
"POST /files/{fileId}/approvals/{approvalId}:reassign": "refuse",
|
|
144
|
+
"POST /files/{fileId}/approvals:start": "refuse",
|
|
145
|
+
"GET /files/{fileId}/comments": "refuse",
|
|
146
|
+
"POST /files/{fileId}/comments": "refuse",
|
|
147
|
+
"DELETE /files/{fileId}/comments/{commentId}": "refuse",
|
|
148
|
+
"GET /files/{fileId}/comments/{commentId}": "refuse",
|
|
149
|
+
"PATCH /files/{fileId}/comments/{commentId}": "refuse",
|
|
150
|
+
"GET /files/{fileId}/comments/{commentId}/replies": "refuse",
|
|
151
|
+
"POST /files/{fileId}/comments/{commentId}/replies": "refuse",
|
|
152
|
+
"DELETE /files/{fileId}/comments/{commentId}/replies/{replyId}": "refuse",
|
|
153
|
+
"GET /files/{fileId}/comments/{commentId}/replies/{replyId}": "refuse",
|
|
154
|
+
"PATCH /files/{fileId}/comments/{commentId}/replies/{replyId}": "refuse",
|
|
155
|
+
"POST /files/{fileId}/copy": "destructive",
|
|
156
|
+
"POST /files/{fileId}/download": "refuse",
|
|
157
|
+
"GET /files/{fileId}/export": "refuse",
|
|
158
|
+
"GET /files/{fileId}/listLabels": "refuse",
|
|
159
|
+
"POST /files/{fileId}/modifyLabels": "refuse",
|
|
160
|
+
"GET /files/{fileId}/permissions": "read",
|
|
161
|
+
"POST /files/{fileId}/permissions": "refuse",
|
|
162
|
+
"DELETE /files/{fileId}/permissions/{permissionId}": "destructive",
|
|
163
|
+
"GET /files/{fileId}/permissions/{permissionId}": "read",
|
|
164
|
+
"PATCH /files/{fileId}/permissions/{permissionId}": "destructive",
|
|
165
|
+
"GET /files/{fileId}/revisions": "read",
|
|
166
|
+
"DELETE /files/{fileId}/revisions/{revisionId}": "refuse",
|
|
167
|
+
"GET /files/{fileId}/revisions/{revisionId}": "read",
|
|
168
|
+
"PATCH /files/{fileId}/revisions/{revisionId}": "refuse",
|
|
169
|
+
"POST /files/{fileId}/watch": "refuse",
|
|
170
|
+
"GET /operations/{name}": "refuse",
|
|
171
|
+
"GET /teamdrives": "refuse",
|
|
172
|
+
"POST /teamdrives": "refuse",
|
|
173
|
+
"DELETE /teamdrives/{teamDriveId}": "refuse",
|
|
174
|
+
"GET /teamdrives/{teamDriveId}": "refuse",
|
|
175
|
+
"PATCH /teamdrives/{teamDriveId}": "refuse",
|
|
176
|
+
},
|
|
177
|
+
named: {
|
|
178
|
+
"GET /files": "search_files",
|
|
179
|
+
"GET /files/{fileId}": "get_file",
|
|
180
|
+
"POST /files": "create_file",
|
|
181
|
+
"PATCH /files/{fileId}": "update_file",
|
|
182
|
+
"POST /files/{fileId}/copy": "copy_file",
|
|
183
|
+
"GET /files/{fileId}/export": "get_file_content",
|
|
184
|
+
"GET /files/{fileId}/permissions": "list_permissions",
|
|
185
|
+
"POST /files/{fileId}/permissions": "share_file",
|
|
186
|
+
"PATCH /files/{fileId}/permissions/{permissionId}": "update_permission",
|
|
187
|
+
"DELETE /files/{fileId}/permissions/{permissionId}": "delete_permission",
|
|
188
|
+
"GET /drives": "list_shared_drives",
|
|
189
|
+
},
|
|
190
|
+
pages: {
|
|
191
|
+
"GET /files": googlePageToken,
|
|
192
|
+
"GET /drives": googlePageToken,
|
|
193
|
+
"GET /files/{fileId}/permissions": googlePageToken,
|
|
194
|
+
"GET /files/{fileId}/revisions": googlePageToken,
|
|
195
|
+
},
|
|
196
|
+
pageCursor: "argument",
|
|
197
|
+
};
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import { compactOpenApi } from "../_shared/rest/compact-index.js";
|
|
2
|
+
export const openapi = compactOpenApi({
|
|
3
|
+
source: "https://www.googleapis.com/discovery/v1/apis/drive/v3/rest",
|
|
4
|
+
revision: "20261020",
|
|
5
|
+
digest: "sha256:1d40cef60f2c8b85c6f9f207affadd4c27bcee9b5d5eb31c9850b88ec5f1ae73",
|
|
6
|
+
version: "v3",
|
|
7
|
+
servers: ["https://www.googleapis.com/drive/v3"],
|
|
8
|
+
tags: ["about", "apps", "changes", "channels", "drives", "files", "accessproposals", "approvals", "comments", "replies", "permissions", "revisions", "operations", "teamdrives"],
|
|
9
|
+
ops: [
|
|
10
|
+
["GET", "/about", "drive.about.get", "Get account storage quota, supported import and export formats.", 0],
|
|
11
|
+
["GET", "/apps", "drive.apps.list", "Refused: List find search apps; outside the reviewed Drive execution allowlist.", 1],
|
|
12
|
+
["GET", "/apps/{appId}", "drive.apps.get", "Refused: Get read retrieve apps; outside the reviewed Drive execution allowlist.", 1],
|
|
13
|
+
["GET", "/changes", "drive.changes.list", "Refused: List find search changes; outside the reviewed Drive execution allowlist.", 2],
|
|
14
|
+
["GET", "/changes/startPageToken", "drive.changes.getStartPageToken", "Refused: get Start Page Token changes; outside the reviewed Drive execution allowlist.", 2],
|
|
15
|
+
["POST", "/changes/watch", "drive.changes.watch", "Refused: watch changes; watch delivery and channels are outside this connection.", 2],
|
|
16
|
+
["POST", "/channels/stop", "drive.channels.stop", "Refused: stop channels; watch delivery and channels are outside this connection.", 3],
|
|
17
|
+
["GET", "/drives", "drive.drives.list", "List shared drives and their ids.", 4],
|
|
18
|
+
["POST", "/drives", "drive.drives.create", "Refused: Create add drives; shared-drive administration is outside this connection.", 4],
|
|
19
|
+
["GET", "/drives/{driveId}", "drive.drives.get", "Refused: Get read retrieve drives; shared-drive administration is outside this connection.", 4],
|
|
20
|
+
["PATCH", "/drives/{driveId}", "drive.drives.update", "Refused: Update edit modify drives; shared-drive administration is outside this connection.", 4],
|
|
21
|
+
["DELETE", "/drives/{driveId}", "drive.drives.delete", "Refused: Delete remove drives; shared-drive administration is outside this connection.", 4],
|
|
22
|
+
["POST", "/drives/{driveId}/hide", "drive.drives.hide", "Refused: hide drives; shared-drive administration is outside this connection.", 4],
|
|
23
|
+
["POST", "/drives/{driveId}/unhide", "drive.drives.unhide", "Refused: unhide drives; shared-drive administration is outside this connection.", 4],
|
|
24
|
+
["GET", "/files", "drive.files.list", "List search find files by name, folder contents, MIME type or modified time.", 5],
|
|
25
|
+
["POST", "/files", "drive.files.create", "Create or save file or folder metadata; upload attachments with named create_file.", 5],
|
|
26
|
+
["GET", "/files/generateCseToken", "drive.files.generateCseToken", "Refused: Generate CSE access token; credential minting is outside this connection.", 5],
|
|
27
|
+
["GET", "/files/generateIds", "drive.files.generateIds", "Refused: generate Ids files; outside the reviewed Drive execution allowlist.", 5],
|
|
28
|
+
["DELETE", "/files/trash", "drive.files.emptyTrash", "Refused: empty Trash files; use trash_file for recoverable trash.", 5],
|
|
29
|
+
["GET", "/files/{fileId}", "drive.files.get", "Get read file metadata, folder parents, sharing and capabilities.", 5],
|
|
30
|
+
["PATCH", "/files/{fileId}", "drive.files.update", "Rename or update file metadata, move files to a folder, trash or restore a file.", 5],
|
|
31
|
+
["DELETE", "/files/{fileId}", "drive.files.delete", "Refused: Delete file permanently; use trash_file for recoverable trash.", 5],
|
|
32
|
+
["GET", "/files/{fileId}/accessproposals", "drive.accessproposals.list", "Refused: List find search accessproposals; approval workflows need separate review.", 6],
|
|
33
|
+
["GET", "/files/{fileId}/accessproposals/{proposalId}", "drive.accessproposals.get", "Refused: Get read retrieve accessproposals; approval workflows need separate review.", 6],
|
|
34
|
+
["POST", "/files/{fileId}/accessproposals/{proposalId}:resolve", "drive.accessproposals.resolve", "Refused: resolve accessproposals; approval workflows need separate review.", 6],
|
|
35
|
+
["GET", "/files/{fileId}/approvals", "drive.approvals.list", "Refused: List find search approvals; approval workflows need separate review.", 7],
|
|
36
|
+
["GET", "/files/{fileId}/approvals/{approvalId}", "drive.approvals.get", "Refused: Get read retrieve approvals; approval workflows need separate review.", 7],
|
|
37
|
+
["POST", "/files/{fileId}/approvals/{approvalId}:approve", "drive.approvals.approve", "Refused: approve approvals; approval workflows need separate review.", 7],
|
|
38
|
+
["POST", "/files/{fileId}/approvals/{approvalId}:cancel", "drive.approvals.cancel", "Refused: cancel approvals; approval workflows need separate review.", 7],
|
|
39
|
+
["POST", "/files/{fileId}/approvals/{approvalId}:comment", "drive.approvals.comment", "Refused: comment approvals; approval workflows need separate review.", 7],
|
|
40
|
+
["POST", "/files/{fileId}/approvals/{approvalId}:decline", "drive.approvals.decline", "Refused: decline approvals; approval workflows need separate review.", 7],
|
|
41
|
+
["POST", "/files/{fileId}/approvals/{approvalId}:reassign", "drive.approvals.reassign", "Refused: reassign approvals; approval workflows need separate review.", 7],
|
|
42
|
+
["POST", "/files/{fileId}/approvals:start", "drive.approvals.start", "Refused: start approvals; approval workflows need separate review.", 7],
|
|
43
|
+
["GET", "/files/{fileId}/comments", "drive.comments.list", "Refused: List find search comments; outside the reviewed Drive execution allowlist.", 8],
|
|
44
|
+
["POST", "/files/{fileId}/comments", "drive.comments.create", "Refused: Create add comments; outside the reviewed Drive execution allowlist.", 8],
|
|
45
|
+
["GET", "/files/{fileId}/comments/{commentId}", "drive.comments.get", "Refused: Get read retrieve comments; outside the reviewed Drive execution allowlist.", 8],
|
|
46
|
+
["PATCH", "/files/{fileId}/comments/{commentId}", "drive.comments.update", "Refused: Update edit modify comments; outside the reviewed Drive execution allowlist.", 8],
|
|
47
|
+
["DELETE", "/files/{fileId}/comments/{commentId}", "drive.comments.delete", "Refused: Delete remove comments; outside the reviewed Drive execution allowlist.", 8],
|
|
48
|
+
["GET", "/files/{fileId}/comments/{commentId}/replies", "drive.replies.list", "Refused: List find search replies; outside the reviewed Drive execution allowlist.", 9],
|
|
49
|
+
["POST", "/files/{fileId}/comments/{commentId}/replies", "drive.replies.create", "Refused: Create add replies; outside the reviewed Drive execution allowlist.", 9],
|
|
50
|
+
["GET", "/files/{fileId}/comments/{commentId}/replies/{replyId}", "drive.replies.get", "Refused: Get read retrieve replies; outside the reviewed Drive execution allowlist.", 9],
|
|
51
|
+
["PATCH", "/files/{fileId}/comments/{commentId}/replies/{replyId}", "drive.replies.update", "Refused: Update edit modify replies; outside the reviewed Drive execution allowlist.", 9],
|
|
52
|
+
["DELETE", "/files/{fileId}/comments/{commentId}/replies/{replyId}", "drive.replies.delete", "Refused: Delete remove replies; outside the reviewed Drive execution allowlist.", 9],
|
|
53
|
+
["POST", "/files/{fileId}/copy", "drive.files.copy", "Copy file into another folder with new name.", 5],
|
|
54
|
+
["POST", "/files/{fileId}/download", "drive.files.download", "Refused: download files; use get_file_content for bounded safe content.", 5],
|
|
55
|
+
["GET", "/files/{fileId}/export", "drive.files.export", "Refused: export files; use get_file_content for bounded safe content.", 5],
|
|
56
|
+
["GET", "/files/{fileId}/listLabels", "drive.files.listLabels", "Refused: list Labels files; outside the reviewed Drive execution allowlist.", 5],
|
|
57
|
+
["POST", "/files/{fileId}/modifyLabels", "drive.files.modifyLabels", "Refused: modify Labels files; outside the reviewed Drive execution allowlist.", 5],
|
|
58
|
+
["GET", "/files/{fileId}/permissions", "drive.permissions.list", "List file permission holders, direct versus inherited access and roles.", 10],
|
|
59
|
+
["POST", "/files/{fileId}/permissions", "drive.permissions.create", "Refused: create or share a file permission; use share_file for every grant.", 10],
|
|
60
|
+
["GET", "/files/{fileId}/permissions/{permissionId}", "drive.permissions.get", "Get file permission role and inheritance details.", 10],
|
|
61
|
+
["PATCH", "/files/{fileId}/permissions/{permissionId}", "drive.permissions.update", "Change or update file permission role or expiration; ownership transfer is refused.", 10],
|
|
62
|
+
["DELETE", "/files/{fileId}/permissions/{permissionId}", "drive.permissions.delete", "Delete remove file permission to revoke sharing access.", 10],
|
|
63
|
+
["GET", "/files/{fileId}/revisions", "drive.revisions.list", "List file revisions with revision ids and modified times.", 11],
|
|
64
|
+
["GET", "/files/{fileId}/revisions/{revisionId}", "drive.revisions.get", "Get file revision metadata without media download.", 11],
|
|
65
|
+
["PATCH", "/files/{fileId}/revisions/{revisionId}", "drive.revisions.update", "Refused: Update edit modify revisions; only revision metadata reads are admitted.", 11],
|
|
66
|
+
["DELETE", "/files/{fileId}/revisions/{revisionId}", "drive.revisions.delete", "Refused: Delete remove revisions; only revision metadata reads are admitted.", 11],
|
|
67
|
+
["POST", "/files/{fileId}/watch", "drive.files.watch", "Refused: watch files; watch delivery and channels are outside this connection.", 5],
|
|
68
|
+
["GET", "/operations/{name}", "drive.operations.get", "Refused: Get read retrieve operations; use get_file_content for bounded safe content.", 12],
|
|
69
|
+
["GET", "/teamdrives", "drive.teamdrives.list", "Refused: List find search teamdrives; shared-drive administration is outside this connection.", 13],
|
|
70
|
+
["POST", "/teamdrives", "drive.teamdrives.create", "Refused: Create add teamdrives; shared-drive administration is outside this connection.", 13],
|
|
71
|
+
["GET", "/teamdrives/{teamDriveId}", "drive.teamdrives.get", "Refused: Get read retrieve teamdrives; shared-drive administration is outside this connection.", 13],
|
|
72
|
+
["PATCH", "/teamdrives/{teamDriveId}", "drive.teamdrives.update", "Refused: Update edit modify teamdrives; shared-drive administration is outside this connection.", 13],
|
|
73
|
+
["DELETE", "/teamdrives/{teamDriveId}", "drive.teamdrives.delete", "Refused: Delete remove teamdrives; shared-drive administration is outside this connection.", 13],
|
|
74
|
+
],
|
|
75
|
+
fields: "{\"p\":[\"accessProposals\",\"accessProposals[].createTime\",\"accessProposals[].fileId\",\"accessProposals[].proposalId\",\"accessProposals[].recipientEmailAddress\",\"accessProposals[].requestMessage\",\"accessProposals[].requesterEmailAddress\",\"accessProposals[].rolesAndViews\",\"action\",\"address\",\"allowFileDiscovery\",\"anchor\",\"appInstalled\",\"appProperties\",\"approvalId\",\"assigneeEmailAddress\",\"author\",\"authorized\",\"backgroundImageFile\",\"backgroundImageLink\",\"canCreateDrives\",\"canCreateTeamDrives\",\"capabilities\",\"changes\",\"changes[].changeType\",\"changes[].drive\",\"changes[].driveId\",\"changes[].file\",\"changes[].fileId\",\"changes[].kind\",\"changes[].removed\",\"changes[].teamDrive\",\"changes[].teamDriveId\",\"changes[].time\",\"changes[].type\",\"clientEncryptionDetails\",\"colorRgb\",\"comments\",\"comments[].anchor\",\"comments[].assigneeEmailAddress\",\"comments[].author\",\"comments[].content\",\"comments[].createdTime\",\"comments[].deleted\",\"comments[].htmlContent\",\"comments[].id\",\"comments[].kind\",\"comments[].mentionedEmailAddresses\",\"comments[].modifiedTime\",\"comments[].quotedFileContent\",\"comments[].replies\",\"comments[].resolved\",\"completeTime\",\"content\",\"contentHints\",\"contentRestrictions\",\"contentRestrictions[].ownerRestricted\",\"contentRestrictions[].readOnly\",\"contentRestrictions[].reason\",\"contentRestrictions[].restrictingUser\",\"contentRestrictions[].restrictionTime\",\"contentRestrictions[].systemRestricted\",\"contentRestrictions[].type\",\"copyRequiresWriterPermission\",\"createInFolderTemplate\",\"createTime\",\"createUrl\",\"createdTime\",\"currentKaclsId\",\"currentKaclsName\",\"defaultAppIds\",\"deleted\",\"description\",\"displayName\",\"domain\",\"done\",\"downloadRestrictions\",\"driveId\",\"driveThemes\",\"driveThemes[].backgroundImageLink\",\"driveThemes[].colorRgb\",\"driveThemes[].id\",\"drives\",\"drives[].backgroundImageFile\",\"drives[].backgroundImageLink\",\"drives[].capabilities\",\"drives[].colorRgb\",\"drives[].createdTime\",\"drives[].hidden\",\"drives[].id\",\"drives[].kind\",\"drives[].name\",\"drives[].orgUnitId\",\"drives[].restrictions\",\"drives[].themeId\",\"dueTime\",\"emailAddress\",\"error\",\"expiration\",\"expirationTime\",\"explicitlyTrashed\",\"exportFormats\",\"exportLinks\",\"fileContentChangeBehavior\",\"fileExtension\",\"fileId\",\"files\",\"files[].appProperties\",\"files[].capabilities\",\"files[].clientEncryptionDetails\",\"files[].contentHints\",\"files[].contentRestrictions\",\"files[].copyRequiresWriterPermission\",\"files[].createdTime\",\"files[].description\",\"files[].downloadRestrictions\",\"files[].driveId\",\"files[].explicitlyTrashed\",\"files[].exportLinks\",\"files[].fileExtension\",\"files[].folderColorRgb\",\"files[].fullFileExtension\",\"files[].hasAugmentedPermissions\",\"files[].hasThumbnail\",\"files[].headRevisionId\",\"files[].iconLink\",\"files[].id\",\"files[].imageMediaMetadata\",\"files[].inheritedPermissionsDisabled\",\"files[].isAppAuthorized\",\"files[].kind\",\"files[].labelInfo\",\"files[].lastModifyingUser\",\"files[].linkShareMetadata\",\"files[].md5Checksum\",\"files[].mimeType\",\"files[].modifiedByMe\",\"files[].modifiedByMeTime\",\"files[].modifiedTime\",\"files[].name\",\"files[].originalFilename\",\"files[].ownedByMe\",\"files[].owners\",\"files[].parents\",\"files[].permissionIds\",\"files[].permissions\",\"files[].properties\",\"files[].quotaBytesUsed\",\"files[].resourceKey\",\"files[].sha1Checksum\",\"files[].sha256Checksum\",\"files[].shared\",\"files[].sharedWithMeTime\",\"files[].sharingUser\",\"files[].shortcutDetails\",\"files[].size\",\"files[].spaces\",\"files[].starred\",\"files[].teamDriveId\",\"files[].thumbnailLink\",\"files[].thumbnailVersion\",\"files[].trashed\",\"files[].trashedTime\",\"files[].trashingUser\",\"files[].version\",\"files[].videoMediaMetadata\",\"files[].viewedByMe\",\"files[].viewedByMeTime\",\"files[].viewersCanCopyContent\",\"files[].webContentLink\",\"files[].webViewLink\",\"files[].writersCanShare\",\"folderColorPalette\",\"folderColorRgb\",\"fullFileExtension\",\"hasAugmentedPermissions\",\"hasDriveWideScope\",\"hasThumbnail\",\"headRevisionId\",\"hidden\",\"htmlContent\",\"iconLink\",\"icons\",\"icons[].category\",\"icons[].iconUrl\",\"icons[].size\",\"id\",\"ids\",\"imageMediaMetadata\",\"importFormats\",\"incompleteSearch\",\"inheritedPermissionsDisabled\",\"initiator\",\"installed\",\"isAppAuthorized\",\"items\",\"items[].approvalId\",\"items[].authorized\",\"items[].completeTime\",\"items[].createInFolderTemplate\",\"items[].createTime\",\"items[].createUrl\",\"items[].dueTime\",\"items[].fileContentChangeBehavior\",\"items[].hasDriveWideScope\",\"items[].icons\",\"items[].id\",\"items[].initiator\",\"items[].installed\",\"items[].kind\",\"items[].longDescription\",\"items[].modifyTime\",\"items[].name\",\"items[].objectType\",\"items[].openUrlTemplate\",\"items[].primaryFileExtensions\",\"items[].primaryMimeTypes\",\"items[].productId\",\"items[].productUrl\",\"items[].reviewerResponses\",\"items[].secondaryFileExtensions\",\"items[].secondaryMimeTypes\",\"items[].shortDescription\",\"items[].status\",\"items[].supportsCreate\",\"items[].supportsImport\",\"items[].supportsMultiOpen\",\"items[].supportsOfflineCreate\",\"items[].targetFileId\",\"items[].useByDefault\",\"jwt\",\"keepForever\",\"kind\",\"labelInfo\",\"labels\",\"labels[].fields\",\"labels[].id\",\"labels[].kind\",\"labels[].revisionId\",\"lastModifyingUser\",\"linkShareMetadata\",\"longDescription\",\"maxImportSizes\",\"maxUploadSize\",\"md5Checksum\",\"mentionedEmailAddresses\",\"metadata\",\"mimeType\",\"modifiedByMe\",\"modifiedByMeTime\",\"modifiedLabels\",\"modifiedLabels[].fields\",\"modifiedLabels[].id\",\"modifiedLabels[].kind\",\"modifiedLabels[].revisionId\",\"modifiedTime\",\"modifyTime\",\"name\",\"newStartPageToken\",\"nextPageToken\",\"objectType\",\"openUrlTemplate\",\"orgUnitId\",\"originalFilename\",\"ownedByMe\",\"owners\",\"owners[].displayName\",\"owners[].emailAddress\",\"owners[].kind\",\"owners[].me\",\"owners[].permissionId\",\"owners[].photoLink\",\"params\",\"parents\",\"payload\",\"pendingOwner\",\"permissionDetails\",\"permissionDetails[].inherited\",\"permissionDetails[].inheritedFrom\",\"permissionDetails[].permissionType\",\"permissionDetails[].role\",\"permissionIds\",\"permissions\",\"permissions[].allowFileDiscovery\",\"permissions[].deleted\",\"permissions[].displayName\",\"permissions[].domain\",\"permissions[].emailAddress\",\"permissions[].expirationTime\",\"permissions[].id\",\"permissions[].inheritedPermissionsDisabled\",\"permissions[].kind\",\"permissions[].pendingOwner\",\"permissions[].permissionDetails\",\"permissions[].photoLink\",\"permissions[].role\",\"permissions[].teamDrivePermissionDetails\",\"permissions[].type\",\"permissions[].view\",\"photoLink\",\"primaryFileExtensions\",\"primaryMimeTypes\",\"productId\",\"productUrl\",\"properties\",\"proposalId\",\"publishAuto\",\"published\",\"publishedLink\",\"publishedOutsideDomain\",\"quotaBytesUsed\",\"quotedFileContent\",\"recipientEmailAddress\",\"replies\",\"replies[].action\",\"replies[].assigneeEmailAddress\",\"replies[].author\",\"replies[].content\",\"replies[].createdTime\",\"replies[].deleted\",\"replies[].htmlContent\",\"replies[].id\",\"replies[].kind\",\"replies[].mentionedEmailAddresses\",\"replies[].modifiedTime\",\"requestMessage\",\"requesterEmailAddress\",\"resolved\",\"resourceId\",\"resourceKey\",\"resourceUri\",\"response\",\"restrictions\",\"reviewerResponses\",\"reviewerResponses[].kind\",\"reviewerResponses[].response\",\"reviewerResponses[].reviewer\",\"revisions\",\"revisions[].exportLinks\",\"revisions[].id\",\"revisions[].keepForever\",\"revisions[].kind\",\"revisions[].lastModifyingUser\",\"revisions[].md5Checksum\",\"revisions[].mimeType\",\"revisions[].modifiedTime\",\"revisions[].originalFilename\",\"revisions[].publishAuto\",\"revisions[].published\",\"revisions[].publishedLink\",\"revisions[].publishedOutsideDomain\",\"revisions[].size\",\"role\",\"rolesAndViews\",\"rolesAndViews[].role\",\"rolesAndViews[].view\",\"secondaryFileExtensions\",\"secondaryMimeTypes\",\"selfLink\",\"sha1Checksum\",\"sha256Checksum\",\"shared\",\"sharedWithMeTime\",\"sharingUser\",\"shortDescription\",\"shortcutDetails\",\"size\",\"space\",\"spaces\",\"starred\",\"startPageToken\",\"status\",\"storageQuota\",\"supportsCreate\",\"supportsImport\",\"supportsMultiOpen\",\"supportsOfflineCreate\",\"targetFileId\",\"teamDriveId\",\"teamDrivePermissionDetails\",\"teamDrivePermissionDetails[].inherited\",\"teamDrivePermissionDetails[].inheritedFrom\",\"teamDrivePermissionDetails[].role\",\"teamDrivePermissionDetails[].teamDrivePermissionType\",\"teamDriveThemes\",\"teamDriveThemes[].backgroundImageLink\",\"teamDriveThemes[].colorRgb\",\"teamDriveThemes[].id\",\"teamDrives\",\"teamDrives[].backgroundImageFile\",\"teamDrives[].backgroundImageLink\",\"teamDrives[].capabilities\",\"teamDrives[].colorRgb\",\"teamDrives[].createdTime\",\"teamDrives[].id\",\"teamDrives[].kind\",\"teamDrives[].name\",\"teamDrives[].orgUnitId\",\"teamDrives[].restrictions\",\"teamDrives[].themeId\",\"themeId\",\"thumbnailLink\",\"thumbnailVersion\",\"token\",\"trashed\",\"trashedTime\",\"trashingUser\",\"type\",\"useByDefault\",\"user\",\"version\",\"videoMediaMetadata\",\"view\",\"viewedByMe\",\"viewedByMeTime\",\"viewersCanCopyContent\",\"webContentLink\",\"webViewLink\",\"writersCanShare\"],\"d\":[[12,20,21,78,79,80,81,101,172,189,232,242,243,372,384,385,386,387,409],[70,195,197,199,201,204,205,206,208,209,210,212,213,214,215,216,217,218,220,221,222,224,225,226,227,229,232,358],[17,64,66,176,182,183,184,185,186,193,232,241,257,260,261,300,301,302,303,356,357,364,373,374,375,376,408],[23,24,25,26,27,28,29,30,31,32,33,34,232,258,259],[232,370],[9,98,186,232,272,274,328,330,403,407],[],[82,83,84,85,86,87,88,89,90,91,92,93,94,232,259],[18,19,22,36,67,179,186,232,257,262,332,400],[106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,190,232,259],[13,22,35,54,55,56,57,58,59,60,61,62,63,67,72,76,77,100,102,104,173,174,175,177,178,181,186,188,191,194,232,233,239,240,244,247,248,249,255,257,263,264,265,266,267,268,269,270,271,273,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,304,310,329,359,360,361,362,363,365,366,368,369,378,401,402,404,405,406,410,411,413,414,415,416,417,418],[68,69,105,230,232],[187,232,367],[0,1,2,3,4,5,6,7,259],[65,105,305,312,325,326,353,354,355],[195,196,198,200,202,203,207,209,211,219,223,228,232,259],[14,52,65,95,103,192,232,256,333,334,335,336,371,377],[37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,232,259],[11,15,16,53,67,71,180,186,232,245,255,311,313,314,315,316,317,318,319,320,321,322,323,324,327],[232,259,313,314,315,316,317,318,319,320,321,322,323,324],[8,15,16,53,67,71,180,186,232,245,255],[75,97,246,257,331],[232,234,235,236,237,238,259],[232,250,251,252,253,254],[232,259,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298],[10,71,73,74,96,99,186,191,232,275,276,277,278,279,280,299,352,379,380,381,382,383,407,412],[232,259,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351],[102,186,231,232,239,244,247,255,263,306,307,308,309,366],[232,259,388,389,390,391,392,393,394,395,396,397,398,399],[18,19,22,36,67,186,232,257,262,332,400]],\"o\":[0,1,2,3,4,5,6,7,8,8,8,6,8,8,9,10,11,12,6,10,10,6,13,14,6,15,16,16,16,16,16,16,16,17,18,18,18,6,19,20,20,20,6,10,21,6,22,23,24,25,25,25,6,26,27,27,6,5,21,28,29,29,29,6]}",
|
|
76
|
+
requestSchemas: "{\"definitions\":{\"Input_Channel\":{\"description\":\"A notification channel used to watch for resource changes.\",\"properties\":{\"address\":{\"description\":\"The address where notifications are delivered for this channel.\",\"type\":\"string\"},\"expiration\":{\"description\":\"Date and time of notification channel expiration, expressed as a Unix timestamp, in milliseconds.\",\"format\":\"int64\",\"type\":\"string\"},\"id\":{\"description\":\"A UUID or similar unique string that identifies this channel.\",\"type\":\"string\"},\"kind\":{\"default\":\"api#channel\",\"description\":\"Identifies this as a notification channel used to watch for changes to a resource, which is `api#channel`.\",\"type\":\"string\"},\"params\":{\"additionalProperties\":{\"type\":\"string\"},\"description\":\"Additional parameters controlling delivery channel behavior.\",\"type\":\"object\"},\"payload\":{\"description\":\"A Boolean value to indicate whether payload is wanted.\",\"type\":\"boolean\"},\"resourceId\":{\"description\":\"An opaque ID that identifies the resource being watched on this channel.\",\"type\":\"string\"},\"resourceUri\":{\"description\":\"A version-specific identifier for the watched resource.\",\"type\":\"string\"},\"token\":{\"description\":\"An arbitrary string delivered to the target address with each notification delivered over this channel.\",\"type\":\"string\"},\"type\":{\"description\":\"The type of delivery mechanism used for this channel.\",\"type\":\"string\"}},\"type\":\"object\"},\"Input_Drive\":{\"description\":\"Representation of a shared drive.\",\"properties\":{\"backgroundImageFile\":{\"description\":\"An image file and cropping parameters from which a background image for this shared drive is set.\",\"properties\":{\"id\":{\"description\":\"The ID of an image file in Google Drive to use for the background image.\",\"type\":\"string\"},\"width\":{\"description\":\"The width of the cropped image in the closed range of 0 to 1.\",\"format\":\"float\",\"type\":\"number\"},\"xCoordinate\":{\"description\":\"The X coordinate of the upper left corner of the cropping area in the background image.\",\"format\":\"float\",\"type\":\"number\"},\"yCoordinate\":{\"description\":\"The Y coordinate of the upper left corner of the cropping area in the background image.\",\"format\":\"float\",\"type\":\"number\"}},\"type\":\"object\"},\"colorRgb\":{\"description\":\"The color of this shared drive as an RGB hex string.\",\"type\":\"string\"},\"createdTime\":{\"description\":\"The time at which the shared drive was created (RFC 3339 date-time).\",\"format\":\"date-time\",\"type\":\"string\"},\"hidden\":{\"description\":\"Whether the shared drive is hidden from default view.\",\"type\":\"boolean\"},\"name\":{\"description\":\"The name of this shared drive.\",\"type\":\"string\"},\"restrictions\":{\"description\":\"A set of restrictions that apply to this shared drive or items inside this shared drive.\",\"properties\":{\"adminManagedRestrictions\":{\"description\":\"Whether administrative privileges on this shared drive are required to modify restrictions.\",\"type\":\"boolean\"},\"copyRequiresWriterPermission\":{\"description\":\"Whether the options to copy, print, or download files inside this shared drive, should be disabled for readers and commenters.\",\"type\":\"boolean\"},\"domainUsersOnly\":{\"description\":\"Whether access to this shared drive and items inside this shared drive is restricted to users of the domain to which this shared drive belongs.\",\"type\":\"boolean\"},\"downloadRestriction\":{\"description\":\"Download restrictions applied by shared drive managers.\",\"$ref\":\"#/$defs/Input_DownloadRestriction\"},\"driveMembersOnly\":{\"description\":\"Whether access to items inside this shared drive is restricted to its members.\",\"type\":\"boolean\"},\"sharingFoldersRequiresOrganizerPermission\":{\"description\":\"If true, only users with the organizer role can share folders.\",\"type\":\"boolean\"}},\"type\":\"object\"},\"themeId\":{\"description\":\"The ID of the theme from which the background image and color will be set.\",\"type\":\"string\"}},\"type\":\"object\"},\"Input_DownloadRestriction\":{\"description\":\"A restriction for copy and download of the file.\",\"properties\":{\"restrictedForReaders\":{\"description\":\"Whether download and copy is restricted for readers.\",\"type\":\"boolean\"},\"restrictedForWriters\":{\"description\":\"Whether download and copy is restricted for writers.\",\"type\":\"boolean\"}},\"type\":\"object\"},\"Input_File\":{\"description\":\"The metadata for a file.\",\"properties\":{\"appProperties\":{\"additionalProperties\":{\"type\":\"string\"},\"description\":\"A collection of arbitrary key-value pairs which are private to the requesting app.\",\"type\":\"object\"},\"clientEncryptionDetails\":{\"description\":\"Client Side Encryption related details.\",\"$ref\":\"#/$defs/Input_ClientEncryptionDetails\"},\"contentHints\":{\"description\":\"Additional information about the content of the file.\",\"properties\":{\"indexableText\":{\"description\":\"Text to be indexed for the file to improve fullText queries.\",\"type\":\"string\"},\"thumbnail\":{\"description\":\"A thumbnail for the file.\",\"properties\":{\"image\":{\"description\":\"The thumbnail data encoded with URL-safe Base64 (RFC 4648 section 5).\",\"format\":\"byte\",\"type\":\"string\"},\"mimeType\":{\"description\":\"The MIME type of the thumbnail.\",\"type\":\"string\"}},\"type\":\"object\"}},\"type\":\"object\"},\"contentRestrictions\":{\"description\":\"Restrictions for accessing the content of the file.\",\"items\":{\"$ref\":\"#/$defs/Input_ContentRestriction\"},\"type\":\"array\"},\"copyRequiresWriterPermission\":{\"description\":\"Whether the options to copy, print, or download this file should be disabled for readers and commenters.\",\"type\":\"boolean\"},\"createdTime\":{\"description\":\"The time at which the file was created (RFC 3339 date-time).\",\"format\":\"date-time\",\"type\":\"string\"},\"description\":{\"description\":\"A short description of the file.\",\"type\":\"string\"},\"downloadRestrictions\":{\"description\":\"Download restrictions applied on the file.\",\"$ref\":\"#/$defs/Input_DownloadRestrictionsMetadata\"},\"folderColorRgb\":{\"description\":\"The color for a folder or a shortcut to a folder as an RGB hex string.\",\"type\":\"string\"},\"id\":{\"description\":\"The ID of the file.\",\"type\":\"string\"},\"inheritedPermissionsDisabled\":{\"description\":\"Whether this file has inherited permissions disabled.\",\"type\":\"boolean\"},\"labelInfo\":{\"description\":\"Label information on the file.\",\"properties\":{},\"type\":\"object\"},\"linkShareMetadata\":{\"description\":\"Contains details about the link URLs that clients are using to refer to this item.\",\"properties\":{},\"type\":\"object\"},\"mimeType\":{\"description\":\"The MIME type of the file.\",\"type\":\"string\"},\"modifiedByMeTime\":{\"description\":\"The last time the file was modified by the user (RFC 3339 date-time).\",\"format\":\"date-time\",\"type\":\"string\"},\"modifiedTime\":{\"description\":\"he last time the file was modified by anyone (RFC 3339 date-time).\",\"format\":\"date-time\",\"type\":\"string\"},\"name\":{\"description\":\"The name of the file.\",\"type\":\"string\"},\"originalFilename\":{\"description\":\"The original filename of the uploaded content if available, or else the original value of the `name` field.\",\"type\":\"string\"},\"parents\":{\"description\":\"The ID of the parent folder containing the file.\",\"items\":{\"type\":\"string\"},\"type\":\"array\"},\"properties\":{\"additionalProperties\":{\"type\":\"string\"},\"description\":\"A collection of arbitrary key-value pairs which are visible to all apps.\",\"type\":\"object\"},\"sharedWithMeTime\":{\"description\":\"The time at which the file was shared with the user, if applicable (RFC 3339 date-time).\",\"format\":\"date-time\",\"type\":\"string\"},\"shortcutDetails\":{\"description\":\"Information about a shortcut file.\",\"properties\":{\"targetId\":{\"description\":\"The ID of the file that this shortcut points to.\",\"type\":\"string\"}},\"type\":\"object\"},\"starred\":{\"description\":\"Whether the user has starred the file.\",\"type\":\"boolean\"},\"teamDriveId\":{\"deprecated\":true,\"description\":\"Deprecated: Output only.\",\"type\":\"string\"},\"trashed\":{\"description\":\"Whether the file has been trashed, either explicitly or from a trashed parent folder.\",\"type\":\"boolean\"},\"trashedTime\":{\"description\":\"The time that the item was trashed (RFC 3339 date-time).\",\"format\":\"date-time\",\"type\":\"string\"},\"viewedByMeTime\":{\"description\":\"The last time the file was viewed by the user (RFC 3339 date-time).\",\"format\":\"date-time\",\"type\":\"string\"},\"viewersCanCopyContent\":{\"deprecated\":true,\"description\":\"Deprecated: Use `copyRequiresWriterPermission` instead.\",\"type\":\"boolean\"},\"writersCanShare\":{\"description\":\"Whether users with only `writer` permission can modify the file's permissions.\",\"type\":\"boolean\"}},\"type\":\"object\"},\"Input_ClientEncryptionDetails\":{\"description\":\"Details about the client-side encryption applied to the file.\",\"properties\":{\"decryptionMetadata\":{\"description\":\"The metadata used for client-side operations.\",\"$ref\":\"#/$defs/Input_DecryptionMetadata\"},\"encryptionState\":{\"description\":\"The encryption state of the file.\",\"type\":\"string\"}},\"type\":\"object\"},\"Input_DecryptionMetadata\":{\"description\":\"Representation of the CSE DecryptionMetadata.\",\"properties\":{\"aes256GcmChunkSize\":{\"description\":\"Chunk size used if content was encrypted with the AES 256 GCM Cipher.\",\"type\":\"string\"},\"encryptionResourceKeyHash\":{\"description\":\"The URL-safe Base64 encoded HMAC-SHA256 digest of the resource metadata with its DEK (Data Encryption Key); see https://developers.google.com/workspace/cse/ref…\",\"type\":\"string\"},\"jwt\":{\"description\":\"The signed JSON Web Token (JWT) which can be used to authorize the requesting user with the Key ACL Service (KACLS).\",\"type\":\"string\"},\"kaclsId\":{\"description\":\"The ID of the KACLS (Key ACL Service) used to encrypt the file.\",\"format\":\"int64\",\"type\":\"string\"},\"kaclsName\":{\"description\":\"The name of the KACLS (Key ACL Service) used to encrypt the file.\",\"type\":\"string\"},\"keyFormat\":{\"description\":\"Key format for the unwrapped key.\",\"type\":\"string\"},\"wrappedKey\":{\"description\":\"The URL-safe Base64 encoded wrapped key used to encrypt the contents of the file.\",\"type\":\"string\"}},\"type\":\"object\"},\"Input_ContentRestriction\":{\"description\":\"A restriction for accessing the content of the file.\",\"properties\":{\"ownerRestricted\":{\"description\":\"Whether the content restriction can only be modified or removed by a user who owns the file.\",\"type\":\"boolean\"},\"readOnly\":{\"description\":\"Whether the content of the file is read-only.\",\"type\":\"boolean\"},\"reason\":{\"description\":\"Reason for why the content of the file is restricted.\",\"type\":\"string\"},\"restrictionTime\":{\"description\":\"The time at which the content restriction was set (formatted RFC 3339 timestamp).\",\"format\":\"date-time\",\"type\":\"string\"}},\"type\":\"object\"},\"Input_DownloadRestrictionsMetadata\":{\"description\":\"Download restrictions applied to the file.\",\"properties\":{\"itemDownloadRestriction\":{\"description\":\"The download restriction of the file applied directly by the owner or organizer.\",\"$ref\":\"#/$defs/Input_DownloadRestriction\"}},\"type\":\"object\"},\"Input_ResolveAccessProposalRequest\":{\"description\":\"Request message for resolving an AccessProposal on a file.\",\"properties\":{\"action\":{\"description\":\"Required.\",\"enum\":[\"ACTION_UNSPECIFIED\",\"ACCEPT\",\"DENY\"],\"type\":\"string\"},\"role\":{\"description\":\"Optional.\",\"items\":{\"type\":\"string\"},\"type\":\"array\"},\"sendNotification\":{\"description\":\"Optional.\",\"type\":\"boolean\"},\"view\":{\"description\":\"Optional.\",\"type\":\"string\"}},\"type\":\"object\"},\"Input_ApproveApprovalRequest\":{\"description\":\"Request for approving an approval as a reviewer.\",\"properties\":{\"message\":{\"description\":\"Optional.\",\"type\":\"string\"}},\"type\":\"object\"},\"Input_CancelApprovalRequest\":{\"description\":\"Request for cancelling an approval as an initiator.\",\"properties\":{\"message\":{\"description\":\"Optional.\",\"type\":\"string\"}},\"type\":\"object\"},\"Input_CommentApprovalRequest\":{\"description\":\"Request for commenting on an approval.\",\"properties\":{\"message\":{\"description\":\"Required.\",\"type\":\"string\"}},\"type\":\"object\"},\"Input_DeclineApprovalRequest\":{\"description\":\"Request for declining an approval as a reviewer.\",\"properties\":{\"message\":{\"description\":\"Optional.\",\"type\":\"string\"}},\"type\":\"object\"},\"Input_ReassignApprovalRequest\":{\"description\":\"Request for reassigning an approval.\",\"properties\":{\"addReviewers\":{\"description\":\"Optional.\",\"items\":{\"$ref\":\"#/$defs/Input_AddReviewer\"},\"type\":\"array\"},\"message\":{\"description\":\"Optional.\",\"type\":\"string\"},\"replaceReviewers\":{\"description\":\"Optional.\",\"items\":{\"$ref\":\"#/$defs/Input_ReplaceReviewer\"},\"type\":\"array\"}},\"type\":\"object\"},\"Input_AddReviewer\":{\"description\":\"Representation of a reviewer addition.\",\"properties\":{\"addedReviewerEmail\":{\"description\":\"Required.\",\"type\":\"string\"}},\"type\":\"object\"},\"Input_ReplaceReviewer\":{\"description\":\"Representation of a reviewer replacement.\",\"properties\":{\"addedReviewerEmail\":{\"description\":\"Required.\",\"type\":\"string\"},\"removedReviewerEmail\":{\"description\":\"Required.\",\"type\":\"string\"}},\"type\":\"object\"},\"Input_StartApprovalRequest\":{\"description\":\"Allows creating an approval on a file.\",\"properties\":{\"dueTime\":{\"description\":\"Optional.\",\"format\":\"google-datetime\",\"type\":\"string\"},\"fileContentChangeBehavior\":{\"description\":\"Optional.\",\"enum\":[\"FILE_CONTENT_CHANGE_BEHAVIOR_UNSPECIFIED\",\"RESET_APPROVAL\",\"NO_APPROVAL_ACTION\"],\"type\":\"string\"},\"lockFile\":{\"description\":\"Optional.\",\"type\":\"boolean\"},\"message\":{\"description\":\"Optional.\",\"type\":\"string\"},\"reviewerEmails\":{\"description\":\"Required.\",\"items\":{\"type\":\"string\"},\"type\":\"array\"}},\"type\":\"object\"},\"Input_drive_comments_create_Comment\":{\"description\":\"A comment on a file.\",\"properties\":{\"anchor\":{\"description\":\"A region of the document represented as a JSON string.\",\"type\":\"string\"},\"content\":{\"description\":\"The plain text content of the comment.\",\"type\":\"string\"},\"createdTime\":{\"description\":\"The time at which the comment was created (RFC 3339 date-time).\",\"format\":\"date-time\",\"type\":\"string\"},\"modifiedTime\":{\"description\":\"The last time the comment or any of its replies was modified (RFC 3339 date-time).\",\"format\":\"date-time\",\"type\":\"string\"},\"quotedFileContent\":{\"description\":\"The file content to which the comment refers, typically within the anchor region.\",\"properties\":{\"mimeType\":{\"description\":\"The MIME type of the quoted content.\",\"type\":\"string\"},\"value\":{\"description\":\"The quoted content itself.\",\"type\":\"string\"}},\"type\":\"object\"}},\"required\":[\"content\"],\"type\":\"object\"},\"Input_drive_comments_update_Comment\":{\"description\":\"A comment on a file.\",\"properties\":{\"anchor\":{\"description\":\"A region of the document represented as a JSON string.\",\"type\":\"string\"},\"content\":{\"description\":\"The plain text content of the comment.\",\"type\":\"string\"},\"createdTime\":{\"description\":\"The time at which the comment was created (RFC 3339 date-time).\",\"format\":\"date-time\",\"type\":\"string\"},\"modifiedTime\":{\"description\":\"The last time the comment or any of its replies was modified (RFC 3339 date-time).\",\"format\":\"date-time\",\"type\":\"string\"},\"quotedFileContent\":{\"description\":\"The file content to which the comment refers, typically within the anchor region.\",\"properties\":{\"mimeType\":{\"description\":\"The MIME type of the quoted content.\",\"type\":\"string\"},\"value\":{\"description\":\"The quoted content itself.\",\"type\":\"string\"}},\"type\":\"object\"}},\"required\":[\"content\"],\"type\":\"object\"},\"Input_Reply\":{\"description\":\"A reply to a comment on a file.\",\"properties\":{\"action\":{\"description\":\"The action the reply performed to the parent comment.\",\"type\":\"string\"},\"content\":{\"description\":\"The plain text content of the reply.\",\"type\":\"string\"},\"createdTime\":{\"description\":\"The time at which the reply was created (RFC 3339 date-time).\",\"format\":\"date-time\",\"type\":\"string\"},\"modifiedTime\":{\"description\":\"The last time the reply was modified (RFC 3339 date-time).\",\"format\":\"date-time\",\"type\":\"string\"}},\"type\":\"object\"},\"Input_drive_replies_update_Reply\":{\"description\":\"A reply to a comment on a file.\",\"properties\":{\"action\":{\"description\":\"The action the reply performed to the parent comment.\",\"type\":\"string\"},\"content\":{\"description\":\"The plain text content of the reply.\",\"type\":\"string\"},\"createdTime\":{\"description\":\"The time at which the reply was created (RFC 3339 date-time).\",\"format\":\"date-time\",\"type\":\"string\"},\"modifiedTime\":{\"description\":\"The last time the reply was modified (RFC 3339 date-time).\",\"format\":\"date-time\",\"type\":\"string\"}},\"required\":[\"content\"],\"type\":\"object\"},\"Input_drive_files_modifyLabels_ModifyLabelsRequest\":{\"description\":\"A request to modify the set of labels on a file.\",\"properties\":{\"kind\":{\"description\":\"This is always `\\\"drive#modifyLabelsRequest\\\"`.\",\"type\":\"string\"},\"labelModifications\":{\"description\":\"The list of modifications to apply to the labels on the file.\",\"items\":{\"$ref\":\"#/$defs/Input_drive_files_modifyLabels_LabelModification\"},\"type\":\"array\"}},\"type\":\"object\"},\"Input_drive_files_modifyLabels_LabelModification\":{\"description\":\"A modification to a label on a file.\",\"properties\":{\"fieldModifications\":{\"description\":\"The list of modifications to this label's fields.\",\"items\":{\"$ref\":\"#/$defs/Input_LabelFieldModification\"},\"type\":\"array\"},\"kind\":{\"description\":\"This is always `\\\"drive#labelModification\\\"`.\",\"type\":\"string\"},\"labelId\":{\"description\":\"The ID of the label to modify.\",\"type\":\"string\"},\"removeLabel\":{\"description\":\"If true, the label will be removed from the file.\",\"type\":\"boolean\"}},\"required\":[\"labelId\"],\"type\":\"object\"},\"Input_LabelFieldModification\":{\"description\":\"A modification to a label's field.\",\"properties\":{\"fieldId\":{\"description\":\"The ID of the field to be modified.\",\"type\":\"string\"},\"kind\":{\"description\":\"This is always `\\\"drive#labelFieldModification\\\"`.\",\"type\":\"string\"},\"setDateValues\":{\"description\":\"Replaces the value of a dateString Field with these new values.\",\"items\":{\"format\":\"date\",\"type\":\"string\"},\"type\":\"array\"},\"setIntegerValues\":{\"description\":\"Replaces the value of an `integer` field with these new values.\",\"items\":{\"format\":\"int64\",\"type\":\"string\"},\"type\":\"array\"},\"setSelectionValues\":{\"description\":\"Replaces a `selection` field with these new values.\",\"items\":{\"type\":\"string\"},\"type\":\"array\"},\"setTextValues\":{\"description\":\"Sets the value of a `text` field.\",\"items\":{\"type\":\"string\"},\"type\":\"array\"},\"setUserValues\":{\"description\":\"Replaces a `user` field with these new values.\",\"items\":{\"type\":\"string\"},\"type\":\"array\"},\"unsetValues\":{\"description\":\"Unsets the values for this field.\",\"type\":\"boolean\"}},\"type\":\"object\"},\"Input_drive_permissions_create_Permission\":{\"description\":\"A permission for a file.\",\"properties\":{\"allowFileDiscovery\":{\"description\":\"Whether the permission allows the file to be discovered through search.\",\"type\":\"boolean\"},\"expirationTime\":{\"description\":\"The time at which this permission will expire (RFC 3339 date-time).\",\"format\":\"date-time\",\"type\":\"string\"},\"inheritedPermissionsDisabled\":{\"description\":\"When `true`, only organizers, owners, and users with permissions added directly on the item can access it.\",\"type\":\"boolean\"},\"pendingOwner\":{\"description\":\"Whether the account associated with this permission is a pending owner.\",\"type\":\"boolean\"},\"role\":{\"description\":\"The role granted by this permission.\",\"type\":\"string\"},\"type\":{\"description\":\"The type of the grantee.\",\"type\":\"string\"},\"view\":{\"description\":\"Indicates the view for this permission.\",\"type\":\"string\"}},\"required\":[\"role\",\"type\"],\"type\":\"object\"},\"Input_Permission\":{\"description\":\"A permission for a file.\",\"properties\":{\"allowFileDiscovery\":{\"description\":\"Whether the permission allows the file to be discovered through search.\",\"type\":\"boolean\"},\"expirationTime\":{\"description\":\"The time at which this permission will expire (RFC 3339 date-time).\",\"format\":\"date-time\",\"type\":\"string\"},\"inheritedPermissionsDisabled\":{\"description\":\"When `true`, only organizers, owners, and users with permissions added directly on the item can access it.\",\"type\":\"boolean\"},\"pendingOwner\":{\"description\":\"Whether the account associated with this permission is a pending owner.\",\"type\":\"boolean\"},\"role\":{\"description\":\"The role granted by this permission.\",\"type\":\"string\"},\"type\":{\"description\":\"The type of the grantee.\",\"type\":\"string\"},\"view\":{\"description\":\"Indicates the view for this permission.\",\"type\":\"string\"}},\"type\":\"object\"},\"Input_Revision\":{\"description\":\"The metadata for a revision to a file.\",\"properties\":{\"keepForever\":{\"description\":\"Whether to keep this revision forever, even if it is no longer the head revision.\",\"type\":\"boolean\"},\"modifiedTime\":{\"description\":\"The last time the revision was modified (RFC 3339 date-time).\",\"format\":\"date-time\",\"type\":\"string\"},\"publishAuto\":{\"description\":\"Whether subsequent revisions will be automatically republished.\",\"type\":\"boolean\"},\"published\":{\"description\":\"Whether this revision is published.\",\"type\":\"boolean\"},\"publishedOutsideDomain\":{\"description\":\"Whether this revision is published outside the domain.\",\"type\":\"boolean\"}},\"type\":\"object\"},\"Input_TeamDrive\":{\"description\":\"Deprecated: use the drive collection instead.\",\"properties\":{\"backgroundImageFile\":{\"description\":\"The background image file for a Team Drive.\",\"properties\":{\"id\":{\"description\":\"The ID of an image file in Drive to use for the background image.\",\"type\":\"string\"},\"width\":{\"description\":\"The width of the cropped image in the closed range of 0 to 1.\",\"format\":\"float\",\"type\":\"number\"},\"xCoordinate\":{\"description\":\"The X coordinate of the upper left corner of the cropping area in the background image.\",\"format\":\"float\",\"type\":\"number\"},\"yCoordinate\":{\"description\":\"The Y coordinate of the upper left corner of the cropping area in the background image.\",\"format\":\"float\",\"type\":\"number\"}},\"type\":\"object\"},\"backgroundImageLink\":{\"description\":\"A short-lived link to this Team Drive's background image.\",\"type\":\"string\"},\"capabilities\":{\"description\":\"Capabilities the current user has on this Team Drive.\",\"properties\":{\"canAddChildren\":{\"description\":\"Whether the current user can add children to folders in this Team Drive.\",\"type\":\"boolean\"},\"canChangeCopyRequiresWriterPermissionRestriction\":{\"description\":\"Whether the current user can change the `copyRequiresWriterPermission` restriction of this Team Drive.\",\"type\":\"boolean\"},\"canChangeDomainUsersOnlyRestriction\":{\"description\":\"Whether the current user can change the `domainUsersOnly` restriction of this Team Drive.\",\"type\":\"boolean\"},\"canChangeSharingFoldersRequiresOrganizerPermissionRestriction\":{\"description\":\"Whether the current user can change the `sharingFoldersRequiresOrganizerPermission` restriction of this Team Drive.\",\"type\":\"boolean\"},\"canChangeTeamDriveBackground\":{\"description\":\"Whether the current user can change the background of this Team Drive.\",\"type\":\"boolean\"},\"canChangeTeamMembersOnlyRestriction\":{\"description\":\"Whether the current user can change the `teamMembersOnly` restriction of this Team Drive.\",\"type\":\"boolean\"},\"canComment\":{\"description\":\"Whether the current user can comment on files in this Team Drive.\",\"type\":\"boolean\"},\"canCopy\":{\"description\":\"Whether the current user can copy files in this Team Drive.\",\"type\":\"boolean\"},\"canDeleteChildren\":{\"description\":\"Whether the current user can delete children from folders in this Team Drive.\",\"type\":\"boolean\"},\"canDeleteTeamDrive\":{\"description\":\"Whether the current user can delete this Team Drive.\",\"type\":\"boolean\"},\"canDownload\":{\"description\":\"Whether the current user can download files in this Team Drive.\",\"type\":\"boolean\"},\"canEdit\":{\"description\":\"Whether the current user can edit files in this Team Drive\",\"type\":\"boolean\"},\"canListChildren\":{\"description\":\"Whether the current user can list the children of folders in this Team Drive.\",\"type\":\"boolean\"},\"canManageMembers\":{\"description\":\"Whether the current user can add members to this Team Drive or remove them or change their role.\",\"type\":\"boolean\"},\"canReadRevisions\":{\"description\":\"Whether the current user can read the revisions resource of files in this Team Drive.\",\"type\":\"boolean\"},\"canRemoveChildren\":{\"deprecated\":true,\"description\":\"Deprecated: Use `canDeleteChildren` or `canTrashChildren` instead.\",\"type\":\"boolean\"},\"canRename\":{\"description\":\"Whether the current user can rename files or folders in this Team Drive.\",\"type\":\"boolean\"},\"canRenameTeamDrive\":{\"description\":\"Whether the current user can rename this Team Drive.\",\"type\":\"boolean\"},\"canResetTeamDriveRestrictions\":{\"description\":\"Whether the current user can reset the Team Drive restrictions to defaults.\",\"type\":\"boolean\"},\"canShare\":{\"description\":\"Whether the current user can share files or folders in this Team Drive.\",\"type\":\"boolean\"},\"canTrashChildren\":{\"description\":\"Whether the current user can trash children from folders in this Team Drive.\",\"type\":\"boolean\"}},\"type\":\"object\"},\"colorRgb\":{\"description\":\"The color of this Team Drive as an RGB hex string.\",\"type\":\"string\"},\"createdTime\":{\"description\":\"The time at which the Team Drive was created (RFC 3339 date-time).\",\"format\":\"date-time\",\"type\":\"string\"},\"id\":{\"description\":\"The ID of this Team Drive which is also the ID of the top level folder of this Team Drive.\",\"type\":\"string\"},\"kind\":{\"default\":\"drive#teamDrive\",\"description\":\"Identifies what kind of resource this is.\",\"type\":\"string\"},\"name\":{\"description\":\"The name of this Team Drive.\",\"type\":\"string\"},\"orgUnitId\":{\"description\":\"The organizational unit of this shared drive.\",\"type\":\"string\"},\"restrictions\":{\"description\":\"A set of restrictions that apply to this Team Drive or items inside this Team Drive.\",\"properties\":{\"adminManagedRestrictions\":{\"description\":\"Whether administrative privileges on this Team Drive are required to modify restrictions.\",\"type\":\"boolean\"},\"copyRequiresWriterPermission\":{\"description\":\"Whether the options to copy, print, or download files inside this Team Drive, should be disabled for readers and commenters.\",\"type\":\"boolean\"},\"domainUsersOnly\":{\"description\":\"Whether access to this Team Drive and items inside this Team Drive is restricted to users of the domain to which this Team Drive belongs.\",\"type\":\"boolean\"},\"downloadRestriction\":{\"description\":\"Download restrictions applied by shared drive managers.\",\"$ref\":\"#/$defs/Input_DownloadRestriction\"},\"sharingFoldersRequiresOrganizerPermission\":{\"description\":\"If true, only users with the organizer role can share folders.\",\"type\":\"boolean\"},\"teamMembersOnly\":{\"description\":\"Whether access to items inside this Team Drive is restricted to members of this Team Drive.\",\"type\":\"boolean\"}},\"type\":\"object\"},\"themeId\":{\"description\":\"The ID of the theme from which the background image and color will be set.\",\"type\":\"string\"}},\"type\":\"object\"}},\"roots\":[null,null,null,null,null,{\"$ref\":\"#/$defs/Input_Channel\"},{\"$ref\":\"#/$defs/Input_Channel\"},null,{\"$ref\":\"#/$defs/Input_Drive\"},null,{\"$ref\":\"#/$defs/Input_Drive\"},null,null,null,null,{\"$ref\":\"#/$defs/Input_File\"},null,null,null,null,{\"$ref\":\"#/$defs/Input_File\"},null,null,null,{\"$ref\":\"#/$defs/Input_ResolveAccessProposalRequest\"},null,null,{\"$ref\":\"#/$defs/Input_ApproveApprovalRequest\"},{\"$ref\":\"#/$defs/Input_CancelApprovalRequest\"},{\"$ref\":\"#/$defs/Input_CommentApprovalRequest\"},{\"$ref\":\"#/$defs/Input_DeclineApprovalRequest\"},{\"$ref\":\"#/$defs/Input_ReassignApprovalRequest\"},{\"$ref\":\"#/$defs/Input_StartApprovalRequest\"},null,{\"$ref\":\"#/$defs/Input_drive_comments_create_Comment\"},null,{\"$ref\":\"#/$defs/Input_drive_comments_update_Comment\"},null,null,{\"$ref\":\"#/$defs/Input_Reply\"},null,{\"$ref\":\"#/$defs/Input_drive_replies_update_Reply\"},null,{\"$ref\":\"#/$defs/Input_File\"},null,null,null,{\"$ref\":\"#/$defs/Input_drive_files_modifyLabels_ModifyLabelsRequest\"},null,{\"$ref\":\"#/$defs/Input_drive_permissions_create_Permission\"},null,{\"$ref\":\"#/$defs/Input_Permission\"},null,null,null,{\"$ref\":\"#/$defs/Input_Revision\"},null,{\"$ref\":\"#/$defs/Input_Channel\"},null,null,{\"$ref\":\"#/$defs/Input_TeamDrive\"},null,{\"$ref\":\"#/$defs/Input_TeamDrive\"},null]}",
|
|
77
|
+
}, { "length": 51297, "definitions": "[{\"t\":\"object\",\"p\":{\"address\":{\"$\":1},\"expiration\":{\"$\":2},\"id\":{\"$\":3},\"kind\":{\"$\":4},\"params\":{\"$\":5},\"payload\":{\"$\":6},\"resourceId\":{\"$\":7},\"resourceUri\":{\"$\":8},\"token\":{\"$\":9},\"type\":{\"$\":10}}},{\"t\":\"string\",\"d\":\"The address where notifications are delivered for this channel.\"},{\"t\":\"string\",\"f\":\"int64\",\"d\":\"Date and time of notification channel expiration, expressed as a Unix timestamp, in milliseconds.\"},{\"t\":\"string\",\"d\":\"A UUID or similar unique string that identifies this channel.\"},{\"t\":\"string\",\"d\":\"Identifies this as a notification channel used to watch for changes to a resource, which is `api#channel`.\"},{\"t\":\"object\",\"d\":\"Additional parameters controlling delivery channel behavior.\",\"m\":{\"t\":\"string\"}},{\"t\":\"boolean\",\"d\":\"A Boolean value to indicate whether payload is wanted.\"},{\"t\":\"string\",\"d\":\"An opaque ID that identifies the resource being watched on this channel.\"},{\"t\":\"string\",\"d\":\"A version-specific identifier for the watched resource.\"},{\"t\":\"string\",\"d\":\"An arbitrary string delivered to the target address with each notification delivered over this channel.\"},{\"t\":\"string\",\"d\":\"The type of delivery mechanism used for this channel.\"},{\"t\":\"object\",\"p\":{\"backgroundImageFile\":{\"$\":12},\"colorRgb\":{\"$\":13},\"createdTime\":{\"$\":14},\"hidden\":{\"$\":15},\"name\":{\"t\":\"string\",\"d\":\"The name of this shared drive.\"},\"restrictions\":{\"$\":16},\"themeId\":{\"$\":18}}},{\"t\":\"object\",\"d\":\"An image file and cropping parameters from which a background image for this shared drive is set.\",\"p\":{\"id\":{\"t\":\"string\"},\"width\":{\"t\":\"number\",\"f\":\"float\"},\"xCoordinate\":{\"t\":\"number\",\"f\":\"float\"},\"yCoordinate\":{\"t\":\"number\",\"f\":\"float\"}}},{\"t\":\"string\",\"d\":\"The color of this shared drive as an RGB hex string.\"},{\"t\":\"string\",\"f\":\"date-time\",\"d\":\"The time at which the shared drive was created (RFC 3339 date-time).\"},{\"t\":\"boolean\",\"d\":\"Whether the shared drive is hidden from default view.\"},{\"t\":\"object\",\"d\":\"A set of restrictions that apply to this shared drive or items inside this shared drive.\",\"p\":{\"adminManagedRestrictions\":{\"t\":\"boolean\"},\"copyRequiresWriterPermission\":{\"t\":\"boolean\"},\"domainUsersOnly\":{\"t\":\"boolean\"},\"downloadRestriction\":{\"$\":17},\"driveMembersOnly\":{\"t\":\"boolean\"},\"sharingFoldersRequiresOrganizerPermission\":{\"t\":\"boolean\"}}},{\"t\":\"object\",\"p\":{\"restrictedForReaders\":{\"t\":\"boolean\"},\"restrictedForWriters\":{\"t\":\"boolean\"}}},{\"t\":\"string\",\"d\":\"The ID of the theme from which the background image and color will be set.\"},{\"t\":\"object\",\"p\":{\"appProperties\":{\"$\":20},\"clientEncryptionDetails\":{\"$\":21},\"contentHints\":{\"$\":23},\"contentRestrictions\":{\"$\":25},\"copyRequiresWriterPermission\":{\"$\":27},\"createdTime\":{\"$\":28},\"description\":{\"t\":\"string\",\"d\":\"A short description of the file.\"},\"downloadRestrictions\":{\"$\":29},\"folderColorRgb\":{\"$\":30},\"id\":{\"t\":\"string\",\"d\":\"The ID of the file.\"},\"inheritedPermissionsDisabled\":{\"$\":31},\"labelInfo\":{\"t\":\"object\",\"d\":\"Label information on the file.\",\"p\":{}},\"linkShareMetadata\":{\"$\":32},\"mimeType\":{\"t\":\"string\",\"d\":\"The MIME type of the file.\"},\"modifiedByMeTime\":{\"$\":33},\"modifiedTime\":{\"$\":34},\"name\":{\"t\":\"string\",\"d\":\"The name of the file.\"},\"originalFilename\":{\"$\":35},\"parents\":{\"$\":36},\"properties\":{\"$\":37},\"sharedWithMeTime\":{\"$\":38},\"shortcutDetails\":{\"$\":39},\"starred\":{\"t\":\"boolean\",\"d\":\"Whether the user has starred the file.\"},\"teamDriveId\":{\"t\":\"string\",\"deprecated\":true,\"d\":\"Deprecated: Output only.\"},\"trashed\":{\"$\":40},\"trashedTime\":{\"$\":41},\"viewedByMeTime\":{\"$\":42},\"viewersCanCopyContent\":{\"$\":43},\"writersCanShare\":{\"$\":44}}},{\"t\":\"object\",\"d\":\"A collection of arbitrary key-value pairs which are private to the requesting app.\",\"m\":{\"t\":\"string\"}},{\"t\":\"object\",\"d\":\"Details about the client-side encryption applied to the file.\",\"p\":{\"decryptionMetadata\":{\"$\":22},\"encryptionState\":{\"t\":\"string\"}}},{\"t\":\"object\",\"p\":{\"aes256GcmChunkSize\":{\"t\":\"string\"},\"encryptionResourceKeyHash\":{\"t\":\"string\"},\"jwt\":{\"t\":\"string\"},\"kaclsId\":{\"t\":\"string\",\"f\":\"int64\"},\"kaclsName\":{\"t\":\"string\"},\"keyFormat\":{\"t\":\"string\"},\"wrappedKey\":{\"t\":\"string\"}}},{\"t\":\"object\",\"d\":\"Additional information about the content of the file.\",\"p\":{\"indexableText\":{\"t\":\"string\"},\"thumbnail\":{\"$\":24}}},{\"t\":\"object\",\"p\":{\"image\":{\"t\":\"string\",\"f\":\"byte\"},\"mimeType\":{\"t\":\"string\"}}},{\"t\":\"array\",\"d\":\"Restrictions for accessing the content of the file.\",\"i\":{\"$\":26}},{\"t\":\"object\",\"p\":{\"ownerRestricted\":{\"t\":\"boolean\"},\"readOnly\":{\"t\":\"boolean\"},\"reason\":{\"t\":\"string\"},\"restrictionTime\":{\"t\":\"string\",\"f\":\"date-time\"}}},{\"t\":\"boolean\",\"d\":\"Whether the options to copy, print, or download this file should be disabled for readers and commenters.\"},{\"t\":\"string\",\"f\":\"date-time\",\"d\":\"The time at which the file was created (RFC 3339 date-time).\"},{\"t\":\"object\",\"d\":\"Download restrictions applied to the file.\",\"p\":{\"itemDownloadRestriction\":{\"$\":17}}},{\"t\":\"string\",\"d\":\"The color for a folder or a shortcut to a folder as an RGB hex string.\"},{\"t\":\"boolean\",\"d\":\"Whether this file has inherited permissions disabled.\"},{\"t\":\"object\",\"d\":\"Contains details about the link URLs that clients are using to refer to this item.\",\"p\":{}},{\"t\":\"string\",\"f\":\"date-time\",\"d\":\"The last time the file was modified by the user (RFC 3339 date-time).\"},{\"t\":\"string\",\"f\":\"date-time\",\"d\":\"he last time the file was modified by anyone (RFC 3339 date-time).\"},{\"t\":\"string\",\"d\":\"The original filename of the uploaded content if available, or else the original value of the `name` field.\"},{\"t\":\"array\",\"d\":\"The ID of the parent folder containing the file.\",\"i\":{\"t\":\"string\"}},{\"t\":\"object\",\"d\":\"A collection of arbitrary key-value pairs which are visible to all apps.\",\"m\":{\"t\":\"string\"}},{\"t\":\"string\",\"f\":\"date-time\",\"d\":\"The time at which the file was shared with the user, if applicable (RFC 3339 date-time).\"},{\"t\":\"object\",\"d\":\"Information about a shortcut file.\",\"p\":{\"targetId\":{\"t\":\"string\"}}},{\"t\":\"boolean\",\"d\":\"Whether the file has been trashed, either explicitly or from a trashed parent folder.\"},{\"t\":\"string\",\"f\":\"date-time\",\"d\":\"The time that the item was trashed (RFC 3339 date-time).\"},{\"t\":\"string\",\"f\":\"date-time\",\"d\":\"The last time the file was viewed by the user (RFC 3339 date-time).\"},{\"t\":\"boolean\",\"deprecated\":true,\"d\":\"Deprecated: Use `copyRequiresWriterPermission` instead.\"},{\"t\":\"boolean\",\"d\":\"Whether users with only `writer` permission can modify the file's permissions.\"},{\"t\":\"object\",\"p\":{\"anchor\":{\"$\":46},\"content\":{\"t\":\"string\",\"d\":\"The plain text content of the comment.\"},\"createdTime\":{\"$\":47},\"modifiedTime\":{\"$\":48},\"quotedFileContent\":{\"$\":49}},\"r\":[\"content\"]},{\"t\":\"string\",\"d\":\"A region of the document represented as a JSON string.\"},{\"t\":\"string\",\"f\":\"date-time\",\"d\":\"The time at which the comment was created (RFC 3339 date-time).\"},{\"t\":\"string\",\"f\":\"date-time\",\"d\":\"The last time the comment or any of its replies was modified (RFC 3339 date-time).\"},{\"t\":\"object\",\"d\":\"The file content to which the comment refers, typically within the anchor region.\",\"p\":{\"mimeType\":{\"t\":\"string\"},\"value\":{\"t\":\"string\"}}},{\"t\":\"string\",\"d\":\"The action the reply performed to the parent comment.\"},{\"t\":\"string\",\"f\":\"date-time\",\"d\":\"The time at which the reply was created (RFC 3339 date-time).\"},{\"t\":\"string\",\"f\":\"date-time\",\"d\":\"The last time the reply was modified (RFC 3339 date-time).\"},{\"t\":\"boolean\",\"d\":\"Whether the permission allows the file to be discovered through search.\"},{\"t\":\"string\",\"f\":\"date-time\",\"d\":\"The time at which this permission will expire (RFC 3339 date-time).\"},{\"t\":\"boolean\",\"d\":\"When `true`, only organizers, owners, and users with permissions added directly on the item can access it.\"},{\"t\":\"boolean\",\"d\":\"Whether the account associated with this permission is a pending owner.\"},{\"t\":\"object\",\"p\":{\"backgroundImageFile\":{\"$\":58},\"backgroundImageLink\":{\"$\":59},\"capabilities\":{\"$\":60},\"colorRgb\":{\"$\":61},\"createdTime\":{\"$\":62},\"id\":{\"$\":63},\"kind\":{\"t\":\"string\",\"d\":\"Identifies what kind of resource this is.\"},\"name\":{\"t\":\"string\",\"d\":\"The name of this Team Drive.\"},\"orgUnitId\":{\"$\":64},\"restrictions\":{\"$\":65},\"themeId\":{\"$\":18}}},{\"t\":\"object\",\"d\":\"The background image file for a Team Drive.\",\"p\":{\"id\":{\"t\":\"string\"},\"width\":{\"t\":\"number\",\"f\":\"float\"},\"xCoordinate\":{\"t\":\"number\",\"f\":\"float\"},\"yCoordinate\":{\"t\":\"number\",\"f\":\"float\"}}},{\"t\":\"string\",\"d\":\"A short-lived link to this Team Drive's background image.\"},{\"t\":\"object\",\"d\":\"Capabilities the current user has on this Team Drive.\",\"p\":{\"canAddChildren\":{\"t\":\"boolean\"},\"canChangeCopyRequiresWriterPermissionRestriction\":{\"t\":\"boolean\"},\"canChangeDomainUsersOnlyRestriction\":{\"t\":\"boolean\"},\"canChangeSharingFoldersRequiresOrganizerPermissionRestriction\":{\"t\":\"boolean\"},\"canChangeTeamDriveBackground\":{\"t\":\"boolean\"},\"canChangeTeamMembersOnlyRestriction\":{\"t\":\"boolean\"},\"canComment\":{\"t\":\"boolean\"},\"canCopy\":{\"t\":\"boolean\"},\"canDeleteChildren\":{\"t\":\"boolean\"},\"canDeleteTeamDrive\":{\"t\":\"boolean\"},\"canDownload\":{\"t\":\"boolean\"},\"canEdit\":{\"t\":\"boolean\"},\"canListChildren\":{\"t\":\"boolean\"},\"canManageMembers\":{\"t\":\"boolean\"},\"canReadRevisions\":{\"t\":\"boolean\"},\"canRemoveChildren\":{\"t\":\"boolean\",\"deprecated\":true},\"canRename\":{\"t\":\"boolean\"},\"canRenameTeamDrive\":{\"t\":\"boolean\"},\"canResetTeamDriveRestrictions\":{\"t\":\"boolean\"},\"canShare\":{\"t\":\"boolean\"},\"canTrashChildren\":{\"t\":\"boolean\"}}},{\"t\":\"string\",\"d\":\"The color of this Team Drive as an RGB hex string.\"},{\"t\":\"string\",\"f\":\"date-time\",\"d\":\"The time at which the Team Drive was created (RFC 3339 date-time).\"},{\"t\":\"string\",\"d\":\"The ID of this Team Drive which is also the ID of the top level folder of this Team Drive.\"},{\"t\":\"string\",\"d\":\"The organizational unit of this shared drive.\"},{\"t\":\"object\",\"d\":\"A set of restrictions that apply to this Team Drive or items inside this Team Drive.\",\"p\":{\"adminManagedRestrictions\":{\"t\":\"boolean\"},\"copyRequiresWriterPermission\":{\"t\":\"boolean\"},\"domainUsersOnly\":{\"t\":\"boolean\"},\"downloadRestriction\":{\"$\":17},\"sharingFoldersRequiresOrganizerPermission\":{\"t\":\"boolean\"},\"teamMembersOnly\":{\"t\":\"boolean\"}}}]", "parameters": ["[\"prettyPrint\",\"query\",0,{\"t\":\"boolean\"},\"Returns response with indentations and line breaks.\"]", "[\"fields\",\"query\",0,{\"t\":\"string\"},\"Selector specifying which fields to include in a partial response.\"]", "[\"appFilterMimeTypes\",\"query\",0,{\"t\":\"string\"},\"A comma-separated list of file extensions to limit returned results.\"]", "[\"languageCode\",\"query\",0,{\"t\":\"string\"},\"A language or locale code, as defined by BCP 47, with some extensions from Unicode's LDML format (http://www.unicode.org/reports/tr35/).\"]", "[\"appFilterExtensions\",\"query\",0,{\"t\":\"string\"},\"A comma-separated list of file extensions to limit returned results.\"]", "[\"appId\",\"path\",1,{\"t\":\"string\"},\"The ID of the app.\"]", "[\"includeTeamDriveItems\",\"query\",0,{\"t\":\"boolean\",\"deprecated\":true},\"Deprecated: Use `includeItemsFromAllDrives` instead.\"]", "[\"supportsTeamDrives\",\"query\",0,{\"t\":\"boolean\",\"deprecated\":true},\"Deprecated: Use `supportsAllDrives` instead.\"]", "[\"includePermissionsForView\",\"query\",0,{\"t\":\"string\"},\"Specifies which additional view's permissions to include in the response.\"]", "[\"includeRemoved\",\"query\",0,{\"t\":\"boolean\"},\"Whether to include changes indicating that items have been removed from the list of changes, for example by deletion or loss of access.\"]", "[\"supportsAllDrives\",\"query\",0,{\"t\":\"boolean\"},\"Whether the requesting application supports both My Drives and shared drives.\"]", "[\"spaces\",\"query\",0,{\"t\":\"string\"},\"A comma-separated list of spaces to query within the corpora.\"]", "[\"teamDriveId\",\"query\",0,{\"t\":\"string\",\"deprecated\":true},\"Deprecated: Use `driveId` instead.\"]", "[\"driveId\",\"query\",0,{\"t\":\"string\"},\"The shared drive from which changes will be returned.\"]", "[\"pageSize\",\"query\",0,{\"t\":\"integer\",\"f\":\"int32\",\"l\":1,\"u\":1000},\"The maximum number of changes to return.\"]", "[\"pageToken\",\"query\",1,{\"t\":\"string\"},\"The token for continuing a previous list request on the next page.\"]", "[\"includeItemsFromAllDrives\",\"query\",0,{\"t\":\"boolean\"},\"Whether both My Drive and shared drive items should be included in results.\"]", "[\"includeCorpusRemovals\",\"query\",0,{\"t\":\"boolean\"},\"Whether changes should include the file resource if the file is still accessible by the user at the time of the request, even when a file was removed from the …\"]", "[\"restrictToMyDrive\",\"query\",0,{\"t\":\"boolean\"},\"Whether to restrict the results to changes inside the My Drive hierarchy.\"]", "[\"includeLabels\",\"query\",0,{\"t\":\"string\"},\"A comma-separated list of IDs of labels to include in the `labelInfo` part of the response.\"]", "[\"driveId\",\"query\",0,{\"t\":\"string\"},\"The ID of the shared drive for which the starting pageToken for listing future changes from that shared drive will be returned.\"]", "[\"useDomainAdminAccess\",\"query\",0,{\"t\":\"boolean\"},\"Issue the request as a domain administrator; if set to true, then all shared drives of the domain in which the requester is an administrator are returned.\"]", "[\"pageToken\",\"query\",0,{\"t\":\"string\"},\"Page token for shared drives.\"]", "[\"q\",\"query\",0,{\"t\":\"string\"},\"Query string for searching shared drives.\"]", "[\"pageSize\",\"query\",0,{\"t\":\"integer\",\"f\":\"int32\",\"l\":1,\"u\":100},\"The maximum number of shared drives to return.\"]", "[\"requestId\",\"query\",1,{\"t\":\"string\"},\"Required.\"]", "[\"useDomainAdminAccess\",\"query\",0,{\"t\":\"boolean\"},\"Issue the request as a domain administrator; if set to true, then the requester will be granted access if they are an administrator of the domain to which the …\"]", "[\"driveId\",\"path\",1,{\"t\":\"string\"},\"The ID of the shared drive.\"]", "[\"allowItemDeletion\",\"query\",0,{\"t\":\"boolean\"},\"Whether any items inside the shared drive should also be deleted.\"]", "[\"pageSize\",\"query\",0,{\"t\":\"integer\",\"f\":\"int32\",\"l\":1,\"u\":1000},\"The maximum number of files to return.\"]", "[\"orderBy\",\"query\",0,{\"t\":\"string\"},\"A comma-separated list of sort keys.\"]", "[\"q\",\"query\",0,{\"t\":\"string\"},\"A query for filtering the file results.\"]", "[\"corpora\",\"query\",0,{\"t\":\"string\"},\"Specifies a collection of items (files or documents) to which the query applies.\"]", "[\"corpus\",\"query\",0,{\"t\":\"string\",\"e\":[\"domain\",\"user\"],\"deprecated\":true},\"Deprecated: The source of files to list.\"]", "[\"driveId\",\"query\",0,{\"t\":\"string\"},\"ID of the shared drive to search.\"]", "[\"pageToken\",\"query\",0,{\"t\":\"string\"},\"The token for continuing a previous list request on the next page.\"]", "[\"ocrLanguage\",\"query\",0,{\"t\":\"string\"},\"A language hint for OCR processing during image import (ISO 639-1 code).\"]", "[\"enforceSingleParent\",\"query\",0,{\"t\":\"boolean\",\"deprecated\":true},\"Deprecated: Creating files in multiple folders is no longer supported.\"]", "[\"useContentAsIndexableText\",\"query\",0,{\"t\":\"boolean\"},\"Whether to use the uploaded content as indexable text.\"]", "[\"keepRevisionForever\",\"query\",0,{\"t\":\"boolean\"},\"Whether to set the `keepForever` field in the new head revision.\"]", "[\"ignoreDefaultVisibility\",\"query\",0,{\"t\":\"boolean\"},\"Whether to ignore the domain's default visibility settings for the created file.\"]", "[\"parent\",\"query\",0,{\"t\":\"string\"},\"The ID of the expected parent of the file.\"]", "[\"fileId\",\"query\",0,{\"t\":\"string\"},\"The ID of the file for which the JWT should be generated.\"]", "[\"type\",\"query\",0,{\"t\":\"string\"},\"The type of items which the IDs can be used for.\"]", "[\"count\",\"query\",0,{\"t\":\"integer\",\"f\":\"int32\",\"l\":1,\"u\":1000},\"The number of IDs to return.\"]", "[\"space\",\"query\",0,{\"t\":\"string\"},\"The space in which the IDs can be used to create files.\"]", "[\"enforceSingleParent\",\"query\",0,{\"t\":\"boolean\",\"deprecated\":true},\"Deprecated: If an item isn't in a shared drive and its last parent is deleted but the item itself isn't, the item will be placed under its owner's root.\"]", "[\"driveId\",\"query\",0,{\"t\":\"string\"},\"If set, empties the trash of the provided shared drive.\"]", "[\"fileId\",\"path\",1,{\"t\":\"string\"},\"The ID of the file.\"]", "[\"acknowledgeAbuse\",\"query\",0,{\"t\":\"boolean\"},\"Whether the user is acknowledging the risk of downloading known malware or other abusive files.\"]", "[\"addParents\",\"query\",0,{\"t\":\"string\"},\"A comma-separated list of parent IDs to add.\"]", "[\"removeParents\",\"query\",0,{\"t\":\"string\"},\"A comma-separated list of parent IDs to remove.\"]", "[\"enforceSingleParent\",\"query\",0,{\"t\":\"boolean\",\"deprecated\":true},\"Deprecated: Adding files to multiple folders is no longer supported.\"]", "[\"fileId\",\"path\",1,{\"t\":\"string\"},\"Required.\"]", "[\"pageToken\",\"query\",0,{\"t\":\"string\"},\"Optional.\"]", "[\"pageSize\",\"query\",0,{\"t\":\"integer\",\"f\":\"int32\"},\"Optional.\"]", "[\"proposalId\",\"path\",1,{\"t\":\"string\"},\"Required.\"]", "[\"pageSize\",\"query\",0,{\"t\":\"integer\",\"f\":\"int32\"},\"The maximum number of approvals to return.\"]", "[\"approvalId\",\"path\",1,{\"t\":\"string\"},\"Required.\"]", "[\"pageSize\",\"query\",0,{\"t\":\"integer\",\"f\":\"int32\",\"l\":1,\"u\":100},\"The maximum number of comments to return.\"]", "[\"includeDeleted\",\"query\",0,{\"t\":\"boolean\"},\"Whether to include deleted comments.\"]", "[\"startModifiedTime\",\"query\",0,{\"t\":\"string\"},\"The minimum value of 'modifiedTime' for the result comments (RFC 3339 date-time).\"]", "[\"commentId\",\"path\",1,{\"t\":\"string\"},\"The ID of the comment.\"]", "[\"includeDeleted\",\"query\",0,{\"t\":\"boolean\"},\"Whether to return deleted comments.\"]", "[\"pageSize\",\"query\",0,{\"t\":\"integer\",\"f\":\"int32\",\"l\":1,\"u\":100},\"The maximum number of replies to return.\"]", "[\"includeDeleted\",\"query\",0,{\"t\":\"boolean\"},\"Whether to include deleted replies.\"]", "[\"includeDeleted\",\"query\",0,{\"t\":\"boolean\"},\"Whether to return deleted replies.\"]", "[\"replyId\",\"path\",1,{\"t\":\"string\"},\"The ID of the reply.\"]", "[\"enforceSingleParent\",\"query\",0,{\"t\":\"boolean\",\"deprecated\":true},\"Deprecated: Copying files into multiple folders is no longer supported.\"]", "[\"copyComments\",\"query\",0,{\"t\":\"boolean\"},\"Whether to copy the open (unresolved) comments associated with the file.\"]", "[\"revisionId\",\"query\",0,{\"t\":\"string\"},\"Optional.\"]", "[\"mimeType\",\"query\",0,{\"t\":\"string\"},\"Optional.\"]", "[\"mimeType\",\"query\",1,{\"t\":\"string\"},\"Required.\"]", "[\"fileId\",\"path\",1,{\"t\":\"string\"},\"The ID for the file.\"]", "[\"maxResults\",\"query\",0,{\"t\":\"integer\",\"f\":\"int32\",\"l\":1,\"u\":100},\"The maximum number of labels to return per page.\"]", "[\"fileId\",\"path\",1,{\"t\":\"string\"},\"The ID of the file to which the labels belong.\"]", "[\"pageSize\",\"query\",0,{\"t\":\"integer\",\"f\":\"int32\",\"l\":1,\"u\":100},\"The maximum number of permissions to return.\"]", "[\"fileId\",\"path\",1,{\"t\":\"string\"},\"The ID of the file or shared drive.\"]", "[\"useDomainAdminAccess\",\"query\",0,{\"t\":\"boolean\"},\"Issue the request as a domain administrator.\"]", "[\"emailMessage\",\"query\",0,{\"t\":\"string\"},\"A plain text custom message to include in the notification email.\"]", "[\"enforceSingleParent\",\"query\",0,{\"t\":\"boolean\",\"deprecated\":true},\"Deprecated: See `moveToNewOwnersRoot` for details.\"]", "[\"enforceExpansiveAccess\",\"query\",0,{\"t\":\"boolean\",\"deprecated\":true},\"Deprecated: All requests use the expansive access rules.\"]", "[\"moveToNewOwnersRoot\",\"query\",0,{\"t\":\"boolean\"},\"This parameter only takes effect if the item isn't in a shared drive and the request is attempting to transfer the ownership of the item.\"]", "[\"transferOwnership\",\"query\",0,{\"t\":\"boolean\"},\"Whether to transfer ownership to the specified user and downgrade the current owner to a writer.\"]", "[\"sendNotificationEmail\",\"query\",0,{\"t\":\"boolean\"},\"Whether to send a notification email when sharing to users or groups.\"]", "[\"permissionId\",\"path\",1,{\"t\":\"string\"},\"The ID of the permission.\"]", "[\"removeExpiration\",\"query\",0,{\"t\":\"boolean\"},\"Whether to remove the expiration date.\"]", "[\"pageSize\",\"query\",0,{\"t\":\"integer\",\"f\":\"int32\",\"l\":1,\"u\":1000},\"The maximum number of revisions to return.\"]", "[\"revisionId\",\"path\",1,{\"t\":\"string\"},\"The ID of the revision.\"]", "[\"name\",\"path\",1,{\"t\":\"string\"},\"The name of the operation resource.\"]", "[\"pageSize\",\"query\",0,{\"t\":\"integer\",\"f\":\"int32\",\"l\":1,\"u\":100},\"Maximum number of Team Drives to return.\"]", "[\"q\",\"query\",0,{\"t\":\"string\"},\"Query string for searching Team Drives.\"]", "[\"pageToken\",\"query\",0,{\"t\":\"string\"},\"Page token for Team Drives.\"]", "[\"useDomainAdminAccess\",\"query\",0,{\"t\":\"boolean\"},\"Issue the request as a domain administrator; if set to true, then all Team Drives of the domain in which the requester is an administrator are returned.\"]", "[\"teamDriveId\",\"path\",1,{\"t\":\"string\"},\"The ID of the Team Drive\"]"], "operations": [[[0, 1], "0"], [[0, 1, 2, 3, 4], "0"], [[0, 1, 5], "0"], [[0, 1, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19], "0"], [[0, 1, 7, 20, 12, 10], "0"], [[0, 1, 19, 8, 17, 11, 12, 10, 15, 9, 13, 18, 14, 7, 6, 16], "[\"application/json\",{\"$\":0},1]"], [[0, 1], "[\"application/json\",{\"$\":0},1]"], [[0, 1, 21, 22, 23, 24], "0"], [[0, 1, 25], "[\"application/json\",{\"$\":11},1]"], [[0, 1, 26, 27], "0"], [[0, 1, 26, 27], "[\"application/json\",{\"$\":11},1]"], [[0, 1, 27, 28, 26], "0"], [[0, 1, 27], "0"], [[0, 1, 27], "0"], [[0, 1, 11, 29, 30, 16, 6, 8, 31, 10, 19, 32, 12, 7, 33, 34, 35], "0"], [[0, 1, 36, 37, 38, 10, 39, 7, 40, 8, 19], "[\"application/json\",{\"$\":19},1]"], [[0, 1, 41, 42], "0"], [[0, 1, 43, 44, 45], "0"], [[0, 1, 46, 47], "0"], [[0, 1, 48, 8, 19, 49, 10, 7], "0"], [[0, 1, 8, 10, 19, 39, 36, 48, 50, 38, 51, 52, 7], "[\"application/json\",{\"$\":19},1]"], [[0, 1, 7, 46, 48, 10], "0"], [[0, 1, 53, 54, 55], "0"], [[0, 1, 53, 56], "0"], [[0, 1, 53, 56], "[\"application/json\",{\"t\":\"object\",\"p\":{\"action\":{\"t\":\"string\",\"e\":[\"ACTION_UNSPECIFIED\",\"ACCEPT\",\"DENY\"],\"d\":\"Required.\"},\"role\":{\"t\":\"array\",\"d\":\"Optional.\",\"i\":{\"t\":\"string\"}},\"sendNotification\":{\"t\":\"boolean\",\"d\":\"Optional.\"},\"view\":{\"t\":\"string\",\"d\":\"Optional.\"}}},1]"], [[0, 1, 35, 57, 53], "0"], [[0, 1, 53, 58], "0"], [[0, 1, 53, 58], "[\"application/json\",{\"t\":\"object\",\"p\":{\"message\":{\"t\":\"string\",\"d\":\"Optional.\"}}},1]"], [[0, 1, 58, 53], "[\"application/json\",{\"t\":\"object\",\"p\":{\"message\":{\"t\":\"string\",\"d\":\"Optional.\"}}},1]"], [[0, 1, 58, 53], "[\"application/json\",{\"t\":\"object\",\"p\":{\"message\":{\"t\":\"string\",\"d\":\"Required.\"}}},1]"], [[0, 1, 58, 53], "[\"application/json\",{\"t\":\"object\",\"p\":{\"message\":{\"t\":\"string\",\"d\":\"Optional.\"}}},1]"], [[0, 1, 58, 53], "[\"application/json\",{\"t\":\"object\",\"p\":{\"addReviewers\":{\"t\":\"array\",\"d\":\"Optional.\",\"i\":{\"t\":\"object\",\"p\":{\"addedReviewerEmail\":{\"t\":\"string\"}}}},\"message\":{\"t\":\"string\",\"d\":\"Optional.\"},\"replaceReviewers\":{\"t\":\"array\",\"d\":\"Optional.\",\"i\":{\"t\":\"object\",\"p\":{\"addedReviewerEmail\":{\"t\":\"string\"},\"removedReviewerEmail\":{\"t\":\"string\"}}}}}},1]"], [[0, 1, 53], "[\"application/json\",{\"t\":\"object\",\"p\":{\"dueTime\":{\"t\":\"string\",\"f\":\"google-datetime\",\"d\":\"Optional.\"},\"fileContentChangeBehavior\":{\"t\":\"string\",\"e\":[\"FILE_CONTENT_CHANGE_BEHAVIOR_UNSPECIFIED\",\"RESET_APPROVAL\",\"NO_APPROVAL_ACTION\"],\"d\":\"Optional.\"},\"lockFile\":{\"t\":\"boolean\",\"d\":\"Optional.\"},\"message\":{\"t\":\"string\",\"d\":\"Optional.\"},\"reviewerEmails\":{\"t\":\"array\",\"d\":\"Required.\",\"i\":{\"t\":\"string\"}}}},1]"], [[0, 1, 35, 59, 60, 61, 48], "0"], [[0, 1, 48], "[\"application/json\",{\"$\":45},1]"], [[0, 1, 48, 62, 63], "0"], [[0, 1, 48, 62], "[\"application/json\",{\"$\":45},1]"], [[0, 1, 62, 48], "0"], [[0, 1, 48, 64, 65, 35, 62], "0"], [[0, 1, 48, 62], "[\"application/json\",{\"t\":\"object\",\"p\":{\"action\":{\"$\":50},\"content\":{\"t\":\"string\",\"d\":\"The plain text content of the reply.\"},\"createdTime\":{\"$\":51},\"modifiedTime\":{\"$\":52}}},1]"], [[0, 1, 48, 62, 66, 67], "0"], [[0, 1, 48, 62, 67], "[\"application/json\",{\"t\":\"object\",\"p\":{\"action\":{\"$\":50},\"content\":{\"t\":\"string\",\"d\":\"The plain text content of the reply.\"},\"createdTime\":{\"$\":51},\"modifiedTime\":{\"$\":52}},\"r\":[\"content\"]},1]"], [[0, 1, 48, 62, 67], "0"], [[0, 1, 19, 36, 40, 39, 7, 8, 10, 48, 68, 69], "[\"application/json\",{\"$\":19},1]"], [[0, 1, 53, 70, 71], "0"], [[0, 1, 72, 48], "0"], [[0, 1, 73, 35, 74], "0"], [[0, 1, 75], "[\"application/json\",{\"t\":\"object\",\"p\":{\"kind\":{\"t\":\"string\",\"d\":\"This is always `\\\"drive#modifyLabelsRequest\\\"`.\"},\"labelModifications\":{\"t\":\"array\",\"d\":\"The list of modifications to apply to the labels on the file.\",\"i\":{\"t\":\"object\",\"p\":{\"fieldModifications\":{\"t\":\"array\",\"i\":{\"t\":\"object\",\"p\":{\"fieldId\":{\"t\":\"string\"},\"kind\":{\"t\":\"string\"},\"setDateValues\":{\"t\":\"array\",\"x\":1},\"setIntegerValues\":{\"t\":\"array\",\"x\":1},\"setSelectionValues\":{\"t\":\"array\",\"x\":1},\"setTextValues\":{\"t\":\"array\",\"x\":1},\"setUserValues\":{\"t\":\"array\",\"x\":1},\"unsetValues\":{\"t\":\"boolean\"}}}},\"kind\":{\"t\":\"string\"},\"labelId\":{\"t\":\"string\"},\"removeLabel\":{\"t\":\"boolean\"}},\"r\":[\"labelId\"]}}}},1]"], [[0, 1, 76, 7, 35, 8, 77, 10, 78], "0"], [[0, 1, 79, 80, 81, 78, 82, 77, 10, 83, 7, 84], "[\"application/json\",{\"t\":\"object\",\"p\":{\"allowFileDiscovery\":{\"$\":53},\"expirationTime\":{\"$\":54},\"inheritedPermissionsDisabled\":{\"$\":55},\"pendingOwner\":{\"$\":56},\"role\":{\"t\":\"string\",\"d\":\"The role granted by this permission.\"},\"type\":{\"t\":\"string\",\"d\":\"The type of the grantee.\"},\"view\":{\"t\":\"string\",\"d\":\"Indicates the view for this permission.\"}},\"r\":[\"role\",\"type\"]},1]"], [[0, 1, 78, 7, 85, 10, 48], "0"], [[0, 1, 81, 86, 7, 10, 85, 77, 83, 78], "[\"application/json\",{\"t\":\"object\",\"p\":{\"allowFileDiscovery\":{\"$\":53},\"expirationTime\":{\"$\":54},\"inheritedPermissionsDisabled\":{\"$\":55},\"pendingOwner\":{\"$\":56},\"role\":{\"t\":\"string\",\"d\":\"The role granted by this permission.\"},\"type\":{\"t\":\"string\",\"d\":\"The type of the grantee.\"},\"view\":{\"t\":\"string\",\"d\":\"Indicates the view for this permission.\"}}},1]"], [[0, 1, 85, 81, 7, 10, 78, 77], "0"], [[0, 1, 35, 87, 48], "0"], [[0, 1, 48, 49, 88], "0"], [[0, 1, 48, 88], "[\"application/json\",{\"t\":\"object\",\"p\":{\"keepForever\":{\"t\":\"boolean\",\"d\":\"Whether to keep this revision forever, even if it is no longer the head revision.\"},\"modifiedTime\":{\"t\":\"string\",\"f\":\"date-time\",\"d\":\"The last time the revision was modified (RFC 3339 date-time).\"},\"publishAuto\":{\"t\":\"boolean\",\"d\":\"Whether subsequent revisions will be automatically republished.\"},\"published\":{\"t\":\"boolean\",\"d\":\"Whether this revision is published.\"},\"publishedOutsideDomain\":{\"t\":\"boolean\",\"d\":\"Whether this revision is published outside the domain.\"}}},1]"], [[0, 1, 88, 48], "0"], [[0, 1, 10, 48, 7, 49, 8, 19], "[\"application/json\",{\"$\":0},1]"], [[0, 1, 89], "0"], [[0, 1, 90, 91, 92, 93], "0"], [[0, 1, 25], "[\"application/json\",{\"$\":57},1]"], [[0, 1, 94, 26], "0"], [[0, 1, 94, 26], "[\"application/json\",{\"$\":57},1]"], [[0, 1, 94], "0"]] });
|