diff --git a/.eslintignore b/.eslintignore index 2fa9fb8905..101ed07d8b 100644 --- a/.eslintignore +++ b/.eslintignore @@ -4,4 +4,4 @@ types/ /test/restDocs/*.json /test/restDocs/results/ /test/restDocs/snapshots/ -jest*.config.js +/jest*.config.js diff --git a/package-lock.json b/package-lock.json index 25de1c98b6..73c7e3e3de 100644 --- a/package-lock.json +++ b/package-lock.json @@ -14,6 +14,7 @@ "@types/dot": "^1.1.5", "@types/gapi.client.discovery": "^1.0.8", "@types/jest": "^29.0.3", + "@types/jest-specific-snapshot": "^0.5.6", "@types/lodash": "^4.14.185", "@types/n-readlines": "^1.0.3", "@types/node": "^18.7.18", @@ -32,6 +33,7 @@ "hpagent": "^1.0.0", "jest": "^29.0.3", "jest-resolve": "^28.1.3", + "jest-specific-snapshot": "^5.0.0", "lodash": "^4.17.21", "n-readlines": "^1.0.1", "nock": "^13.2.9", @@ -1915,6 +1917,14 @@ "pretty-format": "^29.0.0" } }, + "node_modules/@types/jest-specific-snapshot": { + "version": "0.5.6", + "resolved": "https://registry.npmjs.org/@types/jest-specific-snapshot/-/jest-specific-snapshot-0.5.6.tgz", + "integrity": "sha512-AQdUbEyTwO6JR2yZK7PTXDzK32AlkviDZJZEukZnrZtBjITYBtExFh59HTNTZeFSs+k1b1bqCHmWUwj3VHeh/A==", + "dependencies": { + "@types/jest": "*" + } + }, "node_modules/@types/jest/node_modules/@jest/schemas": { "version": "29.0.0", "resolved": "https://registry.npmjs.org/@jest/schemas/-/schemas-29.0.0.tgz", @@ -6820,6 +6830,18 @@ "url": "https://github.com/chalk/supports-color?sponsor=1" } }, + "node_modules/jest-serializer": { + "version": "27.5.1", + "resolved": "https://registry.npmjs.org/jest-serializer/-/jest-serializer-27.5.1.tgz", + "integrity": "sha512-jZCyo6iIxO1aqUxpuBlwTDMkzOAJS4a3eYz3YzgxxVQFwLeSA7Jfq5cbqCY+JLvTDrWirgusI/0KwxKMgrdf7w==", + "dependencies": { + "@types/node": "*", + "graceful-fs": "^4.2.9" + }, + "engines": { + "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" + } + }, "node_modules/jest-snapshot": { "version": "29.0.3", "resolved": "https://registry.npmjs.org/jest-snapshot/-/jest-snapshot-29.0.3.tgz", @@ -6972,6 +6994,290 @@ "url": "https://github.com/chalk/supports-color?sponsor=1" } }, + "node_modules/jest-specific-snapshot": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/jest-specific-snapshot/-/jest-specific-snapshot-5.0.0.tgz", + "integrity": "sha512-V65vuPxZQExD3tGbv+Du5tbG1E3H3Dq/HFbsCEkPJP27w5vr/nATQJl61Dx5doBfu54OrJak0JaeYVSeZubDKg==", + "dependencies": { + "jest-snapshot": "^27.0.2" + }, + "peerDependencies": { + "jest": ">= 27.0.0" + } + }, + "node_modules/jest-specific-snapshot/node_modules/@babel/code-frame": { + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.18.6.tgz", + "integrity": "sha512-TDCmlK5eOvH+eH7cdAFlNXeVJqWIQ7gW9tY1GJIpUtFb6CmjVyq2VM3u71bOyR8CRihcCgMUYoDNyLXao3+70Q==", + "dependencies": { + "@babel/highlight": "^7.18.6" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/jest-specific-snapshot/node_modules/@jest/transform": { + "version": "27.5.1", + "resolved": "https://registry.npmjs.org/@jest/transform/-/transform-27.5.1.tgz", + "integrity": "sha512-ipON6WtYgl/1329g5AIJVbUuEh0wZVbdpGwC99Jw4LwuoBNS95MVphU6zOeD9pDkon+LLbFL7lOQRapbB8SCHw==", + "dependencies": { + "@babel/core": "^7.1.0", + "@jest/types": "^27.5.1", + "babel-plugin-istanbul": "^6.1.1", + "chalk": "^4.0.0", + "convert-source-map": "^1.4.0", + "fast-json-stable-stringify": "^2.0.0", + "graceful-fs": "^4.2.9", + "jest-haste-map": "^27.5.1", + "jest-regex-util": "^27.5.1", + "jest-util": "^27.5.1", + "micromatch": "^4.0.4", + "pirates": "^4.0.4", + "slash": "^3.0.0", + "source-map": "^0.6.1", + "write-file-atomic": "^3.0.0" + }, + "engines": { + "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" + } + }, + "node_modules/jest-specific-snapshot/node_modules/@jest/types": { + "version": "27.5.1", + "resolved": "https://registry.npmjs.org/@jest/types/-/types-27.5.1.tgz", + "integrity": "sha512-Cx46iJ9QpwQTjIdq5VJu2QTMMs3QlEjI0x1QbBP5W1+nMzyc2XmimiRR/CbX9TO0cPTeUlxWMOu8mslYsJ8DEw==", + "dependencies": { + "@types/istanbul-lib-coverage": "^2.0.0", + "@types/istanbul-reports": "^3.0.0", + "@types/node": "*", + "@types/yargs": "^16.0.0", + "chalk": "^4.0.0" + }, + "engines": { + "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" + } + }, + "node_modules/jest-specific-snapshot/node_modules/@types/yargs": { + "version": "16.0.4", + "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-16.0.4.tgz", + "integrity": "sha512-T8Yc9wt/5LbJyCaLiHPReJa0kApcIgJ7Bn735GjItUfh08Z1pJvu8QZqb9s+mMvKV6WUQRV7K2R46YbjMXTTJw==", + "dependencies": { + "@types/yargs-parser": "*" + } + }, + "node_modules/jest-specific-snapshot/node_modules/ansi-styles": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-5.2.0.tgz", + "integrity": "sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/jest-specific-snapshot/node_modules/diff-sequences": { + "version": "27.5.1", + "resolved": "https://registry.npmjs.org/diff-sequences/-/diff-sequences-27.5.1.tgz", + "integrity": "sha512-k1gCAXAsNgLwEL+Y8Wvl+M6oEFj5bgazfZULpS5CneoPPXRaCCW7dm+q21Ky2VEE5X+VeRDBVg1Pcvvsr4TtNQ==", + "engines": { + "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" + } + }, + "node_modules/jest-specific-snapshot/node_modules/expect": { + "version": "27.5.1", + "resolved": "https://registry.npmjs.org/expect/-/expect-27.5.1.tgz", + "integrity": "sha512-E1q5hSUG2AmYQwQJ041nvgpkODHQvB+RKlB4IYdru6uJsyFTRyZAP463M+1lINorwbqAmUggi6+WwkD8lCS/Dw==", + "dependencies": { + "@jest/types": "^27.5.1", + "jest-get-type": "^27.5.1", + "jest-matcher-utils": "^27.5.1", + "jest-message-util": "^27.5.1" + }, + "engines": { + "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" + } + }, + "node_modules/jest-specific-snapshot/node_modules/jest-diff": { + "version": "27.5.1", + "resolved": "https://registry.npmjs.org/jest-diff/-/jest-diff-27.5.1.tgz", + "integrity": "sha512-m0NvkX55LDt9T4mctTEgnZk3fmEg3NRYutvMPWM/0iPnkFj2wIeF45O1718cMSOFO1vINkqmxqD8vE37uTEbqw==", + "dependencies": { + "chalk": "^4.0.0", + "diff-sequences": "^27.5.1", + "jest-get-type": "^27.5.1", + "pretty-format": "^27.5.1" + }, + "engines": { + "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" + } + }, + "node_modules/jest-specific-snapshot/node_modules/jest-get-type": { + "version": "27.5.1", + "resolved": "https://registry.npmjs.org/jest-get-type/-/jest-get-type-27.5.1.tgz", + "integrity": "sha512-2KY95ksYSaK7DMBWQn6dQz3kqAf3BB64y2udeG+hv4KfSOb9qwcYQstTJc1KCbsix+wLZWZYN8t7nwX3GOBLRw==", + "engines": { + "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" + } + }, + "node_modules/jest-specific-snapshot/node_modules/jest-haste-map": { + "version": "27.5.1", + "resolved": "https://registry.npmjs.org/jest-haste-map/-/jest-haste-map-27.5.1.tgz", + "integrity": "sha512-7GgkZ4Fw4NFbMSDSpZwXeBiIbx+t/46nJ2QitkOjvwPYyZmqttu2TDSimMHP1EkPOi4xUZAN1doE5Vd25H4Jng==", + "dependencies": { + "@jest/types": "^27.5.1", + "@types/graceful-fs": "^4.1.2", + "@types/node": "*", + "anymatch": "^3.0.3", + "fb-watchman": "^2.0.0", + "graceful-fs": "^4.2.9", + "jest-regex-util": "^27.5.1", + "jest-serializer": "^27.5.1", + "jest-util": "^27.5.1", + "jest-worker": "^27.5.1", + "micromatch": "^4.0.4", + "walker": "^1.0.7" + }, + "engines": { + "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" + }, + "optionalDependencies": { + "fsevents": "^2.3.2" + } + }, + "node_modules/jest-specific-snapshot/node_modules/jest-matcher-utils": { + "version": "27.5.1", + "resolved": "https://registry.npmjs.org/jest-matcher-utils/-/jest-matcher-utils-27.5.1.tgz", + "integrity": "sha512-z2uTx/T6LBaCoNWNFWwChLBKYxTMcGBRjAt+2SbP929/Fflb9aa5LGma654Rz8z9HLxsrUaYzxE9T/EFIL/PAw==", + "dependencies": { + "chalk": "^4.0.0", + "jest-diff": "^27.5.1", + "jest-get-type": "^27.5.1", + "pretty-format": "^27.5.1" + }, + "engines": { + "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" + } + }, + "node_modules/jest-specific-snapshot/node_modules/jest-message-util": { + "version": "27.5.1", + "resolved": "https://registry.npmjs.org/jest-message-util/-/jest-message-util-27.5.1.tgz", + "integrity": "sha512-rMyFe1+jnyAAf+NHwTclDz0eAaLkVDdKVHHBFWsBWHnnh5YeJMNWWsv7AbFYXfK3oTqvL7VTWkhNLu1jX24D+g==", + "dependencies": { + "@babel/code-frame": "^7.12.13", + "@jest/types": "^27.5.1", + "@types/stack-utils": "^2.0.0", + "chalk": "^4.0.0", + "graceful-fs": "^4.2.9", + "micromatch": "^4.0.4", + "pretty-format": "^27.5.1", + "slash": "^3.0.0", + "stack-utils": "^2.0.3" + }, + "engines": { + "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" + } + }, + "node_modules/jest-specific-snapshot/node_modules/jest-regex-util": { + "version": "27.5.1", + "resolved": "https://registry.npmjs.org/jest-regex-util/-/jest-regex-util-27.5.1.tgz", + "integrity": "sha512-4bfKq2zie+x16okqDXjXn9ql2B0dScQu+vcwe4TvFVhkVyuWLqpZrZtXxLLWoXYgn0E87I6r6GRYHF7wFZBUvg==", + "engines": { + "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" + } + }, + "node_modules/jest-specific-snapshot/node_modules/jest-snapshot": { + "version": "27.5.1", + "resolved": "https://registry.npmjs.org/jest-snapshot/-/jest-snapshot-27.5.1.tgz", + "integrity": "sha512-yYykXI5a0I31xX67mgeLw1DZ0bJB+gpq5IpSuCAoyDi0+BhgU/RIrL+RTzDmkNTchvDFWKP8lp+w/42Z3us5sA==", + "dependencies": { + "@babel/core": "^7.7.2", + "@babel/generator": "^7.7.2", + "@babel/plugin-syntax-typescript": "^7.7.2", + "@babel/traverse": "^7.7.2", + "@babel/types": "^7.0.0", + "@jest/transform": "^27.5.1", + "@jest/types": "^27.5.1", + "@types/babel__traverse": "^7.0.4", + "@types/prettier": "^2.1.5", + "babel-preset-current-node-syntax": "^1.0.0", + "chalk": "^4.0.0", + "expect": "^27.5.1", + "graceful-fs": "^4.2.9", + "jest-diff": "^27.5.1", + "jest-get-type": "^27.5.1", + "jest-haste-map": "^27.5.1", + "jest-matcher-utils": "^27.5.1", + "jest-message-util": "^27.5.1", + "jest-util": "^27.5.1", + "natural-compare": "^1.4.0", + "pretty-format": "^27.5.1", + "semver": "^7.3.2" + }, + "engines": { + "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" + } + }, + "node_modules/jest-specific-snapshot/node_modules/jest-util": { + "version": "27.5.1", + "resolved": "https://registry.npmjs.org/jest-util/-/jest-util-27.5.1.tgz", + "integrity": "sha512-Kv2o/8jNvX1MQ0KGtw480E/w4fBCDOnH6+6DmeKi6LZUIlKA5kwY0YNdlzaWTiVgxqAqik11QyxDOKk543aKXw==", + "dependencies": { + "@jest/types": "^27.5.1", + "@types/node": "*", + "chalk": "^4.0.0", + "ci-info": "^3.2.0", + "graceful-fs": "^4.2.9", + "picomatch": "^2.2.3" + }, + "engines": { + "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" + } + }, + "node_modules/jest-specific-snapshot/node_modules/jest-worker": { + "version": "27.5.1", + "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-27.5.1.tgz", + "integrity": "sha512-7vuh85V5cdDofPyxn58nrPjBktZo0u9x1g8WtjQol+jZDaE+fhN+cIvTj11GndBnMnyfrUOG1sZQxCdjKh+DKg==", + "dependencies": { + "@types/node": "*", + "merge-stream": "^2.0.0", + "supports-color": "^8.0.0" + }, + "engines": { + "node": ">= 10.13.0" + } + }, + "node_modules/jest-specific-snapshot/node_modules/pretty-format": { + "version": "27.5.1", + "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-27.5.1.tgz", + "integrity": "sha512-Qb1gy5OrP5+zDf2Bvnzdl3jsTf1qXVMazbvCoKhtKqVs4/YK4ozX4gKQJJVyNe+cajNPn0KoC0MC3FUmaHWEmQ==", + "dependencies": { + "ansi-regex": "^5.0.1", + "ansi-styles": "^5.0.0", + "react-is": "^17.0.1" + }, + "engines": { + "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" + } + }, + "node_modules/jest-specific-snapshot/node_modules/react-is": { + "version": "17.0.2", + "resolved": "https://registry.npmjs.org/react-is/-/react-is-17.0.2.tgz", + "integrity": "sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w==" + }, + "node_modules/jest-specific-snapshot/node_modules/supports-color": { + "version": "8.1.1", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz", + "integrity": "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==", + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/supports-color?sponsor=1" + } + }, "node_modules/jest-util": { "version": "28.1.3", "resolved": "https://registry.npmjs.org/jest-util/-/jest-util-28.1.3.tgz", @@ -11684,6 +11990,14 @@ } } }, + "@types/jest-specific-snapshot": { + "version": "0.5.6", + "resolved": "https://registry.npmjs.org/@types/jest-specific-snapshot/-/jest-specific-snapshot-0.5.6.tgz", + "integrity": "sha512-AQdUbEyTwO6JR2yZK7PTXDzK32AlkviDZJZEukZnrZtBjITYBtExFh59HTNTZeFSs+k1b1bqCHmWUwj3VHeh/A==", + "requires": { + "@types/jest": "*" + } + }, "@types/json-schema": { "version": "7.0.11", "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.11.tgz", @@ -15191,6 +15505,15 @@ } } }, + "jest-serializer": { + "version": "27.5.1", + "resolved": "https://registry.npmjs.org/jest-serializer/-/jest-serializer-27.5.1.tgz", + "integrity": "sha512-jZCyo6iIxO1aqUxpuBlwTDMkzOAJS4a3eYz3YzgxxVQFwLeSA7Jfq5cbqCY+JLvTDrWirgusI/0KwxKMgrdf7w==", + "requires": { + "@types/node": "*", + "graceful-fs": "^4.2.9" + } + }, "jest-snapshot": { "version": "29.0.3", "resolved": "https://registry.npmjs.org/jest-snapshot/-/jest-snapshot-29.0.3.tgz", @@ -15307,6 +15630,230 @@ } } }, + "jest-specific-snapshot": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/jest-specific-snapshot/-/jest-specific-snapshot-5.0.0.tgz", + "integrity": "sha512-V65vuPxZQExD3tGbv+Du5tbG1E3H3Dq/HFbsCEkPJP27w5vr/nATQJl61Dx5doBfu54OrJak0JaeYVSeZubDKg==", + "requires": { + "jest-snapshot": "^27.0.2" + }, + "dependencies": { + "@babel/code-frame": { + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.18.6.tgz", + "integrity": "sha512-TDCmlK5eOvH+eH7cdAFlNXeVJqWIQ7gW9tY1GJIpUtFb6CmjVyq2VM3u71bOyR8CRihcCgMUYoDNyLXao3+70Q==", + "requires": { + "@babel/highlight": "^7.18.6" + } + }, + "@jest/transform": { + "version": "27.5.1", + "resolved": "https://registry.npmjs.org/@jest/transform/-/transform-27.5.1.tgz", + "integrity": "sha512-ipON6WtYgl/1329g5AIJVbUuEh0wZVbdpGwC99Jw4LwuoBNS95MVphU6zOeD9pDkon+LLbFL7lOQRapbB8SCHw==", + "requires": { + "@babel/core": "^7.1.0", + "@jest/types": "^27.5.1", + "babel-plugin-istanbul": "^6.1.1", + "chalk": "^4.0.0", + "convert-source-map": "^1.4.0", + "fast-json-stable-stringify": "^2.0.0", + "graceful-fs": "^4.2.9", + "jest-haste-map": "^27.5.1", + "jest-regex-util": "^27.5.1", + "jest-util": "^27.5.1", + "micromatch": "^4.0.4", + "pirates": "^4.0.4", + "slash": "^3.0.0", + "source-map": "^0.6.1", + "write-file-atomic": "^3.0.0" + } + }, + "@jest/types": { + "version": "27.5.1", + "resolved": "https://registry.npmjs.org/@jest/types/-/types-27.5.1.tgz", + "integrity": "sha512-Cx46iJ9QpwQTjIdq5VJu2QTMMs3QlEjI0x1QbBP5W1+nMzyc2XmimiRR/CbX9TO0cPTeUlxWMOu8mslYsJ8DEw==", + "requires": { + "@types/istanbul-lib-coverage": "^2.0.0", + "@types/istanbul-reports": "^3.0.0", + "@types/node": "*", + "@types/yargs": "^16.0.0", + "chalk": "^4.0.0" + } + }, + "@types/yargs": { + "version": "16.0.4", + "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-16.0.4.tgz", + "integrity": "sha512-T8Yc9wt/5LbJyCaLiHPReJa0kApcIgJ7Bn735GjItUfh08Z1pJvu8QZqb9s+mMvKV6WUQRV7K2R46YbjMXTTJw==", + "requires": { + "@types/yargs-parser": "*" + } + }, + "ansi-styles": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-5.2.0.tgz", + "integrity": "sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==" + }, + "diff-sequences": { + "version": "27.5.1", + "resolved": "https://registry.npmjs.org/diff-sequences/-/diff-sequences-27.5.1.tgz", + "integrity": "sha512-k1gCAXAsNgLwEL+Y8Wvl+M6oEFj5bgazfZULpS5CneoPPXRaCCW7dm+q21Ky2VEE5X+VeRDBVg1Pcvvsr4TtNQ==" + }, + "expect": { + "version": "27.5.1", + "resolved": "https://registry.npmjs.org/expect/-/expect-27.5.1.tgz", + "integrity": "sha512-E1q5hSUG2AmYQwQJ041nvgpkODHQvB+RKlB4IYdru6uJsyFTRyZAP463M+1lINorwbqAmUggi6+WwkD8lCS/Dw==", + "requires": { + "@jest/types": "^27.5.1", + "jest-get-type": "^27.5.1", + "jest-matcher-utils": "^27.5.1", + "jest-message-util": "^27.5.1" + } + }, + "jest-diff": { + "version": "27.5.1", + "resolved": "https://registry.npmjs.org/jest-diff/-/jest-diff-27.5.1.tgz", + "integrity": "sha512-m0NvkX55LDt9T4mctTEgnZk3fmEg3NRYutvMPWM/0iPnkFj2wIeF45O1718cMSOFO1vINkqmxqD8vE37uTEbqw==", + "requires": { + "chalk": "^4.0.0", + "diff-sequences": "^27.5.1", + "jest-get-type": "^27.5.1", + "pretty-format": "^27.5.1" + } + }, + "jest-get-type": { + "version": "27.5.1", + "resolved": "https://registry.npmjs.org/jest-get-type/-/jest-get-type-27.5.1.tgz", + "integrity": "sha512-2KY95ksYSaK7DMBWQn6dQz3kqAf3BB64y2udeG+hv4KfSOb9qwcYQstTJc1KCbsix+wLZWZYN8t7nwX3GOBLRw==" + }, + "jest-haste-map": { + "version": "27.5.1", + "resolved": "https://registry.npmjs.org/jest-haste-map/-/jest-haste-map-27.5.1.tgz", + "integrity": "sha512-7GgkZ4Fw4NFbMSDSpZwXeBiIbx+t/46nJ2QitkOjvwPYyZmqttu2TDSimMHP1EkPOi4xUZAN1doE5Vd25H4Jng==", + "requires": { + "@jest/types": "^27.5.1", + "@types/graceful-fs": "^4.1.2", + "@types/node": "*", + "anymatch": "^3.0.3", + "fb-watchman": "^2.0.0", + "fsevents": "^2.3.2", + "graceful-fs": "^4.2.9", + "jest-regex-util": "^27.5.1", + "jest-serializer": "^27.5.1", + "jest-util": "^27.5.1", + "jest-worker": "^27.5.1", + "micromatch": "^4.0.4", + "walker": "^1.0.7" + } + }, + "jest-matcher-utils": { + "version": "27.5.1", + "resolved": "https://registry.npmjs.org/jest-matcher-utils/-/jest-matcher-utils-27.5.1.tgz", + "integrity": "sha512-z2uTx/T6LBaCoNWNFWwChLBKYxTMcGBRjAt+2SbP929/Fflb9aa5LGma654Rz8z9HLxsrUaYzxE9T/EFIL/PAw==", + "requires": { + "chalk": "^4.0.0", + "jest-diff": "^27.5.1", + "jest-get-type": "^27.5.1", + "pretty-format": "^27.5.1" + } + }, + "jest-message-util": { + "version": "27.5.1", + "resolved": "https://registry.npmjs.org/jest-message-util/-/jest-message-util-27.5.1.tgz", + "integrity": "sha512-rMyFe1+jnyAAf+NHwTclDz0eAaLkVDdKVHHBFWsBWHnnh5YeJMNWWsv7AbFYXfK3oTqvL7VTWkhNLu1jX24D+g==", + "requires": { + "@babel/code-frame": "^7.12.13", + "@jest/types": "^27.5.1", + "@types/stack-utils": "^2.0.0", + "chalk": "^4.0.0", + "graceful-fs": "^4.2.9", + "micromatch": "^4.0.4", + "pretty-format": "^27.5.1", + "slash": "^3.0.0", + "stack-utils": "^2.0.3" + } + }, + "jest-regex-util": { + "version": "27.5.1", + "resolved": "https://registry.npmjs.org/jest-regex-util/-/jest-regex-util-27.5.1.tgz", + "integrity": "sha512-4bfKq2zie+x16okqDXjXn9ql2B0dScQu+vcwe4TvFVhkVyuWLqpZrZtXxLLWoXYgn0E87I6r6GRYHF7wFZBUvg==" + }, + "jest-snapshot": { + "version": "27.5.1", + "resolved": "https://registry.npmjs.org/jest-snapshot/-/jest-snapshot-27.5.1.tgz", + "integrity": "sha512-yYykXI5a0I31xX67mgeLw1DZ0bJB+gpq5IpSuCAoyDi0+BhgU/RIrL+RTzDmkNTchvDFWKP8lp+w/42Z3us5sA==", + "requires": { + "@babel/core": "^7.7.2", + "@babel/generator": "^7.7.2", + "@babel/plugin-syntax-typescript": "^7.7.2", + "@babel/traverse": "^7.7.2", + "@babel/types": "^7.0.0", + "@jest/transform": "^27.5.1", + "@jest/types": "^27.5.1", + "@types/babel__traverse": "^7.0.4", + "@types/prettier": "^2.1.5", + "babel-preset-current-node-syntax": "^1.0.0", + "chalk": "^4.0.0", + "expect": "^27.5.1", + "graceful-fs": "^4.2.9", + "jest-diff": "^27.5.1", + "jest-get-type": "^27.5.1", + "jest-haste-map": "^27.5.1", + "jest-matcher-utils": "^27.5.1", + "jest-message-util": "^27.5.1", + "jest-util": "^27.5.1", + "natural-compare": "^1.4.0", + "pretty-format": "^27.5.1", + "semver": "^7.3.2" + } + }, + "jest-util": { + "version": "27.5.1", + "resolved": "https://registry.npmjs.org/jest-util/-/jest-util-27.5.1.tgz", + "integrity": "sha512-Kv2o/8jNvX1MQ0KGtw480E/w4fBCDOnH6+6DmeKi6LZUIlKA5kwY0YNdlzaWTiVgxqAqik11QyxDOKk543aKXw==", + "requires": { + "@jest/types": "^27.5.1", + "@types/node": "*", + "chalk": "^4.0.0", + "ci-info": "^3.2.0", + "graceful-fs": "^4.2.9", + "picomatch": "^2.2.3" + } + }, + "jest-worker": { + "version": "27.5.1", + "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-27.5.1.tgz", + "integrity": "sha512-7vuh85V5cdDofPyxn58nrPjBktZo0u9x1g8WtjQol+jZDaE+fhN+cIvTj11GndBnMnyfrUOG1sZQxCdjKh+DKg==", + "requires": { + "@types/node": "*", + "merge-stream": "^2.0.0", + "supports-color": "^8.0.0" + } + }, + "pretty-format": { + "version": "27.5.1", + "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-27.5.1.tgz", + "integrity": "sha512-Qb1gy5OrP5+zDf2Bvnzdl3jsTf1qXVMazbvCoKhtKqVs4/YK4ozX4gKQJJVyNe+cajNPn0KoC0MC3FUmaHWEmQ==", + "requires": { + "ansi-regex": "^5.0.1", + "ansi-styles": "^5.0.0", + "react-is": "^17.0.1" + } + }, + "react-is": { + "version": "17.0.2", + "resolved": "https://registry.npmjs.org/react-is/-/react-is-17.0.2.tgz", + "integrity": "sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w==" + }, + "supports-color": { + "version": "8.1.1", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz", + "integrity": "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==", + "requires": { + "has-flag": "^4.0.0" + } + } + } + }, "jest-util": { "version": "28.1.3", "resolved": "https://registry.npmjs.org/jest-util/-/jest-util-28.1.3.tgz", diff --git a/package.json b/package.json index f31cbcc5f2..703a77f4c8 100644 --- a/package.json +++ b/package.json @@ -44,6 +44,7 @@ "@types/dot": "^1.1.5", "@types/gapi.client.discovery": "^1.0.8", "@types/jest": "^29.0.3", + "@types/jest-specific-snapshot": "^0.5.6", "@types/lodash": "^4.14.185", "@types/n-readlines": "^1.0.3", "@types/node": "^18.7.18", @@ -62,6 +63,7 @@ "hpagent": "^1.0.0", "jest": "^29.0.3", "jest-resolve": "^28.1.3", + "jest-specific-snapshot": "^5.0.0", "lodash": "^4.17.21", "n-readlines": "^1.0.1", "nock": "^13.2.9", diff --git a/test/restDocs/snapshots/dt/gapi.client.admin-directory_v1/index.d.ts b/test/restDocs/snapshots/dt/gapi.client.admin-directory_v1/index.d.ts.shot similarity index 69% rename from test/restDocs/snapshots/dt/gapi.client.admin-directory_v1/index.d.ts rename to test/restDocs/snapshots/dt/gapi.client.admin-directory_v1/index.d.ts.shot index 6096b4aa73..4227dcea64 100644 --- a/test/restDocs/snapshots/dt/gapi.client.admin-directory_v1/index.d.ts +++ b/test/restDocs/snapshots/dt/gapi.client.admin-directory_v1/index.d.ts.shot @@ -1,4 +1,7 @@ -// Type definitions for non-npm package Admin SDK API directory_v1 0.0 +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`admin DT works: admin DT works 1`] = ` +"// Type definitions for non-npm package Admin SDK API directory_v1 0.0 // Project: https://developers.google.com/admin-sdk/ // Definitions by: Maxim Mazurok // Nick Amoscato @@ -8,4 +11,6 @@ // Referenced type definitions are generated by https://github.com/Maxim-Mazurok/google-api-typings-generator // In case of any problems please open issue in https://github.com/Maxim-Mazurok/google-api-typings-generator/issues/new -/// +/// +" +`; diff --git a/test/restDocs/snapshots/dt/gapi.client.admin-directory_v1/package.json b/test/restDocs/snapshots/dt/gapi.client.admin-directory_v1/package.json deleted file mode 100644 index 231ef68eda..0000000000 --- a/test/restDocs/snapshots/dt/gapi.client.admin-directory_v1/package.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "private": true, - "dependencies": { - "@maxim_mazurok/gapi.client.admin-directory_v1": "latest" - } -} diff --git a/test/restDocs/snapshots/dt/gapi.client.admin-directory_v1/package.json.shot b/test/restDocs/snapshots/dt/gapi.client.admin-directory_v1/package.json.shot new file mode 100644 index 0000000000..d36a7f508b --- /dev/null +++ b/test/restDocs/snapshots/dt/gapi.client.admin-directory_v1/package.json.shot @@ -0,0 +1,11 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`admin DT works: admin DT works 1`] = ` +"{ + \\"private\\": true, + \\"dependencies\\": { + \\"@maxim_mazurok/gapi.client.admin-directory_v1\\": \\"latest\\" + } +} +" +`; diff --git a/test/restDocs/snapshots/dt/gapi.client.admin-directory_v1/tsconfig.json b/test/restDocs/snapshots/dt/gapi.client.admin-directory_v1/tsconfig.json deleted file mode 100644 index 7ca6887e3d..0000000000 --- a/test/restDocs/snapshots/dt/gapi.client.admin-directory_v1/tsconfig.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "compilerOptions": { - "module": "commonjs", - "lib": ["es6"], - "noImplicitAny": true, - "noImplicitThis": true, - "strictNullChecks": true, - "strictFunctionTypes": true, - "noEmit": true, - "forceConsistentCasingInFileNames": true, - "baseUrl": "../", - "typeRoots": ["../"], - "types": [] - }, - "files": ["index.d.ts"] -} diff --git a/test/restDocs/snapshots/dt/gapi.client.admin-directory_v1/tsconfig.json.shot b/test/restDocs/snapshots/dt/gapi.client.admin-directory_v1/tsconfig.json.shot new file mode 100644 index 0000000000..95081ac610 --- /dev/null +++ b/test/restDocs/snapshots/dt/gapi.client.admin-directory_v1/tsconfig.json.shot @@ -0,0 +1,21 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`admin DT works: admin DT works 1`] = ` +"{ + \\"compilerOptions\\": { + \\"module\\": \\"commonjs\\", + \\"lib\\": [\\"es6\\"], + \\"noImplicitAny\\": true, + \\"noImplicitThis\\": true, + \\"strictNullChecks\\": true, + \\"strictFunctionTypes\\": true, + \\"noEmit\\": true, + \\"forceConsistentCasingInFileNames\\": true, + \\"baseUrl\\": \\"../\\", + \\"typeRoots\\": [\\"../\\"], + \\"types\\": [] + }, + \\"files\\": [\\"index.d.ts\\"] +} +" +`; diff --git a/test/restDocs/snapshots/dt/gapi.client.admin-directory_v1/tslint.json b/test/restDocs/snapshots/dt/gapi.client.admin-directory_v1/tslint.json deleted file mode 100644 index 585e9a1d59..0000000000 --- a/test/restDocs/snapshots/dt/gapi.client.admin-directory_v1/tslint.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "@definitelytyped/dtslint/dt.json", - "rules": { - "npm-naming": false - } -} diff --git a/test/restDocs/snapshots/dt/gapi.client.admin-directory_v1/tslint.json.shot b/test/restDocs/snapshots/dt/gapi.client.admin-directory_v1/tslint.json.shot new file mode 100644 index 0000000000..f47a330be0 --- /dev/null +++ b/test/restDocs/snapshots/dt/gapi.client.admin-directory_v1/tslint.json.shot @@ -0,0 +1,11 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`admin DT works: admin DT works 1`] = ` +"{ + \\"extends\\": \\"@definitelytyped/dtslint/dt.json\\", + \\"rules\\": { + \\"npm-naming\\": false + } +} +" +`; diff --git a/test/restDocs/snapshots/dt/gapi.client.calendar-v3/index.d.ts b/test/restDocs/snapshots/dt/gapi.client.calendar-v3/index.d.ts.shot similarity index 71% rename from test/restDocs/snapshots/dt/gapi.client.calendar-v3/index.d.ts rename to test/restDocs/snapshots/dt/gapi.client.calendar-v3/index.d.ts.shot index 9caf70e346..e07ced5a5a 100644 --- a/test/restDocs/snapshots/dt/gapi.client.calendar-v3/index.d.ts +++ b/test/restDocs/snapshots/dt/gapi.client.calendar-v3/index.d.ts.shot @@ -1,4 +1,7 @@ -// Type definitions for non-npm package Calendar API v3 0.0 +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`calendar DT works: calendar DT works 1`] = ` +"// Type definitions for non-npm package Calendar API v3 0.0 // Project: https://developers.google.com/google-apps/calendar/firstapp // Definitions by: Maxim Mazurok // Nick Amoscato @@ -8,4 +11,6 @@ // Referenced type definitions are generated by https://github.com/Maxim-Mazurok/google-api-typings-generator // In case of any problems please open issue in https://github.com/Maxim-Mazurok/google-api-typings-generator/issues/new -/// +/// +" +`; diff --git a/test/restDocs/snapshots/dt/gapi.client.calendar-v3/package.json b/test/restDocs/snapshots/dt/gapi.client.calendar-v3/package.json deleted file mode 100644 index 25dcb558f4..0000000000 --- a/test/restDocs/snapshots/dt/gapi.client.calendar-v3/package.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "private": true, - "dependencies": { - "@maxim_mazurok/gapi.client.calendar-v3": "latest" - } -} diff --git a/test/restDocs/snapshots/dt/gapi.client.calendar-v3/package.json.shot b/test/restDocs/snapshots/dt/gapi.client.calendar-v3/package.json.shot new file mode 100644 index 0000000000..c019e11789 --- /dev/null +++ b/test/restDocs/snapshots/dt/gapi.client.calendar-v3/package.json.shot @@ -0,0 +1,11 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`calendar DT works: calendar DT works 1`] = ` +"{ + \\"private\\": true, + \\"dependencies\\": { + \\"@maxim_mazurok/gapi.client.calendar-v3\\": \\"latest\\" + } +} +" +`; diff --git a/test/restDocs/snapshots/dt/gapi.client.calendar-v3/tsconfig.json b/test/restDocs/snapshots/dt/gapi.client.calendar-v3/tsconfig.json deleted file mode 100644 index 7ca6887e3d..0000000000 --- a/test/restDocs/snapshots/dt/gapi.client.calendar-v3/tsconfig.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "compilerOptions": { - "module": "commonjs", - "lib": ["es6"], - "noImplicitAny": true, - "noImplicitThis": true, - "strictNullChecks": true, - "strictFunctionTypes": true, - "noEmit": true, - "forceConsistentCasingInFileNames": true, - "baseUrl": "../", - "typeRoots": ["../"], - "types": [] - }, - "files": ["index.d.ts"] -} diff --git a/test/restDocs/snapshots/dt/gapi.client.calendar-v3/tsconfig.json.shot b/test/restDocs/snapshots/dt/gapi.client.calendar-v3/tsconfig.json.shot new file mode 100644 index 0000000000..0c94dcc631 --- /dev/null +++ b/test/restDocs/snapshots/dt/gapi.client.calendar-v3/tsconfig.json.shot @@ -0,0 +1,21 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`calendar DT works: calendar DT works 1`] = ` +"{ + \\"compilerOptions\\": { + \\"module\\": \\"commonjs\\", + \\"lib\\": [\\"es6\\"], + \\"noImplicitAny\\": true, + \\"noImplicitThis\\": true, + \\"strictNullChecks\\": true, + \\"strictFunctionTypes\\": true, + \\"noEmit\\": true, + \\"forceConsistentCasingInFileNames\\": true, + \\"baseUrl\\": \\"../\\", + \\"typeRoots\\": [\\"../\\"], + \\"types\\": [] + }, + \\"files\\": [\\"index.d.ts\\"] +} +" +`; diff --git a/test/restDocs/snapshots/dt/gapi.client.calendar-v3/tslint.json b/test/restDocs/snapshots/dt/gapi.client.calendar-v3/tslint.json deleted file mode 100644 index 585e9a1d59..0000000000 --- a/test/restDocs/snapshots/dt/gapi.client.calendar-v3/tslint.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "@definitelytyped/dtslint/dt.json", - "rules": { - "npm-naming": false - } -} diff --git a/test/restDocs/snapshots/dt/gapi.client.calendar-v3/tslint.json.shot b/test/restDocs/snapshots/dt/gapi.client.calendar-v3/tslint.json.shot new file mode 100644 index 0000000000..fa447aaa3e --- /dev/null +++ b/test/restDocs/snapshots/dt/gapi.client.calendar-v3/tslint.json.shot @@ -0,0 +1,11 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`calendar DT works: calendar DT works 1`] = ` +"{ + \\"extends\\": \\"@definitelytyped/dtslint/dt.json\\", + \\"rules\\": { + \\"npm-naming\\": false + } +} +" +`; diff --git a/test/restDocs/snapshots/dt/gapi.client.drive-v3/index.d.ts b/test/restDocs/snapshots/dt/gapi.client.drive-v3/index.d.ts.shot similarity index 71% rename from test/restDocs/snapshots/dt/gapi.client.drive-v3/index.d.ts rename to test/restDocs/snapshots/dt/gapi.client.drive-v3/index.d.ts.shot index 33a0bd7315..41f6b7c031 100644 --- a/test/restDocs/snapshots/dt/gapi.client.drive-v3/index.d.ts +++ b/test/restDocs/snapshots/dt/gapi.client.drive-v3/index.d.ts.shot @@ -1,4 +1,7 @@ -// Type definitions for non-npm package Drive API v3 0.0 +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`drive DT works: drive DT works 1`] = ` +"// Type definitions for non-npm package Drive API v3 0.0 // Project: https://developers.google.com/drive/ // Definitions by: Maxim Mazurok // Nick Amoscato @@ -8,4 +11,6 @@ // Referenced type definitions are generated by https://github.com/Maxim-Mazurok/google-api-typings-generator // In case of any problems please open issue in https://github.com/Maxim-Mazurok/google-api-typings-generator/issues/new -/// +/// +" +`; diff --git a/test/restDocs/snapshots/dt/gapi.client.drive-v3/package.json b/test/restDocs/snapshots/dt/gapi.client.drive-v3/package.json deleted file mode 100644 index f26e136a16..0000000000 --- a/test/restDocs/snapshots/dt/gapi.client.drive-v3/package.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "private": true, - "dependencies": { - "@maxim_mazurok/gapi.client.drive-v3": "latest" - } -} diff --git a/test/restDocs/snapshots/dt/gapi.client.drive-v3/package.json.shot b/test/restDocs/snapshots/dt/gapi.client.drive-v3/package.json.shot new file mode 100644 index 0000000000..a9e747570f --- /dev/null +++ b/test/restDocs/snapshots/dt/gapi.client.drive-v3/package.json.shot @@ -0,0 +1,11 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`drive DT works: drive DT works 1`] = ` +"{ + \\"private\\": true, + \\"dependencies\\": { + \\"@maxim_mazurok/gapi.client.drive-v3\\": \\"latest\\" + } +} +" +`; diff --git a/test/restDocs/snapshots/dt/gapi.client.drive-v3/tsconfig.json b/test/restDocs/snapshots/dt/gapi.client.drive-v3/tsconfig.json deleted file mode 100644 index 7ca6887e3d..0000000000 --- a/test/restDocs/snapshots/dt/gapi.client.drive-v3/tsconfig.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "compilerOptions": { - "module": "commonjs", - "lib": ["es6"], - "noImplicitAny": true, - "noImplicitThis": true, - "strictNullChecks": true, - "strictFunctionTypes": true, - "noEmit": true, - "forceConsistentCasingInFileNames": true, - "baseUrl": "../", - "typeRoots": ["../"], - "types": [] - }, - "files": ["index.d.ts"] -} diff --git a/test/restDocs/snapshots/dt/gapi.client.drive-v3/tsconfig.json.shot b/test/restDocs/snapshots/dt/gapi.client.drive-v3/tsconfig.json.shot new file mode 100644 index 0000000000..316336ed66 --- /dev/null +++ b/test/restDocs/snapshots/dt/gapi.client.drive-v3/tsconfig.json.shot @@ -0,0 +1,21 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`drive DT works: drive DT works 1`] = ` +"{ + \\"compilerOptions\\": { + \\"module\\": \\"commonjs\\", + \\"lib\\": [\\"es6\\"], + \\"noImplicitAny\\": true, + \\"noImplicitThis\\": true, + \\"strictNullChecks\\": true, + \\"strictFunctionTypes\\": true, + \\"noEmit\\": true, + \\"forceConsistentCasingInFileNames\\": true, + \\"baseUrl\\": \\"../\\", + \\"typeRoots\\": [\\"../\\"], + \\"types\\": [] + }, + \\"files\\": [\\"index.d.ts\\"] +} +" +`; diff --git a/test/restDocs/snapshots/dt/gapi.client.drive-v3/tslint.json b/test/restDocs/snapshots/dt/gapi.client.drive-v3/tslint.json deleted file mode 100644 index 585e9a1d59..0000000000 --- a/test/restDocs/snapshots/dt/gapi.client.drive-v3/tslint.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "@definitelytyped/dtslint/dt.json", - "rules": { - "npm-naming": false - } -} diff --git a/test/restDocs/snapshots/dt/gapi.client.drive-v3/tslint.json.shot b/test/restDocs/snapshots/dt/gapi.client.drive-v3/tslint.json.shot new file mode 100644 index 0000000000..299879302f --- /dev/null +++ b/test/restDocs/snapshots/dt/gapi.client.drive-v3/tslint.json.shot @@ -0,0 +1,11 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`drive DT works: drive DT works 1`] = ` +"{ + \\"extends\\": \\"@definitelytyped/dtslint/dt.json\\", + \\"rules\\": { + \\"npm-naming\\": false + } +} +" +`; diff --git a/test/restDocs/snapshots/dt/gapi.client.sheets-v4/index.d.ts b/test/restDocs/snapshots/dt/gapi.client.sheets-v4/index.d.ts.shot similarity index 70% rename from test/restDocs/snapshots/dt/gapi.client.sheets-v4/index.d.ts rename to test/restDocs/snapshots/dt/gapi.client.sheets-v4/index.d.ts.shot index bee026fcfc..5c091601b7 100644 --- a/test/restDocs/snapshots/dt/gapi.client.sheets-v4/index.d.ts +++ b/test/restDocs/snapshots/dt/gapi.client.sheets-v4/index.d.ts.shot @@ -1,4 +1,7 @@ -// Type definitions for non-npm package Google Sheets API v4 0.0 +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`sheets DT works: sheets DT works 1`] = ` +"// Type definitions for non-npm package Google Sheets API v4 0.0 // Project: https://developers.google.com/sheets/ // Definitions by: Maxim Mazurok // Nick Amoscato @@ -8,4 +11,6 @@ // Referenced type definitions are generated by https://github.com/Maxim-Mazurok/google-api-typings-generator // In case of any problems please open issue in https://github.com/Maxim-Mazurok/google-api-typings-generator/issues/new -/// +/// +" +`; diff --git a/test/restDocs/snapshots/dt/gapi.client.sheets-v4/package.json b/test/restDocs/snapshots/dt/gapi.client.sheets-v4/package.json deleted file mode 100644 index 01618fc4ec..0000000000 --- a/test/restDocs/snapshots/dt/gapi.client.sheets-v4/package.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "private": true, - "dependencies": { - "@maxim_mazurok/gapi.client.sheets-v4": "latest" - } -} diff --git a/test/restDocs/snapshots/dt/gapi.client.sheets-v4/package.json.shot b/test/restDocs/snapshots/dt/gapi.client.sheets-v4/package.json.shot new file mode 100644 index 0000000000..b9c4474209 --- /dev/null +++ b/test/restDocs/snapshots/dt/gapi.client.sheets-v4/package.json.shot @@ -0,0 +1,11 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`sheets DT works: sheets DT works 1`] = ` +"{ + \\"private\\": true, + \\"dependencies\\": { + \\"@maxim_mazurok/gapi.client.sheets-v4\\": \\"latest\\" + } +} +" +`; diff --git a/test/restDocs/snapshots/dt/gapi.client.sheets-v4/tsconfig.json b/test/restDocs/snapshots/dt/gapi.client.sheets-v4/tsconfig.json deleted file mode 100644 index 7ca6887e3d..0000000000 --- a/test/restDocs/snapshots/dt/gapi.client.sheets-v4/tsconfig.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "compilerOptions": { - "module": "commonjs", - "lib": ["es6"], - "noImplicitAny": true, - "noImplicitThis": true, - "strictNullChecks": true, - "strictFunctionTypes": true, - "noEmit": true, - "forceConsistentCasingInFileNames": true, - "baseUrl": "../", - "typeRoots": ["../"], - "types": [] - }, - "files": ["index.d.ts"] -} diff --git a/test/restDocs/snapshots/dt/gapi.client.sheets-v4/tsconfig.json.shot b/test/restDocs/snapshots/dt/gapi.client.sheets-v4/tsconfig.json.shot new file mode 100644 index 0000000000..8571c39bc1 --- /dev/null +++ b/test/restDocs/snapshots/dt/gapi.client.sheets-v4/tsconfig.json.shot @@ -0,0 +1,21 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`sheets DT works: sheets DT works 1`] = ` +"{ + \\"compilerOptions\\": { + \\"module\\": \\"commonjs\\", + \\"lib\\": [\\"es6\\"], + \\"noImplicitAny\\": true, + \\"noImplicitThis\\": true, + \\"strictNullChecks\\": true, + \\"strictFunctionTypes\\": true, + \\"noEmit\\": true, + \\"forceConsistentCasingInFileNames\\": true, + \\"baseUrl\\": \\"../\\", + \\"typeRoots\\": [\\"../\\"], + \\"types\\": [] + }, + \\"files\\": [\\"index.d.ts\\"] +} +" +`; diff --git a/test/restDocs/snapshots/dt/gapi.client.sheets-v4/tslint.json b/test/restDocs/snapshots/dt/gapi.client.sheets-v4/tslint.json deleted file mode 100644 index 585e9a1d59..0000000000 --- a/test/restDocs/snapshots/dt/gapi.client.sheets-v4/tslint.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "@definitelytyped/dtslint/dt.json", - "rules": { - "npm-naming": false - } -} diff --git a/test/restDocs/snapshots/dt/gapi.client.sheets-v4/tslint.json.shot b/test/restDocs/snapshots/dt/gapi.client.sheets-v4/tslint.json.shot new file mode 100644 index 0000000000..bc9da55ff1 --- /dev/null +++ b/test/restDocs/snapshots/dt/gapi.client.sheets-v4/tslint.json.shot @@ -0,0 +1,11 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`sheets DT works: sheets DT works 1`] = ` +"{ + \\"extends\\": \\"@definitelytyped/dtslint/dt.json\\", + \\"rules\\": { + \\"npm-naming\\": false + } +} +" +`; diff --git a/test/restDocs/snapshots/dt/gapi.client.sheets/index.d.ts b/test/restDocs/snapshots/dt/gapi.client.sheets/index.d.ts.shot similarity index 64% rename from test/restDocs/snapshots/dt/gapi.client.sheets/index.d.ts rename to test/restDocs/snapshots/dt/gapi.client.sheets/index.d.ts.shot index c590ad8159..9ab88bcc6f 100644 --- a/test/restDocs/snapshots/dt/gapi.client.sheets/index.d.ts +++ b/test/restDocs/snapshots/dt/gapi.client.sheets/index.d.ts.shot @@ -1,4 +1,7 @@ -// Type definitions for non-npm package Google Sheets API v4 4.0 +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`sheets - legacy DT works: sheets - legacy DT works 1`] = ` +"// Type definitions for non-npm package Google Sheets API v4 4.0 // Project: https://developers.google.com/sheets/ // Definitions by: Maxim Mazurok // Nick Amoscato @@ -7,4 +10,6 @@ // DEPRECATED, use @types/gapi.client.sheets-v4 instead; see https://github.com/Maxim-Mazurok/google-api-typings-generator/issues/652 for details -/// +/// +" +`; diff --git a/test/restDocs/snapshots/dt/gapi.client.sheets/package.json b/test/restDocs/snapshots/dt/gapi.client.sheets/package.json deleted file mode 100644 index 01618fc4ec..0000000000 --- a/test/restDocs/snapshots/dt/gapi.client.sheets/package.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "private": true, - "dependencies": { - "@maxim_mazurok/gapi.client.sheets-v4": "latest" - } -} diff --git a/test/restDocs/snapshots/dt/gapi.client.sheets/package.json.shot b/test/restDocs/snapshots/dt/gapi.client.sheets/package.json.shot new file mode 100644 index 0000000000..048377ccf7 --- /dev/null +++ b/test/restDocs/snapshots/dt/gapi.client.sheets/package.json.shot @@ -0,0 +1,11 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`sheets - legacy DT works: sheets - legacy DT works 1`] = ` +"{ + \\"private\\": true, + \\"dependencies\\": { + \\"@maxim_mazurok/gapi.client.sheets-v4\\": \\"latest\\" + } +} +" +`; diff --git a/test/restDocs/snapshots/dt/gapi.client.sheets/tsconfig.json b/test/restDocs/snapshots/dt/gapi.client.sheets/tsconfig.json deleted file mode 100644 index 7ca6887e3d..0000000000 --- a/test/restDocs/snapshots/dt/gapi.client.sheets/tsconfig.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "compilerOptions": { - "module": "commonjs", - "lib": ["es6"], - "noImplicitAny": true, - "noImplicitThis": true, - "strictNullChecks": true, - "strictFunctionTypes": true, - "noEmit": true, - "forceConsistentCasingInFileNames": true, - "baseUrl": "../", - "typeRoots": ["../"], - "types": [] - }, - "files": ["index.d.ts"] -} diff --git a/test/restDocs/snapshots/dt/gapi.client.sheets/tsconfig.json.shot b/test/restDocs/snapshots/dt/gapi.client.sheets/tsconfig.json.shot new file mode 100644 index 0000000000..f5e8c3b5b1 --- /dev/null +++ b/test/restDocs/snapshots/dt/gapi.client.sheets/tsconfig.json.shot @@ -0,0 +1,21 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`sheets - legacy DT works: sheets - legacy DT works 1`] = ` +"{ + \\"compilerOptions\\": { + \\"module\\": \\"commonjs\\", + \\"lib\\": [\\"es6\\"], + \\"noImplicitAny\\": true, + \\"noImplicitThis\\": true, + \\"strictNullChecks\\": true, + \\"strictFunctionTypes\\": true, + \\"noEmit\\": true, + \\"forceConsistentCasingInFileNames\\": true, + \\"baseUrl\\": \\"../\\", + \\"typeRoots\\": [\\"../\\"], + \\"types\\": [] + }, + \\"files\\": [\\"index.d.ts\\"] +} +" +`; diff --git a/test/restDocs/snapshots/dt/gapi.client.sheets/tslint.json b/test/restDocs/snapshots/dt/gapi.client.sheets/tslint.json deleted file mode 100644 index 585e9a1d59..0000000000 --- a/test/restDocs/snapshots/dt/gapi.client.sheets/tslint.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "@definitelytyped/dtslint/dt.json", - "rules": { - "npm-naming": false - } -} diff --git a/test/restDocs/snapshots/dt/gapi.client.sheets/tslint.json.shot b/test/restDocs/snapshots/dt/gapi.client.sheets/tslint.json.shot new file mode 100644 index 0000000000..ddda98ba04 --- /dev/null +++ b/test/restDocs/snapshots/dt/gapi.client.sheets/tslint.json.shot @@ -0,0 +1,11 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`sheets - legacy DT works: sheets - legacy DT works 1`] = ` +"{ + \\"extends\\": \\"@definitelytyped/dtslint/dt.json\\", + \\"rules\\": { + \\"npm-naming\\": false + } +} +" +`; diff --git a/test/restDocs/snapshots/gapi.client.admin-directory_v1/.npmrc b/test/restDocs/snapshots/gapi.client.admin-directory_v1/.npmrc deleted file mode 100644 index 0063b50cfd..0000000000 --- a/test/restDocs/snapshots/gapi.client.admin-directory_v1/.npmrc +++ /dev/null @@ -1 +0,0 @@ -//registry.npmjs.org/:_authToken=${NPM_PUBLISH_AUTOMATION_TOKEN} diff --git a/test/restDocs/snapshots/gapi.client.admin-directory_v1/.npmrc.shot b/test/restDocs/snapshots/gapi.client.admin-directory_v1/.npmrc.shot new file mode 100644 index 0000000000..63b066a44b --- /dev/null +++ b/test/restDocs/snapshots/gapi.client.admin-directory_v1/.npmrc.shot @@ -0,0 +1,6 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`admin works: admin works 1`] = ` +"//registry.npmjs.org/:_authToken=\${NPM_PUBLISH_AUTOMATION_TOKEN} +" +`; diff --git a/test/restDocs/snapshots/gapi.client.admin-directory_v1/index.d.ts b/test/restDocs/snapshots/gapi.client.admin-directory_v1/index.d.ts.shot similarity index 85% rename from test/restDocs/snapshots/gapi.client.admin-directory_v1/index.d.ts rename to test/restDocs/snapshots/gapi.client.admin-directory_v1/index.d.ts.shot index 43a352614e..2336aecdc9 100644 --- a/test/restDocs/snapshots/gapi.client.admin-directory_v1/index.d.ts +++ b/test/restDocs/snapshots/gapi.client.admin-directory_v1/index.d.ts.shot @@ -1,4 +1,7 @@ -/* Type definitions for non-npm package Admin SDK API directory_v1 0.0 */ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`admin works: admin works 1`] = ` +"/* Type definitions for non-npm package Admin SDK API directory_v1 0.0 */ // Project: https://developers.google.com/admin-sdk/ // Definitions by: Maxim Mazurok // Nick Amoscato @@ -11,15 +14,15 @@ // Generated from: http://localhost:3000/admin.json // Revision: 20220628 -/// +/// declare namespace gapi.client { /** Load Admin SDK API directory_v1 */ - function load(urlOrObject: "http://localhost:3000/admin.json"): Promise; + function load(urlOrObject: \\"http://localhost:3000/admin.json\\"): Promise; /** @deprecated Please load APIs with discovery documents. */ - function load(name: "admin", version: "directory_v1"): Promise; + function load(name: \\"admin\\", version: \\"directory_v1\\"): Promise; /** @deprecated Please load APIs with discovery documents. */ - function load(name: "admin", version: "directory_v1", callback: () => any): void; + function load(name: \\"admin\\", version: \\"directory_v1\\", callback: () => any): void; namespace admin { interface Alias { @@ -41,11 +44,11 @@ declare namespace gapi.client { creationTime?: string; /** ETag of the ASP. */ etag?: string; - /** The type of the API resource. This is always `admin#directory#asp`. */ + /** The type of the API resource. This is always \`admin#directory#asp\`. */ kind?: string; /** The time when the ASP was last used. Expressed in [Unix time](https://en.wikipedia.org/wiki/Epoch_time) format. */ lastTimeUsed?: string; - /** The name of the application that the user, represented by their `userId`, entered when the ASP was created. */ + /** The name of the application that the user, represented by their \`userId\`, entered when the ASP was created. */ name?: string; /** The unique ID of the user who issued the ASP. */ userKey?: string; @@ -55,11 +58,11 @@ declare namespace gapi.client { etag?: string; /** A list of ASP resources. */ items?: Asp[]; - /** The type of the API resource. This is always `admin#directory#aspList`. */ + /** The type of the API resource. This is always \`admin#directory#aspList\`. */ kind?: string; } interface AuxiliaryMessage { - /** Human readable message in English. Example: "Given printer is invalid or no longer supported." */ + /** Human readable message in English. Example: \\"Given printer is invalid or no longer supported.\\" */ auxiliaryMessage?: string; /** Field that this message concerns. */ fieldMask?: string; @@ -88,23 +91,23 @@ declare namespace gapi.client { } interface Building { /** - * The postal address of the building. See [`PostalAddress`](/my-business/reference/rest/v4/PostalAddress) for details. Note that only a single address line and region code are + * The postal address of the building. See [\`PostalAddress\`](/my-business/reference/rest/v4/PostalAddress) for details. Note that only a single address line and region code are * required. */ address?: BuildingAddress; /** Unique identifier for the building. The maximum length is 100 characters. */ buildingId?: string; - /** The building name as seen by users in Calendar. Must be unique for the customer. For example, "NYC-CHEL". The maximum length is 100 characters. */ + /** The building name as seen by users in Calendar. Must be unique for the customer. For example, \\"NYC-CHEL\\". The maximum length is 100 characters. */ buildingName?: string; /** The geographic coordinates of the center of the building, expressed as latitude and longitude in decimal degrees. */ coordinates?: BuildingCoordinates; - /** A brief description of the building. For example, "Chelsea Market". */ + /** A brief description of the building. For example, \\"Chelsea Market\\". */ description?: string; /** ETag of the resource. */ etags?: string; /** - * The display names for all floors in this building. The floors are expected to be sorted in ascending order, from lowest floor to highest floor. For example, ["B2", "B1", "L", "1", - * "2", "2M", "3", "PH"] Must contain at least one entry. + * The display names for all floors in this building. The floors are expected to be sorted in ascending order, from lowest floor to highest floor. For example, [\\"B2\\", \\"B1\\", \\"L\\", \\"1\\", + * \\"2\\", \\"2M\\", \\"3\\", \\"PH\\"] Must contain at least one entry. */ floorNames?: string[]; /** Kind of resource this is. */ @@ -159,11 +162,11 @@ declare namespace gapi.client { /** Name of the section within a floor a resource is located in. */ floorSection?: string; /** - * The read-only auto-generated name of the calendar resource which includes metadata about the resource such as building name, floor, capacity, etc. For example, "NYC-2-Training Room - * 1A (16)". + * The read-only auto-generated name of the calendar resource which includes metadata about the resource such as building name, floor, capacity, etc. For example, \\"NYC-2-Training Room + * 1A (16)\\". */ generatedResourceName?: string; - /** The type of the resource. For calendar resources, the value is `admin#directory#resources#calendars#CalendarResource`. */ + /** The type of the resource. For calendar resources, the value is \`admin#directory#resources#calendars#CalendarResource\`. */ kind?: string; /** The category of the calendar resource. Either CONFERENCE_ROOM or OTHER. Legacy data is set to CATEGORY_UNKNOWN. */ resourceCategory?: string; @@ -173,7 +176,7 @@ declare namespace gapi.client { resourceEmail?: string; /** The unique ID for the calendar resource. */ resourceId?: string; - /** The name of the calendar resource. For example, "Training Room 1A". */ + /** The name of the calendar resource. For example, \\"Training Room 1A\\". */ resourceName?: string; /** The type of the calendar resource, intended for non-room resources. */ resourceType?: string; @@ -185,7 +188,7 @@ declare namespace gapi.client { etag?: string; /** The CalendarResources in this page of results. */ items?: CalendarResource[]; - /** Identifies this as a collection of CalendarResources. This is always `admin#directory#resources#calendars#calendarResourcesList`. */ + /** Identifies this as a collection of CalendarResources. This is always \`admin#directory#resources#calendars#calendarResourcesList\`. */ kind?: string; /** The continuation token, used to page through large result sets. Provide this value in a subsequent request to return the next page of results. */ nextPageToken?: string; @@ -197,7 +200,7 @@ declare namespace gapi.client { expiration?: string; /** A UUID or similar unique string that identifies this channel. */ id?: string; - /** Identifies this as a notification channel used to watch for changes to a resource, which is `api#channel`. */ + /** Identifies this as a notification channel used to watch for changes to a resource, which is \`api#channel\`. */ kind?: string; /** Additional parameters controlling delivery channel behavior. Optional. */ params?: { [P in string]: string }; @@ -222,14 +225,14 @@ declare namespace gapi.client { }>; /** The asset identifier as noted by an administrator or specified during enrollment. */ annotatedAssetId?: string; - /** The address or location of the device as noted by the administrator. Maximum length is `200` characters. Empty values are allowed. */ + /** The address or location of the device as noted by the administrator. Maximum length is \`200\` characters. Empty values are allowed. */ annotatedLocation?: string; /** The user of the device as noted by the administrator. Maximum length is 100 characters. Empty values are allowed. */ annotatedUser?: string; /** (Read-only) The timestamp after which the device will stop receiving Chrome updates or support */ autoUpdateExpiration?: string; /** - * The boot mode for the device. The possible values are: * `Verified`: The device is running a valid version of the Chrome OS. * `Dev`: The devices's developer hardware switch is + * The boot mode for the device. The possible values are: * \`Verified\`: The device is running a valid version of the Chrome OS. * \`Dev\`: The devices's developer hardware switch is * enabled. When booted, the device has a command line shell. For an example of a developer switch, see the [Chromebook developer * information](https://www.chromium.org/chromium-os/developer-information-for-chrome-os-devices/samsung-series-5-chromebook#TOC-Developer-switch). */ @@ -314,7 +317,7 @@ declare namespace gapi.client { ethernetMacAddress0?: string; /** The Chrome device's firmware version. */ firmwareVersion?: string; - /** The type of resource. For the Chromeosdevices resource, the value is `admin#directory#chromeosdevice`. */ + /** The type of resource. For the Chromeosdevices resource, the value is \`admin#directory#chromeosdevice\`. */ kind?: string; /** Date and time the device was last enrolled (Read-only) */ lastEnrollmentTime?: string; @@ -341,7 +344,7 @@ declare namespace gapi.client { model?: string; /** * Notes about this device added by the administrator. This property can be [searched](https://support.google.com/chrome/a/answer/1698333) with the - * [list](/admin-sdk/directory/v1/reference/chromeosdevices/list) method's `query` parameter. Maximum length is 500 characters. Empty values are allowed. + * [list](/admin-sdk/directory/v1/reference/chromeosdevices/list) method's \`query\` parameter. Maximum length is 500 characters. Empty values are allowed. */ notes?: string; /** The device's order number. Only devices directly purchased from Google have an order number. */ @@ -354,7 +357,7 @@ declare namespace gapi.client { orgUnitId?: string; /** * The full parent path with the organizational unit's name associated with the device. Path names are case insensitive. If the parent organizational unit is the top-level - * organization, it is represented as a forward slash, `/`. This property can be [updated](/admin-sdk/directory/v1/guides/manage-chrome-devices#move_chrome_devices_to_ou) using the + * organization, it is represented as a forward slash, \`/\`. This property can be [updated](/admin-sdk/directory/v1/guides/manage-chrome-devices#move_chrome_devices_to_ou) using the * API. For more information about how to create an organizational structure for your device, see the [administration help center](https://support.google.com/a/answer/182433). */ orgUnitPath?: string; @@ -364,12 +367,12 @@ declare namespace gapi.client { platformVersion?: string; /** List of recent device users, in descending order, by last login time. */ recentUsers?: Array<{ - /** The user's email address. This is only present if the user type is `USER_TYPE_MANAGED`. */ + /** The user's email address. This is only present if the user type is \`USER_TYPE_MANAGED\`. */ email?: string; /** The type of the user. */ type?: string; }>; - /** List of screenshot files to download. Type is always "SCREENSHOT_FILE". (Read-only) */ + /** List of screenshot files to download. Type is always \\"SCREENSHOT_FILE\\". (Read-only) */ screenshotFiles?: Array<{ /** Date and time the file was created */ createTime?: string; @@ -396,7 +399,7 @@ declare namespace gapi.client { systemRamTotal?: string; /** Trusted Platform Module (TPM) (Read-only) */ tpmVersionInfo?: { - /** TPM family. We use the TPM 2.0 style encoding, e.g.: TPM 1.2: "1.2" -> 312e3200 TPM 2.0: "2.0" -> 322e3000 */ + /** TPM family. We use the TPM 2.0 style encoding, e.g.: TPM 1.2: \\"1.2\\" -> 312e3200 TPM 2.0: \\"2.0\\" -> 322e3000 */ family?: string; /** TPM firmware version. */ firmwareVersion?: string; @@ -416,7 +419,7 @@ declare namespace gapi.client { /** Action to be taken on the Chrome OS device. */ action?: string; /** - * Only used when the action is `deprovision`. With the `deprovision` action, this field is required. *Note*: The deprovision reason is audited because it might have implications on + * Only used when the action is \`deprovision\`. With the \`deprovision\` action, this field is required. *Note*: The deprovision reason is audited because it might have implications on * licenses for perpetual subscription customers. */ deprovisionReason?: string; @@ -428,7 +431,7 @@ declare namespace gapi.client { etag?: string; /** Kind of resource this is. */ kind?: string; - /** Token used to access the next page of this result. To access the next page, use this token's value in the `pageToken` query string of this request. */ + /** Token used to access the next page of this result. To access the next page, use this token's value in the \`pageToken\` query string of this request. */ nextPageToken?: string; } interface ChromeOsMoveDevicesToOu { @@ -442,21 +445,21 @@ declare namespace gapi.client { printer?: Printer; } interface Customer { - /** The customer's secondary contact email address. This email address cannot be on the same domain as the `customerDomain` */ + /** The customer's secondary contact email address. This email address cannot be on the same domain as the \`customerDomain\` */ alternateEmail?: string; /** The customer's creation time (Readonly) */ customerCreationTime?: string; - /** The customer's primary domain name string. Do not include the `www` prefix when creating a new customer. */ + /** The customer's primary domain name string. Do not include the \`www\` prefix when creating a new customer. */ customerDomain?: string; /** ETag of the resource. */ etag?: string; /** The unique ID for the customer's Google Workspace account. (Readonly) */ id?: string; - /** Identifies the resource as a customer. Value: `admin#directory#customer` */ + /** Identifies the resource as a customer. Value: \`admin#directory#customer\` */ kind?: string; /** * The customer's ISO 639-2 language code. See the [Language Codes](/admin-sdk/directory/v1/languages) page for the list of supported codes. Valid language codes outside the supported - * set will be accepted by the API but may lead to unexpected behavior. The default value is `en`. + * set will be accepted by the API but may lead to unexpected behavior. The default value is \`en\`. */ language?: string; /** The customer's contact phone number in [E.164](https://en.wikipedia.org/wiki/E.164) format. */ @@ -473,15 +476,15 @@ declare namespace gapi.client { addressLine3?: string; /** The customer contact's name. */ contactName?: string; - /** This is a required property. For `countryCode` information see the [ISO 3166 country code elements](https://www.iso.org/iso/country_codes.htm). */ + /** This is a required property. For \`countryCode\` information see the [ISO 3166 country code elements](https://www.iso.org/iso/country_codes.htm). */ countryCode?: string; - /** Name of the locality. An example of a locality value is the city of `San Francisco`. */ + /** Name of the locality. An example of a locality value is the city of \`San Francisco\`. */ locality?: string; /** The company or company division name. */ organizationName?: string; - /** The postal code. A postalCode example is a postal zip code such as `10009`. This is in accordance with - http: //portablecontacts.net/draft-spec.html#address_element. */ + /** The postal code. A postalCode example is a postal zip code such as \`10009\`. This is in accordance with - http: //portablecontacts.net/draft-spec.html#address_element. */ postalCode?: string; - /** Name of the region. An example of a region value is `NY` for the state of New York. */ + /** Name of the region. An example of a region value is \`NY\` for the state of New York. */ region?: string; } interface DirectoryChromeosdevicesCommand { @@ -513,7 +516,7 @@ declare namespace gapi.client { commandType?: string; /** * The payload for the command, provide it only if command supports it. The following commands support adding payload: - SET_VOLUME: Payload is a stringified JSON object in the form: { - * "volume": 50 }. The volume has to be an integer in the range [0,100]. + * \\"volume\\": 50 }. The volume has to be an integer in the range [0,100]. */ payload?: string; } @@ -607,30 +610,30 @@ declare namespace gapi.client { nextPageToken?: string; } interface Group { - /** Read-only. Value is `true` if this group was created by an administrator rather than a user. */ + /** Read-only. Value is \`true\` if this group was created by an administrator rather than a user. */ adminCreated?: boolean; /** Read-only. A list of a group's alias email addresses. */ aliases?: string[]; /** * An extended description to help users determine the purpose of a group. For example, you can include information about who should join the group, the types of messages to send to - * the group, links to FAQs about the group, or related groups. Maximum length is `4,096` characters. + * the group, links to FAQs about the group, or related groups. Maximum length is \`4,096\` characters. */ description?: string; /** * The number of users that are direct members of the group. If a group is a member (child) of this group (the parent), members of the child group are not counted in the - * `directMembersCount` property of the parent group. + * \`directMembersCount\` property of the parent group. */ directMembersCount?: string; /** - * The group's email address. If your account has multiple domains, select the appropriate domain for the email address. The `email` must be unique. This property is required when + * The group's email address. If your account has multiple domains, select the appropriate domain for the email address. The \`email\` must be unique. This property is required when * creating a group. Group email addresses are subject to the same character usage rules as usernames, see the [help center](https://support.google.com/a/answer/9193374) for details. */ email?: string; /** ETag of the resource. */ etag?: string; - /** Read-only. The unique ID of a group. A group `id` can be used as a group request URI's `groupKey`. */ + /** Read-only. The unique ID of a group. A group \`id\` can be used as a group request URI's \`groupKey\`. */ id?: string; - /** The type of the API resource. For Groups resources, the value is `admin#directory#group`. */ + /** The type of the API resource. For Groups resources, the value is \`admin#directory#group\`. */ kind?: string; /** The group's display name. */ name?: string; @@ -651,16 +654,16 @@ declare namespace gapi.client { nextPageToken?: string; } interface ListPrinterModelsResponse { - /** A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */ + /** A token, which can be sent as \`page_token\` to retrieve the next page. If this field is omitted, there are no subsequent pages. */ nextPageToken?: string; /** Printer models that are currently allowed to be configured for ChromeOs. Some printers may be added or removed over time. */ printerModels?: PrinterModel[]; } interface ListPrintersResponse { - /** A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */ + /** A token, which can be sent as \`page_token\` to retrieve the next page. If this field is omitted, there are no subsequent pages. */ nextPageToken?: string; /** - * List of printers. If `org_unit_id` was given in the request, then only printers visible for this OU will be returned. If `org_unit_id` was not given in the request, then all + * List of printers. If \`org_unit_id\` was given in the request, then only printers visible for this OU will be returned. If \`org_unit_id\` was not given in the request, then all * printers will be returned. */ printers?: Printer[]; @@ -669,18 +672,18 @@ declare namespace gapi.client { /** Defines mail delivery preferences of member. This is only supported by create/update/get. */ delivery_settings?: string; /** - * The member's email address. A member can be a user or another group. This property is required when adding a member to a group. The `email` must be unique and cannot be an alias of + * The member's email address. A member can be a user or another group. This property is required when adding a member to a group. The \`email\` must be unique and cannot be an alias of * another group. If the email address is changed, the API automatically reflects the email address changes. */ email?: string; /** ETag of the resource. */ etag?: string; - /** The unique ID of the group member. A member `id` can be used as a member request URI's `memberKey`. */ + /** The unique ID of the group member. A member \`id\` can be used as a member request URI's \`memberKey\`. */ id?: string; - /** The type of the API resource. For Members resources, the value is `admin#directory#member`. */ + /** The type of the API resource. For Members resources, the value is \`admin#directory#member\`. */ kind?: string; /** - * The member's role in a group. The API returns an error for cycles in group memberships. For example, if `group1` is a member of `group2`, `group2` cannot be a member of `group1`. + * The member's role in a group. The API returns an error for cycles in group memberships. For example, if \`group1\` is a member of \`group2\`, \`group2\` cannot be a member of \`group1\`. * For more information about a member's role, see the [administration help center](https://support.google.com/a/answer/167094). */ role?: string; @@ -712,19 +715,19 @@ declare namespace gapi.client { * updates the list with five applications, the is now the updated list of five applications. */ applications?: Array<{ - /** The application's display name. An example is `Browser`. */ + /** The application's display name. An example is \`Browser\`. */ displayName?: string; - /** The application's package name. An example is `com.android.browser`. */ + /** The application's package name. An example is \`com.android.browser\`. */ packageName?: string; /** * The list of permissions of this application. These can be either a standard Android permission or one defined by the application, and are found in an application's [Android - * manifest](https://developer.android.com/guide/topics/manifest/uses-permission-element.html). Examples of a Calendar application's permissions are `READ_CALENDAR`, or - * `MANAGE_ACCOUNTS`. + * manifest](https://developer.android.com/guide/topics/manifest/uses-permission-element.html). Examples of a Calendar application's permissions are \`READ_CALENDAR\`, or + * \`MANAGE_ACCOUNTS\`. */ permission?: string[]; - /** The application's version code. An example is `13`. */ + /** The application's version code. An example is \`13\`. */ versionCode?: number; - /** The application's version name. An example is `3.2-140714`. */ + /** The application's version name. An example is \`3.2-140714\`. */ versionName?: string; }>; /** The device's baseband version. */ @@ -767,7 +770,7 @@ declare namespace gapi.client { imei?: string; /** The device's kernel version. */ kernelVersion?: string; - /** The type of the API resource. For Mobiledevices resources, the value is `admin#directory#mobiledevice`. */ + /** The type of the API resource. For Mobiledevices resources, the value is \`admin#directory#mobiledevice\`. */ kind?: string; /** Date and time the device was last synchronized with the policy settings in the G Suite administrator control panel (Read-only) */ lastSync?: string; @@ -815,7 +818,7 @@ declare namespace gapi.client { /** Unknown sources enabled or disabled on device (Read-only) */ unknownSourcesStatus?: boolean; /** - * Gives information about the device such as `os` version. This property can be [updated](/admin-sdk/directory/v1/reference/mobiledevices/update.html). For more information, see the + * Gives information about the device such as \`os\` version. This property can be [updated](/admin-sdk/directory/v1/reference/mobiledevices/update.html). For more information, see the * [Developer's Guide](/admin-sdk/directory/v1/guides/manage-mobile-devices#update_mobile_device). */ userAgent?: string; @@ -838,7 +841,7 @@ declare namespace gapi.client { } interface OrgUnit { /** - * Determines if a sub-organizational unit can inherit the settings of the parent organization. The default value is `false`, meaning a sub-organizational unit inherits the settings of + * Determines if a sub-organizational unit can inherit the settings of the parent organization. The default value is \`false\`, meaning a sub-organizational unit inherits the settings of * the nearest parent organizational unit. For more information on inheritance and users in an organization structure, see the [administration help * center](https://support.google.com/a/answer/4352075). */ @@ -847,29 +850,29 @@ declare namespace gapi.client { description?: string; /** ETag of the resource. */ etag?: string; - /** The type of the API resource. For Orgunits resources, the value is `admin#directory#orgUnit`. */ + /** The type of the API resource. For Orgunits resources, the value is \`admin#directory#orgUnit\`. */ kind?: string; /** The organizational unit's path name. For example, an organizational unit's name within the /corp/support/sales_support parent path is sales_support. Required. */ name?: string; /** The unique ID of the organizational unit. */ orgUnitId?: string; /** - * The full path to the organizational unit. The `orgUnitPath` is a derived property. When listed, it is derived from `parentOrgunitPath` and organizational unit's `name`. For example, - * for an organizational unit named 'apps' under parent organization '/engineering', the orgUnitPath is '/engineering/apps'. In order to edit an `orgUnitPath`, either update the name - * of the organization or the `parentOrgunitPath`. A user's organizational unit determines which Google Workspace services the user has access to. If the user is moved to a new + * The full path to the organizational unit. The \`orgUnitPath\` is a derived property. When listed, it is derived from \`parentOrgunitPath\` and organizational unit's \`name\`. For example, + * for an organizational unit named 'apps' under parent organization '/engineering', the orgUnitPath is '/engineering/apps'. In order to edit an \`orgUnitPath\`, either update the name + * of the organization or the \`parentOrgunitPath\`. A user's organizational unit determines which Google Workspace services the user has access to. If the user is moved to a new * organization, the user's access changes. For more information about organization structures, see the [administration help center](https://support.google.com/a/answer/4352075). For * more information about moving a user to a different organization, see [Update a user](/admin-sdk/directory/v1/guides/manage-users.html#update_user). */ orgUnitPath?: string; - /** The unique ID of the parent organizational unit. Required, unless `parentOrgUnitPath` is set. */ + /** The unique ID of the parent organizational unit. Required, unless \`parentOrgUnitPath\` is set. */ parentOrgUnitId?: string; - /** The organizational unit's parent path. For example, /corp/sales is the parent path for /corp/sales/sales_support organizational unit. Required, unless `parentOrgUnitId` is set. */ + /** The organizational unit's parent path. For example, /corp/sales is the parent path for /corp/sales/sales_support organizational unit. Required, unless \`parentOrgUnitId\` is set. */ parentOrgUnitPath?: string; } interface OrgUnits { /** ETag of the resource. */ etag?: string; - /** The type of the API resource. For Org Unit resources, the type is `admin#directory#orgUnits`. */ + /** The type of the API resource. For Org Unit resources, the type is \`admin#directory#orgUnits\`. */ kind?: string; /** List of organizational unit objects. */ organizationUnits?: OrgUnit[]; @@ -897,11 +900,11 @@ declare namespace gapi.client { useDriverlessConfig?: boolean; } interface PrinterModel { - /** Display name. eq. "Brother MFC-8840D" */ + /** Display name. eq. \\"Brother MFC-8840D\\" */ displayName?: string; - /** Make and model as represented in "make_and_model" field in Printer object. eq. "brother mfc-8840d" */ + /** Make and model as represented in \\"make_and_model\\" field in Printer object. eq. \\"brother mfc-8840d\\" */ makeAndModel?: string; - /** Manufacturer. eq. "Brother" */ + /** Manufacturer. eq. \\"Brother\\" */ manufacturer?: string; } interface Privilege { @@ -911,11 +914,11 @@ declare namespace gapi.client { etag?: string; /** If the privilege can be restricted to an organization unit. */ isOuScopable?: boolean; - /** The type of the API resource. This is always `admin#directory#privilege`. */ + /** The type of the API resource. This is always \`admin#directory#privilege\`. */ kind?: string; /** The name of the privilege. */ privilegeName?: string; - /** The obfuscated ID of the service this privilege is for. This value is returned with [`Privileges.list()`](/admin-sdk/directory/v1/reference/privileges/list). */ + /** The obfuscated ID of the service this privilege is for. This value is returned with [\`Privileges.list()\`](/admin-sdk/directory/v1/reference/privileges/list). */ serviceId?: string; /** The name of the service this privilege is for. */ serviceName?: string; @@ -925,17 +928,17 @@ declare namespace gapi.client { etag?: string; /** A list of Privilege resources. */ items?: Privilege[]; - /** The type of the API resource. This is always `admin#directory#privileges`. */ + /** The type of the API resource. This is always \`admin#directory#privileges\`. */ kind?: string; } interface Role { /** ETag of the resource. */ etag?: string; - /** Returns `true` if the role is a super admin role. */ + /** Returns \`true\` if the role is a super admin role. */ isSuperAdminRole?: boolean; - /** Returns `true` if this is a pre-defined system role. */ + /** Returns \`true\` if this is a pre-defined system role. */ isSystemRole?: boolean; - /** The type of the API resource. This is always `admin#directory#role`. */ + /** The type of the API resource. This is always \`admin#directory#role\`. */ kind?: string; /** A short description of the role. */ roleDescription?: string; @@ -947,19 +950,19 @@ declare namespace gapi.client { rolePrivileges?: Array<{ /** The name of the privilege. */ privilegeName?: string; - /** The obfuscated ID of the service this privilege is for. This value is returned with [`Privileges.list()`](/admin-sdk/directory/v1/reference/privileges/list). */ + /** The obfuscated ID of the service this privilege is for. This value is returned with [\`Privileges.list()\`](/admin-sdk/directory/v1/reference/privileges/list). */ serviceId?: string; }>; } interface RoleAssignment { /** - * The unique ID of the entity this role is assigned to—either the `user_id` of a user or the `uniqueId` of a service account, as defined in [Identity and Access Management + * The unique ID of the entity this role is assigned to—either the \`user_id\` of a user or the \`uniqueId\` of a service account, as defined in [Identity and Access Management * (IAM)](https://cloud.google.com/iam/docs/reference/rest/v1/projects.serviceAccounts). */ assignedTo?: string; /** ETag of the resource. */ etag?: string; - /** The type of the API resource. This is always `admin#directory#roleAssignment`. */ + /** The type of the API resource. This is always \`admin#directory#roleAssignment\`. */ kind?: string; /** If the role is restricted to an organization unit, this contains the ID for the organization unit the exercise of this role is restricted to. */ orgUnitId?: string; @@ -975,7 +978,7 @@ declare namespace gapi.client { etag?: string; /** A list of RoleAssignment resources. */ items?: RoleAssignment[]; - /** The type of the API resource. This is always `admin#directory#roleAssignments`. */ + /** The type of the API resource. This is always \`admin#directory#roleAssignments\`. */ kind?: string; nextPageToken?: string; } @@ -984,7 +987,7 @@ declare namespace gapi.client { etag?: string; /** A list of Role resources. */ items?: Role[]; - /** The type of the API resource. This is always `admin#directory#roles`. */ + /** The type of the API resource. This is always \`admin#directory#roles\`. */ kind?: string; nextPageToken?: string; } @@ -999,7 +1002,7 @@ declare namespace gapi.client { kind?: string; /** The unique identifier of the schema (Read-only) */ schemaId?: string; - /** The schema's name. Each `schema_name` must be unique within a customer. Reusing a name results in a `409: Entity already exists` error. */ + /** The schema's name. Each \`schema_name\` must be unique within a customer. Reusing a name results in a \`409: Entity already exists\` error. */ schemaName?: string; } interface SchemaFieldSpec { @@ -1013,13 +1016,13 @@ declare namespace gapi.client { fieldName?: string; /** The type of the field. */ fieldType?: string; - /** Boolean specifying whether the field is indexed or not. Default: `true`. */ + /** Boolean specifying whether the field is indexed or not. Default: \`true\`. */ indexed?: boolean; - /** The kind of resource this is. For schema fields this is always `admin#directory#schema#fieldspec`. */ + /** The kind of resource this is. For schema fields this is always \`admin#directory#schema#fieldspec\`. */ kind?: string; - /** A boolean specifying whether this is a multi-valued field or not. Default: `false`. */ + /** A boolean specifying whether this is a multi-valued field or not. Default: \`false\`. */ multiValued?: boolean; - /** Indexing spec for a numeric field. By default, only exact match queries will be supported for numeric fields. Setting the `numericIndexingSpec` allows range queries to be supported. */ + /** Indexing spec for a numeric field. By default, only exact match queries will be supported for numeric fields. Setting the \`numericIndexingSpec\` allows range queries to be supported. */ numericIndexingSpec?: { /** Maximum value of this field. This is meant to be indicative rather than enforced. Values outside this range will still be indexed, but search may not be as performant. */ maxValue?: number; @@ -1041,7 +1044,7 @@ declare namespace gapi.client { schemas?: Schema[]; } interface Token { - /** Whether the application is registered with Google. The value is `true` if the application has an anonymous Client ID. */ + /** Whether the application is registered with Google. The value is \`true\` if the application has an anonymous Client ID. */ anonymous?: boolean; /** The Client ID of the application the token is issued to. */ clientId?: string; @@ -1049,9 +1052,9 @@ declare namespace gapi.client { displayText?: string; /** ETag of the resource. */ etag?: string; - /** The type of the API resource. This is always `admin#directory#token`. */ + /** The type of the API resource. This is always \`admin#directory#token\`. */ kind?: string; - /** Whether the token is issued to an installed application. The value is `true` if the application is installed to a desktop or mobile device. */ + /** Whether the token is issued to an installed application. The value is \`true\` if the application is installed to a desktop or mobile device. */ nativeApp?: boolean; /** A list of authorization scopes the application is granted. */ scopes?: string[]; @@ -1063,13 +1066,13 @@ declare namespace gapi.client { etag?: string; /** A list of Token resources. */ items?: Token[]; - /** The type of the API resource. This is always `admin#directory#tokenList`. */ + /** The type of the API resource. This is always \`admin#directory#tokenList\`. */ kind?: string; } interface User { /** A list of the user's addresses. The maximum allowed data size for this field is 10Kb. */ addresses?: any; - /** Output only. This property is `true` if the user has completed an initial login and accepted the Terms of Service agreement. */ + /** Output only. This property is \`true\` if the user has completed an initial login and accepted the Terms of Service agreement. */ agreedToTerms?: boolean; /** Output only. A list of the user's alias email addresses. */ aliases?: string[]; @@ -1083,12 +1086,12 @@ declare namespace gapi.client { /** User's G Suite account creation time. (Read-only) */ creationTime?: string; /** - * Output only. The customer ID to [retrieve all account users](/admin-sdk/directory/v1/guides/manage-users.html#get_all_users). You can use the alias `my_customer` to represent your - * account's `customerId`. As a reseller administrator, you can use the resold customer account's `customerId`. To get a `customerId`, use the account's primary domain in the `domain` + * Output only. The customer ID to [retrieve all account users](/admin-sdk/directory/v1/guides/manage-users.html#get_all_users). You can use the alias \`my_customer\` to represent your + * account's \`customerId\`. As a reseller administrator, you can use the resold customer account's \`customerId\`. To get a \`customerId\`, use the account's primary domain in the \`domain\` * parameter of a [users.list](/admin-sdk/directory/v1/reference/users/list) request. */ customerId?: string; - /** Custom fields of the user. The key is a `schema_name` and its values are `'field_name': 'field_value'`. */ + /** Custom fields of the user. The key is a \`schema_name\` and its values are \`'field_name': 'field_value'\`. */ customSchemas?: { [P in string]: UserCustomProperties }; deletionTime?: string; /** A list of the user's email addresses. The maximum allowed data size for this field is 10Kb. */ @@ -1100,12 +1103,12 @@ declare namespace gapi.client { /** The user's gender. The maximum allowed data size for this field is 1Kb. */ gender?: any; /** - * Stores the hash format of the `password` property. The following `hashFunction` values are allowed: * `MD5` - Accepts simple hex-encoded values. * `SHA1` - Accepts simple - * hex-encoded values. * `crypt` - Compliant with the [C crypt library](https://en.wikipedia.org/wiki/Crypt_%28C%29). Supports the DES, MD5 (hash prefix `$1$`), SHA-256 (hash prefix - * `$5$`), and SHA-512 (hash prefix `$6$`) hash algorithms. If rounds are specified as part of the prefix, they must be 10,000 or fewer. + * Stores the hash format of the \`password\` property. The following \`hashFunction\` values are allowed: * \`MD5\` - Accepts simple hex-encoded values. * \`SHA1\` - Accepts simple + * hex-encoded values. * \`crypt\` - Compliant with the [C crypt library](https://en.wikipedia.org/wiki/Crypt_%28C%29). Supports the DES, MD5 (hash prefix \`$1$\`), SHA-256 (hash prefix + * \`$5$\`), and SHA-512 (hash prefix \`$6$\`) hash algorithms. If rounds are specified as part of the prefix, they must be 10,000 or fewer. */ hashFunction?: string; - /** The unique ID for the user. A user `id` can be used as a user request URI's `userKey`. */ + /** The unique ID for the user. A user \`id\` can be used as a user request URI's \`userKey\`. */ id?: string; /** * The user's Instant Messenger (IM) accounts. A user account can have multiple ims properties. But, only one of these ims properties can be the primary IM contact. The maximum allowed @@ -1117,10 +1120,10 @@ declare namespace gapi.client { * excluding user profiles, see the [administration help center](https://support.google.com/a/answer/1285988). */ includeInGlobalAddressList?: boolean; - /** If `true`, the user's IP address is [whitelisted](https://support.google.com/a/answer/60752). */ + /** If \`true\`, the user's IP address is [whitelisted](https://support.google.com/a/answer/60752). */ ipWhitelisted?: boolean; /** - * Output only. Indicates a user with super admininistrator privileges. The `isAdmin` property can only be edited in the [Make a user an + * Output only. Indicates a user with super admininistrator privileges. The \`isAdmin\` property can only be edited in the [Make a user an * administrator](/admin-sdk/directory/v1/guides/manage-users.html#make_admin) operation ( [makeAdmin](/admin-sdk/directory/v1/reference/users/makeAdmin.html) method). If edited in the * user [insert](/admin-sdk/directory/v1/reference/users/insert.html) or [update](/admin-sdk/directory/v1/reference/users/update.html) methods, the edit is ignored by the API service. */ @@ -1138,7 +1141,7 @@ declare namespace gapi.client { isMailboxSetup?: boolean; /** The user's keywords. The maximum allowed data size for this field is 1Kb. */ keywords?: any; - /** Output only. The type of the API resource. For Users resources, the value is `admin#directory#user`. */ + /** Output only. The type of the API resource. For Users resources, the value is \`admin#directory#user\`. */ kind?: string; /** The user's languages. The maximum allowed data size for this field is 1Kb. */ languages?: any; @@ -1147,7 +1150,7 @@ declare namespace gapi.client { /** The user's locations. The maximum allowed data size for this field is 10Kb. */ locations?: any; /** - * Holds the given and family names of the user, and the read-only `fullName` value. The maximum number of characters in the `givenName` and in the `familyName` values is 60. In + * Holds the given and family names of the user, and the read-only \`fullName\` value. The maximum number of characters in the \`givenName\` and in the \`familyName\` values is 60. In * addition, name values support unicode/UTF-8 characters, and can contain spaces, letters (a-z), numbers (0-9), dashes (-), forward slashes (/), and periods (.). For more information * about character usage rules, see the [administration help center](https://support.google.com/a/answer/9193374). Maximum allowed data size for this field is 1Kb. */ @@ -1158,7 +1161,7 @@ declare namespace gapi.client { notes?: any; /** A list of organizations the user belongs to. The maximum allowed data size for this field is 10Kb. */ organizations?: any; - /** The full path of the parent organization associated with the user. If the parent organization is the top-level, it is represented as a forward slash (`/`). */ + /** The full path of the parent organization associated with the user. If the parent organization is the top-level, it is represented as a forward slash (\`/\`). */ orgUnitPath?: string; /** User's password */ password?: string; @@ -1166,7 +1169,7 @@ declare namespace gapi.client { phones?: any; /** A list of [POSIX](https://www.opengroup.org/austin/papers/posix_faq.html) account information for the user. */ posixAccounts?: any; - /** The user's primary email address. This property is required in a request to create a user account. The `primaryEmail` must be unique and cannot be an alias of another user. */ + /** The user's primary email address. This property is required in a request to create a user account. The \`primaryEmail\` must be unique and cannot be an alias of another user. */ primaryEmail?: string; /** Recovery email of the user. */ recoveryEmail?: string; @@ -1179,8 +1182,8 @@ declare namespace gapi.client { /** Indicates if user is suspended. */ suspended?: boolean; /** - * Output only. Has the reason a user account is suspended either by the administrator or by Google at the time of suspension. The property is returned only if the `suspended` property - * is `true`. + * Output only. Has the reason a user account is suspended either by the administrator or by Google at the time of suspension. The property is returned only if the \`suspended\` property + * is \`true\`. */ suspensionReason?: string; /** Output only. ETag of the user's photo (Read-only) */ @@ -1294,16 +1297,16 @@ declare namespace gapi.client { value?: string; } interface UserLanguage { - /** Other language. User can provide their own language name if there is no corresponding ISO 639 language code. If this is set, `languageCode` can't be set. */ + /** Other language. User can provide their own language name if there is no corresponding ISO 639 language code. If this is set, \`languageCode\` can't be set. */ customLanguage?: string; /** * ISO 639 string representation of a language. See [Language Codes](/admin-sdk/directory/v1/languages) for the list of supported codes. Valid language codes outside the supported set - * will be accepted by the API but may lead to unexpected behavior. Illegal values cause `SchemaException`. If this is set, `customLanguage` can't be set. + * will be accepted by the API but may lead to unexpected behavior. Illegal values cause \`SchemaException\`. If this is set, \`customLanguage\` can't be set. */ languageCode?: string; /** - * Optional. If present, controls whether the specified `languageCode` is the user's preferred language. If `customLanguage` is set, this can't be set. Allowed values are `preferred` - * and `not_preferred`. + * Optional. If present, controls whether the specified \`languageCode\` is the user's preferred language. If \`customLanguage\` is set, this can't be set. Allowed values are \`preferred\` + * and \`not_preferred\`. */ preference?: string; } @@ -1387,9 +1390,9 @@ declare namespace gapi.client { height?: number; /** The ID the API uses to uniquely identify the user. */ id?: string; - /** The type of the API resource. For Photo resources, this is `admin#directory#user#photo`. */ + /** The type of the API resource. For Photo resources, this is \`admin#directory#user#photo\`. */ kind?: string; - /** The MIME type of the photo. Allowed values are `JPEG`, `PNG`, `GIF`, `BMP`, `TIFF`, and web-safe base64 encoding. */ + /** The MIME type of the photo. Allowed values are \`JPEG\`, \`PNG\`, \`GIF\`, \`BMP\`, \`TIFF\`, and web-safe base64 encoding. */ mimeType?: string; /** * The user photo's upload data in [web-safe Base64](https://en.wikipedia.org/wiki/Base64#URL_applications) format in bytes. This means: * The slash (/) character is replaced with the @@ -1473,7 +1476,7 @@ declare namespace gapi.client { interface VerificationCode { /** ETag of the resource. */ etag?: string; - /** The type of the resource. This is always `admin#directory#verificationCode`. */ + /** The type of the resource. This is always \`admin#directory#verificationCode\`. */ kind?: string; /** The obfuscated unique ID of the user. */ userId?: string; @@ -1485,14 +1488,14 @@ declare namespace gapi.client { etag?: string; /** A list of verification code resources. */ items?: VerificationCode[]; - /** The type of the resource. This is always `admin#directory#verificationCodesList`. */ + /** The type of the resource. This is always \`admin#directory#verificationCodesList\`. */ kind?: string; } interface ChannelsResource { /** Stops watching resources through this channel. */ stop(request: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -1509,16 +1512,16 @@ declare namespace gapi.client { prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; /** Request body */ resource: Channel; }): Request; stop(request: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -1535,9 +1538,9 @@ declare namespace gapi.client { prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; }, body: Channel): Request; @@ -1546,7 +1549,7 @@ declare namespace gapi.client { /** Gets command data a specific command issued to the device. */ get(request?: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -1569,9 +1572,9 @@ declare namespace gapi.client { prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; }): Request; } @@ -1579,7 +1582,7 @@ declare namespace gapi.client { /** Issues a command for the device to execute. */ issueCommand(request: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -1600,16 +1603,16 @@ declare namespace gapi.client { prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; /** Request body */ resource: DirectoryChromeosdevicesIssueCommandRequest; }): Request; issueCommand(request: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -1630,9 +1633,9 @@ declare namespace gapi.client { prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; }, body: DirectoryChromeosdevicesIssueCommandRequest): Request; @@ -1648,7 +1651,7 @@ declare namespace gapi.client { /** Creates printers under given Organization Unit. */ batchCreatePrinters(request: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -1667,16 +1670,16 @@ declare namespace gapi.client { prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; /** Request body */ resource: BatchCreatePrintersRequest; }): Request; batchCreatePrinters(request: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -1695,16 +1698,16 @@ declare namespace gapi.client { prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; }, body: BatchCreatePrintersRequest): Request; /** Deletes printers in batch. */ batchDeletePrinters(request: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -1723,16 +1726,16 @@ declare namespace gapi.client { prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; /** Request body */ resource: BatchDeletePrintersRequest; }): Request; batchDeletePrinters(request: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -1751,16 +1754,16 @@ declare namespace gapi.client { prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; }, body: BatchDeletePrintersRequest): Request; /** Creates a printer under given Organization Unit. */ create(request: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -1779,16 +1782,16 @@ declare namespace gapi.client { prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; /** Request body */ resource: Printer; }): Request; create(request: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -1807,16 +1810,16 @@ declare namespace gapi.client { prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; }, body: Printer): Request; - /** Deletes a `Printer`. */ + /** Deletes a \`Printer\`. */ delete(request?: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -1835,15 +1838,15 @@ declare namespace gapi.client { prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; }): Request<{}>; - /** Returns a `Printer` resource (printer's config). */ + /** Returns a \`Printer\` resource (printer's config). */ get(request?: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -1862,15 +1865,15 @@ declare namespace gapi.client { prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; }): Request; /** List printers configs. */ list(request?: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -1887,7 +1890,7 @@ declare namespace gapi.client { oauth_token?: string; /** * The order to sort results by. Must be one of display_name, description, make_and_model, or create_time. Default order is ascending, but descending order can be returned by - * appending "desc" to the order_by field. For instance, "description desc" will return the printers sorted by description in descending order. + * appending \\"desc\\" to the order_by field. For instance, \\"description desc\\" will return the printers sorted by description in descending order. */ orderBy?: string; /** @@ -1906,15 +1909,15 @@ declare namespace gapi.client { prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; }): Request; /** Lists the supported printer models. */ listPrinterModels(request?: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -1923,7 +1926,7 @@ declare namespace gapi.client { callback?: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; - /** Filer to list only models by a given manufacturer in format: "manufacturer:Brother". Search syntax is shared between this api and Admin Console printers pages. */ + /** Filer to list only models by a given manufacturer in format: \\"manufacturer:Brother\\". Search syntax is shared between this api and Admin Console printers pages. */ filter?: string; /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ key?: string; @@ -1939,15 +1942,15 @@ declare namespace gapi.client { prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; }): Request; - /** Updates a `Printer` resource. */ + /** Updates a \`Printer\` resource. */ patch(request: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -1970,16 +1973,16 @@ declare namespace gapi.client { quotaUser?: string; /** The list of fields to be updated. Note, some of the fields are read only and cannot be updated. Values for not specified fields will be patched. */ updateMask?: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; /** Request body */ resource: Printer; }): Request; patch(request: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -2002,9 +2005,9 @@ declare namespace gapi.client { quotaUser?: string; /** The list of fields to be updated. Note, some of the fields are read only and cannot be updated. Values for not specified fields will be patched. */ updateMask?: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; }, body: Printer): Request; @@ -2042,11 +2045,11 @@ declare namespace gapi.client { creationTime?: string; /** ETag of the ASP. */ etag?: string; - /** The type of the API resource. This is always `admin#directory#asp`. */ + /** The type of the API resource. This is always \`admin#directory#asp\`. */ kind?: string; /** The time when the ASP was last used. Expressed in [Unix time](https://en.wikipedia.org/wiki/Epoch_time) format. */ lastTimeUsed?: string; - /** The name of the application that the user, represented by their `userId`, entered when the ASP was created. */ + /** The name of the application that the user, represented by their \`userId\`, entered when the ASP was created. */ name?: string; /** The unique ID of the user who issued the ASP. */ userKey?: string; @@ -2056,11 +2059,11 @@ declare namespace gapi.client { etag?: string; /** A list of ASP resources. */ items?: Asp[]; - /** The type of the API resource. This is always `admin#directory#aspList`. */ + /** The type of the API resource. This is always \`admin#directory#aspList\`. */ kind?: string; } interface AuxiliaryMessage { - /** Human readable message in English. Example: "Given printer is invalid or no longer supported." */ + /** Human readable message in English. Example: \\"Given printer is invalid or no longer supported.\\" */ auxiliaryMessage?: string; /** Field that this message concerns. */ fieldMask?: string; @@ -2089,23 +2092,23 @@ declare namespace gapi.client { } interface Building { /** - * The postal address of the building. See [`PostalAddress`](/my-business/reference/rest/v4/PostalAddress) for details. Note that only a single address line and region code are + * The postal address of the building. See [\`PostalAddress\`](/my-business/reference/rest/v4/PostalAddress) for details. Note that only a single address line and region code are * required. */ address?: BuildingAddress; /** Unique identifier for the building. The maximum length is 100 characters. */ buildingId?: string; - /** The building name as seen by users in Calendar. Must be unique for the customer. For example, "NYC-CHEL". The maximum length is 100 characters. */ + /** The building name as seen by users in Calendar. Must be unique for the customer. For example, \\"NYC-CHEL\\". The maximum length is 100 characters. */ buildingName?: string; /** The geographic coordinates of the center of the building, expressed as latitude and longitude in decimal degrees. */ coordinates?: BuildingCoordinates; - /** A brief description of the building. For example, "Chelsea Market". */ + /** A brief description of the building. For example, \\"Chelsea Market\\". */ description?: string; /** ETag of the resource. */ etags?: string; /** - * The display names for all floors in this building. The floors are expected to be sorted in ascending order, from lowest floor to highest floor. For example, ["B2", "B1", "L", "1", - * "2", "2M", "3", "PH"] Must contain at least one entry. + * The display names for all floors in this building. The floors are expected to be sorted in ascending order, from lowest floor to highest floor. For example, [\\"B2\\", \\"B1\\", \\"L\\", \\"1\\", + * \\"2\\", \\"2M\\", \\"3\\", \\"PH\\"] Must contain at least one entry. */ floorNames?: string[]; /** Kind of resource this is. */ @@ -2160,11 +2163,11 @@ declare namespace gapi.client { /** Name of the section within a floor a resource is located in. */ floorSection?: string; /** - * The read-only auto-generated name of the calendar resource which includes metadata about the resource such as building name, floor, capacity, etc. For example, "NYC-2-Training Room - * 1A (16)". + * The read-only auto-generated name of the calendar resource which includes metadata about the resource such as building name, floor, capacity, etc. For example, \\"NYC-2-Training Room + * 1A (16)\\". */ generatedResourceName?: string; - /** The type of the resource. For calendar resources, the value is `admin#directory#resources#calendars#CalendarResource`. */ + /** The type of the resource. For calendar resources, the value is \`admin#directory#resources#calendars#CalendarResource\`. */ kind?: string; /** The category of the calendar resource. Either CONFERENCE_ROOM or OTHER. Legacy data is set to CATEGORY_UNKNOWN. */ resourceCategory?: string; @@ -2174,7 +2177,7 @@ declare namespace gapi.client { resourceEmail?: string; /** The unique ID for the calendar resource. */ resourceId?: string; - /** The name of the calendar resource. For example, "Training Room 1A". */ + /** The name of the calendar resource. For example, \\"Training Room 1A\\". */ resourceName?: string; /** The type of the calendar resource, intended for non-room resources. */ resourceType?: string; @@ -2186,7 +2189,7 @@ declare namespace gapi.client { etag?: string; /** The CalendarResources in this page of results. */ items?: CalendarResource[]; - /** Identifies this as a collection of CalendarResources. This is always `admin#directory#resources#calendars#calendarResourcesList`. */ + /** Identifies this as a collection of CalendarResources. This is always \`admin#directory#resources#calendars#calendarResourcesList\`. */ kind?: string; /** The continuation token, used to page through large result sets. Provide this value in a subsequent request to return the next page of results. */ nextPageToken?: string; @@ -2198,7 +2201,7 @@ declare namespace gapi.client { expiration?: string; /** A UUID or similar unique string that identifies this channel. */ id?: string; - /** Identifies this as a notification channel used to watch for changes to a resource, which is `api#channel`. */ + /** Identifies this as a notification channel used to watch for changes to a resource, which is \`api#channel\`. */ kind?: string; /** Additional parameters controlling delivery channel behavior. Optional. */ params?: { [P in string]: string }; @@ -2223,14 +2226,14 @@ declare namespace gapi.client { }>; /** The asset identifier as noted by an administrator or specified during enrollment. */ annotatedAssetId?: string; - /** The address or location of the device as noted by the administrator. Maximum length is `200` characters. Empty values are allowed. */ + /** The address or location of the device as noted by the administrator. Maximum length is \`200\` characters. Empty values are allowed. */ annotatedLocation?: string; /** The user of the device as noted by the administrator. Maximum length is 100 characters. Empty values are allowed. */ annotatedUser?: string; /** (Read-only) The timestamp after which the device will stop receiving Chrome updates or support */ autoUpdateExpiration?: string; /** - * The boot mode for the device. The possible values are: * `Verified`: The device is running a valid version of the Chrome OS. * `Dev`: The devices's developer hardware switch is + * The boot mode for the device. The possible values are: * \`Verified\`: The device is running a valid version of the Chrome OS. * \`Dev\`: The devices's developer hardware switch is * enabled. When booted, the device has a command line shell. For an example of a developer switch, see the [Chromebook developer * information](https://www.chromium.org/chromium-os/developer-information-for-chrome-os-devices/samsung-series-5-chromebook#TOC-Developer-switch). */ @@ -2315,7 +2318,7 @@ declare namespace gapi.client { ethernetMacAddress0?: string; /** The Chrome device's firmware version. */ firmwareVersion?: string; - /** The type of resource. For the Chromeosdevices resource, the value is `admin#directory#chromeosdevice`. */ + /** The type of resource. For the Chromeosdevices resource, the value is \`admin#directory#chromeosdevice\`. */ kind?: string; /** Date and time the device was last enrolled (Read-only) */ lastEnrollmentTime?: string; @@ -2342,7 +2345,7 @@ declare namespace gapi.client { model?: string; /** * Notes about this device added by the administrator. This property can be [searched](https://support.google.com/chrome/a/answer/1698333) with the - * [list](/admin-sdk/directory/v1/reference/chromeosdevices/list) method's `query` parameter. Maximum length is 500 characters. Empty values are allowed. + * [list](/admin-sdk/directory/v1/reference/chromeosdevices/list) method's \`query\` parameter. Maximum length is 500 characters. Empty values are allowed. */ notes?: string; /** The device's order number. Only devices directly purchased from Google have an order number. */ @@ -2355,7 +2358,7 @@ declare namespace gapi.client { orgUnitId?: string; /** * The full parent path with the organizational unit's name associated with the device. Path names are case insensitive. If the parent organizational unit is the top-level - * organization, it is represented as a forward slash, `/`. This property can be [updated](/admin-sdk/directory/v1/guides/manage-chrome-devices#move_chrome_devices_to_ou) using the + * organization, it is represented as a forward slash, \`/\`. This property can be [updated](/admin-sdk/directory/v1/guides/manage-chrome-devices#move_chrome_devices_to_ou) using the * API. For more information about how to create an organizational structure for your device, see the [administration help center](https://support.google.com/a/answer/182433). */ orgUnitPath?: string; @@ -2365,12 +2368,12 @@ declare namespace gapi.client { platformVersion?: string; /** List of recent device users, in descending order, by last login time. */ recentUsers?: Array<{ - /** The user's email address. This is only present if the user type is `USER_TYPE_MANAGED`. */ + /** The user's email address. This is only present if the user type is \`USER_TYPE_MANAGED\`. */ email?: string; /** The type of the user. */ type?: string; }>; - /** List of screenshot files to download. Type is always "SCREENSHOT_FILE". (Read-only) */ + /** List of screenshot files to download. Type is always \\"SCREENSHOT_FILE\\". (Read-only) */ screenshotFiles?: Array<{ /** Date and time the file was created */ createTime?: string; @@ -2397,7 +2400,7 @@ declare namespace gapi.client { systemRamTotal?: string; /** Trusted Platform Module (TPM) (Read-only) */ tpmVersionInfo?: { - /** TPM family. We use the TPM 2.0 style encoding, e.g.: TPM 1.2: "1.2" -> 312e3200 TPM 2.0: "2.0" -> 322e3000 */ + /** TPM family. We use the TPM 2.0 style encoding, e.g.: TPM 1.2: \\"1.2\\" -> 312e3200 TPM 2.0: \\"2.0\\" -> 322e3000 */ family?: string; /** TPM firmware version. */ firmwareVersion?: string; @@ -2417,7 +2420,7 @@ declare namespace gapi.client { /** Action to be taken on the Chrome OS device. */ action?: string; /** - * Only used when the action is `deprovision`. With the `deprovision` action, this field is required. *Note*: The deprovision reason is audited because it might have implications on + * Only used when the action is \`deprovision\`. With the \`deprovision\` action, this field is required. *Note*: The deprovision reason is audited because it might have implications on * licenses for perpetual subscription customers. */ deprovisionReason?: string; @@ -2429,7 +2432,7 @@ declare namespace gapi.client { etag?: string; /** Kind of resource this is. */ kind?: string; - /** Token used to access the next page of this result. To access the next page, use this token's value in the `pageToken` query string of this request. */ + /** Token used to access the next page of this result. To access the next page, use this token's value in the \`pageToken\` query string of this request. */ nextPageToken?: string; } interface ChromeOsMoveDevicesToOu { @@ -2443,21 +2446,21 @@ declare namespace gapi.client { printer?: Printer; } interface Customer { - /** The customer's secondary contact email address. This email address cannot be on the same domain as the `customerDomain` */ + /** The customer's secondary contact email address. This email address cannot be on the same domain as the \`customerDomain\` */ alternateEmail?: string; /** The customer's creation time (Readonly) */ customerCreationTime?: string; - /** The customer's primary domain name string. Do not include the `www` prefix when creating a new customer. */ + /** The customer's primary domain name string. Do not include the \`www\` prefix when creating a new customer. */ customerDomain?: string; /** ETag of the resource. */ etag?: string; /** The unique ID for the customer's Google Workspace account. (Readonly) */ id?: string; - /** Identifies the resource as a customer. Value: `admin#directory#customer` */ + /** Identifies the resource as a customer. Value: \`admin#directory#customer\` */ kind?: string; /** * The customer's ISO 639-2 language code. See the [Language Codes](/admin-sdk/directory/v1/languages) page for the list of supported codes. Valid language codes outside the supported - * set will be accepted by the API but may lead to unexpected behavior. The default value is `en`. + * set will be accepted by the API but may lead to unexpected behavior. The default value is \`en\`. */ language?: string; /** The customer's contact phone number in [E.164](https://en.wikipedia.org/wiki/E.164) format. */ @@ -2474,15 +2477,15 @@ declare namespace gapi.client { addressLine3?: string; /** The customer contact's name. */ contactName?: string; - /** This is a required property. For `countryCode` information see the [ISO 3166 country code elements](https://www.iso.org/iso/country_codes.htm). */ + /** This is a required property. For \`countryCode\` information see the [ISO 3166 country code elements](https://www.iso.org/iso/country_codes.htm). */ countryCode?: string; - /** Name of the locality. An example of a locality value is the city of `San Francisco`. */ + /** Name of the locality. An example of a locality value is the city of \`San Francisco\`. */ locality?: string; /** The company or company division name. */ organizationName?: string; - /** The postal code. A postalCode example is a postal zip code such as `10009`. This is in accordance with - http: //portablecontacts.net/draft-spec.html#address_element. */ + /** The postal code. A postalCode example is a postal zip code such as \`10009\`. This is in accordance with - http: //portablecontacts.net/draft-spec.html#address_element. */ postalCode?: string; - /** Name of the region. An example of a region value is `NY` for the state of New York. */ + /** Name of the region. An example of a region value is \`NY\` for the state of New York. */ region?: string; } interface DirectoryChromeosdevicesCommand { @@ -2514,7 +2517,7 @@ declare namespace gapi.client { commandType?: string; /** * The payload for the command, provide it only if command supports it. The following commands support adding payload: - SET_VOLUME: Payload is a stringified JSON object in the form: { - * "volume": 50 }. The volume has to be an integer in the range [0,100]. + * \\"volume\\": 50 }. The volume has to be an integer in the range [0,100]. */ payload?: string; } @@ -2608,30 +2611,30 @@ declare namespace gapi.client { nextPageToken?: string; } interface Group { - /** Read-only. Value is `true` if this group was created by an administrator rather than a user. */ + /** Read-only. Value is \`true\` if this group was created by an administrator rather than a user. */ adminCreated?: boolean; /** Read-only. A list of a group's alias email addresses. */ aliases?: string[]; /** * An extended description to help users determine the purpose of a group. For example, you can include information about who should join the group, the types of messages to send to - * the group, links to FAQs about the group, or related groups. Maximum length is `4,096` characters. + * the group, links to FAQs about the group, or related groups. Maximum length is \`4,096\` characters. */ description?: string; /** * The number of users that are direct members of the group. If a group is a member (child) of this group (the parent), members of the child group are not counted in the - * `directMembersCount` property of the parent group. + * \`directMembersCount\` property of the parent group. */ directMembersCount?: string; /** - * The group's email address. If your account has multiple domains, select the appropriate domain for the email address. The `email` must be unique. This property is required when + * The group's email address. If your account has multiple domains, select the appropriate domain for the email address. The \`email\` must be unique. This property is required when * creating a group. Group email addresses are subject to the same character usage rules as usernames, see the [help center](https://support.google.com/a/answer/9193374) for details. */ email?: string; /** ETag of the resource. */ etag?: string; - /** Read-only. The unique ID of a group. A group `id` can be used as a group request URI's `groupKey`. */ + /** Read-only. The unique ID of a group. A group \`id\` can be used as a group request URI's \`groupKey\`. */ id?: string; - /** The type of the API resource. For Groups resources, the value is `admin#directory#group`. */ + /** The type of the API resource. For Groups resources, the value is \`admin#directory#group\`. */ kind?: string; /** The group's display name. */ name?: string; @@ -2652,16 +2655,16 @@ declare namespace gapi.client { nextPageToken?: string; } interface ListPrinterModelsResponse { - /** A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */ + /** A token, which can be sent as \`page_token\` to retrieve the next page. If this field is omitted, there are no subsequent pages. */ nextPageToken?: string; /** Printer models that are currently allowed to be configured for ChromeOs. Some printers may be added or removed over time. */ printerModels?: PrinterModel[]; } interface ListPrintersResponse { - /** A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */ + /** A token, which can be sent as \`page_token\` to retrieve the next page. If this field is omitted, there are no subsequent pages. */ nextPageToken?: string; /** - * List of printers. If `org_unit_id` was given in the request, then only printers visible for this OU will be returned. If `org_unit_id` was not given in the request, then all + * List of printers. If \`org_unit_id\` was given in the request, then only printers visible for this OU will be returned. If \`org_unit_id\` was not given in the request, then all * printers will be returned. */ printers?: Printer[]; @@ -2670,18 +2673,18 @@ declare namespace gapi.client { /** Defines mail delivery preferences of member. This is only supported by create/update/get. */ delivery_settings?: string; /** - * The member's email address. A member can be a user or another group. This property is required when adding a member to a group. The `email` must be unique and cannot be an alias of + * The member's email address. A member can be a user or another group. This property is required when adding a member to a group. The \`email\` must be unique and cannot be an alias of * another group. If the email address is changed, the API automatically reflects the email address changes. */ email?: string; /** ETag of the resource. */ etag?: string; - /** The unique ID of the group member. A member `id` can be used as a member request URI's `memberKey`. */ + /** The unique ID of the group member. A member \`id\` can be used as a member request URI's \`memberKey\`. */ id?: string; - /** The type of the API resource. For Members resources, the value is `admin#directory#member`. */ + /** The type of the API resource. For Members resources, the value is \`admin#directory#member\`. */ kind?: string; /** - * The member's role in a group. The API returns an error for cycles in group memberships. For example, if `group1` is a member of `group2`, `group2` cannot be a member of `group1`. + * The member's role in a group. The API returns an error for cycles in group memberships. For example, if \`group1\` is a member of \`group2\`, \`group2\` cannot be a member of \`group1\`. * For more information about a member's role, see the [administration help center](https://support.google.com/a/answer/167094). */ role?: string; @@ -2713,19 +2716,19 @@ declare namespace gapi.client { * updates the list with five applications, the is now the updated list of five applications. */ applications?: Array<{ - /** The application's display name. An example is `Browser`. */ + /** The application's display name. An example is \`Browser\`. */ displayName?: string; - /** The application's package name. An example is `com.android.browser`. */ + /** The application's package name. An example is \`com.android.browser\`. */ packageName?: string; /** * The list of permissions of this application. These can be either a standard Android permission or one defined by the application, and are found in an application's [Android - * manifest](https://developer.android.com/guide/topics/manifest/uses-permission-element.html). Examples of a Calendar application's permissions are `READ_CALENDAR`, or - * `MANAGE_ACCOUNTS`. + * manifest](https://developer.android.com/guide/topics/manifest/uses-permission-element.html). Examples of a Calendar application's permissions are \`READ_CALENDAR\`, or + * \`MANAGE_ACCOUNTS\`. */ permission?: string[]; - /** The application's version code. An example is `13`. */ + /** The application's version code. An example is \`13\`. */ versionCode?: number; - /** The application's version name. An example is `3.2-140714`. */ + /** The application's version name. An example is \`3.2-140714\`. */ versionName?: string; }>; /** The device's baseband version. */ @@ -2768,7 +2771,7 @@ declare namespace gapi.client { imei?: string; /** The device's kernel version. */ kernelVersion?: string; - /** The type of the API resource. For Mobiledevices resources, the value is `admin#directory#mobiledevice`. */ + /** The type of the API resource. For Mobiledevices resources, the value is \`admin#directory#mobiledevice\`. */ kind?: string; /** Date and time the device was last synchronized with the policy settings in the G Suite administrator control panel (Read-only) */ lastSync?: string; @@ -2816,7 +2819,7 @@ declare namespace gapi.client { /** Unknown sources enabled or disabled on device (Read-only) */ unknownSourcesStatus?: boolean; /** - * Gives information about the device such as `os` version. This property can be [updated](/admin-sdk/directory/v1/reference/mobiledevices/update.html). For more information, see the + * Gives information about the device such as \`os\` version. This property can be [updated](/admin-sdk/directory/v1/reference/mobiledevices/update.html). For more information, see the * [Developer's Guide](/admin-sdk/directory/v1/guides/manage-mobile-devices#update_mobile_device). */ userAgent?: string; @@ -2839,7 +2842,7 @@ declare namespace gapi.client { } interface OrgUnit { /** - * Determines if a sub-organizational unit can inherit the settings of the parent organization. The default value is `false`, meaning a sub-organizational unit inherits the settings of + * Determines if a sub-organizational unit can inherit the settings of the parent organization. The default value is \`false\`, meaning a sub-organizational unit inherits the settings of * the nearest parent organizational unit. For more information on inheritance and users in an organization structure, see the [administration help * center](https://support.google.com/a/answer/4352075). */ @@ -2848,29 +2851,29 @@ declare namespace gapi.client { description?: string; /** ETag of the resource. */ etag?: string; - /** The type of the API resource. For Orgunits resources, the value is `admin#directory#orgUnit`. */ + /** The type of the API resource. For Orgunits resources, the value is \`admin#directory#orgUnit\`. */ kind?: string; /** The organizational unit's path name. For example, an organizational unit's name within the /corp/support/sales_support parent path is sales_support. Required. */ name?: string; /** The unique ID of the organizational unit. */ orgUnitId?: string; /** - * The full path to the organizational unit. The `orgUnitPath` is a derived property. When listed, it is derived from `parentOrgunitPath` and organizational unit's `name`. For example, - * for an organizational unit named 'apps' under parent organization '/engineering', the orgUnitPath is '/engineering/apps'. In order to edit an `orgUnitPath`, either update the name - * of the organization or the `parentOrgunitPath`. A user's organizational unit determines which Google Workspace services the user has access to. If the user is moved to a new + * The full path to the organizational unit. The \`orgUnitPath\` is a derived property. When listed, it is derived from \`parentOrgunitPath\` and organizational unit's \`name\`. For example, + * for an organizational unit named 'apps' under parent organization '/engineering', the orgUnitPath is '/engineering/apps'. In order to edit an \`orgUnitPath\`, either update the name + * of the organization or the \`parentOrgunitPath\`. A user's organizational unit determines which Google Workspace services the user has access to. If the user is moved to a new * organization, the user's access changes. For more information about organization structures, see the [administration help center](https://support.google.com/a/answer/4352075). For * more information about moving a user to a different organization, see [Update a user](/admin-sdk/directory/v1/guides/manage-users.html#update_user). */ orgUnitPath?: string; - /** The unique ID of the parent organizational unit. Required, unless `parentOrgUnitPath` is set. */ + /** The unique ID of the parent organizational unit. Required, unless \`parentOrgUnitPath\` is set. */ parentOrgUnitId?: string; - /** The organizational unit's parent path. For example, /corp/sales is the parent path for /corp/sales/sales_support organizational unit. Required, unless `parentOrgUnitId` is set. */ + /** The organizational unit's parent path. For example, /corp/sales is the parent path for /corp/sales/sales_support organizational unit. Required, unless \`parentOrgUnitId\` is set. */ parentOrgUnitPath?: string; } interface OrgUnits { /** ETag of the resource. */ etag?: string; - /** The type of the API resource. For Org Unit resources, the type is `admin#directory#orgUnits`. */ + /** The type of the API resource. For Org Unit resources, the type is \`admin#directory#orgUnits\`. */ kind?: string; /** List of organizational unit objects. */ organizationUnits?: OrgUnit[]; @@ -2898,11 +2901,11 @@ declare namespace gapi.client { useDriverlessConfig?: boolean; } interface PrinterModel { - /** Display name. eq. "Brother MFC-8840D" */ + /** Display name. eq. \\"Brother MFC-8840D\\" */ displayName?: string; - /** Make and model as represented in "make_and_model" field in Printer object. eq. "brother mfc-8840d" */ + /** Make and model as represented in \\"make_and_model\\" field in Printer object. eq. \\"brother mfc-8840d\\" */ makeAndModel?: string; - /** Manufacturer. eq. "Brother" */ + /** Manufacturer. eq. \\"Brother\\" */ manufacturer?: string; } interface Privilege { @@ -2912,11 +2915,11 @@ declare namespace gapi.client { etag?: string; /** If the privilege can be restricted to an organization unit. */ isOuScopable?: boolean; - /** The type of the API resource. This is always `admin#directory#privilege`. */ + /** The type of the API resource. This is always \`admin#directory#privilege\`. */ kind?: string; /** The name of the privilege. */ privilegeName?: string; - /** The obfuscated ID of the service this privilege is for. This value is returned with [`Privileges.list()`](/admin-sdk/directory/v1/reference/privileges/list). */ + /** The obfuscated ID of the service this privilege is for. This value is returned with [\`Privileges.list()\`](/admin-sdk/directory/v1/reference/privileges/list). */ serviceId?: string; /** The name of the service this privilege is for. */ serviceName?: string; @@ -2926,17 +2929,17 @@ declare namespace gapi.client { etag?: string; /** A list of Privilege resources. */ items?: Privilege[]; - /** The type of the API resource. This is always `admin#directory#privileges`. */ + /** The type of the API resource. This is always \`admin#directory#privileges\`. */ kind?: string; } interface Role { /** ETag of the resource. */ etag?: string; - /** Returns `true` if the role is a super admin role. */ + /** Returns \`true\` if the role is a super admin role. */ isSuperAdminRole?: boolean; - /** Returns `true` if this is a pre-defined system role. */ + /** Returns \`true\` if this is a pre-defined system role. */ isSystemRole?: boolean; - /** The type of the API resource. This is always `admin#directory#role`. */ + /** The type of the API resource. This is always \`admin#directory#role\`. */ kind?: string; /** A short description of the role. */ roleDescription?: string; @@ -2948,19 +2951,19 @@ declare namespace gapi.client { rolePrivileges?: Array<{ /** The name of the privilege. */ privilegeName?: string; - /** The obfuscated ID of the service this privilege is for. This value is returned with [`Privileges.list()`](/admin-sdk/directory/v1/reference/privileges/list). */ + /** The obfuscated ID of the service this privilege is for. This value is returned with [\`Privileges.list()\`](/admin-sdk/directory/v1/reference/privileges/list). */ serviceId?: string; }>; } interface RoleAssignment { /** - * The unique ID of the entity this role is assigned to—either the `user_id` of a user or the `uniqueId` of a service account, as defined in [Identity and Access Management + * The unique ID of the entity this role is assigned to—either the \`user_id\` of a user or the \`uniqueId\` of a service account, as defined in [Identity and Access Management * (IAM)](https://cloud.google.com/iam/docs/reference/rest/v1/projects.serviceAccounts). */ assignedTo?: string; /** ETag of the resource. */ etag?: string; - /** The type of the API resource. This is always `admin#directory#roleAssignment`. */ + /** The type of the API resource. This is always \`admin#directory#roleAssignment\`. */ kind?: string; /** If the role is restricted to an organization unit, this contains the ID for the organization unit the exercise of this role is restricted to. */ orgUnitId?: string; @@ -2976,7 +2979,7 @@ declare namespace gapi.client { etag?: string; /** A list of RoleAssignment resources. */ items?: RoleAssignment[]; - /** The type of the API resource. This is always `admin#directory#roleAssignments`. */ + /** The type of the API resource. This is always \`admin#directory#roleAssignments\`. */ kind?: string; nextPageToken?: string; } @@ -2985,7 +2988,7 @@ declare namespace gapi.client { etag?: string; /** A list of Role resources. */ items?: Role[]; - /** The type of the API resource. This is always `admin#directory#roles`. */ + /** The type of the API resource. This is always \`admin#directory#roles\`. */ kind?: string; nextPageToken?: string; } @@ -3000,7 +3003,7 @@ declare namespace gapi.client { kind?: string; /** The unique identifier of the schema (Read-only) */ schemaId?: string; - /** The schema's name. Each `schema_name` must be unique within a customer. Reusing a name results in a `409: Entity already exists` error. */ + /** The schema's name. Each \`schema_name\` must be unique within a customer. Reusing a name results in a \`409: Entity already exists\` error. */ schemaName?: string; } interface SchemaFieldSpec { @@ -3014,13 +3017,13 @@ declare namespace gapi.client { fieldName?: string; /** The type of the field. */ fieldType?: string; - /** Boolean specifying whether the field is indexed or not. Default: `true`. */ + /** Boolean specifying whether the field is indexed or not. Default: \`true\`. */ indexed?: boolean; - /** The kind of resource this is. For schema fields this is always `admin#directory#schema#fieldspec`. */ + /** The kind of resource this is. For schema fields this is always \`admin#directory#schema#fieldspec\`. */ kind?: string; - /** A boolean specifying whether this is a multi-valued field or not. Default: `false`. */ + /** A boolean specifying whether this is a multi-valued field or not. Default: \`false\`. */ multiValued?: boolean; - /** Indexing spec for a numeric field. By default, only exact match queries will be supported for numeric fields. Setting the `numericIndexingSpec` allows range queries to be supported. */ + /** Indexing spec for a numeric field. By default, only exact match queries will be supported for numeric fields. Setting the \`numericIndexingSpec\` allows range queries to be supported. */ numericIndexingSpec?: { /** Maximum value of this field. This is meant to be indicative rather than enforced. Values outside this range will still be indexed, but search may not be as performant. */ maxValue?: number; @@ -3042,7 +3045,7 @@ declare namespace gapi.client { schemas?: Schema[]; } interface Token { - /** Whether the application is registered with Google. The value is `true` if the application has an anonymous Client ID. */ + /** Whether the application is registered with Google. The value is \`true\` if the application has an anonymous Client ID. */ anonymous?: boolean; /** The Client ID of the application the token is issued to. */ clientId?: string; @@ -3050,9 +3053,9 @@ declare namespace gapi.client { displayText?: string; /** ETag of the resource. */ etag?: string; - /** The type of the API resource. This is always `admin#directory#token`. */ + /** The type of the API resource. This is always \`admin#directory#token\`. */ kind?: string; - /** Whether the token is issued to an installed application. The value is `true` if the application is installed to a desktop or mobile device. */ + /** Whether the token is issued to an installed application. The value is \`true\` if the application is installed to a desktop or mobile device. */ nativeApp?: boolean; /** A list of authorization scopes the application is granted. */ scopes?: string[]; @@ -3064,13 +3067,13 @@ declare namespace gapi.client { etag?: string; /** A list of Token resources. */ items?: Token[]; - /** The type of the API resource. This is always `admin#directory#tokenList`. */ + /** The type of the API resource. This is always \`admin#directory#tokenList\`. */ kind?: string; } interface User { /** A list of the user's addresses. The maximum allowed data size for this field is 10Kb. */ addresses?: any; - /** Output only. This property is `true` if the user has completed an initial login and accepted the Terms of Service agreement. */ + /** Output only. This property is \`true\` if the user has completed an initial login and accepted the Terms of Service agreement. */ agreedToTerms?: boolean; /** Output only. A list of the user's alias email addresses. */ aliases?: string[]; @@ -3084,12 +3087,12 @@ declare namespace gapi.client { /** User's G Suite account creation time. (Read-only) */ creationTime?: string; /** - * Output only. The customer ID to [retrieve all account users](/admin-sdk/directory/v1/guides/manage-users.html#get_all_users). You can use the alias `my_customer` to represent your - * account's `customerId`. As a reseller administrator, you can use the resold customer account's `customerId`. To get a `customerId`, use the account's primary domain in the `domain` + * Output only. The customer ID to [retrieve all account users](/admin-sdk/directory/v1/guides/manage-users.html#get_all_users). You can use the alias \`my_customer\` to represent your + * account's \`customerId\`. As a reseller administrator, you can use the resold customer account's \`customerId\`. To get a \`customerId\`, use the account's primary domain in the \`domain\` * parameter of a [users.list](/admin-sdk/directory/v1/reference/users/list) request. */ customerId?: string; - /** Custom fields of the user. The key is a `schema_name` and its values are `'field_name': 'field_value'`. */ + /** Custom fields of the user. The key is a \`schema_name\` and its values are \`'field_name': 'field_value'\`. */ customSchemas?: { [P in string]: UserCustomProperties }; deletionTime?: string; /** A list of the user's email addresses. The maximum allowed data size for this field is 10Kb. */ @@ -3101,12 +3104,12 @@ declare namespace gapi.client { /** The user's gender. The maximum allowed data size for this field is 1Kb. */ gender?: any; /** - * Stores the hash format of the `password` property. The following `hashFunction` values are allowed: * `MD5` - Accepts simple hex-encoded values. * `SHA1` - Accepts simple - * hex-encoded values. * `crypt` - Compliant with the [C crypt library](https://en.wikipedia.org/wiki/Crypt_%28C%29). Supports the DES, MD5 (hash prefix `$1$`), SHA-256 (hash prefix - * `$5$`), and SHA-512 (hash prefix `$6$`) hash algorithms. If rounds are specified as part of the prefix, they must be 10,000 or fewer. + * Stores the hash format of the \`password\` property. The following \`hashFunction\` values are allowed: * \`MD5\` - Accepts simple hex-encoded values. * \`SHA1\` - Accepts simple + * hex-encoded values. * \`crypt\` - Compliant with the [C crypt library](https://en.wikipedia.org/wiki/Crypt_%28C%29). Supports the DES, MD5 (hash prefix \`$1$\`), SHA-256 (hash prefix + * \`$5$\`), and SHA-512 (hash prefix \`$6$\`) hash algorithms. If rounds are specified as part of the prefix, they must be 10,000 or fewer. */ hashFunction?: string; - /** The unique ID for the user. A user `id` can be used as a user request URI's `userKey`. */ + /** The unique ID for the user. A user \`id\` can be used as a user request URI's \`userKey\`. */ id?: string; /** * The user's Instant Messenger (IM) accounts. A user account can have multiple ims properties. But, only one of these ims properties can be the primary IM contact. The maximum allowed @@ -3118,10 +3121,10 @@ declare namespace gapi.client { * excluding user profiles, see the [administration help center](https://support.google.com/a/answer/1285988). */ includeInGlobalAddressList?: boolean; - /** If `true`, the user's IP address is [whitelisted](https://support.google.com/a/answer/60752). */ + /** If \`true\`, the user's IP address is [whitelisted](https://support.google.com/a/answer/60752). */ ipWhitelisted?: boolean; /** - * Output only. Indicates a user with super admininistrator privileges. The `isAdmin` property can only be edited in the [Make a user an + * Output only. Indicates a user with super admininistrator privileges. The \`isAdmin\` property can only be edited in the [Make a user an * administrator](/admin-sdk/directory/v1/guides/manage-users.html#make_admin) operation ( [makeAdmin](/admin-sdk/directory/v1/reference/users/makeAdmin.html) method). If edited in the * user [insert](/admin-sdk/directory/v1/reference/users/insert.html) or [update](/admin-sdk/directory/v1/reference/users/update.html) methods, the edit is ignored by the API service. */ @@ -3139,7 +3142,7 @@ declare namespace gapi.client { isMailboxSetup?: boolean; /** The user's keywords. The maximum allowed data size for this field is 1Kb. */ keywords?: any; - /** Output only. The type of the API resource. For Users resources, the value is `admin#directory#user`. */ + /** Output only. The type of the API resource. For Users resources, the value is \`admin#directory#user\`. */ kind?: string; /** The user's languages. The maximum allowed data size for this field is 1Kb. */ languages?: any; @@ -3148,7 +3151,7 @@ declare namespace gapi.client { /** The user's locations. The maximum allowed data size for this field is 10Kb. */ locations?: any; /** - * Holds the given and family names of the user, and the read-only `fullName` value. The maximum number of characters in the `givenName` and in the `familyName` values is 60. In + * Holds the given and family names of the user, and the read-only \`fullName\` value. The maximum number of characters in the \`givenName\` and in the \`familyName\` values is 60. In * addition, name values support unicode/UTF-8 characters, and can contain spaces, letters (a-z), numbers (0-9), dashes (-), forward slashes (/), and periods (.). For more information * about character usage rules, see the [administration help center](https://support.google.com/a/answer/9193374). Maximum allowed data size for this field is 1Kb. */ @@ -3159,7 +3162,7 @@ declare namespace gapi.client { notes?: any; /** A list of organizations the user belongs to. The maximum allowed data size for this field is 10Kb. */ organizations?: any; - /** The full path of the parent organization associated with the user. If the parent organization is the top-level, it is represented as a forward slash (`/`). */ + /** The full path of the parent organization associated with the user. If the parent organization is the top-level, it is represented as a forward slash (\`/\`). */ orgUnitPath?: string; /** User's password */ password?: string; @@ -3167,7 +3170,7 @@ declare namespace gapi.client { phones?: any; /** A list of [POSIX](https://www.opengroup.org/austin/papers/posix_faq.html) account information for the user. */ posixAccounts?: any; - /** The user's primary email address. This property is required in a request to create a user account. The `primaryEmail` must be unique and cannot be an alias of another user. */ + /** The user's primary email address. This property is required in a request to create a user account. The \`primaryEmail\` must be unique and cannot be an alias of another user. */ primaryEmail?: string; /** Recovery email of the user. */ recoveryEmail?: string; @@ -3180,8 +3183,8 @@ declare namespace gapi.client { /** Indicates if user is suspended. */ suspended?: boolean; /** - * Output only. Has the reason a user account is suspended either by the administrator or by Google at the time of suspension. The property is returned only if the `suspended` property - * is `true`. + * Output only. Has the reason a user account is suspended either by the administrator or by Google at the time of suspension. The property is returned only if the \`suspended\` property + * is \`true\`. */ suspensionReason?: string; /** Output only. ETag of the user's photo (Read-only) */ @@ -3295,16 +3298,16 @@ declare namespace gapi.client { value?: string; } interface UserLanguage { - /** Other language. User can provide their own language name if there is no corresponding ISO 639 language code. If this is set, `languageCode` can't be set. */ + /** Other language. User can provide their own language name if there is no corresponding ISO 639 language code. If this is set, \`languageCode\` can't be set. */ customLanguage?: string; /** * ISO 639 string representation of a language. See [Language Codes](/admin-sdk/directory/v1/languages) for the list of supported codes. Valid language codes outside the supported set - * will be accepted by the API but may lead to unexpected behavior. Illegal values cause `SchemaException`. If this is set, `customLanguage` can't be set. + * will be accepted by the API but may lead to unexpected behavior. Illegal values cause \`SchemaException\`. If this is set, \`customLanguage\` can't be set. */ languageCode?: string; /** - * Optional. If present, controls whether the specified `languageCode` is the user's preferred language. If `customLanguage` is set, this can't be set. Allowed values are `preferred` - * and `not_preferred`. + * Optional. If present, controls whether the specified \`languageCode\` is the user's preferred language. If \`customLanguage\` is set, this can't be set. Allowed values are \`preferred\` + * and \`not_preferred\`. */ preference?: string; } @@ -3388,9 +3391,9 @@ declare namespace gapi.client { height?: number; /** The ID the API uses to uniquely identify the user. */ id?: string; - /** The type of the API resource. For Photo resources, this is `admin#directory#user#photo`. */ + /** The type of the API resource. For Photo resources, this is \`admin#directory#user#photo\`. */ kind?: string; - /** The MIME type of the photo. Allowed values are `JPEG`, `PNG`, `GIF`, `BMP`, `TIFF`, and web-safe base64 encoding. */ + /** The MIME type of the photo. Allowed values are \`JPEG\`, \`PNG\`, \`GIF\`, \`BMP\`, \`TIFF\`, and web-safe base64 encoding. */ mimeType?: string; /** * The user photo's upload data in [web-safe Base64](https://en.wikipedia.org/wiki/Base64#URL_applications) format in bytes. This means: * The slash (/) character is replaced with the @@ -3474,7 +3477,7 @@ declare namespace gapi.client { interface VerificationCode { /** ETag of the resource. */ etag?: string; - /** The type of the resource. This is always `admin#directory#verificationCode`. */ + /** The type of the resource. This is always \`admin#directory#verificationCode\`. */ kind?: string; /** The obfuscated unique ID of the user. */ userId?: string; @@ -3486,14 +3489,14 @@ declare namespace gapi.client { etag?: string; /** A list of verification code resources. */ items?: VerificationCode[]; - /** The type of the resource. This is always `admin#directory#verificationCodesList`. */ + /** The type of the resource. This is always \`admin#directory#verificationCodesList\`. */ kind?: string; } interface AspsResource { /** Deletes an ASP issued by a user. */ delete(request?: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -3512,9 +3515,9 @@ declare namespace gapi.client { prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; /** Identifies the user in the API request. The value can be the user's primary email address, alias email address, or unique user ID. */ userKey: string; @@ -3522,7 +3525,7 @@ declare namespace gapi.client { /** Gets information about an ASP issued by a user. */ get(request?: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -3541,9 +3544,9 @@ declare namespace gapi.client { prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; /** Identifies the user in the API request. The value can be the user's primary email address, alias email address, or unique user ID. */ userKey: string; @@ -3551,7 +3554,7 @@ declare namespace gapi.client { /** Lists the ASPs issued by a user. */ list(request?: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -3568,9 +3571,9 @@ declare namespace gapi.client { prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; /** Identifies the user in the API request. The value can be the user's primary email address, alias email address, or unique user ID. */ userKey: string; @@ -3585,7 +3588,7 @@ declare namespace gapi.client { */ action(request: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -3593,8 +3596,8 @@ declare namespace gapi.client { /** JSONP */ callback?: string; /** - * The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the `my_customer` alias to represent your account's `customerId`. The - * `customerId` is also returned as part of the [Users resource](/admin-sdk/directory/v1/reference/users). + * The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the \`my_customer\` alias to represent your account's \`customerId\`. The + * \`customerId\` is also returned as part of the [Users resource](/admin-sdk/directory/v1/reference/users). */ customerId: string; /** Selector specifying which fields to include in a partial response. */ @@ -3607,18 +3610,18 @@ declare namespace gapi.client { prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; - /** The unique ID of the device. The `resourceId`s are returned in the response from the [chromeosdevices.list](/admin-sdk/directory/v1/reference/chromeosdevices/list) method. */ + /** The unique ID of the device. The \`resourceId\`s are returned in the response from the [chromeosdevices.list](/admin-sdk/directory/v1/reference/chromeosdevices/list) method. */ resourceId: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; /** Request body */ resource: ChromeOsDeviceAction; }): Request; action(request: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -3626,8 +3629,8 @@ declare namespace gapi.client { /** JSONP */ callback?: string; /** - * The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the `my_customer` alias to represent your account's `customerId`. The - * `customerId` is also returned as part of the [Users resource](/admin-sdk/directory/v1/reference/users). + * The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the \`my_customer\` alias to represent your account's \`customerId\`. The + * \`customerId\` is also returned as part of the [Users resource](/admin-sdk/directory/v1/reference/users). */ customerId: string; /** Selector specifying which fields to include in a partial response. */ @@ -3640,18 +3643,18 @@ declare namespace gapi.client { prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; - /** The unique ID of the device. The `resourceId`s are returned in the response from the [chromeosdevices.list](/admin-sdk/directory/v1/reference/chromeosdevices/list) method. */ + /** The unique ID of the device. The \`resourceId\`s are returned in the response from the [chromeosdevices.list](/admin-sdk/directory/v1/reference/chromeosdevices/list) method. */ resourceId: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; }, body: ChromeOsDeviceAction): Request; /** Retrieves a Chrome OS device's properties. */ get(request?: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -3659,11 +3662,11 @@ declare namespace gapi.client { /** JSONP */ callback?: string; /** - * The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the `my_customer` alias to represent your account's `customerId`. The - * `customerId` is also returned as part of the [Users resource](/admin-sdk/directory/v1/reference/users). + * The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the \`my_customer\` alias to represent your account's \`customerId\`. The + * \`customerId\` is also returned as part of the [Users resource](/admin-sdk/directory/v1/reference/users). */ customerId: string; - /** The unique ID of the device. The `deviceId`s are returned in the response from the [chromeosdevices.list](/admin-sdk/directory/v1/reference/chromeosdevices/list) method. */ + /** The unique ID of the device. The \`deviceId\`s are returned in the response from the [chromeosdevices.list](/admin-sdk/directory/v1/reference/chromeosdevices/list) method. */ deviceId: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; @@ -3677,15 +3680,15 @@ declare namespace gapi.client { projection?: string; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; }): Request; /** Retrieves a paginated list of Chrome OS devices within an account. */ list(request?: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -3693,8 +3696,8 @@ declare namespace gapi.client { /** JSONP */ callback?: string; /** - * The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the `my_customer` alias to represent your account's `customerId`. The - * `customerId` is also returned as part of the [Users resource](/admin-sdk/directory/v1/reference/users). + * The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the \`my_customer\` alias to represent your account's \`customerId\`. The + * \`customerId\` is also returned as part of the [Users resource](/admin-sdk/directory/v1/reference/users). */ customerId: string; /** Selector specifying which fields to include in a partial response. */ @@ -3709,10 +3712,10 @@ declare namespace gapi.client { oauth_token?: string; /** Device property to use for sorting results. */ orderBy?: string; - /** The full path of the organizational unit (minus the leading `/`) or its unique ID. */ + /** The full path of the organizational unit (minus the leading \`/\`) or its unique ID. */ orgUnitPath?: string; /** - * The `pageToken` query parameter is used to request the next page of query results. The follow-on request's `pageToken` query parameter is the `nextPageToken` from your previous + * The \`pageToken\` query parameter is used to request the next page of query results. The follow-on request's \`pageToken\` query parameter is the \`nextPageToken\` from your previous * response. */ pageToken?: string; @@ -3724,17 +3727,17 @@ declare namespace gapi.client { query?: string; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; - /** Whether to return results in ascending or descending order. Must be used with the `orderBy` parameter. */ + /** Whether to return results in ascending or descending order. Must be used with the \`orderBy\` parameter. */ sortOrder?: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; }): Request; /** Moves or inserts multiple Chrome OS devices to an organizational unit. You can move up to 50 devices at once. */ moveDevicesToOu(request: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -3755,16 +3758,16 @@ declare namespace gapi.client { prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; /** Request body */ resource: ChromeOsMoveDevicesToOu; }): Request; moveDevicesToOu(request: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -3785,19 +3788,19 @@ declare namespace gapi.client { prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; }, body: ChromeOsMoveDevicesToOu): Request; /** - * Updates a device's updatable properties, such as `annotatedUser`, `annotatedLocation`, `notes`, `orgUnitPath`, or `annotatedAssetId`. This method supports [patch + * Updates a device's updatable properties, such as \`annotatedUser\`, \`annotatedLocation\`, \`notes\`, \`orgUnitPath\`, or \`annotatedAssetId\`. This method supports [patch * semantics](/admin-sdk/directory/v1/guides/performance#patch). */ patch(request: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -3805,11 +3808,11 @@ declare namespace gapi.client { /** JSONP */ callback?: string; /** - * The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the `my_customer` alias to represent your account's `customerId`. The - * `customerId` is also returned as part of the [Users resource](/admin-sdk/directory/v1/reference/users). + * The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the \`my_customer\` alias to represent your account's \`customerId\`. The + * \`customerId\` is also returned as part of the [Users resource](/admin-sdk/directory/v1/reference/users). */ customerId: string; - /** The unique ID of the device. The `deviceId`s are returned in the response from the [chromeosdevices.list](/admin-sdk/v1/reference/chromeosdevices/list) method. */ + /** The unique ID of the device. The \`deviceId\`s are returned in the response from the [chromeosdevices.list](/admin-sdk/v1/reference/chromeosdevices/list) method. */ deviceId: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; @@ -3823,16 +3826,16 @@ declare namespace gapi.client { projection?: string; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; /** Request body */ resource: ChromeOsDevice; }): Request; patch(request: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -3840,11 +3843,11 @@ declare namespace gapi.client { /** JSONP */ callback?: string; /** - * The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the `my_customer` alias to represent your account's `customerId`. The - * `customerId` is also returned as part of the [Users resource](/admin-sdk/directory/v1/reference/users). + * The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the \`my_customer\` alias to represent your account's \`customerId\`. The + * \`customerId\` is also returned as part of the [Users resource](/admin-sdk/directory/v1/reference/users). */ customerId: string; - /** The unique ID of the device. The `deviceId`s are returned in the response from the [chromeosdevices.list](/admin-sdk/v1/reference/chromeosdevices/list) method. */ + /** The unique ID of the device. The \`deviceId\`s are returned in the response from the [chromeosdevices.list](/admin-sdk/v1/reference/chromeosdevices/list) method. */ deviceId: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; @@ -3858,16 +3861,16 @@ declare namespace gapi.client { projection?: string; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; }, body: ChromeOsDevice): Request; - /** Updates a device's updatable properties, such as `annotatedUser`, `annotatedLocation`, `notes`, `orgUnitPath`, or `annotatedAssetId`. */ + /** Updates a device's updatable properties, such as \`annotatedUser\`, \`annotatedLocation\`, \`notes\`, \`orgUnitPath\`, or \`annotatedAssetId\`. */ update(request: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -3875,11 +3878,11 @@ declare namespace gapi.client { /** JSONP */ callback?: string; /** - * The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the `my_customer` alias to represent your account's `customerId`. The - * `customerId` is also returned as part of the [Users resource](/admin-sdk/directory/v1/reference/users). + * The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the \`my_customer\` alias to represent your account's \`customerId\`. The + * \`customerId\` is also returned as part of the [Users resource](/admin-sdk/directory/v1/reference/users). */ customerId: string; - /** The unique ID of the device. The `deviceId`s are returned in the response from the [chromeosdevices.list](/admin-sdk/v1/reference/chromeosdevices/list) method. */ + /** The unique ID of the device. The \`deviceId\`s are returned in the response from the [chromeosdevices.list](/admin-sdk/v1/reference/chromeosdevices/list) method. */ deviceId: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; @@ -3893,16 +3896,16 @@ declare namespace gapi.client { projection?: string; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; /** Request body */ resource: ChromeOsDevice; }): Request; update(request: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -3910,11 +3913,11 @@ declare namespace gapi.client { /** JSONP */ callback?: string; /** - * The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the `my_customer` alias to represent your account's `customerId`. The - * `customerId` is also returned as part of the [Users resource](/admin-sdk/directory/v1/reference/users). + * The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the \`my_customer\` alias to represent your account's \`customerId\`. The + * \`customerId\` is also returned as part of the [Users resource](/admin-sdk/directory/v1/reference/users). */ customerId: string; - /** The unique ID of the device. The `deviceId`s are returned in the response from the [chromeosdevices.list](/admin-sdk/v1/reference/chromeosdevices/list) method. */ + /** The unique ID of the device. The \`deviceId\`s are returned in the response from the [chromeosdevices.list](/admin-sdk/v1/reference/chromeosdevices/list) method. */ deviceId: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; @@ -3928,9 +3931,9 @@ declare namespace gapi.client { projection?: string; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; }, body: ChromeOsDevice): Request; @@ -3939,7 +3942,7 @@ declare namespace gapi.client { /** Retrieves a customer. */ get(request?: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -3958,15 +3961,15 @@ declare namespace gapi.client { prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; }): Request; /** Patches a customer. */ patch(request: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -3985,16 +3988,16 @@ declare namespace gapi.client { prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; /** Request body */ resource: Customer; }): Request; patch(request: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -4013,16 +4016,16 @@ declare namespace gapi.client { prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; }, body: Customer): Request; /** Updates a customer. */ update(request: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -4041,16 +4044,16 @@ declare namespace gapi.client { prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; /** Request body */ resource: Customer; }): Request; update(request: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -4069,9 +4072,9 @@ declare namespace gapi.client { prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; }, body: Customer): Request; @@ -4080,7 +4083,7 @@ declare namespace gapi.client { /** Deletes a domain Alias of the customer. */ delete(request?: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -4101,15 +4104,15 @@ declare namespace gapi.client { prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; }): Request; /** Retrieves a domain alias of the customer. */ get(request?: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -4130,15 +4133,15 @@ declare namespace gapi.client { prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; }): Request; /** Inserts a domain alias of the customer. */ insert(request: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -4157,16 +4160,16 @@ declare namespace gapi.client { prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; /** Request body */ resource: DomainAlias; }): Request; insert(request: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -4185,16 +4188,16 @@ declare namespace gapi.client { prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; }, body: DomainAlias): Request; /** Lists the domain aliases of the customer. */ list(request?: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -4215,9 +4218,9 @@ declare namespace gapi.client { prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; }): Request; } @@ -4225,7 +4228,7 @@ declare namespace gapi.client { /** Deletes a domain of the customer. */ delete(request?: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -4246,15 +4249,15 @@ declare namespace gapi.client { prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; }): Request; /** Retrieves a domain of the customer. */ get(request?: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -4275,15 +4278,15 @@ declare namespace gapi.client { prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; }): Request; /** Inserts a domain of the customer. */ insert(request: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -4302,16 +4305,16 @@ declare namespace gapi.client { prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; /** Request body */ resource: Domains; }): Request; insert(request: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -4330,16 +4333,16 @@ declare namespace gapi.client { prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; }, body: Domains): Request; /** Lists the domains of the customer. */ list(request?: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -4358,9 +4361,9 @@ declare namespace gapi.client { prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; }): Request; } @@ -4368,7 +4371,7 @@ declare namespace gapi.client { /** Removes an alias. */ delete(request?: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** The alias to be removed */ @@ -4389,15 +4392,15 @@ declare namespace gapi.client { prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; }): Request; /** Adds an alias for the group. */ insert(request: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -4416,16 +4419,16 @@ declare namespace gapi.client { prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; /** Request body */ resource: Alias; }): Request; insert(request: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -4444,16 +4447,16 @@ declare namespace gapi.client { prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; }, body: Alias): Request; /** Lists all aliases for a group. */ list(request?: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -4472,9 +4475,9 @@ declare namespace gapi.client { prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; }): Request; } @@ -4482,7 +4485,7 @@ declare namespace gapi.client { /** Deletes a group. */ delete(request?: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -4501,15 +4504,15 @@ declare namespace gapi.client { prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; }): Request; /** Retrieves a group's properties. */ get(request?: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -4528,15 +4531,15 @@ declare namespace gapi.client { prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; }): Request; /** Creates a group. */ insert(request: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -4553,16 +4556,16 @@ declare namespace gapi.client { prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; /** Request body */ resource: Group; }): Request; insert(request: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -4579,16 +4582,16 @@ declare namespace gapi.client { prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; }, body: Group): Request; /** Retrieves all groups of a domain or of a user given a userKey (paginated). */ list(request?: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -4596,12 +4599,12 @@ declare namespace gapi.client { /** JSONP */ callback?: string; /** - * The unique ID for the customer's Google Workspace account. In case of a multi-domain account, to fetch all groups for a customer, fill in this field instead of `domain`. You can - * also use the `my_customer` alias to represent your account's `customerId`. The `customerId` is also returned as part of the [Users](/admin-sdk/directory/v1/reference/users) - * resource. Either the `customer` or the `domain` parameter must be provided. + * The unique ID for the customer's Google Workspace account. In case of a multi-domain account, to fetch all groups for a customer, fill in this field instead of \`domain\`. You can + * also use the \`my_customer\` alias to represent your account's \`customerId\`. The \`customerId\` is also returned as part of the [Users](/admin-sdk/directory/v1/reference/users) + * resource. Either the \`customer\` or the \`domain\` parameter must be provided. */ customer?: string; - /** The domain name. Use this field to get groups from only one domain. To return all domains for a customer account, use the `customer` query parameter instead. */ + /** The domain name. Use this field to get groups from only one domain. To return all domains for a customer account, use the \`customer\` query parameter instead. */ domain?: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; @@ -4617,15 +4620,15 @@ declare namespace gapi.client { pageToken?: string; /** Returns response with indentations and line breaks. */ prettyPrint?: boolean; - /** Query string search. Should be of the form "". Complete documentation is at https: //developers.google.com/admin-sdk/directory/v1/guides/search-groups */ + /** Query string search. Should be of the form \\"\\". Complete documentation is at https: //developers.google.com/admin-sdk/directory/v1/guides/search-groups */ query?: string; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; /** Whether to return results in ascending or descending order. Only of use when orderBy is also used */ sortOrder?: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; /** Email or immutable ID of the user if only those groups are to be listed, the given user is a member of. If it's an ID, it should match with the ID of the user object. */ userKey?: string; @@ -4633,7 +4636,7 @@ declare namespace gapi.client { /** Updates a group's properties. This method supports [patch semantics](/admin-sdk/directory/v1/guides/performance#patch). */ patch(request: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -4652,16 +4655,16 @@ declare namespace gapi.client { prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; /** Request body */ resource: Group; }): Request; patch(request: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -4680,16 +4683,16 @@ declare namespace gapi.client { prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; }, body: Group): Request; /** Updates a group's properties. */ update(request: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -4708,16 +4711,16 @@ declare namespace gapi.client { prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; /** Request body */ resource: Group; }): Request; update(request: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -4736,9 +4739,9 @@ declare namespace gapi.client { prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; }, body: Group): Request; @@ -4748,7 +4751,7 @@ declare namespace gapi.client { /** Removes a member from a group. */ delete(request?: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -4772,15 +4775,15 @@ declare namespace gapi.client { prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; }): Request; /** Retrieves a group member's properties. */ get(request?: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -4804,15 +4807,15 @@ declare namespace gapi.client { prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; }): Request; /** Checks whether the given user is a member of the group. Membership can be direct or nested. */ hasMember(request?: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -4833,15 +4836,15 @@ declare namespace gapi.client { prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; }): Request; /** Adds a user to the specified group. */ insert(request: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -4860,16 +4863,16 @@ declare namespace gapi.client { prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; /** Request body */ resource: Member; }): Request; insert(request: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -4888,16 +4891,16 @@ declare namespace gapi.client { prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; }, body: Member): Request; /** Retrieves a paginated list of all members in a group. */ list(request?: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -4922,17 +4925,17 @@ declare namespace gapi.client { prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; - /** The `roles` query parameter allows you to retrieve group members by role. Allowed values are `OWNER`, `MANAGER`, and `MEMBER`. */ + /** The \`roles\` query parameter allows you to retrieve group members by role. Allowed values are \`OWNER\`, \`MANAGER\`, and \`MEMBER\`. */ roles?: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; }): Request; /** Updates the membership properties of a user in the specified group. This method supports [patch semantics](/admin-sdk/directory/v1/guides/performance#patch). */ patch(request: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -4956,16 +4959,16 @@ declare namespace gapi.client { prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; /** Request body */ resource: Member; }): Request; patch(request: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -4989,16 +4992,16 @@ declare namespace gapi.client { prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; }, body: Member): Request; /** Updates the membership of a user in the specified group. */ update(request: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -5022,16 +5025,16 @@ declare namespace gapi.client { prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; /** Request body */ resource: Member; }): Request; update(request: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -5055,9 +5058,9 @@ declare namespace gapi.client { prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; }, body: Member): Request; @@ -5066,7 +5069,7 @@ declare namespace gapi.client { /** Takes an action that affects a mobile device. For example, remotely wiping a device. */ action(request: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -5074,8 +5077,8 @@ declare namespace gapi.client { /** JSONP */ callback?: string; /** - * The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the `my_customer` alias to represent your account's `customerId`. The - * `customerId` is also returned as part of the [Users resource](/admin-sdk/directory/v1/reference/users). + * The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the \`my_customer\` alias to represent your account's \`customerId\`. The + * \`customerId\` is also returned as part of the [Users resource](/admin-sdk/directory/v1/reference/users). */ customerId: string; /** Selector specifying which fields to include in a partial response. */ @@ -5090,16 +5093,16 @@ declare namespace gapi.client { quotaUser?: string; /** The unique ID the API service uses to identify the mobile device. */ resourceId: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; /** Request body */ resource: MobileDeviceAction; }): Request; action(request: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -5107,8 +5110,8 @@ declare namespace gapi.client { /** JSONP */ callback?: string; /** - * The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the `my_customer` alias to represent your account's `customerId`. The - * `customerId` is also returned as part of the [Users resource](/admin-sdk/directory/v1/reference/users). + * The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the \`my_customer\` alias to represent your account's \`customerId\`. The + * \`customerId\` is also returned as part of the [Users resource](/admin-sdk/directory/v1/reference/users). */ customerId: string; /** Selector specifying which fields to include in a partial response. */ @@ -5123,16 +5126,16 @@ declare namespace gapi.client { quotaUser?: string; /** The unique ID the API service uses to identify the mobile device. */ resourceId: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; }, body: MobileDeviceAction): Request; /** Removes a mobile device. */ delete(request?: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -5140,8 +5143,8 @@ declare namespace gapi.client { /** JSONP */ callback?: string; /** - * The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the `my_customer` alias to represent your account's `customerId`. The - * `customerId` is also returned as part of the [Users resource](/admin-sdk/directory/v1/reference/users). + * The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the \`my_customer\` alias to represent your account's \`customerId\`. The + * \`customerId\` is also returned as part of the [Users resource](/admin-sdk/directory/v1/reference/users). */ customerId: string; /** Selector specifying which fields to include in a partial response. */ @@ -5156,15 +5159,15 @@ declare namespace gapi.client { quotaUser?: string; /** The unique ID the API service uses to identify the mobile device. */ resourceId: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; }): Request; /** Retrieves a mobile device's properties. */ get(request?: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -5172,8 +5175,8 @@ declare namespace gapi.client { /** JSONP */ callback?: string; /** - * The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the `my_customer` alias to represent your account's `customerId`. The - * `customerId` is also returned as part of the [Users resource](/admin-sdk/directory/v1/reference/users). + * The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the \`my_customer\` alias to represent your account's \`customerId\`. The + * \`customerId\` is also returned as part of the [Users resource](/admin-sdk/directory/v1/reference/users). */ customerId: string; /** Selector specifying which fields to include in a partial response. */ @@ -5190,9 +5193,9 @@ declare namespace gapi.client { quotaUser?: string; /** The unique ID the API service uses to identify the mobile device. */ resourceId: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; }): Request; /** @@ -5201,7 +5204,7 @@ declare namespace gapi.client { */ list(request?: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -5209,8 +5212,8 @@ declare namespace gapi.client { /** JSONP */ callback?: string; /** - * The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the `my_customer` alias to represent your account's `customerId`. The - * `customerId` is also returned as part of the [Users resource](/admin-sdk/directory/v1/reference/users). + * The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the \`my_customer\` alias to represent your account's \`customerId\`. The + * \`customerId\` is also returned as part of the [Users resource](/admin-sdk/directory/v1/reference/users). */ customerId: string; /** Selector specifying which fields to include in a partial response. */ @@ -5233,11 +5236,11 @@ declare namespace gapi.client { query?: string; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; - /** Whether to return results in ascending or descending order. Must be used with the `orderBy` parameter. */ + /** Whether to return results in ascending or descending order. Must be used with the \`orderBy\` parameter. */ sortOrder?: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; }): Request; } @@ -5245,7 +5248,7 @@ declare namespace gapi.client { /** Removes an organizational unit. */ delete(request?: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -5253,8 +5256,8 @@ declare namespace gapi.client { /** JSONP */ callback?: string; /** - * The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the `my_customer` alias to represent your account's `customerId`. The - * `customerId` is also returned as part of the [Users resource](/admin-sdk/directory/v1/reference/users). + * The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the \`my_customer\` alias to represent your account's \`customerId\`. The + * \`customerId\` is also returned as part of the [Users resource](/admin-sdk/directory/v1/reference/users). */ customerId: string; /** Selector specifying which fields to include in a partial response. */ @@ -5263,21 +5266,21 @@ declare namespace gapi.client { key?: string; /** OAuth 2.0 token for the current user. */ oauth_token?: string; - /** The full path of the organizational unit (minus the leading `/`) or its unique ID. */ + /** The full path of the organizational unit (minus the leading \`/\`) or its unique ID. */ orgUnitPath: string; /** Returns response with indentations and line breaks. */ prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; }): Request; /** Retrieves an organizational unit. */ get(request?: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -5285,8 +5288,8 @@ declare namespace gapi.client { /** JSONP */ callback?: string; /** - * The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the `my_customer` alias to represent your account's `customerId`. The - * `customerId` is also returned as part of the [Users resource](/admin-sdk/directory/v1/reference/users). + * The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the \`my_customer\` alias to represent your account's \`customerId\`. The + * \`customerId\` is also returned as part of the [Users resource](/admin-sdk/directory/v1/reference/users). */ customerId: string; /** Selector specifying which fields to include in a partial response. */ @@ -5295,21 +5298,21 @@ declare namespace gapi.client { key?: string; /** OAuth 2.0 token for the current user. */ oauth_token?: string; - /** The full path of the organizational unit (minus the leading `/`) or its unique ID. */ + /** The full path of the organizational unit (minus the leading \`/\`) or its unique ID. */ orgUnitPath: string; /** Returns response with indentations and line breaks. */ prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; }): Request; /** Adds an organizational unit. */ insert(request: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -5317,8 +5320,8 @@ declare namespace gapi.client { /** JSONP */ callback?: string; /** - * The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the `my_customer` alias to represent your account's `customerId`. The - * `customerId` is also returned as part of the [Users resource](/admin-sdk/directory/v1/reference/users). + * The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the \`my_customer\` alias to represent your account's \`customerId\`. The + * \`customerId\` is also returned as part of the [Users resource](/admin-sdk/directory/v1/reference/users). */ customerId: string; /** Selector specifying which fields to include in a partial response. */ @@ -5331,16 +5334,16 @@ declare namespace gapi.client { prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; /** Request body */ resource: OrgUnit; }): Request; insert(request: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -5348,8 +5351,8 @@ declare namespace gapi.client { /** JSONP */ callback?: string; /** - * The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the `my_customer` alias to represent your account's `customerId`. The - * `customerId` is also returned as part of the [Users resource](/admin-sdk/directory/v1/reference/users). + * The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the \`my_customer\` alias to represent your account's \`customerId\`. The + * \`customerId\` is also returned as part of the [Users resource](/admin-sdk/directory/v1/reference/users). */ customerId: string; /** Selector specifying which fields to include in a partial response. */ @@ -5362,16 +5365,16 @@ declare namespace gapi.client { prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; }, body: OrgUnit): Request; /** Retrieves a list of all organizational units for an account. */ list(request?: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -5379,8 +5382,8 @@ declare namespace gapi.client { /** JSONP */ callback?: string; /** - * The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the `my_customer` alias to represent your account's `customerId`. The - * `customerId` is also returned as part of the [Users resource](/admin-sdk/directory/v1/reference/users). + * The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the \`my_customer\` alias to represent your account's \`customerId\`. The + * \`customerId\` is also returned as part of the [Users resource](/admin-sdk/directory/v1/reference/users). */ customerId: string; /** Selector specifying which fields to include in a partial response. */ @@ -5397,15 +5400,15 @@ declare namespace gapi.client { quotaUser?: string; /** Whether to return all sub-organizations or just immediate children. */ type?: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; }): Request; /** Updates an organizational unit. This method supports [patch semantics](/admin-sdk/directory/v1/guides/performance#patch) */ patch(request: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -5413,8 +5416,8 @@ declare namespace gapi.client { /** JSONP */ callback?: string; /** - * The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the `my_customer` alias to represent your account's `customerId`. The - * `customerId` is also returned as part of the [Users resource](/admin-sdk/directory/v1/reference/users). + * The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the \`my_customer\` alias to represent your account's \`customerId\`. The + * \`customerId\` is also returned as part of the [Users resource](/admin-sdk/directory/v1/reference/users). */ customerId: string; /** Selector specifying which fields to include in a partial response. */ @@ -5423,22 +5426,22 @@ declare namespace gapi.client { key?: string; /** OAuth 2.0 token for the current user. */ oauth_token?: string; - /** The full path of the organizational unit (minus the leading `/`) or its unique ID. */ + /** The full path of the organizational unit (minus the leading \`/\`) or its unique ID. */ orgUnitPath: string; /** Returns response with indentations and line breaks. */ prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; /** Request body */ resource: OrgUnit; }): Request; patch(request: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -5446,8 +5449,8 @@ declare namespace gapi.client { /** JSONP */ callback?: string; /** - * The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the `my_customer` alias to represent your account's `customerId`. The - * `customerId` is also returned as part of the [Users resource](/admin-sdk/directory/v1/reference/users). + * The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the \`my_customer\` alias to represent your account's \`customerId\`. The + * \`customerId\` is also returned as part of the [Users resource](/admin-sdk/directory/v1/reference/users). */ customerId: string; /** Selector specifying which fields to include in a partial response. */ @@ -5456,22 +5459,22 @@ declare namespace gapi.client { key?: string; /** OAuth 2.0 token for the current user. */ oauth_token?: string; - /** The full path of the organizational unit (minus the leading `/`) or its unique ID. */ + /** The full path of the organizational unit (minus the leading \`/\`) or its unique ID. */ orgUnitPath: string; /** Returns response with indentations and line breaks. */ prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; }, body: OrgUnit): Request; /** Updates an organizational unit. */ update(request: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -5479,8 +5482,8 @@ declare namespace gapi.client { /** JSONP */ callback?: string; /** - * The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the `my_customer` alias to represent your account's `customerId`. The - * `customerId` is also returned as part of the [Users resource](/admin-sdk/directory/v1/reference/users). + * The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the \`my_customer\` alias to represent your account's \`customerId\`. The + * \`customerId\` is also returned as part of the [Users resource](/admin-sdk/directory/v1/reference/users). */ customerId: string; /** Selector specifying which fields to include in a partial response. */ @@ -5489,22 +5492,22 @@ declare namespace gapi.client { key?: string; /** OAuth 2.0 token for the current user. */ oauth_token?: string; - /** The full path of the organizational unit (minus the leading `/`) or its unique ID. */ + /** The full path of the organizational unit (minus the leading \`/\`) or its unique ID. */ orgUnitPath: string; /** Returns response with indentations and line breaks. */ prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; /** Request body */ resource: OrgUnit; }): Request; update(request: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -5512,8 +5515,8 @@ declare namespace gapi.client { /** JSONP */ callback?: string; /** - * The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the `my_customer` alias to represent your account's `customerId`. The - * `customerId` is also returned as part of the [Users resource](/admin-sdk/directory/v1/reference/users). + * The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the \`my_customer\` alias to represent your account's \`customerId\`. The + * \`customerId\` is also returned as part of the [Users resource](/admin-sdk/directory/v1/reference/users). */ customerId: string; /** Selector specifying which fields to include in a partial response. */ @@ -5522,15 +5525,15 @@ declare namespace gapi.client { key?: string; /** OAuth 2.0 token for the current user. */ oauth_token?: string; - /** The full path of the organizational unit (minus the leading `/`) or its unique ID. */ + /** The full path of the organizational unit (minus the leading \`/\`) or its unique ID. */ orgUnitPath: string; /** Returns response with indentations and line breaks. */ prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; }, body: OrgUnit): Request; @@ -5539,7 +5542,7 @@ declare namespace gapi.client { /** Retrieves a paginated list of all privileges for a customer. */ list(request?: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -5558,9 +5561,9 @@ declare namespace gapi.client { prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; }): Request; } @@ -5568,7 +5571,7 @@ declare namespace gapi.client { /** Deletes a building. */ delete(request?: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -5577,7 +5580,7 @@ declare namespace gapi.client { buildingId: string; /** JSONP */ callback?: string; - /** The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the `my_customer` alias to represent your account's customer ID. */ + /** The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the \`my_customer\` alias to represent your account's customer ID. */ customer: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; @@ -5589,15 +5592,15 @@ declare namespace gapi.client { prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; }): Request; /** Retrieves a building. */ get(request?: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -5606,7 +5609,7 @@ declare namespace gapi.client { buildingId: string; /** JSONP */ callback?: string; - /** The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the `my_customer` alias to represent your account's customer ID. */ + /** The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the \`my_customer\` alias to represent your account's customer ID. */ customer: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; @@ -5618,15 +5621,15 @@ declare namespace gapi.client { prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; }): Request; /** Inserts a building. */ insert(request: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -5635,7 +5638,7 @@ declare namespace gapi.client { callback?: string; /** Source from which Building.coordinates are derived. */ coordinatesSource?: string; - /** The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the `my_customer` alias to represent your account's customer ID. */ + /** The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the \`my_customer\` alias to represent your account's customer ID. */ customer: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; @@ -5647,16 +5650,16 @@ declare namespace gapi.client { prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; /** Request body */ resource: Building; }): Request; insert(request: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -5665,7 +5668,7 @@ declare namespace gapi.client { callback?: string; /** Source from which Building.coordinates are derived. */ coordinatesSource?: string; - /** The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the `my_customer` alias to represent your account's customer ID. */ + /** The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the \`my_customer\` alias to represent your account's customer ID. */ customer: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; @@ -5677,23 +5680,23 @@ declare namespace gapi.client { prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; }, body: Building): Request; /** Retrieves a list of buildings for an account. */ list(request?: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: string; /** JSONP */ callback?: string; - /** The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the `my_customer` alias to represent your account's customer ID. */ + /** The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the \`my_customer\` alias to represent your account's customer ID. */ customer: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; @@ -5709,15 +5712,15 @@ declare namespace gapi.client { prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; }): Request; /** Patches a building. */ patch(request: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -5728,7 +5731,7 @@ declare namespace gapi.client { callback?: string; /** Source from which Building.coordinates are derived. */ coordinatesSource?: string; - /** The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the `my_customer` alias to represent your account's customer ID. */ + /** The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the \`my_customer\` alias to represent your account's customer ID. */ customer: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; @@ -5740,16 +5743,16 @@ declare namespace gapi.client { prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; /** Request body */ resource: Building; }): Request; patch(request: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -5760,7 +5763,7 @@ declare namespace gapi.client { callback?: string; /** Source from which Building.coordinates are derived. */ coordinatesSource?: string; - /** The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the `my_customer` alias to represent your account's customer ID. */ + /** The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the \`my_customer\` alias to represent your account's customer ID. */ customer: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; @@ -5772,16 +5775,16 @@ declare namespace gapi.client { prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; }, body: Building): Request; /** Updates a building. */ update(request: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -5792,7 +5795,7 @@ declare namespace gapi.client { callback?: string; /** Source from which Building.coordinates are derived. */ coordinatesSource?: string; - /** The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the `my_customer` alias to represent your account's customer ID. */ + /** The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the \`my_customer\` alias to represent your account's customer ID. */ customer: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; @@ -5804,16 +5807,16 @@ declare namespace gapi.client { prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; /** Request body */ resource: Building; }): Request; update(request: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -5824,7 +5827,7 @@ declare namespace gapi.client { callback?: string; /** Source from which Building.coordinates are derived. */ coordinatesSource?: string; - /** The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the `my_customer` alias to represent your account's customer ID. */ + /** The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the \`my_customer\` alias to represent your account's customer ID. */ customer: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; @@ -5836,9 +5839,9 @@ declare namespace gapi.client { prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; }, body: Building): Request; @@ -5847,7 +5850,7 @@ declare namespace gapi.client { /** Deletes a calendar resource. */ delete(request?: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -5856,7 +5859,7 @@ declare namespace gapi.client { calendarResourceId: string; /** JSONP */ callback?: string; - /** The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the `my_customer` alias to represent your account's customer ID. */ + /** The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the \`my_customer\` alias to represent your account's customer ID. */ customer: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; @@ -5868,15 +5871,15 @@ declare namespace gapi.client { prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; }): Request; /** Retrieves a calendar resource. */ get(request?: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -5885,7 +5888,7 @@ declare namespace gapi.client { calendarResourceId: string; /** JSONP */ callback?: string; - /** The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the `my_customer` alias to represent your account's customer ID. */ + /** The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the \`my_customer\` alias to represent your account's customer ID. */ customer: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; @@ -5897,22 +5900,22 @@ declare namespace gapi.client { prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; }): Request; /** Inserts a calendar resource. */ insert(request: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: string; /** JSONP */ callback?: string; - /** The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the `my_customer` alias to represent your account's customer ID. */ + /** The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the \`my_customer\` alias to represent your account's customer ID. */ customer: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; @@ -5924,23 +5927,23 @@ declare namespace gapi.client { prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; /** Request body */ resource: CalendarResource; }): Request; insert(request: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: string; /** JSONP */ callback?: string; - /** The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the `my_customer` alias to represent your account's customer ID. */ + /** The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the \`my_customer\` alias to represent your account's customer ID. */ customer: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; @@ -5952,23 +5955,23 @@ declare namespace gapi.client { prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; }, body: CalendarResource): Request; /** Retrieves a list of calendar resources for an account. */ list(request?: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: string; /** JSONP */ callback?: string; - /** The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the `my_customer` alias to represent your account's customer ID. */ + /** The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the \`my_customer\` alias to represent your account's customer ID. */ customer: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; @@ -5979,9 +5982,9 @@ declare namespace gapi.client { /** OAuth 2.0 token for the current user. */ oauth_token?: string; /** - * Field(s) to sort results by in either ascending or descending order. Supported fields include `resourceId`, `resourceName`, `capacity`, `buildingId`, and `floorName`. If no - * order is specified, defaults to ascending. Should be of the form "field [asc|desc], field [asc|desc], ...". For example `buildingId, capacity desc` would return results sorted - * first by `buildingId` in ascending order then by `capacity` in descending order. + * Field(s) to sort results by in either ascending or descending order. Supported fields include \`resourceId\`, \`resourceName\`, \`capacity\`, \`buildingId\`, and \`floorName\`. If no + * order is specified, defaults to ascending. Should be of the form \\"field [asc|desc], field [asc|desc], ...\\". For example \`buildingId, capacity desc\` would return results sorted + * first by \`buildingId\` in ascending order then by \`capacity\` in descending order. */ orderBy?: string; /** Token to specify the next page in the list. */ @@ -5989,23 +5992,23 @@ declare namespace gapi.client { /** Returns response with indentations and line breaks. */ prettyPrint?: boolean; /** - * String query used to filter results. Should be of the form "field operator value" where field can be any of supported fields and operators can be any of supported operations. + * String query used to filter results. Should be of the form \\"field operator value\\" where field can be any of supported fields and operators can be any of supported operations. * Operators include '=' for exact match, '!=' for mismatch and ':' for prefix match or HAS match where applicable. For prefix match, the value should always be followed by a *. - * Logical operators NOT and AND are supported (in this order of precedence). Supported fields include `generatedResourceName`, `name`, `buildingId`, `floor_name`, `capacity`, - * `featureInstances.feature.name`, `resourceEmail`, `resourceCategory`. For example `buildingId=US-NYC-9TH AND featureInstances.feature.name:Phone`. + * Logical operators NOT and AND are supported (in this order of precedence). Supported fields include \`generatedResourceName\`, \`name\`, \`buildingId\`, \`floor_name\`, \`capacity\`, + * \`featureInstances.feature.name\`, \`resourceEmail\`, \`resourceCategory\`. For example \`buildingId=US-NYC-9TH AND featureInstances.feature.name:Phone\`. */ query?: string; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; }): Request; /** Patches a calendar resource. */ patch(request: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -6014,7 +6017,7 @@ declare namespace gapi.client { calendarResourceId: string; /** JSONP */ callback?: string; - /** The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the `my_customer` alias to represent your account's customer ID. */ + /** The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the \`my_customer\` alias to represent your account's customer ID. */ customer: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; @@ -6026,16 +6029,16 @@ declare namespace gapi.client { prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; /** Request body */ resource: CalendarResource; }): Request; patch(request: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -6044,7 +6047,7 @@ declare namespace gapi.client { calendarResourceId: string; /** JSONP */ callback?: string; - /** The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the `my_customer` alias to represent your account's customer ID. */ + /** The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the \`my_customer\` alias to represent your account's customer ID. */ customer: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; @@ -6056,9 +6059,9 @@ declare namespace gapi.client { prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; }, body: CalendarResource): Request; @@ -6068,7 +6071,7 @@ declare namespace gapi.client { */ update(request: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -6077,7 +6080,7 @@ declare namespace gapi.client { calendarResourceId: string; /** JSONP */ callback?: string; - /** The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the `my_customer` alias to represent your account's customer ID. */ + /** The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the \`my_customer\` alias to represent your account's customer ID. */ customer: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; @@ -6089,16 +6092,16 @@ declare namespace gapi.client { prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; /** Request body */ resource: CalendarResource; }): Request; update(request: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -6107,7 +6110,7 @@ declare namespace gapi.client { calendarResourceId: string; /** JSONP */ callback?: string; - /** The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the `my_customer` alias to represent your account's customer ID. */ + /** The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the \`my_customer\` alias to represent your account's customer ID. */ customer: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; @@ -6119,9 +6122,9 @@ declare namespace gapi.client { prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; }, body: CalendarResource): Request; @@ -6130,14 +6133,14 @@ declare namespace gapi.client { /** Deletes a feature. */ delete(request?: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: string; /** JSONP */ callback?: string; - /** The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the `my_customer` alias to represent your account's customer ID. */ + /** The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the \`my_customer\` alias to represent your account's customer ID. */ customer: string; /** The unique ID of the feature to delete. */ featureKey: string; @@ -6151,22 +6154,22 @@ declare namespace gapi.client { prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; }): Request; /** Retrieves a feature. */ get(request?: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: string; /** JSONP */ callback?: string; - /** The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the `my_customer` alias to represent your account's customer ID. */ + /** The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the \`my_customer\` alias to represent your account's customer ID. */ customer: string; /** The unique ID of the feature to retrieve. */ featureKey: string; @@ -6180,22 +6183,22 @@ declare namespace gapi.client { prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; }): Request; /** Inserts a feature. */ insert(request: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: string; /** JSONP */ callback?: string; - /** The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the `my_customer` alias to represent your account's customer ID. */ + /** The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the \`my_customer\` alias to represent your account's customer ID. */ customer: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; @@ -6207,23 +6210,23 @@ declare namespace gapi.client { prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; /** Request body */ resource: Feature; }): Request; insert(request: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: string; /** JSONP */ callback?: string; - /** The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the `my_customer` alias to represent your account's customer ID. */ + /** The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the \`my_customer\` alias to represent your account's customer ID. */ customer: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; @@ -6235,23 +6238,23 @@ declare namespace gapi.client { prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; }, body: Feature): Request; /** Retrieves a list of features for an account. */ list(request?: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: string; /** JSONP */ callback?: string; - /** The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the `my_customer` alias to represent your account's customer ID. */ + /** The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the \`my_customer\` alias to represent your account's customer ID. */ customer: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; @@ -6267,22 +6270,22 @@ declare namespace gapi.client { prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; }): Request; /** Patches a feature. */ patch(request: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: string; /** JSONP */ callback?: string; - /** The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the `my_customer` alias to represent your account's customer ID. */ + /** The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the \`my_customer\` alias to represent your account's customer ID. */ customer: string; /** The unique ID of the feature to update. */ featureKey: string; @@ -6296,23 +6299,23 @@ declare namespace gapi.client { prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; /** Request body */ resource: Feature; }): Request; patch(request: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: string; /** JSONP */ callback?: string; - /** The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the `my_customer` alias to represent your account's customer ID. */ + /** The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the \`my_customer\` alias to represent your account's customer ID. */ customer: string; /** The unique ID of the feature to update. */ featureKey: string; @@ -6326,23 +6329,23 @@ declare namespace gapi.client { prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; }, body: Feature): Request; /** Renames a feature. */ rename(request: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: string; /** JSONP */ callback?: string; - /** The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the `my_customer` alias to represent your account's customer ID. */ + /** The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the \`my_customer\` alias to represent your account's customer ID. */ customer: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; @@ -6356,23 +6359,23 @@ declare namespace gapi.client { prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; /** Request body */ resource: FeatureRename; }): Request; rename(request: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: string; /** JSONP */ callback?: string; - /** The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the `my_customer` alias to represent your account's customer ID. */ + /** The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the \`my_customer\` alias to represent your account's customer ID. */ customer: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; @@ -6386,23 +6389,23 @@ declare namespace gapi.client { prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; }, body: FeatureRename): Request; /** Updates a feature. */ update(request: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: string; /** JSONP */ callback?: string; - /** The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the `my_customer` alias to represent your account's customer ID. */ + /** The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the \`my_customer\` alias to represent your account's customer ID. */ customer: string; /** The unique ID of the feature to update. */ featureKey: string; @@ -6416,23 +6419,23 @@ declare namespace gapi.client { prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; /** Request body */ resource: Feature; }): Request; update(request: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: string; /** JSONP */ callback?: string; - /** The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the `my_customer` alias to represent your account's customer ID. */ + /** The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the \`my_customer\` alias to represent your account's customer ID. */ customer: string; /** The unique ID of the feature to update. */ featureKey: string; @@ -6446,9 +6449,9 @@ declare namespace gapi.client { prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; }, body: Feature): Request; @@ -6462,7 +6465,7 @@ declare namespace gapi.client { /** Deletes a role assignment. */ delete(request?: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -6483,15 +6486,15 @@ declare namespace gapi.client { quotaUser?: string; /** Immutable ID of the role assignment. */ roleAssignmentId: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; }): Request; /** Retrieves a role assignment. */ get(request?: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -6512,15 +6515,15 @@ declare namespace gapi.client { quotaUser?: string; /** Immutable ID of the role assignment. */ roleAssignmentId: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; }): Request; /** Creates a role assignment. */ insert(request: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -6539,16 +6542,16 @@ declare namespace gapi.client { prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; /** Request body */ resource: RoleAssignment; }): Request; insert(request: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -6567,16 +6570,16 @@ declare namespace gapi.client { prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; }, body: RoleAssignment): Request; /** Retrieves a paginated list of all roleAssignments. */ list(request?: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -6601,9 +6604,9 @@ declare namespace gapi.client { quotaUser?: string; /** Immutable ID of a role. If included in the request, returns only role assignments containing this role ID. */ roleId?: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; /** The user's primary email address, alias email address, or unique user ID. If included in the request, returns role assignments only for this user. */ userKey?: string; @@ -6613,7 +6616,7 @@ declare namespace gapi.client { /** Deletes a role. */ delete(request?: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -6634,15 +6637,15 @@ declare namespace gapi.client { quotaUser?: string; /** Immutable ID of the role. */ roleId: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; }): Request; /** Retrieves a role. */ get(request?: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -6663,15 +6666,15 @@ declare namespace gapi.client { quotaUser?: string; /** Immutable ID of the role. */ roleId: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; }): Request; /** Creates a role. */ insert(request: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -6690,16 +6693,16 @@ declare namespace gapi.client { prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; /** Request body */ resource: Role; }): Request; insert(request: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -6718,16 +6721,16 @@ declare namespace gapi.client { prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; }, body: Role): Request; /** Retrieves a paginated list of all the roles in a domain. */ list(request?: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -6750,15 +6753,15 @@ declare namespace gapi.client { prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; }): Request; /** Patches a role. */ patch(request: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -6779,16 +6782,16 @@ declare namespace gapi.client { quotaUser?: string; /** Immutable ID of the role. */ roleId: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; /** Request body */ resource: Role; }): Request; patch(request: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -6809,16 +6812,16 @@ declare namespace gapi.client { quotaUser?: string; /** Immutable ID of the role. */ roleId: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; }, body: Role): Request; /** Updates a role. */ update(request: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -6839,16 +6842,16 @@ declare namespace gapi.client { quotaUser?: string; /** Immutable ID of the role. */ roleId: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; /** Request body */ resource: Role; }): Request; update(request: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -6869,9 +6872,9 @@ declare namespace gapi.client { quotaUser?: string; /** Immutable ID of the role. */ roleId: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; }, body: Role): Request; @@ -6880,7 +6883,7 @@ declare namespace gapi.client { /** Deletes a schema. */ delete(request?: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -6901,15 +6904,15 @@ declare namespace gapi.client { quotaUser?: string; /** Name or immutable ID of the schema. */ schemaKey: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; }): Request; /** Retrieves a schema. */ get(request?: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -6930,15 +6933,15 @@ declare namespace gapi.client { quotaUser?: string; /** Name or immutable ID of the schema. */ schemaKey: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; }): Request; /** Creates a schema. */ insert(request: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -6957,16 +6960,16 @@ declare namespace gapi.client { prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; /** Request body */ resource: Schema; }): Request; insert(request: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -6985,16 +6988,16 @@ declare namespace gapi.client { prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; }, body: Schema): Request; /** Retrieves all schemas for a customer. */ list(request?: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -7013,15 +7016,15 @@ declare namespace gapi.client { prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; }): Request; /** Patches a schema. */ patch(request: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -7042,16 +7045,16 @@ declare namespace gapi.client { quotaUser?: string; /** Name or immutable ID of the schema. */ schemaKey: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; /** Request body */ resource: Schema; }): Request; patch(request: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -7072,16 +7075,16 @@ declare namespace gapi.client { quotaUser?: string; /** Name or immutable ID of the schema. */ schemaKey: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; }, body: Schema): Request; /** Updates a schema. */ update(request: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -7102,16 +7105,16 @@ declare namespace gapi.client { quotaUser?: string; /** Name or immutable ID of the schema. */ schemaKey: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; /** Request body */ resource: Schema; }): Request; update(request: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -7132,9 +7135,9 @@ declare namespace gapi.client { quotaUser?: string; /** Name or immutable ID of the schema. */ schemaKey: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; }, body: Schema): Request; @@ -7143,7 +7146,7 @@ declare namespace gapi.client { /** Deletes all access tokens issued by a user for an application. */ delete(request?: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -7162,9 +7165,9 @@ declare namespace gapi.client { prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; /** Identifies the user in the API request. The value can be the user's primary email address, alias email address, or unique user ID. */ userKey: string; @@ -7172,7 +7175,7 @@ declare namespace gapi.client { /** Gets information about an access token issued by a user. */ get(request?: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -7191,9 +7194,9 @@ declare namespace gapi.client { prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; /** Identifies the user in the API request. The value can be the user's primary email address, alias email address, or unique user ID. */ userKey: string; @@ -7201,7 +7204,7 @@ declare namespace gapi.client { /** Returns the set of tokens specified user has issued to 3rd party applications. */ list(request?: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -7218,9 +7221,9 @@ declare namespace gapi.client { prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; /** Identifies the user in the API request. The value can be the user's primary email address, alias email address, or unique user ID. */ userKey: string; @@ -7230,7 +7233,7 @@ declare namespace gapi.client { /** Turns off 2-Step Verification for user. */ turnOff(request?: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -7247,9 +7250,9 @@ declare namespace gapi.client { prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; /** Identifies the user in the API request. The value can be the user's primary email address, alias email address, or unique user ID. */ userKey: string; @@ -7259,7 +7262,7 @@ declare namespace gapi.client { /** Removes an alias. */ delete(request?: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** The alias to be removed. */ @@ -7278,9 +7281,9 @@ declare namespace gapi.client { prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; /** Identifies the user in the API request. The value can be the user's primary email address, alias email address, or unique user ID. */ userKey: string; @@ -7288,7 +7291,7 @@ declare namespace gapi.client { /** Adds an alias. */ insert(request: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -7305,9 +7308,9 @@ declare namespace gapi.client { prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; /** Identifies the user in the API request. The value can be the user's primary email address, alias email address, or unique user ID. */ userKey: string; @@ -7316,7 +7319,7 @@ declare namespace gapi.client { }): Request; insert(request: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -7333,9 +7336,9 @@ declare namespace gapi.client { prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; /** Identifies the user in the API request. The value can be the user's primary email address, alias email address, or unique user ID. */ userKey: string; @@ -7344,7 +7347,7 @@ declare namespace gapi.client { /** Lists all aliases for a user. */ list(request?: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -7363,9 +7366,9 @@ declare namespace gapi.client { prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; /** Identifies the user in the API request. The value can be the user's primary email address, alias email address, or unique user ID. */ userKey: string; @@ -7373,7 +7376,7 @@ declare namespace gapi.client { /** Watches for changes in users list. */ watch(request: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -7392,9 +7395,9 @@ declare namespace gapi.client { prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; /** Email or immutable ID of the user */ userKey: string; @@ -7403,7 +7406,7 @@ declare namespace gapi.client { }): Request; watch(request: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -7422,9 +7425,9 @@ declare namespace gapi.client { prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; /** Email or immutable ID of the user */ userKey: string; @@ -7435,7 +7438,7 @@ declare namespace gapi.client { /** Removes the user's photo. */ delete(request?: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -7452,9 +7455,9 @@ declare namespace gapi.client { prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; /** Identifies the user in the API request. The value can be the user's primary email address, alias email address, or unique user ID. */ userKey: string; @@ -7462,7 +7465,7 @@ declare namespace gapi.client { /** Retrieves the user's photo. */ get(request?: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -7479,9 +7482,9 @@ declare namespace gapi.client { prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; /** Identifies the user in the API request. The value can be the user's primary email address, alias email address, or unique user ID. */ userKey: string; @@ -7489,7 +7492,7 @@ declare namespace gapi.client { /** Adds a photo for the user. This method supports [patch semantics](/admin-sdk/directory/v1/guides/performance#patch). */ patch(request: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -7506,9 +7509,9 @@ declare namespace gapi.client { prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; /** Identifies the user in the API request. The value can be the user's primary email address, alias email address, or unique user ID. */ userKey: string; @@ -7517,7 +7520,7 @@ declare namespace gapi.client { }): Request; patch(request: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -7534,9 +7537,9 @@ declare namespace gapi.client { prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; /** Identifies the user in the API request. The value can be the user's primary email address, alias email address, or unique user ID. */ userKey: string; @@ -7545,7 +7548,7 @@ declare namespace gapi.client { /** Adds a photo for the user. */ update(request: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -7562,9 +7565,9 @@ declare namespace gapi.client { prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; /** Identifies the user in the API request. The value can be the user's primary email address, alias email address, or unique user ID. */ userKey: string; @@ -7573,7 +7576,7 @@ declare namespace gapi.client { }): Request; update(request: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -7590,9 +7593,9 @@ declare namespace gapi.client { prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; /** Identifies the user in the API request. The value can be the user's primary email address, alias email address, or unique user ID. */ userKey: string; @@ -7603,7 +7606,7 @@ declare namespace gapi.client { /** Deletes a user. */ delete(request?: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -7620,9 +7623,9 @@ declare namespace gapi.client { prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; /** Identifies the user in the API request. The value can be the user's primary email address, alias email address, or unique user ID. */ userKey: string; @@ -7630,14 +7633,14 @@ declare namespace gapi.client { /** Retrieves a user. */ get(request?: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: string; /** JSONP */ callback?: string; - /** A comma-separated list of schema names. All fields from these schemas are fetched. This should only be set when `projection=custom`. */ + /** A comma-separated list of schema names. All fields from these schemas are fetched. This should only be set when \`projection=custom\`. */ customFieldMask?: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; @@ -7651,9 +7654,9 @@ declare namespace gapi.client { projection?: string; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; /** Identifies the user in the API request. The value can be the user's primary email address, alias email address, or unique user ID. */ userKey: string; @@ -7666,7 +7669,7 @@ declare namespace gapi.client { /** Creates a user. */ insert(request: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -7683,16 +7686,16 @@ declare namespace gapi.client { prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; /** Request body */ resource: User; }): Request; insert(request: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -7709,16 +7712,16 @@ declare namespace gapi.client { prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; }, body: User): Request; /** Retrieves a paginated list of either deleted users or all users in a domain. */ list(request?: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -7727,15 +7730,15 @@ declare namespace gapi.client { callback?: string; /** * The unique ID for the customer's Google Workspace account. In case of a multi-domain account, to fetch all groups for a customer, fill this field instead of domain. You can also - * use the `my_customer` alias to represent your account's `customerId`. The `customerId` is also returned as part of the [Users resource](/admin-sdk/directory/v1/reference/users). - * Either the `customer` or the `domain` parameter must be provided. + * use the \`my_customer\` alias to represent your account's \`customerId\`. The \`customerId\` is also returned as part of the [Users resource](/admin-sdk/directory/v1/reference/users). + * Either the \`customer\` or the \`domain\` parameter must be provided. */ customer?: string; - /** A comma-separated list of schema names. All fields from these schemas are fetched. This should only be set when `projection=custom`. */ + /** A comma-separated list of schema names. All fields from these schemas are fetched. This should only be set when \`projection=custom\`. */ customFieldMask?: string; /** - * The domain name. Use this field to get groups from only one domain. To return all domains for a customer account, use the `customer` query parameter instead. Either the - * `customer` or the `domain` parameter must be provided. + * The domain name. Use this field to get groups from only one domain. To return all domains for a customer account, use the \`customer\` query parameter instead. Either the + * \`customer\` or the \`domain\` parameter must be provided. */ domain?: string; /** Event on which subscription is intended (if subscribing) */ @@ -7760,13 +7763,13 @@ declare namespace gapi.client { query?: string; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; - /** If set to `true`, retrieves the list of deleted users. (Default: `false`) */ + /** If set to \`true\`, retrieves the list of deleted users. (Default: \`false\`) */ showDeleted?: string; /** Whether to return results in ascending or descending order, ignoring case. */ sortOrder?: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; /** * Whether to fetch the administrator-only or domain-wide public view of the user. For more information, see [Retrieve a user as a @@ -7777,7 +7780,7 @@ declare namespace gapi.client { /** Makes a user a super administrator. */ makeAdmin(request: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -7794,9 +7797,9 @@ declare namespace gapi.client { prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; /** Identifies the user in the API request. The value can be the user's primary email address, alias email address, or unique user ID. */ userKey: string; @@ -7805,7 +7808,7 @@ declare namespace gapi.client { }): Request; makeAdmin(request: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -7822,9 +7825,9 @@ declare namespace gapi.client { prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; /** Identifies the user in the API request. The value can be the user's primary email address, alias email address, or unique user ID. */ userKey: string; @@ -7832,11 +7835,11 @@ declare namespace gapi.client { body: UserMakeAdmin): Request; /** * Updates a user using patch semantics. The update method should be used instead, since it also supports patch semantics and has better performance. This method is unable to clear - * fields that contain repeated objects (`addresses`, `phones`, etc). Use the update method instead. + * fields that contain repeated objects (\`addresses\`, \`phones\`, etc). Use the update method instead. */ patch(request: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -7853,9 +7856,9 @@ declare namespace gapi.client { prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; /** Identifies the user in the API request. The value can be the user's primary email address, alias email address, or unique user ID. */ userKey: string; @@ -7864,7 +7867,7 @@ declare namespace gapi.client { }): Request; patch(request: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -7881,9 +7884,9 @@ declare namespace gapi.client { prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; /** Identifies the user in the API request. The value can be the user's primary email address, alias email address, or unique user ID. */ userKey: string; @@ -7892,7 +7895,7 @@ declare namespace gapi.client { /** Signs a user out of all web and device sessions and reset their sign-in cookies. User will have to sign in by authenticating again. */ signOut(request?: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -7909,9 +7912,9 @@ declare namespace gapi.client { prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; /** Identifies the target user in the API request. The value can be the user's primary email address, alias email address, or unique user ID. */ userKey: string; @@ -7919,7 +7922,7 @@ declare namespace gapi.client { /** Undeletes a deleted user. */ undelete(request: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -7936,9 +7939,9 @@ declare namespace gapi.client { prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; /** The immutable id of the user */ userKey: string; @@ -7947,7 +7950,7 @@ declare namespace gapi.client { }): Request; undelete(request: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -7964,9 +7967,9 @@ declare namespace gapi.client { prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; /** The immutable id of the user */ userKey: string; @@ -7974,11 +7977,11 @@ declare namespace gapi.client { body: UserUndelete): Request; /** * Updates a user. This method supports patch semantics, meaning you only need to include the fields you wish to update. Fields that are not present in the request will be preserved, - * and fields set to `null` will be cleared. + * and fields set to \`null\` will be cleared. */ update(request: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -7995,9 +7998,9 @@ declare namespace gapi.client { prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; /** Identifies the user in the API request. The value can be the user's primary email address, alias email address, or unique user ID. */ userKey: string; @@ -8006,7 +8009,7 @@ declare namespace gapi.client { }): Request; update(request: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -8023,9 +8026,9 @@ declare namespace gapi.client { prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; /** Identifies the user in the API request. The value can be the user's primary email address, alias email address, or unique user ID. */ userKey: string; @@ -8034,7 +8037,7 @@ declare namespace gapi.client { /** Watches for changes in users list. */ watch(request: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -8045,7 +8048,7 @@ declare namespace gapi.client { customer?: string; /** Comma-separated list of schema names. All fields from these schemas are fetched. This should only be set when projection=custom. */ customFieldMask?: string; - /** Name of the domain. Fill this field to get users from only this domain. To return all users in a multi-domain fill customer field instead." */ + /** Name of the domain. Fill this field to get users from only this domain. To return all users in a multi-domain fill customer field instead.\\" */ domain?: string; /** Events to watch for. */ event?: string; @@ -8065,7 +8068,7 @@ declare namespace gapi.client { prettyPrint?: boolean; /** What subset of fields to fetch for this user. */ projection?: string; - /** Query string search. Should be of the form "". Complete documentation is at https: //developers.google.com/admin-sdk/directory/v1/guides/search-users */ + /** Query string search. Should be of the form \\"\\". Complete documentation is at https: //developers.google.com/admin-sdk/directory/v1/guides/search-users */ query?: string; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; @@ -8073,9 +8076,9 @@ declare namespace gapi.client { showDeleted?: string; /** Whether to return results in ascending or descending order. */ sortOrder?: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; /** * Whether to fetch the administrator-only or domain-wide public view of the user. For more information, see [Retrieve a user as a @@ -8087,7 +8090,7 @@ declare namespace gapi.client { }): Request; watch(request: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -8098,7 +8101,7 @@ declare namespace gapi.client { customer?: string; /** Comma-separated list of schema names. All fields from these schemas are fetched. This should only be set when projection=custom. */ customFieldMask?: string; - /** Name of the domain. Fill this field to get users from only this domain. To return all users in a multi-domain fill customer field instead." */ + /** Name of the domain. Fill this field to get users from only this domain. To return all users in a multi-domain fill customer field instead.\\" */ domain?: string; /** Events to watch for. */ event?: string; @@ -8118,7 +8121,7 @@ declare namespace gapi.client { prettyPrint?: boolean; /** What subset of fields to fetch for this user. */ projection?: string; - /** Query string search. Should be of the form "". Complete documentation is at https: //developers.google.com/admin-sdk/directory/v1/guides/search-users */ + /** Query string search. Should be of the form \\"\\". Complete documentation is at https: //developers.google.com/admin-sdk/directory/v1/guides/search-users */ query?: string; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; @@ -8126,9 +8129,9 @@ declare namespace gapi.client { showDeleted?: string; /** Whether to return results in ascending or descending order. */ sortOrder?: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; /** * Whether to fetch the administrator-only or domain-wide public view of the user. For more information, see [Retrieve a user as a @@ -8144,7 +8147,7 @@ declare namespace gapi.client { /** Generates new backup verification codes for the user. */ generate(request?: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -8161,9 +8164,9 @@ declare namespace gapi.client { prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; /** Email or immutable ID of the user */ userKey: string; @@ -8171,7 +8174,7 @@ declare namespace gapi.client { /** Invalidates the current backup verification codes for the user. */ invalidate(request?: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -8188,9 +8191,9 @@ declare namespace gapi.client { prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; /** Email or immutable ID of the user */ userKey: string; @@ -8198,7 +8201,7 @@ declare namespace gapi.client { /** Returns the current set of valid backup verification codes for the specified user. */ list(request?: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -8215,9 +8218,9 @@ declare namespace gapi.client { prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; /** Identifies the user in the API request. The value can be the user's primary email address, alias email address, or unique user ID. */ userKey: string; @@ -8261,3 +8264,5 @@ declare namespace gapi.client { const verificationCodes: VerificationCodesResource; } } +" +`; diff --git a/test/restDocs/snapshots/gapi.client.admin-directory_v1/package.json b/test/restDocs/snapshots/gapi.client.admin-directory_v1/package.json deleted file mode 100644 index 775b13582f..0000000000 --- a/test/restDocs/snapshots/gapi.client.admin-directory_v1/package.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "name": "@maxim_mazurok/gapi.client.admin-directory_v1", - "version": "0.0.20220628", - "description": "TypeScript typings for Admin SDK API directory_v1", - "license": "MIT", - "author": { - "email": "maxim@mazurok.com", - "name": "Maxim Mazurok", - "url": "https://maxim.mazurok.com" - }, - "repository": { - "type": "git", - "url": "https://github.com/Maxim-Mazurok/google-api-typings-generator.git" - }, - "types": "index.d.ts", - "dependencies": { - "@types/gapi.client": "*", - "@types/gapi.client.discovery": "*" - } -} diff --git a/test/restDocs/snapshots/gapi.client.admin-directory_v1/package.json.shot b/test/restDocs/snapshots/gapi.client.admin-directory_v1/package.json.shot new file mode 100644 index 0000000000..6beefcfa03 --- /dev/null +++ b/test/restDocs/snapshots/gapi.client.admin-directory_v1/package.json.shot @@ -0,0 +1,25 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`admin works: admin works 1`] = ` +"{ + \\"name\\": \\"@maxim_mazurok/gapi.client.admin-directory_v1\\", + \\"version\\": \\"0.0.20220628\\", + \\"description\\": \\"TypeScript typings for Admin SDK API directory_v1\\", + \\"license\\": \\"MIT\\", + \\"author\\": { + \\"email\\": \\"maxim@mazurok.com\\", + \\"name\\": \\"Maxim Mazurok\\", + \\"url\\": \\"https://maxim.mazurok.com\\" + }, + \\"repository\\": { + \\"type\\": \\"git\\", + \\"url\\": \\"https://github.com/Maxim-Mazurok/google-api-typings-generator.git\\" + }, + \\"types\\": \\"index.d.ts\\", + \\"dependencies\\": { + \\"@types/gapi.client\\": \\"*\\", + \\"@types/gapi.client.discovery\\": \\"*\\" + } +} +" +`; diff --git a/test/restDocs/snapshots/gapi.client.admin-directory_v1/readme.md b/test/restDocs/snapshots/gapi.client.admin-directory_v1/readme.md.shot similarity index 61% rename from test/restDocs/snapshots/gapi.client.admin-directory_v1/readme.md rename to test/restDocs/snapshots/gapi.client.admin-directory_v1/readme.md.shot index 7974c19034..3036ec40de 100644 --- a/test/restDocs/snapshots/gapi.client.admin-directory_v1/readme.md +++ b/test/restDocs/snapshots/gapi.client.admin-directory_v1/readme.md.shot @@ -1,4 +1,7 @@ -# TypeScript typings for Admin SDK API directory_v1 +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`admin works: admin works 1`] = ` +"# TypeScript typings for Admin SDK API directory_v1 Admin SDK lets administrators of enterprise domains to view and manage resources like user, groups etc. It also provides audit and usage reports of domain. For detailed description please check [documentation](https://developers.google.com/admin-sdk/). @@ -7,43 +10,43 @@ For detailed description please check [documentation](https://developers.google. Install typings for Admin SDK API: -``` +\`\`\` npm install @types/gapi.client.admin-directory_v1 --save-dev -``` +\`\`\` ## Usage You need to initialize Google API client in your code: -```typescript +\`\`\`typescript gapi.load('client', () => { // now we can use gapi.client // ... }); -``` +\`\`\` Then load api client wrapper: -```typescript +\`\`\`typescript gapi.client.load('http://localhost:3000/admin.json', () => { // now we can use: // gapi.client.admin // gapi.client.directory }); -``` +\`\`\` -```typescript +\`\`\`typescript // Deprecated, use discovery document URL, see https://github.com/google/google-api-javascript-client/blob/master/docs/reference.md#----gapiclientloadname----version----callback-- gapi.client.load('admin', 'directory_v1', () => { // now we can use: // gapi.client.admin // gapi.client.directory }); -``` +\`\`\` Don't forget to authenticate your client before sending any request to resources: -```typescript +\`\`\`typescript // declare client_id registered in Google Developers Console var client_id = '', scope = [ @@ -146,26 +149,26 @@ gapi.auth.authorize( /* handle authorization error */ } }); -``` +\`\`\` After that you can use Admin SDK API resources: -```typescript +\`\`\`typescript /* Deletes an ASP issued by a user. */ -await gapi.client.directory.asps.delete({ codeId: 1, userKey: "userKey", }); +await gapi.client.directory.asps.delete({ codeId: 1, userKey: \\"userKey\\", }); /* Gets information about an ASP issued by a user. */ -await gapi.client.directory.asps.get({ codeId: 1, userKey: "userKey", }); +await gapi.client.directory.asps.get({ codeId: 1, userKey: \\"userKey\\", }); /* Lists the ASPs issued by a user. */ -await gapi.client.directory.asps.list({ userKey: "userKey", }); +await gapi.client.directory.asps.list({ userKey: \\"userKey\\", }); /* Stops watching resources through this channel. @@ -175,97 +178,97 @@ await gapi.client.admin.channels.stop({ }); /* Takes an action that affects a Chrome OS Device. This includes deprovisioning, disabling, and re-enabling devices. *Warning:* * Deprovisioning a device will stop device policy syncing and remove device-level printers. After a device is deprovisioned, it must be wiped before it can be re-enrolled. * Lost or stolen devices should use the disable action. * Re-enabling a disabled device will consume a device license. If you do not have sufficient licenses available when completing the re-enable action, you will receive an error. For more information about deprovisioning and disabling devices, visit the [help center](https://support.google.com/chrome/a/answer/3523633). */ -await gapi.client.directory.chromeosdevices.action({ customerId: "customerId", resourceId: "resourceId", }); +await gapi.client.directory.chromeosdevices.action({ customerId: \\"customerId\\", resourceId: \\"resourceId\\", }); /* Retrieves a Chrome OS device's properties. */ -await gapi.client.directory.chromeosdevices.get({ customerId: "customerId", deviceId: "deviceId", }); +await gapi.client.directory.chromeosdevices.get({ customerId: \\"customerId\\", deviceId: \\"deviceId\\", }); /* Retrieves a paginated list of Chrome OS devices within an account. */ -await gapi.client.directory.chromeosdevices.list({ customerId: "customerId", }); +await gapi.client.directory.chromeosdevices.list({ customerId: \\"customerId\\", }); /* Moves or inserts multiple Chrome OS devices to an organizational unit. You can move up to 50 devices at once. */ -await gapi.client.directory.chromeosdevices.moveDevicesToOu({ customerId: "customerId", orgUnitPath: "orgUnitPath", }); +await gapi.client.directory.chromeosdevices.moveDevicesToOu({ customerId: \\"customerId\\", orgUnitPath: \\"orgUnitPath\\", }); /* -Updates a device's updatable properties, such as `annotatedUser`, `annotatedLocation`, `notes`, `orgUnitPath`, or `annotatedAssetId`. This method supports [patch semantics](/admin-sdk/directory/v1/guides/performance#patch). +Updates a device's updatable properties, such as \`annotatedUser\`, \`annotatedLocation\`, \`notes\`, \`orgUnitPath\`, or \`annotatedAssetId\`. This method supports [patch semantics](/admin-sdk/directory/v1/guides/performance#patch). */ -await gapi.client.directory.chromeosdevices.patch({ customerId: "customerId", deviceId: "deviceId", }); +await gapi.client.directory.chromeosdevices.patch({ customerId: \\"customerId\\", deviceId: \\"deviceId\\", }); /* -Updates a device's updatable properties, such as `annotatedUser`, `annotatedLocation`, `notes`, `orgUnitPath`, or `annotatedAssetId`. +Updates a device's updatable properties, such as \`annotatedUser\`, \`annotatedLocation\`, \`notes\`, \`orgUnitPath\`, or \`annotatedAssetId\`. */ -await gapi.client.directory.chromeosdevices.update({ customerId: "customerId", deviceId: "deviceId", }); +await gapi.client.directory.chromeosdevices.update({ customerId: \\"customerId\\", deviceId: \\"deviceId\\", }); /* Retrieves a customer. */ -await gapi.client.directory.customers.get({ customerKey: "customerKey", }); +await gapi.client.directory.customers.get({ customerKey: \\"customerKey\\", }); /* Patches a customer. */ -await gapi.client.directory.customers.patch({ customerKey: "customerKey", }); +await gapi.client.directory.customers.patch({ customerKey: \\"customerKey\\", }); /* Updates a customer. */ -await gapi.client.directory.customers.update({ customerKey: "customerKey", }); +await gapi.client.directory.customers.update({ customerKey: \\"customerKey\\", }); /* Deletes a domain Alias of the customer. */ -await gapi.client.directory.domainAliases.delete({ customer: "customer", domainAliasName: "domainAliasName", }); +await gapi.client.directory.domainAliases.delete({ customer: \\"customer\\", domainAliasName: \\"domainAliasName\\", }); /* Retrieves a domain alias of the customer. */ -await gapi.client.directory.domainAliases.get({ customer: "customer", domainAliasName: "domainAliasName", }); +await gapi.client.directory.domainAliases.get({ customer: \\"customer\\", domainAliasName: \\"domainAliasName\\", }); /* Inserts a domain alias of the customer. */ -await gapi.client.directory.domainAliases.insert({ customer: "customer", }); +await gapi.client.directory.domainAliases.insert({ customer: \\"customer\\", }); /* Lists the domain aliases of the customer. */ -await gapi.client.directory.domainAliases.list({ customer: "customer", }); +await gapi.client.directory.domainAliases.list({ customer: \\"customer\\", }); /* Deletes a domain of the customer. */ -await gapi.client.directory.domains.delete({ customer: "customer", domainName: "domainName", }); +await gapi.client.directory.domains.delete({ customer: \\"customer\\", domainName: \\"domainName\\", }); /* Retrieves a domain of the customer. */ -await gapi.client.directory.domains.get({ customer: "customer", domainName: "domainName", }); +await gapi.client.directory.domains.get({ customer: \\"customer\\", domainName: \\"domainName\\", }); /* Inserts a domain of the customer. */ -await gapi.client.directory.domains.insert({ customer: "customer", }); +await gapi.client.directory.domains.insert({ customer: \\"customer\\", }); /* Lists the domains of the customer. */ -await gapi.client.directory.domains.list({ customer: "customer", }); +await gapi.client.directory.domains.list({ customer: \\"customer\\", }); /* Deletes a group. */ -await gapi.client.directory.groups.delete({ groupKey: "groupKey", }); +await gapi.client.directory.groups.delete({ groupKey: \\"groupKey\\", }); /* Retrieves a group's properties. */ -await gapi.client.directory.groups.get({ groupKey: "groupKey", }); +await gapi.client.directory.groups.get({ groupKey: \\"groupKey\\", }); /* Creates a group. @@ -280,212 +283,212 @@ await gapi.client.directory.groups.list({ }); /* Updates a group's properties. This method supports [patch semantics](/admin-sdk/directory/v1/guides/performance#patch). */ -await gapi.client.directory.groups.patch({ groupKey: "groupKey", }); +await gapi.client.directory.groups.patch({ groupKey: \\"groupKey\\", }); /* Updates a group's properties. */ -await gapi.client.directory.groups.update({ groupKey: "groupKey", }); +await gapi.client.directory.groups.update({ groupKey: \\"groupKey\\", }); /* Removes a member from a group. */ -await gapi.client.directory.members.delete({ groupKey: "groupKey", memberKey: "memberKey", }); +await gapi.client.directory.members.delete({ groupKey: \\"groupKey\\", memberKey: \\"memberKey\\", }); /* Retrieves a group member's properties. */ -await gapi.client.directory.members.get({ groupKey: "groupKey", memberKey: "memberKey", }); +await gapi.client.directory.members.get({ groupKey: \\"groupKey\\", memberKey: \\"memberKey\\", }); /* Checks whether the given user is a member of the group. Membership can be direct or nested. */ -await gapi.client.directory.members.hasMember({ groupKey: "groupKey", memberKey: "memberKey", }); +await gapi.client.directory.members.hasMember({ groupKey: \\"groupKey\\", memberKey: \\"memberKey\\", }); /* Adds a user to the specified group. */ -await gapi.client.directory.members.insert({ groupKey: "groupKey", }); +await gapi.client.directory.members.insert({ groupKey: \\"groupKey\\", }); /* Retrieves a paginated list of all members in a group. */ -await gapi.client.directory.members.list({ groupKey: "groupKey", }); +await gapi.client.directory.members.list({ groupKey: \\"groupKey\\", }); /* Updates the membership properties of a user in the specified group. This method supports [patch semantics](/admin-sdk/directory/v1/guides/performance#patch). */ -await gapi.client.directory.members.patch({ groupKey: "groupKey", memberKey: "memberKey", }); +await gapi.client.directory.members.patch({ groupKey: \\"groupKey\\", memberKey: \\"memberKey\\", }); /* Updates the membership of a user in the specified group. */ -await gapi.client.directory.members.update({ groupKey: "groupKey", memberKey: "memberKey", }); +await gapi.client.directory.members.update({ groupKey: \\"groupKey\\", memberKey: \\"memberKey\\", }); /* Takes an action that affects a mobile device. For example, remotely wiping a device. */ -await gapi.client.directory.mobiledevices.action({ customerId: "customerId", resourceId: "resourceId", }); +await gapi.client.directory.mobiledevices.action({ customerId: \\"customerId\\", resourceId: \\"resourceId\\", }); /* Removes a mobile device. */ -await gapi.client.directory.mobiledevices.delete({ customerId: "customerId", resourceId: "resourceId", }); +await gapi.client.directory.mobiledevices.delete({ customerId: \\"customerId\\", resourceId: \\"resourceId\\", }); /* Retrieves a mobile device's properties. */ -await gapi.client.directory.mobiledevices.get({ customerId: "customerId", resourceId: "resourceId", }); +await gapi.client.directory.mobiledevices.get({ customerId: \\"customerId\\", resourceId: \\"resourceId\\", }); /* Retrieves a paginated list of all user-owned mobile devices for an account. To retrieve a list that includes company-owned devices, use the Cloud Identity [Devices API](https://cloud.google.com/identity/docs/concepts/overview-devices) instead. */ -await gapi.client.directory.mobiledevices.list({ customerId: "customerId", }); +await gapi.client.directory.mobiledevices.list({ customerId: \\"customerId\\", }); /* Removes an organizational unit. */ -await gapi.client.directory.orgunits.delete({ customerId: "customerId", orgUnitPath: "orgUnitPath", }); +await gapi.client.directory.orgunits.delete({ customerId: \\"customerId\\", orgUnitPath: \\"orgUnitPath\\", }); /* Retrieves an organizational unit. */ -await gapi.client.directory.orgunits.get({ customerId: "customerId", orgUnitPath: "orgUnitPath", }); +await gapi.client.directory.orgunits.get({ customerId: \\"customerId\\", orgUnitPath: \\"orgUnitPath\\", }); /* Adds an organizational unit. */ -await gapi.client.directory.orgunits.insert({ customerId: "customerId", }); +await gapi.client.directory.orgunits.insert({ customerId: \\"customerId\\", }); /* Retrieves a list of all organizational units for an account. */ -await gapi.client.directory.orgunits.list({ customerId: "customerId", }); +await gapi.client.directory.orgunits.list({ customerId: \\"customerId\\", }); /* Updates an organizational unit. This method supports [patch semantics](/admin-sdk/directory/v1/guides/performance#patch) */ -await gapi.client.directory.orgunits.patch({ customerId: "customerId", orgUnitPath: "orgUnitPath", }); +await gapi.client.directory.orgunits.patch({ customerId: \\"customerId\\", orgUnitPath: \\"orgUnitPath\\", }); /* Updates an organizational unit. */ -await gapi.client.directory.orgunits.update({ customerId: "customerId", orgUnitPath: "orgUnitPath", }); +await gapi.client.directory.orgunits.update({ customerId: \\"customerId\\", orgUnitPath: \\"orgUnitPath\\", }); /* Retrieves a paginated list of all privileges for a customer. */ -await gapi.client.directory.privileges.list({ customer: "customer", }); +await gapi.client.directory.privileges.list({ customer: \\"customer\\", }); /* Deletes a role assignment. */ -await gapi.client.directory.roleAssignments.delete({ customer: "customer", roleAssignmentId: "roleAssignmentId", }); +await gapi.client.directory.roleAssignments.delete({ customer: \\"customer\\", roleAssignmentId: \\"roleAssignmentId\\", }); /* Retrieves a role assignment. */ -await gapi.client.directory.roleAssignments.get({ customer: "customer", roleAssignmentId: "roleAssignmentId", }); +await gapi.client.directory.roleAssignments.get({ customer: \\"customer\\", roleAssignmentId: \\"roleAssignmentId\\", }); /* Creates a role assignment. */ -await gapi.client.directory.roleAssignments.insert({ customer: "customer", }); +await gapi.client.directory.roleAssignments.insert({ customer: \\"customer\\", }); /* Retrieves a paginated list of all roleAssignments. */ -await gapi.client.directory.roleAssignments.list({ customer: "customer", }); +await gapi.client.directory.roleAssignments.list({ customer: \\"customer\\", }); /* Deletes a role. */ -await gapi.client.directory.roles.delete({ customer: "customer", roleId: "roleId", }); +await gapi.client.directory.roles.delete({ customer: \\"customer\\", roleId: \\"roleId\\", }); /* Retrieves a role. */ -await gapi.client.directory.roles.get({ customer: "customer", roleId: "roleId", }); +await gapi.client.directory.roles.get({ customer: \\"customer\\", roleId: \\"roleId\\", }); /* Creates a role. */ -await gapi.client.directory.roles.insert({ customer: "customer", }); +await gapi.client.directory.roles.insert({ customer: \\"customer\\", }); /* Retrieves a paginated list of all the roles in a domain. */ -await gapi.client.directory.roles.list({ customer: "customer", }); +await gapi.client.directory.roles.list({ customer: \\"customer\\", }); /* Patches a role. */ -await gapi.client.directory.roles.patch({ customer: "customer", roleId: "roleId", }); +await gapi.client.directory.roles.patch({ customer: \\"customer\\", roleId: \\"roleId\\", }); /* Updates a role. */ -await gapi.client.directory.roles.update({ customer: "customer", roleId: "roleId", }); +await gapi.client.directory.roles.update({ customer: \\"customer\\", roleId: \\"roleId\\", }); /* Deletes a schema. */ -await gapi.client.directory.schemas.delete({ customerId: "customerId", schemaKey: "schemaKey", }); +await gapi.client.directory.schemas.delete({ customerId: \\"customerId\\", schemaKey: \\"schemaKey\\", }); /* Retrieves a schema. */ -await gapi.client.directory.schemas.get({ customerId: "customerId", schemaKey: "schemaKey", }); +await gapi.client.directory.schemas.get({ customerId: \\"customerId\\", schemaKey: \\"schemaKey\\", }); /* Creates a schema. */ -await gapi.client.directory.schemas.insert({ customerId: "customerId", }); +await gapi.client.directory.schemas.insert({ customerId: \\"customerId\\", }); /* Retrieves all schemas for a customer. */ -await gapi.client.directory.schemas.list({ customerId: "customerId", }); +await gapi.client.directory.schemas.list({ customerId: \\"customerId\\", }); /* Patches a schema. */ -await gapi.client.directory.schemas.patch({ customerId: "customerId", schemaKey: "schemaKey", }); +await gapi.client.directory.schemas.patch({ customerId: \\"customerId\\", schemaKey: \\"schemaKey\\", }); /* Updates a schema. */ -await gapi.client.directory.schemas.update({ customerId: "customerId", schemaKey: "schemaKey", }); +await gapi.client.directory.schemas.update({ customerId: \\"customerId\\", schemaKey: \\"schemaKey\\", }); /* Deletes all access tokens issued by a user for an application. */ -await gapi.client.directory.tokens.delete({ clientId: "clientId", userKey: "userKey", }); +await gapi.client.directory.tokens.delete({ clientId: \\"clientId\\", userKey: \\"userKey\\", }); /* Gets information about an access token issued by a user. */ -await gapi.client.directory.tokens.get({ clientId: "clientId", userKey: "userKey", }); +await gapi.client.directory.tokens.get({ clientId: \\"clientId\\", userKey: \\"userKey\\", }); /* Returns the set of tokens specified user has issued to 3rd party applications. */ -await gapi.client.directory.tokens.list({ userKey: "userKey", }); +await gapi.client.directory.tokens.list({ userKey: \\"userKey\\", }); /* Turns off 2-Step Verification for user. */ -await gapi.client.directory.twoStepVerification.turnOff({ userKey: "userKey", }); +await gapi.client.directory.twoStepVerification.turnOff({ userKey: \\"userKey\\", }); /* Deletes a user. */ -await gapi.client.directory.users.delete({ userKey: "userKey", }); +await gapi.client.directory.users.delete({ userKey: \\"userKey\\", }); /* Retrieves a user. */ -await gapi.client.directory.users.get({ userKey: "userKey", }); +await gapi.client.directory.users.get({ userKey: \\"userKey\\", }); /* Creates a user. @@ -500,27 +503,27 @@ await gapi.client.directory.users.list({ }); /* Makes a user a super administrator. */ -await gapi.client.directory.users.makeAdmin({ userKey: "userKey", }); +await gapi.client.directory.users.makeAdmin({ userKey: \\"userKey\\", }); /* -Updates a user using patch semantics. The update method should be used instead, since it also supports patch semantics and has better performance. This method is unable to clear fields that contain repeated objects (`addresses`, `phones`, etc). Use the update method instead. +Updates a user using patch semantics. The update method should be used instead, since it also supports patch semantics and has better performance. This method is unable to clear fields that contain repeated objects (\`addresses\`, \`phones\`, etc). Use the update method instead. */ -await gapi.client.directory.users.patch({ userKey: "userKey", }); +await gapi.client.directory.users.patch({ userKey: \\"userKey\\", }); /* Signs a user out of all web and device sessions and reset their sign-in cookies. User will have to sign in by authenticating again. */ -await gapi.client.directory.users.signOut({ userKey: "userKey", }); +await gapi.client.directory.users.signOut({ userKey: \\"userKey\\", }); /* Undeletes a deleted user. */ -await gapi.client.directory.users.undelete({ userKey: "userKey", }); +await gapi.client.directory.users.undelete({ userKey: \\"userKey\\", }); /* -Updates a user. This method supports patch semantics, meaning you only need to include the fields you wish to update. Fields that are not present in the request will be preserved, and fields set to `null` will be cleared. +Updates a user. This method supports patch semantics, meaning you only need to include the fields you wish to update. Fields that are not present in the request will be preserved, and fields set to \`null\` will be cleared. */ -await gapi.client.directory.users.update({ userKey: "userKey", }); +await gapi.client.directory.users.update({ userKey: \\"userKey\\", }); /* Watches for changes in users list. @@ -530,15 +533,17 @@ await gapi.client.directory.users.watch({ }); /* Generates new backup verification codes for the user. */ -await gapi.client.directory.verificationCodes.generate({ userKey: "userKey", }); +await gapi.client.directory.verificationCodes.generate({ userKey: \\"userKey\\", }); /* Invalidates the current backup verification codes for the user. */ -await gapi.client.directory.verificationCodes.invalidate({ userKey: "userKey", }); +await gapi.client.directory.verificationCodes.invalidate({ userKey: \\"userKey\\", }); /* Returns the current set of valid backup verification codes for the specified user. */ -await gapi.client.directory.verificationCodes.list({ userKey: "userKey", }); -``` +await gapi.client.directory.verificationCodes.list({ userKey: \\"userKey\\", }); +\`\`\` +" +`; diff --git a/test/restDocs/snapshots/gapi.client.admin-directory_v1/tests.ts b/test/restDocs/snapshots/gapi.client.admin-directory_v1/tests.ts deleted file mode 100644 index b3281ae10b..0000000000 --- a/test/restDocs/snapshots/gapi.client.admin-directory_v1/tests.ts +++ /dev/null @@ -1,1710 +0,0 @@ -/* This is stub file for gapi.client.admin-directory_v1 definition tests */ -// IMPORTANT -// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually. -// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator - -// Revision: 20220628 - -gapi.load('client', async () => { - /** now we can use gapi.client */ - - await gapi.client.load('http://localhost:3000/admin.json'); - /** now we can use gapi.client.admin, gapi.client.directory */ - - /** don't forget to authenticate your client before sending any request to resources: */ - /** declare client_id registered in Google Developers Console */ - const client_id = '<>'; - const scope = [ - /** See, add, edit, and permanently delete the printers that your organization can use with Chrome */ - 'https://www.googleapis.com/auth/admin.chrome.printers', - /** See the printers that your organization can use with Chrome */ - 'https://www.googleapis.com/auth/admin.chrome.printers.readonly', - /** View and manage customer related information */ - 'https://www.googleapis.com/auth/admin.directory.customer', - /** View customer related information */ - 'https://www.googleapis.com/auth/admin.directory.customer.readonly', - /** View and manage your Chrome OS devices' metadata */ - 'https://www.googleapis.com/auth/admin.directory.device.chromeos', - /** View your Chrome OS devices' metadata */ - 'https://www.googleapis.com/auth/admin.directory.device.chromeos.readonly', - /** View and manage your mobile devices' metadata */ - 'https://www.googleapis.com/auth/admin.directory.device.mobile', - /** Manage your mobile devices by performing administrative tasks */ - 'https://www.googleapis.com/auth/admin.directory.device.mobile.action', - /** View your mobile devices' metadata */ - 'https://www.googleapis.com/auth/admin.directory.device.mobile.readonly', - /** View and manage the provisioning of domains for your customers */ - 'https://www.googleapis.com/auth/admin.directory.domain', - /** View domains related to your customers */ - 'https://www.googleapis.com/auth/admin.directory.domain.readonly', - /** View and manage the provisioning of groups on your domain */ - 'https://www.googleapis.com/auth/admin.directory.group', - /** View and manage group subscriptions on your domain */ - 'https://www.googleapis.com/auth/admin.directory.group.member', - /** View group subscriptions on your domain */ - 'https://www.googleapis.com/auth/admin.directory.group.member.readonly', - /** View groups on your domain */ - 'https://www.googleapis.com/auth/admin.directory.group.readonly', - /** View and manage organization units on your domain */ - 'https://www.googleapis.com/auth/admin.directory.orgunit', - /** View organization units on your domain */ - 'https://www.googleapis.com/auth/admin.directory.orgunit.readonly', - /** View and manage the provisioning of calendar resources on your domain */ - 'https://www.googleapis.com/auth/admin.directory.resource.calendar', - /** View calendar resources on your domain */ - 'https://www.googleapis.com/auth/admin.directory.resource.calendar.readonly', - /** Manage delegated admin roles for your domain */ - 'https://www.googleapis.com/auth/admin.directory.rolemanagement', - /** View delegated admin roles for your domain */ - 'https://www.googleapis.com/auth/admin.directory.rolemanagement.readonly', - /** View and manage the provisioning of users on your domain */ - 'https://www.googleapis.com/auth/admin.directory.user', - /** View and manage user aliases on your domain */ - 'https://www.googleapis.com/auth/admin.directory.user.alias', - /** View user aliases on your domain */ - 'https://www.googleapis.com/auth/admin.directory.user.alias.readonly', - /** See info about users on your domain */ - 'https://www.googleapis.com/auth/admin.directory.user.readonly', - /** Manage data access permissions for users on your domain */ - 'https://www.googleapis.com/auth/admin.directory.user.security', - /** View and manage the provisioning of user schemas on your domain */ - 'https://www.googleapis.com/auth/admin.directory.userschema', - /** View user schemas on your domain */ - 'https://www.googleapis.com/auth/admin.directory.userschema.readonly', - /** See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account. */ - 'https://www.googleapis.com/auth/cloud-platform', - ]; - const immediate = false; - gapi.auth.authorize({ client_id, scope, immediate }, authResult => { - if (authResult && !authResult.error) { - /** handle successful authorization */ - run(); - } else { - /** handle authorization error */ - } - }); - - async function run() { - /** Stops watching resources through this channel. */ - await gapi.client.admin.channels.stop({ - }, { - address: "Test string", - expiration: "Test string", - id: "Test string", - kind: "Test string", - params: { - A: "Test string" - }, - payload: true, - resourceId: "Test string", - resourceUri: "Test string", - token: "Test string", - type: "Test string", - }); - /** Issues a command for the device to execute. */ - await gapi.client.admin.customer.devices.chromeos.issueCommand({ - customerId: "Test string", - deviceId: "Test string", - }, { - commandType: "Test string", - payload: "Test string", - }); - /** Gets command data a specific command issued to the device. */ - await gapi.client.admin.customer.devices.chromeos.commands.get({ - commandId: "Test string", - customerId: "Test string", - deviceId: "Test string", - }); - /** Creates printers under given Organization Unit. */ - await gapi.client.admin.customers.chrome.printers.batchCreatePrinters({ - parent: "Test string", - }, { - requests: [ - { - parent: "Test string", - printer: { - auxiliaryMessages: [ - { - auxiliaryMessage: "Test string", - fieldMask: "Test string", - severity: "Test string", - } - ], - createTime: "Test string", - description: "Test string", - displayName: "Test string", - id: "Test string", - makeAndModel: "Test string", - name: "Test string", - orgUnitId: "Test string", - uri: "Test string", - useDriverlessConfig: true, - }, - } - ], - }); - /** Deletes printers in batch. */ - await gapi.client.admin.customers.chrome.printers.batchDeletePrinters({ - parent: "Test string", - }, { - printerIds: [ - "Test string" - ], - }); - /** Creates a printer under given Organization Unit. */ - await gapi.client.admin.customers.chrome.printers.create({ - parent: "Test string", - }, { - auxiliaryMessages: [ - { - auxiliaryMessage: "Test string", - fieldMask: "Test string", - severity: "Test string", - } - ], - createTime: "Test string", - description: "Test string", - displayName: "Test string", - id: "Test string", - makeAndModel: "Test string", - name: "Test string", - orgUnitId: "Test string", - uri: "Test string", - useDriverlessConfig: true, - }); - /** Deletes a `Printer`. */ - await gapi.client.admin.customers.chrome.printers.delete({ - name: "Test string", - }); - /** Returns a `Printer` resource (printer's config). */ - await gapi.client.admin.customers.chrome.printers.get({ - name: "Test string", - }); - /** List printers configs. */ - await gapi.client.admin.customers.chrome.printers.list({ - filter: "Test string", - orderBy: "Test string", - orgUnitId: "Test string", - pageSize: 42, - pageToken: "Test string", - parent: "Test string", - }); - /** Lists the supported printer models. */ - await gapi.client.admin.customers.chrome.printers.listPrinterModels({ - filter: "Test string", - pageSize: 42, - pageToken: "Test string", - parent: "Test string", - }); - /** Updates a `Printer` resource. */ - await gapi.client.admin.customers.chrome.printers.patch({ - clearMask: "Test string", - name: "Test string", - updateMask: "Test string", - }, { - auxiliaryMessages: [ - { - auxiliaryMessage: "Test string", - fieldMask: "Test string", - severity: "Test string", - } - ], - createTime: "Test string", - description: "Test string", - displayName: "Test string", - id: "Test string", - makeAndModel: "Test string", - name: "Test string", - orgUnitId: "Test string", - uri: "Test string", - useDriverlessConfig: true, - }); - /** Deletes an ASP issued by a user. */ - await gapi.client.directory.asps.delete({ - codeId: 42, - userKey: "Test string", - }); - /** Gets information about an ASP issued by a user. */ - await gapi.client.directory.asps.get({ - codeId: 42, - userKey: "Test string", - }); - /** Lists the ASPs issued by a user. */ - await gapi.client.directory.asps.list({ - userKey: "Test string", - }); - /** - * Takes an action that affects a Chrome OS Device. This includes deprovisioning, disabling, and re-enabling devices. *Warning:* * Deprovisioning a device will stop device policy syncing - * and remove device-level printers. After a device is deprovisioned, it must be wiped before it can be re-enrolled. * Lost or stolen devices should use the disable action. * Re-enabling a - * disabled device will consume a device license. If you do not have sufficient licenses available when completing the re-enable action, you will receive an error. For more information - * about deprovisioning and disabling devices, visit the [help center](https://support.google.com/chrome/a/answer/3523633). - */ - await gapi.client.directory.chromeosdevices.action({ - customerId: "Test string", - resourceId: "Test string", - }, { - action: "Test string", - deprovisionReason: "Test string", - }); - /** Retrieves a Chrome OS device's properties. */ - await gapi.client.directory.chromeosdevices.get({ - customerId: "Test string", - deviceId: "Test string", - projection: "Test string", - }); - /** Retrieves a paginated list of Chrome OS devices within an account. */ - await gapi.client.directory.chromeosdevices.list({ - customerId: "Test string", - includeChildOrgunits: true, - maxResults: 42, - orderBy: "Test string", - orgUnitPath: "Test string", - pageToken: "Test string", - projection: "Test string", - query: "Test string", - sortOrder: "Test string", - }); - /** Moves or inserts multiple Chrome OS devices to an organizational unit. You can move up to 50 devices at once. */ - await gapi.client.directory.chromeosdevices.moveDevicesToOu({ - customerId: "Test string", - orgUnitPath: "Test string", - }, { - deviceIds: [ - "Test string" - ], - }); - /** - * Updates a device's updatable properties, such as `annotatedUser`, `annotatedLocation`, `notes`, `orgUnitPath`, or `annotatedAssetId`. This method supports [patch - * semantics](/admin-sdk/directory/v1/guides/performance#patch). - */ - await gapi.client.directory.chromeosdevices.patch({ - customerId: "Test string", - deviceId: "Test string", - projection: "Test string", - }, { - activeTimeRanges: [ - { - activeTime: 42, - date: "Test string", - } - ], - annotatedAssetId: "Test string", - annotatedLocation: "Test string", - annotatedUser: "Test string", - autoUpdateExpiration: "Test string", - bootMode: "Test string", - cpuInfo: [ - { - architecture: "Test string", - logicalCpus: [ - { - cStates: [ - { - displayName: "Test string", - sessionDuration: "Test string", - } - ], - currentScalingFrequencyKhz: 42, - idleDuration: "Test string", - maxScalingFrequencyKhz: 42, - } - ], - maxClockSpeedKhz: 42, - model: "Test string", - } - ], - cpuStatusReports: [ - { - cpuTemperatureInfo: [ - { - label: "Test string", - temperature: 42, - } - ], - cpuUtilizationPercentageInfo: [ - 42 - ], - reportTime: "Test string", - } - ], - deviceFiles: [ - { - createTime: "Test string", - downloadUrl: "Test string", - name: "Test string", - type: "Test string", - } - ], - deviceId: "Test string", - diskVolumeReports: [ - { - volumeInfo: [ - { - storageFree: "Test string", - storageTotal: "Test string", - volumeId: "Test string", - } - ], - } - ], - dockMacAddress: "Test string", - etag: "Test string", - ethernetMacAddress: "Test string", - ethernetMacAddress0: "Test string", - firmwareVersion: "Test string", - kind: "Test string", - lastEnrollmentTime: "Test string", - lastKnownNetwork: [ - { - ipAddress: "Test string", - wanIpAddress: "Test string", - } - ], - lastSync: "Test string", - macAddress: "Test string", - manufactureDate: "Test string", - meid: "Test string", - model: "Test string", - notes: "Test string", - orderNumber: "Test string", - orgUnitId: "Test string", - orgUnitPath: "Test string", - osVersion: "Test string", - platformVersion: "Test string", - recentUsers: [ - { - email: "Test string", - type: "Test string", - } - ], - screenshotFiles: [ - { - createTime: "Test string", - downloadUrl: "Test string", - name: "Test string", - type: "Test string", - } - ], - serialNumber: "Test string", - status: "Test string", - supportEndDate: "Test string", - systemRamFreeReports: [ - { - reportTime: "Test string", - systemRamFreeInfo: [ - "Test string" - ], - } - ], - systemRamTotal: "Test string", - tpmVersionInfo: { - family: "Test string", - firmwareVersion: "Test string", - manufacturer: "Test string", - specLevel: "Test string", - tpmModel: "Test string", - vendorSpecific: "Test string", - }, - willAutoRenew: true, - }); - /** Updates a device's updatable properties, such as `annotatedUser`, `annotatedLocation`, `notes`, `orgUnitPath`, or `annotatedAssetId`. */ - await gapi.client.directory.chromeosdevices.update({ - customerId: "Test string", - deviceId: "Test string", - projection: "Test string", - }, { - activeTimeRanges: [ - { - activeTime: 42, - date: "Test string", - } - ], - annotatedAssetId: "Test string", - annotatedLocation: "Test string", - annotatedUser: "Test string", - autoUpdateExpiration: "Test string", - bootMode: "Test string", - cpuInfo: [ - { - architecture: "Test string", - logicalCpus: [ - { - cStates: [ - { - displayName: "Test string", - sessionDuration: "Test string", - } - ], - currentScalingFrequencyKhz: 42, - idleDuration: "Test string", - maxScalingFrequencyKhz: 42, - } - ], - maxClockSpeedKhz: 42, - model: "Test string", - } - ], - cpuStatusReports: [ - { - cpuTemperatureInfo: [ - { - label: "Test string", - temperature: 42, - } - ], - cpuUtilizationPercentageInfo: [ - 42 - ], - reportTime: "Test string", - } - ], - deviceFiles: [ - { - createTime: "Test string", - downloadUrl: "Test string", - name: "Test string", - type: "Test string", - } - ], - deviceId: "Test string", - diskVolumeReports: [ - { - volumeInfo: [ - { - storageFree: "Test string", - storageTotal: "Test string", - volumeId: "Test string", - } - ], - } - ], - dockMacAddress: "Test string", - etag: "Test string", - ethernetMacAddress: "Test string", - ethernetMacAddress0: "Test string", - firmwareVersion: "Test string", - kind: "Test string", - lastEnrollmentTime: "Test string", - lastKnownNetwork: [ - { - ipAddress: "Test string", - wanIpAddress: "Test string", - } - ], - lastSync: "Test string", - macAddress: "Test string", - manufactureDate: "Test string", - meid: "Test string", - model: "Test string", - notes: "Test string", - orderNumber: "Test string", - orgUnitId: "Test string", - orgUnitPath: "Test string", - osVersion: "Test string", - platformVersion: "Test string", - recentUsers: [ - { - email: "Test string", - type: "Test string", - } - ], - screenshotFiles: [ - { - createTime: "Test string", - downloadUrl: "Test string", - name: "Test string", - type: "Test string", - } - ], - serialNumber: "Test string", - status: "Test string", - supportEndDate: "Test string", - systemRamFreeReports: [ - { - reportTime: "Test string", - systemRamFreeInfo: [ - "Test string" - ], - } - ], - systemRamTotal: "Test string", - tpmVersionInfo: { - family: "Test string", - firmwareVersion: "Test string", - manufacturer: "Test string", - specLevel: "Test string", - tpmModel: "Test string", - vendorSpecific: "Test string", - }, - willAutoRenew: true, - }); - /** Retrieves a customer. */ - await gapi.client.directory.customers.get({ - customerKey: "Test string", - }); - /** Patches a customer. */ - await gapi.client.directory.customers.patch({ - customerKey: "Test string", - }, { - alternateEmail: "Test string", - customerCreationTime: "Test string", - customerDomain: "Test string", - etag: "Test string", - id: "Test string", - kind: "Test string", - language: "Test string", - phoneNumber: "Test string", - postalAddress: { - addressLine1: "Test string", - addressLine2: "Test string", - addressLine3: "Test string", - contactName: "Test string", - countryCode: "Test string", - locality: "Test string", - organizationName: "Test string", - postalCode: "Test string", - region: "Test string", - }, - }); - /** Updates a customer. */ - await gapi.client.directory.customers.update({ - customerKey: "Test string", - }, { - alternateEmail: "Test string", - customerCreationTime: "Test string", - customerDomain: "Test string", - etag: "Test string", - id: "Test string", - kind: "Test string", - language: "Test string", - phoneNumber: "Test string", - postalAddress: { - addressLine1: "Test string", - addressLine2: "Test string", - addressLine3: "Test string", - contactName: "Test string", - countryCode: "Test string", - locality: "Test string", - organizationName: "Test string", - postalCode: "Test string", - region: "Test string", - }, - }); - /** Deletes a domain Alias of the customer. */ - await gapi.client.directory.domainAliases.delete({ - customer: "Test string", - domainAliasName: "Test string", - }); - /** Retrieves a domain alias of the customer. */ - await gapi.client.directory.domainAliases.get({ - customer: "Test string", - domainAliasName: "Test string", - }); - /** Inserts a domain alias of the customer. */ - await gapi.client.directory.domainAliases.insert({ - customer: "Test string", - }, { - creationTime: "Test string", - domainAliasName: "Test string", - etag: "Test string", - kind: "Test string", - parentDomainName: "Test string", - verified: true, - }); - /** Lists the domain aliases of the customer. */ - await gapi.client.directory.domainAliases.list({ - customer: "Test string", - parentDomainName: "Test string", - }); - /** Deletes a domain of the customer. */ - await gapi.client.directory.domains.delete({ - customer: "Test string", - domainName: "Test string", - }); - /** Retrieves a domain of the customer. */ - await gapi.client.directory.domains.get({ - customer: "Test string", - domainName: "Test string", - }); - /** Inserts a domain of the customer. */ - await gapi.client.directory.domains.insert({ - customer: "Test string", - }, { - creationTime: "Test string", - domainAliases: [ - { - creationTime: "Test string", - domainAliasName: "Test string", - etag: "Test string", - kind: "Test string", - parentDomainName: "Test string", - verified: true, - } - ], - domainName: "Test string", - etag: "Test string", - isPrimary: true, - kind: "Test string", - verified: true, - }); - /** Lists the domains of the customer. */ - await gapi.client.directory.domains.list({ - customer: "Test string", - }); - /** Deletes a group. */ - await gapi.client.directory.groups.delete({ - groupKey: "Test string", - }); - /** Retrieves a group's properties. */ - await gapi.client.directory.groups.get({ - groupKey: "Test string", - }); - /** Creates a group. */ - await gapi.client.directory.groups.insert({ - }, { - adminCreated: true, - aliases: [ - "Test string" - ], - description: "Test string", - directMembersCount: "Test string", - email: "Test string", - etag: "Test string", - id: "Test string", - kind: "Test string", - name: "Test string", - nonEditableAliases: [ - "Test string" - ], - }); - /** Retrieves all groups of a domain or of a user given a userKey (paginated). */ - await gapi.client.directory.groups.list({ - customer: "Test string", - domain: "Test string", - maxResults: 42, - orderBy: "Test string", - pageToken: "Test string", - query: "Test string", - sortOrder: "Test string", - userKey: "Test string", - }); - /** Updates a group's properties. This method supports [patch semantics](/admin-sdk/directory/v1/guides/performance#patch). */ - await gapi.client.directory.groups.patch({ - groupKey: "Test string", - }, { - adminCreated: true, - aliases: [ - "Test string" - ], - description: "Test string", - directMembersCount: "Test string", - email: "Test string", - etag: "Test string", - id: "Test string", - kind: "Test string", - name: "Test string", - nonEditableAliases: [ - "Test string" - ], - }); - /** Updates a group's properties. */ - await gapi.client.directory.groups.update({ - groupKey: "Test string", - }, { - adminCreated: true, - aliases: [ - "Test string" - ], - description: "Test string", - directMembersCount: "Test string", - email: "Test string", - etag: "Test string", - id: "Test string", - kind: "Test string", - name: "Test string", - nonEditableAliases: [ - "Test string" - ], - }); - /** Removes an alias. */ - await gapi.client.directory.groups.aliases.delete({ - alias: "Test string", - groupKey: "Test string", - }); - /** Adds an alias for the group. */ - await gapi.client.directory.groups.aliases.insert({ - groupKey: "Test string", - }, { - alias: "Test string", - etag: "Test string", - id: "Test string", - kind: "Test string", - primaryEmail: "Test string", - }); - /** Lists all aliases for a group. */ - await gapi.client.directory.groups.aliases.list({ - groupKey: "Test string", - }); - /** Removes a member from a group. */ - await gapi.client.directory.members.delete({ - groupKey: "Test string", - memberKey: "Test string", - }); - /** Retrieves a group member's properties. */ - await gapi.client.directory.members.get({ - groupKey: "Test string", - memberKey: "Test string", - }); - /** Checks whether the given user is a member of the group. Membership can be direct or nested. */ - await gapi.client.directory.members.hasMember({ - groupKey: "Test string", - memberKey: "Test string", - }); - /** Adds a user to the specified group. */ - await gapi.client.directory.members.insert({ - groupKey: "Test string", - }, { - delivery_settings: "Test string", - email: "Test string", - etag: "Test string", - id: "Test string", - kind: "Test string", - role: "Test string", - status: "Test string", - type: "Test string", - }); - /** Retrieves a paginated list of all members in a group. */ - await gapi.client.directory.members.list({ - groupKey: "Test string", - includeDerivedMembership: true, - maxResults: 42, - pageToken: "Test string", - roles: "Test string", - }); - /** Updates the membership properties of a user in the specified group. This method supports [patch semantics](/admin-sdk/directory/v1/guides/performance#patch). */ - await gapi.client.directory.members.patch({ - groupKey: "Test string", - memberKey: "Test string", - }, { - delivery_settings: "Test string", - email: "Test string", - etag: "Test string", - id: "Test string", - kind: "Test string", - role: "Test string", - status: "Test string", - type: "Test string", - }); - /** Updates the membership of a user in the specified group. */ - await gapi.client.directory.members.update({ - groupKey: "Test string", - memberKey: "Test string", - }, { - delivery_settings: "Test string", - email: "Test string", - etag: "Test string", - id: "Test string", - kind: "Test string", - role: "Test string", - status: "Test string", - type: "Test string", - }); - /** Takes an action that affects a mobile device. For example, remotely wiping a device. */ - await gapi.client.directory.mobiledevices.action({ - customerId: "Test string", - resourceId: "Test string", - }, { - action: "Test string", - }); - /** Removes a mobile device. */ - await gapi.client.directory.mobiledevices.delete({ - customerId: "Test string", - resourceId: "Test string", - }); - /** Retrieves a mobile device's properties. */ - await gapi.client.directory.mobiledevices.get({ - customerId: "Test string", - projection: "Test string", - resourceId: "Test string", - }); - /** - * Retrieves a paginated list of all user-owned mobile devices for an account. To retrieve a list that includes company-owned devices, use the Cloud Identity [Devices - * API](https://cloud.google.com/identity/docs/concepts/overview-devices) instead. - */ - await gapi.client.directory.mobiledevices.list({ - customerId: "Test string", - maxResults: 42, - orderBy: "Test string", - pageToken: "Test string", - projection: "Test string", - query: "Test string", - sortOrder: "Test string", - }); - /** Removes an organizational unit. */ - await gapi.client.directory.orgunits.delete({ - customerId: "Test string", - orgUnitPath: "Test string", - }); - /** Retrieves an organizational unit. */ - await gapi.client.directory.orgunits.get({ - customerId: "Test string", - orgUnitPath: "Test string", - }); - /** Adds an organizational unit. */ - await gapi.client.directory.orgunits.insert({ - customerId: "Test string", - }, { - blockInheritance: true, - description: "Test string", - etag: "Test string", - kind: "Test string", - name: "Test string", - orgUnitId: "Test string", - orgUnitPath: "Test string", - parentOrgUnitId: "Test string", - parentOrgUnitPath: "Test string", - }); - /** Retrieves a list of all organizational units for an account. */ - await gapi.client.directory.orgunits.list({ - customerId: "Test string", - orgUnitPath: "Test string", - type: "Test string", - }); - /** Updates an organizational unit. This method supports [patch semantics](/admin-sdk/directory/v1/guides/performance#patch) */ - await gapi.client.directory.orgunits.patch({ - customerId: "Test string", - orgUnitPath: "Test string", - }, { - blockInheritance: true, - description: "Test string", - etag: "Test string", - kind: "Test string", - name: "Test string", - orgUnitId: "Test string", - orgUnitPath: "Test string", - parentOrgUnitId: "Test string", - parentOrgUnitPath: "Test string", - }); - /** Updates an organizational unit. */ - await gapi.client.directory.orgunits.update({ - customerId: "Test string", - orgUnitPath: "Test string", - }, { - blockInheritance: true, - description: "Test string", - etag: "Test string", - kind: "Test string", - name: "Test string", - orgUnitId: "Test string", - orgUnitPath: "Test string", - parentOrgUnitId: "Test string", - parentOrgUnitPath: "Test string", - }); - /** Retrieves a paginated list of all privileges for a customer. */ - await gapi.client.directory.privileges.list({ - customer: "Test string", - }); - /** Deletes a building. */ - await gapi.client.directory.resources.buildings.delete({ - buildingId: "Test string", - customer: "Test string", - }); - /** Retrieves a building. */ - await gapi.client.directory.resources.buildings.get({ - buildingId: "Test string", - customer: "Test string", - }); - /** Inserts a building. */ - await gapi.client.directory.resources.buildings.insert({ - coordinatesSource: "Test string", - customer: "Test string", - }, { - address: { - addressLines: [ - "Test string" - ], - administrativeArea: "Test string", - languageCode: "Test string", - locality: "Test string", - postalCode: "Test string", - regionCode: "Test string", - sublocality: "Test string", - }, - buildingId: "Test string", - buildingName: "Test string", - coordinates: { - latitude: 42, - longitude: 42, - }, - description: "Test string", - etags: "Test string", - floorNames: [ - "Test string" - ], - kind: "Test string", - }); - /** Retrieves a list of buildings for an account. */ - await gapi.client.directory.resources.buildings.list({ - customer: "Test string", - maxResults: 42, - pageToken: "Test string", - }); - /** Patches a building. */ - await gapi.client.directory.resources.buildings.patch({ - buildingId: "Test string", - coordinatesSource: "Test string", - customer: "Test string", - }, { - address: { - addressLines: [ - "Test string" - ], - administrativeArea: "Test string", - languageCode: "Test string", - locality: "Test string", - postalCode: "Test string", - regionCode: "Test string", - sublocality: "Test string", - }, - buildingId: "Test string", - buildingName: "Test string", - coordinates: { - latitude: 42, - longitude: 42, - }, - description: "Test string", - etags: "Test string", - floorNames: [ - "Test string" - ], - kind: "Test string", - }); - /** Updates a building. */ - await gapi.client.directory.resources.buildings.update({ - buildingId: "Test string", - coordinatesSource: "Test string", - customer: "Test string", - }, { - address: { - addressLines: [ - "Test string" - ], - administrativeArea: "Test string", - languageCode: "Test string", - locality: "Test string", - postalCode: "Test string", - regionCode: "Test string", - sublocality: "Test string", - }, - buildingId: "Test string", - buildingName: "Test string", - coordinates: { - latitude: 42, - longitude: 42, - }, - description: "Test string", - etags: "Test string", - floorNames: [ - "Test string" - ], - kind: "Test string", - }); - /** Deletes a calendar resource. */ - await gapi.client.directory.resources.calendars.delete({ - calendarResourceId: "Test string", - customer: "Test string", - }); - /** Retrieves a calendar resource. */ - await gapi.client.directory.resources.calendars.get({ - calendarResourceId: "Test string", - customer: "Test string", - }); - /** Inserts a calendar resource. */ - await gapi.client.directory.resources.calendars.insert({ - customer: "Test string", - }, { - buildingId: "Test string", - capacity: 42, - etags: "Test string", - featureInstances: 42, - floorName: "Test string", - floorSection: "Test string", - generatedResourceName: "Test string", - kind: "Test string", - resourceCategory: "Test string", - resourceDescription: "Test string", - resourceEmail: "Test string", - resourceId: "Test string", - resourceName: "Test string", - resourceType: "Test string", - userVisibleDescription: "Test string", - }); - /** Retrieves a list of calendar resources for an account. */ - await gapi.client.directory.resources.calendars.list({ - customer: "Test string", - maxResults: 42, - orderBy: "Test string", - pageToken: "Test string", - query: "Test string", - }); - /** Patches a calendar resource. */ - await gapi.client.directory.resources.calendars.patch({ - calendarResourceId: "Test string", - customer: "Test string", - }, { - buildingId: "Test string", - capacity: 42, - etags: "Test string", - featureInstances: 42, - floorName: "Test string", - floorSection: "Test string", - generatedResourceName: "Test string", - kind: "Test string", - resourceCategory: "Test string", - resourceDescription: "Test string", - resourceEmail: "Test string", - resourceId: "Test string", - resourceName: "Test string", - resourceType: "Test string", - userVisibleDescription: "Test string", - }); - /** - * Updates a calendar resource. This method supports patch semantics, meaning you only need to include the fields you wish to update. Fields that are not present in the request will be - * preserved. - */ - await gapi.client.directory.resources.calendars.update({ - calendarResourceId: "Test string", - customer: "Test string", - }, { - buildingId: "Test string", - capacity: 42, - etags: "Test string", - featureInstances: 42, - floorName: "Test string", - floorSection: "Test string", - generatedResourceName: "Test string", - kind: "Test string", - resourceCategory: "Test string", - resourceDescription: "Test string", - resourceEmail: "Test string", - resourceId: "Test string", - resourceName: "Test string", - resourceType: "Test string", - userVisibleDescription: "Test string", - }); - /** Deletes a feature. */ - await gapi.client.directory.resources.features.delete({ - customer: "Test string", - featureKey: "Test string", - }); - /** Retrieves a feature. */ - await gapi.client.directory.resources.features.get({ - customer: "Test string", - featureKey: "Test string", - }); - /** Inserts a feature. */ - await gapi.client.directory.resources.features.insert({ - customer: "Test string", - }, { - etags: "Test string", - kind: "Test string", - name: "Test string", - }); - /** Retrieves a list of features for an account. */ - await gapi.client.directory.resources.features.list({ - customer: "Test string", - maxResults: 42, - pageToken: "Test string", - }); - /** Patches a feature. */ - await gapi.client.directory.resources.features.patch({ - customer: "Test string", - featureKey: "Test string", - }, { - etags: "Test string", - kind: "Test string", - name: "Test string", - }); - /** Renames a feature. */ - await gapi.client.directory.resources.features.rename({ - customer: "Test string", - oldName: "Test string", - }, { - newName: "Test string", - }); - /** Updates a feature. */ - await gapi.client.directory.resources.features.update({ - customer: "Test string", - featureKey: "Test string", - }, { - etags: "Test string", - kind: "Test string", - name: "Test string", - }); - /** Deletes a role assignment. */ - await gapi.client.directory.roleAssignments.delete({ - customer: "Test string", - roleAssignmentId: "Test string", - }); - /** Retrieves a role assignment. */ - await gapi.client.directory.roleAssignments.get({ - customer: "Test string", - roleAssignmentId: "Test string", - }); - /** Creates a role assignment. */ - await gapi.client.directory.roleAssignments.insert({ - customer: "Test string", - }, { - assignedTo: "Test string", - etag: "Test string", - kind: "Test string", - orgUnitId: "Test string", - roleAssignmentId: "Test string", - roleId: "Test string", - scopeType: "Test string", - }); - /** Retrieves a paginated list of all roleAssignments. */ - await gapi.client.directory.roleAssignments.list({ - customer: "Test string", - maxResults: 42, - pageToken: "Test string", - roleId: "Test string", - userKey: "Test string", - }); - /** Deletes a role. */ - await gapi.client.directory.roles.delete({ - customer: "Test string", - roleId: "Test string", - }); - /** Retrieves a role. */ - await gapi.client.directory.roles.get({ - customer: "Test string", - roleId: "Test string", - }); - /** Creates a role. */ - await gapi.client.directory.roles.insert({ - customer: "Test string", - }, { - etag: "Test string", - isSuperAdminRole: true, - isSystemRole: true, - kind: "Test string", - roleDescription: "Test string", - roleId: "Test string", - roleName: "Test string", - rolePrivileges: [ - { - privilegeName: "Test string", - serviceId: "Test string", - } - ], - }); - /** Retrieves a paginated list of all the roles in a domain. */ - await gapi.client.directory.roles.list({ - customer: "Test string", - maxResults: 42, - pageToken: "Test string", - }); - /** Patches a role. */ - await gapi.client.directory.roles.patch({ - customer: "Test string", - roleId: "Test string", - }, { - etag: "Test string", - isSuperAdminRole: true, - isSystemRole: true, - kind: "Test string", - roleDescription: "Test string", - roleId: "Test string", - roleName: "Test string", - rolePrivileges: [ - { - privilegeName: "Test string", - serviceId: "Test string", - } - ], - }); - /** Updates a role. */ - await gapi.client.directory.roles.update({ - customer: "Test string", - roleId: "Test string", - }, { - etag: "Test string", - isSuperAdminRole: true, - isSystemRole: true, - kind: "Test string", - roleDescription: "Test string", - roleId: "Test string", - roleName: "Test string", - rolePrivileges: [ - { - privilegeName: "Test string", - serviceId: "Test string", - } - ], - }); - /** Deletes a schema. */ - await gapi.client.directory.schemas.delete({ - customerId: "Test string", - schemaKey: "Test string", - }); - /** Retrieves a schema. */ - await gapi.client.directory.schemas.get({ - customerId: "Test string", - schemaKey: "Test string", - }); - /** Creates a schema. */ - await gapi.client.directory.schemas.insert({ - customerId: "Test string", - }, { - displayName: "Test string", - etag: "Test string", - fields: [ - { - displayName: "Test string", - etag: "Test string", - fieldId: "Test string", - fieldName: "Test string", - fieldType: "Test string", - indexed: true, - kind: "Test string", - multiValued: true, - numericIndexingSpec: { - maxValue: 42, - minValue: 42, - }, - readAccessType: "Test string", - } - ], - kind: "Test string", - schemaId: "Test string", - schemaName: "Test string", - }); - /** Retrieves all schemas for a customer. */ - await gapi.client.directory.schemas.list({ - customerId: "Test string", - }); - /** Patches a schema. */ - await gapi.client.directory.schemas.patch({ - customerId: "Test string", - schemaKey: "Test string", - }, { - displayName: "Test string", - etag: "Test string", - fields: [ - { - displayName: "Test string", - etag: "Test string", - fieldId: "Test string", - fieldName: "Test string", - fieldType: "Test string", - indexed: true, - kind: "Test string", - multiValued: true, - numericIndexingSpec: { - maxValue: 42, - minValue: 42, - }, - readAccessType: "Test string", - } - ], - kind: "Test string", - schemaId: "Test string", - schemaName: "Test string", - }); - /** Updates a schema. */ - await gapi.client.directory.schemas.update({ - customerId: "Test string", - schemaKey: "Test string", - }, { - displayName: "Test string", - etag: "Test string", - fields: [ - { - displayName: "Test string", - etag: "Test string", - fieldId: "Test string", - fieldName: "Test string", - fieldType: "Test string", - indexed: true, - kind: "Test string", - multiValued: true, - numericIndexingSpec: { - maxValue: 42, - minValue: 42, - }, - readAccessType: "Test string", - } - ], - kind: "Test string", - schemaId: "Test string", - schemaName: "Test string", - }); - /** Deletes all access tokens issued by a user for an application. */ - await gapi.client.directory.tokens.delete({ - clientId: "Test string", - userKey: "Test string", - }); - /** Gets information about an access token issued by a user. */ - await gapi.client.directory.tokens.get({ - clientId: "Test string", - userKey: "Test string", - }); - /** Returns the set of tokens specified user has issued to 3rd party applications. */ - await gapi.client.directory.tokens.list({ - userKey: "Test string", - }); - /** Turns off 2-Step Verification for user. */ - await gapi.client.directory.twoStepVerification.turnOff({ - userKey: "Test string", - }); - /** Deletes a user. */ - await gapi.client.directory.users.delete({ - userKey: "Test string", - }); - /** Retrieves a user. */ - await gapi.client.directory.users.get({ - customFieldMask: "Test string", - projection: "Test string", - userKey: "Test string", - viewType: "Test string", - }); - /** Creates a user. */ - await gapi.client.directory.users.insert({ - }, { - addresses: 42, - agreedToTerms: true, - aliases: [ - "Test string" - ], - archived: true, - changePasswordAtNextLogin: true, - creationTime: "Test string", - customerId: "Test string", - customSchemas: { - A: { - A: 42 - } - }, - deletionTime: "Test string", - emails: 42, - etag: "Test string", - externalIds: 42, - gender: 42, - hashFunction: "Test string", - id: "Test string", - ims: 42, - includeInGlobalAddressList: true, - ipWhitelisted: true, - isAdmin: true, - isDelegatedAdmin: true, - isEnforcedIn2Sv: true, - isEnrolledIn2Sv: true, - isMailboxSetup: true, - keywords: 42, - kind: "Test string", - languages: 42, - lastLoginTime: "Test string", - locations: 42, - name: { - familyName: "Test string", - fullName: "Test string", - givenName: "Test string", - }, - nonEditableAliases: [ - "Test string" - ], - notes: 42, - organizations: 42, - orgUnitPath: "Test string", - password: "Test string", - phones: 42, - posixAccounts: 42, - primaryEmail: "Test string", - recoveryEmail: "Test string", - recoveryPhone: "Test string", - relations: 42, - sshPublicKeys: 42, - suspended: true, - suspensionReason: "Test string", - thumbnailPhotoEtag: "Test string", - thumbnailPhotoUrl: "Test string", - websites: 42, - }); - /** Retrieves a paginated list of either deleted users or all users in a domain. */ - await gapi.client.directory.users.list({ - customer: "Test string", - customFieldMask: "Test string", - domain: "Test string", - event: "Test string", - maxResults: 42, - orderBy: "Test string", - pageToken: "Test string", - projection: "Test string", - query: "Test string", - showDeleted: "Test string", - sortOrder: "Test string", - viewType: "Test string", - }); - /** Makes a user a super administrator. */ - await gapi.client.directory.users.makeAdmin({ - userKey: "Test string", - }, { - status: true, - }); - /** - * Updates a user using patch semantics. The update method should be used instead, since it also supports patch semantics and has better performance. This method is unable to clear fields - * that contain repeated objects (`addresses`, `phones`, etc). Use the update method instead. - */ - await gapi.client.directory.users.patch({ - userKey: "Test string", - }, { - addresses: 42, - agreedToTerms: true, - aliases: [ - "Test string" - ], - archived: true, - changePasswordAtNextLogin: true, - creationTime: "Test string", - customerId: "Test string", - customSchemas: { - A: { - A: 42 - } - }, - deletionTime: "Test string", - emails: 42, - etag: "Test string", - externalIds: 42, - gender: 42, - hashFunction: "Test string", - id: "Test string", - ims: 42, - includeInGlobalAddressList: true, - ipWhitelisted: true, - isAdmin: true, - isDelegatedAdmin: true, - isEnforcedIn2Sv: true, - isEnrolledIn2Sv: true, - isMailboxSetup: true, - keywords: 42, - kind: "Test string", - languages: 42, - lastLoginTime: "Test string", - locations: 42, - name: { - familyName: "Test string", - fullName: "Test string", - givenName: "Test string", - }, - nonEditableAliases: [ - "Test string" - ], - notes: 42, - organizations: 42, - orgUnitPath: "Test string", - password: "Test string", - phones: 42, - posixAccounts: 42, - primaryEmail: "Test string", - recoveryEmail: "Test string", - recoveryPhone: "Test string", - relations: 42, - sshPublicKeys: 42, - suspended: true, - suspensionReason: "Test string", - thumbnailPhotoEtag: "Test string", - thumbnailPhotoUrl: "Test string", - websites: 42, - }); - /** Signs a user out of all web and device sessions and reset their sign-in cookies. User will have to sign in by authenticating again. */ - await gapi.client.directory.users.signOut({ - userKey: "Test string", - }); - /** Undeletes a deleted user. */ - await gapi.client.directory.users.undelete({ - userKey: "Test string", - }, { - orgUnitPath: "Test string", - }); - /** - * Updates a user. This method supports patch semantics, meaning you only need to include the fields you wish to update. Fields that are not present in the request will be preserved, and - * fields set to `null` will be cleared. - */ - await gapi.client.directory.users.update({ - userKey: "Test string", - }, { - addresses: 42, - agreedToTerms: true, - aliases: [ - "Test string" - ], - archived: true, - changePasswordAtNextLogin: true, - creationTime: "Test string", - customerId: "Test string", - customSchemas: { - A: { - A: 42 - } - }, - deletionTime: "Test string", - emails: 42, - etag: "Test string", - externalIds: 42, - gender: 42, - hashFunction: "Test string", - id: "Test string", - ims: 42, - includeInGlobalAddressList: true, - ipWhitelisted: true, - isAdmin: true, - isDelegatedAdmin: true, - isEnforcedIn2Sv: true, - isEnrolledIn2Sv: true, - isMailboxSetup: true, - keywords: 42, - kind: "Test string", - languages: 42, - lastLoginTime: "Test string", - locations: 42, - name: { - familyName: "Test string", - fullName: "Test string", - givenName: "Test string", - }, - nonEditableAliases: [ - "Test string" - ], - notes: 42, - organizations: 42, - orgUnitPath: "Test string", - password: "Test string", - phones: 42, - posixAccounts: 42, - primaryEmail: "Test string", - recoveryEmail: "Test string", - recoveryPhone: "Test string", - relations: 42, - sshPublicKeys: 42, - suspended: true, - suspensionReason: "Test string", - thumbnailPhotoEtag: "Test string", - thumbnailPhotoUrl: "Test string", - websites: 42, - }); - /** Watches for changes in users list. */ - await gapi.client.directory.users.watch({ - customer: "Test string", - customFieldMask: "Test string", - domain: "Test string", - event: "Test string", - maxResults: 42, - orderBy: "Test string", - pageToken: "Test string", - projection: "Test string", - query: "Test string", - showDeleted: "Test string", - sortOrder: "Test string", - viewType: "Test string", - }, { - address: "Test string", - expiration: "Test string", - id: "Test string", - kind: "Test string", - params: { - A: "Test string" - }, - payload: true, - resourceId: "Test string", - resourceUri: "Test string", - token: "Test string", - type: "Test string", - }); - /** Removes an alias. */ - await gapi.client.directory.users.aliases.delete({ - alias: "Test string", - userKey: "Test string", - }); - /** Adds an alias. */ - await gapi.client.directory.users.aliases.insert({ - userKey: "Test string", - }, { - alias: "Test string", - etag: "Test string", - id: "Test string", - kind: "Test string", - primaryEmail: "Test string", - }); - /** Lists all aliases for a user. */ - await gapi.client.directory.users.aliases.list({ - event: "Test string", - userKey: "Test string", - }); - /** Watches for changes in users list. */ - await gapi.client.directory.users.aliases.watch({ - event: "Test string", - userKey: "Test string", - }, { - address: "Test string", - expiration: "Test string", - id: "Test string", - kind: "Test string", - params: { - A: "Test string" - }, - payload: true, - resourceId: "Test string", - resourceUri: "Test string", - token: "Test string", - type: "Test string", - }); - /** Removes the user's photo. */ - await gapi.client.directory.users.photos.delete({ - userKey: "Test string", - }); - /** Retrieves the user's photo. */ - await gapi.client.directory.users.photos.get({ - userKey: "Test string", - }); - /** Adds a photo for the user. This method supports [patch semantics](/admin-sdk/directory/v1/guides/performance#patch). */ - await gapi.client.directory.users.photos.patch({ - userKey: "Test string", - }, { - etag: "Test string", - height: 42, - id: "Test string", - kind: "Test string", - mimeType: "Test string", - photoData: "Test string", - primaryEmail: "Test string", - width: 42, - }); - /** Adds a photo for the user. */ - await gapi.client.directory.users.photos.update({ - userKey: "Test string", - }, { - etag: "Test string", - height: 42, - id: "Test string", - kind: "Test string", - mimeType: "Test string", - photoData: "Test string", - primaryEmail: "Test string", - width: 42, - }); - /** Generates new backup verification codes for the user. */ - await gapi.client.directory.verificationCodes.generate({ - userKey: "Test string", - }); - /** Invalidates the current backup verification codes for the user. */ - await gapi.client.directory.verificationCodes.invalidate({ - userKey: "Test string", - }); - /** Returns the current set of valid backup verification codes for the specified user. */ - await gapi.client.directory.verificationCodes.list({ - userKey: "Test string", - }); - } -}); diff --git a/test/restDocs/snapshots/gapi.client.admin-directory_v1/tests.ts.shot b/test/restDocs/snapshots/gapi.client.admin-directory_v1/tests.ts.shot new file mode 100644 index 0000000000..bd9e778a4d --- /dev/null +++ b/test/restDocs/snapshots/gapi.client.admin-directory_v1/tests.ts.shot @@ -0,0 +1,1715 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`admin works: admin works 1`] = ` +"/* This is stub file for gapi.client.admin-directory_v1 definition tests */ +// IMPORTANT +// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually. +// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator + +// Revision: 20220628 + +gapi.load('client', async () => { + /** now we can use gapi.client */ + + await gapi.client.load('http://localhost:3000/admin.json'); + /** now we can use gapi.client.admin, gapi.client.directory */ + + /** don't forget to authenticate your client before sending any request to resources: */ + /** declare client_id registered in Google Developers Console */ + const client_id = '<>'; + const scope = [ + /** See, add, edit, and permanently delete the printers that your organization can use with Chrome */ + 'https://www.googleapis.com/auth/admin.chrome.printers', + /** See the printers that your organization can use with Chrome */ + 'https://www.googleapis.com/auth/admin.chrome.printers.readonly', + /** View and manage customer related information */ + 'https://www.googleapis.com/auth/admin.directory.customer', + /** View customer related information */ + 'https://www.googleapis.com/auth/admin.directory.customer.readonly', + /** View and manage your Chrome OS devices' metadata */ + 'https://www.googleapis.com/auth/admin.directory.device.chromeos', + /** View your Chrome OS devices' metadata */ + 'https://www.googleapis.com/auth/admin.directory.device.chromeos.readonly', + /** View and manage your mobile devices' metadata */ + 'https://www.googleapis.com/auth/admin.directory.device.mobile', + /** Manage your mobile devices by performing administrative tasks */ + 'https://www.googleapis.com/auth/admin.directory.device.mobile.action', + /** View your mobile devices' metadata */ + 'https://www.googleapis.com/auth/admin.directory.device.mobile.readonly', + /** View and manage the provisioning of domains for your customers */ + 'https://www.googleapis.com/auth/admin.directory.domain', + /** View domains related to your customers */ + 'https://www.googleapis.com/auth/admin.directory.domain.readonly', + /** View and manage the provisioning of groups on your domain */ + 'https://www.googleapis.com/auth/admin.directory.group', + /** View and manage group subscriptions on your domain */ + 'https://www.googleapis.com/auth/admin.directory.group.member', + /** View group subscriptions on your domain */ + 'https://www.googleapis.com/auth/admin.directory.group.member.readonly', + /** View groups on your domain */ + 'https://www.googleapis.com/auth/admin.directory.group.readonly', + /** View and manage organization units on your domain */ + 'https://www.googleapis.com/auth/admin.directory.orgunit', + /** View organization units on your domain */ + 'https://www.googleapis.com/auth/admin.directory.orgunit.readonly', + /** View and manage the provisioning of calendar resources on your domain */ + 'https://www.googleapis.com/auth/admin.directory.resource.calendar', + /** View calendar resources on your domain */ + 'https://www.googleapis.com/auth/admin.directory.resource.calendar.readonly', + /** Manage delegated admin roles for your domain */ + 'https://www.googleapis.com/auth/admin.directory.rolemanagement', + /** View delegated admin roles for your domain */ + 'https://www.googleapis.com/auth/admin.directory.rolemanagement.readonly', + /** View and manage the provisioning of users on your domain */ + 'https://www.googleapis.com/auth/admin.directory.user', + /** View and manage user aliases on your domain */ + 'https://www.googleapis.com/auth/admin.directory.user.alias', + /** View user aliases on your domain */ + 'https://www.googleapis.com/auth/admin.directory.user.alias.readonly', + /** See info about users on your domain */ + 'https://www.googleapis.com/auth/admin.directory.user.readonly', + /** Manage data access permissions for users on your domain */ + 'https://www.googleapis.com/auth/admin.directory.user.security', + /** View and manage the provisioning of user schemas on your domain */ + 'https://www.googleapis.com/auth/admin.directory.userschema', + /** View user schemas on your domain */ + 'https://www.googleapis.com/auth/admin.directory.userschema.readonly', + /** See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account. */ + 'https://www.googleapis.com/auth/cloud-platform', + ]; + const immediate = false; + gapi.auth.authorize({ client_id, scope, immediate }, authResult => { + if (authResult && !authResult.error) { + /** handle successful authorization */ + run(); + } else { + /** handle authorization error */ + } + }); + + async function run() { + /** Stops watching resources through this channel. */ + await gapi.client.admin.channels.stop({ + }, { + address: \\"Test string\\", + expiration: \\"Test string\\", + id: \\"Test string\\", + kind: \\"Test string\\", + params: { + A: \\"Test string\\" + }, + payload: true, + resourceId: \\"Test string\\", + resourceUri: \\"Test string\\", + token: \\"Test string\\", + type: \\"Test string\\", + }); + /** Issues a command for the device to execute. */ + await gapi.client.admin.customer.devices.chromeos.issueCommand({ + customerId: \\"Test string\\", + deviceId: \\"Test string\\", + }, { + commandType: \\"Test string\\", + payload: \\"Test string\\", + }); + /** Gets command data a specific command issued to the device. */ + await gapi.client.admin.customer.devices.chromeos.commands.get({ + commandId: \\"Test string\\", + customerId: \\"Test string\\", + deviceId: \\"Test string\\", + }); + /** Creates printers under given Organization Unit. */ + await gapi.client.admin.customers.chrome.printers.batchCreatePrinters({ + parent: \\"Test string\\", + }, { + requests: [ + { + parent: \\"Test string\\", + printer: { + auxiliaryMessages: [ + { + auxiliaryMessage: \\"Test string\\", + fieldMask: \\"Test string\\", + severity: \\"Test string\\", + } + ], + createTime: \\"Test string\\", + description: \\"Test string\\", + displayName: \\"Test string\\", + id: \\"Test string\\", + makeAndModel: \\"Test string\\", + name: \\"Test string\\", + orgUnitId: \\"Test string\\", + uri: \\"Test string\\", + useDriverlessConfig: true, + }, + } + ], + }); + /** Deletes printers in batch. */ + await gapi.client.admin.customers.chrome.printers.batchDeletePrinters({ + parent: \\"Test string\\", + }, { + printerIds: [ + \\"Test string\\" + ], + }); + /** Creates a printer under given Organization Unit. */ + await gapi.client.admin.customers.chrome.printers.create({ + parent: \\"Test string\\", + }, { + auxiliaryMessages: [ + { + auxiliaryMessage: \\"Test string\\", + fieldMask: \\"Test string\\", + severity: \\"Test string\\", + } + ], + createTime: \\"Test string\\", + description: \\"Test string\\", + displayName: \\"Test string\\", + id: \\"Test string\\", + makeAndModel: \\"Test string\\", + name: \\"Test string\\", + orgUnitId: \\"Test string\\", + uri: \\"Test string\\", + useDriverlessConfig: true, + }); + /** Deletes a \`Printer\`. */ + await gapi.client.admin.customers.chrome.printers.delete({ + name: \\"Test string\\", + }); + /** Returns a \`Printer\` resource (printer's config). */ + await gapi.client.admin.customers.chrome.printers.get({ + name: \\"Test string\\", + }); + /** List printers configs. */ + await gapi.client.admin.customers.chrome.printers.list({ + filter: \\"Test string\\", + orderBy: \\"Test string\\", + orgUnitId: \\"Test string\\", + pageSize: 42, + pageToken: \\"Test string\\", + parent: \\"Test string\\", + }); + /** Lists the supported printer models. */ + await gapi.client.admin.customers.chrome.printers.listPrinterModels({ + filter: \\"Test string\\", + pageSize: 42, + pageToken: \\"Test string\\", + parent: \\"Test string\\", + }); + /** Updates a \`Printer\` resource. */ + await gapi.client.admin.customers.chrome.printers.patch({ + clearMask: \\"Test string\\", + name: \\"Test string\\", + updateMask: \\"Test string\\", + }, { + auxiliaryMessages: [ + { + auxiliaryMessage: \\"Test string\\", + fieldMask: \\"Test string\\", + severity: \\"Test string\\", + } + ], + createTime: \\"Test string\\", + description: \\"Test string\\", + displayName: \\"Test string\\", + id: \\"Test string\\", + makeAndModel: \\"Test string\\", + name: \\"Test string\\", + orgUnitId: \\"Test string\\", + uri: \\"Test string\\", + useDriverlessConfig: true, + }); + /** Deletes an ASP issued by a user. */ + await gapi.client.directory.asps.delete({ + codeId: 42, + userKey: \\"Test string\\", + }); + /** Gets information about an ASP issued by a user. */ + await gapi.client.directory.asps.get({ + codeId: 42, + userKey: \\"Test string\\", + }); + /** Lists the ASPs issued by a user. */ + await gapi.client.directory.asps.list({ + userKey: \\"Test string\\", + }); + /** + * Takes an action that affects a Chrome OS Device. This includes deprovisioning, disabling, and re-enabling devices. *Warning:* * Deprovisioning a device will stop device policy syncing + * and remove device-level printers. After a device is deprovisioned, it must be wiped before it can be re-enrolled. * Lost or stolen devices should use the disable action. * Re-enabling a + * disabled device will consume a device license. If you do not have sufficient licenses available when completing the re-enable action, you will receive an error. For more information + * about deprovisioning and disabling devices, visit the [help center](https://support.google.com/chrome/a/answer/3523633). + */ + await gapi.client.directory.chromeosdevices.action({ + customerId: \\"Test string\\", + resourceId: \\"Test string\\", + }, { + action: \\"Test string\\", + deprovisionReason: \\"Test string\\", + }); + /** Retrieves a Chrome OS device's properties. */ + await gapi.client.directory.chromeosdevices.get({ + customerId: \\"Test string\\", + deviceId: \\"Test string\\", + projection: \\"Test string\\", + }); + /** Retrieves a paginated list of Chrome OS devices within an account. */ + await gapi.client.directory.chromeosdevices.list({ + customerId: \\"Test string\\", + includeChildOrgunits: true, + maxResults: 42, + orderBy: \\"Test string\\", + orgUnitPath: \\"Test string\\", + pageToken: \\"Test string\\", + projection: \\"Test string\\", + query: \\"Test string\\", + sortOrder: \\"Test string\\", + }); + /** Moves or inserts multiple Chrome OS devices to an organizational unit. You can move up to 50 devices at once. */ + await gapi.client.directory.chromeosdevices.moveDevicesToOu({ + customerId: \\"Test string\\", + orgUnitPath: \\"Test string\\", + }, { + deviceIds: [ + \\"Test string\\" + ], + }); + /** + * Updates a device's updatable properties, such as \`annotatedUser\`, \`annotatedLocation\`, \`notes\`, \`orgUnitPath\`, or \`annotatedAssetId\`. This method supports [patch + * semantics](/admin-sdk/directory/v1/guides/performance#patch). + */ + await gapi.client.directory.chromeosdevices.patch({ + customerId: \\"Test string\\", + deviceId: \\"Test string\\", + projection: \\"Test string\\", + }, { + activeTimeRanges: [ + { + activeTime: 42, + date: \\"Test string\\", + } + ], + annotatedAssetId: \\"Test string\\", + annotatedLocation: \\"Test string\\", + annotatedUser: \\"Test string\\", + autoUpdateExpiration: \\"Test string\\", + bootMode: \\"Test string\\", + cpuInfo: [ + { + architecture: \\"Test string\\", + logicalCpus: [ + { + cStates: [ + { + displayName: \\"Test string\\", + sessionDuration: \\"Test string\\", + } + ], + currentScalingFrequencyKhz: 42, + idleDuration: \\"Test string\\", + maxScalingFrequencyKhz: 42, + } + ], + maxClockSpeedKhz: 42, + model: \\"Test string\\", + } + ], + cpuStatusReports: [ + { + cpuTemperatureInfo: [ + { + label: \\"Test string\\", + temperature: 42, + } + ], + cpuUtilizationPercentageInfo: [ + 42 + ], + reportTime: \\"Test string\\", + } + ], + deviceFiles: [ + { + createTime: \\"Test string\\", + downloadUrl: \\"Test string\\", + name: \\"Test string\\", + type: \\"Test string\\", + } + ], + deviceId: \\"Test string\\", + diskVolumeReports: [ + { + volumeInfo: [ + { + storageFree: \\"Test string\\", + storageTotal: \\"Test string\\", + volumeId: \\"Test string\\", + } + ], + } + ], + dockMacAddress: \\"Test string\\", + etag: \\"Test string\\", + ethernetMacAddress: \\"Test string\\", + ethernetMacAddress0: \\"Test string\\", + firmwareVersion: \\"Test string\\", + kind: \\"Test string\\", + lastEnrollmentTime: \\"Test string\\", + lastKnownNetwork: [ + { + ipAddress: \\"Test string\\", + wanIpAddress: \\"Test string\\", + } + ], + lastSync: \\"Test string\\", + macAddress: \\"Test string\\", + manufactureDate: \\"Test string\\", + meid: \\"Test string\\", + model: \\"Test string\\", + notes: \\"Test string\\", + orderNumber: \\"Test string\\", + orgUnitId: \\"Test string\\", + orgUnitPath: \\"Test string\\", + osVersion: \\"Test string\\", + platformVersion: \\"Test string\\", + recentUsers: [ + { + email: \\"Test string\\", + type: \\"Test string\\", + } + ], + screenshotFiles: [ + { + createTime: \\"Test string\\", + downloadUrl: \\"Test string\\", + name: \\"Test string\\", + type: \\"Test string\\", + } + ], + serialNumber: \\"Test string\\", + status: \\"Test string\\", + supportEndDate: \\"Test string\\", + systemRamFreeReports: [ + { + reportTime: \\"Test string\\", + systemRamFreeInfo: [ + \\"Test string\\" + ], + } + ], + systemRamTotal: \\"Test string\\", + tpmVersionInfo: { + family: \\"Test string\\", + firmwareVersion: \\"Test string\\", + manufacturer: \\"Test string\\", + specLevel: \\"Test string\\", + tpmModel: \\"Test string\\", + vendorSpecific: \\"Test string\\", + }, + willAutoRenew: true, + }); + /** Updates a device's updatable properties, such as \`annotatedUser\`, \`annotatedLocation\`, \`notes\`, \`orgUnitPath\`, or \`annotatedAssetId\`. */ + await gapi.client.directory.chromeosdevices.update({ + customerId: \\"Test string\\", + deviceId: \\"Test string\\", + projection: \\"Test string\\", + }, { + activeTimeRanges: [ + { + activeTime: 42, + date: \\"Test string\\", + } + ], + annotatedAssetId: \\"Test string\\", + annotatedLocation: \\"Test string\\", + annotatedUser: \\"Test string\\", + autoUpdateExpiration: \\"Test string\\", + bootMode: \\"Test string\\", + cpuInfo: [ + { + architecture: \\"Test string\\", + logicalCpus: [ + { + cStates: [ + { + displayName: \\"Test string\\", + sessionDuration: \\"Test string\\", + } + ], + currentScalingFrequencyKhz: 42, + idleDuration: \\"Test string\\", + maxScalingFrequencyKhz: 42, + } + ], + maxClockSpeedKhz: 42, + model: \\"Test string\\", + } + ], + cpuStatusReports: [ + { + cpuTemperatureInfo: [ + { + label: \\"Test string\\", + temperature: 42, + } + ], + cpuUtilizationPercentageInfo: [ + 42 + ], + reportTime: \\"Test string\\", + } + ], + deviceFiles: [ + { + createTime: \\"Test string\\", + downloadUrl: \\"Test string\\", + name: \\"Test string\\", + type: \\"Test string\\", + } + ], + deviceId: \\"Test string\\", + diskVolumeReports: [ + { + volumeInfo: [ + { + storageFree: \\"Test string\\", + storageTotal: \\"Test string\\", + volumeId: \\"Test string\\", + } + ], + } + ], + dockMacAddress: \\"Test string\\", + etag: \\"Test string\\", + ethernetMacAddress: \\"Test string\\", + ethernetMacAddress0: \\"Test string\\", + firmwareVersion: \\"Test string\\", + kind: \\"Test string\\", + lastEnrollmentTime: \\"Test string\\", + lastKnownNetwork: [ + { + ipAddress: \\"Test string\\", + wanIpAddress: \\"Test string\\", + } + ], + lastSync: \\"Test string\\", + macAddress: \\"Test string\\", + manufactureDate: \\"Test string\\", + meid: \\"Test string\\", + model: \\"Test string\\", + notes: \\"Test string\\", + orderNumber: \\"Test string\\", + orgUnitId: \\"Test string\\", + orgUnitPath: \\"Test string\\", + osVersion: \\"Test string\\", + platformVersion: \\"Test string\\", + recentUsers: [ + { + email: \\"Test string\\", + type: \\"Test string\\", + } + ], + screenshotFiles: [ + { + createTime: \\"Test string\\", + downloadUrl: \\"Test string\\", + name: \\"Test string\\", + type: \\"Test string\\", + } + ], + serialNumber: \\"Test string\\", + status: \\"Test string\\", + supportEndDate: \\"Test string\\", + systemRamFreeReports: [ + { + reportTime: \\"Test string\\", + systemRamFreeInfo: [ + \\"Test string\\" + ], + } + ], + systemRamTotal: \\"Test string\\", + tpmVersionInfo: { + family: \\"Test string\\", + firmwareVersion: \\"Test string\\", + manufacturer: \\"Test string\\", + specLevel: \\"Test string\\", + tpmModel: \\"Test string\\", + vendorSpecific: \\"Test string\\", + }, + willAutoRenew: true, + }); + /** Retrieves a customer. */ + await gapi.client.directory.customers.get({ + customerKey: \\"Test string\\", + }); + /** Patches a customer. */ + await gapi.client.directory.customers.patch({ + customerKey: \\"Test string\\", + }, { + alternateEmail: \\"Test string\\", + customerCreationTime: \\"Test string\\", + customerDomain: \\"Test string\\", + etag: \\"Test string\\", + id: \\"Test string\\", + kind: \\"Test string\\", + language: \\"Test string\\", + phoneNumber: \\"Test string\\", + postalAddress: { + addressLine1: \\"Test string\\", + addressLine2: \\"Test string\\", + addressLine3: \\"Test string\\", + contactName: \\"Test string\\", + countryCode: \\"Test string\\", + locality: \\"Test string\\", + organizationName: \\"Test string\\", + postalCode: \\"Test string\\", + region: \\"Test string\\", + }, + }); + /** Updates a customer. */ + await gapi.client.directory.customers.update({ + customerKey: \\"Test string\\", + }, { + alternateEmail: \\"Test string\\", + customerCreationTime: \\"Test string\\", + customerDomain: \\"Test string\\", + etag: \\"Test string\\", + id: \\"Test string\\", + kind: \\"Test string\\", + language: \\"Test string\\", + phoneNumber: \\"Test string\\", + postalAddress: { + addressLine1: \\"Test string\\", + addressLine2: \\"Test string\\", + addressLine3: \\"Test string\\", + contactName: \\"Test string\\", + countryCode: \\"Test string\\", + locality: \\"Test string\\", + organizationName: \\"Test string\\", + postalCode: \\"Test string\\", + region: \\"Test string\\", + }, + }); + /** Deletes a domain Alias of the customer. */ + await gapi.client.directory.domainAliases.delete({ + customer: \\"Test string\\", + domainAliasName: \\"Test string\\", + }); + /** Retrieves a domain alias of the customer. */ + await gapi.client.directory.domainAliases.get({ + customer: \\"Test string\\", + domainAliasName: \\"Test string\\", + }); + /** Inserts a domain alias of the customer. */ + await gapi.client.directory.domainAliases.insert({ + customer: \\"Test string\\", + }, { + creationTime: \\"Test string\\", + domainAliasName: \\"Test string\\", + etag: \\"Test string\\", + kind: \\"Test string\\", + parentDomainName: \\"Test string\\", + verified: true, + }); + /** Lists the domain aliases of the customer. */ + await gapi.client.directory.domainAliases.list({ + customer: \\"Test string\\", + parentDomainName: \\"Test string\\", + }); + /** Deletes a domain of the customer. */ + await gapi.client.directory.domains.delete({ + customer: \\"Test string\\", + domainName: \\"Test string\\", + }); + /** Retrieves a domain of the customer. */ + await gapi.client.directory.domains.get({ + customer: \\"Test string\\", + domainName: \\"Test string\\", + }); + /** Inserts a domain of the customer. */ + await gapi.client.directory.domains.insert({ + customer: \\"Test string\\", + }, { + creationTime: \\"Test string\\", + domainAliases: [ + { + creationTime: \\"Test string\\", + domainAliasName: \\"Test string\\", + etag: \\"Test string\\", + kind: \\"Test string\\", + parentDomainName: \\"Test string\\", + verified: true, + } + ], + domainName: \\"Test string\\", + etag: \\"Test string\\", + isPrimary: true, + kind: \\"Test string\\", + verified: true, + }); + /** Lists the domains of the customer. */ + await gapi.client.directory.domains.list({ + customer: \\"Test string\\", + }); + /** Deletes a group. */ + await gapi.client.directory.groups.delete({ + groupKey: \\"Test string\\", + }); + /** Retrieves a group's properties. */ + await gapi.client.directory.groups.get({ + groupKey: \\"Test string\\", + }); + /** Creates a group. */ + await gapi.client.directory.groups.insert({ + }, { + adminCreated: true, + aliases: [ + \\"Test string\\" + ], + description: \\"Test string\\", + directMembersCount: \\"Test string\\", + email: \\"Test string\\", + etag: \\"Test string\\", + id: \\"Test string\\", + kind: \\"Test string\\", + name: \\"Test string\\", + nonEditableAliases: [ + \\"Test string\\" + ], + }); + /** Retrieves all groups of a domain or of a user given a userKey (paginated). */ + await gapi.client.directory.groups.list({ + customer: \\"Test string\\", + domain: \\"Test string\\", + maxResults: 42, + orderBy: \\"Test string\\", + pageToken: \\"Test string\\", + query: \\"Test string\\", + sortOrder: \\"Test string\\", + userKey: \\"Test string\\", + }); + /** Updates a group's properties. This method supports [patch semantics](/admin-sdk/directory/v1/guides/performance#patch). */ + await gapi.client.directory.groups.patch({ + groupKey: \\"Test string\\", + }, { + adminCreated: true, + aliases: [ + \\"Test string\\" + ], + description: \\"Test string\\", + directMembersCount: \\"Test string\\", + email: \\"Test string\\", + etag: \\"Test string\\", + id: \\"Test string\\", + kind: \\"Test string\\", + name: \\"Test string\\", + nonEditableAliases: [ + \\"Test string\\" + ], + }); + /** Updates a group's properties. */ + await gapi.client.directory.groups.update({ + groupKey: \\"Test string\\", + }, { + adminCreated: true, + aliases: [ + \\"Test string\\" + ], + description: \\"Test string\\", + directMembersCount: \\"Test string\\", + email: \\"Test string\\", + etag: \\"Test string\\", + id: \\"Test string\\", + kind: \\"Test string\\", + name: \\"Test string\\", + nonEditableAliases: [ + \\"Test string\\" + ], + }); + /** Removes an alias. */ + await gapi.client.directory.groups.aliases.delete({ + alias: \\"Test string\\", + groupKey: \\"Test string\\", + }); + /** Adds an alias for the group. */ + await gapi.client.directory.groups.aliases.insert({ + groupKey: \\"Test string\\", + }, { + alias: \\"Test string\\", + etag: \\"Test string\\", + id: \\"Test string\\", + kind: \\"Test string\\", + primaryEmail: \\"Test string\\", + }); + /** Lists all aliases for a group. */ + await gapi.client.directory.groups.aliases.list({ + groupKey: \\"Test string\\", + }); + /** Removes a member from a group. */ + await gapi.client.directory.members.delete({ + groupKey: \\"Test string\\", + memberKey: \\"Test string\\", + }); + /** Retrieves a group member's properties. */ + await gapi.client.directory.members.get({ + groupKey: \\"Test string\\", + memberKey: \\"Test string\\", + }); + /** Checks whether the given user is a member of the group. Membership can be direct or nested. */ + await gapi.client.directory.members.hasMember({ + groupKey: \\"Test string\\", + memberKey: \\"Test string\\", + }); + /** Adds a user to the specified group. */ + await gapi.client.directory.members.insert({ + groupKey: \\"Test string\\", + }, { + delivery_settings: \\"Test string\\", + email: \\"Test string\\", + etag: \\"Test string\\", + id: \\"Test string\\", + kind: \\"Test string\\", + role: \\"Test string\\", + status: \\"Test string\\", + type: \\"Test string\\", + }); + /** Retrieves a paginated list of all members in a group. */ + await gapi.client.directory.members.list({ + groupKey: \\"Test string\\", + includeDerivedMembership: true, + maxResults: 42, + pageToken: \\"Test string\\", + roles: \\"Test string\\", + }); + /** Updates the membership properties of a user in the specified group. This method supports [patch semantics](/admin-sdk/directory/v1/guides/performance#patch). */ + await gapi.client.directory.members.patch({ + groupKey: \\"Test string\\", + memberKey: \\"Test string\\", + }, { + delivery_settings: \\"Test string\\", + email: \\"Test string\\", + etag: \\"Test string\\", + id: \\"Test string\\", + kind: \\"Test string\\", + role: \\"Test string\\", + status: \\"Test string\\", + type: \\"Test string\\", + }); + /** Updates the membership of a user in the specified group. */ + await gapi.client.directory.members.update({ + groupKey: \\"Test string\\", + memberKey: \\"Test string\\", + }, { + delivery_settings: \\"Test string\\", + email: \\"Test string\\", + etag: \\"Test string\\", + id: \\"Test string\\", + kind: \\"Test string\\", + role: \\"Test string\\", + status: \\"Test string\\", + type: \\"Test string\\", + }); + /** Takes an action that affects a mobile device. For example, remotely wiping a device. */ + await gapi.client.directory.mobiledevices.action({ + customerId: \\"Test string\\", + resourceId: \\"Test string\\", + }, { + action: \\"Test string\\", + }); + /** Removes a mobile device. */ + await gapi.client.directory.mobiledevices.delete({ + customerId: \\"Test string\\", + resourceId: \\"Test string\\", + }); + /** Retrieves a mobile device's properties. */ + await gapi.client.directory.mobiledevices.get({ + customerId: \\"Test string\\", + projection: \\"Test string\\", + resourceId: \\"Test string\\", + }); + /** + * Retrieves a paginated list of all user-owned mobile devices for an account. To retrieve a list that includes company-owned devices, use the Cloud Identity [Devices + * API](https://cloud.google.com/identity/docs/concepts/overview-devices) instead. + */ + await gapi.client.directory.mobiledevices.list({ + customerId: \\"Test string\\", + maxResults: 42, + orderBy: \\"Test string\\", + pageToken: \\"Test string\\", + projection: \\"Test string\\", + query: \\"Test string\\", + sortOrder: \\"Test string\\", + }); + /** Removes an organizational unit. */ + await gapi.client.directory.orgunits.delete({ + customerId: \\"Test string\\", + orgUnitPath: \\"Test string\\", + }); + /** Retrieves an organizational unit. */ + await gapi.client.directory.orgunits.get({ + customerId: \\"Test string\\", + orgUnitPath: \\"Test string\\", + }); + /** Adds an organizational unit. */ + await gapi.client.directory.orgunits.insert({ + customerId: \\"Test string\\", + }, { + blockInheritance: true, + description: \\"Test string\\", + etag: \\"Test string\\", + kind: \\"Test string\\", + name: \\"Test string\\", + orgUnitId: \\"Test string\\", + orgUnitPath: \\"Test string\\", + parentOrgUnitId: \\"Test string\\", + parentOrgUnitPath: \\"Test string\\", + }); + /** Retrieves a list of all organizational units for an account. */ + await gapi.client.directory.orgunits.list({ + customerId: \\"Test string\\", + orgUnitPath: \\"Test string\\", + type: \\"Test string\\", + }); + /** Updates an organizational unit. This method supports [patch semantics](/admin-sdk/directory/v1/guides/performance#patch) */ + await gapi.client.directory.orgunits.patch({ + customerId: \\"Test string\\", + orgUnitPath: \\"Test string\\", + }, { + blockInheritance: true, + description: \\"Test string\\", + etag: \\"Test string\\", + kind: \\"Test string\\", + name: \\"Test string\\", + orgUnitId: \\"Test string\\", + orgUnitPath: \\"Test string\\", + parentOrgUnitId: \\"Test string\\", + parentOrgUnitPath: \\"Test string\\", + }); + /** Updates an organizational unit. */ + await gapi.client.directory.orgunits.update({ + customerId: \\"Test string\\", + orgUnitPath: \\"Test string\\", + }, { + blockInheritance: true, + description: \\"Test string\\", + etag: \\"Test string\\", + kind: \\"Test string\\", + name: \\"Test string\\", + orgUnitId: \\"Test string\\", + orgUnitPath: \\"Test string\\", + parentOrgUnitId: \\"Test string\\", + parentOrgUnitPath: \\"Test string\\", + }); + /** Retrieves a paginated list of all privileges for a customer. */ + await gapi.client.directory.privileges.list({ + customer: \\"Test string\\", + }); + /** Deletes a building. */ + await gapi.client.directory.resources.buildings.delete({ + buildingId: \\"Test string\\", + customer: \\"Test string\\", + }); + /** Retrieves a building. */ + await gapi.client.directory.resources.buildings.get({ + buildingId: \\"Test string\\", + customer: \\"Test string\\", + }); + /** Inserts a building. */ + await gapi.client.directory.resources.buildings.insert({ + coordinatesSource: \\"Test string\\", + customer: \\"Test string\\", + }, { + address: { + addressLines: [ + \\"Test string\\" + ], + administrativeArea: \\"Test string\\", + languageCode: \\"Test string\\", + locality: \\"Test string\\", + postalCode: \\"Test string\\", + regionCode: \\"Test string\\", + sublocality: \\"Test string\\", + }, + buildingId: \\"Test string\\", + buildingName: \\"Test string\\", + coordinates: { + latitude: 42, + longitude: 42, + }, + description: \\"Test string\\", + etags: \\"Test string\\", + floorNames: [ + \\"Test string\\" + ], + kind: \\"Test string\\", + }); + /** Retrieves a list of buildings for an account. */ + await gapi.client.directory.resources.buildings.list({ + customer: \\"Test string\\", + maxResults: 42, + pageToken: \\"Test string\\", + }); + /** Patches a building. */ + await gapi.client.directory.resources.buildings.patch({ + buildingId: \\"Test string\\", + coordinatesSource: \\"Test string\\", + customer: \\"Test string\\", + }, { + address: { + addressLines: [ + \\"Test string\\" + ], + administrativeArea: \\"Test string\\", + languageCode: \\"Test string\\", + locality: \\"Test string\\", + postalCode: \\"Test string\\", + regionCode: \\"Test string\\", + sublocality: \\"Test string\\", + }, + buildingId: \\"Test string\\", + buildingName: \\"Test string\\", + coordinates: { + latitude: 42, + longitude: 42, + }, + description: \\"Test string\\", + etags: \\"Test string\\", + floorNames: [ + \\"Test string\\" + ], + kind: \\"Test string\\", + }); + /** Updates a building. */ + await gapi.client.directory.resources.buildings.update({ + buildingId: \\"Test string\\", + coordinatesSource: \\"Test string\\", + customer: \\"Test string\\", + }, { + address: { + addressLines: [ + \\"Test string\\" + ], + administrativeArea: \\"Test string\\", + languageCode: \\"Test string\\", + locality: \\"Test string\\", + postalCode: \\"Test string\\", + regionCode: \\"Test string\\", + sublocality: \\"Test string\\", + }, + buildingId: \\"Test string\\", + buildingName: \\"Test string\\", + coordinates: { + latitude: 42, + longitude: 42, + }, + description: \\"Test string\\", + etags: \\"Test string\\", + floorNames: [ + \\"Test string\\" + ], + kind: \\"Test string\\", + }); + /** Deletes a calendar resource. */ + await gapi.client.directory.resources.calendars.delete({ + calendarResourceId: \\"Test string\\", + customer: \\"Test string\\", + }); + /** Retrieves a calendar resource. */ + await gapi.client.directory.resources.calendars.get({ + calendarResourceId: \\"Test string\\", + customer: \\"Test string\\", + }); + /** Inserts a calendar resource. */ + await gapi.client.directory.resources.calendars.insert({ + customer: \\"Test string\\", + }, { + buildingId: \\"Test string\\", + capacity: 42, + etags: \\"Test string\\", + featureInstances: 42, + floorName: \\"Test string\\", + floorSection: \\"Test string\\", + generatedResourceName: \\"Test string\\", + kind: \\"Test string\\", + resourceCategory: \\"Test string\\", + resourceDescription: \\"Test string\\", + resourceEmail: \\"Test string\\", + resourceId: \\"Test string\\", + resourceName: \\"Test string\\", + resourceType: \\"Test string\\", + userVisibleDescription: \\"Test string\\", + }); + /** Retrieves a list of calendar resources for an account. */ + await gapi.client.directory.resources.calendars.list({ + customer: \\"Test string\\", + maxResults: 42, + orderBy: \\"Test string\\", + pageToken: \\"Test string\\", + query: \\"Test string\\", + }); + /** Patches a calendar resource. */ + await gapi.client.directory.resources.calendars.patch({ + calendarResourceId: \\"Test string\\", + customer: \\"Test string\\", + }, { + buildingId: \\"Test string\\", + capacity: 42, + etags: \\"Test string\\", + featureInstances: 42, + floorName: \\"Test string\\", + floorSection: \\"Test string\\", + generatedResourceName: \\"Test string\\", + kind: \\"Test string\\", + resourceCategory: \\"Test string\\", + resourceDescription: \\"Test string\\", + resourceEmail: \\"Test string\\", + resourceId: \\"Test string\\", + resourceName: \\"Test string\\", + resourceType: \\"Test string\\", + userVisibleDescription: \\"Test string\\", + }); + /** + * Updates a calendar resource. This method supports patch semantics, meaning you only need to include the fields you wish to update. Fields that are not present in the request will be + * preserved. + */ + await gapi.client.directory.resources.calendars.update({ + calendarResourceId: \\"Test string\\", + customer: \\"Test string\\", + }, { + buildingId: \\"Test string\\", + capacity: 42, + etags: \\"Test string\\", + featureInstances: 42, + floorName: \\"Test string\\", + floorSection: \\"Test string\\", + generatedResourceName: \\"Test string\\", + kind: \\"Test string\\", + resourceCategory: \\"Test string\\", + resourceDescription: \\"Test string\\", + resourceEmail: \\"Test string\\", + resourceId: \\"Test string\\", + resourceName: \\"Test string\\", + resourceType: \\"Test string\\", + userVisibleDescription: \\"Test string\\", + }); + /** Deletes a feature. */ + await gapi.client.directory.resources.features.delete({ + customer: \\"Test string\\", + featureKey: \\"Test string\\", + }); + /** Retrieves a feature. */ + await gapi.client.directory.resources.features.get({ + customer: \\"Test string\\", + featureKey: \\"Test string\\", + }); + /** Inserts a feature. */ + await gapi.client.directory.resources.features.insert({ + customer: \\"Test string\\", + }, { + etags: \\"Test string\\", + kind: \\"Test string\\", + name: \\"Test string\\", + }); + /** Retrieves a list of features for an account. */ + await gapi.client.directory.resources.features.list({ + customer: \\"Test string\\", + maxResults: 42, + pageToken: \\"Test string\\", + }); + /** Patches a feature. */ + await gapi.client.directory.resources.features.patch({ + customer: \\"Test string\\", + featureKey: \\"Test string\\", + }, { + etags: \\"Test string\\", + kind: \\"Test string\\", + name: \\"Test string\\", + }); + /** Renames a feature. */ + await gapi.client.directory.resources.features.rename({ + customer: \\"Test string\\", + oldName: \\"Test string\\", + }, { + newName: \\"Test string\\", + }); + /** Updates a feature. */ + await gapi.client.directory.resources.features.update({ + customer: \\"Test string\\", + featureKey: \\"Test string\\", + }, { + etags: \\"Test string\\", + kind: \\"Test string\\", + name: \\"Test string\\", + }); + /** Deletes a role assignment. */ + await gapi.client.directory.roleAssignments.delete({ + customer: \\"Test string\\", + roleAssignmentId: \\"Test string\\", + }); + /** Retrieves a role assignment. */ + await gapi.client.directory.roleAssignments.get({ + customer: \\"Test string\\", + roleAssignmentId: \\"Test string\\", + }); + /** Creates a role assignment. */ + await gapi.client.directory.roleAssignments.insert({ + customer: \\"Test string\\", + }, { + assignedTo: \\"Test string\\", + etag: \\"Test string\\", + kind: \\"Test string\\", + orgUnitId: \\"Test string\\", + roleAssignmentId: \\"Test string\\", + roleId: \\"Test string\\", + scopeType: \\"Test string\\", + }); + /** Retrieves a paginated list of all roleAssignments. */ + await gapi.client.directory.roleAssignments.list({ + customer: \\"Test string\\", + maxResults: 42, + pageToken: \\"Test string\\", + roleId: \\"Test string\\", + userKey: \\"Test string\\", + }); + /** Deletes a role. */ + await gapi.client.directory.roles.delete({ + customer: \\"Test string\\", + roleId: \\"Test string\\", + }); + /** Retrieves a role. */ + await gapi.client.directory.roles.get({ + customer: \\"Test string\\", + roleId: \\"Test string\\", + }); + /** Creates a role. */ + await gapi.client.directory.roles.insert({ + customer: \\"Test string\\", + }, { + etag: \\"Test string\\", + isSuperAdminRole: true, + isSystemRole: true, + kind: \\"Test string\\", + roleDescription: \\"Test string\\", + roleId: \\"Test string\\", + roleName: \\"Test string\\", + rolePrivileges: [ + { + privilegeName: \\"Test string\\", + serviceId: \\"Test string\\", + } + ], + }); + /** Retrieves a paginated list of all the roles in a domain. */ + await gapi.client.directory.roles.list({ + customer: \\"Test string\\", + maxResults: 42, + pageToken: \\"Test string\\", + }); + /** Patches a role. */ + await gapi.client.directory.roles.patch({ + customer: \\"Test string\\", + roleId: \\"Test string\\", + }, { + etag: \\"Test string\\", + isSuperAdminRole: true, + isSystemRole: true, + kind: \\"Test string\\", + roleDescription: \\"Test string\\", + roleId: \\"Test string\\", + roleName: \\"Test string\\", + rolePrivileges: [ + { + privilegeName: \\"Test string\\", + serviceId: \\"Test string\\", + } + ], + }); + /** Updates a role. */ + await gapi.client.directory.roles.update({ + customer: \\"Test string\\", + roleId: \\"Test string\\", + }, { + etag: \\"Test string\\", + isSuperAdminRole: true, + isSystemRole: true, + kind: \\"Test string\\", + roleDescription: \\"Test string\\", + roleId: \\"Test string\\", + roleName: \\"Test string\\", + rolePrivileges: [ + { + privilegeName: \\"Test string\\", + serviceId: \\"Test string\\", + } + ], + }); + /** Deletes a schema. */ + await gapi.client.directory.schemas.delete({ + customerId: \\"Test string\\", + schemaKey: \\"Test string\\", + }); + /** Retrieves a schema. */ + await gapi.client.directory.schemas.get({ + customerId: \\"Test string\\", + schemaKey: \\"Test string\\", + }); + /** Creates a schema. */ + await gapi.client.directory.schemas.insert({ + customerId: \\"Test string\\", + }, { + displayName: \\"Test string\\", + etag: \\"Test string\\", + fields: [ + { + displayName: \\"Test string\\", + etag: \\"Test string\\", + fieldId: \\"Test string\\", + fieldName: \\"Test string\\", + fieldType: \\"Test string\\", + indexed: true, + kind: \\"Test string\\", + multiValued: true, + numericIndexingSpec: { + maxValue: 42, + minValue: 42, + }, + readAccessType: \\"Test string\\", + } + ], + kind: \\"Test string\\", + schemaId: \\"Test string\\", + schemaName: \\"Test string\\", + }); + /** Retrieves all schemas for a customer. */ + await gapi.client.directory.schemas.list({ + customerId: \\"Test string\\", + }); + /** Patches a schema. */ + await gapi.client.directory.schemas.patch({ + customerId: \\"Test string\\", + schemaKey: \\"Test string\\", + }, { + displayName: \\"Test string\\", + etag: \\"Test string\\", + fields: [ + { + displayName: \\"Test string\\", + etag: \\"Test string\\", + fieldId: \\"Test string\\", + fieldName: \\"Test string\\", + fieldType: \\"Test string\\", + indexed: true, + kind: \\"Test string\\", + multiValued: true, + numericIndexingSpec: { + maxValue: 42, + minValue: 42, + }, + readAccessType: \\"Test string\\", + } + ], + kind: \\"Test string\\", + schemaId: \\"Test string\\", + schemaName: \\"Test string\\", + }); + /** Updates a schema. */ + await gapi.client.directory.schemas.update({ + customerId: \\"Test string\\", + schemaKey: \\"Test string\\", + }, { + displayName: \\"Test string\\", + etag: \\"Test string\\", + fields: [ + { + displayName: \\"Test string\\", + etag: \\"Test string\\", + fieldId: \\"Test string\\", + fieldName: \\"Test string\\", + fieldType: \\"Test string\\", + indexed: true, + kind: \\"Test string\\", + multiValued: true, + numericIndexingSpec: { + maxValue: 42, + minValue: 42, + }, + readAccessType: \\"Test string\\", + } + ], + kind: \\"Test string\\", + schemaId: \\"Test string\\", + schemaName: \\"Test string\\", + }); + /** Deletes all access tokens issued by a user for an application. */ + await gapi.client.directory.tokens.delete({ + clientId: \\"Test string\\", + userKey: \\"Test string\\", + }); + /** Gets information about an access token issued by a user. */ + await gapi.client.directory.tokens.get({ + clientId: \\"Test string\\", + userKey: \\"Test string\\", + }); + /** Returns the set of tokens specified user has issued to 3rd party applications. */ + await gapi.client.directory.tokens.list({ + userKey: \\"Test string\\", + }); + /** Turns off 2-Step Verification for user. */ + await gapi.client.directory.twoStepVerification.turnOff({ + userKey: \\"Test string\\", + }); + /** Deletes a user. */ + await gapi.client.directory.users.delete({ + userKey: \\"Test string\\", + }); + /** Retrieves a user. */ + await gapi.client.directory.users.get({ + customFieldMask: \\"Test string\\", + projection: \\"Test string\\", + userKey: \\"Test string\\", + viewType: \\"Test string\\", + }); + /** Creates a user. */ + await gapi.client.directory.users.insert({ + }, { + addresses: 42, + agreedToTerms: true, + aliases: [ + \\"Test string\\" + ], + archived: true, + changePasswordAtNextLogin: true, + creationTime: \\"Test string\\", + customerId: \\"Test string\\", + customSchemas: { + A: { + A: 42 + } + }, + deletionTime: \\"Test string\\", + emails: 42, + etag: \\"Test string\\", + externalIds: 42, + gender: 42, + hashFunction: \\"Test string\\", + id: \\"Test string\\", + ims: 42, + includeInGlobalAddressList: true, + ipWhitelisted: true, + isAdmin: true, + isDelegatedAdmin: true, + isEnforcedIn2Sv: true, + isEnrolledIn2Sv: true, + isMailboxSetup: true, + keywords: 42, + kind: \\"Test string\\", + languages: 42, + lastLoginTime: \\"Test string\\", + locations: 42, + name: { + familyName: \\"Test string\\", + fullName: \\"Test string\\", + givenName: \\"Test string\\", + }, + nonEditableAliases: [ + \\"Test string\\" + ], + notes: 42, + organizations: 42, + orgUnitPath: \\"Test string\\", + password: \\"Test string\\", + phones: 42, + posixAccounts: 42, + primaryEmail: \\"Test string\\", + recoveryEmail: \\"Test string\\", + recoveryPhone: \\"Test string\\", + relations: 42, + sshPublicKeys: 42, + suspended: true, + suspensionReason: \\"Test string\\", + thumbnailPhotoEtag: \\"Test string\\", + thumbnailPhotoUrl: \\"Test string\\", + websites: 42, + }); + /** Retrieves a paginated list of either deleted users or all users in a domain. */ + await gapi.client.directory.users.list({ + customer: \\"Test string\\", + customFieldMask: \\"Test string\\", + domain: \\"Test string\\", + event: \\"Test string\\", + maxResults: 42, + orderBy: \\"Test string\\", + pageToken: \\"Test string\\", + projection: \\"Test string\\", + query: \\"Test string\\", + showDeleted: \\"Test string\\", + sortOrder: \\"Test string\\", + viewType: \\"Test string\\", + }); + /** Makes a user a super administrator. */ + await gapi.client.directory.users.makeAdmin({ + userKey: \\"Test string\\", + }, { + status: true, + }); + /** + * Updates a user using patch semantics. The update method should be used instead, since it also supports patch semantics and has better performance. This method is unable to clear fields + * that contain repeated objects (\`addresses\`, \`phones\`, etc). Use the update method instead. + */ + await gapi.client.directory.users.patch({ + userKey: \\"Test string\\", + }, { + addresses: 42, + agreedToTerms: true, + aliases: [ + \\"Test string\\" + ], + archived: true, + changePasswordAtNextLogin: true, + creationTime: \\"Test string\\", + customerId: \\"Test string\\", + customSchemas: { + A: { + A: 42 + } + }, + deletionTime: \\"Test string\\", + emails: 42, + etag: \\"Test string\\", + externalIds: 42, + gender: 42, + hashFunction: \\"Test string\\", + id: \\"Test string\\", + ims: 42, + includeInGlobalAddressList: true, + ipWhitelisted: true, + isAdmin: true, + isDelegatedAdmin: true, + isEnforcedIn2Sv: true, + isEnrolledIn2Sv: true, + isMailboxSetup: true, + keywords: 42, + kind: \\"Test string\\", + languages: 42, + lastLoginTime: \\"Test string\\", + locations: 42, + name: { + familyName: \\"Test string\\", + fullName: \\"Test string\\", + givenName: \\"Test string\\", + }, + nonEditableAliases: [ + \\"Test string\\" + ], + notes: 42, + organizations: 42, + orgUnitPath: \\"Test string\\", + password: \\"Test string\\", + phones: 42, + posixAccounts: 42, + primaryEmail: \\"Test string\\", + recoveryEmail: \\"Test string\\", + recoveryPhone: \\"Test string\\", + relations: 42, + sshPublicKeys: 42, + suspended: true, + suspensionReason: \\"Test string\\", + thumbnailPhotoEtag: \\"Test string\\", + thumbnailPhotoUrl: \\"Test string\\", + websites: 42, + }); + /** Signs a user out of all web and device sessions and reset their sign-in cookies. User will have to sign in by authenticating again. */ + await gapi.client.directory.users.signOut({ + userKey: \\"Test string\\", + }); + /** Undeletes a deleted user. */ + await gapi.client.directory.users.undelete({ + userKey: \\"Test string\\", + }, { + orgUnitPath: \\"Test string\\", + }); + /** + * Updates a user. This method supports patch semantics, meaning you only need to include the fields you wish to update. Fields that are not present in the request will be preserved, and + * fields set to \`null\` will be cleared. + */ + await gapi.client.directory.users.update({ + userKey: \\"Test string\\", + }, { + addresses: 42, + agreedToTerms: true, + aliases: [ + \\"Test string\\" + ], + archived: true, + changePasswordAtNextLogin: true, + creationTime: \\"Test string\\", + customerId: \\"Test string\\", + customSchemas: { + A: { + A: 42 + } + }, + deletionTime: \\"Test string\\", + emails: 42, + etag: \\"Test string\\", + externalIds: 42, + gender: 42, + hashFunction: \\"Test string\\", + id: \\"Test string\\", + ims: 42, + includeInGlobalAddressList: true, + ipWhitelisted: true, + isAdmin: true, + isDelegatedAdmin: true, + isEnforcedIn2Sv: true, + isEnrolledIn2Sv: true, + isMailboxSetup: true, + keywords: 42, + kind: \\"Test string\\", + languages: 42, + lastLoginTime: \\"Test string\\", + locations: 42, + name: { + familyName: \\"Test string\\", + fullName: \\"Test string\\", + givenName: \\"Test string\\", + }, + nonEditableAliases: [ + \\"Test string\\" + ], + notes: 42, + organizations: 42, + orgUnitPath: \\"Test string\\", + password: \\"Test string\\", + phones: 42, + posixAccounts: 42, + primaryEmail: \\"Test string\\", + recoveryEmail: \\"Test string\\", + recoveryPhone: \\"Test string\\", + relations: 42, + sshPublicKeys: 42, + suspended: true, + suspensionReason: \\"Test string\\", + thumbnailPhotoEtag: \\"Test string\\", + thumbnailPhotoUrl: \\"Test string\\", + websites: 42, + }); + /** Watches for changes in users list. */ + await gapi.client.directory.users.watch({ + customer: \\"Test string\\", + customFieldMask: \\"Test string\\", + domain: \\"Test string\\", + event: \\"Test string\\", + maxResults: 42, + orderBy: \\"Test string\\", + pageToken: \\"Test string\\", + projection: \\"Test string\\", + query: \\"Test string\\", + showDeleted: \\"Test string\\", + sortOrder: \\"Test string\\", + viewType: \\"Test string\\", + }, { + address: \\"Test string\\", + expiration: \\"Test string\\", + id: \\"Test string\\", + kind: \\"Test string\\", + params: { + A: \\"Test string\\" + }, + payload: true, + resourceId: \\"Test string\\", + resourceUri: \\"Test string\\", + token: \\"Test string\\", + type: \\"Test string\\", + }); + /** Removes an alias. */ + await gapi.client.directory.users.aliases.delete({ + alias: \\"Test string\\", + userKey: \\"Test string\\", + }); + /** Adds an alias. */ + await gapi.client.directory.users.aliases.insert({ + userKey: \\"Test string\\", + }, { + alias: \\"Test string\\", + etag: \\"Test string\\", + id: \\"Test string\\", + kind: \\"Test string\\", + primaryEmail: \\"Test string\\", + }); + /** Lists all aliases for a user. */ + await gapi.client.directory.users.aliases.list({ + event: \\"Test string\\", + userKey: \\"Test string\\", + }); + /** Watches for changes in users list. */ + await gapi.client.directory.users.aliases.watch({ + event: \\"Test string\\", + userKey: \\"Test string\\", + }, { + address: \\"Test string\\", + expiration: \\"Test string\\", + id: \\"Test string\\", + kind: \\"Test string\\", + params: { + A: \\"Test string\\" + }, + payload: true, + resourceId: \\"Test string\\", + resourceUri: \\"Test string\\", + token: \\"Test string\\", + type: \\"Test string\\", + }); + /** Removes the user's photo. */ + await gapi.client.directory.users.photos.delete({ + userKey: \\"Test string\\", + }); + /** Retrieves the user's photo. */ + await gapi.client.directory.users.photos.get({ + userKey: \\"Test string\\", + }); + /** Adds a photo for the user. This method supports [patch semantics](/admin-sdk/directory/v1/guides/performance#patch). */ + await gapi.client.directory.users.photos.patch({ + userKey: \\"Test string\\", + }, { + etag: \\"Test string\\", + height: 42, + id: \\"Test string\\", + kind: \\"Test string\\", + mimeType: \\"Test string\\", + photoData: \\"Test string\\", + primaryEmail: \\"Test string\\", + width: 42, + }); + /** Adds a photo for the user. */ + await gapi.client.directory.users.photos.update({ + userKey: \\"Test string\\", + }, { + etag: \\"Test string\\", + height: 42, + id: \\"Test string\\", + kind: \\"Test string\\", + mimeType: \\"Test string\\", + photoData: \\"Test string\\", + primaryEmail: \\"Test string\\", + width: 42, + }); + /** Generates new backup verification codes for the user. */ + await gapi.client.directory.verificationCodes.generate({ + userKey: \\"Test string\\", + }); + /** Invalidates the current backup verification codes for the user. */ + await gapi.client.directory.verificationCodes.invalidate({ + userKey: \\"Test string\\", + }); + /** Returns the current set of valid backup verification codes for the specified user. */ + await gapi.client.directory.verificationCodes.list({ + userKey: \\"Test string\\", + }); + } +}); +" +`; diff --git a/test/restDocs/snapshots/gapi.client.admin-directory_v1/tsconfig.json b/test/restDocs/snapshots/gapi.client.admin-directory_v1/tsconfig.json deleted file mode 100644 index d5540261de..0000000000 --- a/test/restDocs/snapshots/gapi.client.admin-directory_v1/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "module": "commonjs", - "lib": ["es6", "dom"], - "noImplicitAny": true, - "noImplicitThis": true, - "strictNullChecks": true, - "baseUrl": "../", - "typeRoots": [ - "../" - ], - "types": [], - "noEmit": true, - "forceConsistentCasingInFileNames": true, - "strictFunctionTypes": true - }, - "files": ["index.d.ts", "tests.ts"] -} diff --git a/test/restDocs/snapshots/gapi.client.admin-directory_v1/tsconfig.json.shot b/test/restDocs/snapshots/gapi.client.admin-directory_v1/tsconfig.json.shot new file mode 100644 index 0000000000..1b99310f09 --- /dev/null +++ b/test/restDocs/snapshots/gapi.client.admin-directory_v1/tsconfig.json.shot @@ -0,0 +1,23 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`admin works: admin works 1`] = ` +"{ + \\"compilerOptions\\": { + \\"module\\": \\"commonjs\\", + \\"lib\\": [\\"es6\\", \\"dom\\"], + \\"noImplicitAny\\": true, + \\"noImplicitThis\\": true, + \\"strictNullChecks\\": true, + \\"baseUrl\\": \\"../\\", + \\"typeRoots\\": [ + \\"../\\" + ], + \\"types\\": [], + \\"noEmit\\": true, + \\"forceConsistentCasingInFileNames\\": true, + \\"strictFunctionTypes\\": true + }, + \\"files\\": [\\"index.d.ts\\", \\"tests.ts\\"] +} +" +`; diff --git a/test/restDocs/snapshots/gapi.client.admin-directory_v1/tslint.json b/test/restDocs/snapshots/gapi.client.admin-directory_v1/tslint.json deleted file mode 100644 index 1598764131..0000000000 --- a/test/restDocs/snapshots/gapi.client.admin-directory_v1/tslint.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "dtslint/dtslint.json", - "rules": { - "no-redundant-jsdoc": false - } -} diff --git a/test/restDocs/snapshots/gapi.client.admin-directory_v1/tslint.json.shot b/test/restDocs/snapshots/gapi.client.admin-directory_v1/tslint.json.shot new file mode 100644 index 0000000000..3aa79e67a3 --- /dev/null +++ b/test/restDocs/snapshots/gapi.client.admin-directory_v1/tslint.json.shot @@ -0,0 +1,11 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`admin works: admin works 1`] = ` +"{ + \\"extends\\": \\"dtslint/dtslint.json\\", + \\"rules\\": { + \\"no-redundant-jsdoc\\": false + } +} +" +`; diff --git a/test/restDocs/snapshots/gapi.client.calendar-v3/.npmrc b/test/restDocs/snapshots/gapi.client.calendar-v3/.npmrc deleted file mode 100644 index 0063b50cfd..0000000000 --- a/test/restDocs/snapshots/gapi.client.calendar-v3/.npmrc +++ /dev/null @@ -1 +0,0 @@ -//registry.npmjs.org/:_authToken=${NPM_PUBLISH_AUTOMATION_TOKEN} diff --git a/test/restDocs/snapshots/gapi.client.calendar-v3/.npmrc.shot b/test/restDocs/snapshots/gapi.client.calendar-v3/.npmrc.shot new file mode 100644 index 0000000000..71ba3c7576 --- /dev/null +++ b/test/restDocs/snapshots/gapi.client.calendar-v3/.npmrc.shot @@ -0,0 +1,6 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`calendar works: calendar works 1`] = ` +"//registry.npmjs.org/:_authToken=\${NPM_PUBLISH_AUTOMATION_TOKEN} +" +`; diff --git a/test/restDocs/snapshots/gapi.client.calendar-v3/index.d.ts b/test/restDocs/snapshots/gapi.client.calendar-v3/index.d.ts.shot similarity index 92% rename from test/restDocs/snapshots/gapi.client.calendar-v3/index.d.ts rename to test/restDocs/snapshots/gapi.client.calendar-v3/index.d.ts.shot index 273a4f52c9..b33786ead1 100644 --- a/test/restDocs/snapshots/gapi.client.calendar-v3/index.d.ts +++ b/test/restDocs/snapshots/gapi.client.calendar-v3/index.d.ts.shot @@ -1,4 +1,7 @@ -/* Type definitions for non-npm package Calendar API v3 0.0 */ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`calendar works: calendar works 1`] = ` +"/* Type definitions for non-npm package Calendar API v3 0.0 */ // Project: https://developers.google.com/google-apps/calendar/firstapp // Definitions by: Maxim Mazurok // Nick Amoscato @@ -11,15 +14,15 @@ // Generated from: http://localhost:3000/calendar.json // Revision: 20220624 -/// +/// declare namespace gapi.client { /** Load Calendar API v3 */ - function load(urlOrObject: "http://localhost:3000/calendar.json"): Promise; + function load(urlOrObject: \\"http://localhost:3000/calendar.json\\"): Promise; /** @deprecated Please load APIs with discovery documents. */ - function load(name: "calendar", version: "v3"): Promise; + function load(name: \\"calendar\\", version: \\"v3\\"): Promise; /** @deprecated Please load APIs with discovery documents. */ - function load(name: "calendar", version: "v3", callback: () => any): void; + function load(name: \\"calendar\\", version: \\"v3\\", callback: () => any): void; namespace calendar { interface Acl { @@ -27,7 +30,7 @@ declare namespace gapi.client { etag?: string; /** List of rules on the access control list. */ items?: AclRule[]; - /** Type of the collection ("calendar#acl"). */ + /** Type of the collection (\\"calendar#acl\\"). */ kind?: string; /** Token used to access the next page of this result. Omitted if no further results are available, in which case nextSyncToken is provided. */ nextPageToken?: string; @@ -42,28 +45,28 @@ declare namespace gapi.client { etag?: string; /** Identifier of the Access Control List (ACL) rule. See Sharing calendars. */ id?: string; - /** Type of the resource ("calendar#aclRule"). */ + /** Type of the resource (\\"calendar#aclRule\\"). */ kind?: string; /** * The role assigned to the scope. Possible values are: - * - "none" - Provides no access. - * - "freeBusyReader" - Provides read access to free/busy information. - * - "reader" - Provides read access to the calendar. Private events will appear to users with reader access, but event details will be hidden. - * - "writer" - Provides read and write access to the calendar. Private events will appear to users with writer access, and event details will be visible. - * - "owner" - Provides ownership of the calendar. This role has all of the permissions of the writer role with the additional ability to see and manipulate ACLs. + * - \\"none\\" - Provides no access. + * - \\"freeBusyReader\\" - Provides read access to free/busy information. + * - \\"reader\\" - Provides read access to the calendar. Private events will appear to users with reader access, but event details will be hidden. + * - \\"writer\\" - Provides read and write access to the calendar. Private events will appear to users with writer access, and event details will be visible. + * - \\"owner\\" - Provides ownership of the calendar. This role has all of the permissions of the writer role with the additional ability to see and manipulate ACLs. */ role?: string; /** The extent to which calendar access is granted by this ACL rule. */ scope?: { /** * The type of the scope. Possible values are: - * - "default" - The public scope. This is the default value. - * - "user" - Limits the scope to a single user. - * - "group" - Limits the scope to a group. - * - "domain" - Limits the scope to a domain. Note: The permissions granted to the "default", or public, scope apply to any user, authenticated or not. + * - \\"default\\" - The public scope. This is the default value. + * - \\"user\\" - Limits the scope to a single user. + * - \\"group\\" - Limits the scope to a group. + * - \\"domain\\" - Limits the scope to a domain. Note: The permissions granted to the \\"default\\", or public, scope apply to any user, authenticated or not. */ type?: string; - /** The email address of a user or group, or the name of a domain, depending on the scope type. Omitted for type "default". */ + /** The email address of a user or group, or the name of a domain, depending on the scope type. Omitted for type \\"default\\". */ value?: string; }; } @@ -76,13 +79,13 @@ declare namespace gapi.client { etag?: string; /** Identifier of the calendar. To retrieve IDs call the calendarList.list() method. */ id?: string; - /** Type of the resource ("calendar#calendar"). */ + /** Type of the resource (\\"calendar#calendar\\"). */ kind?: string; /** Geographic location of the calendar as free-form text. Optional. */ location?: string; /** Title of the calendar. */ summary?: string; - /** The time zone of the calendar. (Formatted as an IANA Time Zone Database name, e.g. "Europe/Zurich".) Optional. */ + /** The time zone of the calendar. (Formatted as an IANA Time Zone Database name, e.g. \\"Europe/Zurich\\".) Optional. */ timeZone?: string; } interface CalendarList { @@ -90,7 +93,7 @@ declare namespace gapi.client { etag?: string; /** Calendars that are present on the user's calendar list. */ items?: CalendarListEntry[]; - /** Type of the collection ("calendar#calendarList"). */ + /** Type of the collection (\\"calendar#calendarList\\"). */ kind?: string; /** Token used to access the next page of this result. Omitted if no further results are available, in which case nextSyncToken is provided. */ nextPageToken?: string; @@ -103,14 +106,14 @@ declare namespace gapi.client { interface CalendarListEntry { /** * The effective access role that the authenticated user has on the calendar. Read-only. Possible values are: - * - "freeBusyReader" - Provides read access to free/busy information. - * - "reader" - Provides read access to the calendar. Private events will appear to users with reader access, but event details will be hidden. - * - "writer" - Provides read and write access to the calendar. Private events will appear to users with writer access, and event details will be visible. - * - "owner" - Provides ownership of the calendar. This role has all of the permissions of the writer role with the additional ability to see and manipulate ACLs. + * - \\"freeBusyReader\\" - Provides read access to free/busy information. + * - \\"reader\\" - Provides read access to the calendar. Private events will appear to users with reader access, but event details will be hidden. + * - \\"writer\\" - Provides read and write access to the calendar. Private events will appear to users with writer access, and event details will be visible. + * - \\"owner\\" - Provides ownership of the calendar. This role has all of the permissions of the writer role with the additional ability to see and manipulate ACLs. */ accessRole?: string; /** - * The main color of the calendar in the hexadecimal format "#0088aa". This property supersedes the index-based colorId property. To set or change this property, you need to specify + * The main color of the calendar in the hexadecimal format \\"#0088aa\\". This property supersedes the index-based colorId property. To set or change this property, you need to specify * colorRgbFormat=true in the parameters of the insert, update and patch methods. Optional. */ backgroundColor?: string; @@ -130,7 +133,7 @@ declare namespace gapi.client { /** ETag of the resource. */ etag?: string; /** - * The foreground color of the calendar in the hexadecimal format "#ffffff". This property supersedes the index-based colorId property. To set or change this property, you need to + * The foreground color of the calendar in the hexadecimal format \\"#ffffff\\". This property supersedes the index-based colorId property. To set or change this property, you need to * specify colorRgbFormat=true in the parameters of the insert, update and patch methods. Optional. */ foregroundColor?: string; @@ -138,7 +141,7 @@ declare namespace gapi.client { hidden?: boolean; /** Identifier of the calendar. */ id?: string; - /** Type of the resource ("calendar#calendarListEntry"). */ + /** Type of the resource (\\"calendar#calendarListEntry\\"). */ kind?: string; /** Geographic location of the calendar as free-form text. Optional. Read-only. */ location?: string; @@ -161,17 +164,17 @@ declare namespace gapi.client { interface CalendarNotification { /** * The method used to deliver the notification. The possible value is: - * - "email" - Notifications are sent via email. + * - \\"email\\" - Notifications are sent via email. * Required when adding a notification. */ method?: string; /** * The type of notification. Possible values are: - * - "eventCreation" - Notification sent when a new event is put on the calendar. - * - "eventChange" - Notification sent when an event is changed. - * - "eventCancellation" - Notification sent when an event is cancelled. - * - "eventResponse" - Notification sent when an attendee responds to the event invitation. - * - "agenda" - An agenda with the events of the day (sent out in the morning). + * - \\"eventCreation\\" - Notification sent when a new event is put on the calendar. + * - \\"eventChange\\" - Notification sent when an event is changed. + * - \\"eventCancellation\\" - Notification sent when an event is cancelled. + * - \\"eventResponse\\" - Notification sent when an attendee responds to the event invitation. + * - \\"agenda\\" - An agenda with the events of the day (sent out in the morning). * Required when adding a notification. */ type?: string; @@ -183,7 +186,7 @@ declare namespace gapi.client { expiration?: string; /** A UUID or similar unique string that identifies this channel. */ id?: string; - /** Identifies this as a notification channel used to watch for changes to a resource, which is "api#channel". */ + /** Identifies this as a notification channel used to watch for changes to a resource, which is \\"api#channel\\". */ kind?: string; /** Additional parameters controlling delivery channel behavior. Optional. */ params?: { [P in string]: string }; @@ -195,7 +198,7 @@ declare namespace gapi.client { resourceUri?: string; /** An arbitrary string delivered to the target address with each notification delivered over this channel. Optional. */ token?: string; - /** The type of delivery mechanism used for this channel. Valid values are "web_hook" (or "webhook"). Both values refer to a channel where Http requests are used to deliver messages. */ + /** The type of delivery mechanism used for this channel. Valid values are \\"web_hook\\" (or \\"webhook\\"). Both values refer to a channel where Http requests are used to deliver messages. */ type?: string; } interface ColorDefinition { @@ -209,7 +212,7 @@ declare namespace gapi.client { calendar?: { [P in string]: ColorDefinition }; /** A global palette of event colors, mapping from the color ID to its definition. An event resource may refer to one of these color IDs in its colorId field. Read-only. */ event?: { [P in string]: ColorDefinition }; - /** Type of the resource ("calendar#colors"). */ + /** Type of the resource (\\"calendar#colors\\"). */ kind?: string; /** Last modification time of the color palette (as a RFC3339 timestamp). Read-only. */ updated?: string; @@ -265,9 +268,9 @@ declare namespace gapi.client { /** * The types of conference solutions that are supported for this calendar. * The possible values are: - * - "eventHangout" - * - "eventNamedHangout" - * - "hangoutsMeet" Optional. + * - \\"eventHangout\\" + * - \\"eventNamedHangout\\" + * - \\"hangoutsMeet\\" Optional. */ allowedConferenceSolutionTypes?: string[]; } @@ -275,9 +278,9 @@ declare namespace gapi.client { /** * The current status of the conference create request. Read-only. * The possible values are: - * - "pending": the conference create request is still being processed. - * - "success": the conference create request succeeded, the entry points are populated. - * - "failure": the conference create request failed, there are no entry points. + * - \\"pending\\": the conference create request is still being processed. + * - \\"success\\": the conference create request succeeded, the entry points are populated. + * - \\"failure\\": the conference create request failed, there are no entry points. */ statusCode?: string; } @@ -294,10 +297,10 @@ declare namespace gapi.client { * The conference solution type. * If a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications. * The possible values are: - * - "eventHangout" for Hangouts for consumers (deprecated; existing events may show this conference solution type but new conferences cannot be created) - * - "eventNamedHangout" for classic Hangouts for Google Workspace users (deprecated; existing events may show this conference solution type but new conferences cannot be created) - * - "hangoutsMeet" for Google Meet (http://meet.google.com) - * - "addOn" for 3P conference providers + * - \\"eventHangout\\" for Hangouts for consumers (deprecated; existing events may show this conference solution type but new conferences cannot be created) + * - \\"eventNamedHangout\\" for classic Hangouts for Google Workspace users (deprecated; existing events may show this conference solution type but new conferences cannot be created) + * - \\"hangoutsMeet\\" for Google Meet (http://meet.google.com) + * - \\"addOn\\" for 3P conference providers */ type?: string; } @@ -325,10 +328,10 @@ declare namespace gapi.client { /** * The type of the conference entry point. * Possible values are: - * - "video" - joining a conference over HTTP. A conference can have zero or one video entry point. - * - "phone" - joining a conference by dialing a phone number. A conference can have zero or more phone entry points. - * - "sip" - joining a conference over SIP. A conference can have zero or one sip entry point. - * - "more" - further conference joining instructions, for example additional phone numbers. A conference can have zero or one more entry point. A conference with only a more entry + * - \\"video\\" - joining a conference over HTTP. A conference can have zero or one video entry point. + * - \\"phone\\" - joining a conference by dialing a phone number. A conference can have zero or more phone entry points. + * - \\"sip\\" - joining a conference over SIP. A conference can have zero or one sip entry point. + * - \\"more\\" - further conference joining instructions, for example additional phone numbers. A conference can have zero or one more entry point. A conference with only a more entry * point is not a valid conference. */ entryPointType?: string; @@ -370,7 +373,7 @@ declare namespace gapi.client { */ pin?: string; /** - * The CLDR/ISO 3166 region code for the country associated with this phone access. Example: "SE" for Sweden. + * The CLDR/ISO 3166 region code for the country associated with this phone access. Example: \\"SE\\" for Sweden. * Calendar backend will populate this field only for EntryPointType.PHONE. */ regionCode?: string; @@ -389,10 +392,10 @@ declare namespace gapi.client { domain?: string; /** * Specific reason for the error. Some of the possible values are: - * - "groupTooBig" - The group of users requested is too large for a single query. - * - "tooManyCalendarsRequested" - The number of calendars requested is too large for a single query. - * - "notFound" - The requested resource was not found. - * - "internalError" - The API service has encountered an internal error. Additional error types may be added in the future, so clients should gracefully handle additional error + * - \\"groupTooBig\\" - The group of users requested is too large for a single query. + * - \\"tooManyCalendarsRequested\\" - The number of calendars requested is too large for a single query. + * - \\"notFound\\" - The requested resource was not found. + * - \\"internalError\\" - The API service has encountered an internal error. Additional error types may be added in the future, so clients should gracefully handle additional error * statuses not included in this list. */ reason?: string; @@ -446,9 +449,9 @@ declare namespace gapi.client { etag?: string; /** * Specific type of the event. Read-only. Possible values are: - * - "default" - A regular event or not further specified. - * - "outOfOffice" - An out-of-office event. - * - "focusTime" - A focus-time event. + * - \\"default\\" - A regular event or not further specified. + * - \\"outOfOffice\\" - An out-of-office event. + * - \\"focusTime\\" - A focus-time event. */ eventType?: string; /** Extended properties of the event. */ @@ -462,8 +465,8 @@ declare namespace gapi.client { gadget?: { /** * The gadget's display mode. Deprecated. Possible values are: - * - "icon" - The gadget displays next to the event's title in the calendar view. - * - "chip" - The gadget displays when the event is clicked. + * - \\"icon\\" - The gadget displays next to the event's title in the calendar view. + * - \\"chip\\" - The gadget displays when the event is clicked. */ display?: string; /** The gadget's height in pixels. The height must be an integer greater than 0. Optional. Deprecated. */ @@ -508,12 +511,12 @@ declare namespace gapi.client { * occurrences of one event have different ids while they all share the same icalUIDs. */ id?: string; - /** Type of the resource ("calendar#event"). */ + /** Type of the resource (\\"calendar#event\\"). */ kind?: string; /** Geographic location of the event as free-form text. Optional. */ location?: string; /** - * Whether this is a locked event copy where no changes can be made to the main event fields "summary", "description", "location", "start", "end" or "recurrence". The default is False. + * Whether this is a locked event copy where no changes can be made to the main event fields \\"summary\\", \\"description\\", \\"location\\", \\"start\\", \\"end\\" or \\"recurrence\\". The default is False. * Read-Only. */ locked?: boolean; @@ -571,9 +574,9 @@ declare namespace gapi.client { start?: EventDateTime; /** * Status of the event. Optional. Possible values are: - * - "confirmed" - The event is confirmed. This is the default status. - * - "tentative" - The event is tentatively confirmed. - * - "cancelled" - The event is cancelled (deleted). The list method returns cancelled events only on incremental sync (when syncToken or updatedMin are specified) or if the + * - \\"confirmed\\" - The event is confirmed. This is the default status. + * - \\"tentative\\" - The event is tentatively confirmed. + * - \\"cancelled\\" - The event is cancelled (deleted). The list method returns cancelled events only on incremental sync (when syncToken or updatedMin are specified) or if the * showDeleted flag is set to true. The get method always returns them. * A cancelled status represents two different states depending on the event type: * - Cancelled exceptions of an uncancelled recurring event indicate that this instance should no longer be presented to the user. Clients should store these events for the lifetime of @@ -592,18 +595,18 @@ declare namespace gapi.client { summary?: string; /** * Whether the event blocks time on the calendar. Optional. Possible values are: - * - "opaque" - Default value. The event does block time on the calendar. This is equivalent to setting Show me as to Busy in the Calendar UI. - * - "transparent" - The event does not block time on the calendar. This is equivalent to setting Show me as to Available in the Calendar UI. + * - \\"opaque\\" - Default value. The event does block time on the calendar. This is equivalent to setting Show me as to Busy in the Calendar UI. + * - \\"transparent\\" - The event does not block time on the calendar. This is equivalent to setting Show me as to Available in the Calendar UI. */ transparency?: string; /** Last modification time of the event (as a RFC3339 timestamp). Read-only. */ updated?: string; /** * Visibility of the event. Optional. Possible values are: - * - "default" - Uses the default visibility for events on the calendar. This is the default value. - * - "public" - The event is public and event details are visible to all readers of the calendar. - * - "private" - The event is private and only event attendees may view event details. - * - "confidential" - The event is private. This value is provided for compatibility reasons. + * - \\"default\\" - Uses the default visibility for events on the calendar. This is the default value. + * - \\"public\\" - The event is public and event details are visible to all readers of the calendar. + * - \\"private\\" - The event is private and only event attendees may view event details. + * - \\"confidential\\" - The event is private. This value is provided for compatibility reasons. */ visibility?: string; } @@ -648,11 +651,11 @@ declare namespace gapi.client { resource?: boolean; /** * The attendee's response status. Possible values are: - * - "needsAction" - The attendee has not responded to the invitation (recommended for new events). - * - "declined" - The attendee has declined the invitation. - * - "tentative" - The attendee has tentatively accepted the invitation. - * - "accepted" - The attendee has accepted the invitation. Warning: If you add an event using the values declined, tentative, or accepted, attendees with the "Add invitations to my - * calendar" setting set to "When I respond to invitation in email" won't see an event on their calendar unless they choose to change their invitation response in the event invitation + * - \\"needsAction\\" - The attendee has not responded to the invitation (recommended for new events). + * - \\"declined\\" - The attendee has declined the invitation. + * - \\"tentative\\" - The attendee has tentatively accepted the invitation. + * - \\"accepted\\" - The attendee has accepted the invitation. Warning: If you add an event using the values declined, tentative, or accepted, attendees with the \\"Add invitations to my + * calendar\\" setting set to \\"When I respond to invitation in email\\" won't see an event on their calendar unless they choose to change their invitation response in the event invitation * email. */ responseStatus?: string; @@ -660,12 +663,12 @@ declare namespace gapi.client { self?: boolean; } interface EventDateTime { - /** The date, in the format "yyyy-mm-dd", if this is an all-day event. */ + /** The date, in the format \\"yyyy-mm-dd\\", if this is an all-day event. */ date?: string; /** The time, as a combined date-time value (formatted according to RFC3339). A time zone offset is required unless a time zone is explicitly specified in timeZone. */ dateTime?: string; /** - * The time zone in which the time is specified. (Formatted as an IANA Time Zone Database name, e.g. "Europe/Zurich".) For recurring events this field is required and specifies the + * The time zone in which the time is specified. (Formatted as an IANA Time Zone Database name, e.g. \\"Europe/Zurich\\".) For recurring events this field is required and specifies the * time zone in which the recurrence is expanded. For single events this field is optional and indicates a custom time zone for the event start/end. */ timeZone?: string; @@ -673,8 +676,8 @@ declare namespace gapi.client { interface EventReminder { /** * The method used by this reminder. Possible values are: - * - "email" - Reminders are sent via email. - * - "popup" - Reminders are sent via a UI popup. + * - \\"email\\" - Reminders are sent via email. + * - \\"popup\\" - Reminders are sent via a UI popup. * Required when adding a reminder. */ method?: string; @@ -687,11 +690,11 @@ declare namespace gapi.client { interface Events { /** * The user's access role for this calendar. Read-only. Possible values are: - * - "none" - The user has no access. - * - "freeBusyReader" - The user has read access to free/busy information. - * - "reader" - The user has read access to the calendar. Private events will appear to users with reader access, but event details will be hidden. - * - "writer" - The user has read and write access to the calendar. Private events will appear to users with writer access, and event details will be visible. - * - "owner" - The user has ownership of the calendar. This role has all of the permissions of the writer role with the additional ability to see and manipulate ACLs. + * - \\"none\\" - The user has no access. + * - \\"freeBusyReader\\" - The user has read access to free/busy information. + * - \\"reader\\" - The user has read access to the calendar. Private events will appear to users with reader access, but event details will be hidden. + * - \\"writer\\" - The user has read and write access to the calendar. Private events will appear to users with writer access, and event details will be visible. + * - \\"owner\\" - The user has ownership of the calendar. This role has all of the permissions of the writer role with the additional ability to see and manipulate ACLs. */ accessRole?: string; /** @@ -705,7 +708,7 @@ declare namespace gapi.client { etag?: string; /** List of events on the calendar. */ items?: Event[]; - /** Type of the collection ("calendar#events"). */ + /** Type of the collection (\\"calendar#events\\"). */ kind?: string; /** Token used to access the next page of this result. Omitted if no further results are available, in which case nextSyncToken is provided. */ nextPageToken?: string; @@ -756,7 +759,7 @@ declare namespace gapi.client { calendars?: { [P in string]: FreeBusyCalendar }; /** Expansion of groups. */ groups?: { [P in string]: FreeBusyGroup }; - /** Type of the resource ("calendar#freeBusy"). */ + /** Type of the resource (\\"calendar#freeBusy\\"). */ kind?: string; /** The end of the interval. */ timeMax?: string; @@ -768,7 +771,7 @@ declare namespace gapi.client { etag?: string; /** The id of the user setting. */ id?: string; - /** Type of the resource ("calendar#setting"). */ + /** Type of the resource (\\"calendar#setting\\"). */ kind?: string; /** Value of the user setting. The format of the value depends on the ID of the setting. It must always be a UTF-8 string of length up to 1024 characters. */ value?: string; @@ -778,7 +781,7 @@ declare namespace gapi.client { etag?: string; /** List of user settings. */ items?: Setting[]; - /** Type of the collection ("calendar#settings"). */ + /** Type of the collection (\\"calendar#settings\\"). */ kind?: string; /** Token used to access the next page of this result. Omitted if no further results are available, in which case nextSyncToken is provided. */ nextPageToken?: string; @@ -800,7 +803,7 @@ declare namespace gapi.client { /** Data format for the response. */ alt?: string; /** - * Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the "primary" + * Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the \\"primary\\" * keyword. */ calendarId: string; @@ -824,7 +827,7 @@ declare namespace gapi.client { /** Data format for the response. */ alt?: string; /** - * Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the "primary" + * Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the \\"primary\\" * keyword. */ calendarId: string; @@ -848,7 +851,7 @@ declare namespace gapi.client { /** Data format for the response. */ alt?: string; /** - * Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the "primary" + * Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the \\"primary\\" * keyword. */ calendarId: string; @@ -873,7 +876,7 @@ declare namespace gapi.client { /** Data format for the response. */ alt?: string; /** - * Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the "primary" + * Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the \\"primary\\" * keyword. */ calendarId: string; @@ -898,7 +901,7 @@ declare namespace gapi.client { /** Data format for the response. */ alt?: string; /** - * Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the "primary" + * Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the \\"primary\\" * keyword. */ calendarId: string; @@ -917,7 +920,7 @@ declare namespace gapi.client { /** An opaque string that represents a user for quota purposes. Must not exceed 40 characters. */ quotaUser?: string; /** - * Whether to include deleted ACLs in the result. Deleted ACLs are represented by role equal to "none". Deleted ACLs will always be included if syncToken is provided. Optional. The + * Whether to include deleted ACLs in the result. Deleted ACLs are represented by role equal to \\"none\\". Deleted ACLs will always be included if syncToken is provided. Optional. The * default is False. */ showDeleted?: boolean; @@ -937,7 +940,7 @@ declare namespace gapi.client { /** Data format for the response. */ alt?: string; /** - * Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the "primary" + * Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the \\"primary\\" * keyword. */ calendarId: string; @@ -964,7 +967,7 @@ declare namespace gapi.client { /** Data format for the response. */ alt?: string; /** - * Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the "primary" + * Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the \\"primary\\" * keyword. */ calendarId: string; @@ -991,7 +994,7 @@ declare namespace gapi.client { /** Data format for the response. */ alt?: string; /** - * Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the "primary" + * Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the \\"primary\\" * keyword. */ calendarId: string; @@ -1018,7 +1021,7 @@ declare namespace gapi.client { /** Data format for the response. */ alt?: string; /** - * Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the "primary" + * Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the \\"primary\\" * keyword. */ calendarId: string; @@ -1045,7 +1048,7 @@ declare namespace gapi.client { /** Data format for the response. */ alt?: string; /** - * Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the "primary" + * Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the \\"primary\\" * keyword. */ calendarId: string; @@ -1064,7 +1067,7 @@ declare namespace gapi.client { /** An opaque string that represents a user for quota purposes. Must not exceed 40 characters. */ quotaUser?: string; /** - * Whether to include deleted ACLs in the result. Deleted ACLs are represented by role equal to "none". Deleted ACLs will always be included if syncToken is provided. Optional. The + * Whether to include deleted ACLs in the result. Deleted ACLs are represented by role equal to \\"none\\". Deleted ACLs will always be included if syncToken is provided. Optional. The * default is False. */ showDeleted?: boolean; @@ -1085,7 +1088,7 @@ declare namespace gapi.client { /** Data format for the response. */ alt?: string; /** - * Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the "primary" + * Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the \\"primary\\" * keyword. */ calendarId: string; @@ -1104,7 +1107,7 @@ declare namespace gapi.client { /** An opaque string that represents a user for quota purposes. Must not exceed 40 characters. */ quotaUser?: string; /** - * Whether to include deleted ACLs in the result. Deleted ACLs are represented by role equal to "none". Deleted ACLs will always be included if syncToken is provided. Optional. The + * Whether to include deleted ACLs in the result. Deleted ACLs are represented by role equal to \\"none\\". Deleted ACLs will always be included if syncToken is provided. Optional. The * default is False. */ showDeleted?: boolean; @@ -1127,7 +1130,7 @@ declare namespace gapi.client { /** Data format for the response. */ alt?: string; /** - * Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the "primary" + * Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the \\"primary\\" * keyword. */ calendarId: string; @@ -1149,7 +1152,7 @@ declare namespace gapi.client { /** Data format for the response. */ alt?: string; /** - * Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the "primary" + * Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the \\"primary\\" * keyword. */ calendarId: string; @@ -1254,7 +1257,7 @@ declare namespace gapi.client { /** Data format for the response. */ alt?: string; /** - * Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the "primary" + * Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the \\"primary\\" * keyword. */ calendarId: string; @@ -1282,7 +1285,7 @@ declare namespace gapi.client { /** Data format for the response. */ alt?: string; /** - * Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the "primary" + * Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the \\"primary\\" * keyword. */ calendarId: string; @@ -1310,7 +1313,7 @@ declare namespace gapi.client { /** Data format for the response. */ alt?: string; /** - * Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the "primary" + * Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the \\"primary\\" * keyword. */ calendarId: string; @@ -1338,7 +1341,7 @@ declare namespace gapi.client { /** Data format for the response. */ alt?: string; /** - * Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the "primary" + * Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the \\"primary\\" * keyword. */ calendarId: string; @@ -1444,7 +1447,7 @@ declare namespace gapi.client { /** Data format for the response. */ alt?: string; /** - * Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the "primary" + * Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the \\"primary\\" * keyword. */ calendarId: string; @@ -1466,7 +1469,7 @@ declare namespace gapi.client { /** Data format for the response. */ alt?: string; /** - * Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the "primary" + * Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the \\"primary\\" * keyword. */ calendarId: string; @@ -1488,7 +1491,7 @@ declare namespace gapi.client { /** Data format for the response. */ alt?: string; /** - * Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the "primary" + * Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the \\"primary\\" * keyword. */ calendarId: string; @@ -1546,7 +1549,7 @@ declare namespace gapi.client { /** Data format for the response. */ alt?: string; /** - * Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the "primary" + * Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the \\"primary\\" * keyword. */ calendarId: string; @@ -1569,7 +1572,7 @@ declare namespace gapi.client { /** Data format for the response. */ alt?: string; /** - * Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the "primary" + * Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the \\"primary\\" * keyword. */ calendarId: string; @@ -1592,7 +1595,7 @@ declare namespace gapi.client { /** Data format for the response. */ alt?: string; /** - * Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the "primary" + * Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the \\"primary\\" * keyword. */ calendarId: string; @@ -1615,7 +1618,7 @@ declare namespace gapi.client { /** Data format for the response. */ alt?: string; /** - * Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the "primary" + * Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the \\"primary\\" * keyword. */ calendarId: string; @@ -1697,7 +1700,7 @@ declare namespace gapi.client { /** Data format for the response. */ alt?: string; /** - * Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the "primary" + * Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the \\"primary\\" * keyword. */ calendarId: string; @@ -1734,7 +1737,7 @@ declare namespace gapi.client { */ alwaysIncludeEmail?: boolean; /** - * Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the "primary" + * Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the \\"primary\\" * keyword. */ calendarId: string; @@ -1762,7 +1765,7 @@ declare namespace gapi.client { /** Data format for the response. */ alt?: string; /** - * Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the "primary" + * Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the \\"primary\\" * keyword. */ calendarId: string; @@ -1792,7 +1795,7 @@ declare namespace gapi.client { /** Data format for the response. */ alt?: string; /** - * Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the "primary" + * Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the \\"primary\\" * keyword. */ calendarId: string; @@ -1822,7 +1825,7 @@ declare namespace gapi.client { /** Data format for the response. */ alt?: string; /** - * Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the "primary" + * Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the \\"primary\\" * keyword. */ calendarId: string; @@ -1862,7 +1865,7 @@ declare namespace gapi.client { /** Data format for the response. */ alt?: string; /** - * Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the "primary" + * Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the \\"primary\\" * keyword. */ calendarId: string; @@ -1907,7 +1910,7 @@ declare namespace gapi.client { */ alwaysIncludeEmail?: boolean; /** - * Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the "primary" + * Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the \\"primary\\" * keyword. */ calendarId: string; @@ -1932,7 +1935,7 @@ declare namespace gapi.client { /** An opaque string that represents a user for quota purposes. Must not exceed 40 characters. */ quotaUser?: string; /** - * Whether to include deleted events (with status equals "cancelled") in the result. Cancelled instances of recurring events will still be included if singleEvents is False. + * Whether to include deleted events (with status equals \\"cancelled\\") in the result. Cancelled instances of recurring events will still be included if singleEvents is False. * Optional. The default is False. */ showDeleted?: boolean; @@ -1958,7 +1961,7 @@ declare namespace gapi.client { */ alwaysIncludeEmail?: boolean; /** - * Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the "primary" + * Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the \\"primary\\" * keyword. */ calendarId: string; @@ -1999,7 +2002,7 @@ declare namespace gapi.client { */ sharedExtendedProperty?: string | string[]; /** - * Whether to include deleted events (with status equals "cancelled") in the result. Cancelled instances of recurring events (but not the underlying recurring event) will still be + * Whether to include deleted events (with status equals \\"cancelled\\") in the result. Cancelled instances of recurring events (but not the underlying recurring event) will still be * included if showDeleted and singleEvents are both False. If showDeleted and singleEvents are both True, only single instances of deleted events (but not the underlying recurring * events) are returned. Optional. The default is False. */ @@ -2091,7 +2094,7 @@ declare namespace gapi.client { */ alwaysIncludeEmail?: boolean; /** - * Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the "primary" + * Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the \\"primary\\" * keyword. */ calendarId: string; @@ -2139,7 +2142,7 @@ declare namespace gapi.client { */ alwaysIncludeEmail?: boolean; /** - * Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the "primary" + * Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the \\"primary\\" * keyword. */ calendarId: string; @@ -2182,7 +2185,7 @@ declare namespace gapi.client { /** Data format for the response. */ alt?: string; /** - * Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the "primary" + * Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the \\"primary\\" * keyword. */ calendarId: string; @@ -2219,7 +2222,7 @@ declare namespace gapi.client { */ alwaysIncludeEmail?: boolean; /** - * Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the "primary" + * Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the \\"primary\\" * keyword. */ calendarId: string; @@ -2267,7 +2270,7 @@ declare namespace gapi.client { */ alwaysIncludeEmail?: boolean; /** - * Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the "primary" + * Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the \\"primary\\" * keyword. */ calendarId: string; @@ -2315,7 +2318,7 @@ declare namespace gapi.client { */ alwaysIncludeEmail?: boolean; /** - * Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the "primary" + * Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the \\"primary\\" * keyword. */ calendarId: string; @@ -2356,7 +2359,7 @@ declare namespace gapi.client { */ sharedExtendedProperty?: string | string[]; /** - * Whether to include deleted events (with status equals "cancelled") in the result. Cancelled instances of recurring events (but not the underlying recurring event) will still be + * Whether to include deleted events (with status equals \\"cancelled\\") in the result. Cancelled instances of recurring events (but not the underlying recurring event) will still be * included if showDeleted and singleEvents are both False. If showDeleted and singleEvents are both True, only single instances of deleted events (but not the underlying recurring * events) are returned. Optional. The default is False. */ @@ -2418,7 +2421,7 @@ declare namespace gapi.client { */ alwaysIncludeEmail?: boolean; /** - * Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the "primary" + * Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the \\"primary\\" * keyword. */ calendarId: string; @@ -2459,7 +2462,7 @@ declare namespace gapi.client { */ sharedExtendedProperty?: string | string[]; /** - * Whether to include deleted events (with status equals "cancelled") in the result. Cancelled instances of recurring events (but not the underlying recurring event) will still be + * Whether to include deleted events (with status equals \\"cancelled\\") in the result. Cancelled instances of recurring events (but not the underlying recurring event) will still be * included if showDeleted and singleEvents are both False. If showDeleted and singleEvents are both True, only single instances of deleted events (but not the underlying recurring * events) are returned. Optional. The default is False. */ @@ -2678,3 +2681,5 @@ declare namespace gapi.client { const settings: SettingsResource; } } +" +`; diff --git a/test/restDocs/snapshots/gapi.client.calendar-v3/package.json b/test/restDocs/snapshots/gapi.client.calendar-v3/package.json deleted file mode 100644 index 74cecc97ec..0000000000 --- a/test/restDocs/snapshots/gapi.client.calendar-v3/package.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "name": "@maxim_mazurok/gapi.client.calendar-v3", - "version": "0.0.20220624", - "description": "TypeScript typings for Calendar API v3", - "license": "MIT", - "author": { - "email": "maxim@mazurok.com", - "name": "Maxim Mazurok", - "url": "https://maxim.mazurok.com" - }, - "repository": { - "type": "git", - "url": "https://github.com/Maxim-Mazurok/google-api-typings-generator.git" - }, - "types": "index.d.ts", - "dependencies": { - "@types/gapi.client": "*", - "@types/gapi.client.discovery": "*" - } -} diff --git a/test/restDocs/snapshots/gapi.client.calendar-v3/package.json.shot b/test/restDocs/snapshots/gapi.client.calendar-v3/package.json.shot new file mode 100644 index 0000000000..58e361599e --- /dev/null +++ b/test/restDocs/snapshots/gapi.client.calendar-v3/package.json.shot @@ -0,0 +1,25 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`calendar works: calendar works 1`] = ` +"{ + \\"name\\": \\"@maxim_mazurok/gapi.client.calendar-v3\\", + \\"version\\": \\"0.0.20220624\\", + \\"description\\": \\"TypeScript typings for Calendar API v3\\", + \\"license\\": \\"MIT\\", + \\"author\\": { + \\"email\\": \\"maxim@mazurok.com\\", + \\"name\\": \\"Maxim Mazurok\\", + \\"url\\": \\"https://maxim.mazurok.com\\" + }, + \\"repository\\": { + \\"type\\": \\"git\\", + \\"url\\": \\"https://github.com/Maxim-Mazurok/google-api-typings-generator.git\\" + }, + \\"types\\": \\"index.d.ts\\", + \\"dependencies\\": { + \\"@types/gapi.client\\": \\"*\\", + \\"@types/gapi.client.discovery\\": \\"*\\" + } +} +" +`; diff --git a/test/restDocs/snapshots/gapi.client.calendar-v3/readme.md b/test/restDocs/snapshots/gapi.client.calendar-v3/readme.md.shot similarity index 62% rename from test/restDocs/snapshots/gapi.client.calendar-v3/readme.md rename to test/restDocs/snapshots/gapi.client.calendar-v3/readme.md.shot index 39d8343880..59bf138b77 100644 --- a/test/restDocs/snapshots/gapi.client.calendar-v3/readme.md +++ b/test/restDocs/snapshots/gapi.client.calendar-v3/readme.md.shot @@ -1,4 +1,7 @@ -# TypeScript typings for Calendar API v3 +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`calendar works: calendar works 1`] = ` +"# TypeScript typings for Calendar API v3 Manipulates events and other calendar data. For detailed description please check [documentation](https://developers.google.com/google-apps/calendar/firstapp). @@ -7,41 +10,41 @@ For detailed description please check [documentation](https://developers.google. Install typings for Calendar API: -``` +\`\`\` npm install @types/gapi.client.calendar-v3 --save-dev -``` +\`\`\` ## Usage You need to initialize Google API client in your code: -```typescript +\`\`\`typescript gapi.load('client', () => { // now we can use gapi.client // ... }); -``` +\`\`\` Then load api client wrapper: -```typescript +\`\`\`typescript gapi.client.load('http://localhost:3000/calendar.json', () => { // now we can use: // gapi.client.calendar }); -``` +\`\`\` -```typescript +\`\`\`typescript // Deprecated, use discovery document URL, see https://github.com/google/google-api-javascript-client/blob/master/docs/reference.md#----gapiclientloadname----version----callback-- gapi.client.load('calendar', 'v3', () => { // now we can use: // gapi.client.calendar }); -``` +\`\`\` Don't forget to authenticate your client before sending any request to resources: -```typescript +\`\`\`typescript // declare client_id registered in Google Developers Console var client_id = '', scope = [ @@ -72,56 +75,56 @@ gapi.auth.authorize( /* handle authorization error */ } }); -``` +\`\`\` After that you can use Calendar API resources: -```typescript +\`\`\`typescript /* Deletes an access control rule. */ -await gapi.client.calendar.acl.delete({ calendarId: "calendarId", ruleId: "ruleId", }); +await gapi.client.calendar.acl.delete({ calendarId: \\"calendarId\\", ruleId: \\"ruleId\\", }); /* Returns an access control rule. */ -await gapi.client.calendar.acl.get({ calendarId: "calendarId", ruleId: "ruleId", }); +await gapi.client.calendar.acl.get({ calendarId: \\"calendarId\\", ruleId: \\"ruleId\\", }); /* Creates an access control rule. */ -await gapi.client.calendar.acl.insert({ calendarId: "calendarId", }); +await gapi.client.calendar.acl.insert({ calendarId: \\"calendarId\\", }); /* Returns the rules in the access control list for the calendar. */ -await gapi.client.calendar.acl.list({ calendarId: "calendarId", }); +await gapi.client.calendar.acl.list({ calendarId: \\"calendarId\\", }); /* Updates an access control rule. This method supports patch semantics. */ -await gapi.client.calendar.acl.patch({ calendarId: "calendarId", ruleId: "ruleId", }); +await gapi.client.calendar.acl.patch({ calendarId: \\"calendarId\\", ruleId: \\"ruleId\\", }); /* Updates an access control rule. */ -await gapi.client.calendar.acl.update({ calendarId: "calendarId", ruleId: "ruleId", }); +await gapi.client.calendar.acl.update({ calendarId: \\"calendarId\\", ruleId: \\"ruleId\\", }); /* Watch for changes to ACL resources. */ -await gapi.client.calendar.acl.watch({ calendarId: "calendarId", }); +await gapi.client.calendar.acl.watch({ calendarId: \\"calendarId\\", }); /* Removes a calendar from the user's calendar list. */ -await gapi.client.calendar.calendarList.delete({ calendarId: "calendarId", }); +await gapi.client.calendar.calendarList.delete({ calendarId: \\"calendarId\\", }); /* Returns a calendar from the user's calendar list. */ -await gapi.client.calendar.calendarList.get({ calendarId: "calendarId", }); +await gapi.client.calendar.calendarList.get({ calendarId: \\"calendarId\\", }); /* Inserts an existing calendar into the user's calendar list. @@ -136,12 +139,12 @@ await gapi.client.calendar.calendarList.list({ }); /* Updates an existing calendar on the user's calendar list. This method supports patch semantics. */ -await gapi.client.calendar.calendarList.patch({ calendarId: "calendarId", }); +await gapi.client.calendar.calendarList.patch({ calendarId: \\"calendarId\\", }); /* Updates an existing calendar on the user's calendar list. */ -await gapi.client.calendar.calendarList.update({ calendarId: "calendarId", }); +await gapi.client.calendar.calendarList.update({ calendarId: \\"calendarId\\", }); /* Watch for changes to CalendarList resources. @@ -151,17 +154,17 @@ await gapi.client.calendar.calendarList.watch({ }); /* Clears a primary calendar. This operation deletes all events associated with the primary calendar of an account. */ -await gapi.client.calendar.calendars.clear({ calendarId: "calendarId", }); +await gapi.client.calendar.calendars.clear({ calendarId: \\"calendarId\\", }); /* Deletes a secondary calendar. Use calendars.clear for clearing all events on primary calendars. */ -await gapi.client.calendar.calendars.delete({ calendarId: "calendarId", }); +await gapi.client.calendar.calendars.delete({ calendarId: \\"calendarId\\", }); /* Returns metadata for a calendar. */ -await gapi.client.calendar.calendars.get({ calendarId: "calendarId", }); +await gapi.client.calendar.calendars.get({ calendarId: \\"calendarId\\", }); /* Creates a secondary calendar. @@ -171,12 +174,12 @@ await gapi.client.calendar.calendars.insert({ }); /* Updates metadata for a calendar. This method supports patch semantics. */ -await gapi.client.calendar.calendars.patch({ calendarId: "calendarId", }); +await gapi.client.calendar.calendars.patch({ calendarId: \\"calendarId\\", }); /* Updates metadata for a calendar. */ -await gapi.client.calendar.calendars.update({ calendarId: "calendarId", }); +await gapi.client.calendar.calendars.update({ calendarId: \\"calendarId\\", }); /* Stop watching resources through this channel @@ -191,57 +194,57 @@ await gapi.client.calendar.colors.get({ }); /* Deletes an event. */ -await gapi.client.calendar.events.delete({ calendarId: "calendarId", eventId: "eventId", }); +await gapi.client.calendar.events.delete({ calendarId: \\"calendarId\\", eventId: \\"eventId\\", }); /* Returns an event. */ -await gapi.client.calendar.events.get({ calendarId: "calendarId", eventId: "eventId", }); +await gapi.client.calendar.events.get({ calendarId: \\"calendarId\\", eventId: \\"eventId\\", }); /* Imports an event. This operation is used to add a private copy of an existing event to a calendar. */ -await gapi.client.calendar.events.import({ calendarId: "calendarId", }); +await gapi.client.calendar.events.import({ calendarId: \\"calendarId\\", }); /* Creates an event. */ -await gapi.client.calendar.events.insert({ calendarId: "calendarId", }); +await gapi.client.calendar.events.insert({ calendarId: \\"calendarId\\", }); /* Returns instances of the specified recurring event. */ -await gapi.client.calendar.events.instances({ calendarId: "calendarId", eventId: "eventId", }); +await gapi.client.calendar.events.instances({ calendarId: \\"calendarId\\", eventId: \\"eventId\\", }); /* Returns events on the specified calendar. */ -await gapi.client.calendar.events.list({ calendarId: "calendarId", }); +await gapi.client.calendar.events.list({ calendarId: \\"calendarId\\", }); /* Moves an event to another calendar, i.e. changes an event's organizer. */ -await gapi.client.calendar.events.move({ calendarId: "calendarId", destination: "destination", eventId: "eventId", }); +await gapi.client.calendar.events.move({ calendarId: \\"calendarId\\", destination: \\"destination\\", eventId: \\"eventId\\", }); /* Updates an event. This method supports patch semantics. */ -await gapi.client.calendar.events.patch({ calendarId: "calendarId", eventId: "eventId", }); +await gapi.client.calendar.events.patch({ calendarId: \\"calendarId\\", eventId: \\"eventId\\", }); /* Creates an event based on a simple text string. */ -await gapi.client.calendar.events.quickAdd({ calendarId: "calendarId", text: "text", }); +await gapi.client.calendar.events.quickAdd({ calendarId: \\"calendarId\\", text: \\"text\\", }); /* Updates an event. */ -await gapi.client.calendar.events.update({ calendarId: "calendarId", eventId: "eventId", }); +await gapi.client.calendar.events.update({ calendarId: \\"calendarId\\", eventId: \\"eventId\\", }); /* Watch for changes to Events resources. */ -await gapi.client.calendar.events.watch({ calendarId: "calendarId", }); +await gapi.client.calendar.events.watch({ calendarId: \\"calendarId\\", }); /* Returns free/busy information for a set of calendars. @@ -251,7 +254,7 @@ await gapi.client.calendar.freebusy.query({ }); /* Returns a single user setting. */ -await gapi.client.calendar.settings.get({ setting: "setting", }); +await gapi.client.calendar.settings.get({ setting: \\"setting\\", }); /* Returns all user settings for the authenticated user. @@ -262,4 +265,6 @@ await gapi.client.calendar.settings.list({ }); Watch for changes to Settings resources. */ await gapi.client.calendar.settings.watch({ }); -``` +\`\`\` +" +`; diff --git a/test/restDocs/snapshots/gapi.client.calendar-v3/tests.ts b/test/restDocs/snapshots/gapi.client.calendar-v3/tests.ts deleted file mode 100644 index 6685c9841c..0000000000 --- a/test/restDocs/snapshots/gapi.client.calendar-v3/tests.ts +++ /dev/null @@ -1,1169 +0,0 @@ -/* This is stub file for gapi.client.calendar-v3 definition tests */ -// IMPORTANT -// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually. -// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator - -// Revision: 20220624 - -gapi.load('client', async () => { - /** now we can use gapi.client */ - - await gapi.client.load('http://localhost:3000/calendar.json'); - /** now we can use gapi.client.calendar */ - - /** don't forget to authenticate your client before sending any request to resources: */ - /** declare client_id registered in Google Developers Console */ - const client_id = '<>'; - const scope = [ - /** See, edit, share, and permanently delete all the calendars you can access using Google Calendar */ - 'https://www.googleapis.com/auth/calendar', - /** View and edit events on all your calendars */ - 'https://www.googleapis.com/auth/calendar.events', - /** View events on all your calendars */ - 'https://www.googleapis.com/auth/calendar.events.readonly', - /** See and download any calendar you can access using your Google Calendar */ - 'https://www.googleapis.com/auth/calendar.readonly', - /** View your Calendar settings */ - 'https://www.googleapis.com/auth/calendar.settings.readonly', - ]; - const immediate = false; - gapi.auth.authorize({ client_id, scope, immediate }, authResult => { - if (authResult && !authResult.error) { - /** handle successful authorization */ - run(); - } else { - /** handle authorization error */ - } - }); - - async function run() { - /** Deletes an access control rule. */ - await gapi.client.calendar.acl.delete({ - calendarId: "Test string", - ruleId: "Test string", - }); - /** Returns an access control rule. */ - await gapi.client.calendar.acl.get({ - calendarId: "Test string", - ruleId: "Test string", - }); - /** Creates an access control rule. */ - await gapi.client.calendar.acl.insert({ - calendarId: "Test string", - sendNotifications: true, - }, { - etag: "Test string", - id: "Test string", - kind: "Test string", - role: "Test string", - scope: { - type: "Test string", - value: "Test string", - }, - }); - /** Returns the rules in the access control list for the calendar. */ - await gapi.client.calendar.acl.list({ - calendarId: "Test string", - maxResults: 42, - pageToken: "Test string", - showDeleted: true, - syncToken: "Test string", - }); - /** Updates an access control rule. This method supports patch semantics. */ - await gapi.client.calendar.acl.patch({ - calendarId: "Test string", - ruleId: "Test string", - sendNotifications: true, - }, { - etag: "Test string", - id: "Test string", - kind: "Test string", - role: "Test string", - scope: { - type: "Test string", - value: "Test string", - }, - }); - /** Updates an access control rule. */ - await gapi.client.calendar.acl.update({ - calendarId: "Test string", - ruleId: "Test string", - sendNotifications: true, - }, { - etag: "Test string", - id: "Test string", - kind: "Test string", - role: "Test string", - scope: { - type: "Test string", - value: "Test string", - }, - }); - /** Watch for changes to ACL resources. */ - await gapi.client.calendar.acl.watch({ - calendarId: "Test string", - maxResults: 42, - pageToken: "Test string", - showDeleted: true, - syncToken: "Test string", - }, { - address: "Test string", - expiration: "Test string", - id: "Test string", - kind: "Test string", - params: { - A: "Test string" - }, - payload: true, - resourceId: "Test string", - resourceUri: "Test string", - token: "Test string", - type: "Test string", - }); - /** Removes a calendar from the user's calendar list. */ - await gapi.client.calendar.calendarList.delete({ - calendarId: "Test string", - }); - /** Returns a calendar from the user's calendar list. */ - await gapi.client.calendar.calendarList.get({ - calendarId: "Test string", - }); - /** Inserts an existing calendar into the user's calendar list. */ - await gapi.client.calendar.calendarList.insert({ - colorRgbFormat: true, - }, { - accessRole: "Test string", - backgroundColor: "Test string", - colorId: "Test string", - conferenceProperties: { - allowedConferenceSolutionTypes: [ - "Test string" - ], - }, - defaultReminders: [ - { - method: "Test string", - minutes: 42, - } - ], - deleted: true, - description: "Test string", - etag: "Test string", - foregroundColor: "Test string", - hidden: true, - id: "Test string", - kind: "Test string", - location: "Test string", - notificationSettings: { - notifications: [ - { - method: "Test string", - type: "Test string", - } - ], - }, - primary: true, - selected: true, - summary: "Test string", - summaryOverride: "Test string", - timeZone: "Test string", - }); - /** Returns the calendars on the user's calendar list. */ - await gapi.client.calendar.calendarList.list({ - maxResults: 42, - minAccessRole: "Test string", - pageToken: "Test string", - showDeleted: true, - showHidden: true, - syncToken: "Test string", - }); - /** Updates an existing calendar on the user's calendar list. This method supports patch semantics. */ - await gapi.client.calendar.calendarList.patch({ - calendarId: "Test string", - colorRgbFormat: true, - }, { - accessRole: "Test string", - backgroundColor: "Test string", - colorId: "Test string", - conferenceProperties: { - allowedConferenceSolutionTypes: [ - "Test string" - ], - }, - defaultReminders: [ - { - method: "Test string", - minutes: 42, - } - ], - deleted: true, - description: "Test string", - etag: "Test string", - foregroundColor: "Test string", - hidden: true, - id: "Test string", - kind: "Test string", - location: "Test string", - notificationSettings: { - notifications: [ - { - method: "Test string", - type: "Test string", - } - ], - }, - primary: true, - selected: true, - summary: "Test string", - summaryOverride: "Test string", - timeZone: "Test string", - }); - /** Updates an existing calendar on the user's calendar list. */ - await gapi.client.calendar.calendarList.update({ - calendarId: "Test string", - colorRgbFormat: true, - }, { - accessRole: "Test string", - backgroundColor: "Test string", - colorId: "Test string", - conferenceProperties: { - allowedConferenceSolutionTypes: [ - "Test string" - ], - }, - defaultReminders: [ - { - method: "Test string", - minutes: 42, - } - ], - deleted: true, - description: "Test string", - etag: "Test string", - foregroundColor: "Test string", - hidden: true, - id: "Test string", - kind: "Test string", - location: "Test string", - notificationSettings: { - notifications: [ - { - method: "Test string", - type: "Test string", - } - ], - }, - primary: true, - selected: true, - summary: "Test string", - summaryOverride: "Test string", - timeZone: "Test string", - }); - /** Watch for changes to CalendarList resources. */ - await gapi.client.calendar.calendarList.watch({ - maxResults: 42, - minAccessRole: "Test string", - pageToken: "Test string", - showDeleted: true, - showHidden: true, - syncToken: "Test string", - }, { - address: "Test string", - expiration: "Test string", - id: "Test string", - kind: "Test string", - params: { - A: "Test string" - }, - payload: true, - resourceId: "Test string", - resourceUri: "Test string", - token: "Test string", - type: "Test string", - }); - /** Clears a primary calendar. This operation deletes all events associated with the primary calendar of an account. */ - await gapi.client.calendar.calendars.clear({ - calendarId: "Test string", - }); - /** Deletes a secondary calendar. Use calendars.clear for clearing all events on primary calendars. */ - await gapi.client.calendar.calendars.delete({ - calendarId: "Test string", - }); - /** Returns metadata for a calendar. */ - await gapi.client.calendar.calendars.get({ - calendarId: "Test string", - }); - /** Creates a secondary calendar. */ - await gapi.client.calendar.calendars.insert({} , { - conferenceProperties: { - allowedConferenceSolutionTypes: [ - "Test string" - ], - }, - description: "Test string", - etag: "Test string", - id: "Test string", - kind: "Test string", - location: "Test string", - summary: "Test string", - timeZone: "Test string", - }); - /** Updates metadata for a calendar. This method supports patch semantics. */ - await gapi.client.calendar.calendars.patch({ - calendarId: "Test string", - }, { - conferenceProperties: { - allowedConferenceSolutionTypes: [ - "Test string" - ], - }, - description: "Test string", - etag: "Test string", - id: "Test string", - kind: "Test string", - location: "Test string", - summary: "Test string", - timeZone: "Test string", - }); - /** Updates metadata for a calendar. */ - await gapi.client.calendar.calendars.update({ - calendarId: "Test string", - }, { - conferenceProperties: { - allowedConferenceSolutionTypes: [ - "Test string" - ], - }, - description: "Test string", - etag: "Test string", - id: "Test string", - kind: "Test string", - location: "Test string", - summary: "Test string", - timeZone: "Test string", - }); - /** Stop watching resources through this channel */ - await gapi.client.calendar.channels.stop({} , { - address: "Test string", - expiration: "Test string", - id: "Test string", - kind: "Test string", - params: { - A: "Test string" - }, - payload: true, - resourceId: "Test string", - resourceUri: "Test string", - token: "Test string", - type: "Test string", - }); - /** Returns the color definitions for calendars and events. */ - await gapi.client.calendar.colors.get(); - /** Deletes an event. */ - await gapi.client.calendar.events.delete({ - calendarId: "Test string", - eventId: "Test string", - sendNotifications: true, - sendUpdates: "Test string", - }); - /** Returns an event. */ - await gapi.client.calendar.events.get({ - alwaysIncludeEmail: true, - calendarId: "Test string", - eventId: "Test string", - maxAttendees: 42, - timeZone: "Test string", - }); - /** Imports an event. This operation is used to add a private copy of an existing event to a calendar. */ - await gapi.client.calendar.events.import({ - calendarId: "Test string", - conferenceDataVersion: 42, - supportsAttachments: true, - }, { - anyoneCanAddSelf: true, - attachments: [ - { - fileId: "Test string", - fileUrl: "Test string", - iconLink: "Test string", - mimeType: "Test string", - title: "Test string", - } - ], - attendees: [ - { - additionalGuests: 42, - comment: "Test string", - displayName: "Test string", - email: "Test string", - id: "Test string", - optional: true, - organizer: true, - resource: true, - responseStatus: "Test string", - self: true, - } - ], - attendeesOmitted: true, - colorId: "Test string", - conferenceData: { - conferenceId: "Test string", - conferenceSolution: { - iconUri: "Test string", - key: { - type: "Test string", - }, - name: "Test string", - }, - createRequest: { - conferenceSolutionKey: { - type: "Test string", - }, - requestId: "Test string", - status: { - statusCode: "Test string", - }, - }, - entryPoints: [ - { - accessCode: "Test string", - entryPointFeatures: [ - "Test string" - ], - entryPointType: "Test string", - label: "Test string", - meetingCode: "Test string", - passcode: "Test string", - password: "Test string", - pin: "Test string", - regionCode: "Test string", - uri: "Test string", - } - ], - notes: "Test string", - parameters: { - addOnParameters: { - parameters: { - A: "Test string" - }, - }, - }, - signature: "Test string", - }, - created: "Test string", - creator: { - displayName: "Test string", - email: "Test string", - id: "Test string", - self: true, - }, - description: "Test string", - end: { - date: "Test string", - dateTime: "Test string", - timeZone: "Test string", - }, - endTimeUnspecified: true, - etag: "Test string", - eventType: "Test string", - extendedProperties: { - private: { - A: "Test string" - }, - shared: { - A: "Test string" - }, - }, - gadget: { - display: "Test string", - height: 42, - iconLink: "Test string", - link: "Test string", - preferences: { - A: "Test string" - }, - title: "Test string", - type: "Test string", - width: 42, - }, - guestsCanInviteOthers: true, - guestsCanModify: true, - guestsCanSeeOtherGuests: true, - hangoutLink: "Test string", - htmlLink: "Test string", - iCalUID: "Test string", - id: "Test string", - kind: "Test string", - location: "Test string", - locked: true, - organizer: { - displayName: "Test string", - email: "Test string", - id: "Test string", - self: true, - }, - originalStartTime: { - date: "Test string", - dateTime: "Test string", - timeZone: "Test string", - }, - privateCopy: true, - recurrence: [ - "Test string" - ], - recurringEventId: "Test string", - reminders: { - overrides: [ - { - method: "Test string", - minutes: 42, - } - ], - useDefault: true, - }, - sequence: 42, - source: { - title: "Test string", - url: "Test string", - }, - start: { - date: "Test string", - dateTime: "Test string", - timeZone: "Test string", - }, - status: "Test string", - summary: "Test string", - transparency: "Test string", - updated: "Test string", - visibility: "Test string", - }); - /** Creates an event. */ - await gapi.client.calendar.events.insert({ - calendarId: "Test string", - conferenceDataVersion: 42, - maxAttendees: 42, - sendNotifications: true, - sendUpdates: "Test string", - supportsAttachments: true, - }, { - anyoneCanAddSelf: true, - attachments: [ - { - fileId: "Test string", - fileUrl: "Test string", - iconLink: "Test string", - mimeType: "Test string", - title: "Test string", - } - ], - attendees: [ - { - additionalGuests: 42, - comment: "Test string", - displayName: "Test string", - email: "Test string", - id: "Test string", - optional: true, - organizer: true, - resource: true, - responseStatus: "Test string", - self: true, - } - ], - attendeesOmitted: true, - colorId: "Test string", - conferenceData: { - conferenceId: "Test string", - conferenceSolution: { - iconUri: "Test string", - key: { - type: "Test string", - }, - name: "Test string", - }, - createRequest: { - conferenceSolutionKey: { - type: "Test string", - }, - requestId: "Test string", - status: { - statusCode: "Test string", - }, - }, - entryPoints: [ - { - accessCode: "Test string", - entryPointFeatures: [ - "Test string" - ], - entryPointType: "Test string", - label: "Test string", - meetingCode: "Test string", - passcode: "Test string", - password: "Test string", - pin: "Test string", - regionCode: "Test string", - uri: "Test string", - } - ], - notes: "Test string", - parameters: { - addOnParameters: { - parameters: { - A: "Test string" - }, - }, - }, - signature: "Test string", - }, - created: "Test string", - creator: { - displayName: "Test string", - email: "Test string", - id: "Test string", - self: true, - }, - description: "Test string", - end: { - date: "Test string", - dateTime: "Test string", - timeZone: "Test string", - }, - endTimeUnspecified: true, - etag: "Test string", - eventType: "Test string", - extendedProperties: { - private: { - A: "Test string" - }, - shared: { - A: "Test string" - }, - }, - gadget: { - display: "Test string", - height: 42, - iconLink: "Test string", - link: "Test string", - preferences: { - A: "Test string" - }, - title: "Test string", - type: "Test string", - width: 42, - }, - guestsCanInviteOthers: true, - guestsCanModify: true, - guestsCanSeeOtherGuests: true, - hangoutLink: "Test string", - htmlLink: "Test string", - iCalUID: "Test string", - id: "Test string", - kind: "Test string", - location: "Test string", - locked: true, - organizer: { - displayName: "Test string", - email: "Test string", - id: "Test string", - self: true, - }, - originalStartTime: { - date: "Test string", - dateTime: "Test string", - timeZone: "Test string", - }, - privateCopy: true, - recurrence: [ - "Test string" - ], - recurringEventId: "Test string", - reminders: { - overrides: [ - { - method: "Test string", - minutes: 42, - } - ], - useDefault: true, - }, - sequence: 42, - source: { - title: "Test string", - url: "Test string", - }, - start: { - date: "Test string", - dateTime: "Test string", - timeZone: "Test string", - }, - status: "Test string", - summary: "Test string", - transparency: "Test string", - updated: "Test string", - visibility: "Test string", - }); - /** Returns instances of the specified recurring event. */ - await gapi.client.calendar.events.instances({ - alwaysIncludeEmail: true, - calendarId: "Test string", - eventId: "Test string", - maxAttendees: 42, - maxResults: 42, - originalStart: "Test string", - pageToken: "Test string", - showDeleted: true, - timeMax: "Test string", - timeMin: "Test string", - timeZone: "Test string", - }); - /** Returns events on the specified calendar. */ - await gapi.client.calendar.events.list({ - alwaysIncludeEmail: true, - calendarId: "Test string", - iCalUID: "Test string", - maxAttendees: 42, - maxResults: 42, - orderBy: "Test string", - pageToken: "Test string", - privateExtendedProperty: "Test string", - q: "Test string", - sharedExtendedProperty: "Test string", - showDeleted: true, - showHiddenInvitations: true, - singleEvents: true, - syncToken: "Test string", - timeMax: "Test string", - timeMin: "Test string", - timeZone: "Test string", - updatedMin: "Test string", - }); - /** Moves an event to another calendar, i.e. changes an event's organizer. */ - await gapi.client.calendar.events.move({ - calendarId: "Test string", - destination: "Test string", - eventId: "Test string", - sendNotifications: true, - sendUpdates: "Test string", - }); - /** Updates an event. This method supports patch semantics. */ - await gapi.client.calendar.events.patch({ - alwaysIncludeEmail: true, - calendarId: "Test string", - conferenceDataVersion: 42, - eventId: "Test string", - maxAttendees: 42, - sendNotifications: true, - sendUpdates: "Test string", - supportsAttachments: true, - }, { - anyoneCanAddSelf: true, - attachments: [ - { - fileId: "Test string", - fileUrl: "Test string", - iconLink: "Test string", - mimeType: "Test string", - title: "Test string", - } - ], - attendees: [ - { - additionalGuests: 42, - comment: "Test string", - displayName: "Test string", - email: "Test string", - id: "Test string", - optional: true, - organizer: true, - resource: true, - responseStatus: "Test string", - self: true, - } - ], - attendeesOmitted: true, - colorId: "Test string", - conferenceData: { - conferenceId: "Test string", - conferenceSolution: { - iconUri: "Test string", - key: { - type: "Test string", - }, - name: "Test string", - }, - createRequest: { - conferenceSolutionKey: { - type: "Test string", - }, - requestId: "Test string", - status: { - statusCode: "Test string", - }, - }, - entryPoints: [ - { - accessCode: "Test string", - entryPointFeatures: [ - "Test string" - ], - entryPointType: "Test string", - label: "Test string", - meetingCode: "Test string", - passcode: "Test string", - password: "Test string", - pin: "Test string", - regionCode: "Test string", - uri: "Test string", - } - ], - notes: "Test string", - parameters: { - addOnParameters: { - parameters: { - A: "Test string" - }, - }, - }, - signature: "Test string", - }, - created: "Test string", - creator: { - displayName: "Test string", - email: "Test string", - id: "Test string", - self: true, - }, - description: "Test string", - end: { - date: "Test string", - dateTime: "Test string", - timeZone: "Test string", - }, - endTimeUnspecified: true, - etag: "Test string", - eventType: "Test string", - extendedProperties: { - private: { - A: "Test string" - }, - shared: { - A: "Test string" - }, - }, - gadget: { - display: "Test string", - height: 42, - iconLink: "Test string", - link: "Test string", - preferences: { - A: "Test string" - }, - title: "Test string", - type: "Test string", - width: 42, - }, - guestsCanInviteOthers: true, - guestsCanModify: true, - guestsCanSeeOtherGuests: true, - hangoutLink: "Test string", - htmlLink: "Test string", - iCalUID: "Test string", - id: "Test string", - kind: "Test string", - location: "Test string", - locked: true, - organizer: { - displayName: "Test string", - email: "Test string", - id: "Test string", - self: true, - }, - originalStartTime: { - date: "Test string", - dateTime: "Test string", - timeZone: "Test string", - }, - privateCopy: true, - recurrence: [ - "Test string" - ], - recurringEventId: "Test string", - reminders: { - overrides: [ - { - method: "Test string", - minutes: 42, - } - ], - useDefault: true, - }, - sequence: 42, - source: { - title: "Test string", - url: "Test string", - }, - start: { - date: "Test string", - dateTime: "Test string", - timeZone: "Test string", - }, - status: "Test string", - summary: "Test string", - transparency: "Test string", - updated: "Test string", - visibility: "Test string", - }); - /** Creates an event based on a simple text string. */ - await gapi.client.calendar.events.quickAdd({ - calendarId: "Test string", - sendNotifications: true, - sendUpdates: "Test string", - text: "Test string", - }); - /** Updates an event. */ - await gapi.client.calendar.events.update({ - alwaysIncludeEmail: true, - calendarId: "Test string", - conferenceDataVersion: 42, - eventId: "Test string", - maxAttendees: 42, - sendNotifications: true, - sendUpdates: "Test string", - supportsAttachments: true, - }, { - anyoneCanAddSelf: true, - attachments: [ - { - fileId: "Test string", - fileUrl: "Test string", - iconLink: "Test string", - mimeType: "Test string", - title: "Test string", - } - ], - attendees: [ - { - additionalGuests: 42, - comment: "Test string", - displayName: "Test string", - email: "Test string", - id: "Test string", - optional: true, - organizer: true, - resource: true, - responseStatus: "Test string", - self: true, - } - ], - attendeesOmitted: true, - colorId: "Test string", - conferenceData: { - conferenceId: "Test string", - conferenceSolution: { - iconUri: "Test string", - key: { - type: "Test string", - }, - name: "Test string", - }, - createRequest: { - conferenceSolutionKey: { - type: "Test string", - }, - requestId: "Test string", - status: { - statusCode: "Test string", - }, - }, - entryPoints: [ - { - accessCode: "Test string", - entryPointFeatures: [ - "Test string" - ], - entryPointType: "Test string", - label: "Test string", - meetingCode: "Test string", - passcode: "Test string", - password: "Test string", - pin: "Test string", - regionCode: "Test string", - uri: "Test string", - } - ], - notes: "Test string", - parameters: { - addOnParameters: { - parameters: { - A: "Test string" - }, - }, - }, - signature: "Test string", - }, - created: "Test string", - creator: { - displayName: "Test string", - email: "Test string", - id: "Test string", - self: true, - }, - description: "Test string", - end: { - date: "Test string", - dateTime: "Test string", - timeZone: "Test string", - }, - endTimeUnspecified: true, - etag: "Test string", - eventType: "Test string", - extendedProperties: { - private: { - A: "Test string" - }, - shared: { - A: "Test string" - }, - }, - gadget: { - display: "Test string", - height: 42, - iconLink: "Test string", - link: "Test string", - preferences: { - A: "Test string" - }, - title: "Test string", - type: "Test string", - width: 42, - }, - guestsCanInviteOthers: true, - guestsCanModify: true, - guestsCanSeeOtherGuests: true, - hangoutLink: "Test string", - htmlLink: "Test string", - iCalUID: "Test string", - id: "Test string", - kind: "Test string", - location: "Test string", - locked: true, - organizer: { - displayName: "Test string", - email: "Test string", - id: "Test string", - self: true, - }, - originalStartTime: { - date: "Test string", - dateTime: "Test string", - timeZone: "Test string", - }, - privateCopy: true, - recurrence: [ - "Test string" - ], - recurringEventId: "Test string", - reminders: { - overrides: [ - { - method: "Test string", - minutes: 42, - } - ], - useDefault: true, - }, - sequence: 42, - source: { - title: "Test string", - url: "Test string", - }, - start: { - date: "Test string", - dateTime: "Test string", - timeZone: "Test string", - }, - status: "Test string", - summary: "Test string", - transparency: "Test string", - updated: "Test string", - visibility: "Test string", - }); - /** Watch for changes to Events resources. */ - await gapi.client.calendar.events.watch({ - alwaysIncludeEmail: true, - calendarId: "Test string", - iCalUID: "Test string", - maxAttendees: 42, - maxResults: 42, - orderBy: "Test string", - pageToken: "Test string", - privateExtendedProperty: "Test string", - q: "Test string", - sharedExtendedProperty: "Test string", - showDeleted: true, - showHiddenInvitations: true, - singleEvents: true, - syncToken: "Test string", - timeMax: "Test string", - timeMin: "Test string", - timeZone: "Test string", - updatedMin: "Test string", - }, { - address: "Test string", - expiration: "Test string", - id: "Test string", - kind: "Test string", - params: { - A: "Test string" - }, - payload: true, - resourceId: "Test string", - resourceUri: "Test string", - token: "Test string", - type: "Test string", - }); - /** Returns free/busy information for a set of calendars. */ - await gapi.client.calendar.freebusy.query({} , { - calendarExpansionMax: 42, - groupExpansionMax: 42, - items: [ - { - id: "Test string", - } - ], - timeMax: "Test string", - timeMin: "Test string", - timeZone: "Test string", - }); - /** Returns a single user setting. */ - await gapi.client.calendar.settings.get({ - setting: "Test string", - }); - /** Returns all user settings for the authenticated user. */ - await gapi.client.calendar.settings.list({ - maxResults: 42, - pageToken: "Test string", - syncToken: "Test string", - }); - /** Watch for changes to Settings resources. */ - await gapi.client.calendar.settings.watch({ - maxResults: 42, - pageToken: "Test string", - syncToken: "Test string", - }, { - address: "Test string", - expiration: "Test string", - id: "Test string", - kind: "Test string", - params: { - A: "Test string" - }, - payload: true, - resourceId: "Test string", - resourceUri: "Test string", - token: "Test string", - type: "Test string", - }); - } -}); diff --git a/test/restDocs/snapshots/gapi.client.calendar-v3/tests.ts.shot b/test/restDocs/snapshots/gapi.client.calendar-v3/tests.ts.shot new file mode 100644 index 0000000000..0c27eb1f5c --- /dev/null +++ b/test/restDocs/snapshots/gapi.client.calendar-v3/tests.ts.shot @@ -0,0 +1,1174 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`calendar works: calendar works 1`] = ` +"/* This is stub file for gapi.client.calendar-v3 definition tests */ +// IMPORTANT +// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually. +// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator + +// Revision: 20220624 + +gapi.load('client', async () => { + /** now we can use gapi.client */ + + await gapi.client.load('http://localhost:3000/calendar.json'); + /** now we can use gapi.client.calendar */ + + /** don't forget to authenticate your client before sending any request to resources: */ + /** declare client_id registered in Google Developers Console */ + const client_id = '<>'; + const scope = [ + /** See, edit, share, and permanently delete all the calendars you can access using Google Calendar */ + 'https://www.googleapis.com/auth/calendar', + /** View and edit events on all your calendars */ + 'https://www.googleapis.com/auth/calendar.events', + /** View events on all your calendars */ + 'https://www.googleapis.com/auth/calendar.events.readonly', + /** See and download any calendar you can access using your Google Calendar */ + 'https://www.googleapis.com/auth/calendar.readonly', + /** View your Calendar settings */ + 'https://www.googleapis.com/auth/calendar.settings.readonly', + ]; + const immediate = false; + gapi.auth.authorize({ client_id, scope, immediate }, authResult => { + if (authResult && !authResult.error) { + /** handle successful authorization */ + run(); + } else { + /** handle authorization error */ + } + }); + + async function run() { + /** Deletes an access control rule. */ + await gapi.client.calendar.acl.delete({ + calendarId: \\"Test string\\", + ruleId: \\"Test string\\", + }); + /** Returns an access control rule. */ + await gapi.client.calendar.acl.get({ + calendarId: \\"Test string\\", + ruleId: \\"Test string\\", + }); + /** Creates an access control rule. */ + await gapi.client.calendar.acl.insert({ + calendarId: \\"Test string\\", + sendNotifications: true, + }, { + etag: \\"Test string\\", + id: \\"Test string\\", + kind: \\"Test string\\", + role: \\"Test string\\", + scope: { + type: \\"Test string\\", + value: \\"Test string\\", + }, + }); + /** Returns the rules in the access control list for the calendar. */ + await gapi.client.calendar.acl.list({ + calendarId: \\"Test string\\", + maxResults: 42, + pageToken: \\"Test string\\", + showDeleted: true, + syncToken: \\"Test string\\", + }); + /** Updates an access control rule. This method supports patch semantics. */ + await gapi.client.calendar.acl.patch({ + calendarId: \\"Test string\\", + ruleId: \\"Test string\\", + sendNotifications: true, + }, { + etag: \\"Test string\\", + id: \\"Test string\\", + kind: \\"Test string\\", + role: \\"Test string\\", + scope: { + type: \\"Test string\\", + value: \\"Test string\\", + }, + }); + /** Updates an access control rule. */ + await gapi.client.calendar.acl.update({ + calendarId: \\"Test string\\", + ruleId: \\"Test string\\", + sendNotifications: true, + }, { + etag: \\"Test string\\", + id: \\"Test string\\", + kind: \\"Test string\\", + role: \\"Test string\\", + scope: { + type: \\"Test string\\", + value: \\"Test string\\", + }, + }); + /** Watch for changes to ACL resources. */ + await gapi.client.calendar.acl.watch({ + calendarId: \\"Test string\\", + maxResults: 42, + pageToken: \\"Test string\\", + showDeleted: true, + syncToken: \\"Test string\\", + }, { + address: \\"Test string\\", + expiration: \\"Test string\\", + id: \\"Test string\\", + kind: \\"Test string\\", + params: { + A: \\"Test string\\" + }, + payload: true, + resourceId: \\"Test string\\", + resourceUri: \\"Test string\\", + token: \\"Test string\\", + type: \\"Test string\\", + }); + /** Removes a calendar from the user's calendar list. */ + await gapi.client.calendar.calendarList.delete({ + calendarId: \\"Test string\\", + }); + /** Returns a calendar from the user's calendar list. */ + await gapi.client.calendar.calendarList.get({ + calendarId: \\"Test string\\", + }); + /** Inserts an existing calendar into the user's calendar list. */ + await gapi.client.calendar.calendarList.insert({ + colorRgbFormat: true, + }, { + accessRole: \\"Test string\\", + backgroundColor: \\"Test string\\", + colorId: \\"Test string\\", + conferenceProperties: { + allowedConferenceSolutionTypes: [ + \\"Test string\\" + ], + }, + defaultReminders: [ + { + method: \\"Test string\\", + minutes: 42, + } + ], + deleted: true, + description: \\"Test string\\", + etag: \\"Test string\\", + foregroundColor: \\"Test string\\", + hidden: true, + id: \\"Test string\\", + kind: \\"Test string\\", + location: \\"Test string\\", + notificationSettings: { + notifications: [ + { + method: \\"Test string\\", + type: \\"Test string\\", + } + ], + }, + primary: true, + selected: true, + summary: \\"Test string\\", + summaryOverride: \\"Test string\\", + timeZone: \\"Test string\\", + }); + /** Returns the calendars on the user's calendar list. */ + await gapi.client.calendar.calendarList.list({ + maxResults: 42, + minAccessRole: \\"Test string\\", + pageToken: \\"Test string\\", + showDeleted: true, + showHidden: true, + syncToken: \\"Test string\\", + }); + /** Updates an existing calendar on the user's calendar list. This method supports patch semantics. */ + await gapi.client.calendar.calendarList.patch({ + calendarId: \\"Test string\\", + colorRgbFormat: true, + }, { + accessRole: \\"Test string\\", + backgroundColor: \\"Test string\\", + colorId: \\"Test string\\", + conferenceProperties: { + allowedConferenceSolutionTypes: [ + \\"Test string\\" + ], + }, + defaultReminders: [ + { + method: \\"Test string\\", + minutes: 42, + } + ], + deleted: true, + description: \\"Test string\\", + etag: \\"Test string\\", + foregroundColor: \\"Test string\\", + hidden: true, + id: \\"Test string\\", + kind: \\"Test string\\", + location: \\"Test string\\", + notificationSettings: { + notifications: [ + { + method: \\"Test string\\", + type: \\"Test string\\", + } + ], + }, + primary: true, + selected: true, + summary: \\"Test string\\", + summaryOverride: \\"Test string\\", + timeZone: \\"Test string\\", + }); + /** Updates an existing calendar on the user's calendar list. */ + await gapi.client.calendar.calendarList.update({ + calendarId: \\"Test string\\", + colorRgbFormat: true, + }, { + accessRole: \\"Test string\\", + backgroundColor: \\"Test string\\", + colorId: \\"Test string\\", + conferenceProperties: { + allowedConferenceSolutionTypes: [ + \\"Test string\\" + ], + }, + defaultReminders: [ + { + method: \\"Test string\\", + minutes: 42, + } + ], + deleted: true, + description: \\"Test string\\", + etag: \\"Test string\\", + foregroundColor: \\"Test string\\", + hidden: true, + id: \\"Test string\\", + kind: \\"Test string\\", + location: \\"Test string\\", + notificationSettings: { + notifications: [ + { + method: \\"Test string\\", + type: \\"Test string\\", + } + ], + }, + primary: true, + selected: true, + summary: \\"Test string\\", + summaryOverride: \\"Test string\\", + timeZone: \\"Test string\\", + }); + /** Watch for changes to CalendarList resources. */ + await gapi.client.calendar.calendarList.watch({ + maxResults: 42, + minAccessRole: \\"Test string\\", + pageToken: \\"Test string\\", + showDeleted: true, + showHidden: true, + syncToken: \\"Test string\\", + }, { + address: \\"Test string\\", + expiration: \\"Test string\\", + id: \\"Test string\\", + kind: \\"Test string\\", + params: { + A: \\"Test string\\" + }, + payload: true, + resourceId: \\"Test string\\", + resourceUri: \\"Test string\\", + token: \\"Test string\\", + type: \\"Test string\\", + }); + /** Clears a primary calendar. This operation deletes all events associated with the primary calendar of an account. */ + await gapi.client.calendar.calendars.clear({ + calendarId: \\"Test string\\", + }); + /** Deletes a secondary calendar. Use calendars.clear for clearing all events on primary calendars. */ + await gapi.client.calendar.calendars.delete({ + calendarId: \\"Test string\\", + }); + /** Returns metadata for a calendar. */ + await gapi.client.calendar.calendars.get({ + calendarId: \\"Test string\\", + }); + /** Creates a secondary calendar. */ + await gapi.client.calendar.calendars.insert({} , { + conferenceProperties: { + allowedConferenceSolutionTypes: [ + \\"Test string\\" + ], + }, + description: \\"Test string\\", + etag: \\"Test string\\", + id: \\"Test string\\", + kind: \\"Test string\\", + location: \\"Test string\\", + summary: \\"Test string\\", + timeZone: \\"Test string\\", + }); + /** Updates metadata for a calendar. This method supports patch semantics. */ + await gapi.client.calendar.calendars.patch({ + calendarId: \\"Test string\\", + }, { + conferenceProperties: { + allowedConferenceSolutionTypes: [ + \\"Test string\\" + ], + }, + description: \\"Test string\\", + etag: \\"Test string\\", + id: \\"Test string\\", + kind: \\"Test string\\", + location: \\"Test string\\", + summary: \\"Test string\\", + timeZone: \\"Test string\\", + }); + /** Updates metadata for a calendar. */ + await gapi.client.calendar.calendars.update({ + calendarId: \\"Test string\\", + }, { + conferenceProperties: { + allowedConferenceSolutionTypes: [ + \\"Test string\\" + ], + }, + description: \\"Test string\\", + etag: \\"Test string\\", + id: \\"Test string\\", + kind: \\"Test string\\", + location: \\"Test string\\", + summary: \\"Test string\\", + timeZone: \\"Test string\\", + }); + /** Stop watching resources through this channel */ + await gapi.client.calendar.channels.stop({} , { + address: \\"Test string\\", + expiration: \\"Test string\\", + id: \\"Test string\\", + kind: \\"Test string\\", + params: { + A: \\"Test string\\" + }, + payload: true, + resourceId: \\"Test string\\", + resourceUri: \\"Test string\\", + token: \\"Test string\\", + type: \\"Test string\\", + }); + /** Returns the color definitions for calendars and events. */ + await gapi.client.calendar.colors.get(); + /** Deletes an event. */ + await gapi.client.calendar.events.delete({ + calendarId: \\"Test string\\", + eventId: \\"Test string\\", + sendNotifications: true, + sendUpdates: \\"Test string\\", + }); + /** Returns an event. */ + await gapi.client.calendar.events.get({ + alwaysIncludeEmail: true, + calendarId: \\"Test string\\", + eventId: \\"Test string\\", + maxAttendees: 42, + timeZone: \\"Test string\\", + }); + /** Imports an event. This operation is used to add a private copy of an existing event to a calendar. */ + await gapi.client.calendar.events.import({ + calendarId: \\"Test string\\", + conferenceDataVersion: 42, + supportsAttachments: true, + }, { + anyoneCanAddSelf: true, + attachments: [ + { + fileId: \\"Test string\\", + fileUrl: \\"Test string\\", + iconLink: \\"Test string\\", + mimeType: \\"Test string\\", + title: \\"Test string\\", + } + ], + attendees: [ + { + additionalGuests: 42, + comment: \\"Test string\\", + displayName: \\"Test string\\", + email: \\"Test string\\", + id: \\"Test string\\", + optional: true, + organizer: true, + resource: true, + responseStatus: \\"Test string\\", + self: true, + } + ], + attendeesOmitted: true, + colorId: \\"Test string\\", + conferenceData: { + conferenceId: \\"Test string\\", + conferenceSolution: { + iconUri: \\"Test string\\", + key: { + type: \\"Test string\\", + }, + name: \\"Test string\\", + }, + createRequest: { + conferenceSolutionKey: { + type: \\"Test string\\", + }, + requestId: \\"Test string\\", + status: { + statusCode: \\"Test string\\", + }, + }, + entryPoints: [ + { + accessCode: \\"Test string\\", + entryPointFeatures: [ + \\"Test string\\" + ], + entryPointType: \\"Test string\\", + label: \\"Test string\\", + meetingCode: \\"Test string\\", + passcode: \\"Test string\\", + password: \\"Test string\\", + pin: \\"Test string\\", + regionCode: \\"Test string\\", + uri: \\"Test string\\", + } + ], + notes: \\"Test string\\", + parameters: { + addOnParameters: { + parameters: { + A: \\"Test string\\" + }, + }, + }, + signature: \\"Test string\\", + }, + created: \\"Test string\\", + creator: { + displayName: \\"Test string\\", + email: \\"Test string\\", + id: \\"Test string\\", + self: true, + }, + description: \\"Test string\\", + end: { + date: \\"Test string\\", + dateTime: \\"Test string\\", + timeZone: \\"Test string\\", + }, + endTimeUnspecified: true, + etag: \\"Test string\\", + eventType: \\"Test string\\", + extendedProperties: { + private: { + A: \\"Test string\\" + }, + shared: { + A: \\"Test string\\" + }, + }, + gadget: { + display: \\"Test string\\", + height: 42, + iconLink: \\"Test string\\", + link: \\"Test string\\", + preferences: { + A: \\"Test string\\" + }, + title: \\"Test string\\", + type: \\"Test string\\", + width: 42, + }, + guestsCanInviteOthers: true, + guestsCanModify: true, + guestsCanSeeOtherGuests: true, + hangoutLink: \\"Test string\\", + htmlLink: \\"Test string\\", + iCalUID: \\"Test string\\", + id: \\"Test string\\", + kind: \\"Test string\\", + location: \\"Test string\\", + locked: true, + organizer: { + displayName: \\"Test string\\", + email: \\"Test string\\", + id: \\"Test string\\", + self: true, + }, + originalStartTime: { + date: \\"Test string\\", + dateTime: \\"Test string\\", + timeZone: \\"Test string\\", + }, + privateCopy: true, + recurrence: [ + \\"Test string\\" + ], + recurringEventId: \\"Test string\\", + reminders: { + overrides: [ + { + method: \\"Test string\\", + minutes: 42, + } + ], + useDefault: true, + }, + sequence: 42, + source: { + title: \\"Test string\\", + url: \\"Test string\\", + }, + start: { + date: \\"Test string\\", + dateTime: \\"Test string\\", + timeZone: \\"Test string\\", + }, + status: \\"Test string\\", + summary: \\"Test string\\", + transparency: \\"Test string\\", + updated: \\"Test string\\", + visibility: \\"Test string\\", + }); + /** Creates an event. */ + await gapi.client.calendar.events.insert({ + calendarId: \\"Test string\\", + conferenceDataVersion: 42, + maxAttendees: 42, + sendNotifications: true, + sendUpdates: \\"Test string\\", + supportsAttachments: true, + }, { + anyoneCanAddSelf: true, + attachments: [ + { + fileId: \\"Test string\\", + fileUrl: \\"Test string\\", + iconLink: \\"Test string\\", + mimeType: \\"Test string\\", + title: \\"Test string\\", + } + ], + attendees: [ + { + additionalGuests: 42, + comment: \\"Test string\\", + displayName: \\"Test string\\", + email: \\"Test string\\", + id: \\"Test string\\", + optional: true, + organizer: true, + resource: true, + responseStatus: \\"Test string\\", + self: true, + } + ], + attendeesOmitted: true, + colorId: \\"Test string\\", + conferenceData: { + conferenceId: \\"Test string\\", + conferenceSolution: { + iconUri: \\"Test string\\", + key: { + type: \\"Test string\\", + }, + name: \\"Test string\\", + }, + createRequest: { + conferenceSolutionKey: { + type: \\"Test string\\", + }, + requestId: \\"Test string\\", + status: { + statusCode: \\"Test string\\", + }, + }, + entryPoints: [ + { + accessCode: \\"Test string\\", + entryPointFeatures: [ + \\"Test string\\" + ], + entryPointType: \\"Test string\\", + label: \\"Test string\\", + meetingCode: \\"Test string\\", + passcode: \\"Test string\\", + password: \\"Test string\\", + pin: \\"Test string\\", + regionCode: \\"Test string\\", + uri: \\"Test string\\", + } + ], + notes: \\"Test string\\", + parameters: { + addOnParameters: { + parameters: { + A: \\"Test string\\" + }, + }, + }, + signature: \\"Test string\\", + }, + created: \\"Test string\\", + creator: { + displayName: \\"Test string\\", + email: \\"Test string\\", + id: \\"Test string\\", + self: true, + }, + description: \\"Test string\\", + end: { + date: \\"Test string\\", + dateTime: \\"Test string\\", + timeZone: \\"Test string\\", + }, + endTimeUnspecified: true, + etag: \\"Test string\\", + eventType: \\"Test string\\", + extendedProperties: { + private: { + A: \\"Test string\\" + }, + shared: { + A: \\"Test string\\" + }, + }, + gadget: { + display: \\"Test string\\", + height: 42, + iconLink: \\"Test string\\", + link: \\"Test string\\", + preferences: { + A: \\"Test string\\" + }, + title: \\"Test string\\", + type: \\"Test string\\", + width: 42, + }, + guestsCanInviteOthers: true, + guestsCanModify: true, + guestsCanSeeOtherGuests: true, + hangoutLink: \\"Test string\\", + htmlLink: \\"Test string\\", + iCalUID: \\"Test string\\", + id: \\"Test string\\", + kind: \\"Test string\\", + location: \\"Test string\\", + locked: true, + organizer: { + displayName: \\"Test string\\", + email: \\"Test string\\", + id: \\"Test string\\", + self: true, + }, + originalStartTime: { + date: \\"Test string\\", + dateTime: \\"Test string\\", + timeZone: \\"Test string\\", + }, + privateCopy: true, + recurrence: [ + \\"Test string\\" + ], + recurringEventId: \\"Test string\\", + reminders: { + overrides: [ + { + method: \\"Test string\\", + minutes: 42, + } + ], + useDefault: true, + }, + sequence: 42, + source: { + title: \\"Test string\\", + url: \\"Test string\\", + }, + start: { + date: \\"Test string\\", + dateTime: \\"Test string\\", + timeZone: \\"Test string\\", + }, + status: \\"Test string\\", + summary: \\"Test string\\", + transparency: \\"Test string\\", + updated: \\"Test string\\", + visibility: \\"Test string\\", + }); + /** Returns instances of the specified recurring event. */ + await gapi.client.calendar.events.instances({ + alwaysIncludeEmail: true, + calendarId: \\"Test string\\", + eventId: \\"Test string\\", + maxAttendees: 42, + maxResults: 42, + originalStart: \\"Test string\\", + pageToken: \\"Test string\\", + showDeleted: true, + timeMax: \\"Test string\\", + timeMin: \\"Test string\\", + timeZone: \\"Test string\\", + }); + /** Returns events on the specified calendar. */ + await gapi.client.calendar.events.list({ + alwaysIncludeEmail: true, + calendarId: \\"Test string\\", + iCalUID: \\"Test string\\", + maxAttendees: 42, + maxResults: 42, + orderBy: \\"Test string\\", + pageToken: \\"Test string\\", + privateExtendedProperty: \\"Test string\\", + q: \\"Test string\\", + sharedExtendedProperty: \\"Test string\\", + showDeleted: true, + showHiddenInvitations: true, + singleEvents: true, + syncToken: \\"Test string\\", + timeMax: \\"Test string\\", + timeMin: \\"Test string\\", + timeZone: \\"Test string\\", + updatedMin: \\"Test string\\", + }); + /** Moves an event to another calendar, i.e. changes an event's organizer. */ + await gapi.client.calendar.events.move({ + calendarId: \\"Test string\\", + destination: \\"Test string\\", + eventId: \\"Test string\\", + sendNotifications: true, + sendUpdates: \\"Test string\\", + }); + /** Updates an event. This method supports patch semantics. */ + await gapi.client.calendar.events.patch({ + alwaysIncludeEmail: true, + calendarId: \\"Test string\\", + conferenceDataVersion: 42, + eventId: \\"Test string\\", + maxAttendees: 42, + sendNotifications: true, + sendUpdates: \\"Test string\\", + supportsAttachments: true, + }, { + anyoneCanAddSelf: true, + attachments: [ + { + fileId: \\"Test string\\", + fileUrl: \\"Test string\\", + iconLink: \\"Test string\\", + mimeType: \\"Test string\\", + title: \\"Test string\\", + } + ], + attendees: [ + { + additionalGuests: 42, + comment: \\"Test string\\", + displayName: \\"Test string\\", + email: \\"Test string\\", + id: \\"Test string\\", + optional: true, + organizer: true, + resource: true, + responseStatus: \\"Test string\\", + self: true, + } + ], + attendeesOmitted: true, + colorId: \\"Test string\\", + conferenceData: { + conferenceId: \\"Test string\\", + conferenceSolution: { + iconUri: \\"Test string\\", + key: { + type: \\"Test string\\", + }, + name: \\"Test string\\", + }, + createRequest: { + conferenceSolutionKey: { + type: \\"Test string\\", + }, + requestId: \\"Test string\\", + status: { + statusCode: \\"Test string\\", + }, + }, + entryPoints: [ + { + accessCode: \\"Test string\\", + entryPointFeatures: [ + \\"Test string\\" + ], + entryPointType: \\"Test string\\", + label: \\"Test string\\", + meetingCode: \\"Test string\\", + passcode: \\"Test string\\", + password: \\"Test string\\", + pin: \\"Test string\\", + regionCode: \\"Test string\\", + uri: \\"Test string\\", + } + ], + notes: \\"Test string\\", + parameters: { + addOnParameters: { + parameters: { + A: \\"Test string\\" + }, + }, + }, + signature: \\"Test string\\", + }, + created: \\"Test string\\", + creator: { + displayName: \\"Test string\\", + email: \\"Test string\\", + id: \\"Test string\\", + self: true, + }, + description: \\"Test string\\", + end: { + date: \\"Test string\\", + dateTime: \\"Test string\\", + timeZone: \\"Test string\\", + }, + endTimeUnspecified: true, + etag: \\"Test string\\", + eventType: \\"Test string\\", + extendedProperties: { + private: { + A: \\"Test string\\" + }, + shared: { + A: \\"Test string\\" + }, + }, + gadget: { + display: \\"Test string\\", + height: 42, + iconLink: \\"Test string\\", + link: \\"Test string\\", + preferences: { + A: \\"Test string\\" + }, + title: \\"Test string\\", + type: \\"Test string\\", + width: 42, + }, + guestsCanInviteOthers: true, + guestsCanModify: true, + guestsCanSeeOtherGuests: true, + hangoutLink: \\"Test string\\", + htmlLink: \\"Test string\\", + iCalUID: \\"Test string\\", + id: \\"Test string\\", + kind: \\"Test string\\", + location: \\"Test string\\", + locked: true, + organizer: { + displayName: \\"Test string\\", + email: \\"Test string\\", + id: \\"Test string\\", + self: true, + }, + originalStartTime: { + date: \\"Test string\\", + dateTime: \\"Test string\\", + timeZone: \\"Test string\\", + }, + privateCopy: true, + recurrence: [ + \\"Test string\\" + ], + recurringEventId: \\"Test string\\", + reminders: { + overrides: [ + { + method: \\"Test string\\", + minutes: 42, + } + ], + useDefault: true, + }, + sequence: 42, + source: { + title: \\"Test string\\", + url: \\"Test string\\", + }, + start: { + date: \\"Test string\\", + dateTime: \\"Test string\\", + timeZone: \\"Test string\\", + }, + status: \\"Test string\\", + summary: \\"Test string\\", + transparency: \\"Test string\\", + updated: \\"Test string\\", + visibility: \\"Test string\\", + }); + /** Creates an event based on a simple text string. */ + await gapi.client.calendar.events.quickAdd({ + calendarId: \\"Test string\\", + sendNotifications: true, + sendUpdates: \\"Test string\\", + text: \\"Test string\\", + }); + /** Updates an event. */ + await gapi.client.calendar.events.update({ + alwaysIncludeEmail: true, + calendarId: \\"Test string\\", + conferenceDataVersion: 42, + eventId: \\"Test string\\", + maxAttendees: 42, + sendNotifications: true, + sendUpdates: \\"Test string\\", + supportsAttachments: true, + }, { + anyoneCanAddSelf: true, + attachments: [ + { + fileId: \\"Test string\\", + fileUrl: \\"Test string\\", + iconLink: \\"Test string\\", + mimeType: \\"Test string\\", + title: \\"Test string\\", + } + ], + attendees: [ + { + additionalGuests: 42, + comment: \\"Test string\\", + displayName: \\"Test string\\", + email: \\"Test string\\", + id: \\"Test string\\", + optional: true, + organizer: true, + resource: true, + responseStatus: \\"Test string\\", + self: true, + } + ], + attendeesOmitted: true, + colorId: \\"Test string\\", + conferenceData: { + conferenceId: \\"Test string\\", + conferenceSolution: { + iconUri: \\"Test string\\", + key: { + type: \\"Test string\\", + }, + name: \\"Test string\\", + }, + createRequest: { + conferenceSolutionKey: { + type: \\"Test string\\", + }, + requestId: \\"Test string\\", + status: { + statusCode: \\"Test string\\", + }, + }, + entryPoints: [ + { + accessCode: \\"Test string\\", + entryPointFeatures: [ + \\"Test string\\" + ], + entryPointType: \\"Test string\\", + label: \\"Test string\\", + meetingCode: \\"Test string\\", + passcode: \\"Test string\\", + password: \\"Test string\\", + pin: \\"Test string\\", + regionCode: \\"Test string\\", + uri: \\"Test string\\", + } + ], + notes: \\"Test string\\", + parameters: { + addOnParameters: { + parameters: { + A: \\"Test string\\" + }, + }, + }, + signature: \\"Test string\\", + }, + created: \\"Test string\\", + creator: { + displayName: \\"Test string\\", + email: \\"Test string\\", + id: \\"Test string\\", + self: true, + }, + description: \\"Test string\\", + end: { + date: \\"Test string\\", + dateTime: \\"Test string\\", + timeZone: \\"Test string\\", + }, + endTimeUnspecified: true, + etag: \\"Test string\\", + eventType: \\"Test string\\", + extendedProperties: { + private: { + A: \\"Test string\\" + }, + shared: { + A: \\"Test string\\" + }, + }, + gadget: { + display: \\"Test string\\", + height: 42, + iconLink: \\"Test string\\", + link: \\"Test string\\", + preferences: { + A: \\"Test string\\" + }, + title: \\"Test string\\", + type: \\"Test string\\", + width: 42, + }, + guestsCanInviteOthers: true, + guestsCanModify: true, + guestsCanSeeOtherGuests: true, + hangoutLink: \\"Test string\\", + htmlLink: \\"Test string\\", + iCalUID: \\"Test string\\", + id: \\"Test string\\", + kind: \\"Test string\\", + location: \\"Test string\\", + locked: true, + organizer: { + displayName: \\"Test string\\", + email: \\"Test string\\", + id: \\"Test string\\", + self: true, + }, + originalStartTime: { + date: \\"Test string\\", + dateTime: \\"Test string\\", + timeZone: \\"Test string\\", + }, + privateCopy: true, + recurrence: [ + \\"Test string\\" + ], + recurringEventId: \\"Test string\\", + reminders: { + overrides: [ + { + method: \\"Test string\\", + minutes: 42, + } + ], + useDefault: true, + }, + sequence: 42, + source: { + title: \\"Test string\\", + url: \\"Test string\\", + }, + start: { + date: \\"Test string\\", + dateTime: \\"Test string\\", + timeZone: \\"Test string\\", + }, + status: \\"Test string\\", + summary: \\"Test string\\", + transparency: \\"Test string\\", + updated: \\"Test string\\", + visibility: \\"Test string\\", + }); + /** Watch for changes to Events resources. */ + await gapi.client.calendar.events.watch({ + alwaysIncludeEmail: true, + calendarId: \\"Test string\\", + iCalUID: \\"Test string\\", + maxAttendees: 42, + maxResults: 42, + orderBy: \\"Test string\\", + pageToken: \\"Test string\\", + privateExtendedProperty: \\"Test string\\", + q: \\"Test string\\", + sharedExtendedProperty: \\"Test string\\", + showDeleted: true, + showHiddenInvitations: true, + singleEvents: true, + syncToken: \\"Test string\\", + timeMax: \\"Test string\\", + timeMin: \\"Test string\\", + timeZone: \\"Test string\\", + updatedMin: \\"Test string\\", + }, { + address: \\"Test string\\", + expiration: \\"Test string\\", + id: \\"Test string\\", + kind: \\"Test string\\", + params: { + A: \\"Test string\\" + }, + payload: true, + resourceId: \\"Test string\\", + resourceUri: \\"Test string\\", + token: \\"Test string\\", + type: \\"Test string\\", + }); + /** Returns free/busy information for a set of calendars. */ + await gapi.client.calendar.freebusy.query({} , { + calendarExpansionMax: 42, + groupExpansionMax: 42, + items: [ + { + id: \\"Test string\\", + } + ], + timeMax: \\"Test string\\", + timeMin: \\"Test string\\", + timeZone: \\"Test string\\", + }); + /** Returns a single user setting. */ + await gapi.client.calendar.settings.get({ + setting: \\"Test string\\", + }); + /** Returns all user settings for the authenticated user. */ + await gapi.client.calendar.settings.list({ + maxResults: 42, + pageToken: \\"Test string\\", + syncToken: \\"Test string\\", + }); + /** Watch for changes to Settings resources. */ + await gapi.client.calendar.settings.watch({ + maxResults: 42, + pageToken: \\"Test string\\", + syncToken: \\"Test string\\", + }, { + address: \\"Test string\\", + expiration: \\"Test string\\", + id: \\"Test string\\", + kind: \\"Test string\\", + params: { + A: \\"Test string\\" + }, + payload: true, + resourceId: \\"Test string\\", + resourceUri: \\"Test string\\", + token: \\"Test string\\", + type: \\"Test string\\", + }); + } +}); +" +`; diff --git a/test/restDocs/snapshots/gapi.client.calendar-v3/tsconfig.json b/test/restDocs/snapshots/gapi.client.calendar-v3/tsconfig.json deleted file mode 100644 index d5540261de..0000000000 --- a/test/restDocs/snapshots/gapi.client.calendar-v3/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "module": "commonjs", - "lib": ["es6", "dom"], - "noImplicitAny": true, - "noImplicitThis": true, - "strictNullChecks": true, - "baseUrl": "../", - "typeRoots": [ - "../" - ], - "types": [], - "noEmit": true, - "forceConsistentCasingInFileNames": true, - "strictFunctionTypes": true - }, - "files": ["index.d.ts", "tests.ts"] -} diff --git a/test/restDocs/snapshots/gapi.client.calendar-v3/tsconfig.json.shot b/test/restDocs/snapshots/gapi.client.calendar-v3/tsconfig.json.shot new file mode 100644 index 0000000000..9386436397 --- /dev/null +++ b/test/restDocs/snapshots/gapi.client.calendar-v3/tsconfig.json.shot @@ -0,0 +1,23 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`calendar works: calendar works 1`] = ` +"{ + \\"compilerOptions\\": { + \\"module\\": \\"commonjs\\", + \\"lib\\": [\\"es6\\", \\"dom\\"], + \\"noImplicitAny\\": true, + \\"noImplicitThis\\": true, + \\"strictNullChecks\\": true, + \\"baseUrl\\": \\"../\\", + \\"typeRoots\\": [ + \\"../\\" + ], + \\"types\\": [], + \\"noEmit\\": true, + \\"forceConsistentCasingInFileNames\\": true, + \\"strictFunctionTypes\\": true + }, + \\"files\\": [\\"index.d.ts\\", \\"tests.ts\\"] +} +" +`; diff --git a/test/restDocs/snapshots/gapi.client.calendar-v3/tslint.json b/test/restDocs/snapshots/gapi.client.calendar-v3/tslint.json deleted file mode 100644 index 1598764131..0000000000 --- a/test/restDocs/snapshots/gapi.client.calendar-v3/tslint.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "dtslint/dtslint.json", - "rules": { - "no-redundant-jsdoc": false - } -} diff --git a/test/restDocs/snapshots/gapi.client.calendar-v3/tslint.json.shot b/test/restDocs/snapshots/gapi.client.calendar-v3/tslint.json.shot new file mode 100644 index 0000000000..2ac3137aa3 --- /dev/null +++ b/test/restDocs/snapshots/gapi.client.calendar-v3/tslint.json.shot @@ -0,0 +1,11 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`calendar works: calendar works 1`] = ` +"{ + \\"extends\\": \\"dtslint/dtslint.json\\", + \\"rules\\": { + \\"no-redundant-jsdoc\\": false + } +} +" +`; diff --git a/test/restDocs/snapshots/gapi.client.drive-v3/.npmrc b/test/restDocs/snapshots/gapi.client.drive-v3/.npmrc deleted file mode 100644 index 0063b50cfd..0000000000 --- a/test/restDocs/snapshots/gapi.client.drive-v3/.npmrc +++ /dev/null @@ -1 +0,0 @@ -//registry.npmjs.org/:_authToken=${NPM_PUBLISH_AUTOMATION_TOKEN} diff --git a/test/restDocs/snapshots/gapi.client.drive-v3/.npmrc.shot b/test/restDocs/snapshots/gapi.client.drive-v3/.npmrc.shot new file mode 100644 index 0000000000..1c5881a9a9 --- /dev/null +++ b/test/restDocs/snapshots/gapi.client.drive-v3/.npmrc.shot @@ -0,0 +1,6 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`drive works: drive works 1`] = ` +"//registry.npmjs.org/:_authToken=\${NPM_PUBLISH_AUTOMATION_TOKEN} +" +`; diff --git a/test/restDocs/snapshots/gapi.client.drive-v3/index.d.ts b/test/restDocs/snapshots/gapi.client.drive-v3/index.d.ts.shot similarity index 98% rename from test/restDocs/snapshots/gapi.client.drive-v3/index.d.ts rename to test/restDocs/snapshots/gapi.client.drive-v3/index.d.ts.shot index 9fd96d83a3..89e11a805c 100644 --- a/test/restDocs/snapshots/gapi.client.drive-v3/index.d.ts +++ b/test/restDocs/snapshots/gapi.client.drive-v3/index.d.ts.shot @@ -1,4 +1,7 @@ -/* Type definitions for non-npm package Drive API v3 0.0 */ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`drive works: drive works 1`] = ` +"/* Type definitions for non-npm package Drive API v3 0.0 */ // Project: https://developers.google.com/drive/ // Definitions by: Maxim Mazurok // Nick Amoscato @@ -11,15 +14,15 @@ // Generated from: http://localhost:3000/drive.json // Revision: 20220626 -/// +/// declare namespace gapi.client { /** Load Drive API v3 */ - function load(urlOrObject: "http://localhost:3000/drive.json"): Promise; + function load(urlOrObject: \\"http://localhost:3000/drive.json\\"): Promise; /** @deprecated Please load APIs with discovery documents. */ - function load(name: "drive", version: "v3"): Promise; + function load(name: \\"drive\\", version: \\"v3\\"): Promise; /** @deprecated Please load APIs with discovery documents. */ - function load(name: "drive", version: "v3", callback: () => any): void; + function load(name: \\"drive\\", version: \\"v3\\", callback: () => any): void; namespace drive { interface About { @@ -44,7 +47,7 @@ declare namespace gapi.client { folderColorPalette?: string[]; /** A map of source MIME type to possible targets for all supported imports. */ importFormats?: { [P in string]: string[] }; - /** Identifies what kind of resource this is. Value: the fixed string "drive#about". */ + /** Identifies what kind of resource this is. Value: the fixed string \\"drive#about\\". */ kind?: string; /** A map of maximum import sizes by MIME type, in bytes. */ maxImportSizes?: { [P in string]: string }; @@ -84,7 +87,7 @@ declare namespace gapi.client { file?: File; /** The ID of the file which has changed. */ fileId?: string; - /** Identifies what kind of resource this is. Value: the fixed string "drive#change". */ + /** Identifies what kind of resource this is. Value: the fixed string \\"drive#change\\". */ kind?: string; /** Whether the file or shared drive has been removed from this list of changes, for example by deletion or loss of access. */ removed?: boolean; @@ -100,7 +103,7 @@ declare namespace gapi.client { interface ChangeList { /** The list of changes. If nextPageToken is populated, then this list may be incomplete and an additional page of results should be fetched. */ changes?: Change[]; - /** Identifies what kind of resource this is. Value: the fixed string "drive#changeList". */ + /** Identifies what kind of resource this is. Value: the fixed string \\"drive#changeList\\". */ kind?: string; /** The starting page token for future changes. This will be present only if the end of the current changes list has been reached. */ newStartPageToken?: string; @@ -117,7 +120,7 @@ declare namespace gapi.client { expiration?: string; /** A UUID or similar unique string that identifies this channel. */ id?: string; - /** Identifies this as a notification channel used to watch for changes to a resource, which is "api#channel". */ + /** Identifies this as a notification channel used to watch for changes to a resource, which is \\"api#channel\\". */ kind?: string; /** Additional parameters controlling delivery channel behavior. Optional. */ params?: { [P in string]: string }; @@ -129,7 +132,7 @@ declare namespace gapi.client { resourceUri?: string; /** An arbitrary string delivered to the target address with each notification delivered over this channel. Optional. */ token?: string; - /** The type of delivery mechanism used for this channel. Valid values are "web_hook" (or "webhook"). Both values refer to a channel where Http requests are used to deliver messages. */ + /** The type of delivery mechanism used for this channel. Valid values are \\"web_hook\\" (or \\"webhook\\"). Both values refer to a channel where Http requests are used to deliver messages. */ type?: string; } interface Comment { @@ -147,7 +150,7 @@ declare namespace gapi.client { htmlContent?: string; /** The ID of the comment. */ id?: string; - /** Identifies what kind of resource this is. Value: the fixed string "drive#comment". */ + /** Identifies what kind of resource this is. Value: the fixed string \\"drive#comment\\". */ kind?: string; /** The last time the comment or any of its replies was modified (RFC 3339 date-time). */ modifiedTime?: string; @@ -166,7 +169,7 @@ declare namespace gapi.client { interface CommentList { /** The list of comments. If nextPageToken is populated, then this list may be incomplete and an additional page of results should be fetched. */ comments?: Comment[]; - /** Identifies what kind of resource this is. Value: the fixed string "drive#commentList". */ + /** Identifies what kind of resource this is. Value: the fixed string \\"drive#commentList\\". */ kind?: string; /** * The page token for the next page of comments. This will be absent if the end of the comments list has been reached. If the token is rejected for any reason, it should be discarded, @@ -264,7 +267,7 @@ declare namespace gapi.client { hidden?: boolean; /** The ID of this shared drive which is also the ID of the top level folder of this shared drive. */ id?: string; - /** Identifies what kind of resource this is. Value: the fixed string "drive#drive". */ + /** Identifies what kind of resource this is. Value: the fixed string \\"drive#drive\\". */ kind?: string; /** The name of this shared drive. */ name?: string; @@ -297,7 +300,7 @@ declare namespace gapi.client { interface DriveList { /** The list of shared drives. If nextPageToken is populated, then this list may be incomplete and an additional page of results should be fetched. */ drives?: Drive[]; - /** Identifies what kind of resource this is. Value: the fixed string "drive#driveList". */ + /** Identifies what kind of resource this is. Value: the fixed string \\"drive#driveList\\". */ kind?: string; /** * The page token for the next page of shared drives. This will be absent if the end of the list has been reached. If the token is rejected for any reason, it should be discarded, and @@ -445,7 +448,7 @@ declare namespace gapi.client { */ folderColorRgb?: string; /** - * The full file extension extracted from the name field. May contain multiple concatenated extensions, such as "tar.gz". This is only available for files with binary content in Google + * The full file extension extracted from the name field. May contain multiple concatenated extensions, such as \\"tar.gz\\". This is only available for files with binary content in Google * Drive. * This is automatically updated when the name field changes, however it is not cleared if the new name does not contain a valid extension. */ @@ -514,7 +517,7 @@ declare namespace gapi.client { }; /** Whether the file was created or opened by the requesting app. */ isAppAuthorized?: boolean; - /** Identifies what kind of resource this is. Value: the fixed string "drive#file". */ + /** Identifies what kind of resource this is. Value: the fixed string \\"drive#file\\". */ kind?: string; /** The last user to modify the file. */ lastModifyingUser?: User; @@ -641,11 +644,11 @@ declare namespace gapi.client { files?: File[]; /** * Whether the search process was incomplete. If true, then some search results may be missing, since all documents were not searched. This may occur when searching multiple drives - * with the "allDrives" corpora, but all corpora could not be searched. When this happens, it is suggested that clients narrow their query by choosing a different corpus such as "user" - * or "drive". + * with the \\"allDrives\\" corpora, but all corpora could not be searched. When this happens, it is suggested that clients narrow their query by choosing a different corpus such as \\"user\\" + * or \\"drive\\". */ incompleteSearch?: boolean; - /** Identifies what kind of resource this is. Value: the fixed string "drive#fileList". */ + /** Identifies what kind of resource this is. Value: the fixed string \\"drive#fileList\\". */ kind?: string; /** * The page token for the next page of files. This will be absent if the end of the files list has been reached. If the token is rejected for any reason, it should be discarded, and @@ -656,7 +659,7 @@ declare namespace gapi.client { interface GeneratedIds { /** The IDs generated for the requesting user in the specified space. */ ids?: string[]; - /** Identifies what kind of resource this is. Value: the fixed string "drive#generatedIds". */ + /** Identifies what kind of resource this is. Value: the fixed string \\"drive#generatedIds\\". */ kind?: string; /** The type of file that can be created with these IDs. */ space?: string; @@ -667,10 +670,10 @@ declare namespace gapi.client { /** Whether the account associated with this permission has been deleted. This field only pertains to user and group permissions. */ deleted?: boolean; /** - * The "pretty" name of the value of the permission. The following is a list of examples for each type of permission: - * - user - User's full name, as defined for their Google account, such as "Joe Smith." - * - group - Name of the Google Group, such as "The Company Administrators." - * - domain - String domain name, such as "thecompany.com." + * The \\"pretty\\" name of the value of the permission. The following is a list of examples for each type of permission: + * - user - User's full name, as defined for their Google account, such as \\"Joe Smith.\\" + * - group - Name of the Google Group, such as \\"The Company Administrators.\\" + * - domain - String domain name, such as \\"thecompany.com.\\" * - anyone - No displayName is present. */ displayName?: string; @@ -687,7 +690,7 @@ declare namespace gapi.client { expirationTime?: string; /** The ID of this permission. This is a unique identifier for the grantee, and is published in User resources as permissionId. IDs should be treated as opaque values. */ id?: string; - /** Identifies what kind of resource this is. Value: the fixed string "drive#permission". */ + /** Identifies what kind of resource this is. Value: the fixed string \\"drive#permission\\". */ kind?: string; /** Whether the account associated with this permission is a pending owner. Only populated for user type permissions for files that are not in a shared drive. */ pendingOwner?: boolean; @@ -749,7 +752,7 @@ declare namespace gapi.client { view?: string; } interface PermissionList { - /** Identifies what kind of resource this is. Value: the fixed string "drive#permissionList". */ + /** Identifies what kind of resource this is. Value: the fixed string \\"drive#permissionList\\". */ kind?: string; /** * The page token for the next page of permissions. This field will be absent if the end of the permissions list has been reached. If the token is rejected for any reason, it should be @@ -778,13 +781,13 @@ declare namespace gapi.client { htmlContent?: string; /** The ID of the reply. */ id?: string; - /** Identifies what kind of resource this is. Value: the fixed string "drive#reply". */ + /** Identifies what kind of resource this is. Value: the fixed string \\"drive#reply\\". */ kind?: string; /** The last time the reply was modified (RFC 3339 date-time). */ modifiedTime?: string; } interface ReplyList { - /** Identifies what kind of resource this is. Value: the fixed string "drive#replyList". */ + /** Identifies what kind of resource this is. Value: the fixed string \\"drive#replyList\\". */ kind?: string; /** * The page token for the next page of replies. This will be absent if the end of the replies list has been reached. If the token is rejected for any reason, it should be discarded, @@ -805,7 +808,7 @@ declare namespace gapi.client { * This field is only applicable to files with binary content in Drive. */ keepForever?: boolean; - /** Identifies what kind of resource this is. Value: the fixed string "drive#revision". */ + /** Identifies what kind of resource this is. Value: the fixed string \\"drive#revision\\". */ kind?: string; /** The last user to modify this revision. */ lastModifyingUser?: User; @@ -829,7 +832,7 @@ declare namespace gapi.client { size?: string; } interface RevisionList { - /** Identifies what kind of resource this is. Value: the fixed string "drive#revisionList". */ + /** Identifies what kind of resource this is. Value: the fixed string \\"drive#revisionList\\". */ kind?: string; /** * The page token for the next page of revisions. This will be absent if the end of the revisions list has been reached. If the token is rejected for any reason, it should be @@ -840,7 +843,7 @@ declare namespace gapi.client { revisions?: Revision[]; } interface StartPageToken { - /** Identifies what kind of resource this is. Value: the fixed string "drive#startPageToken". */ + /** Identifies what kind of resource this is. Value: the fixed string \\"drive#startPageToken\\". */ kind?: string; /** The starting page token for listing changes. */ startPageToken?: string; @@ -920,7 +923,7 @@ declare namespace gapi.client { createdTime?: string; /** The ID of this Team Drive which is also the ID of the top level folder of this Team Drive. */ id?: string; - /** Identifies what kind of resource this is. Value: the fixed string "drive#teamDrive". */ + /** Identifies what kind of resource this is. Value: the fixed string \\"drive#teamDrive\\". */ kind?: string; /** The name of this Team Drive. */ name?: string; @@ -951,7 +954,7 @@ declare namespace gapi.client { themeId?: string; } interface TeamDriveList { - /** Identifies what kind of resource this is. Value: the fixed string "drive#teamDriveList". */ + /** Identifies what kind of resource this is. Value: the fixed string \\"drive#teamDriveList\\". */ kind?: string; /** * The page token for the next page of Team Drives. This will be absent if the end of the Team Drives list has been reached. If the token is rejected for any reason, it should be @@ -966,7 +969,7 @@ declare namespace gapi.client { displayName?: string; /** The email address of the user. This may not be present in certain contexts if the user has not made their email address visible to the requester. */ emailAddress?: string; - /** Identifies what kind of resource this is. Value: the fixed string "drive#user". */ + /** Identifies what kind of resource this is. Value: the fixed string \\"drive#user\\". */ kind?: string; /** Whether this user is the requesting user. */ me?: boolean; @@ -1903,7 +1906,7 @@ declare namespace gapi.client { pageToken?: string; /** Returns response with indentations and line breaks. */ prettyPrint?: boolean; - /** A query for filtering the file results. See the "Search for Files" guide for supported syntax. */ + /** A query for filtering the file results. See the \\"Search for Files\\" guide for supported syntax. */ q?: string; /** An opaque string that represents a user for quota purposes. Must not exceed 40 characters. */ quotaUser?: string; @@ -2812,3 +2815,5 @@ declare namespace gapi.client { const teamdrives: TeamdrivesResource; } } +" +`; diff --git a/test/restDocs/snapshots/gapi.client.drive-v3/package.json b/test/restDocs/snapshots/gapi.client.drive-v3/package.json deleted file mode 100644 index 5053cbfc58..0000000000 --- a/test/restDocs/snapshots/gapi.client.drive-v3/package.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "name": "@maxim_mazurok/gapi.client.drive-v3", - "version": "0.0.20220626", - "description": "TypeScript typings for Drive API v3", - "license": "MIT", - "author": { - "email": "maxim@mazurok.com", - "name": "Maxim Mazurok", - "url": "https://maxim.mazurok.com" - }, - "repository": { - "type": "git", - "url": "https://github.com/Maxim-Mazurok/google-api-typings-generator.git" - }, - "types": "index.d.ts", - "dependencies": { - "@types/gapi.client": "*", - "@types/gapi.client.discovery": "*" - } -} diff --git a/test/restDocs/snapshots/gapi.client.drive-v3/package.json.shot b/test/restDocs/snapshots/gapi.client.drive-v3/package.json.shot new file mode 100644 index 0000000000..719a736a79 --- /dev/null +++ b/test/restDocs/snapshots/gapi.client.drive-v3/package.json.shot @@ -0,0 +1,25 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`drive works: drive works 1`] = ` +"{ + \\"name\\": \\"@maxim_mazurok/gapi.client.drive-v3\\", + \\"version\\": \\"0.0.20220626\\", + \\"description\\": \\"TypeScript typings for Drive API v3\\", + \\"license\\": \\"MIT\\", + \\"author\\": { + \\"email\\": \\"maxim@mazurok.com\\", + \\"name\\": \\"Maxim Mazurok\\", + \\"url\\": \\"https://maxim.mazurok.com\\" + }, + \\"repository\\": { + \\"type\\": \\"git\\", + \\"url\\": \\"https://github.com/Maxim-Mazurok/google-api-typings-generator.git\\" + }, + \\"types\\": \\"index.d.ts\\", + \\"dependencies\\": { + \\"@types/gapi.client\\": \\"*\\", + \\"@types/gapi.client.discovery\\": \\"*\\" + } +} +" +`; diff --git a/test/restDocs/snapshots/gapi.client.drive-v3/readme.md b/test/restDocs/snapshots/gapi.client.drive-v3/readme.md.shot similarity index 64% rename from test/restDocs/snapshots/gapi.client.drive-v3/readme.md rename to test/restDocs/snapshots/gapi.client.drive-v3/readme.md.shot index 481bf4c5ad..a6ff0f14c9 100644 --- a/test/restDocs/snapshots/gapi.client.drive-v3/readme.md +++ b/test/restDocs/snapshots/gapi.client.drive-v3/readme.md.shot @@ -1,4 +1,7 @@ -# TypeScript typings for Drive API v3 +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`drive works: drive works 1`] = ` +"# TypeScript typings for Drive API v3 Manages files in Drive including uploading, downloading, searching, detecting changes, and updating sharing permissions. For detailed description please check [documentation](https://developers.google.com/drive/). @@ -7,41 +10,41 @@ For detailed description please check [documentation](https://developers.google. Install typings for Drive API: -``` +\`\`\` npm install @types/gapi.client.drive-v3 --save-dev -``` +\`\`\` ## Usage You need to initialize Google API client in your code: -```typescript +\`\`\`typescript gapi.load('client', () => { // now we can use gapi.client // ... }); -``` +\`\`\` Then load api client wrapper: -```typescript +\`\`\`typescript gapi.client.load('http://localhost:3000/drive.json', () => { // now we can use: // gapi.client.drive }); -``` +\`\`\` -```typescript +\`\`\`typescript // Deprecated, use discovery document URL, see https://github.com/google/google-api-javascript-client/blob/master/docs/reference.md#----gapiclientloadname----version----callback-- gapi.client.load('drive', 'v3', () => { // now we can use: // gapi.client.drive }); -``` +\`\`\` Don't forget to authenticate your client before sending any request to resources: -```typescript +\`\`\`typescript // declare client_id registered in Google Developers Console var client_id = '', scope = [ @@ -81,11 +84,11 @@ gapi.auth.authorize( /* handle authorization error */ } }); -``` +\`\`\` After that you can use Drive API resources: -```typescript +\`\`\`typescript /* Gets information about the user, the user's Drive, and system capabilities. @@ -100,12 +103,12 @@ await gapi.client.drive.changes.getStartPageToken({ }); /* Lists the changes for a user or shared drive. */ -await gapi.client.drive.changes.list({ pageToken: "pageToken", }); +await gapi.client.drive.changes.list({ pageToken: \\"pageToken\\", }); /* Subscribes to changes for a user. */ -await gapi.client.drive.changes.watch({ pageToken: "pageToken", }); +await gapi.client.drive.changes.watch({ pageToken: \\"pageToken\\", }); /* Stop watching resources through this channel @@ -115,47 +118,47 @@ await gapi.client.drive.channels.stop({ }); /* Creates a new comment on a file. */ -await gapi.client.drive.comments.create({ fileId: "fileId", }); +await gapi.client.drive.comments.create({ fileId: \\"fileId\\", }); /* Deletes a comment. */ -await gapi.client.drive.comments.delete({ commentId: "commentId", fileId: "fileId", }); +await gapi.client.drive.comments.delete({ commentId: \\"commentId\\", fileId: \\"fileId\\", }); /* Gets a comment by ID. */ -await gapi.client.drive.comments.get({ commentId: "commentId", fileId: "fileId", }); +await gapi.client.drive.comments.get({ commentId: \\"commentId\\", fileId: \\"fileId\\", }); /* Lists a file's comments. */ -await gapi.client.drive.comments.list({ fileId: "fileId", }); +await gapi.client.drive.comments.list({ fileId: \\"fileId\\", }); /* Updates a comment with patch semantics. */ -await gapi.client.drive.comments.update({ commentId: "commentId", fileId: "fileId", }); +await gapi.client.drive.comments.update({ commentId: \\"commentId\\", fileId: \\"fileId\\", }); /* Creates a new shared drive. */ -await gapi.client.drive.drives.create({ requestId: "requestId", }); +await gapi.client.drive.drives.create({ requestId: \\"requestId\\", }); /* Permanently deletes a shared drive for which the user is an organizer. The shared drive cannot contain any untrashed items. */ -await gapi.client.drive.drives.delete({ driveId: "driveId", }); +await gapi.client.drive.drives.delete({ driveId: \\"driveId\\", }); /* Gets a shared drive's metadata by ID. */ -await gapi.client.drive.drives.get({ driveId: "driveId", }); +await gapi.client.drive.drives.get({ driveId: \\"driveId\\", }); /* Hides a shared drive from the default view. */ -await gapi.client.drive.drives.hide({ driveId: "driveId", }); +await gapi.client.drive.drives.hide({ driveId: \\"driveId\\", }); /* Lists the user's shared drives. @@ -165,17 +168,17 @@ await gapi.client.drive.drives.list({ }); /* Restores a shared drive to the default view. */ -await gapi.client.drive.drives.unhide({ driveId: "driveId", }); +await gapi.client.drive.drives.unhide({ driveId: \\"driveId\\", }); /* Updates the metadate for a shared drive. */ -await gapi.client.drive.drives.update({ driveId: "driveId", }); +await gapi.client.drive.drives.update({ driveId: \\"driveId\\", }); /* Creates a copy of a file and applies any requested updates with patch semantics. Folders cannot be copied. */ -await gapi.client.drive.files.copy({ fileId: "fileId", }); +await gapi.client.drive.files.copy({ fileId: \\"fileId\\", }); /* Creates a new file. @@ -185,7 +188,7 @@ await gapi.client.drive.files.create({ }); /* Permanently deletes a file owned by the user without moving it to the trash. If the file belongs to a shared drive the user must be an organizer on the parent. If the target is a folder, all descendants owned by the user are also deleted. */ -await gapi.client.drive.files.delete({ fileId: "fileId", }); +await gapi.client.drive.files.delete({ fileId: \\"fileId\\", }); /* Permanently deletes all of the user's trashed files. @@ -195,7 +198,7 @@ await gapi.client.drive.files.emptyTrash({ }); /* Exports a Google Workspace document to the requested MIME type and returns exported byte content. Note that the exported content is limited to 10MB. */ -await gapi.client.drive.files.export({ fileId: "fileId", mimeType: "mimeType", }); +await gapi.client.drive.files.export({ fileId: \\"fileId\\", mimeType: \\"mimeType\\", }); /* Generates a set of file IDs which can be provided in create or copy requests. @@ -205,7 +208,7 @@ await gapi.client.drive.files.generateIds({ }); /* Gets a file's metadata or content by ID. */ -await gapi.client.drive.files.get({ fileId: "fileId", }); +await gapi.client.drive.files.get({ fileId: \\"fileId\\", }); /* Lists or searches files. @@ -215,97 +218,97 @@ await gapi.client.drive.files.list({ }); /* Updates a file's metadata and/or content. When calling this method, only populate fields in the request that you want to modify. When updating fields, some fields might change automatically, such as modifiedDate. This method supports patch semantics. */ -await gapi.client.drive.files.update({ fileId: "fileId", }); +await gapi.client.drive.files.update({ fileId: \\"fileId\\", }); /* Subscribes to changes to a file. While you can establish a channel for changes to a file on a shared drive, a change to a shared drive file won't create a notification. */ -await gapi.client.drive.files.watch({ fileId: "fileId", }); +await gapi.client.drive.files.watch({ fileId: \\"fileId\\", }); /* Creates a permission for a file or shared drive. */ -await gapi.client.drive.permissions.create({ fileId: "fileId", }); +await gapi.client.drive.permissions.create({ fileId: \\"fileId\\", }); /* Deletes a permission. */ -await gapi.client.drive.permissions.delete({ fileId: "fileId", permissionId: "permissionId", }); +await gapi.client.drive.permissions.delete({ fileId: \\"fileId\\", permissionId: \\"permissionId\\", }); /* Gets a permission by ID. */ -await gapi.client.drive.permissions.get({ fileId: "fileId", permissionId: "permissionId", }); +await gapi.client.drive.permissions.get({ fileId: \\"fileId\\", permissionId: \\"permissionId\\", }); /* Lists a file's or shared drive's permissions. */ -await gapi.client.drive.permissions.list({ fileId: "fileId", }); +await gapi.client.drive.permissions.list({ fileId: \\"fileId\\", }); /* Updates a permission with patch semantics. */ -await gapi.client.drive.permissions.update({ fileId: "fileId", permissionId: "permissionId", }); +await gapi.client.drive.permissions.update({ fileId: \\"fileId\\", permissionId: \\"permissionId\\", }); /* Creates a new reply to a comment. */ -await gapi.client.drive.replies.create({ commentId: "commentId", fileId: "fileId", }); +await gapi.client.drive.replies.create({ commentId: \\"commentId\\", fileId: \\"fileId\\", }); /* Deletes a reply. */ -await gapi.client.drive.replies.delete({ commentId: "commentId", fileId: "fileId", replyId: "replyId", }); +await gapi.client.drive.replies.delete({ commentId: \\"commentId\\", fileId: \\"fileId\\", replyId: \\"replyId\\", }); /* Gets a reply by ID. */ -await gapi.client.drive.replies.get({ commentId: "commentId", fileId: "fileId", replyId: "replyId", }); +await gapi.client.drive.replies.get({ commentId: \\"commentId\\", fileId: \\"fileId\\", replyId: \\"replyId\\", }); /* Lists a comment's replies. */ -await gapi.client.drive.replies.list({ commentId: "commentId", fileId: "fileId", }); +await gapi.client.drive.replies.list({ commentId: \\"commentId\\", fileId: \\"fileId\\", }); /* Updates a reply with patch semantics. */ -await gapi.client.drive.replies.update({ commentId: "commentId", fileId: "fileId", replyId: "replyId", }); +await gapi.client.drive.replies.update({ commentId: \\"commentId\\", fileId: \\"fileId\\", replyId: \\"replyId\\", }); /* Permanently deletes a file version. You can only delete revisions for files with binary content in Google Drive, like images or videos. Revisions for other files, like Google Docs or Sheets, and the last remaining file version can't be deleted. */ -await gapi.client.drive.revisions.delete({ fileId: "fileId", revisionId: "revisionId", }); +await gapi.client.drive.revisions.delete({ fileId: \\"fileId\\", revisionId: \\"revisionId\\", }); /* Gets a revision's metadata or content by ID. */ -await gapi.client.drive.revisions.get({ fileId: "fileId", revisionId: "revisionId", }); +await gapi.client.drive.revisions.get({ fileId: \\"fileId\\", revisionId: \\"revisionId\\", }); /* Lists a file's revisions. */ -await gapi.client.drive.revisions.list({ fileId: "fileId", }); +await gapi.client.drive.revisions.list({ fileId: \\"fileId\\", }); /* Updates a revision with patch semantics. */ -await gapi.client.drive.revisions.update({ fileId: "fileId", revisionId: "revisionId", }); +await gapi.client.drive.revisions.update({ fileId: \\"fileId\\", revisionId: \\"revisionId\\", }); /* Deprecated use drives.create instead. */ -await gapi.client.drive.teamdrives.create({ requestId: "requestId", }); +await gapi.client.drive.teamdrives.create({ requestId: \\"requestId\\", }); /* Deprecated use drives.delete instead. */ -await gapi.client.drive.teamdrives.delete({ teamDriveId: "teamDriveId", }); +await gapi.client.drive.teamdrives.delete({ teamDriveId: \\"teamDriveId\\", }); /* Deprecated use drives.get instead. */ -await gapi.client.drive.teamdrives.get({ teamDriveId: "teamDriveId", }); +await gapi.client.drive.teamdrives.get({ teamDriveId: \\"teamDriveId\\", }); /* Deprecated use drives.list instead. @@ -315,5 +318,7 @@ await gapi.client.drive.teamdrives.list({ }); /* Deprecated use drives.update instead */ -await gapi.client.drive.teamdrives.update({ teamDriveId: "teamDriveId", }); -``` +await gapi.client.drive.teamdrives.update({ teamDriveId: \\"teamDriveId\\", }); +\`\`\` +" +`; diff --git a/test/restDocs/snapshots/gapi.client.drive-v3/tests.ts b/test/restDocs/snapshots/gapi.client.drive-v3/tests.ts.shot similarity index 55% rename from test/restDocs/snapshots/gapi.client.drive-v3/tests.ts rename to test/restDocs/snapshots/gapi.client.drive-v3/tests.ts.shot index 5e772b57aa..9bd2dbfb7b 100644 --- a/test/restDocs/snapshots/gapi.client.drive-v3/tests.ts +++ b/test/restDocs/snapshots/gapi.client.drive-v3/tests.ts.shot @@ -1,4 +1,7 @@ -/* This is stub file for gapi.client.drive-v3 definition tests */ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`drive works: drive works 1`] = ` +"/* This is stub file for gapi.client.drive-v3 definition tests */ // IMPORTANT // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually. // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator @@ -47,194 +50,194 @@ gapi.load('client', async () => { await gapi.client.drive.about.get(); /** Gets the starting pageToken for listing future changes. */ await gapi.client.drive.changes.getStartPageToken({ - driveId: "Test string", + driveId: \\"Test string\\", supportsAllDrives: true, supportsTeamDrives: true, - teamDriveId: "Test string", + teamDriveId: \\"Test string\\", }); /** Lists the changes for a user or shared drive. */ await gapi.client.drive.changes.list({ - driveId: "Test string", + driveId: \\"Test string\\", includeCorpusRemovals: true, includeItemsFromAllDrives: true, - includePermissionsForView: "Test string", + includePermissionsForView: \\"Test string\\", includeRemoved: true, includeTeamDriveItems: true, pageSize: 42, - pageToken: "Test string", + pageToken: \\"Test string\\", restrictToMyDrive: true, - spaces: "Test string", + spaces: \\"Test string\\", supportsAllDrives: true, supportsTeamDrives: true, - teamDriveId: "Test string", + teamDriveId: \\"Test string\\", }); /** Subscribes to changes for a user. */ await gapi.client.drive.changes.watch({ - driveId: "Test string", + driveId: \\"Test string\\", includeCorpusRemovals: true, includeItemsFromAllDrives: true, - includePermissionsForView: "Test string", + includePermissionsForView: \\"Test string\\", includeRemoved: true, includeTeamDriveItems: true, pageSize: 42, - pageToken: "Test string", + pageToken: \\"Test string\\", restrictToMyDrive: true, - spaces: "Test string", + spaces: \\"Test string\\", supportsAllDrives: true, supportsTeamDrives: true, - teamDriveId: "Test string", + teamDriveId: \\"Test string\\", }, { - address: "Test string", - expiration: "Test string", - id: "Test string", - kind: "Test string", + address: \\"Test string\\", + expiration: \\"Test string\\", + id: \\"Test string\\", + kind: \\"Test string\\", params: { - A: "Test string" + A: \\"Test string\\" }, payload: true, - resourceId: "Test string", - resourceUri: "Test string", - token: "Test string", - type: "Test string", + resourceId: \\"Test string\\", + resourceUri: \\"Test string\\", + token: \\"Test string\\", + type: \\"Test string\\", }); /** Stop watching resources through this channel */ await gapi.client.drive.channels.stop({} , { - address: "Test string", - expiration: "Test string", - id: "Test string", - kind: "Test string", + address: \\"Test string\\", + expiration: \\"Test string\\", + id: \\"Test string\\", + kind: \\"Test string\\", params: { - A: "Test string" + A: \\"Test string\\" }, payload: true, - resourceId: "Test string", - resourceUri: "Test string", - token: "Test string", - type: "Test string", + resourceId: \\"Test string\\", + resourceUri: \\"Test string\\", + token: \\"Test string\\", + type: \\"Test string\\", }); /** Creates a new comment on a file. */ await gapi.client.drive.comments.create({ - fileId: "Test string", + fileId: \\"Test string\\", }, { - anchor: "Test string", + anchor: \\"Test string\\", author: { - displayName: "Test string", - emailAddress: "Test string", - kind: "Test string", + displayName: \\"Test string\\", + emailAddress: \\"Test string\\", + kind: \\"Test string\\", me: true, - permissionId: "Test string", - photoLink: "Test string", + permissionId: \\"Test string\\", + photoLink: \\"Test string\\", }, - content: "Test string", - createdTime: "Test string", + content: \\"Test string\\", + createdTime: \\"Test string\\", deleted: true, - htmlContent: "Test string", - id: "Test string", - kind: "Test string", - modifiedTime: "Test string", + htmlContent: \\"Test string\\", + id: \\"Test string\\", + kind: \\"Test string\\", + modifiedTime: \\"Test string\\", quotedFileContent: { - mimeType: "Test string", - value: "Test string", + mimeType: \\"Test string\\", + value: \\"Test string\\", }, replies: [ { - action: "Test string", + action: \\"Test string\\", author: { - displayName: "Test string", - emailAddress: "Test string", - kind: "Test string", + displayName: \\"Test string\\", + emailAddress: \\"Test string\\", + kind: \\"Test string\\", me: true, - permissionId: "Test string", - photoLink: "Test string", + permissionId: \\"Test string\\", + photoLink: \\"Test string\\", }, - content: "Test string", - createdTime: "Test string", + content: \\"Test string\\", + createdTime: \\"Test string\\", deleted: true, - htmlContent: "Test string", - id: "Test string", - kind: "Test string", - modifiedTime: "Test string", + htmlContent: \\"Test string\\", + id: \\"Test string\\", + kind: \\"Test string\\", + modifiedTime: \\"Test string\\", } ], resolved: true, }); /** Deletes a comment. */ await gapi.client.drive.comments.delete({ - commentId: "Test string", - fileId: "Test string", + commentId: \\"Test string\\", + fileId: \\"Test string\\", }); /** Gets a comment by ID. */ await gapi.client.drive.comments.get({ - commentId: "Test string", - fileId: "Test string", + commentId: \\"Test string\\", + fileId: \\"Test string\\", includeDeleted: true, }); /** Lists a file's comments. */ await gapi.client.drive.comments.list({ - fileId: "Test string", + fileId: \\"Test string\\", includeDeleted: true, pageSize: 42, - pageToken: "Test string", - startModifiedTime: "Test string", + pageToken: \\"Test string\\", + startModifiedTime: \\"Test string\\", }); /** Updates a comment with patch semantics. */ await gapi.client.drive.comments.update({ - commentId: "Test string", - fileId: "Test string", + commentId: \\"Test string\\", + fileId: \\"Test string\\", }, { - anchor: "Test string", + anchor: \\"Test string\\", author: { - displayName: "Test string", - emailAddress: "Test string", - kind: "Test string", + displayName: \\"Test string\\", + emailAddress: \\"Test string\\", + kind: \\"Test string\\", me: true, - permissionId: "Test string", - photoLink: "Test string", + permissionId: \\"Test string\\", + photoLink: \\"Test string\\", }, - content: "Test string", - createdTime: "Test string", + content: \\"Test string\\", + createdTime: \\"Test string\\", deleted: true, - htmlContent: "Test string", - id: "Test string", - kind: "Test string", - modifiedTime: "Test string", + htmlContent: \\"Test string\\", + id: \\"Test string\\", + kind: \\"Test string\\", + modifiedTime: \\"Test string\\", quotedFileContent: { - mimeType: "Test string", - value: "Test string", + mimeType: \\"Test string\\", + value: \\"Test string\\", }, replies: [ { - action: "Test string", + action: \\"Test string\\", author: { - displayName: "Test string", - emailAddress: "Test string", - kind: "Test string", + displayName: \\"Test string\\", + emailAddress: \\"Test string\\", + kind: \\"Test string\\", me: true, - permissionId: "Test string", - photoLink: "Test string", + permissionId: \\"Test string\\", + photoLink: \\"Test string\\", }, - content: "Test string", - createdTime: "Test string", + content: \\"Test string\\", + createdTime: \\"Test string\\", deleted: true, - htmlContent: "Test string", - id: "Test string", - kind: "Test string", - modifiedTime: "Test string", + htmlContent: \\"Test string\\", + id: \\"Test string\\", + kind: \\"Test string\\", + modifiedTime: \\"Test string\\", } ], resolved: true, }); /** Creates a new shared drive. */ await gapi.client.drive.drives.create({ - requestId: "Test string", + requestId: \\"Test string\\", }, { backgroundImageFile: { - id: "Test string", + id: \\"Test string\\", width: 42, xCoordinate: 42, yCoordinate: 42, }, - backgroundImageLink: "Test string", + backgroundImageLink: \\"Test string\\", capabilities: { canAddChildren: true, canChangeCopyRequiresWriterPermissionRestriction: true, @@ -256,59 +259,59 @@ gapi.load('client', async () => { canShare: true, canTrashChildren: true, }, - colorRgb: "Test string", - createdTime: "Test string", + colorRgb: \\"Test string\\", + createdTime: \\"Test string\\", hidden: true, - id: "Test string", - kind: "Test string", - name: "Test string", - orgUnitId: "Test string", + id: \\"Test string\\", + kind: \\"Test string\\", + name: \\"Test string\\", + orgUnitId: \\"Test string\\", restrictions: { adminManagedRestrictions: true, copyRequiresWriterPermission: true, domainUsersOnly: true, driveMembersOnly: true, }, - themeId: "Test string", + themeId: \\"Test string\\", }); /** Permanently deletes a shared drive for which the user is an organizer. The shared drive cannot contain any untrashed items. */ await gapi.client.drive.drives.delete({ allowItemDeletion: true, - driveId: "Test string", + driveId: \\"Test string\\", useDomainAdminAccess: true, }); /** Gets a shared drive's metadata by ID. */ await gapi.client.drive.drives.get({ - driveId: "Test string", + driveId: \\"Test string\\", useDomainAdminAccess: true, }); /** Hides a shared drive from the default view. */ await gapi.client.drive.drives.hide({ - driveId: "Test string", + driveId: \\"Test string\\", }); /** Lists the user's shared drives. */ await gapi.client.drive.drives.list({ pageSize: 42, - pageToken: "Test string", - q: "Test string", + pageToken: \\"Test string\\", + q: \\"Test string\\", useDomainAdminAccess: true, }); /** Restores a shared drive to the default view. */ await gapi.client.drive.drives.unhide({ - driveId: "Test string", + driveId: \\"Test string\\", }); /** Updates the metadate for a shared drive. */ await gapi.client.drive.drives.update({ - driveId: "Test string", + driveId: \\"Test string\\", useDomainAdminAccess: true, }, { backgroundImageFile: { - id: "Test string", + id: \\"Test string\\", width: 42, xCoordinate: 42, yCoordinate: 42, }, - backgroundImageLink: "Test string", + backgroundImageLink: \\"Test string\\", capabilities: { canAddChildren: true, canChangeCopyRequiresWriterPermissionRestriction: true, @@ -330,34 +333,34 @@ gapi.load('client', async () => { canShare: true, canTrashChildren: true, }, - colorRgb: "Test string", - createdTime: "Test string", + colorRgb: \\"Test string\\", + createdTime: \\"Test string\\", hidden: true, - id: "Test string", - kind: "Test string", - name: "Test string", - orgUnitId: "Test string", + id: \\"Test string\\", + kind: \\"Test string\\", + name: \\"Test string\\", + orgUnitId: \\"Test string\\", restrictions: { adminManagedRestrictions: true, copyRequiresWriterPermission: true, domainUsersOnly: true, driveMembersOnly: true, }, - themeId: "Test string", + themeId: \\"Test string\\", }); /** Creates a copy of a file and applies any requested updates with patch semantics. Folders cannot be copied. */ await gapi.client.drive.files.copy({ enforceSingleParent: true, - fileId: "Test string", + fileId: \\"Test string\\", ignoreDefaultVisibility: true, - includePermissionsForView: "Test string", + includePermissionsForView: \\"Test string\\", keepRevisionForever: true, - ocrLanguage: "Test string", + ocrLanguage: \\"Test string\\", supportsAllDrives: true, supportsTeamDrives: true, }, { appProperties: { - A: "Test string" + A: \\"Test string\\" }, capabilities: { canAcceptOwnership: true, @@ -398,206 +401,206 @@ gapi.load('client', async () => { canUntrash: true, }, contentHints: { - indexableText: "Test string", + indexableText: \\"Test string\\", thumbnail: { - image: "Test string", - mimeType: "Test string", + image: \\"Test string\\", + mimeType: \\"Test string\\", }, }, contentRestrictions: [ { readOnly: true, - reason: "Test string", + reason: \\"Test string\\", restrictingUser: { - displayName: "Test string", - emailAddress: "Test string", - kind: "Test string", + displayName: \\"Test string\\", + emailAddress: \\"Test string\\", + kind: \\"Test string\\", me: true, - permissionId: "Test string", - photoLink: "Test string", + permissionId: \\"Test string\\", + photoLink: \\"Test string\\", }, - restrictionTime: "Test string", - type: "Test string", + restrictionTime: \\"Test string\\", + type: \\"Test string\\", } ], copyRequiresWriterPermission: true, - createdTime: "Test string", - description: "Test string", - driveId: "Test string", + createdTime: \\"Test string\\", + description: \\"Test string\\", + driveId: \\"Test string\\", explicitlyTrashed: true, exportLinks: { - A: "Test string" + A: \\"Test string\\" }, - fileExtension: "Test string", - folderColorRgb: "Test string", - fullFileExtension: "Test string", + fileExtension: \\"Test string\\", + folderColorRgb: \\"Test string\\", + fullFileExtension: \\"Test string\\", hasAugmentedPermissions: true, hasThumbnail: true, - headRevisionId: "Test string", - iconLink: "Test string", - id: "Test string", + headRevisionId: \\"Test string\\", + iconLink: \\"Test string\\", + id: \\"Test string\\", imageMediaMetadata: { aperture: 42, - cameraMake: "Test string", - cameraModel: "Test string", - colorSpace: "Test string", + cameraMake: \\"Test string\\", + cameraModel: \\"Test string\\", + colorSpace: \\"Test string\\", exposureBias: 42, - exposureMode: "Test string", + exposureMode: \\"Test string\\", exposureTime: 42, flashUsed: true, focalLength: 42, height: 42, isoSpeed: 42, - lens: "Test string", + lens: \\"Test string\\", location: { altitude: 42, latitude: 42, longitude: 42, }, maxApertureValue: 42, - meteringMode: "Test string", + meteringMode: \\"Test string\\", rotation: 42, - sensor: "Test string", + sensor: \\"Test string\\", subjectDistance: 42, - time: "Test string", - whiteBalance: "Test string", + time: \\"Test string\\", + whiteBalance: \\"Test string\\", width: 42, }, isAppAuthorized: true, - kind: "Test string", + kind: \\"Test string\\", lastModifyingUser: { - displayName: "Test string", - emailAddress: "Test string", - kind: "Test string", + displayName: \\"Test string\\", + emailAddress: \\"Test string\\", + kind: \\"Test string\\", me: true, - permissionId: "Test string", - photoLink: "Test string", + permissionId: \\"Test string\\", + photoLink: \\"Test string\\", }, linkShareMetadata: { securityUpdateEligible: true, securityUpdateEnabled: true, }, - md5Checksum: "Test string", - mimeType: "Test string", + md5Checksum: \\"Test string\\", + mimeType: \\"Test string\\", modifiedByMe: true, - modifiedByMeTime: "Test string", - modifiedTime: "Test string", - name: "Test string", - originalFilename: "Test string", + modifiedByMeTime: \\"Test string\\", + modifiedTime: \\"Test string\\", + name: \\"Test string\\", + originalFilename: \\"Test string\\", ownedByMe: true, owners: [ { - displayName: "Test string", - emailAddress: "Test string", - kind: "Test string", + displayName: \\"Test string\\", + emailAddress: \\"Test string\\", + kind: \\"Test string\\", me: true, - permissionId: "Test string", - photoLink: "Test string", + permissionId: \\"Test string\\", + photoLink: \\"Test string\\", } ], parents: [ - "Test string" + \\"Test string\\" ], permissionIds: [ - "Test string" + \\"Test string\\" ], permissions: [ { allowFileDiscovery: true, deleted: true, - displayName: "Test string", - domain: "Test string", - emailAddress: "Test string", - expirationTime: "Test string", - id: "Test string", - kind: "Test string", + displayName: \\"Test string\\", + domain: \\"Test string\\", + emailAddress: \\"Test string\\", + expirationTime: \\"Test string\\", + id: \\"Test string\\", + kind: \\"Test string\\", pendingOwner: true, permissionDetails: [ { inherited: true, - inheritedFrom: "Test string", - permissionType: "Test string", - role: "Test string", + inheritedFrom: \\"Test string\\", + permissionType: \\"Test string\\", + role: \\"Test string\\", } ], - photoLink: "Test string", - role: "Test string", + photoLink: \\"Test string\\", + role: \\"Test string\\", teamDrivePermissionDetails: [ { inherited: true, - inheritedFrom: "Test string", - role: "Test string", - teamDrivePermissionType: "Test string", + inheritedFrom: \\"Test string\\", + role: \\"Test string\\", + teamDrivePermissionType: \\"Test string\\", } ], - type: "Test string", - view: "Test string", + type: \\"Test string\\", + view: \\"Test string\\", } ], properties: { - A: "Test string" + A: \\"Test string\\" }, - quotaBytesUsed: "Test string", - resourceKey: "Test string", + quotaBytesUsed: \\"Test string\\", + resourceKey: \\"Test string\\", shared: true, - sharedWithMeTime: "Test string", + sharedWithMeTime: \\"Test string\\", sharingUser: { - displayName: "Test string", - emailAddress: "Test string", - kind: "Test string", + displayName: \\"Test string\\", + emailAddress: \\"Test string\\", + kind: \\"Test string\\", me: true, - permissionId: "Test string", - photoLink: "Test string", + permissionId: \\"Test string\\", + photoLink: \\"Test string\\", }, shortcutDetails: { - targetId: "Test string", - targetMimeType: "Test string", - targetResourceKey: "Test string", + targetId: \\"Test string\\", + targetMimeType: \\"Test string\\", + targetResourceKey: \\"Test string\\", }, - size: "Test string", + size: \\"Test string\\", spaces: [ - "Test string" + \\"Test string\\" ], starred: true, - teamDriveId: "Test string", - thumbnailLink: "Test string", - thumbnailVersion: "Test string", + teamDriveId: \\"Test string\\", + thumbnailLink: \\"Test string\\", + thumbnailVersion: \\"Test string\\", trashed: true, - trashedTime: "Test string", + trashedTime: \\"Test string\\", trashingUser: { - displayName: "Test string", - emailAddress: "Test string", - kind: "Test string", + displayName: \\"Test string\\", + emailAddress: \\"Test string\\", + kind: \\"Test string\\", me: true, - permissionId: "Test string", - photoLink: "Test string", + permissionId: \\"Test string\\", + photoLink: \\"Test string\\", }, - version: "Test string", + version: \\"Test string\\", videoMediaMetadata: { - durationMillis: "Test string", + durationMillis: \\"Test string\\", height: 42, width: 42, }, viewedByMe: true, - viewedByMeTime: "Test string", + viewedByMeTime: \\"Test string\\", viewersCanCopyContent: true, - webContentLink: "Test string", - webViewLink: "Test string", + webContentLink: \\"Test string\\", + webViewLink: \\"Test string\\", writersCanShare: true, }); /** Creates a new file. */ await gapi.client.drive.files.create({ enforceSingleParent: true, ignoreDefaultVisibility: true, - includePermissionsForView: "Test string", + includePermissionsForView: \\"Test string\\", keepRevisionForever: true, - ocrLanguage: "Test string", + ocrLanguage: \\"Test string\\", supportsAllDrives: true, supportsTeamDrives: true, useContentAsIndexableText: true, }, { appProperties: { - A: "Test string" + A: \\"Test string\\" }, capabilities: { canAcceptOwnership: true, @@ -638,191 +641,191 @@ gapi.load('client', async () => { canUntrash: true, }, contentHints: { - indexableText: "Test string", + indexableText: \\"Test string\\", thumbnail: { - image: "Test string", - mimeType: "Test string", + image: \\"Test string\\", + mimeType: \\"Test string\\", }, }, contentRestrictions: [ { readOnly: true, - reason: "Test string", + reason: \\"Test string\\", restrictingUser: { - displayName: "Test string", - emailAddress: "Test string", - kind: "Test string", + displayName: \\"Test string\\", + emailAddress: \\"Test string\\", + kind: \\"Test string\\", me: true, - permissionId: "Test string", - photoLink: "Test string", + permissionId: \\"Test string\\", + photoLink: \\"Test string\\", }, - restrictionTime: "Test string", - type: "Test string", + restrictionTime: \\"Test string\\", + type: \\"Test string\\", } ], copyRequiresWriterPermission: true, - createdTime: "Test string", - description: "Test string", - driveId: "Test string", + createdTime: \\"Test string\\", + description: \\"Test string\\", + driveId: \\"Test string\\", explicitlyTrashed: true, exportLinks: { - A: "Test string" + A: \\"Test string\\" }, - fileExtension: "Test string", - folderColorRgb: "Test string", - fullFileExtension: "Test string", + fileExtension: \\"Test string\\", + folderColorRgb: \\"Test string\\", + fullFileExtension: \\"Test string\\", hasAugmentedPermissions: true, hasThumbnail: true, - headRevisionId: "Test string", - iconLink: "Test string", - id: "Test string", + headRevisionId: \\"Test string\\", + iconLink: \\"Test string\\", + id: \\"Test string\\", imageMediaMetadata: { aperture: 42, - cameraMake: "Test string", - cameraModel: "Test string", - colorSpace: "Test string", + cameraMake: \\"Test string\\", + cameraModel: \\"Test string\\", + colorSpace: \\"Test string\\", exposureBias: 42, - exposureMode: "Test string", + exposureMode: \\"Test string\\", exposureTime: 42, flashUsed: true, focalLength: 42, height: 42, isoSpeed: 42, - lens: "Test string", + lens: \\"Test string\\", location: { altitude: 42, latitude: 42, longitude: 42, }, maxApertureValue: 42, - meteringMode: "Test string", + meteringMode: \\"Test string\\", rotation: 42, - sensor: "Test string", + sensor: \\"Test string\\", subjectDistance: 42, - time: "Test string", - whiteBalance: "Test string", + time: \\"Test string\\", + whiteBalance: \\"Test string\\", width: 42, }, isAppAuthorized: true, - kind: "Test string", + kind: \\"Test string\\", lastModifyingUser: { - displayName: "Test string", - emailAddress: "Test string", - kind: "Test string", + displayName: \\"Test string\\", + emailAddress: \\"Test string\\", + kind: \\"Test string\\", me: true, - permissionId: "Test string", - photoLink: "Test string", + permissionId: \\"Test string\\", + photoLink: \\"Test string\\", }, linkShareMetadata: { securityUpdateEligible: true, securityUpdateEnabled: true, }, - md5Checksum: "Test string", - mimeType: "Test string", + md5Checksum: \\"Test string\\", + mimeType: \\"Test string\\", modifiedByMe: true, - modifiedByMeTime: "Test string", - modifiedTime: "Test string", - name: "Test string", - originalFilename: "Test string", + modifiedByMeTime: \\"Test string\\", + modifiedTime: \\"Test string\\", + name: \\"Test string\\", + originalFilename: \\"Test string\\", ownedByMe: true, owners: [ { - displayName: "Test string", - emailAddress: "Test string", - kind: "Test string", + displayName: \\"Test string\\", + emailAddress: \\"Test string\\", + kind: \\"Test string\\", me: true, - permissionId: "Test string", - photoLink: "Test string", + permissionId: \\"Test string\\", + photoLink: \\"Test string\\", } ], parents: [ - "Test string" + \\"Test string\\" ], permissionIds: [ - "Test string" + \\"Test string\\" ], permissions: [ { allowFileDiscovery: true, deleted: true, - displayName: "Test string", - domain: "Test string", - emailAddress: "Test string", - expirationTime: "Test string", - id: "Test string", - kind: "Test string", + displayName: \\"Test string\\", + domain: \\"Test string\\", + emailAddress: \\"Test string\\", + expirationTime: \\"Test string\\", + id: \\"Test string\\", + kind: \\"Test string\\", pendingOwner: true, permissionDetails: [ { inherited: true, - inheritedFrom: "Test string", - permissionType: "Test string", - role: "Test string", + inheritedFrom: \\"Test string\\", + permissionType: \\"Test string\\", + role: \\"Test string\\", } ], - photoLink: "Test string", - role: "Test string", + photoLink: \\"Test string\\", + role: \\"Test string\\", teamDrivePermissionDetails: [ { inherited: true, - inheritedFrom: "Test string", - role: "Test string", - teamDrivePermissionType: "Test string", + inheritedFrom: \\"Test string\\", + role: \\"Test string\\", + teamDrivePermissionType: \\"Test string\\", } ], - type: "Test string", - view: "Test string", + type: \\"Test string\\", + view: \\"Test string\\", } ], properties: { - A: "Test string" + A: \\"Test string\\" }, - quotaBytesUsed: "Test string", - resourceKey: "Test string", + quotaBytesUsed: \\"Test string\\", + resourceKey: \\"Test string\\", shared: true, - sharedWithMeTime: "Test string", + sharedWithMeTime: \\"Test string\\", sharingUser: { - displayName: "Test string", - emailAddress: "Test string", - kind: "Test string", + displayName: \\"Test string\\", + emailAddress: \\"Test string\\", + kind: \\"Test string\\", me: true, - permissionId: "Test string", - photoLink: "Test string", + permissionId: \\"Test string\\", + photoLink: \\"Test string\\", }, shortcutDetails: { - targetId: "Test string", - targetMimeType: "Test string", - targetResourceKey: "Test string", + targetId: \\"Test string\\", + targetMimeType: \\"Test string\\", + targetResourceKey: \\"Test string\\", }, - size: "Test string", + size: \\"Test string\\", spaces: [ - "Test string" + \\"Test string\\" ], starred: true, - teamDriveId: "Test string", - thumbnailLink: "Test string", - thumbnailVersion: "Test string", + teamDriveId: \\"Test string\\", + thumbnailLink: \\"Test string\\", + thumbnailVersion: \\"Test string\\", trashed: true, - trashedTime: "Test string", + trashedTime: \\"Test string\\", trashingUser: { - displayName: "Test string", - emailAddress: "Test string", - kind: "Test string", + displayName: \\"Test string\\", + emailAddress: \\"Test string\\", + kind: \\"Test string\\", me: true, - permissionId: "Test string", - photoLink: "Test string", + permissionId: \\"Test string\\", + photoLink: \\"Test string\\", }, - version: "Test string", + version: \\"Test string\\", videoMediaMetadata: { - durationMillis: "Test string", + durationMillis: \\"Test string\\", height: 42, width: 42, }, viewedByMe: true, - viewedByMeTime: "Test string", + viewedByMeTime: \\"Test string\\", viewersCanCopyContent: true, - webContentLink: "Test string", - webViewLink: "Test string", + webContentLink: \\"Test string\\", + webViewLink: \\"Test string\\", writersCanShare: true, }); /** @@ -831,7 +834,7 @@ gapi.load('client', async () => { */ await gapi.client.drive.files.delete({ enforceSingleParent: true, - fileId: "Test string", + fileId: \\"Test string\\", supportsAllDrives: true, supportsTeamDrives: true, }); @@ -841,58 +844,58 @@ gapi.load('client', async () => { }); /** Exports a Google Workspace document to the requested MIME type and returns exported byte content. Note that the exported content is limited to 10MB. */ await gapi.client.drive.files.export({ - fileId: "Test string", - mimeType: "Test string", + fileId: \\"Test string\\", + mimeType: \\"Test string\\", }); /** Generates a set of file IDs which can be provided in create or copy requests. */ await gapi.client.drive.files.generateIds({ count: 42, - space: "Test string", - type: "Test string", + space: \\"Test string\\", + type: \\"Test string\\", }); /** Gets a file's metadata or content by ID. */ await gapi.client.drive.files.get({ acknowledgeAbuse: true, - fileId: "Test string", - includePermissionsForView: "Test string", + fileId: \\"Test string\\", + includePermissionsForView: \\"Test string\\", supportsAllDrives: true, supportsTeamDrives: true, }); /** Lists or searches files. */ await gapi.client.drive.files.list({ - corpora: "Test string", - corpus: "Test string", - driveId: "Test string", + corpora: \\"Test string\\", + corpus: \\"Test string\\", + driveId: \\"Test string\\", includeItemsFromAllDrives: true, - includePermissionsForView: "Test string", + includePermissionsForView: \\"Test string\\", includeTeamDriveItems: true, - orderBy: "Test string", + orderBy: \\"Test string\\", pageSize: 42, - pageToken: "Test string", - q: "Test string", - spaces: "Test string", + pageToken: \\"Test string\\", + q: \\"Test string\\", + spaces: \\"Test string\\", supportsAllDrives: true, supportsTeamDrives: true, - teamDriveId: "Test string", + teamDriveId: \\"Test string\\", }); /** * Updates a file's metadata and/or content. When calling this method, only populate fields in the request that you want to modify. When updating fields, some fields might change * automatically, such as modifiedDate. This method supports patch semantics. */ await gapi.client.drive.files.update({ - addParents: "Test string", + addParents: \\"Test string\\", enforceSingleParent: true, - fileId: "Test string", - includePermissionsForView: "Test string", + fileId: \\"Test string\\", + includePermissionsForView: \\"Test string\\", keepRevisionForever: true, - ocrLanguage: "Test string", - removeParents: "Test string", + ocrLanguage: \\"Test string\\", + removeParents: \\"Test string\\", supportsAllDrives: true, supportsTeamDrives: true, useContentAsIndexableText: true, }, { appProperties: { - A: "Test string" + A: \\"Test string\\" }, capabilities: { canAcceptOwnership: true, @@ -933,219 +936,219 @@ gapi.load('client', async () => { canUntrash: true, }, contentHints: { - indexableText: "Test string", + indexableText: \\"Test string\\", thumbnail: { - image: "Test string", - mimeType: "Test string", + image: \\"Test string\\", + mimeType: \\"Test string\\", }, }, contentRestrictions: [ { readOnly: true, - reason: "Test string", + reason: \\"Test string\\", restrictingUser: { - displayName: "Test string", - emailAddress: "Test string", - kind: "Test string", + displayName: \\"Test string\\", + emailAddress: \\"Test string\\", + kind: \\"Test string\\", me: true, - permissionId: "Test string", - photoLink: "Test string", + permissionId: \\"Test string\\", + photoLink: \\"Test string\\", }, - restrictionTime: "Test string", - type: "Test string", + restrictionTime: \\"Test string\\", + type: \\"Test string\\", } ], copyRequiresWriterPermission: true, - createdTime: "Test string", - description: "Test string", - driveId: "Test string", + createdTime: \\"Test string\\", + description: \\"Test string\\", + driveId: \\"Test string\\", explicitlyTrashed: true, exportLinks: { - A: "Test string" + A: \\"Test string\\" }, - fileExtension: "Test string", - folderColorRgb: "Test string", - fullFileExtension: "Test string", + fileExtension: \\"Test string\\", + folderColorRgb: \\"Test string\\", + fullFileExtension: \\"Test string\\", hasAugmentedPermissions: true, hasThumbnail: true, - headRevisionId: "Test string", - iconLink: "Test string", - id: "Test string", + headRevisionId: \\"Test string\\", + iconLink: \\"Test string\\", + id: \\"Test string\\", imageMediaMetadata: { aperture: 42, - cameraMake: "Test string", - cameraModel: "Test string", - colorSpace: "Test string", + cameraMake: \\"Test string\\", + cameraModel: \\"Test string\\", + colorSpace: \\"Test string\\", exposureBias: 42, - exposureMode: "Test string", + exposureMode: \\"Test string\\", exposureTime: 42, flashUsed: true, focalLength: 42, height: 42, isoSpeed: 42, - lens: "Test string", + lens: \\"Test string\\", location: { altitude: 42, latitude: 42, longitude: 42, }, maxApertureValue: 42, - meteringMode: "Test string", + meteringMode: \\"Test string\\", rotation: 42, - sensor: "Test string", + sensor: \\"Test string\\", subjectDistance: 42, - time: "Test string", - whiteBalance: "Test string", + time: \\"Test string\\", + whiteBalance: \\"Test string\\", width: 42, }, isAppAuthorized: true, - kind: "Test string", + kind: \\"Test string\\", lastModifyingUser: { - displayName: "Test string", - emailAddress: "Test string", - kind: "Test string", + displayName: \\"Test string\\", + emailAddress: \\"Test string\\", + kind: \\"Test string\\", me: true, - permissionId: "Test string", - photoLink: "Test string", + permissionId: \\"Test string\\", + photoLink: \\"Test string\\", }, linkShareMetadata: { securityUpdateEligible: true, securityUpdateEnabled: true, }, - md5Checksum: "Test string", - mimeType: "Test string", + md5Checksum: \\"Test string\\", + mimeType: \\"Test string\\", modifiedByMe: true, - modifiedByMeTime: "Test string", - modifiedTime: "Test string", - name: "Test string", - originalFilename: "Test string", + modifiedByMeTime: \\"Test string\\", + modifiedTime: \\"Test string\\", + name: \\"Test string\\", + originalFilename: \\"Test string\\", ownedByMe: true, owners: [ { - displayName: "Test string", - emailAddress: "Test string", - kind: "Test string", + displayName: \\"Test string\\", + emailAddress: \\"Test string\\", + kind: \\"Test string\\", me: true, - permissionId: "Test string", - photoLink: "Test string", + permissionId: \\"Test string\\", + photoLink: \\"Test string\\", } ], parents: [ - "Test string" + \\"Test string\\" ], permissionIds: [ - "Test string" + \\"Test string\\" ], permissions: [ { allowFileDiscovery: true, deleted: true, - displayName: "Test string", - domain: "Test string", - emailAddress: "Test string", - expirationTime: "Test string", - id: "Test string", - kind: "Test string", + displayName: \\"Test string\\", + domain: \\"Test string\\", + emailAddress: \\"Test string\\", + expirationTime: \\"Test string\\", + id: \\"Test string\\", + kind: \\"Test string\\", pendingOwner: true, permissionDetails: [ { inherited: true, - inheritedFrom: "Test string", - permissionType: "Test string", - role: "Test string", + inheritedFrom: \\"Test string\\", + permissionType: \\"Test string\\", + role: \\"Test string\\", } ], - photoLink: "Test string", - role: "Test string", + photoLink: \\"Test string\\", + role: \\"Test string\\", teamDrivePermissionDetails: [ { inherited: true, - inheritedFrom: "Test string", - role: "Test string", - teamDrivePermissionType: "Test string", + inheritedFrom: \\"Test string\\", + role: \\"Test string\\", + teamDrivePermissionType: \\"Test string\\", } ], - type: "Test string", - view: "Test string", + type: \\"Test string\\", + view: \\"Test string\\", } ], properties: { - A: "Test string" + A: \\"Test string\\" }, - quotaBytesUsed: "Test string", - resourceKey: "Test string", + quotaBytesUsed: \\"Test string\\", + resourceKey: \\"Test string\\", shared: true, - sharedWithMeTime: "Test string", + sharedWithMeTime: \\"Test string\\", sharingUser: { - displayName: "Test string", - emailAddress: "Test string", - kind: "Test string", + displayName: \\"Test string\\", + emailAddress: \\"Test string\\", + kind: \\"Test string\\", me: true, - permissionId: "Test string", - photoLink: "Test string", + permissionId: \\"Test string\\", + photoLink: \\"Test string\\", }, shortcutDetails: { - targetId: "Test string", - targetMimeType: "Test string", - targetResourceKey: "Test string", + targetId: \\"Test string\\", + targetMimeType: \\"Test string\\", + targetResourceKey: \\"Test string\\", }, - size: "Test string", + size: \\"Test string\\", spaces: [ - "Test string" + \\"Test string\\" ], starred: true, - teamDriveId: "Test string", - thumbnailLink: "Test string", - thumbnailVersion: "Test string", + teamDriveId: \\"Test string\\", + thumbnailLink: \\"Test string\\", + thumbnailVersion: \\"Test string\\", trashed: true, - trashedTime: "Test string", + trashedTime: \\"Test string\\", trashingUser: { - displayName: "Test string", - emailAddress: "Test string", - kind: "Test string", + displayName: \\"Test string\\", + emailAddress: \\"Test string\\", + kind: \\"Test string\\", me: true, - permissionId: "Test string", - photoLink: "Test string", + permissionId: \\"Test string\\", + photoLink: \\"Test string\\", }, - version: "Test string", + version: \\"Test string\\", videoMediaMetadata: { - durationMillis: "Test string", + durationMillis: \\"Test string\\", height: 42, width: 42, }, viewedByMe: true, - viewedByMeTime: "Test string", + viewedByMeTime: \\"Test string\\", viewersCanCopyContent: true, - webContentLink: "Test string", - webViewLink: "Test string", + webContentLink: \\"Test string\\", + webViewLink: \\"Test string\\", writersCanShare: true, }); /** Subscribes to changes to a file. While you can establish a channel for changes to a file on a shared drive, a change to a shared drive file won't create a notification. */ await gapi.client.drive.files.watch({ acknowledgeAbuse: true, - fileId: "Test string", - includePermissionsForView: "Test string", + fileId: \\"Test string\\", + includePermissionsForView: \\"Test string\\", supportsAllDrives: true, supportsTeamDrives: true, }, { - address: "Test string", - expiration: "Test string", - id: "Test string", - kind: "Test string", + address: \\"Test string\\", + expiration: \\"Test string\\", + id: \\"Test string\\", + kind: \\"Test string\\", params: { - A: "Test string" + A: \\"Test string\\" }, payload: true, - resourceId: "Test string", - resourceUri: "Test string", - token: "Test string", - type: "Test string", + resourceId: \\"Test string\\", + resourceUri: \\"Test string\\", + token: \\"Test string\\", + type: \\"Test string\\", }); /** Creates a permission for a file or shared drive. */ await gapi.client.drive.permissions.create({ - emailMessage: "Test string", + emailMessage: \\"Test string\\", enforceSingleParent: true, - fileId: "Test string", + fileId: \\"Test string\\", moveToNewOwnersRoot: true, sendNotificationEmail: true, supportsAllDrives: true, @@ -1155,64 +1158,64 @@ gapi.load('client', async () => { }, { allowFileDiscovery: true, deleted: true, - displayName: "Test string", - domain: "Test string", - emailAddress: "Test string", - expirationTime: "Test string", - id: "Test string", - kind: "Test string", + displayName: \\"Test string\\", + domain: \\"Test string\\", + emailAddress: \\"Test string\\", + expirationTime: \\"Test string\\", + id: \\"Test string\\", + kind: \\"Test string\\", pendingOwner: true, permissionDetails: [ { inherited: true, - inheritedFrom: "Test string", - permissionType: "Test string", - role: "Test string", + inheritedFrom: \\"Test string\\", + permissionType: \\"Test string\\", + role: \\"Test string\\", } ], - photoLink: "Test string", - role: "Test string", + photoLink: \\"Test string\\", + role: \\"Test string\\", teamDrivePermissionDetails: [ { inherited: true, - inheritedFrom: "Test string", - role: "Test string", - teamDrivePermissionType: "Test string", + inheritedFrom: \\"Test string\\", + role: \\"Test string\\", + teamDrivePermissionType: \\"Test string\\", } ], - type: "Test string", - view: "Test string", + type: \\"Test string\\", + view: \\"Test string\\", }); /** Deletes a permission. */ await gapi.client.drive.permissions.delete({ - fileId: "Test string", - permissionId: "Test string", + fileId: \\"Test string\\", + permissionId: \\"Test string\\", supportsAllDrives: true, supportsTeamDrives: true, useDomainAdminAccess: true, }); /** Gets a permission by ID. */ await gapi.client.drive.permissions.get({ - fileId: "Test string", - permissionId: "Test string", + fileId: \\"Test string\\", + permissionId: \\"Test string\\", supportsAllDrives: true, supportsTeamDrives: true, useDomainAdminAccess: true, }); /** Lists a file's or shared drive's permissions. */ await gapi.client.drive.permissions.list({ - fileId: "Test string", - includePermissionsForView: "Test string", + fileId: \\"Test string\\", + includePermissionsForView: \\"Test string\\", pageSize: 42, - pageToken: "Test string", + pageToken: \\"Test string\\", supportsAllDrives: true, supportsTeamDrives: true, useDomainAdminAccess: true, }); /** Updates a permission with patch semantics. */ await gapi.client.drive.permissions.update({ - fileId: "Test string", - permissionId: "Test string", + fileId: \\"Test string\\", + permissionId: \\"Test string\\", removeExpiration: true, supportsAllDrives: true, supportsTeamDrives: true, @@ -1221,160 +1224,160 @@ gapi.load('client', async () => { }, { allowFileDiscovery: true, deleted: true, - displayName: "Test string", - domain: "Test string", - emailAddress: "Test string", - expirationTime: "Test string", - id: "Test string", - kind: "Test string", + displayName: \\"Test string\\", + domain: \\"Test string\\", + emailAddress: \\"Test string\\", + expirationTime: \\"Test string\\", + id: \\"Test string\\", + kind: \\"Test string\\", pendingOwner: true, permissionDetails: [ { inherited: true, - inheritedFrom: "Test string", - permissionType: "Test string", - role: "Test string", + inheritedFrom: \\"Test string\\", + permissionType: \\"Test string\\", + role: \\"Test string\\", } ], - photoLink: "Test string", - role: "Test string", + photoLink: \\"Test string\\", + role: \\"Test string\\", teamDrivePermissionDetails: [ { inherited: true, - inheritedFrom: "Test string", - role: "Test string", - teamDrivePermissionType: "Test string", + inheritedFrom: \\"Test string\\", + role: \\"Test string\\", + teamDrivePermissionType: \\"Test string\\", } ], - type: "Test string", - view: "Test string", + type: \\"Test string\\", + view: \\"Test string\\", }); /** Creates a new reply to a comment. */ await gapi.client.drive.replies.create({ - commentId: "Test string", - fileId: "Test string", + commentId: \\"Test string\\", + fileId: \\"Test string\\", }, { - action: "Test string", + action: \\"Test string\\", author: { - displayName: "Test string", - emailAddress: "Test string", - kind: "Test string", + displayName: \\"Test string\\", + emailAddress: \\"Test string\\", + kind: \\"Test string\\", me: true, - permissionId: "Test string", - photoLink: "Test string", + permissionId: \\"Test string\\", + photoLink: \\"Test string\\", }, - content: "Test string", - createdTime: "Test string", + content: \\"Test string\\", + createdTime: \\"Test string\\", deleted: true, - htmlContent: "Test string", - id: "Test string", - kind: "Test string", - modifiedTime: "Test string", + htmlContent: \\"Test string\\", + id: \\"Test string\\", + kind: \\"Test string\\", + modifiedTime: \\"Test string\\", }); /** Deletes a reply. */ await gapi.client.drive.replies.delete({ - commentId: "Test string", - fileId: "Test string", - replyId: "Test string", + commentId: \\"Test string\\", + fileId: \\"Test string\\", + replyId: \\"Test string\\", }); /** Gets a reply by ID. */ await gapi.client.drive.replies.get({ - commentId: "Test string", - fileId: "Test string", + commentId: \\"Test string\\", + fileId: \\"Test string\\", includeDeleted: true, - replyId: "Test string", + replyId: \\"Test string\\", }); /** Lists a comment's replies. */ await gapi.client.drive.replies.list({ - commentId: "Test string", - fileId: "Test string", + commentId: \\"Test string\\", + fileId: \\"Test string\\", includeDeleted: true, pageSize: 42, - pageToken: "Test string", + pageToken: \\"Test string\\", }); /** Updates a reply with patch semantics. */ await gapi.client.drive.replies.update({ - commentId: "Test string", - fileId: "Test string", - replyId: "Test string", + commentId: \\"Test string\\", + fileId: \\"Test string\\", + replyId: \\"Test string\\", }, { - action: "Test string", + action: \\"Test string\\", author: { - displayName: "Test string", - emailAddress: "Test string", - kind: "Test string", + displayName: \\"Test string\\", + emailAddress: \\"Test string\\", + kind: \\"Test string\\", me: true, - permissionId: "Test string", - photoLink: "Test string", + permissionId: \\"Test string\\", + photoLink: \\"Test string\\", }, - content: "Test string", - createdTime: "Test string", + content: \\"Test string\\", + createdTime: \\"Test string\\", deleted: true, - htmlContent: "Test string", - id: "Test string", - kind: "Test string", - modifiedTime: "Test string", + htmlContent: \\"Test string\\", + id: \\"Test string\\", + kind: \\"Test string\\", + modifiedTime: \\"Test string\\", }); /** * Permanently deletes a file version. You can only delete revisions for files with binary content in Google Drive, like images or videos. Revisions for other files, like Google Docs or * Sheets, and the last remaining file version can't be deleted. */ await gapi.client.drive.revisions.delete({ - fileId: "Test string", - revisionId: "Test string", + fileId: \\"Test string\\", + revisionId: \\"Test string\\", }); /** Gets a revision's metadata or content by ID. */ await gapi.client.drive.revisions.get({ acknowledgeAbuse: true, - fileId: "Test string", - revisionId: "Test string", + fileId: \\"Test string\\", + revisionId: \\"Test string\\", }); /** Lists a file's revisions. */ await gapi.client.drive.revisions.list({ - fileId: "Test string", + fileId: \\"Test string\\", pageSize: 42, - pageToken: "Test string", + pageToken: \\"Test string\\", }); /** Updates a revision with patch semantics. */ await gapi.client.drive.revisions.update({ - fileId: "Test string", - revisionId: "Test string", + fileId: \\"Test string\\", + revisionId: \\"Test string\\", }, { exportLinks: { - A: "Test string" + A: \\"Test string\\" }, - id: "Test string", + id: \\"Test string\\", keepForever: true, - kind: "Test string", + kind: \\"Test string\\", lastModifyingUser: { - displayName: "Test string", - emailAddress: "Test string", - kind: "Test string", + displayName: \\"Test string\\", + emailAddress: \\"Test string\\", + kind: \\"Test string\\", me: true, - permissionId: "Test string", - photoLink: "Test string", + permissionId: \\"Test string\\", + photoLink: \\"Test string\\", }, - md5Checksum: "Test string", - mimeType: "Test string", - modifiedTime: "Test string", - originalFilename: "Test string", + md5Checksum: \\"Test string\\", + mimeType: \\"Test string\\", + modifiedTime: \\"Test string\\", + originalFilename: \\"Test string\\", publishAuto: true, published: true, - publishedLink: "Test string", + publishedLink: \\"Test string\\", publishedOutsideDomain: true, - size: "Test string", + size: \\"Test string\\", }); /** Deprecated use drives.create instead. */ await gapi.client.drive.teamdrives.create({ - requestId: "Test string", + requestId: \\"Test string\\", }, { backgroundImageFile: { - id: "Test string", + id: \\"Test string\\", width: 42, xCoordinate: 42, yCoordinate: 42, }, - backgroundImageLink: "Test string", + backgroundImageLink: \\"Test string\\", capabilities: { canAddChildren: true, canChangeCopyRequiresWriterPermissionRestriction: true, @@ -1397,48 +1400,48 @@ gapi.load('client', async () => { canShare: true, canTrashChildren: true, }, - colorRgb: "Test string", - createdTime: "Test string", - id: "Test string", - kind: "Test string", - name: "Test string", - orgUnitId: "Test string", + colorRgb: \\"Test string\\", + createdTime: \\"Test string\\", + id: \\"Test string\\", + kind: \\"Test string\\", + name: \\"Test string\\", + orgUnitId: \\"Test string\\", restrictions: { adminManagedRestrictions: true, copyRequiresWriterPermission: true, domainUsersOnly: true, teamMembersOnly: true, }, - themeId: "Test string", + themeId: \\"Test string\\", }); /** Deprecated use drives.delete instead. */ await gapi.client.drive.teamdrives.delete({ - teamDriveId: "Test string", + teamDriveId: \\"Test string\\", }); /** Deprecated use drives.get instead. */ await gapi.client.drive.teamdrives.get({ - teamDriveId: "Test string", + teamDriveId: \\"Test string\\", useDomainAdminAccess: true, }); /** Deprecated use drives.list instead. */ await gapi.client.drive.teamdrives.list({ pageSize: 42, - pageToken: "Test string", - q: "Test string", + pageToken: \\"Test string\\", + q: \\"Test string\\", useDomainAdminAccess: true, }); /** Deprecated use drives.update instead */ await gapi.client.drive.teamdrives.update({ - teamDriveId: "Test string", + teamDriveId: \\"Test string\\", useDomainAdminAccess: true, }, { backgroundImageFile: { - id: "Test string", + id: \\"Test string\\", width: 42, xCoordinate: 42, yCoordinate: 42, }, - backgroundImageLink: "Test string", + backgroundImageLink: \\"Test string\\", capabilities: { canAddChildren: true, canChangeCopyRequiresWriterPermissionRestriction: true, @@ -1461,19 +1464,21 @@ gapi.load('client', async () => { canShare: true, canTrashChildren: true, }, - colorRgb: "Test string", - createdTime: "Test string", - id: "Test string", - kind: "Test string", - name: "Test string", - orgUnitId: "Test string", + colorRgb: \\"Test string\\", + createdTime: \\"Test string\\", + id: \\"Test string\\", + kind: \\"Test string\\", + name: \\"Test string\\", + orgUnitId: \\"Test string\\", restrictions: { adminManagedRestrictions: true, copyRequiresWriterPermission: true, domainUsersOnly: true, teamMembersOnly: true, }, - themeId: "Test string", + themeId: \\"Test string\\", }); } }); +" +`; diff --git a/test/restDocs/snapshots/gapi.client.drive-v3/tsconfig.json b/test/restDocs/snapshots/gapi.client.drive-v3/tsconfig.json deleted file mode 100644 index d5540261de..0000000000 --- a/test/restDocs/snapshots/gapi.client.drive-v3/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "module": "commonjs", - "lib": ["es6", "dom"], - "noImplicitAny": true, - "noImplicitThis": true, - "strictNullChecks": true, - "baseUrl": "../", - "typeRoots": [ - "../" - ], - "types": [], - "noEmit": true, - "forceConsistentCasingInFileNames": true, - "strictFunctionTypes": true - }, - "files": ["index.d.ts", "tests.ts"] -} diff --git a/test/restDocs/snapshots/gapi.client.drive-v3/tsconfig.json.shot b/test/restDocs/snapshots/gapi.client.drive-v3/tsconfig.json.shot new file mode 100644 index 0000000000..ce5fe3dcf4 --- /dev/null +++ b/test/restDocs/snapshots/gapi.client.drive-v3/tsconfig.json.shot @@ -0,0 +1,23 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`drive works: drive works 1`] = ` +"{ + \\"compilerOptions\\": { + \\"module\\": \\"commonjs\\", + \\"lib\\": [\\"es6\\", \\"dom\\"], + \\"noImplicitAny\\": true, + \\"noImplicitThis\\": true, + \\"strictNullChecks\\": true, + \\"baseUrl\\": \\"../\\", + \\"typeRoots\\": [ + \\"../\\" + ], + \\"types\\": [], + \\"noEmit\\": true, + \\"forceConsistentCasingInFileNames\\": true, + \\"strictFunctionTypes\\": true + }, + \\"files\\": [\\"index.d.ts\\", \\"tests.ts\\"] +} +" +`; diff --git a/test/restDocs/snapshots/gapi.client.drive-v3/tslint.json b/test/restDocs/snapshots/gapi.client.drive-v3/tslint.json deleted file mode 100644 index 1598764131..0000000000 --- a/test/restDocs/snapshots/gapi.client.drive-v3/tslint.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "dtslint/dtslint.json", - "rules": { - "no-redundant-jsdoc": false - } -} diff --git a/test/restDocs/snapshots/gapi.client.drive-v3/tslint.json.shot b/test/restDocs/snapshots/gapi.client.drive-v3/tslint.json.shot new file mode 100644 index 0000000000..e6fcb2f505 --- /dev/null +++ b/test/restDocs/snapshots/gapi.client.drive-v3/tslint.json.shot @@ -0,0 +1,11 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`drive works: drive works 1`] = ` +"{ + \\"extends\\": \\"dtslint/dtslint.json\\", + \\"rules\\": { + \\"no-redundant-jsdoc\\": false + } +} +" +`; diff --git a/test/restDocs/snapshots/gapi.client.sheets-v4/.npmrc b/test/restDocs/snapshots/gapi.client.sheets-v4/.npmrc deleted file mode 100644 index 0063b50cfd..0000000000 --- a/test/restDocs/snapshots/gapi.client.sheets-v4/.npmrc +++ /dev/null @@ -1 +0,0 @@ -//registry.npmjs.org/:_authToken=${NPM_PUBLISH_AUTOMATION_TOKEN} diff --git a/test/restDocs/snapshots/gapi.client.sheets-v4/.npmrc.shot b/test/restDocs/snapshots/gapi.client.sheets-v4/.npmrc.shot new file mode 100644 index 0000000000..ddfc2cbbac --- /dev/null +++ b/test/restDocs/snapshots/gapi.client.sheets-v4/.npmrc.shot @@ -0,0 +1,6 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`sheets works: sheets works 1`] = ` +"//registry.npmjs.org/:_authToken=\${NPM_PUBLISH_AUTOMATION_TOKEN} +" +`; diff --git a/test/restDocs/snapshots/gapi.client.sheets-v4/index.d.ts b/test/restDocs/snapshots/gapi.client.sheets-v4/index.d.ts.shot similarity index 91% rename from test/restDocs/snapshots/gapi.client.sheets-v4/index.d.ts rename to test/restDocs/snapshots/gapi.client.sheets-v4/index.d.ts.shot index a5767b85aa..ed67c51d85 100644 --- a/test/restDocs/snapshots/gapi.client.sheets-v4/index.d.ts +++ b/test/restDocs/snapshots/gapi.client.sheets-v4/index.d.ts.shot @@ -1,4 +1,7 @@ -/* Type definitions for non-npm package Google Sheets API v4 0.0 */ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`sheets works: sheets works 1`] = ` +"/* Type definitions for non-npm package Google Sheets API v4 0.0 */ // Project: https://developers.google.com/sheets/ // Definitions by: Maxim Mazurok // Nick Amoscato @@ -11,15 +14,15 @@ // Generated from: http://localhost:3000/sheets.json // Revision: 20220620 -/// +/// declare namespace gapi.client { /** Load Google Sheets API v4 */ - function load(urlOrObject: "http://localhost:3000/sheets.json"): Promise; + function load(urlOrObject: \\"http://localhost:3000/sheets.json\\"): Promise; /** @deprecated Please load APIs with discovery documents. */ - function load(name: "sheets", version: "v4"): Promise; + function load(name: \\"sheets\\", version: \\"v4\\"): Promise; /** @deprecated Please load APIs with discovery documents. */ - function load(name: "sheets", version: "v4", callback: () => any): void; + function load(name: \\"sheets\\", version: \\"v4\\", callback: () => any): void; namespace sheets { interface AddBandingRequest { @@ -116,7 +119,7 @@ declare namespace gapi.client { } interface AppendCellsRequest { /** - * The fields of CellData that should be updated. At least one field must be specified. The root is the CellData; 'row.values.' should not be specified. A single `"*"` can be used as + * The fields of CellData that should be updated. At least one field must be specified. The root is the CellData; 'row.values.' should not be specified. A single \`\\"*\\"\` can be used as * short-hand for listing every field. */ fields?: string; @@ -146,7 +149,7 @@ declare namespace gapi.client { range?: GridRange; /** The source and destination areas to autofill. This explicitly lists the source of the autofill and where to extend that data. */ sourceAndDestination?: SourceAndDestination; - /** True if we should generate data with the "alternate" series. This differs based on the type and amount of source data. */ + /** True if we should generate data with the \\"alternate\\" series. This differs based on the type and amount of source data. */ useAlternateSeries?: boolean; } interface AutoResizeDimensionsRequest { @@ -258,7 +261,7 @@ declare namespace gapi.client { /** Style override settings for series data points. */ styleOverrides?: BasicSeriesDataPointStyleOverride[]; /** - * The minor axis that will specify the range of values for this series. For example, if charting stocks over time, the "Volume" series may want to be pinned to the right with the + * The minor axis that will specify the range of values for this series. For example, if charting stocks over time, the \\"Volume\\" series may want to be pinned to the right with the * prices pinned to the left, because the scale of trading volume is different than the scale of prices. It is an error to specify an axis that isn't a valid minor axis for the chart's * type. */ @@ -276,7 +279,7 @@ declare namespace gapi.client { /** The domain of data this is charting. Only a single domain is supported. */ domains?: BasicChartDomain[]; /** - * The number of rows or columns in the data that are "headers". If not set, Google Sheets will guess how many rows are headers based on the data. (Note that BasicChartAxis.title may + * The number of rows or columns in the data that are \\"headers\\". If not set, Google Sheets will guess how many rows are headers based on the data. (Note that BasicChartAxis.title may * override the axis title inferred from the header values.) */ headerCount?: number; @@ -362,8 +365,8 @@ declare namespace gapi.client { /** How dates, times, and durations should be represented in the output. This is ignored if value_render_option is FORMATTED_VALUE. The default dateTime render option is SERIAL_NUMBER. */ dateTimeRenderOption?: string; /** - * The major dimension that results should use. For example, if the spreadsheet data is: `A1=1,B1=2,A2=3,B2=4`, then a request that selects that range and sets `majorDimension=ROWS` - * returns `[[1,2],[3,4]]`, whereas a request that sets `majorDimension=COLUMNS` returns `[[1,3],[2,4]]`. + * The major dimension that results should use. For example, if the spreadsheet data is: \`A1=1,B1=2,A2=3,B2=4\`, then a request that selects that range and sets \`majorDimension=ROWS\` + * returns \`[[1,2],[3,4]]\`, whereas a request that sets \`majorDimension=COLUMNS\` returns \`[[1,3],[2,4]]\`. */ majorDimension?: string; /** How values should be represented in the output. The default render option is FORMATTED_VALUE. */ @@ -396,14 +399,14 @@ declare namespace gapi.client { replies?: Response[]; /** The spreadsheet the updates were applied to. */ spreadsheetId?: string; - /** The spreadsheet after updates were applied. This is only set if BatchUpdateSpreadsheetRequest.include_spreadsheet_in_response is `true`. */ + /** The spreadsheet after updates were applied. This is only set if BatchUpdateSpreadsheetRequest.include_spreadsheet_in_response is \`true\`. */ updatedSpreadsheet?: Spreadsheet; } interface BatchUpdateValuesByDataFilterRequest { /** The new values to apply to the spreadsheet. If more than one range is matched by the specified DataFilter the specified values are applied to all of those ranges. */ data?: DataFilterValueRange[]; /** - * Determines if the update response should include the values of the cells that were updated. By default, responses do not include the updated values. The `updatedData` field within + * Determines if the update response should include the values of the cells that were updated. By default, responses do not include the updated values. The \`updatedData\` field within * each of the BatchUpdateValuesResponse.responses contains the updated values. If the range to write was larger than the range actually written, the response includes all values in * the requested range (excluding trailing empty rows and columns). */ @@ -436,7 +439,7 @@ declare namespace gapi.client { /** The new values to apply to the spreadsheet. */ data?: ValueRange[]; /** - * Determines if the update response should include the values of the cells that were updated. By default, responses do not include the updated values. The `updatedData` field within + * Determines if the update response should include the values of the cells that were updated. By default, responses do not include the updated values. The \`updatedData\` field within * each of the BatchUpdateValuesResponse.responses contains the updated values. If the range to write was larger than the range actually written, the response includes all values in * the requested range (excluding trailing empty rows and columns). */ @@ -507,7 +510,7 @@ declare namespace gapi.client { colorStyle?: ColorStyle; /** The style of the border. */ style?: string; - /** The width of the border, in pixels. Deprecated; the width is determined by the "style" field. */ + /** The width of the border, in pixels. Deprecated; the width is determined by the \\"style\\" field. */ width?: number; } interface Borders { @@ -587,7 +590,7 @@ declare namespace gapi.client { interface CellData { /** * Output only. Information about a data source formula on the cell. The field is set if user_entered_value is a formula referencing some DATA_SOURCE sheet, e.g. - * `=SUM(DataSheet!Column)`. + * \`=SUM(DataSheet!Column)\`. */ dataSourceFormula?: DataSourceFormula; /** @@ -607,7 +610,7 @@ declare namespace gapi.client { /** The formatted value of the cell. This is the value as it's shown to the user. This field is read-only. */ formattedValue?: string; /** - * A hyperlink this cell points to, if any. If the cell contains multiple hyperlinks, this field will be empty. This field is read-only. To set it, use a `=HYPERLINK` formula in the + * A hyperlink this cell points to, if any. If the cell contains multiple hyperlinks, this field will be empty. This field is read-only. To set it, use a \`=HYPERLINK\` formula in the * userEnteredValue.formulaValue field. A cell-level link can also be set from the userEnteredFormat.textFormat field. Alternatively, set a hyperlink in the textFormatRun.format.link * field that spans the entire cell. */ @@ -627,7 +630,7 @@ declare namespace gapi.client { textFormatRuns?: TextFormatRun[]; /** The format the user entered for the cell. When writing, the new format will be merged with the existing format. */ userEnteredFormat?: CellFormat; - /** The value the user entered in the cell. e.g, `1234`, `'Hello'`, or `=NOW()` Note: Dates, Times and DateTimes are represented as doubles in serial number format. */ + /** The value the user entered in the cell. e.g, \`1234\`, \`'Hello'\`, or \`=NOW()\` Note: Dates, Times and DateTimes are represented as doubles in serial number format. */ userEnteredValue?: ExtendedValue; } interface CellFormat { @@ -781,8 +784,8 @@ declare namespace gapi.client { } interface Color { /** - * The fraction of this color that should be applied to the pixel. That is, the final pixel color is defined by the equation: `pixel color = alpha * (this color) + (1.0 - alpha) * - * (background color)` This means that a value of 1.0 corresponds to a solid color, whereas a value of 0.0 corresponds to a completely transparent color. This uses a wrapper message + * The fraction of this color that should be applied to the pixel. That is, the final pixel color is defined by the equation: \`pixel color = alpha * (this color) + (1.0 - alpha) * + * (background color)\` This means that a value of 1.0 corresponds to a solid color, whereas a value of 0.0 corresponds to a completely transparent color. This uses a wrapper message * rather than a simple float scalar so that it is possible to distinguish between a default value and the value being unset. If omitted, this color object is rendered as a solid color * (as if the alpha value had been explicitly given a value of 1.0). */ @@ -796,7 +799,7 @@ declare namespace gapi.client { } interface ColorStyle { /** - * RGB color. The [`alpha`](/sheets/api/reference/rest/v4/spreadsheets/other#Color.FIELDS.alpha) value in the [`Color`](/sheets/api/reference/rest/v4/spreadsheets/other#color) object + * RGB color. The [\`alpha\`](/sheets/api/reference/rest/v4/spreadsheets/other#Color.FIELDS.alpha) value in the [\`Color\`](/sheets/api/reference/rest/v4/spreadsheets/other#color) object * isn't generally supported. */ rgbColor?: Color; @@ -804,7 +807,7 @@ declare namespace gapi.client { themeColor?: string; } interface ConditionalFormatRule { - /** The formatting is either "on" or "off" according to the rule. */ + /** The formatting is either \\"on\\" or \\"off\\" according to the rule. */ booleanRule?: BooleanRule; /** The formatting will vary based on the gradients in the rule. */ gradientRule?: GradientRule; @@ -817,7 +820,7 @@ declare namespace gapi.client { * validation. They are supported only in conditional formatting and conditional filters. */ relativeDate?: string; - /** A value the condition is based on. The value is parsed as if the user typed into a cell. Formulas are supported (and must begin with an `=` or a '+'). */ + /** A value the condition is based on. The value is parsed as if the user typed into a cell. Formulas are supported (and must begin with an \`=\` or a '+'). */ userEnteredValue?: string; } interface CopyPasteRequest { @@ -959,13 +962,13 @@ declare namespace gapi.client { range?: GridRange; } interface DataSourceRefreshDailySchedule { - /** The start time of a time interval in which a data source refresh is scheduled. Only `hours` part is used. The time interval size defaults to that in the Sheets editor. */ + /** The start time of a time interval in which a data source refresh is scheduled. Only \`hours\` part is used. The time interval size defaults to that in the Sheets editor. */ startTime?: TimeOfDay; } interface DataSourceRefreshMonthlySchedule { /** Days of the month to refresh. Only 1-28 are supported, mapping to the 1st to the 28th day. At lesat one day must be specified. */ daysOfMonth?: number[]; - /** The start time of a time interval in which a data source refresh is scheduled. Only `hours` part is used. The time interval size defaults to that in the Sheets editor. */ + /** The start time of a time interval in which a data source refresh is scheduled. Only \`hours\` part is used. The time interval size defaults to that in the Sheets editor. */ startTime?: TimeOfDay; } interface DataSourceRefreshSchedule { @@ -985,7 +988,7 @@ declare namespace gapi.client { interface DataSourceRefreshWeeklySchedule { /** Days of the week to refresh. At least one day must be specified. */ daysOfWeek?: string[]; - /** The start time of a time interval in which a data source refresh is scheduled. Only `hours` part is used. The time interval size defaults to that in the Sheets editor. */ + /** The start time of a time interval in which a data source refresh is scheduled. Only \`hours\` part is used. The time interval size defaults to that in the Sheets editor. */ startTime?: TimeOfDay; } interface DataSourceSheetDimensionRange { @@ -1029,7 +1032,7 @@ declare namespace gapi.client { condition?: BooleanCondition; /** A message to show the user when adding data to the cell. */ inputMessage?: string; - /** True if the UI should be customized based on the kind of condition. If true, "List" conditions will show a dropdown. */ + /** True if the UI should be customized based on the kind of condition. If true, \\"List\\" conditions will show a dropdown. */ showCustomUi?: boolean; /** True if invalid data should be rejected. */ strict?: boolean; @@ -1280,7 +1283,7 @@ declare namespace gapi.client { formulaValue?: string; /** Represents a double value. Note: Dates, Times and DateTimes are represented as doubles in SERIAL_NUMBER format. */ numberValue?: number; - /** Represents a string value. Leading single quotes are not included. For example, if the user typed `'123` into the UI, this would be represented as a `stringValue` of `"123"`. */ + /** Represents a string value. Leading single quotes are not included. For example, if the user typed \`'123\` into the UI, this would be represented as a \`stringValue\` of \`\\"123\\"\`. */ stringValue?: string; } interface FilterCriteria { @@ -1350,8 +1353,8 @@ declare namespace gapi.client { replacement?: string; /** * True if the find value is a regex. The regular expression and replacement should follow Java regex rules at https://docs.oracle.com/javase/8/docs/api/java/util/regex/Pattern.html. - * The replacement string is allowed to refer to capturing groups. For example, if one cell has the contents `"Google Sheets"` and another has `"Google Docs"`, then searching for `"o.* - * (.*)"` with a replacement of `"$1 Rocks"` would change the contents of the cells to `"GSheets Rocks"` and `"GDocs Rocks"` respectively. + * The replacement string is allowed to refer to capturing groups. For example, if one cell has the contents \`\\"Google Sheets\\"\` and another has \`\\"Google Docs\\"\`, then searching for \`\\"o.* + * (.*)\\"\` with a replacement of \`\\"$1 Rocks\\"\` would change the contents of the cells to \`\\"GSheets Rocks\\"\` and \`\\"GDocs Rocks\\"\` respectively. */ searchByRegex?: boolean; /** The sheet to find/replace over. */ @@ -1361,8 +1364,8 @@ declare namespace gapi.client { /** The number of formula cells changed. */ formulasChanged?: number; /** - * The number of occurrences (possibly multiple within a cell) changed. For example, if replacing `"e"` with `"o"` in `"Google Sheets"`, this would be `"3"` because `"Google Sheets"` - * -> `"Googlo Shoots"`. + * The number of occurrences (possibly multiple within a cell) changed. For example, if replacing \`\\"e\\"\` with \`\\"o\\"\` in \`\\"Google Sheets\\"\`, this would be \`\\"3\\"\` because \`\\"Google Sheets\\"\` + * -> \`\\"Googlo Shoots\\"\`. */ occurrencesChanged?: number; /** The number of rows changed. */ @@ -1476,8 +1479,8 @@ declare namespace gapi.client { /** * Whether dimension properties should be extended from the dimensions before or after the newly inserted dimensions. True to inherit from the dimensions before (in which case the * start index must be greater than 0), and false to inherit from the dimensions after. For example, if row index 0 has red background and row index 1 has a green background, then - * inserting 2 rows at index 1 can inherit either the green or red background. If `inheritFromBefore` is true, the two new rows will be red (because the row before the insertion point - * was red), whereas if `inheritFromBefore` is false, the two new rows will be green (because the row after the insertion point was green). + * inserting 2 rows at index 1 can inherit either the green or red background. If \`inheritFromBefore\` is true, the two new rows will be red (because the row before the insertion point + * was red), whereas if \`inheritFromBefore\` is false, the two new rows will be green (because the row after the insertion point was green). */ inheritFromBefore?: boolean; /** The dimensions to insert. Both the start and end indexes must be bounded. */ @@ -1562,8 +1565,8 @@ declare namespace gapi.client { /** * The zero-based start index of where to move the source data to, based on the coordinates *before* the source data is removed from the grid. Existing data will be shifted down or * right (depending on the dimension) to make room for the moved dimensions. The source dimensions are removed from the grid, so the the data may end up in a different index than - * specified. For example, given `A1..A5` of `0, 1, 2, 3, 4` and wanting to move `"1"` and `"2"` to between `"3"` and `"4"`, the source would be `ROWS [1..3)`,and the destination index - * would be `"4"` (the zero-based index of row 5). The end result would be `A1..A5` of `0, 3, 1, 2, 4`. + * specified. For example, given \`A1..A5\` of \`0, 1, 2, 3, 4\` and wanting to move \`\\"1\\"\` and \`\\"2\\"\` to between \`\\"3\\"\` and \`\\"4\\"\`, the source would be \`ROWS [1..3)\`,and the destination index + * would be \`\\"4\\"\` (the zero-based index of row 5). The end result would be \`A1..A5\` of \`0, 3, 1, 2, 4\`. */ destinationIndex?: number; /** The source dimensions to move. */ @@ -1652,11 +1655,11 @@ declare namespace gapi.client { } interface PivotFilterCriteria { /** - * A condition that must be true for values to be shown. (`visibleValues` does not override this -- even if a value is listed there, it is still hidden if it does not meet the + * A condition that must be true for values to be shown. (\`visibleValues\` does not override this -- even if a value is listed there, it is still hidden if it does not meet the * condition.) Condition values that refer to ranges in A1-notation are evaluated relative to the pivot table sheet. References are treated absolutely, so are not filled down the pivot - * table. For example, a condition value of `=A1` on "Pivot Table 1" is treated as `'Pivot Table 1'!$A$1`. The source data of the pivot table can be referenced by column header name. - * For example, if the source data has columns named "Revenue" and "Cost" and a condition is applied to the "Revenue" column with type `NUMBER_GREATER` and value `=Cost`, then only - * columns where "Revenue" > "Cost" are included. + * table. For example, a condition value of \`=A1\` on \\"Pivot Table 1\\" is treated as \`'Pivot Table 1'!$A$1\`. The source data of the pivot table can be referenced by column header name. + * For example, if the source data has columns named \\"Revenue\\" and \\"Cost\\" and a condition is applied to the \\"Revenue\\" column with type \`NUMBER_GREATER\` and value \`=Cost\`, then only + * columns where \\"Revenue\\" > \\"Cost\\" are included. */ condition?: BooleanCondition; /** @@ -1683,8 +1686,8 @@ declare namespace gapi.client { /** The group rule to apply to this row/column group. */ groupRule?: PivotGroupRule; /** - * The labels to use for the row/column groups which can be customized. For example, in the following pivot table, the row label is `Region` (which could be renamed to `State`) and the - * column label is `Product` (which could be renamed `Item`). Pivot tables created before December 2017 do not have header labels. If you'd like to add header labels to an existing + * The labels to use for the row/column groups which can be customized. For example, in the following pivot table, the row label is \`Region\` (which could be renamed to \`State\`) and the + * column label is \`Product\` (which could be renamed \`Item\`). Pivot tables created before December 2017 do not have header labels. If you'd like to add header labels to an existing * pivot table, please delete the existing pivot table and then create a new pivot table with same parameters. +--------------+---------+-------+ | SUM of Units | Product | | | Region * | Pen | Paper | +--------------+---------+-------+ | New York | 345 | 98 | | Oregon | 234 | 123 | | Tennessee | 531 | 415 | +--------------+---------+-------+ | Grand Total | 1110 | * 636 | +--------------+---------+-------+ @@ -1692,8 +1695,8 @@ declare namespace gapi.client { label?: string; /** * True if the headings in this pivot group should be repeated. This is only valid for row groupings and is ignored by columns. By default, we minimize repetition of headings by not - * showing higher level headings where they are the same. For example, even though the third row below corresponds to "Q1 Mar", "Q1" is not shown because it is redundant with previous - * rows. Setting repeat_headings to true would cause "Q1" to be repeated for "Feb" and "Mar". +--------------+ | Q1 | Jan | | | Feb | | | Mar | +--------+-----+ | Q1 Total | + * showing higher level headings where they are the same. For example, even though the third row below corresponds to \\"Q1 Mar\\", \\"Q1\\" is not shown because it is redundant with previous + * rows. Setting repeat_headings to true would cause \\"Q1\\" to be repeated for \\"Feb\\" and \\"Mar\\". +--------------+ | Q1 | Jan | | | Feb | | | Mar | +--------+-----+ | Q1 Total | * +--------------+ */ repeatHeadings?: boolean; @@ -1702,8 +1705,8 @@ declare namespace gapi.client { /** The order the values in this group should be sorted. */ sortOrder?: string; /** - * The column offset of the source range that this grouping is based on. For example, if the source was `C10:E15`, a `sourceColumnOffset` of `0` means this group refers to column `C`, - * whereas the offset `1` would refer to column `D`. + * The column offset of the source range that this grouping is based on. For example, if the source was \`C10:E15\`, a \`sourceColumnOffset\` of \`0\` means this group refers to column \`C\`, + * whereas the offset \`1\` would refer to column \`D\`. */ sourceColumnOffset?: number; /** The bucket of the opposite pivot group to sort by. If not specified, sorting is alphabetical by this group's values. */ @@ -1733,7 +1736,7 @@ declare namespace gapi.client { /** * Determines the bucket from which values are chosen to sort. For example, in a pivot table with one row group & two column groups, the row group can list up to two values. The first * value corresponds to a value within the first column group, and the second value corresponds to a value in the second column group. If no values are listed, this would indicate that - * the row should be sorted according to the "Grand Total" over the column groups. If a single value is listed, this would correspond to using the "Total" of that bucket. + * the row should be sorted according to the \\"Grand Total\\" over the column groups. If a single value is listed, this would correspond to using the \\"Total\\" of that bucket. */ buckets?: ExtendedValue[]; /** The offset in the PivotTable.values list which the values in this grouping should be sorted by. */ @@ -1750,8 +1753,8 @@ declare namespace gapi.client { columns?: PivotGroup[]; /** * An optional mapping of filters per source column offset. The filters are applied before aggregating data into the pivot table. The map's key is the column offset of the source range - * that you want to filter, and the value is the criteria for that column. For example, if the source was `C10:E15`, a key of `0` will have the filter for column `C`, whereas the key - * `1` is for column `D`. This field is deprecated in favor of filter_specs. + * that you want to filter, and the value is the criteria for that column. For example, if the source was \`C10:E15\`, a key of \`0\` will have the filter for column \`C\`, whereas the key + * \`1\` is for column \`D\`. This field is deprecated in favor of filter_specs. */ criteria?: { [P in string]: PivotFilterCriteria }; /** Output only. The data execution status for data source pivot tables. */ @@ -1775,22 +1778,22 @@ declare namespace gapi.client { interface PivotValue { /** * If specified, indicates that pivot values should be displayed as the result of a calculation with another pivot value. For example, if calculated_display_type is specified as - * PERCENT_OF_GRAND_TOTAL, all the pivot values are displayed as the percentage of the grand total. In the Sheets editor, this is referred to as "Show As" in the value section of a + * PERCENT_OF_GRAND_TOTAL, all the pivot values are displayed as the percentage of the grand total. In the Sheets editor, this is referred to as \\"Show As\\" in the value section of a * pivot table. */ calculatedDisplayType?: string; /** The reference to the data source column that this value reads from. */ dataSourceColumnReference?: DataSourceColumnReference; - /** A custom formula to calculate the value. The formula must start with an `=` character. */ + /** A custom formula to calculate the value. The formula must start with an \`=\` character. */ formula?: string; /** A name to use for the value. */ name?: string; /** - * The column offset of the source range that this value reads from. For example, if the source was `C10:E15`, a `sourceColumnOffset` of `0` means this value refers to column `C`, - * whereas the offset `1` would refer to column `D`. + * The column offset of the source range that this value reads from. For example, if the source was \`C10:E15\`, a \`sourceColumnOffset\` of \`0\` means this value refers to column \`C\`, + * whereas the offset \`1\` would refer to column \`D\`. */ sourceColumnOffset?: number; - /** A function to summarize the value. If formula is set, the only supported values are SUM and CUSTOM. If sourceColumnOffset is set, then `CUSTOM` is not supported. */ + /** A function to summarize the value. If formula is set, the only supported values are SUM and CUSTOM. If sourceColumnOffset is set, then \`CUSTOM\` is not supported. */ summarizeFunction?: string; } interface PointStyle { @@ -1823,7 +1826,7 @@ declare namespace gapi.client { /** * True if this protected range will show a warning when editing. Warning-based protection means that every user can edit data in the protected range, except editing will prompt a * warning asking the user to confirm the edit. When writing: if this field is true, then editors is ignored. Additionally, if this field is changed from true to false and the - * `editors` field is not set (nor included in the field mask), then the editors will be set to all the editors in the document. + * \`editors\` field is not set (nor included in the field mask), then the editors will be set to all the editors in the document. */ warningOnly?: boolean; } @@ -1855,7 +1858,7 @@ declare namespace gapi.client { /** The data to write. */ cell?: CellData; /** - * The fields that should be updated. At least one field must be specified. The root `cell` is implied and should not be specified. A single `"*"` can be used as short-hand for listing + * The fields that should be updated. At least one field must be specified. The root \`cell\` is implied and should not be specified. A single \`\\"*\\"\` can be used as short-hand for listing * every field. */ fields?: string; @@ -2101,8 +2104,8 @@ declare namespace gapi.client { conditionalFormats?: ConditionalFormatRule[]; /** * Data in the grid, if this is a grid sheet. The number of GridData objects returned is dependent on the number of ranges requested on this sheet. For example, if this is representing - * `Sheet1`, and the spreadsheet was requested with ranges `Sheet1!A1:C10` and `Sheet1!D15:E20`, then the first GridData will have a startRow/startColumn of `0`, while the second one - * will have `startRow 14` (zero-based row 15), and `startColumn 3` (zero-based column D). For a DATA_SOURCE sheet, you can not request a specific range, the GridData contains all the + * \`Sheet1\`, and the spreadsheet was requested with ranges \`Sheet1!A1:C10\` and \`Sheet1!D15:E20\`, then the first GridData will have a startRow/startColumn of \`0\`, while the second one + * will have \`startRow 14\` (zero-based row 15), and \`startColumn 3\` (zero-based column D). For a DATA_SOURCE sheet, you can not request a specific range, the GridData contains all the * values. */ data?: GridData[]; @@ -2134,7 +2137,7 @@ declare namespace gapi.client { hidden?: boolean; /** * The index of the sheet within the spreadsheet. When adding or updating sheet properties, if this field is excluded then the sheet is added or moved to the end of the sheet list. - * When updating sheet indices or inserting sheets, movement is considered in "before the move" indexes. For example, if there were 3 sheets (S1, S2, S3) in order to move S1 ahead of + * When updating sheet indices or inserting sheets, movement is considered in \\"before the move\\" indexes. For example, if there were 3 sheets (S1, S2, S3) in order to move S1 ahead of * S2 the index would have to be set to 2. A sheet index update request is ignored if the requested index is identical to the sheets current index or if the requested new index is * equal to the current sheet index + 1. */ @@ -2164,7 +2167,7 @@ declare namespace gapi.client { spec?: SlicerSpec; } interface SlicerSpec { - /** True if the filter should apply to pivot tables. If not set, default to `True`. */ + /** True if the filter should apply to pivot tables. If not set, default to \`True\`. */ applyToPivotTables?: boolean; /** The background color of the slicer. Deprecated: Use background_color_style. */ backgroundColor?: Color; @@ -2176,7 +2179,7 @@ declare namespace gapi.client { dataRange?: GridRange; /** The filtering criteria of the slicer. */ filterCriteria?: FilterCriteria; - /** The horizontal alignment of title in the slicer. If unspecified, defaults to `LEFT` */ + /** The horizontal alignment of title in the slicer. If unspecified, defaults to \`LEFT\` */ horizontalAlignment?: string; /** The text format of title in the slicer. The link field is not supported. */ textFormat?: TextFormat; @@ -2248,13 +2251,13 @@ declare namespace gapi.client { /** Determines whether and how circular references are resolved with iterative calculation. Absence of this field means that circular references result in calculation errors. */ iterativeCalculationSettings?: IterativeCalculationSettings; /** - * The locale of the spreadsheet in one of the following formats: * an ISO 639-1 language code such as `en` * an ISO 639-2 language code such as `fil`, if no 639-1 code exists * a - * combination of the ISO language code and country code, such as `en_US` Note: when updating this field, not all locales/languages are supported. + * The locale of the spreadsheet in one of the following formats: * an ISO 639-1 language code such as \`en\` * an ISO 639-2 language code such as \`fil\`, if no 639-1 code exists * a + * combination of the ISO language code and country code, such as \`en_US\` Note: when updating this field, not all locales/languages are supported. */ locale?: string; /** Theme applied to the spreadsheet. */ spreadsheetTheme?: SpreadsheetTheme; - /** The time zone of the spreadsheet, in CLDR format such as `America/New_York`. If the time zone isn't recognized, this may be a custom time zone such as `GMT-07:00`. */ + /** The time zone of the spreadsheet, in CLDR format such as \`America/New_York\`. If the time zone isn't recognized, this may be a custom time zone such as \`GMT-07:00\`. */ timeZone?: string; /** The title of the spreadsheet. */ title?: string; @@ -2323,7 +2326,7 @@ declare namespace gapi.client { colorType?: string; } interface TimeOfDay { - /** Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value "24:00:00" for scenarios like business closing time. */ + /** Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value \\"24:00:00\\" for scenarios like business closing time. */ hours?: number; /** Minutes of hour of day. Must be from 0 to 59. */ minutes?: number; @@ -2420,7 +2423,7 @@ declare namespace gapi.client { /** The banded range to update with the new properties. */ bandedRange?: BandedRange; /** - * The fields that should be updated. At least one field must be specified. The root `bandedRange` is implied and should not be specified. A single `"*"` can be used as short-hand for + * The fields that should be updated. At least one field must be specified. The root \`bandedRange\` is implied and should not be specified. A single \`\\"*\\"\` can be used as short-hand for * listing every field. */ fields?: string; @@ -2443,7 +2446,7 @@ declare namespace gapi.client { } interface UpdateCellsRequest { /** - * The fields of CellData that should be updated. At least one field must be specified. The root is the CellData; 'row.values.' should not be specified. A single `"*"` can be used as + * The fields of CellData that should be updated. At least one field must be specified. The root is the CellData; 'row.values.' should not be specified. A single \`\\"*\\"\` can be used as * short-hand for listing every field. */ fields?: string; @@ -2484,7 +2487,7 @@ declare namespace gapi.client { /** The data source to update. */ dataSource?: DataSource; /** - * The fields that should be updated. At least one field must be specified. The root `dataSource` is implied and should not be specified. A single `"*"` can be used as short-hand for + * The fields that should be updated. At least one field must be specified. The root \`dataSource\` is implied and should not be specified. A single \`\\"*\\"\` can be used as short-hand for * listing every field. */ fields?: string; @@ -2501,7 +2504,7 @@ declare namespace gapi.client { /** The value that all metadata matched by the data filters will be updated to. */ developerMetadata?: DeveloperMetadata; /** - * The fields that should be updated. At least one field must be specified. The root `developerMetadata` is implied and should not be specified. A single `"*"` can be used as + * The fields that should be updated. At least one field must be specified. The root \`developerMetadata\` is implied and should not be specified. A single \`\\"*\\"\` can be used as * short-hand for listing every field. */ fields?: string; @@ -2514,7 +2517,7 @@ declare namespace gapi.client { /** The group whose state should be updated. The range and depth of the group should specify a valid group on the sheet, and all other fields updated. */ dimensionGroup?: DimensionGroup; /** - * The fields that should be updated. At least one field must be specified. The root `dimensionGroup` is implied and should not be specified. A single `"*"` can be used as short-hand + * The fields that should be updated. At least one field must be specified. The root \`dimensionGroup\` is implied and should not be specified. A single \`\\"*\\"\` can be used as short-hand * for listing every field. */ fields?: string; @@ -2523,7 +2526,7 @@ declare namespace gapi.client { /** The columns on a data source sheet to update. */ dataSourceSheetRange?: DataSourceSheetDimensionRange; /** - * The fields that should be updated. At least one field must be specified. The root `properties` is implied and should not be specified. A single `"*"` can be used as short-hand for + * The fields that should be updated. At least one field must be specified. The root \`properties\` is implied and should not be specified. A single \`\\"*\\"\` can be used as short-hand for * listing every field. */ fields?: string; @@ -2536,7 +2539,7 @@ declare namespace gapi.client { /** The border that applies to the embedded object. */ border?: EmbeddedObjectBorder; /** - * The fields that should be updated. At least one field must be specified. The root `border` is implied and should not be specified. A single `"*"` can be used as short-hand for + * The fields that should be updated. At least one field must be specified. The root \`border\` is implied and should not be specified. A single \`\\"*\\"\` can be used as short-hand for * listing every field. */ fields?: string; @@ -2546,7 +2549,7 @@ declare namespace gapi.client { interface UpdateEmbeddedObjectPositionRequest { /** * The fields of OverlayPosition that should be updated when setting a new position. Used only if newPosition.overlayPosition is set, in which case at least one field must be - * specified. The root `newPosition.overlayPosition` is implied and should not be specified. A single `"*"` can be used as short-hand for listing every field. + * specified. The root \`newPosition.overlayPosition\` is implied and should not be specified. A single \`\\"*\\"\` can be used as short-hand for listing every field. */ fields?: string; /** @@ -2563,7 +2566,7 @@ declare namespace gapi.client { } interface UpdateFilterViewRequest { /** - * The fields that should be updated. At least one field must be specified. The root `filter` is implied and should not be specified. A single `"*"` can be used as short-hand for + * The fields that should be updated. At least one field must be specified. The root \`filter\` is implied and should not be specified. A single \`\\"*\\"\` can be used as short-hand for * listing every field. */ fields?: string; @@ -2572,7 +2575,7 @@ declare namespace gapi.client { } interface UpdateNamedRangeRequest { /** - * The fields that should be updated. At least one field must be specified. The root `namedRange` is implied and should not be specified. A single `"*"` can be used as short-hand for + * The fields that should be updated. At least one field must be specified. The root \`namedRange\` is implied and should not be specified. A single \`\\"*\\"\` can be used as short-hand for * listing every field. */ fields?: string; @@ -2581,7 +2584,7 @@ declare namespace gapi.client { } interface UpdateProtectedRangeRequest { /** - * The fields that should be updated. At least one field must be specified. The root `protectedRange` is implied and should not be specified. A single `"*"` can be used as short-hand + * The fields that should be updated. At least one field must be specified. The root \`protectedRange\` is implied and should not be specified. A single \`\\"*\\"\` can be used as short-hand * for listing every field. */ fields?: string; @@ -2590,7 +2593,7 @@ declare namespace gapi.client { } interface UpdateSheetPropertiesRequest { /** - * The fields that should be updated. At least one field must be specified. The root `properties` is implied and should not be specified. A single `"*"` can be used as short-hand for + * The fields that should be updated. At least one field must be specified. The root \`properties\` is implied and should not be specified. A single \`\\"*\\"\` can be used as short-hand for * listing every field. */ fields?: string; @@ -2599,7 +2602,7 @@ declare namespace gapi.client { } interface UpdateSlicerSpecRequest { /** - * The fields that should be updated. At least one field must be specified. The root `SlicerSpec` is implied and should not be specified. A single "*"` can be used as short-hand for + * The fields that should be updated. At least one field must be specified. The root \`SlicerSpec\` is implied and should not be specified. A single \\"*\\"\` can be used as short-hand for * listing every field. */ fields?: string; @@ -2610,7 +2613,7 @@ declare namespace gapi.client { } interface UpdateSpreadsheetPropertiesRequest { /** - * The fields that should be updated. At least one field must be specified. The root 'properties' is implied and should not be specified. A single `"*"` can be used as short-hand for + * The fields that should be updated. At least one field must be specified. The root 'properties' is implied and should not be specified. A single \`\\"*\\"\` can be used as short-hand for * listing every field. */ fields?: string; @@ -2624,7 +2627,7 @@ declare namespace gapi.client { updatedCells?: number; /** The number of columns where at least one cell in the column was updated. */ updatedColumns?: number; - /** The values of the cells in the range matched by the dataFilter after all updates were applied. This is only included if the request's `includeValuesInResponse` field was `true`. */ + /** The values of the cells in the range matched by the dataFilter after all updates were applied. This is only included if the request's \`includeValuesInResponse\` field was \`true\`. */ updatedData?: ValueRange; /** The range (in [A1 notation](/sheets/api/guides/concepts#cell)) that updates were applied to. */ updatedRange?: string; @@ -2638,7 +2641,7 @@ declare namespace gapi.client { updatedCells?: number; /** The number of columns where at least one cell in the column was updated. */ updatedColumns?: number; - /** The values of the cells after updates were applied. This is only included if the request's `includeValuesInResponse` field was `true`. */ + /** The values of the cells after updates were applied. This is only included if the request's \`includeValuesInResponse\` field was \`true\`. */ updatedData?: ValueRange; /** The range (in A1 notation) that updates were applied to. */ updatedRange?: string; @@ -2647,9 +2650,9 @@ declare namespace gapi.client { } interface ValueRange { /** - * The major dimension of the values. For output, if the spreadsheet data is: `A1=1,B1=2,A2=3,B2=4`, then requesting `range=A1:B2,majorDimension=ROWS` will return `[[1,2],[3,4]]`, - * whereas requesting `range=A1:B2,majorDimension=COLUMNS` will return `[[1,3],[2,4]]`. For input, with `range=A1:B2,majorDimension=ROWS` then `[[1,2],[3,4]]` will set - * `A1=1,B1=2,A2=3,B2=4`. With `range=A1:B2,majorDimension=COLUMNS` then `[[1,2],[3,4]]` will set `A1=1,B1=3,A2=2,B2=4`. When writing, if this field is not set, it defaults to ROWS. + * The major dimension of the values. For output, if the spreadsheet data is: \`A1=1,B1=2,A2=3,B2=4\`, then requesting \`range=A1:B2,majorDimension=ROWS\` will return \`[[1,2],[3,4]]\`, + * whereas requesting \`range=A1:B2,majorDimension=COLUMNS\` will return \`[[1,3],[2,4]]\`. For input, with \`range=A1:B2,majorDimension=ROWS\` then \`[[1,2],[3,4]]\` will set + * \`A1=1,B1=2,A2=3,B2=4\`. With \`range=A1:B2,majorDimension=COLUMNS\` then \`[[1,2],[3,4]]\` will set \`A1=1,B1=3,A2=2,B2=4\`. When writing, if this field is not set, it defaults to ROWS. */ majorDimension?: string; /** @@ -2732,7 +2735,7 @@ declare namespace gapi.client { /** Returns the developer metadata with the specified ID. The caller must specify the spreadsheet ID and the developer metadata's unique metadataId. */ get(request?: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -2753,9 +2756,9 @@ declare namespace gapi.client { quotaUser?: string; /** The ID of the spreadsheet to retrieve metadata from. */ spreadsheetId: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; }): client.Request; /** @@ -2764,7 +2767,7 @@ declare namespace gapi.client { */ search(request: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -2783,16 +2786,16 @@ declare namespace gapi.client { quotaUser?: string; /** The ID of the spreadsheet to retrieve metadata from. */ spreadsheetId: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; /** Request body */ resource: SearchDeveloperMetadataRequest; }): client.Request; search(request: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -2811,9 +2814,9 @@ declare namespace gapi.client { quotaUser?: string; /** The ID of the spreadsheet to retrieve metadata from. */ spreadsheetId: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; }, body: SearchDeveloperMetadataRequest): client.Request; @@ -2822,7 +2825,7 @@ declare namespace gapi.client { /** Copies a single sheet from a spreadsheet to another spreadsheet. Returns the properties of the newly created sheet. */ copyTo(request: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -2843,16 +2846,16 @@ declare namespace gapi.client { sheetId: number; /** The ID of the spreadsheet containing the sheet to copy. */ spreadsheetId: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; /** Request body */ resource: CopySheetToAnotherSpreadsheetRequest; }): client.Request; copyTo(request: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -2873,23 +2876,23 @@ declare namespace gapi.client { sheetId: number; /** The ID of the spreadsheet containing the sheet to copy. */ spreadsheetId: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; }, body: CopySheetToAnotherSpreadsheetRequest): client.Request; } interface ValuesResource { /** - * Appends values to a spreadsheet. The input range is used to search for existing data and find a "table" within that range. Values will be appended to the next row of the table, + * Appends values to a spreadsheet. The input range is used to search for existing data and find a \\"table\\" within that range. Values will be appended to the next row of the table, * starting with the first column of the table. See the [guide](/sheets/api/guides/values#appending_values) and [sample code](/sheets/api/samples/writing#append_values) for specific - * details of how tables are detected and data is appended. The caller must specify the spreadsheet ID, range, and a valueInputOption. The `valueInputOption` only controls how the + * details of how tables are detected and data is appended. The caller must specify the spreadsheet ID, range, and a valueInputOption. The \`valueInputOption\` only controls how the * input data will be added to the sheet (column-wise or row-wise), it does not influence what cell the data starts being written to. */ append(request: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -2921,9 +2924,9 @@ declare namespace gapi.client { responseValueRenderOption?: string; /** The ID of the spreadsheet to update. */ spreadsheetId: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; /** How the input data should be interpreted. */ valueInputOption?: string; @@ -2932,7 +2935,7 @@ declare namespace gapi.client { }): client.Request; append(request: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -2964,9 +2967,9 @@ declare namespace gapi.client { responseValueRenderOption?: string; /** The ID of the spreadsheet to update. */ spreadsheetId: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; /** How the input data should be interpreted. */ valueInputOption?: string; @@ -2978,7 +2981,7 @@ declare namespace gapi.client { */ batchClear(request: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -2997,16 +3000,16 @@ declare namespace gapi.client { quotaUser?: string; /** The ID of the spreadsheet to update. */ spreadsheetId: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; /** Request body */ resource: BatchClearValuesRequest; }): client.Request; batchClear(request: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -3025,9 +3028,9 @@ declare namespace gapi.client { quotaUser?: string; /** The ID of the spreadsheet to update. */ spreadsheetId: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; }, body: BatchClearValuesRequest): client.Request; @@ -3037,7 +3040,7 @@ declare namespace gapi.client { */ batchClearByDataFilter(request: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -3056,16 +3059,16 @@ declare namespace gapi.client { quotaUser?: string; /** The ID of the spreadsheet to update. */ spreadsheetId: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; /** Request body */ resource: BatchClearValuesByDataFilterRequest; }): client.Request; batchClearByDataFilter(request: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -3084,16 +3087,16 @@ declare namespace gapi.client { quotaUser?: string; /** The ID of the spreadsheet to update. */ spreadsheetId: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; }, body: BatchClearValuesByDataFilterRequest): client.Request; /** Returns one or more ranges of values from a spreadsheet. The caller must specify the spreadsheet ID and one or more ranges. */ batchGet(request?: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -3110,8 +3113,8 @@ declare namespace gapi.client { /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ key?: string; /** - * The major dimension that results should use. For example, if the spreadsheet data is: `A1=1,B1=2,A2=3,B2=4`, then requesting `ranges=["A1:B2"],majorDimension=ROWS` returns - * `[[1,2],[3,4]]`, whereas requesting `ranges=["A1:B2"],majorDimension=COLUMNS` returns `[[1,3],[2,4]]`. + * The major dimension that results should use. For example, if the spreadsheet data is: \`A1=1,B1=2,A2=3,B2=4\`, then requesting \`ranges=[\\"A1:B2\\"],majorDimension=ROWS\` returns + * \`[[1,2],[3,4]]\`, whereas requesting \`ranges=[\\"A1:B2\\"],majorDimension=COLUMNS\` returns \`[[1,3],[2,4]]\`. */ majorDimension?: string; /** OAuth 2.0 token for the current user. */ @@ -3124,9 +3127,9 @@ declare namespace gapi.client { ranges?: string | string[]; /** The ID of the spreadsheet to retrieve data from. */ spreadsheetId: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; /** How values should be represented in the output. The default render option is ValueRenderOption.FORMATTED_VALUE. */ valueRenderOption?: string; @@ -3137,7 +3140,7 @@ declare namespace gapi.client { */ batchGetByDataFilter(request: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -3156,16 +3159,16 @@ declare namespace gapi.client { quotaUser?: string; /** The ID of the spreadsheet to retrieve data from. */ spreadsheetId: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; /** Request body */ resource: BatchGetValuesByDataFilterRequest; }): client.Request; batchGetByDataFilter(request: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -3184,16 +3187,16 @@ declare namespace gapi.client { quotaUser?: string; /** The ID of the spreadsheet to retrieve data from. */ spreadsheetId: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; }, body: BatchGetValuesByDataFilterRequest): client.Request; /** Sets values in one or more ranges of a spreadsheet. The caller must specify the spreadsheet ID, a valueInputOption, and one or more ValueRanges. */ batchUpdate(request: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -3212,16 +3215,16 @@ declare namespace gapi.client { quotaUser?: string; /** The ID of the spreadsheet to update. */ spreadsheetId: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; /** Request body */ resource: BatchUpdateValuesRequest; }): client.Request; batchUpdate(request: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -3240,16 +3243,16 @@ declare namespace gapi.client { quotaUser?: string; /** The ID of the spreadsheet to update. */ spreadsheetId: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; }, body: BatchUpdateValuesRequest): client.Request; /** Sets values in one or more ranges of a spreadsheet. The caller must specify the spreadsheet ID, a valueInputOption, and one or more DataFilterValueRanges. */ batchUpdateByDataFilter(request: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -3268,16 +3271,16 @@ declare namespace gapi.client { quotaUser?: string; /** The ID of the spreadsheet to update. */ spreadsheetId: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; /** Request body */ resource: BatchUpdateValuesByDataFilterRequest; }): client.Request; batchUpdateByDataFilter(request: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -3296,9 +3299,9 @@ declare namespace gapi.client { quotaUser?: string; /** The ID of the spreadsheet to update. */ spreadsheetId: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; }, body: BatchUpdateValuesByDataFilterRequest): client.Request; @@ -3308,7 +3311,7 @@ declare namespace gapi.client { */ clear(request: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -3329,16 +3332,16 @@ declare namespace gapi.client { range: string; /** The ID of the spreadsheet to update. */ spreadsheetId: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; /** Request body */ resource: ClearValuesRequest; }): client.Request; clear(request: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -3359,16 +3362,16 @@ declare namespace gapi.client { range: string; /** The ID of the spreadsheet to update. */ spreadsheetId: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; }, body: ClearValuesRequest): client.Request; /** Returns a range of values from a spreadsheet. The caller must specify the spreadsheet ID and a range. */ get(request?: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -3385,8 +3388,8 @@ declare namespace gapi.client { /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ key?: string; /** - * The major dimension that results should use. For example, if the spreadsheet data is: `A1=1,B1=2,A2=3,B2=4`, then requesting `range=A1:B2,majorDimension=ROWS` returns - * `[[1,2],[3,4]]`, whereas requesting `range=A1:B2,majorDimension=COLUMNS` returns `[[1,3],[2,4]]`. + * The major dimension that results should use. For example, if the spreadsheet data is: \`A1=1,B1=2,A2=3,B2=4\`, then requesting \`range=A1:B2,majorDimension=ROWS\` returns + * \`[[1,2],[3,4]]\`, whereas requesting \`range=A1:B2,majorDimension=COLUMNS\` returns \`[[1,3],[2,4]]\`. */ majorDimension?: string; /** OAuth 2.0 token for the current user. */ @@ -3399,9 +3402,9 @@ declare namespace gapi.client { range: string; /** The ID of the spreadsheet to retrieve data from. */ spreadsheetId: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; /** How values should be represented in the output. The default render option is FORMATTED_VALUE. */ valueRenderOption?: string; @@ -3409,7 +3412,7 @@ declare namespace gapi.client { /** Sets values in a range of a spreadsheet. The caller must specify the spreadsheet ID, range, and a valueInputOption. */ update(request: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -3442,9 +3445,9 @@ declare namespace gapi.client { responseValueRenderOption?: string; /** The ID of the spreadsheet to update. */ spreadsheetId: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; /** How the input data should be interpreted. */ valueInputOption?: string; @@ -3453,7 +3456,7 @@ declare namespace gapi.client { }): client.Request; update(request: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -3486,9 +3489,9 @@ declare namespace gapi.client { responseValueRenderOption?: string; /** The ID of the spreadsheet to update. */ spreadsheetId: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; /** How the input data should be interpreted. */ valueInputOption?: string; @@ -3505,7 +3508,7 @@ declare namespace gapi.client { */ batchUpdate(request: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -3524,16 +3527,16 @@ declare namespace gapi.client { quotaUser?: string; /** The spreadsheet to apply the updates to. */ spreadsheetId: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; /** Request body */ resource: BatchUpdateSpreadsheetRequest; }): client.Request; batchUpdate(request: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -3552,16 +3555,16 @@ declare namespace gapi.client { quotaUser?: string; /** The spreadsheet to apply the updates to. */ spreadsheetId: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; }, body: BatchUpdateSpreadsheetRequest): client.Request; /** Creates a spreadsheet, returning the newly created spreadsheet. */ create(request: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -3578,16 +3581,16 @@ declare namespace gapi.client { prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; /** Request body */ resource: Spreadsheet; }): client.Request; create(request: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -3604,23 +3607,23 @@ declare namespace gapi.client { prettyPrint?: boolean; /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; }, body: Spreadsheet): client.Request; /** * Returns the spreadsheet at the given ID. The caller must specify the spreadsheet ID. By default, data within grids is not returned. You can include grid data in one of 2 ways: * - * Specify a field mask listing your desired fields using the `fields` URL parameter in HTTP * Set the includeGridData URL parameter to true. If a field mask is set, the - * `includeGridData` parameter is ignored For large spreadsheets, as a best practice, retrieve only the specific spreadsheet fields that you want. To retrieve only subsets of - * spreadsheet data, use the ranges URL parameter. Ranges are specified using [A1 notation](/sheets/api/guides/concepts#cell). You can define a single cell (for example, `A1`) or - * multiple cells (for example, `A1:D5`). You can also get cells from other sheets within the same spreadsheet (for example, `Sheet2!A1:C4`) or retrieve multiple ranges at once (for - * example, `?ranges=A1:D5&ranges=Sheet2!A1:C4`). Limiting the range returns only the portions of the spreadsheet that intersect the requested ranges. + * Specify a field mask listing your desired fields using the \`fields\` URL parameter in HTTP * Set the includeGridData URL parameter to true. If a field mask is set, the + * \`includeGridData\` parameter is ignored For large spreadsheets, as a best practice, retrieve only the specific spreadsheet fields that you want. To retrieve only subsets of + * spreadsheet data, use the ranges URL parameter. Ranges are specified using [A1 notation](/sheets/api/guides/concepts#cell). You can define a single cell (for example, \`A1\`) or + * multiple cells (for example, \`A1:D5\`). You can also get cells from other sheets within the same spreadsheet (for example, \`Sheet2!A1:C4\`) or retrieve multiple ranges at once (for + * example, \`?ranges=A1:D5&ranges=Sheet2!A1:C4\`). Limiting the range returns only the portions of the spreadsheet that intersect the requested ranges. */ get(request?: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -3643,21 +3646,21 @@ declare namespace gapi.client { ranges?: string | string[]; /** The spreadsheet to request. */ spreadsheetId: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; }): client.Request; /** * Returns the spreadsheet at the given ID. The caller must specify the spreadsheet ID. This method differs from GetSpreadsheet in that it allows selecting which subsets of spreadsheet * data to return by specifying a dataFilters parameter. Multiple DataFilters can be specified. Specifying one or more data filters returns the portions of the spreadsheet that * intersect ranges matched by any of the filters. By default, data within grids is not returned. You can include grid data one of 2 ways: * Specify a field mask listing your desired - * fields using the `fields` URL parameter in HTTP * Set the includeGridData parameter to true. If a field mask is set, the `includeGridData` parameter is ignored For large + * fields using the \`fields\` URL parameter in HTTP * Set the includeGridData parameter to true. If a field mask is set, the \`includeGridData\` parameter is ignored For large * spreadsheets, as a best practice, retrieve only the specific spreadsheet fields that you want. */ getByDataFilter(request: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -3676,16 +3679,16 @@ declare namespace gapi.client { quotaUser?: string; /** The spreadsheet to request. */ spreadsheetId: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; /** Request body */ resource: GetSpreadsheetByDataFilterRequest; }): client.Request; getByDataFilter(request: { /** V1 error format. */ - "$.xgafv"?: string; + \\"$.xgafv\\"?: string; /** OAuth access token. */ access_token?: string; /** Data format for response. */ @@ -3704,9 +3707,9 @@ declare namespace gapi.client { quotaUser?: string; /** The spreadsheet to request. */ spreadsheetId: string; - /** Upload protocol for media (e.g. "raw", "multipart"). */ + /** Upload protocol for media (e.g. \\"raw\\", \\"multipart\\"). */ upload_protocol?: string; - /** Legacy upload protocol for media (e.g. "media", "multipart"). */ + /** Legacy upload protocol for media (e.g. \\"media\\", \\"multipart\\"). */ uploadType?: string; }, body: GetSpreadsheetByDataFilterRequest): client.Request; @@ -3718,3 +3721,5 @@ declare namespace gapi.client { const spreadsheets: SpreadsheetsResource; } } +" +`; diff --git a/test/restDocs/snapshots/gapi.client.sheets-v4/package.json b/test/restDocs/snapshots/gapi.client.sheets-v4/package.json deleted file mode 100644 index d1fca24a9a..0000000000 --- a/test/restDocs/snapshots/gapi.client.sheets-v4/package.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "name": "@maxim_mazurok/gapi.client.sheets-v4", - "version": "0.0.20220620", - "description": "TypeScript typings for Google Sheets API v4", - "license": "MIT", - "author": { - "email": "maxim@mazurok.com", - "name": "Maxim Mazurok", - "url": "https://maxim.mazurok.com" - }, - "repository": { - "type": "git", - "url": "https://github.com/Maxim-Mazurok/google-api-typings-generator.git" - }, - "types": "index.d.ts", - "dependencies": { - "@types/gapi.client": "*", - "@types/gapi.client.discovery": "*" - } -} diff --git a/test/restDocs/snapshots/gapi.client.sheets-v4/package.json.shot b/test/restDocs/snapshots/gapi.client.sheets-v4/package.json.shot new file mode 100644 index 0000000000..8096aacbe9 --- /dev/null +++ b/test/restDocs/snapshots/gapi.client.sheets-v4/package.json.shot @@ -0,0 +1,25 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`sheets works: sheets works 1`] = ` +"{ + \\"name\\": \\"@maxim_mazurok/gapi.client.sheets-v4\\", + \\"version\\": \\"0.0.20220620\\", + \\"description\\": \\"TypeScript typings for Google Sheets API v4\\", + \\"license\\": \\"MIT\\", + \\"author\\": { + \\"email\\": \\"maxim@mazurok.com\\", + \\"name\\": \\"Maxim Mazurok\\", + \\"url\\": \\"https://maxim.mazurok.com\\" + }, + \\"repository\\": { + \\"type\\": \\"git\\", + \\"url\\": \\"https://github.com/Maxim-Mazurok/google-api-typings-generator.git\\" + }, + \\"types\\": \\"index.d.ts\\", + \\"dependencies\\": { + \\"@types/gapi.client\\": \\"*\\", + \\"@types/gapi.client.discovery\\": \\"*\\" + } +} +" +`; diff --git a/test/restDocs/snapshots/gapi.client.sheets-v4/readme.md b/test/restDocs/snapshots/gapi.client.sheets-v4/readme.md.shot similarity index 71% rename from test/restDocs/snapshots/gapi.client.sheets-v4/readme.md rename to test/restDocs/snapshots/gapi.client.sheets-v4/readme.md.shot index dd6ed70eea..5dd6235376 100644 --- a/test/restDocs/snapshots/gapi.client.sheets-v4/readme.md +++ b/test/restDocs/snapshots/gapi.client.sheets-v4/readme.md.shot @@ -1,4 +1,7 @@ -# TypeScript typings for Google Sheets API v4 +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`sheets works: sheets works 1`] = ` +"# TypeScript typings for Google Sheets API v4 Reads and writes Google Sheets. For detailed description please check [documentation](https://developers.google.com/sheets/). @@ -7,41 +10,41 @@ For detailed description please check [documentation](https://developers.google. Install typings for Google Sheets API: -``` +\`\`\` npm install @types/gapi.client.sheets-v4 --save-dev -``` +\`\`\` ## Usage You need to initialize Google API client in your code: -```typescript +\`\`\`typescript gapi.load('client', () => { // now we can use gapi.client // ... }); -``` +\`\`\` Then load api client wrapper: -```typescript +\`\`\`typescript gapi.client.load('http://localhost:3000/sheets.json', () => { // now we can use: // gapi.client.sheets }); -``` +\`\`\` -```typescript +\`\`\`typescript // Deprecated, use discovery document URL, see https://github.com/google/google-api-javascript-client/blob/master/docs/reference.md#----gapiclientloadname----version----callback-- gapi.client.load('sheets', 'v4', () => { // now we can use: // gapi.client.sheets }); -``` +\`\`\` Don't forget to authenticate your client before sending any request to resources: -```typescript +\`\`\`typescript // declare client_id registered in Google Developers Console var client_id = '', scope = [ @@ -72,16 +75,16 @@ gapi.auth.authorize( /* handle authorization error */ } }); -``` +\`\`\` After that you can use Google Sheets API resources: -```typescript +\`\`\`typescript /* Applies one or more updates to the spreadsheet. Each request is validated before being applied. If any request is not valid then the entire request will fail and nothing will be applied. Some requests have replies to give you some information about how they are applied. The replies will mirror the requests. For example, if you applied 4 updates and the 3rd one had a reply, then the response will have 2 empty replies, the actual reply, and another empty reply, in that order. Due to the collaborative nature of spreadsheets, it is not guaranteed that the spreadsheet will reflect exactly your changes after this completes, however it is guaranteed that the updates in the request will be applied together atomically. Your changes may be altered with respect to collaborator changes. If there are no collaborators, the spreadsheet should reflect your changes. */ -await gapi.client.sheets.spreadsheets.batchUpdate({ spreadsheetId: "spreadsheetId", }); +await gapi.client.sheets.spreadsheets.batchUpdate({ spreadsheetId: \\"spreadsheetId\\", }); /* Creates a spreadsheet, returning the newly created spreadsheet. @@ -89,12 +92,14 @@ Creates a spreadsheet, returning the newly created spreadsheet. await gapi.client.sheets.spreadsheets.create({ }); /* -Returns the spreadsheet at the given ID. The caller must specify the spreadsheet ID. By default, data within grids is not returned. You can include grid data in one of 2 ways: * Specify a field mask listing your desired fields using the `fields` URL parameter in HTTP * Set the includeGridData URL parameter to true. If a field mask is set, the `includeGridData` parameter is ignored For large spreadsheets, as a best practice, retrieve only the specific spreadsheet fields that you want. To retrieve only subsets of spreadsheet data, use the ranges URL parameter. Ranges are specified using [A1 notation](/sheets/api/guides/concepts#cell). You can define a single cell (for example, `A1`) or multiple cells (for example, `A1:D5`). You can also get cells from other sheets within the same spreadsheet (for example, `Sheet2!A1:C4`) or retrieve multiple ranges at once (for example, `?ranges=A1:D5&ranges=Sheet2!A1:C4`). Limiting the range returns only the portions of the spreadsheet that intersect the requested ranges. +Returns the spreadsheet at the given ID. The caller must specify the spreadsheet ID. By default, data within grids is not returned. You can include grid data in one of 2 ways: * Specify a field mask listing your desired fields using the \`fields\` URL parameter in HTTP * Set the includeGridData URL parameter to true. If a field mask is set, the \`includeGridData\` parameter is ignored For large spreadsheets, as a best practice, retrieve only the specific spreadsheet fields that you want. To retrieve only subsets of spreadsheet data, use the ranges URL parameter. Ranges are specified using [A1 notation](/sheets/api/guides/concepts#cell). You can define a single cell (for example, \`A1\`) or multiple cells (for example, \`A1:D5\`). You can also get cells from other sheets within the same spreadsheet (for example, \`Sheet2!A1:C4\`) or retrieve multiple ranges at once (for example, \`?ranges=A1:D5&ranges=Sheet2!A1:C4\`). Limiting the range returns only the portions of the spreadsheet that intersect the requested ranges. */ -await gapi.client.sheets.spreadsheets.get({ spreadsheetId: "spreadsheetId", }); +await gapi.client.sheets.spreadsheets.get({ spreadsheetId: \\"spreadsheetId\\", }); /* -Returns the spreadsheet at the given ID. The caller must specify the spreadsheet ID. This method differs from GetSpreadsheet in that it allows selecting which subsets of spreadsheet data to return by specifying a dataFilters parameter. Multiple DataFilters can be specified. Specifying one or more data filters returns the portions of the spreadsheet that intersect ranges matched by any of the filters. By default, data within grids is not returned. You can include grid data one of 2 ways: * Specify a field mask listing your desired fields using the `fields` URL parameter in HTTP * Set the includeGridData parameter to true. If a field mask is set, the `includeGridData` parameter is ignored For large spreadsheets, as a best practice, retrieve only the specific spreadsheet fields that you want. +Returns the spreadsheet at the given ID. The caller must specify the spreadsheet ID. This method differs from GetSpreadsheet in that it allows selecting which subsets of spreadsheet data to return by specifying a dataFilters parameter. Multiple DataFilters can be specified. Specifying one or more data filters returns the portions of the spreadsheet that intersect ranges matched by any of the filters. By default, data within grids is not returned. You can include grid data one of 2 ways: * Specify a field mask listing your desired fields using the \`fields\` URL parameter in HTTP * Set the includeGridData parameter to true. If a field mask is set, the \`includeGridData\` parameter is ignored For large spreadsheets, as a best practice, retrieve only the specific spreadsheet fields that you want. */ -await gapi.client.sheets.spreadsheets.getByDataFilter({ spreadsheetId: "spreadsheetId", }); -``` +await gapi.client.sheets.spreadsheets.getByDataFilter({ spreadsheetId: \\"spreadsheetId\\", }); +\`\`\` +" +`; diff --git a/test/restDocs/snapshots/gapi.client.sheets-v4/tests.ts b/test/restDocs/snapshots/gapi.client.sheets-v4/tests.ts.shot similarity index 84% rename from test/restDocs/snapshots/gapi.client.sheets-v4/tests.ts rename to test/restDocs/snapshots/gapi.client.sheets-v4/tests.ts.shot index 351dde07fd..c2061704c9 100644 --- a/test/restDocs/snapshots/gapi.client.sheets-v4/tests.ts +++ b/test/restDocs/snapshots/gapi.client.sheets-v4/tests.ts.shot @@ -1,4 +1,7 @@ -/* This is stub file for gapi.client.sheets-v4 definition tests */ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`sheets works: sheets works 1`] = ` +"/* This is stub file for gapi.client.sheets-v4 definition tests */ // IMPORTANT // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually. // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator @@ -45,7 +48,7 @@ gapi.load('client', async () => { * may be altered with respect to collaborator changes. If there are no collaborators, the spreadsheet should reflect your changes. */ await gapi.client.sheets.spreadsheets.batchUpdate({ - spreadsheetId: "Test string", + spreadsheetId: \\"Test string\\", }, { includeSpreadsheetInResponse: true, requests: [ @@ -67,7 +70,7 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, footerColor: { alpha: 42, @@ -82,7 +85,7 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, headerColor: { alpha: 42, @@ -97,7 +100,7 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, secondBandColor: { alpha: 42, @@ -112,7 +115,7 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, }, range: { @@ -136,7 +139,7 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, footerColor: { alpha: 42, @@ -151,7 +154,7 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, headerColor: { alpha: 42, @@ -166,7 +169,7 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, secondBandColor: { alpha: 42, @@ -181,7 +184,7 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, }, }, @@ -202,7 +205,7 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, }, chartId: 42, @@ -222,7 +225,7 @@ gapi.load('client', async () => { sheetId: 42, }, spec: { - altText: "Test string", + altText: \\"Test string\\", backgroundColor: { alpha: 42, blue: 42, @@ -236,14 +239,14 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, basicChart: { axis: [ { format: { bold: true, - fontFamily: "Test string", + fontFamily: \\"Test string\\", fontSize: 42, foregroundColor: { alpha: 42, @@ -258,39 +261,39 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, italic: true, link: { - uri: "Test string", + uri: \\"Test string\\", }, strikethrough: true, underline: true, }, - position: "Test string", - title: "Test string", + position: \\"Test string\\", + title: \\"Test string\\", titleTextPosition: { - horizontalAlignment: "Test string", + horizontalAlignment: \\"Test string\\", }, viewWindowOptions: { viewWindowMax: 42, viewWindowMin: 42, - viewWindowMode: "Test string", + viewWindowMode: \\"Test string\\", }, } ], - chartType: "Test string", - compareMode: "Test string", + chartType: \\"Test string\\", + compareMode: \\"Test string\\", domains: [ { domain: { - aggregateType: "Test string", + aggregateType: \\"Test string\\", columnReference: { - name: "Test string", + name: \\"Test string\\", }, groupRule: { dateTimeRule: { - type: "Test string", + type: \\"Test string\\", }, histogramRule: { intervalSize: 42, @@ -315,7 +318,7 @@ gapi.load('client', async () => { ], headerCount: 42, interpolateNulls: true, - legendPosition: "Test string", + legendPosition: \\"Test string\\", lineSmoothing: true, series: [ { @@ -332,17 +335,17 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, dataLabel: { customLabelData: { - aggregateType: "Test string", + aggregateType: \\"Test string\\", columnReference: { - name: "Test string", + name: \\"Test string\\", }, groupRule: { dateTimeRule: { - type: "Test string", + type: \\"Test string\\", }, histogramRule: { intervalSize: 42, @@ -362,10 +365,10 @@ gapi.load('client', async () => { ], }, }, - placement: "Test string", + placement: \\"Test string\\", textFormat: { bold: true, - fontFamily: "Test string", + fontFamily: \\"Test string\\", fontSize: 42, foregroundColor: { alpha: 42, @@ -380,33 +383,33 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, italic: true, link: { - uri: "Test string", + uri: \\"Test string\\", }, strikethrough: true, underline: true, }, - type: "Test string", + type: \\"Test string\\", }, lineStyle: { - type: "Test string", + type: \\"Test string\\", width: 42, }, pointStyle: { - shape: "Test string", + shape: \\"Test string\\", size: 42, }, series: { - aggregateType: "Test string", + aggregateType: \\"Test string\\", columnReference: { - name: "Test string", + name: \\"Test string\\", }, groupRule: { dateTimeRule: { - type: "Test string", + type: \\"Test string\\", }, histogramRule: { intervalSize: 42, @@ -441,30 +444,30 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, index: 42, pointStyle: { - shape: "Test string", + shape: \\"Test string\\", size: 42, }, } ], - targetAxis: "Test string", - type: "Test string", + targetAxis: \\"Test string\\", + type: \\"Test string\\", } ], - stackedType: "Test string", + stackedType: \\"Test string\\", threeDimensional: true, totalDataLabel: { customLabelData: { - aggregateType: "Test string", + aggregateType: \\"Test string\\", columnReference: { - name: "Test string", + name: \\"Test string\\", }, groupRule: { dateTimeRule: { - type: "Test string", + type: \\"Test string\\", }, histogramRule: { intervalSize: 42, @@ -484,10 +487,10 @@ gapi.load('client', async () => { ], }, }, - placement: "Test string", + placement: \\"Test string\\", textFormat: { bold: true, - fontFamily: "Test string", + fontFamily: \\"Test string\\", fontSize: 42, foregroundColor: { alpha: 42, @@ -502,16 +505,16 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, italic: true, link: { - uri: "Test string", + uri: \\"Test string\\", }, strikethrough: true, underline: true, }, - type: "Test string", + type: \\"Test string\\", }, }, bubbleChart: { @@ -528,16 +531,16 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, bubbleLabels: { - aggregateType: "Test string", + aggregateType: \\"Test string\\", columnReference: { - name: "Test string", + name: \\"Test string\\", }, groupRule: { dateTimeRule: { - type: "Test string", + type: \\"Test string\\", }, histogramRule: { intervalSize: 42, @@ -561,13 +564,13 @@ gapi.load('client', async () => { bubbleMinRadiusSize: 42, bubbleOpacity: 42, bubbleSizes: { - aggregateType: "Test string", + aggregateType: \\"Test string\\", columnReference: { - name: "Test string", + name: \\"Test string\\", }, groupRule: { dateTimeRule: { - type: "Test string", + type: \\"Test string\\", }, histogramRule: { intervalSize: 42, @@ -589,7 +592,7 @@ gapi.load('client', async () => { }, bubbleTextStyle: { bold: true, - fontFamily: "Test string", + fontFamily: \\"Test string\\", fontSize: 42, foregroundColor: { alpha: 42, @@ -604,23 +607,23 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, italic: true, link: { - uri: "Test string", + uri: \\"Test string\\", }, strikethrough: true, underline: true, }, domain: { - aggregateType: "Test string", + aggregateType: \\"Test string\\", columnReference: { - name: "Test string", + name: \\"Test string\\", }, groupRule: { dateTimeRule: { - type: "Test string", + type: \\"Test string\\", }, histogramRule: { intervalSize: 42, @@ -641,13 +644,13 @@ gapi.load('client', async () => { }, }, groupIds: { - aggregateType: "Test string", + aggregateType: \\"Test string\\", columnReference: { - name: "Test string", + name: \\"Test string\\", }, groupRule: { dateTimeRule: { - type: "Test string", + type: \\"Test string\\", }, histogramRule: { intervalSize: 42, @@ -667,15 +670,15 @@ gapi.load('client', async () => { ], }, }, - legendPosition: "Test string", + legendPosition: \\"Test string\\", series: { - aggregateType: "Test string", + aggregateType: \\"Test string\\", columnReference: { - name: "Test string", + name: \\"Test string\\", }, groupRule: { dateTimeRule: { - type: "Test string", + type: \\"Test string\\", }, histogramRule: { intervalSize: 42, @@ -701,13 +704,13 @@ gapi.load('client', async () => { { closeSeries: { data: { - aggregateType: "Test string", + aggregateType: \\"Test string\\", columnReference: { - name: "Test string", + name: \\"Test string\\", }, groupRule: { dateTimeRule: { - type: "Test string", + type: \\"Test string\\", }, histogramRule: { intervalSize: 42, @@ -730,13 +733,13 @@ gapi.load('client', async () => { }, highSeries: { data: { - aggregateType: "Test string", + aggregateType: \\"Test string\\", columnReference: { - name: "Test string", + name: \\"Test string\\", }, groupRule: { dateTimeRule: { - type: "Test string", + type: \\"Test string\\", }, histogramRule: { intervalSize: 42, @@ -759,13 +762,13 @@ gapi.load('client', async () => { }, lowSeries: { data: { - aggregateType: "Test string", + aggregateType: \\"Test string\\", columnReference: { - name: "Test string", + name: \\"Test string\\", }, groupRule: { dateTimeRule: { - type: "Test string", + type: \\"Test string\\", }, histogramRule: { intervalSize: 42, @@ -788,13 +791,13 @@ gapi.load('client', async () => { }, openSeries: { data: { - aggregateType: "Test string", + aggregateType: \\"Test string\\", columnReference: { - name: "Test string", + name: \\"Test string\\", }, groupRule: { dateTimeRule: { - type: "Test string", + type: \\"Test string\\", }, histogramRule: { intervalSize: 42, @@ -819,13 +822,13 @@ gapi.load('client', async () => { ], domain: { data: { - aggregateType: "Test string", + aggregateType: \\"Test string\\", columnReference: { - name: "Test string", + name: \\"Test string\\", }, groupRule: { dateTimeRule: { - type: "Test string", + type: \\"Test string\\", }, histogramRule: { intervalSize: 42, @@ -850,31 +853,31 @@ gapi.load('client', async () => { }, dataSourceChartProperties: { dataExecutionStatus: { - errorCode: "Test string", - errorMessage: "Test string", - lastRefreshTime: "Test string", - state: "Test string", + errorCode: \\"Test string\\", + errorMessage: \\"Test string\\", + lastRefreshTime: \\"Test string\\", + state: \\"Test string\\", }, - dataSourceId: "Test string", + dataSourceId: \\"Test string\\", }, filterSpecs: [ { columnIndex: 42, dataSourceColumnReference: { - name: "Test string", + name: \\"Test string\\", }, filterCriteria: { condition: { - type: "Test string", + type: \\"Test string\\", values: [ { - relativeDate: "Test string", - userEnteredValue: "Test string", + relativeDate: \\"Test string\\", + userEnteredValue: \\"Test string\\", } ], }, hiddenValues: [ - "Test string" + \\"Test string\\" ], visibleBackgroundColor: { alpha: 42, @@ -889,7 +892,7 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, visibleForegroundColor: { alpha: 42, @@ -904,16 +907,16 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, }, } ], - fontName: "Test string", - hiddenDimensionStrategy: "Test string", + fontName: \\"Test string\\", + hiddenDimensionStrategy: \\"Test string\\", histogramChart: { bucketSize: 42, - legendPosition: "Test string", + legendPosition: \\"Test string\\", outlierPercentile: 42, series: [ { @@ -930,16 +933,16 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, data: { - aggregateType: "Test string", + aggregateType: \\"Test string\\", columnReference: { - name: "Test string", + name: \\"Test string\\", }, groupRule: { dateTimeRule: { - type: "Test string", + type: \\"Test string\\", }, histogramRule: { intervalSize: 42, @@ -966,13 +969,13 @@ gapi.load('client', async () => { maximized: true, orgChart: { labels: { - aggregateType: "Test string", + aggregateType: \\"Test string\\", columnReference: { - name: "Test string", + name: \\"Test string\\", }, groupRule: { dateTimeRule: { - type: "Test string", + type: \\"Test string\\", }, histogramRule: { intervalSize: 42, @@ -1005,17 +1008,17 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, - nodeSize: "Test string", + nodeSize: \\"Test string\\", parentLabels: { - aggregateType: "Test string", + aggregateType: \\"Test string\\", columnReference: { - name: "Test string", + name: \\"Test string\\", }, groupRule: { dateTimeRule: { - type: "Test string", + type: \\"Test string\\", }, histogramRule: { intervalSize: 42, @@ -1048,16 +1051,16 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, tooltips: { - aggregateType: "Test string", + aggregateType: \\"Test string\\", columnReference: { - name: "Test string", + name: \\"Test string\\", }, groupRule: { dateTimeRule: { - type: "Test string", + type: \\"Test string\\", }, histogramRule: { intervalSize: 42, @@ -1080,13 +1083,13 @@ gapi.load('client', async () => { }, pieChart: { domain: { - aggregateType: "Test string", + aggregateType: \\"Test string\\", columnReference: { - name: "Test string", + name: \\"Test string\\", }, groupRule: { dateTimeRule: { - type: "Test string", + type: \\"Test string\\", }, histogramRule: { intervalSize: 42, @@ -1106,16 +1109,16 @@ gapi.load('client', async () => { ], }, }, - legendPosition: "Test string", + legendPosition: \\"Test string\\", pieHole: 42, series: { - aggregateType: "Test string", + aggregateType: \\"Test string\\", columnReference: { - name: "Test string", + name: \\"Test string\\", }, groupRule: { dateTimeRule: { - type: "Test string", + type: \\"Test string\\", }, histogramRule: { intervalSize: 42, @@ -1138,15 +1141,15 @@ gapi.load('client', async () => { threeDimensional: true, }, scorecardChart: { - aggregateType: "Test string", + aggregateType: \\"Test string\\", baselineValueData: { - aggregateType: "Test string", + aggregateType: \\"Test string\\", columnReference: { - name: "Test string", + name: \\"Test string\\", }, groupRule: { dateTimeRule: { - type: "Test string", + type: \\"Test string\\", }, histogramRule: { intervalSize: 42, @@ -1167,8 +1170,8 @@ gapi.load('client', async () => { }, }, baselineValueFormat: { - comparisonType: "Test string", - description: "Test string", + comparisonType: \\"Test string\\", + description: \\"Test string\\", negativeColor: { alpha: 42, blue: 42, @@ -1182,10 +1185,10 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, position: { - horizontalAlignment: "Test string", + horizontalAlignment: \\"Test string\\", }, positiveColor: { alpha: 42, @@ -1200,11 +1203,11 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, textFormat: { bold: true, - fontFamily: "Test string", + fontFamily: \\"Test string\\", fontSize: 42, foregroundColor: { alpha: 42, @@ -1219,28 +1222,28 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, italic: true, link: { - uri: "Test string", + uri: \\"Test string\\", }, strikethrough: true, underline: true, }, }, customFormatOptions: { - prefix: "Test string", - suffix: "Test string", + prefix: \\"Test string\\", + suffix: \\"Test string\\", }, keyValueData: { - aggregateType: "Test string", + aggregateType: \\"Test string\\", columnReference: { - name: "Test string", + name: \\"Test string\\", }, groupRule: { dateTimeRule: { - type: "Test string", + type: \\"Test string\\", }, histogramRule: { intervalSize: 42, @@ -1262,11 +1265,11 @@ gapi.load('client', async () => { }, keyValueFormat: { position: { - horizontalAlignment: "Test string", + horizontalAlignment: \\"Test string\\", }, textFormat: { bold: true, - fontFamily: "Test string", + fontFamily: \\"Test string\\", fontSize: 42, foregroundColor: { alpha: 42, @@ -1281,17 +1284,17 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, italic: true, link: { - uri: "Test string", + uri: \\"Test string\\", }, strikethrough: true, underline: true, }, }, - numberFormatSource: "Test string", + numberFormatSource: \\"Test string\\", scaleFactor: 42, }, sortSpecs: [ @@ -1309,10 +1312,10 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, dataSourceColumnReference: { - name: "Test string", + name: \\"Test string\\", }, dimensionIndex: 42, foregroundColor: { @@ -1328,15 +1331,15 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, - sortOrder: "Test string", + sortOrder: \\"Test string\\", } ], - subtitle: "Test string", + subtitle: \\"Test string\\", subtitleTextFormat: { bold: true, - fontFamily: "Test string", + fontFamily: \\"Test string\\", fontSize: 42, foregroundColor: { alpha: 42, @@ -1351,22 +1354,22 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, italic: true, link: { - uri: "Test string", + uri: \\"Test string\\", }, strikethrough: true, underline: true, }, subtitleTextPosition: { - horizontalAlignment: "Test string", + horizontalAlignment: \\"Test string\\", }, - title: "Test string", + title: \\"Test string\\", titleTextFormat: { bold: true, - fontFamily: "Test string", + fontFamily: \\"Test string\\", fontSize: 42, foregroundColor: { alpha: 42, @@ -1381,27 +1384,27 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, italic: true, link: { - uri: "Test string", + uri: \\"Test string\\", }, strikethrough: true, underline: true, }, titleTextPosition: { - horizontalAlignment: "Test string", + horizontalAlignment: \\"Test string\\", }, treemapChart: { colorData: { - aggregateType: "Test string", + aggregateType: \\"Test string\\", columnReference: { - name: "Test string", + name: \\"Test string\\", }, groupRule: { dateTimeRule: { - type: "Test string", + type: \\"Test string\\", }, histogramRule: { intervalSize: 42, @@ -1435,7 +1438,7 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, midValueColor: { alpha: 42, @@ -1450,7 +1453,7 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, minValueColor: { alpha: 42, @@ -1465,7 +1468,7 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, noDataColor: { alpha: 42, @@ -1480,7 +1483,7 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, }, headerColor: { @@ -1496,18 +1499,18 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, hideTooltips: true, hintedLevels: 42, labels: { - aggregateType: "Test string", + aggregateType: \\"Test string\\", columnReference: { - name: "Test string", + name: \\"Test string\\", }, groupRule: { dateTimeRule: { - type: "Test string", + type: \\"Test string\\", }, histogramRule: { intervalSize: 42, @@ -1531,13 +1534,13 @@ gapi.load('client', async () => { maxValue: 42, minValue: 42, parentLabels: { - aggregateType: "Test string", + aggregateType: \\"Test string\\", columnReference: { - name: "Test string", + name: \\"Test string\\", }, groupRule: { dateTimeRule: { - type: "Test string", + type: \\"Test string\\", }, histogramRule: { intervalSize: 42, @@ -1558,13 +1561,13 @@ gapi.load('client', async () => { }, }, sizeData: { - aggregateType: "Test string", + aggregateType: \\"Test string\\", columnReference: { - name: "Test string", + name: \\"Test string\\", }, groupRule: { dateTimeRule: { - type: "Test string", + type: \\"Test string\\", }, histogramRule: { intervalSize: 42, @@ -1586,7 +1589,7 @@ gapi.load('client', async () => { }, textFormat: { bold: true, - fontFamily: "Test string", + fontFamily: \\"Test string\\", fontSize: 42, foregroundColor: { alpha: 42, @@ -1601,11 +1604,11 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, italic: true, link: { - uri: "Test string", + uri: \\"Test string\\", }, strikethrough: true, underline: true, @@ -1613,18 +1616,18 @@ gapi.load('client', async () => { }, waterfallChart: { connectorLineStyle: { - type: "Test string", + type: \\"Test string\\", width: 42, }, domain: { data: { - aggregateType: "Test string", + aggregateType: \\"Test string\\", columnReference: { - name: "Test string", + name: \\"Test string\\", }, groupRule: { dateTimeRule: { - type: "Test string", + type: \\"Test string\\", }, histogramRule: { intervalSize: 42, @@ -1653,18 +1656,18 @@ gapi.load('client', async () => { customSubtotals: [ { dataIsSubtotal: true, - label: "Test string", + label: \\"Test string\\", subtotalIndex: 42, } ], data: { - aggregateType: "Test string", + aggregateType: \\"Test string\\", columnReference: { - name: "Test string", + name: \\"Test string\\", }, groupRule: { dateTimeRule: { - type: "Test string", + type: \\"Test string\\", }, histogramRule: { intervalSize: 42, @@ -1686,13 +1689,13 @@ gapi.load('client', async () => { }, dataLabel: { customLabelData: { - aggregateType: "Test string", + aggregateType: \\"Test string\\", columnReference: { - name: "Test string", + name: \\"Test string\\", }, groupRule: { dateTimeRule: { - type: "Test string", + type: \\"Test string\\", }, histogramRule: { intervalSize: 42, @@ -1712,10 +1715,10 @@ gapi.load('client', async () => { ], }, }, - placement: "Test string", + placement: \\"Test string\\", textFormat: { bold: true, - fontFamily: "Test string", + fontFamily: \\"Test string\\", fontSize: 42, foregroundColor: { alpha: 42, @@ -1730,16 +1733,16 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, italic: true, link: { - uri: "Test string", + uri: \\"Test string\\", }, strikethrough: true, underline: true, }, - type: "Test string", + type: \\"Test string\\", }, hideTrailingSubtotal: true, negativeColumnsStyle: { @@ -1756,9 +1759,9 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, - label: "Test string", + label: \\"Test string\\", }, positiveColumnsStyle: { color: { @@ -1774,9 +1777,9 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, - label: "Test string", + label: \\"Test string\\", }, subtotalColumnsStyle: { color: { @@ -1792,22 +1795,22 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, - label: "Test string", + label: \\"Test string\\", }, } ], - stackedType: "Test string", + stackedType: \\"Test string\\", totalDataLabel: { customLabelData: { - aggregateType: "Test string", + aggregateType: \\"Test string\\", columnReference: { - name: "Test string", + name: \\"Test string\\", }, groupRule: { dateTimeRule: { - type: "Test string", + type: \\"Test string\\", }, histogramRule: { intervalSize: 42, @@ -1827,10 +1830,10 @@ gapi.load('client', async () => { ], }, }, - placement: "Test string", + placement: \\"Test string\\", textFormat: { bold: true, - fontFamily: "Test string", + fontFamily: \\"Test string\\", fontSize: 42, foregroundColor: { alpha: 42, @@ -1845,16 +1848,16 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, italic: true, link: { - uri: "Test string", + uri: \\"Test string\\", }, strikethrough: true, underline: true, }, - type: "Test string", + type: \\"Test string\\", }, }, }, @@ -1865,11 +1868,11 @@ gapi.load('client', async () => { rule: { booleanRule: { condition: { - type: "Test string", + type: \\"Test string\\", values: [ { - relativeDate: "Test string", - userEnteredValue: "Test string", + relativeDate: \\"Test string\\", + userEnteredValue: \\"Test string\\", } ], }, @@ -1887,7 +1890,7 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, borders: { bottom: { @@ -1904,9 +1907,9 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, - style: "Test string", + style: \\"Test string\\", width: 42, }, left: { @@ -1923,9 +1926,9 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, - style: "Test string", + style: \\"Test string\\", width: 42, }, right: { @@ -1942,9 +1945,9 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, - style: "Test string", + style: \\"Test string\\", width: 42, }, top: { @@ -1961,17 +1964,17 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, - style: "Test string", + style: \\"Test string\\", width: 42, }, }, - horizontalAlignment: "Test string", - hyperlinkDisplayType: "Test string", + horizontalAlignment: \\"Test string\\", + hyperlinkDisplayType: \\"Test string\\", numberFormat: { - pattern: "Test string", - type: "Test string", + pattern: \\"Test string\\", + type: \\"Test string\\", }, padding: { bottom: 42, @@ -1979,10 +1982,10 @@ gapi.load('client', async () => { right: 42, top: 42, }, - textDirection: "Test string", + textDirection: \\"Test string\\", textFormat: { bold: true, - fontFamily: "Test string", + fontFamily: \\"Test string\\", fontSize: 42, foregroundColor: { alpha: 42, @@ -1997,11 +2000,11 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, italic: true, link: { - uri: "Test string", + uri: \\"Test string\\", }, strikethrough: true, underline: true, @@ -2010,8 +2013,8 @@ gapi.load('client', async () => { angle: 42, vertical: true, }, - verticalAlignment: "Test string", - wrapStrategy: "Test string", + verticalAlignment: \\"Test string\\", + wrapStrategy: \\"Test string\\", }, }, gradientRule: { @@ -2029,10 +2032,10 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, - type: "Test string", - value: "Test string", + type: \\"Test string\\", + value: \\"Test string\\", }, midpoint: { color: { @@ -2048,10 +2051,10 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, - type: "Test string", - value: "Test string", + type: \\"Test string\\", + value: \\"Test string\\", }, minpoint: { color: { @@ -2067,10 +2070,10 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, - type: "Test string", - value: "Test string", + type: \\"Test string\\", + value: \\"Test string\\", }, }, ranges: [ @@ -2088,30 +2091,30 @@ gapi.load('client', async () => { dataSource: { calculatedColumns: [ { - formula: "Test string", + formula: \\"Test string\\", reference: { - name: "Test string", + name: \\"Test string\\", }, } ], - dataSourceId: "Test string", + dataSourceId: \\"Test string\\", sheetId: 42, spec: { bigQuery: { - projectId: "Test string", + projectId: \\"Test string\\", querySpec: { - rawQuery: "Test string", + rawQuery: \\"Test string\\", }, tableSpec: { - datasetId: "Test string", - tableId: "Test string", - tableProjectId: "Test string", + datasetId: \\"Test string\\", + tableId: \\"Test string\\", + tableProjectId: \\"Test string\\", }, }, parameters: [ { - name: "Test string", - namedRangeId: "Test string", + name: \\"Test string\\", + namedRangeId: \\"Test string\\", range: { endColumnIndex: 42, endRowIndex: 42, @@ -2126,7 +2129,7 @@ gapi.load('client', async () => { }, addDimensionGroup: { range: { - dimension: "Test string", + dimension: \\"Test string\\", endIndex: 42, sheetId: 42, startIndex: 42, @@ -2137,16 +2140,16 @@ gapi.load('client', async () => { criteria: { A: { condition: { - type: "Test string", + type: \\"Test string\\", values: [ { - relativeDate: "Test string", - userEnteredValue: "Test string", + relativeDate: \\"Test string\\", + userEnteredValue: \\"Test string\\", } ], }, hiddenValues: [ - "Test string" + \\"Test string\\" ], visibleBackgroundColor: { alpha: 42, @@ -2161,7 +2164,7 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, visibleForegroundColor: { alpha: 42, @@ -2176,7 +2179,7 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, } }, @@ -2184,20 +2187,20 @@ gapi.load('client', async () => { { columnIndex: 42, dataSourceColumnReference: { - name: "Test string", + name: \\"Test string\\", }, filterCriteria: { condition: { - type: "Test string", + type: \\"Test string\\", values: [ { - relativeDate: "Test string", - userEnteredValue: "Test string", + relativeDate: \\"Test string\\", + userEnteredValue: \\"Test string\\", } ], }, hiddenValues: [ - "Test string" + \\"Test string\\" ], visibleBackgroundColor: { alpha: 42, @@ -2212,7 +2215,7 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, visibleForegroundColor: { alpha: 42, @@ -2227,13 +2230,13 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, }, } ], filterViewId: 42, - namedRangeId: "Test string", + namedRangeId: \\"Test string\\", range: { endColumnIndex: 42, endRowIndex: 42, @@ -2256,10 +2259,10 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, dataSourceColumnReference: { - name: "Test string", + name: \\"Test string\\", }, dimensionIndex: 42, foregroundColor: { @@ -2275,18 +2278,18 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, - sortOrder: "Test string", + sortOrder: \\"Test string\\", } ], - title: "Test string", + title: \\"Test string\\", }, }, addNamedRange: { namedRange: { - name: "Test string", - namedRangeId: "Test string", + name: \\"Test string\\", + namedRangeId: \\"Test string\\", range: { endColumnIndex: 42, endRowIndex: 42, @@ -2298,17 +2301,17 @@ gapi.load('client', async () => { }, addProtectedRange: { protectedRange: { - description: "Test string", + description: \\"Test string\\", editors: { domainUsersCanEdit: true, groups: [ - "Test string" + \\"Test string\\" ], users: [ - "Test string" + \\"Test string\\" ], }, - namedRangeId: "Test string", + namedRangeId: \\"Test string\\", protectedRangeId: 42, range: { endColumnIndex: 42, @@ -2335,19 +2338,19 @@ gapi.load('client', async () => { dataSourceSheetProperties: { columns: [ { - formula: "Test string", + formula: \\"Test string\\", reference: { - name: "Test string", + name: \\"Test string\\", }, } ], dataExecutionStatus: { - errorCode: "Test string", - errorMessage: "Test string", - lastRefreshTime: "Test string", - state: "Test string", + errorCode: \\"Test string\\", + errorMessage: \\"Test string\\", + lastRefreshTime: \\"Test string\\", + state: \\"Test string\\", }, - dataSourceId: "Test string", + dataSourceId: \\"Test string\\", }, gridProperties: { columnCount: 42, @@ -2362,7 +2365,7 @@ gapi.load('client', async () => { index: 42, rightToLeft: true, sheetId: 42, - sheetType: "Test string", + sheetType: \\"Test string\\", tabColor: { alpha: 42, blue: 42, @@ -2376,9 +2379,9 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, - title: "Test string", + title: \\"Test string\\", }, }, addSlicer: { @@ -2414,7 +2417,7 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, columnIndex: 42, dataRange: { @@ -2426,16 +2429,16 @@ gapi.load('client', async () => { }, filterCriteria: { condition: { - type: "Test string", + type: \\"Test string\\", values: [ { - relativeDate: "Test string", - userEnteredValue: "Test string", + relativeDate: \\"Test string\\", + userEnteredValue: \\"Test string\\", } ], }, hiddenValues: [ - "Test string" + \\"Test string\\" ], visibleBackgroundColor: { alpha: 42, @@ -2450,7 +2453,7 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, visibleForegroundColor: { alpha: 42, @@ -2465,13 +2468,13 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, }, - horizontalAlignment: "Test string", + horizontalAlignment: \\"Test string\\", textFormat: { bold: true, - fontFamily: "Test string", + fontFamily: \\"Test string\\", fontSize: 42, foregroundColor: { alpha: 42, @@ -2486,66 +2489,66 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, italic: true, link: { - uri: "Test string", + uri: \\"Test string\\", }, strikethrough: true, underline: true, }, - title: "Test string", + title: \\"Test string\\", }, }, }, appendCells: { - fields: "Test string", + fields: \\"Test string\\", rows: [ { values: [ { dataSourceFormula: { dataExecutionStatus: { - errorCode: "Test string", - errorMessage: "Test string", - lastRefreshTime: "Test string", - state: "Test string", + errorCode: \\"Test string\\", + errorMessage: \\"Test string\\", + lastRefreshTime: \\"Test string\\", + state: \\"Test string\\", }, - dataSourceId: "Test string", + dataSourceId: \\"Test string\\", }, dataSourceTable: { columns: [ { - name: "Test string", + name: \\"Test string\\", } ], - columnSelectionType: "Test string", + columnSelectionType: \\"Test string\\", dataExecutionStatus: { - errorCode: "Test string", - errorMessage: "Test string", - lastRefreshTime: "Test string", - state: "Test string", + errorCode: \\"Test string\\", + errorMessage: \\"Test string\\", + lastRefreshTime: \\"Test string\\", + state: \\"Test string\\", }, - dataSourceId: "Test string", + dataSourceId: \\"Test string\\", filterSpecs: [ { columnIndex: 42, dataSourceColumnReference: { - name: "Test string", + name: \\"Test string\\", }, filterCriteria: { condition: { - type: "Test string", + type: \\"Test string\\", values: [ { - relativeDate: "Test string", - userEnteredValue: "Test string", + relativeDate: \\"Test string\\", + userEnteredValue: \\"Test string\\", } ], }, hiddenValues: [ - "Test string" + \\"Test string\\" ], visibleBackgroundColor: { alpha: 42, @@ -2560,7 +2563,7 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, visibleForegroundColor: { alpha: 42, @@ -2575,7 +2578,7 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, }, } @@ -2596,10 +2599,10 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, dataSourceColumnReference: { - name: "Test string", + name: \\"Test string\\", }, dimensionIndex: 42, foregroundColor: { @@ -2615,23 +2618,23 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, - sortOrder: "Test string", + sortOrder: \\"Test string\\", } ], }, dataValidation: { condition: { - type: "Test string", + type: \\"Test string\\", values: [ { - relativeDate: "Test string", - userEnteredValue: "Test string", + relativeDate: \\"Test string\\", + userEnteredValue: \\"Test string\\", } ], }, - inputMessage: "Test string", + inputMessage: \\"Test string\\", showCustomUi: true, strict: true, }, @@ -2649,7 +2652,7 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, borders: { bottom: { @@ -2666,9 +2669,9 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, - style: "Test string", + style: \\"Test string\\", width: 42, }, left: { @@ -2685,9 +2688,9 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, - style: "Test string", + style: \\"Test string\\", width: 42, }, right: { @@ -2704,9 +2707,9 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, - style: "Test string", + style: \\"Test string\\", width: 42, }, top: { @@ -2723,17 +2726,17 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, - style: "Test string", + style: \\"Test string\\", width: 42, }, }, - horizontalAlignment: "Test string", - hyperlinkDisplayType: "Test string", + horizontalAlignment: \\"Test string\\", + hyperlinkDisplayType: \\"Test string\\", numberFormat: { - pattern: "Test string", - type: "Test string", + pattern: \\"Test string\\", + type: \\"Test string\\", }, padding: { bottom: 42, @@ -2741,10 +2744,10 @@ gapi.load('client', async () => { right: 42, top: 42, }, - textDirection: "Test string", + textDirection: \\"Test string\\", textFormat: { bold: true, - fontFamily: "Test string", + fontFamily: \\"Test string\\", fontSize: 42, foregroundColor: { alpha: 42, @@ -2759,11 +2762,11 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, italic: true, link: { - uri: "Test string", + uri: \\"Test string\\", }, strikethrough: true, underline: true, @@ -2772,27 +2775,27 @@ gapi.load('client', async () => { angle: 42, vertical: true, }, - verticalAlignment: "Test string", - wrapStrategy: "Test string", + verticalAlignment: \\"Test string\\", + wrapStrategy: \\"Test string\\", }, effectiveValue: { boolValue: true, errorValue: { - message: "Test string", - type: "Test string", + message: \\"Test string\\", + type: \\"Test string\\", }, - formulaValue: "Test string", + formulaValue: \\"Test string\\", numberValue: 42, - stringValue: "Test string", + stringValue: \\"Test string\\", }, - formattedValue: "Test string", - hyperlink: "Test string", - note: "Test string", + formattedValue: \\"Test string\\", + hyperlink: \\"Test string\\", + note: \\"Test string\\", pivotTable: { columns: [ { dataSourceColumnReference: { - name: "Test string", + name: \\"Test string\\", }, groupLimit: { applyOrder: 42, @@ -2800,7 +2803,7 @@ gapi.load('client', async () => { }, groupRule: { dateTimeRule: { - type: "Test string", + type: \\"Test string\\", }, histogramRule: { end: 42, @@ -2813,45 +2816,45 @@ gapi.load('client', async () => { groupName: { boolValue: true, errorValue: { - message: "Test string", - type: "Test string", + message: \\"Test string\\", + type: \\"Test string\\", }, - formulaValue: "Test string", + formulaValue: \\"Test string\\", numberValue: 42, - stringValue: "Test string", + stringValue: \\"Test string\\", }, items: [ { boolValue: true, errorValue: { - message: "Test string", - type: "Test string", + message: \\"Test string\\", + type: \\"Test string\\", }, - formulaValue: "Test string", + formulaValue: \\"Test string\\", numberValue: 42, - stringValue: "Test string", + stringValue: \\"Test string\\", } ], } ], }, }, - label: "Test string", + label: \\"Test string\\", repeatHeadings: true, showTotals: true, - sortOrder: "Test string", + sortOrder: \\"Test string\\", sourceColumnOffset: 42, valueBucket: { buckets: [ { boolValue: true, errorValue: { - message: "Test string", - type: "Test string", + message: \\"Test string\\", + type: \\"Test string\\", }, - formulaValue: "Test string", + formulaValue: \\"Test string\\", numberValue: 42, - stringValue: "Test string", + stringValue: \\"Test string\\", } ], valuesIndex: 42, @@ -2862,12 +2865,12 @@ gapi.load('client', async () => { value: { boolValue: true, errorValue: { - message: "Test string", - type: "Test string", + message: \\"Test string\\", + type: \\"Test string\\", }, - formulaValue: "Test string", + formulaValue: \\"Test string\\", numberValue: 42, - stringValue: "Test string", + stringValue: \\"Test string\\", }, } ], @@ -2876,46 +2879,46 @@ gapi.load('client', async () => { criteria: { A: { condition: { - type: "Test string", + type: \\"Test string\\", values: [ { - relativeDate: "Test string", - userEnteredValue: "Test string", + relativeDate: \\"Test string\\", + userEnteredValue: \\"Test string\\", } ], }, visibleByDefault: true, visibleValues: [ - "Test string" + \\"Test string\\" ], } }, dataExecutionStatus: { - errorCode: "Test string", - errorMessage: "Test string", - lastRefreshTime: "Test string", - state: "Test string", + errorCode: \\"Test string\\", + errorMessage: \\"Test string\\", + lastRefreshTime: \\"Test string\\", + state: \\"Test string\\", }, - dataSourceId: "Test string", + dataSourceId: \\"Test string\\", filterSpecs: [ { columnOffsetIndex: 42, dataSourceColumnReference: { - name: "Test string", + name: \\"Test string\\", }, filterCriteria: { condition: { - type: "Test string", + type: \\"Test string\\", values: [ { - relativeDate: "Test string", - userEnteredValue: "Test string", + relativeDate: \\"Test string\\", + userEnteredValue: \\"Test string\\", } ], }, visibleByDefault: true, visibleValues: [ - "Test string" + \\"Test string\\" ], }, } @@ -2923,7 +2926,7 @@ gapi.load('client', async () => { rows: [ { dataSourceColumnReference: { - name: "Test string", + name: \\"Test string\\", }, groupLimit: { applyOrder: 42, @@ -2931,7 +2934,7 @@ gapi.load('client', async () => { }, groupRule: { dateTimeRule: { - type: "Test string", + type: \\"Test string\\", }, histogramRule: { end: 42, @@ -2944,45 +2947,45 @@ gapi.load('client', async () => { groupName: { boolValue: true, errorValue: { - message: "Test string", - type: "Test string", + message: \\"Test string\\", + type: \\"Test string\\", }, - formulaValue: "Test string", + formulaValue: \\"Test string\\", numberValue: 42, - stringValue: "Test string", + stringValue: \\"Test string\\", }, items: [ { boolValue: true, errorValue: { - message: "Test string", - type: "Test string", + message: \\"Test string\\", + type: \\"Test string\\", }, - formulaValue: "Test string", + formulaValue: \\"Test string\\", numberValue: 42, - stringValue: "Test string", + stringValue: \\"Test string\\", } ], } ], }, }, - label: "Test string", + label: \\"Test string\\", repeatHeadings: true, showTotals: true, - sortOrder: "Test string", + sortOrder: \\"Test string\\", sourceColumnOffset: 42, valueBucket: { buckets: [ { boolValue: true, errorValue: { - message: "Test string", - type: "Test string", + message: \\"Test string\\", + type: \\"Test string\\", }, - formulaValue: "Test string", + formulaValue: \\"Test string\\", numberValue: 42, - stringValue: "Test string", + stringValue: \\"Test string\\", } ], valuesIndex: 42, @@ -2993,12 +2996,12 @@ gapi.load('client', async () => { value: { boolValue: true, errorValue: { - message: "Test string", - type: "Test string", + message: \\"Test string\\", + type: \\"Test string\\", }, - formulaValue: "Test string", + formulaValue: \\"Test string\\", numberValue: 42, - stringValue: "Test string", + stringValue: \\"Test string\\", }, } ], @@ -3011,17 +3014,17 @@ gapi.load('client', async () => { startColumnIndex: 42, startRowIndex: 42, }, - valueLayout: "Test string", + valueLayout: \\"Test string\\", values: [ { - calculatedDisplayType: "Test string", + calculatedDisplayType: \\"Test string\\", dataSourceColumnReference: { - name: "Test string", + name: \\"Test string\\", }, - formula: "Test string", - name: "Test string", + formula: \\"Test string\\", + name: \\"Test string\\", sourceColumnOffset: 42, - summarizeFunction: "Test string", + summarizeFunction: \\"Test string\\", } ], }, @@ -3029,7 +3032,7 @@ gapi.load('client', async () => { { format: { bold: true, - fontFamily: "Test string", + fontFamily: \\"Test string\\", fontSize: 42, foregroundColor: { alpha: 42, @@ -3044,11 +3047,11 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, italic: true, link: { - uri: "Test string", + uri: \\"Test string\\", }, strikethrough: true, underline: true, @@ -3070,7 +3073,7 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, borders: { bottom: { @@ -3087,9 +3090,9 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, - style: "Test string", + style: \\"Test string\\", width: 42, }, left: { @@ -3106,9 +3109,9 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, - style: "Test string", + style: \\"Test string\\", width: 42, }, right: { @@ -3125,9 +3128,9 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, - style: "Test string", + style: \\"Test string\\", width: 42, }, top: { @@ -3144,17 +3147,17 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, - style: "Test string", + style: \\"Test string\\", width: 42, }, }, - horizontalAlignment: "Test string", - hyperlinkDisplayType: "Test string", + horizontalAlignment: \\"Test string\\", + hyperlinkDisplayType: \\"Test string\\", numberFormat: { - pattern: "Test string", - type: "Test string", + pattern: \\"Test string\\", + type: \\"Test string\\", }, padding: { bottom: 42, @@ -3162,10 +3165,10 @@ gapi.load('client', async () => { right: 42, top: 42, }, - textDirection: "Test string", + textDirection: \\"Test string\\", textFormat: { bold: true, - fontFamily: "Test string", + fontFamily: \\"Test string\\", fontSize: 42, foregroundColor: { alpha: 42, @@ -3180,11 +3183,11 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, italic: true, link: { - uri: "Test string", + uri: \\"Test string\\", }, strikethrough: true, underline: true, @@ -3193,18 +3196,18 @@ gapi.load('client', async () => { angle: 42, vertical: true, }, - verticalAlignment: "Test string", - wrapStrategy: "Test string", + verticalAlignment: \\"Test string\\", + wrapStrategy: \\"Test string\\", }, userEnteredValue: { boolValue: true, errorValue: { - message: "Test string", - type: "Test string", + message: \\"Test string\\", + type: \\"Test string\\", }, - formulaValue: "Test string", + formulaValue: \\"Test string\\", numberValue: 42, - stringValue: "Test string", + stringValue: \\"Test string\\", }, } ], @@ -3213,7 +3216,7 @@ gapi.load('client', async () => { sheetId: 42, }, appendDimension: { - dimension: "Test string", + dimension: \\"Test string\\", length: 42, sheetId: 42, }, @@ -3226,7 +3229,7 @@ gapi.load('client', async () => { startRowIndex: 42, }, sourceAndDestination: { - dimension: "Test string", + dimension: \\"Test string\\", fillLength: 42, source: { endColumnIndex: 42, @@ -3242,13 +3245,13 @@ gapi.load('client', async () => { dataSourceSheetDimensions: { columnReferences: [ { - name: "Test string", + name: \\"Test string\\", } ], sheetId: 42, }, dimensions: { - dimension: "Test string", + dimension: \\"Test string\\", endIndex: 42, sheetId: 42, startIndex: 42, @@ -3265,8 +3268,8 @@ gapi.load('client', async () => { startColumnIndex: 42, startRowIndex: 42, }, - pasteOrientation: "Test string", - pasteType: "Test string", + pasteOrientation: \\"Test string\\", + pasteType: \\"Test string\\", source: { endColumnIndex: 42, endRowIndex: 42, @@ -3279,19 +3282,19 @@ gapi.load('client', async () => { developerMetadata: { location: { dimensionRange: { - dimension: "Test string", + dimension: \\"Test string\\", endIndex: 42, sheetId: 42, startIndex: 42, }, - locationType: "Test string", + locationType: \\"Test string\\", sheetId: 42, spreadsheet: true, }, metadataId: 42, - metadataKey: "Test string", - metadataValue: "Test string", - visibility: "Test string", + metadataKey: \\"Test string\\", + metadataValue: \\"Test string\\", + visibility: \\"Test string\\", }, }, cutPaste: { @@ -3300,7 +3303,7 @@ gapi.load('client', async () => { rowIndex: 42, sheetId: 42, }, - pasteType: "Test string", + pasteType: \\"Test string\\", source: { endColumnIndex: 42, endRowIndex: 42, @@ -3317,29 +3320,29 @@ gapi.load('client', async () => { sheetId: 42, }, deleteDataSource: { - dataSourceId: "Test string", + dataSourceId: \\"Test string\\", }, deleteDeveloperMetadata: { dataFilter: { - a1Range: "Test string", + a1Range: \\"Test string\\", developerMetadataLookup: { - locationMatchingStrategy: "Test string", - locationType: "Test string", + locationMatchingStrategy: \\"Test string\\", + locationType: \\"Test string\\", metadataId: 42, - metadataKey: "Test string", + metadataKey: \\"Test string\\", metadataLocation: { dimensionRange: { - dimension: "Test string", + dimension: \\"Test string\\", endIndex: 42, sheetId: 42, startIndex: 42, }, - locationType: "Test string", + locationType: \\"Test string\\", sheetId: 42, spreadsheet: true, }, - metadataValue: "Test string", - visibility: "Test string", + metadataValue: \\"Test string\\", + visibility: \\"Test string\\", }, gridRange: { endColumnIndex: 42, @@ -3352,7 +3355,7 @@ gapi.load('client', async () => { }, deleteDimension: { range: { - dimension: "Test string", + dimension: \\"Test string\\", endIndex: 42, sheetId: 42, startIndex: 42, @@ -3360,7 +3363,7 @@ gapi.load('client', async () => { }, deleteDimensionGroup: { range: { - dimension: "Test string", + dimension: \\"Test string\\", endIndex: 42, sheetId: 42, startIndex: 42, @@ -3369,7 +3372,7 @@ gapi.load('client', async () => { deleteDuplicates: { comparisonColumns: [ { - dimension: "Test string", + dimension: \\"Test string\\", endIndex: 42, sheetId: 42, startIndex: 42, @@ -3390,7 +3393,7 @@ gapi.load('client', async () => { filterId: 42, }, deleteNamedRange: { - namedRangeId: "Test string", + namedRangeId: \\"Test string\\", }, deleteProtectedRange: { protectedRangeId: 42, @@ -3403,7 +3406,7 @@ gapi.load('client', async () => { startColumnIndex: 42, startRowIndex: 42, }, - shiftDimension: "Test string", + shiftDimension: \\"Test string\\", }, deleteSheet: { sheetId: 42, @@ -3414,12 +3417,12 @@ gapi.load('client', async () => { duplicateSheet: { insertSheetIndex: 42, newSheetId: 42, - newSheetName: "Test string", + newSheetName: \\"Test string\\", sourceSheetId: 42, }, findReplace: { allSheets: true, - find: "Test string", + find: \\"Test string\\", includeFormulas: true, matchCase: true, matchEntireCell: true, @@ -3430,14 +3433,14 @@ gapi.load('client', async () => { startColumnIndex: 42, startRowIndex: 42, }, - replacement: "Test string", + replacement: \\"Test string\\", searchByRegex: true, sheetId: 42, }, insertDimension: { inheritFromBefore: true, range: { - dimension: "Test string", + dimension: \\"Test string\\", endIndex: 42, sheetId: 42, startIndex: 42, @@ -3451,10 +3454,10 @@ gapi.load('client', async () => { startColumnIndex: 42, startRowIndex: 42, }, - shiftDimension: "Test string", + shiftDimension: \\"Test string\\", }, mergeCells: { - mergeType: "Test string", + mergeType: \\"Test string\\", range: { endColumnIndex: 42, endRowIndex: 42, @@ -3466,7 +3469,7 @@ gapi.load('client', async () => { moveDimension: { destinationIndex: 42, source: { - dimension: "Test string", + dimension: \\"Test string\\", endIndex: 42, sheetId: 42, startIndex: 42, @@ -3478,10 +3481,10 @@ gapi.load('client', async () => { rowIndex: 42, sheetId: 42, }, - data: "Test string", - delimiter: "Test string", + data: \\"Test string\\", + delimiter: \\"Test string\\", html: true, - type: "Test string", + type: \\"Test string\\", }, randomizeRange: { range: { @@ -3493,7 +3496,7 @@ gapi.load('client', async () => { }, }, refreshDataSource: { - dataSourceId: "Test string", + dataSourceId: \\"Test string\\", force: true, isAll: true, references: { @@ -3515,7 +3518,7 @@ gapi.load('client', async () => { rowIndex: 42, sheetId: 42, }, - sheetId: "Test string", + sheetId: \\"Test string\\", } ], }, @@ -3524,45 +3527,45 @@ gapi.load('client', async () => { cell: { dataSourceFormula: { dataExecutionStatus: { - errorCode: "Test string", - errorMessage: "Test string", - lastRefreshTime: "Test string", - state: "Test string", + errorCode: \\"Test string\\", + errorMessage: \\"Test string\\", + lastRefreshTime: \\"Test string\\", + state: \\"Test string\\", }, - dataSourceId: "Test string", + dataSourceId: \\"Test string\\", }, dataSourceTable: { columns: [ { - name: "Test string", + name: \\"Test string\\", } ], - columnSelectionType: "Test string", + columnSelectionType: \\"Test string\\", dataExecutionStatus: { - errorCode: "Test string", - errorMessage: "Test string", - lastRefreshTime: "Test string", - state: "Test string", + errorCode: \\"Test string\\", + errorMessage: \\"Test string\\", + lastRefreshTime: \\"Test string\\", + state: \\"Test string\\", }, - dataSourceId: "Test string", + dataSourceId: \\"Test string\\", filterSpecs: [ { columnIndex: 42, dataSourceColumnReference: { - name: "Test string", + name: \\"Test string\\", }, filterCriteria: { condition: { - type: "Test string", + type: \\"Test string\\", values: [ { - relativeDate: "Test string", - userEnteredValue: "Test string", + relativeDate: \\"Test string\\", + userEnteredValue: \\"Test string\\", } ], }, hiddenValues: [ - "Test string" + \\"Test string\\" ], visibleBackgroundColor: { alpha: 42, @@ -3577,7 +3580,7 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, visibleForegroundColor: { alpha: 42, @@ -3592,7 +3595,7 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, }, } @@ -3613,10 +3616,10 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, dataSourceColumnReference: { - name: "Test string", + name: \\"Test string\\", }, dimensionIndex: 42, foregroundColor: { @@ -3632,23 +3635,23 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, - sortOrder: "Test string", + sortOrder: \\"Test string\\", } ], }, dataValidation: { condition: { - type: "Test string", + type: \\"Test string\\", values: [ { - relativeDate: "Test string", - userEnteredValue: "Test string", + relativeDate: \\"Test string\\", + userEnteredValue: \\"Test string\\", } ], }, - inputMessage: "Test string", + inputMessage: \\"Test string\\", showCustomUi: true, strict: true, }, @@ -3666,7 +3669,7 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, borders: { bottom: { @@ -3683,9 +3686,9 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, - style: "Test string", + style: \\"Test string\\", width: 42, }, left: { @@ -3702,9 +3705,9 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, - style: "Test string", + style: \\"Test string\\", width: 42, }, right: { @@ -3721,9 +3724,9 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, - style: "Test string", + style: \\"Test string\\", width: 42, }, top: { @@ -3740,17 +3743,17 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, - style: "Test string", + style: \\"Test string\\", width: 42, }, }, - horizontalAlignment: "Test string", - hyperlinkDisplayType: "Test string", + horizontalAlignment: \\"Test string\\", + hyperlinkDisplayType: \\"Test string\\", numberFormat: { - pattern: "Test string", - type: "Test string", + pattern: \\"Test string\\", + type: \\"Test string\\", }, padding: { bottom: 42, @@ -3758,10 +3761,10 @@ gapi.load('client', async () => { right: 42, top: 42, }, - textDirection: "Test string", + textDirection: \\"Test string\\", textFormat: { bold: true, - fontFamily: "Test string", + fontFamily: \\"Test string\\", fontSize: 42, foregroundColor: { alpha: 42, @@ -3776,11 +3779,11 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, italic: true, link: { - uri: "Test string", + uri: \\"Test string\\", }, strikethrough: true, underline: true, @@ -3789,27 +3792,27 @@ gapi.load('client', async () => { angle: 42, vertical: true, }, - verticalAlignment: "Test string", - wrapStrategy: "Test string", + verticalAlignment: \\"Test string\\", + wrapStrategy: \\"Test string\\", }, effectiveValue: { boolValue: true, errorValue: { - message: "Test string", - type: "Test string", + message: \\"Test string\\", + type: \\"Test string\\", }, - formulaValue: "Test string", + formulaValue: \\"Test string\\", numberValue: 42, - stringValue: "Test string", + stringValue: \\"Test string\\", }, - formattedValue: "Test string", - hyperlink: "Test string", - note: "Test string", + formattedValue: \\"Test string\\", + hyperlink: \\"Test string\\", + note: \\"Test string\\", pivotTable: { columns: [ { dataSourceColumnReference: { - name: "Test string", + name: \\"Test string\\", }, groupLimit: { applyOrder: 42, @@ -3817,7 +3820,7 @@ gapi.load('client', async () => { }, groupRule: { dateTimeRule: { - type: "Test string", + type: \\"Test string\\", }, histogramRule: { end: 42, @@ -3830,45 +3833,45 @@ gapi.load('client', async () => { groupName: { boolValue: true, errorValue: { - message: "Test string", - type: "Test string", + message: \\"Test string\\", + type: \\"Test string\\", }, - formulaValue: "Test string", + formulaValue: \\"Test string\\", numberValue: 42, - stringValue: "Test string", + stringValue: \\"Test string\\", }, items: [ { boolValue: true, errorValue: { - message: "Test string", - type: "Test string", + message: \\"Test string\\", + type: \\"Test string\\", }, - formulaValue: "Test string", + formulaValue: \\"Test string\\", numberValue: 42, - stringValue: "Test string", + stringValue: \\"Test string\\", } ], } ], }, }, - label: "Test string", + label: \\"Test string\\", repeatHeadings: true, showTotals: true, - sortOrder: "Test string", + sortOrder: \\"Test string\\", sourceColumnOffset: 42, valueBucket: { buckets: [ { boolValue: true, errorValue: { - message: "Test string", - type: "Test string", + message: \\"Test string\\", + type: \\"Test string\\", }, - formulaValue: "Test string", + formulaValue: \\"Test string\\", numberValue: 42, - stringValue: "Test string", + stringValue: \\"Test string\\", } ], valuesIndex: 42, @@ -3879,12 +3882,12 @@ gapi.load('client', async () => { value: { boolValue: true, errorValue: { - message: "Test string", - type: "Test string", + message: \\"Test string\\", + type: \\"Test string\\", }, - formulaValue: "Test string", + formulaValue: \\"Test string\\", numberValue: 42, - stringValue: "Test string", + stringValue: \\"Test string\\", }, } ], @@ -3893,46 +3896,46 @@ gapi.load('client', async () => { criteria: { A: { condition: { - type: "Test string", + type: \\"Test string\\", values: [ { - relativeDate: "Test string", - userEnteredValue: "Test string", + relativeDate: \\"Test string\\", + userEnteredValue: \\"Test string\\", } ], }, visibleByDefault: true, visibleValues: [ - "Test string" + \\"Test string\\" ], } }, dataExecutionStatus: { - errorCode: "Test string", - errorMessage: "Test string", - lastRefreshTime: "Test string", - state: "Test string", + errorCode: \\"Test string\\", + errorMessage: \\"Test string\\", + lastRefreshTime: \\"Test string\\", + state: \\"Test string\\", }, - dataSourceId: "Test string", + dataSourceId: \\"Test string\\", filterSpecs: [ { columnOffsetIndex: 42, dataSourceColumnReference: { - name: "Test string", + name: \\"Test string\\", }, filterCriteria: { condition: { - type: "Test string", + type: \\"Test string\\", values: [ { - relativeDate: "Test string", - userEnteredValue: "Test string", + relativeDate: \\"Test string\\", + userEnteredValue: \\"Test string\\", } ], }, visibleByDefault: true, visibleValues: [ - "Test string" + \\"Test string\\" ], }, } @@ -3940,7 +3943,7 @@ gapi.load('client', async () => { rows: [ { dataSourceColumnReference: { - name: "Test string", + name: \\"Test string\\", }, groupLimit: { applyOrder: 42, @@ -3948,7 +3951,7 @@ gapi.load('client', async () => { }, groupRule: { dateTimeRule: { - type: "Test string", + type: \\"Test string\\", }, histogramRule: { end: 42, @@ -3961,45 +3964,45 @@ gapi.load('client', async () => { groupName: { boolValue: true, errorValue: { - message: "Test string", - type: "Test string", + message: \\"Test string\\", + type: \\"Test string\\", }, - formulaValue: "Test string", + formulaValue: \\"Test string\\", numberValue: 42, - stringValue: "Test string", + stringValue: \\"Test string\\", }, items: [ { boolValue: true, errorValue: { - message: "Test string", - type: "Test string", + message: \\"Test string\\", + type: \\"Test string\\", }, - formulaValue: "Test string", + formulaValue: \\"Test string\\", numberValue: 42, - stringValue: "Test string", + stringValue: \\"Test string\\", } ], } ], }, }, - label: "Test string", + label: \\"Test string\\", repeatHeadings: true, showTotals: true, - sortOrder: "Test string", + sortOrder: \\"Test string\\", sourceColumnOffset: 42, valueBucket: { buckets: [ { boolValue: true, errorValue: { - message: "Test string", - type: "Test string", + message: \\"Test string\\", + type: \\"Test string\\", }, - formulaValue: "Test string", + formulaValue: \\"Test string\\", numberValue: 42, - stringValue: "Test string", + stringValue: \\"Test string\\", } ], valuesIndex: 42, @@ -4010,12 +4013,12 @@ gapi.load('client', async () => { value: { boolValue: true, errorValue: { - message: "Test string", - type: "Test string", + message: \\"Test string\\", + type: \\"Test string\\", }, - formulaValue: "Test string", + formulaValue: \\"Test string\\", numberValue: 42, - stringValue: "Test string", + stringValue: \\"Test string\\", }, } ], @@ -4028,17 +4031,17 @@ gapi.load('client', async () => { startColumnIndex: 42, startRowIndex: 42, }, - valueLayout: "Test string", + valueLayout: \\"Test string\\", values: [ { - calculatedDisplayType: "Test string", + calculatedDisplayType: \\"Test string\\", dataSourceColumnReference: { - name: "Test string", + name: \\"Test string\\", }, - formula: "Test string", - name: "Test string", + formula: \\"Test string\\", + name: \\"Test string\\", sourceColumnOffset: 42, - summarizeFunction: "Test string", + summarizeFunction: \\"Test string\\", } ], }, @@ -4046,7 +4049,7 @@ gapi.load('client', async () => { { format: { bold: true, - fontFamily: "Test string", + fontFamily: \\"Test string\\", fontSize: 42, foregroundColor: { alpha: 42, @@ -4061,11 +4064,11 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, italic: true, link: { - uri: "Test string", + uri: \\"Test string\\", }, strikethrough: true, underline: true, @@ -4087,7 +4090,7 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, borders: { bottom: { @@ -4104,9 +4107,9 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, - style: "Test string", + style: \\"Test string\\", width: 42, }, left: { @@ -4123,9 +4126,9 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, - style: "Test string", + style: \\"Test string\\", width: 42, }, right: { @@ -4142,9 +4145,9 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, - style: "Test string", + style: \\"Test string\\", width: 42, }, top: { @@ -4161,17 +4164,17 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, - style: "Test string", + style: \\"Test string\\", width: 42, }, }, - horizontalAlignment: "Test string", - hyperlinkDisplayType: "Test string", + horizontalAlignment: \\"Test string\\", + hyperlinkDisplayType: \\"Test string\\", numberFormat: { - pattern: "Test string", - type: "Test string", + pattern: \\"Test string\\", + type: \\"Test string\\", }, padding: { bottom: 42, @@ -4179,10 +4182,10 @@ gapi.load('client', async () => { right: 42, top: 42, }, - textDirection: "Test string", + textDirection: \\"Test string\\", textFormat: { bold: true, - fontFamily: "Test string", + fontFamily: \\"Test string\\", fontSize: 42, foregroundColor: { alpha: 42, @@ -4197,11 +4200,11 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, italic: true, link: { - uri: "Test string", + uri: \\"Test string\\", }, strikethrough: true, underline: true, @@ -4210,21 +4213,21 @@ gapi.load('client', async () => { angle: 42, vertical: true, }, - verticalAlignment: "Test string", - wrapStrategy: "Test string", + verticalAlignment: \\"Test string\\", + wrapStrategy: \\"Test string\\", }, userEnteredValue: { boolValue: true, errorValue: { - message: "Test string", - type: "Test string", + message: \\"Test string\\", + type: \\"Test string\\", }, - formulaValue: "Test string", + formulaValue: \\"Test string\\", numberValue: 42, - stringValue: "Test string", + stringValue: \\"Test string\\", }, }, - fields: "Test string", + fields: \\"Test string\\", range: { endColumnIndex: 42, endRowIndex: 42, @@ -4238,16 +4241,16 @@ gapi.load('client', async () => { criteria: { A: { condition: { - type: "Test string", + type: \\"Test string\\", values: [ { - relativeDate: "Test string", - userEnteredValue: "Test string", + relativeDate: \\"Test string\\", + userEnteredValue: \\"Test string\\", } ], }, hiddenValues: [ - "Test string" + \\"Test string\\" ], visibleBackgroundColor: { alpha: 42, @@ -4262,7 +4265,7 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, visibleForegroundColor: { alpha: 42, @@ -4277,7 +4280,7 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, } }, @@ -4285,20 +4288,20 @@ gapi.load('client', async () => { { columnIndex: 42, dataSourceColumnReference: { - name: "Test string", + name: \\"Test string\\", }, filterCriteria: { condition: { - type: "Test string", + type: \\"Test string\\", values: [ { - relativeDate: "Test string", - userEnteredValue: "Test string", + relativeDate: \\"Test string\\", + userEnteredValue: \\"Test string\\", } ], }, hiddenValues: [ - "Test string" + \\"Test string\\" ], visibleBackgroundColor: { alpha: 42, @@ -4313,7 +4316,7 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, visibleForegroundColor: { alpha: 42, @@ -4328,7 +4331,7 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, }, } @@ -4355,10 +4358,10 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, dataSourceColumnReference: { - name: "Test string", + name: \\"Test string\\", }, dimensionIndex: 42, foregroundColor: { @@ -4374,9 +4377,9 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, - sortOrder: "Test string", + sortOrder: \\"Test string\\", } ], }, @@ -4391,15 +4394,15 @@ gapi.load('client', async () => { }, rule: { condition: { - type: "Test string", + type: \\"Test string\\", values: [ { - relativeDate: "Test string", - userEnteredValue: "Test string", + relativeDate: \\"Test string\\", + userEnteredValue: \\"Test string\\", } ], }, - inputMessage: "Test string", + inputMessage: \\"Test string\\", showCustomUi: true, strict: true, }, @@ -4427,10 +4430,10 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, dataSourceColumnReference: { - name: "Test string", + name: \\"Test string\\", }, dimensionIndex: 42, foregroundColor: { @@ -4446,15 +4449,15 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, - sortOrder: "Test string", + sortOrder: \\"Test string\\", } ], }, textToColumns: { - delimiter: "Test string", - delimiterType: "Test string", + delimiter: \\"Test string\\", + delimiterType: \\"Test string\\", source: { endColumnIndex: 42, endRowIndex: 42, @@ -4498,7 +4501,7 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, footerColor: { alpha: 42, @@ -4513,7 +4516,7 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, headerColor: { alpha: 42, @@ -4528,7 +4531,7 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, secondBandColor: { alpha: 42, @@ -4543,7 +4546,7 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, }, range: { @@ -4567,7 +4570,7 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, footerColor: { alpha: 42, @@ -4582,7 +4585,7 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, headerColor: { alpha: 42, @@ -4597,7 +4600,7 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, secondBandColor: { alpha: 42, @@ -4612,11 +4615,11 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, }, }, - fields: "Test string", + fields: \\"Test string\\", }, updateBorders: { bottom: { @@ -4633,9 +4636,9 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, - style: "Test string", + style: \\"Test string\\", width: 42, }, innerHorizontal: { @@ -4652,9 +4655,9 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, - style: "Test string", + style: \\"Test string\\", width: 42, }, innerVertical: { @@ -4671,9 +4674,9 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, - style: "Test string", + style: \\"Test string\\", width: 42, }, left: { @@ -4690,9 +4693,9 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, - style: "Test string", + style: \\"Test string\\", width: 42, }, range: { @@ -4716,9 +4719,9 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, - style: "Test string", + style: \\"Test string\\", width: 42, }, top: { @@ -4735,14 +4738,14 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, - style: "Test string", + style: \\"Test string\\", width: 42, }, }, updateCells: { - fields: "Test string", + fields: \\"Test string\\", range: { endColumnIndex: 42, endRowIndex: 42, @@ -4756,45 +4759,45 @@ gapi.load('client', async () => { { dataSourceFormula: { dataExecutionStatus: { - errorCode: "Test string", - errorMessage: "Test string", - lastRefreshTime: "Test string", - state: "Test string", + errorCode: \\"Test string\\", + errorMessage: \\"Test string\\", + lastRefreshTime: \\"Test string\\", + state: \\"Test string\\", }, - dataSourceId: "Test string", + dataSourceId: \\"Test string\\", }, dataSourceTable: { columns: [ { - name: "Test string", + name: \\"Test string\\", } ], - columnSelectionType: "Test string", + columnSelectionType: \\"Test string\\", dataExecutionStatus: { - errorCode: "Test string", - errorMessage: "Test string", - lastRefreshTime: "Test string", - state: "Test string", + errorCode: \\"Test string\\", + errorMessage: \\"Test string\\", + lastRefreshTime: \\"Test string\\", + state: \\"Test string\\", }, - dataSourceId: "Test string", + dataSourceId: \\"Test string\\", filterSpecs: [ { columnIndex: 42, dataSourceColumnReference: { - name: "Test string", + name: \\"Test string\\", }, filterCriteria: { condition: { - type: "Test string", + type: \\"Test string\\", values: [ { - relativeDate: "Test string", - userEnteredValue: "Test string", + relativeDate: \\"Test string\\", + userEnteredValue: \\"Test string\\", } ], }, hiddenValues: [ - "Test string" + \\"Test string\\" ], visibleBackgroundColor: { alpha: 42, @@ -4809,7 +4812,7 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, visibleForegroundColor: { alpha: 42, @@ -4824,7 +4827,7 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, }, } @@ -4845,10 +4848,10 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, dataSourceColumnReference: { - name: "Test string", + name: \\"Test string\\", }, dimensionIndex: 42, foregroundColor: { @@ -4864,23 +4867,23 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, - sortOrder: "Test string", + sortOrder: \\"Test string\\", } ], }, dataValidation: { condition: { - type: "Test string", + type: \\"Test string\\", values: [ { - relativeDate: "Test string", - userEnteredValue: "Test string", + relativeDate: \\"Test string\\", + userEnteredValue: \\"Test string\\", } ], }, - inputMessage: "Test string", + inputMessage: \\"Test string\\", showCustomUi: true, strict: true, }, @@ -4898,7 +4901,7 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, borders: { bottom: { @@ -4915,9 +4918,9 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, - style: "Test string", + style: \\"Test string\\", width: 42, }, left: { @@ -4934,9 +4937,9 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, - style: "Test string", + style: \\"Test string\\", width: 42, }, right: { @@ -4953,9 +4956,9 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, - style: "Test string", + style: \\"Test string\\", width: 42, }, top: { @@ -4972,17 +4975,17 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, - style: "Test string", + style: \\"Test string\\", width: 42, }, }, - horizontalAlignment: "Test string", - hyperlinkDisplayType: "Test string", + horizontalAlignment: \\"Test string\\", + hyperlinkDisplayType: \\"Test string\\", numberFormat: { - pattern: "Test string", - type: "Test string", + pattern: \\"Test string\\", + type: \\"Test string\\", }, padding: { bottom: 42, @@ -4990,10 +4993,10 @@ gapi.load('client', async () => { right: 42, top: 42, }, - textDirection: "Test string", + textDirection: \\"Test string\\", textFormat: { bold: true, - fontFamily: "Test string", + fontFamily: \\"Test string\\", fontSize: 42, foregroundColor: { alpha: 42, @@ -5008,11 +5011,11 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, italic: true, link: { - uri: "Test string", + uri: \\"Test string\\", }, strikethrough: true, underline: true, @@ -5021,27 +5024,27 @@ gapi.load('client', async () => { angle: 42, vertical: true, }, - verticalAlignment: "Test string", - wrapStrategy: "Test string", + verticalAlignment: \\"Test string\\", + wrapStrategy: \\"Test string\\", }, effectiveValue: { boolValue: true, errorValue: { - message: "Test string", - type: "Test string", + message: \\"Test string\\", + type: \\"Test string\\", }, - formulaValue: "Test string", + formulaValue: \\"Test string\\", numberValue: 42, - stringValue: "Test string", + stringValue: \\"Test string\\", }, - formattedValue: "Test string", - hyperlink: "Test string", - note: "Test string", + formattedValue: \\"Test string\\", + hyperlink: \\"Test string\\", + note: \\"Test string\\", pivotTable: { columns: [ { dataSourceColumnReference: { - name: "Test string", + name: \\"Test string\\", }, groupLimit: { applyOrder: 42, @@ -5049,7 +5052,7 @@ gapi.load('client', async () => { }, groupRule: { dateTimeRule: { - type: "Test string", + type: \\"Test string\\", }, histogramRule: { end: 42, @@ -5062,45 +5065,45 @@ gapi.load('client', async () => { groupName: { boolValue: true, errorValue: { - message: "Test string", - type: "Test string", + message: \\"Test string\\", + type: \\"Test string\\", }, - formulaValue: "Test string", + formulaValue: \\"Test string\\", numberValue: 42, - stringValue: "Test string", + stringValue: \\"Test string\\", }, items: [ { boolValue: true, errorValue: { - message: "Test string", - type: "Test string", + message: \\"Test string\\", + type: \\"Test string\\", }, - formulaValue: "Test string", + formulaValue: \\"Test string\\", numberValue: 42, - stringValue: "Test string", + stringValue: \\"Test string\\", } ], } ], }, }, - label: "Test string", + label: \\"Test string\\", repeatHeadings: true, showTotals: true, - sortOrder: "Test string", + sortOrder: \\"Test string\\", sourceColumnOffset: 42, valueBucket: { buckets: [ { boolValue: true, errorValue: { - message: "Test string", - type: "Test string", + message: \\"Test string\\", + type: \\"Test string\\", }, - formulaValue: "Test string", + formulaValue: \\"Test string\\", numberValue: 42, - stringValue: "Test string", + stringValue: \\"Test string\\", } ], valuesIndex: 42, @@ -5111,12 +5114,12 @@ gapi.load('client', async () => { value: { boolValue: true, errorValue: { - message: "Test string", - type: "Test string", + message: \\"Test string\\", + type: \\"Test string\\", }, - formulaValue: "Test string", + formulaValue: \\"Test string\\", numberValue: 42, - stringValue: "Test string", + stringValue: \\"Test string\\", }, } ], @@ -5125,46 +5128,46 @@ gapi.load('client', async () => { criteria: { A: { condition: { - type: "Test string", + type: \\"Test string\\", values: [ { - relativeDate: "Test string", - userEnteredValue: "Test string", + relativeDate: \\"Test string\\", + userEnteredValue: \\"Test string\\", } ], }, visibleByDefault: true, visibleValues: [ - "Test string" + \\"Test string\\" ], } }, dataExecutionStatus: { - errorCode: "Test string", - errorMessage: "Test string", - lastRefreshTime: "Test string", - state: "Test string", + errorCode: \\"Test string\\", + errorMessage: \\"Test string\\", + lastRefreshTime: \\"Test string\\", + state: \\"Test string\\", }, - dataSourceId: "Test string", + dataSourceId: \\"Test string\\", filterSpecs: [ { columnOffsetIndex: 42, dataSourceColumnReference: { - name: "Test string", + name: \\"Test string\\", }, filterCriteria: { condition: { - type: "Test string", + type: \\"Test string\\", values: [ { - relativeDate: "Test string", - userEnteredValue: "Test string", + relativeDate: \\"Test string\\", + userEnteredValue: \\"Test string\\", } ], }, visibleByDefault: true, visibleValues: [ - "Test string" + \\"Test string\\" ], }, } @@ -5172,7 +5175,7 @@ gapi.load('client', async () => { rows: [ { dataSourceColumnReference: { - name: "Test string", + name: \\"Test string\\", }, groupLimit: { applyOrder: 42, @@ -5180,7 +5183,7 @@ gapi.load('client', async () => { }, groupRule: { dateTimeRule: { - type: "Test string", + type: \\"Test string\\", }, histogramRule: { end: 42, @@ -5193,45 +5196,45 @@ gapi.load('client', async () => { groupName: { boolValue: true, errorValue: { - message: "Test string", - type: "Test string", + message: \\"Test string\\", + type: \\"Test string\\", }, - formulaValue: "Test string", + formulaValue: \\"Test string\\", numberValue: 42, - stringValue: "Test string", + stringValue: \\"Test string\\", }, items: [ { boolValue: true, errorValue: { - message: "Test string", - type: "Test string", + message: \\"Test string\\", + type: \\"Test string\\", }, - formulaValue: "Test string", + formulaValue: \\"Test string\\", numberValue: 42, - stringValue: "Test string", + stringValue: \\"Test string\\", } ], } ], }, }, - label: "Test string", + label: \\"Test string\\", repeatHeadings: true, showTotals: true, - sortOrder: "Test string", + sortOrder: \\"Test string\\", sourceColumnOffset: 42, valueBucket: { buckets: [ { boolValue: true, errorValue: { - message: "Test string", - type: "Test string", + message: \\"Test string\\", + type: \\"Test string\\", }, - formulaValue: "Test string", + formulaValue: \\"Test string\\", numberValue: 42, - stringValue: "Test string", + stringValue: \\"Test string\\", } ], valuesIndex: 42, @@ -5242,12 +5245,12 @@ gapi.load('client', async () => { value: { boolValue: true, errorValue: { - message: "Test string", - type: "Test string", + message: \\"Test string\\", + type: \\"Test string\\", }, - formulaValue: "Test string", + formulaValue: \\"Test string\\", numberValue: 42, - stringValue: "Test string", + stringValue: \\"Test string\\", }, } ], @@ -5260,17 +5263,17 @@ gapi.load('client', async () => { startColumnIndex: 42, startRowIndex: 42, }, - valueLayout: "Test string", + valueLayout: \\"Test string\\", values: [ { - calculatedDisplayType: "Test string", + calculatedDisplayType: \\"Test string\\", dataSourceColumnReference: { - name: "Test string", + name: \\"Test string\\", }, - formula: "Test string", - name: "Test string", + formula: \\"Test string\\", + name: \\"Test string\\", sourceColumnOffset: 42, - summarizeFunction: "Test string", + summarizeFunction: \\"Test string\\", } ], }, @@ -5278,7 +5281,7 @@ gapi.load('client', async () => { { format: { bold: true, - fontFamily: "Test string", + fontFamily: \\"Test string\\", fontSize: 42, foregroundColor: { alpha: 42, @@ -5293,11 +5296,11 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, italic: true, link: { - uri: "Test string", + uri: \\"Test string\\", }, strikethrough: true, underline: true, @@ -5319,7 +5322,7 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, borders: { bottom: { @@ -5336,9 +5339,9 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, - style: "Test string", + style: \\"Test string\\", width: 42, }, left: { @@ -5355,9 +5358,9 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, - style: "Test string", + style: \\"Test string\\", width: 42, }, right: { @@ -5374,9 +5377,9 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, - style: "Test string", + style: \\"Test string\\", width: 42, }, top: { @@ -5393,17 +5396,17 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, - style: "Test string", + style: \\"Test string\\", width: 42, }, }, - horizontalAlignment: "Test string", - hyperlinkDisplayType: "Test string", + horizontalAlignment: \\"Test string\\", + hyperlinkDisplayType: \\"Test string\\", numberFormat: { - pattern: "Test string", - type: "Test string", + pattern: \\"Test string\\", + type: \\"Test string\\", }, padding: { bottom: 42, @@ -5411,10 +5414,10 @@ gapi.load('client', async () => { right: 42, top: 42, }, - textDirection: "Test string", + textDirection: \\"Test string\\", textFormat: { bold: true, - fontFamily: "Test string", + fontFamily: \\"Test string\\", fontSize: 42, foregroundColor: { alpha: 42, @@ -5429,11 +5432,11 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, italic: true, link: { - uri: "Test string", + uri: \\"Test string\\", }, strikethrough: true, underline: true, @@ -5442,18 +5445,18 @@ gapi.load('client', async () => { angle: 42, vertical: true, }, - verticalAlignment: "Test string", - wrapStrategy: "Test string", + verticalAlignment: \\"Test string\\", + wrapStrategy: \\"Test string\\", }, userEnteredValue: { boolValue: true, errorValue: { - message: "Test string", - type: "Test string", + message: \\"Test string\\", + type: \\"Test string\\", }, - formulaValue: "Test string", + formulaValue: \\"Test string\\", numberValue: 42, - stringValue: "Test string", + stringValue: \\"Test string\\", }, } ], @@ -5468,7 +5471,7 @@ gapi.load('client', async () => { updateChartSpec: { chartId: 42, spec: { - altText: "Test string", + altText: \\"Test string\\", backgroundColor: { alpha: 42, blue: 42, @@ -5482,14 +5485,14 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, basicChart: { axis: [ { format: { bold: true, - fontFamily: "Test string", + fontFamily: \\"Test string\\", fontSize: 42, foregroundColor: { alpha: 42, @@ -5504,39 +5507,39 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, italic: true, link: { - uri: "Test string", + uri: \\"Test string\\", }, strikethrough: true, underline: true, }, - position: "Test string", - title: "Test string", + position: \\"Test string\\", + title: \\"Test string\\", titleTextPosition: { - horizontalAlignment: "Test string", + horizontalAlignment: \\"Test string\\", }, viewWindowOptions: { viewWindowMax: 42, viewWindowMin: 42, - viewWindowMode: "Test string", + viewWindowMode: \\"Test string\\", }, } ], - chartType: "Test string", - compareMode: "Test string", + chartType: \\"Test string\\", + compareMode: \\"Test string\\", domains: [ { domain: { - aggregateType: "Test string", + aggregateType: \\"Test string\\", columnReference: { - name: "Test string", + name: \\"Test string\\", }, groupRule: { dateTimeRule: { - type: "Test string", + type: \\"Test string\\", }, histogramRule: { intervalSize: 42, @@ -5561,7 +5564,7 @@ gapi.load('client', async () => { ], headerCount: 42, interpolateNulls: true, - legendPosition: "Test string", + legendPosition: \\"Test string\\", lineSmoothing: true, series: [ { @@ -5578,17 +5581,17 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, dataLabel: { customLabelData: { - aggregateType: "Test string", + aggregateType: \\"Test string\\", columnReference: { - name: "Test string", + name: \\"Test string\\", }, groupRule: { dateTimeRule: { - type: "Test string", + type: \\"Test string\\", }, histogramRule: { intervalSize: 42, @@ -5608,10 +5611,10 @@ gapi.load('client', async () => { ], }, }, - placement: "Test string", + placement: \\"Test string\\", textFormat: { bold: true, - fontFamily: "Test string", + fontFamily: \\"Test string\\", fontSize: 42, foregroundColor: { alpha: 42, @@ -5626,33 +5629,33 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, italic: true, link: { - uri: "Test string", + uri: \\"Test string\\", }, strikethrough: true, underline: true, }, - type: "Test string", + type: \\"Test string\\", }, lineStyle: { - type: "Test string", + type: \\"Test string\\", width: 42, }, pointStyle: { - shape: "Test string", + shape: \\"Test string\\", size: 42, }, series: { - aggregateType: "Test string", + aggregateType: \\"Test string\\", columnReference: { - name: "Test string", + name: \\"Test string\\", }, groupRule: { dateTimeRule: { - type: "Test string", + type: \\"Test string\\", }, histogramRule: { intervalSize: 42, @@ -5687,30 +5690,30 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, index: 42, pointStyle: { - shape: "Test string", + shape: \\"Test string\\", size: 42, }, } ], - targetAxis: "Test string", - type: "Test string", + targetAxis: \\"Test string\\", + type: \\"Test string\\", } ], - stackedType: "Test string", + stackedType: \\"Test string\\", threeDimensional: true, totalDataLabel: { customLabelData: { - aggregateType: "Test string", + aggregateType: \\"Test string\\", columnReference: { - name: "Test string", + name: \\"Test string\\", }, groupRule: { dateTimeRule: { - type: "Test string", + type: \\"Test string\\", }, histogramRule: { intervalSize: 42, @@ -5730,10 +5733,10 @@ gapi.load('client', async () => { ], }, }, - placement: "Test string", + placement: \\"Test string\\", textFormat: { bold: true, - fontFamily: "Test string", + fontFamily: \\"Test string\\", fontSize: 42, foregroundColor: { alpha: 42, @@ -5748,16 +5751,16 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, italic: true, link: { - uri: "Test string", + uri: \\"Test string\\", }, strikethrough: true, underline: true, }, - type: "Test string", + type: \\"Test string\\", }, }, bubbleChart: { @@ -5774,16 +5777,16 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, bubbleLabels: { - aggregateType: "Test string", + aggregateType: \\"Test string\\", columnReference: { - name: "Test string", + name: \\"Test string\\", }, groupRule: { dateTimeRule: { - type: "Test string", + type: \\"Test string\\", }, histogramRule: { intervalSize: 42, @@ -5807,13 +5810,13 @@ gapi.load('client', async () => { bubbleMinRadiusSize: 42, bubbleOpacity: 42, bubbleSizes: { - aggregateType: "Test string", + aggregateType: \\"Test string\\", columnReference: { - name: "Test string", + name: \\"Test string\\", }, groupRule: { dateTimeRule: { - type: "Test string", + type: \\"Test string\\", }, histogramRule: { intervalSize: 42, @@ -5835,7 +5838,7 @@ gapi.load('client', async () => { }, bubbleTextStyle: { bold: true, - fontFamily: "Test string", + fontFamily: \\"Test string\\", fontSize: 42, foregroundColor: { alpha: 42, @@ -5850,23 +5853,23 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, italic: true, link: { - uri: "Test string", + uri: \\"Test string\\", }, strikethrough: true, underline: true, }, domain: { - aggregateType: "Test string", + aggregateType: \\"Test string\\", columnReference: { - name: "Test string", + name: \\"Test string\\", }, groupRule: { dateTimeRule: { - type: "Test string", + type: \\"Test string\\", }, histogramRule: { intervalSize: 42, @@ -5887,13 +5890,13 @@ gapi.load('client', async () => { }, }, groupIds: { - aggregateType: "Test string", + aggregateType: \\"Test string\\", columnReference: { - name: "Test string", + name: \\"Test string\\", }, groupRule: { dateTimeRule: { - type: "Test string", + type: \\"Test string\\", }, histogramRule: { intervalSize: 42, @@ -5913,15 +5916,15 @@ gapi.load('client', async () => { ], }, }, - legendPosition: "Test string", + legendPosition: \\"Test string\\", series: { - aggregateType: "Test string", + aggregateType: \\"Test string\\", columnReference: { - name: "Test string", + name: \\"Test string\\", }, groupRule: { dateTimeRule: { - type: "Test string", + type: \\"Test string\\", }, histogramRule: { intervalSize: 42, @@ -5947,13 +5950,13 @@ gapi.load('client', async () => { { closeSeries: { data: { - aggregateType: "Test string", + aggregateType: \\"Test string\\", columnReference: { - name: "Test string", + name: \\"Test string\\", }, groupRule: { dateTimeRule: { - type: "Test string", + type: \\"Test string\\", }, histogramRule: { intervalSize: 42, @@ -5976,13 +5979,13 @@ gapi.load('client', async () => { }, highSeries: { data: { - aggregateType: "Test string", + aggregateType: \\"Test string\\", columnReference: { - name: "Test string", + name: \\"Test string\\", }, groupRule: { dateTimeRule: { - type: "Test string", + type: \\"Test string\\", }, histogramRule: { intervalSize: 42, @@ -6005,13 +6008,13 @@ gapi.load('client', async () => { }, lowSeries: { data: { - aggregateType: "Test string", + aggregateType: \\"Test string\\", columnReference: { - name: "Test string", + name: \\"Test string\\", }, groupRule: { dateTimeRule: { - type: "Test string", + type: \\"Test string\\", }, histogramRule: { intervalSize: 42, @@ -6034,13 +6037,13 @@ gapi.load('client', async () => { }, openSeries: { data: { - aggregateType: "Test string", + aggregateType: \\"Test string\\", columnReference: { - name: "Test string", + name: \\"Test string\\", }, groupRule: { dateTimeRule: { - type: "Test string", + type: \\"Test string\\", }, histogramRule: { intervalSize: 42, @@ -6065,13 +6068,13 @@ gapi.load('client', async () => { ], domain: { data: { - aggregateType: "Test string", + aggregateType: \\"Test string\\", columnReference: { - name: "Test string", + name: \\"Test string\\", }, groupRule: { dateTimeRule: { - type: "Test string", + type: \\"Test string\\", }, histogramRule: { intervalSize: 42, @@ -6096,31 +6099,31 @@ gapi.load('client', async () => { }, dataSourceChartProperties: { dataExecutionStatus: { - errorCode: "Test string", - errorMessage: "Test string", - lastRefreshTime: "Test string", - state: "Test string", + errorCode: \\"Test string\\", + errorMessage: \\"Test string\\", + lastRefreshTime: \\"Test string\\", + state: \\"Test string\\", }, - dataSourceId: "Test string", + dataSourceId: \\"Test string\\", }, filterSpecs: [ { columnIndex: 42, dataSourceColumnReference: { - name: "Test string", + name: \\"Test string\\", }, filterCriteria: { condition: { - type: "Test string", + type: \\"Test string\\", values: [ { - relativeDate: "Test string", - userEnteredValue: "Test string", + relativeDate: \\"Test string\\", + userEnteredValue: \\"Test string\\", } ], }, hiddenValues: [ - "Test string" + \\"Test string\\" ], visibleBackgroundColor: { alpha: 42, @@ -6135,7 +6138,7 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, visibleForegroundColor: { alpha: 42, @@ -6150,16 +6153,16 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, }, } ], - fontName: "Test string", - hiddenDimensionStrategy: "Test string", + fontName: \\"Test string\\", + hiddenDimensionStrategy: \\"Test string\\", histogramChart: { bucketSize: 42, - legendPosition: "Test string", + legendPosition: \\"Test string\\", outlierPercentile: 42, series: [ { @@ -6176,16 +6179,16 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, data: { - aggregateType: "Test string", + aggregateType: \\"Test string\\", columnReference: { - name: "Test string", + name: \\"Test string\\", }, groupRule: { dateTimeRule: { - type: "Test string", + type: \\"Test string\\", }, histogramRule: { intervalSize: 42, @@ -6212,13 +6215,13 @@ gapi.load('client', async () => { maximized: true, orgChart: { labels: { - aggregateType: "Test string", + aggregateType: \\"Test string\\", columnReference: { - name: "Test string", + name: \\"Test string\\", }, groupRule: { dateTimeRule: { - type: "Test string", + type: \\"Test string\\", }, histogramRule: { intervalSize: 42, @@ -6251,17 +6254,17 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, - nodeSize: "Test string", + nodeSize: \\"Test string\\", parentLabels: { - aggregateType: "Test string", + aggregateType: \\"Test string\\", columnReference: { - name: "Test string", + name: \\"Test string\\", }, groupRule: { dateTimeRule: { - type: "Test string", + type: \\"Test string\\", }, histogramRule: { intervalSize: 42, @@ -6294,16 +6297,16 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, tooltips: { - aggregateType: "Test string", + aggregateType: \\"Test string\\", columnReference: { - name: "Test string", + name: \\"Test string\\", }, groupRule: { dateTimeRule: { - type: "Test string", + type: \\"Test string\\", }, histogramRule: { intervalSize: 42, @@ -6326,13 +6329,13 @@ gapi.load('client', async () => { }, pieChart: { domain: { - aggregateType: "Test string", + aggregateType: \\"Test string\\", columnReference: { - name: "Test string", + name: \\"Test string\\", }, groupRule: { dateTimeRule: { - type: "Test string", + type: \\"Test string\\", }, histogramRule: { intervalSize: 42, @@ -6352,16 +6355,16 @@ gapi.load('client', async () => { ], }, }, - legendPosition: "Test string", + legendPosition: \\"Test string\\", pieHole: 42, series: { - aggregateType: "Test string", + aggregateType: \\"Test string\\", columnReference: { - name: "Test string", + name: \\"Test string\\", }, groupRule: { dateTimeRule: { - type: "Test string", + type: \\"Test string\\", }, histogramRule: { intervalSize: 42, @@ -6384,15 +6387,15 @@ gapi.load('client', async () => { threeDimensional: true, }, scorecardChart: { - aggregateType: "Test string", + aggregateType: \\"Test string\\", baselineValueData: { - aggregateType: "Test string", + aggregateType: \\"Test string\\", columnReference: { - name: "Test string", + name: \\"Test string\\", }, groupRule: { dateTimeRule: { - type: "Test string", + type: \\"Test string\\", }, histogramRule: { intervalSize: 42, @@ -6413,8 +6416,8 @@ gapi.load('client', async () => { }, }, baselineValueFormat: { - comparisonType: "Test string", - description: "Test string", + comparisonType: \\"Test string\\", + description: \\"Test string\\", negativeColor: { alpha: 42, blue: 42, @@ -6428,10 +6431,10 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, position: { - horizontalAlignment: "Test string", + horizontalAlignment: \\"Test string\\", }, positiveColor: { alpha: 42, @@ -6446,11 +6449,11 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, textFormat: { bold: true, - fontFamily: "Test string", + fontFamily: \\"Test string\\", fontSize: 42, foregroundColor: { alpha: 42, @@ -6465,28 +6468,28 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, italic: true, link: { - uri: "Test string", + uri: \\"Test string\\", }, strikethrough: true, underline: true, }, }, customFormatOptions: { - prefix: "Test string", - suffix: "Test string", + prefix: \\"Test string\\", + suffix: \\"Test string\\", }, keyValueData: { - aggregateType: "Test string", + aggregateType: \\"Test string\\", columnReference: { - name: "Test string", + name: \\"Test string\\", }, groupRule: { dateTimeRule: { - type: "Test string", + type: \\"Test string\\", }, histogramRule: { intervalSize: 42, @@ -6508,11 +6511,11 @@ gapi.load('client', async () => { }, keyValueFormat: { position: { - horizontalAlignment: "Test string", + horizontalAlignment: \\"Test string\\", }, textFormat: { bold: true, - fontFamily: "Test string", + fontFamily: \\"Test string\\", fontSize: 42, foregroundColor: { alpha: 42, @@ -6527,17 +6530,17 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, italic: true, link: { - uri: "Test string", + uri: \\"Test string\\", }, strikethrough: true, underline: true, }, }, - numberFormatSource: "Test string", + numberFormatSource: \\"Test string\\", scaleFactor: 42, }, sortSpecs: [ @@ -6555,10 +6558,10 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, dataSourceColumnReference: { - name: "Test string", + name: \\"Test string\\", }, dimensionIndex: 42, foregroundColor: { @@ -6574,15 +6577,15 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, - sortOrder: "Test string", + sortOrder: \\"Test string\\", } ], - subtitle: "Test string", + subtitle: \\"Test string\\", subtitleTextFormat: { bold: true, - fontFamily: "Test string", + fontFamily: \\"Test string\\", fontSize: 42, foregroundColor: { alpha: 42, @@ -6597,22 +6600,22 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, italic: true, link: { - uri: "Test string", + uri: \\"Test string\\", }, strikethrough: true, underline: true, }, subtitleTextPosition: { - horizontalAlignment: "Test string", + horizontalAlignment: \\"Test string\\", }, - title: "Test string", + title: \\"Test string\\", titleTextFormat: { bold: true, - fontFamily: "Test string", + fontFamily: \\"Test string\\", fontSize: 42, foregroundColor: { alpha: 42, @@ -6627,27 +6630,27 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, italic: true, link: { - uri: "Test string", + uri: \\"Test string\\", }, strikethrough: true, underline: true, }, titleTextPosition: { - horizontalAlignment: "Test string", + horizontalAlignment: \\"Test string\\", }, treemapChart: { colorData: { - aggregateType: "Test string", + aggregateType: \\"Test string\\", columnReference: { - name: "Test string", + name: \\"Test string\\", }, groupRule: { dateTimeRule: { - type: "Test string", + type: \\"Test string\\", }, histogramRule: { intervalSize: 42, @@ -6681,7 +6684,7 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, midValueColor: { alpha: 42, @@ -6696,7 +6699,7 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, minValueColor: { alpha: 42, @@ -6711,7 +6714,7 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, noDataColor: { alpha: 42, @@ -6726,7 +6729,7 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, }, headerColor: { @@ -6742,18 +6745,18 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, hideTooltips: true, hintedLevels: 42, labels: { - aggregateType: "Test string", + aggregateType: \\"Test string\\", columnReference: { - name: "Test string", + name: \\"Test string\\", }, groupRule: { dateTimeRule: { - type: "Test string", + type: \\"Test string\\", }, histogramRule: { intervalSize: 42, @@ -6777,13 +6780,13 @@ gapi.load('client', async () => { maxValue: 42, minValue: 42, parentLabels: { - aggregateType: "Test string", + aggregateType: \\"Test string\\", columnReference: { - name: "Test string", + name: \\"Test string\\", }, groupRule: { dateTimeRule: { - type: "Test string", + type: \\"Test string\\", }, histogramRule: { intervalSize: 42, @@ -6804,13 +6807,13 @@ gapi.load('client', async () => { }, }, sizeData: { - aggregateType: "Test string", + aggregateType: \\"Test string\\", columnReference: { - name: "Test string", + name: \\"Test string\\", }, groupRule: { dateTimeRule: { - type: "Test string", + type: \\"Test string\\", }, histogramRule: { intervalSize: 42, @@ -6832,7 +6835,7 @@ gapi.load('client', async () => { }, textFormat: { bold: true, - fontFamily: "Test string", + fontFamily: \\"Test string\\", fontSize: 42, foregroundColor: { alpha: 42, @@ -6847,11 +6850,11 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, italic: true, link: { - uri: "Test string", + uri: \\"Test string\\", }, strikethrough: true, underline: true, @@ -6859,18 +6862,18 @@ gapi.load('client', async () => { }, waterfallChart: { connectorLineStyle: { - type: "Test string", + type: \\"Test string\\", width: 42, }, domain: { data: { - aggregateType: "Test string", + aggregateType: \\"Test string\\", columnReference: { - name: "Test string", + name: \\"Test string\\", }, groupRule: { dateTimeRule: { - type: "Test string", + type: \\"Test string\\", }, histogramRule: { intervalSize: 42, @@ -6899,18 +6902,18 @@ gapi.load('client', async () => { customSubtotals: [ { dataIsSubtotal: true, - label: "Test string", + label: \\"Test string\\", subtotalIndex: 42, } ], data: { - aggregateType: "Test string", + aggregateType: \\"Test string\\", columnReference: { - name: "Test string", + name: \\"Test string\\", }, groupRule: { dateTimeRule: { - type: "Test string", + type: \\"Test string\\", }, histogramRule: { intervalSize: 42, @@ -6932,13 +6935,13 @@ gapi.load('client', async () => { }, dataLabel: { customLabelData: { - aggregateType: "Test string", + aggregateType: \\"Test string\\", columnReference: { - name: "Test string", + name: \\"Test string\\", }, groupRule: { dateTimeRule: { - type: "Test string", + type: \\"Test string\\", }, histogramRule: { intervalSize: 42, @@ -6958,10 +6961,10 @@ gapi.load('client', async () => { ], }, }, - placement: "Test string", + placement: \\"Test string\\", textFormat: { bold: true, - fontFamily: "Test string", + fontFamily: \\"Test string\\", fontSize: 42, foregroundColor: { alpha: 42, @@ -6976,16 +6979,16 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, italic: true, link: { - uri: "Test string", + uri: \\"Test string\\", }, strikethrough: true, underline: true, }, - type: "Test string", + type: \\"Test string\\", }, hideTrailingSubtotal: true, negativeColumnsStyle: { @@ -7002,9 +7005,9 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, - label: "Test string", + label: \\"Test string\\", }, positiveColumnsStyle: { color: { @@ -7020,9 +7023,9 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, - label: "Test string", + label: \\"Test string\\", }, subtotalColumnsStyle: { color: { @@ -7038,22 +7041,22 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, - label: "Test string", + label: \\"Test string\\", }, } ], - stackedType: "Test string", + stackedType: \\"Test string\\", totalDataLabel: { customLabelData: { - aggregateType: "Test string", + aggregateType: \\"Test string\\", columnReference: { - name: "Test string", + name: \\"Test string\\", }, groupRule: { dateTimeRule: { - type: "Test string", + type: \\"Test string\\", }, histogramRule: { intervalSize: 42, @@ -7073,10 +7076,10 @@ gapi.load('client', async () => { ], }, }, - placement: "Test string", + placement: \\"Test string\\", textFormat: { bold: true, - fontFamily: "Test string", + fontFamily: \\"Test string\\", fontSize: 42, foregroundColor: { alpha: 42, @@ -7091,16 +7094,16 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, italic: true, link: { - uri: "Test string", + uri: \\"Test string\\", }, strikethrough: true, underline: true, }, - type: "Test string", + type: \\"Test string\\", }, }, }, @@ -7111,11 +7114,11 @@ gapi.load('client', async () => { rule: { booleanRule: { condition: { - type: "Test string", + type: \\"Test string\\", values: [ { - relativeDate: "Test string", - userEnteredValue: "Test string", + relativeDate: \\"Test string\\", + userEnteredValue: \\"Test string\\", } ], }, @@ -7133,7 +7136,7 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, borders: { bottom: { @@ -7150,9 +7153,9 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, - style: "Test string", + style: \\"Test string\\", width: 42, }, left: { @@ -7169,9 +7172,9 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, - style: "Test string", + style: \\"Test string\\", width: 42, }, right: { @@ -7188,9 +7191,9 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, - style: "Test string", + style: \\"Test string\\", width: 42, }, top: { @@ -7207,17 +7210,17 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, - style: "Test string", + style: \\"Test string\\", width: 42, }, }, - horizontalAlignment: "Test string", - hyperlinkDisplayType: "Test string", + horizontalAlignment: \\"Test string\\", + hyperlinkDisplayType: \\"Test string\\", numberFormat: { - pattern: "Test string", - type: "Test string", + pattern: \\"Test string\\", + type: \\"Test string\\", }, padding: { bottom: 42, @@ -7225,10 +7228,10 @@ gapi.load('client', async () => { right: 42, top: 42, }, - textDirection: "Test string", + textDirection: \\"Test string\\", textFormat: { bold: true, - fontFamily: "Test string", + fontFamily: \\"Test string\\", fontSize: 42, foregroundColor: { alpha: 42, @@ -7243,11 +7246,11 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, italic: true, link: { - uri: "Test string", + uri: \\"Test string\\", }, strikethrough: true, underline: true, @@ -7256,8 +7259,8 @@ gapi.load('client', async () => { angle: 42, vertical: true, }, - verticalAlignment: "Test string", - wrapStrategy: "Test string", + verticalAlignment: \\"Test string\\", + wrapStrategy: \\"Test string\\", }, }, gradientRule: { @@ -7275,10 +7278,10 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, - type: "Test string", - value: "Test string", + type: \\"Test string\\", + value: \\"Test string\\", }, midpoint: { color: { @@ -7294,10 +7297,10 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, - type: "Test string", - value: "Test string", + type: \\"Test string\\", + value: \\"Test string\\", }, minpoint: { color: { @@ -7313,10 +7316,10 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, - type: "Test string", - value: "Test string", + type: \\"Test string\\", + value: \\"Test string\\", }, }, ranges: [ @@ -7335,30 +7338,30 @@ gapi.load('client', async () => { dataSource: { calculatedColumns: [ { - formula: "Test string", + formula: \\"Test string\\", reference: { - name: "Test string", + name: \\"Test string\\", }, } ], - dataSourceId: "Test string", + dataSourceId: \\"Test string\\", sheetId: 42, spec: { bigQuery: { - projectId: "Test string", + projectId: \\"Test string\\", querySpec: { - rawQuery: "Test string", + rawQuery: \\"Test string\\", }, tableSpec: { - datasetId: "Test string", - tableId: "Test string", - tableProjectId: "Test string", + datasetId: \\"Test string\\", + tableId: \\"Test string\\", + tableProjectId: \\"Test string\\", }, }, parameters: [ { - name: "Test string", - namedRangeId: "Test string", + name: \\"Test string\\", + namedRangeId: \\"Test string\\", range: { endColumnIndex: 42, endRowIndex: 42, @@ -7370,30 +7373,30 @@ gapi.load('client', async () => { ], }, }, - fields: "Test string", + fields: \\"Test string\\", }, updateDeveloperMetadata: { dataFilters: [ { - a1Range: "Test string", + a1Range: \\"Test string\\", developerMetadataLookup: { - locationMatchingStrategy: "Test string", - locationType: "Test string", + locationMatchingStrategy: \\"Test string\\", + locationType: \\"Test string\\", metadataId: 42, - metadataKey: "Test string", + metadataKey: \\"Test string\\", metadataLocation: { dimensionRange: { - dimension: "Test string", + dimension: \\"Test string\\", endIndex: 42, sheetId: 42, startIndex: 42, }, - locationType: "Test string", + locationType: \\"Test string\\", sheetId: 42, spreadsheet: true, }, - metadataValue: "Test string", - visibility: "Test string", + metadataValue: \\"Test string\\", + visibility: \\"Test string\\", }, gridRange: { endColumnIndex: 42, @@ -7407,66 +7410,66 @@ gapi.load('client', async () => { developerMetadata: { location: { dimensionRange: { - dimension: "Test string", + dimension: \\"Test string\\", endIndex: 42, sheetId: 42, startIndex: 42, }, - locationType: "Test string", + locationType: \\"Test string\\", sheetId: 42, spreadsheet: true, }, metadataId: 42, - metadataKey: "Test string", - metadataValue: "Test string", - visibility: "Test string", + metadataKey: \\"Test string\\", + metadataValue: \\"Test string\\", + visibility: \\"Test string\\", }, - fields: "Test string", + fields: \\"Test string\\", }, updateDimensionGroup: { dimensionGroup: { collapsed: true, depth: 42, range: { - dimension: "Test string", + dimension: \\"Test string\\", endIndex: 42, sheetId: 42, startIndex: 42, }, }, - fields: "Test string", + fields: \\"Test string\\", }, updateDimensionProperties: { dataSourceSheetRange: { columnReferences: [ { - name: "Test string", + name: \\"Test string\\", } ], sheetId: 42, }, - fields: "Test string", + fields: \\"Test string\\", properties: { dataSourceColumnReference: { - name: "Test string", + name: \\"Test string\\", }, developerMetadata: [ { location: { dimensionRange: { - dimension: "Test string", + dimension: \\"Test string\\", endIndex: 42, sheetId: 42, startIndex: 42, }, - locationType: "Test string", + locationType: \\"Test string\\", sheetId: 42, spreadsheet: true, }, metadataId: 42, - metadataKey: "Test string", - metadataValue: "Test string", - visibility: "Test string", + metadataKey: \\"Test string\\", + metadataValue: \\"Test string\\", + visibility: \\"Test string\\", } ], hiddenByFilter: true, @@ -7474,7 +7477,7 @@ gapi.load('client', async () => { pixelSize: 42, }, range: { - dimension: "Test string", + dimension: \\"Test string\\", endIndex: 42, sheetId: 42, startIndex: 42, @@ -7495,14 +7498,14 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, }, - fields: "Test string", + fields: \\"Test string\\", objectId: 42, }, updateEmbeddedObjectPosition: { - fields: "Test string", + fields: \\"Test string\\", newPosition: { newSheet: true, overlayPosition: { @@ -7521,21 +7524,21 @@ gapi.load('client', async () => { objectId: 42, }, updateFilterView: { - fields: "Test string", + fields: \\"Test string\\", filter: { criteria: { A: { condition: { - type: "Test string", + type: \\"Test string\\", values: [ { - relativeDate: "Test string", - userEnteredValue: "Test string", + relativeDate: \\"Test string\\", + userEnteredValue: \\"Test string\\", } ], }, hiddenValues: [ - "Test string" + \\"Test string\\" ], visibleBackgroundColor: { alpha: 42, @@ -7550,7 +7553,7 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, visibleForegroundColor: { alpha: 42, @@ -7565,7 +7568,7 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, } }, @@ -7573,20 +7576,20 @@ gapi.load('client', async () => { { columnIndex: 42, dataSourceColumnReference: { - name: "Test string", + name: \\"Test string\\", }, filterCriteria: { condition: { - type: "Test string", + type: \\"Test string\\", values: [ { - relativeDate: "Test string", - userEnteredValue: "Test string", + relativeDate: \\"Test string\\", + userEnteredValue: \\"Test string\\", } ], }, hiddenValues: [ - "Test string" + \\"Test string\\" ], visibleBackgroundColor: { alpha: 42, @@ -7601,7 +7604,7 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, visibleForegroundColor: { alpha: 42, @@ -7616,13 +7619,13 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, }, } ], filterViewId: 42, - namedRangeId: "Test string", + namedRangeId: \\"Test string\\", range: { endColumnIndex: 42, endRowIndex: 42, @@ -7645,10 +7648,10 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, dataSourceColumnReference: { - name: "Test string", + name: \\"Test string\\", }, dimensionIndex: 42, foregroundColor: { @@ -7664,19 +7667,19 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, - sortOrder: "Test string", + sortOrder: \\"Test string\\", } ], - title: "Test string", + title: \\"Test string\\", }, }, updateNamedRange: { - fields: "Test string", + fields: \\"Test string\\", namedRange: { - name: "Test string", - namedRangeId: "Test string", + name: \\"Test string\\", + namedRangeId: \\"Test string\\", range: { endColumnIndex: 42, endRowIndex: 42, @@ -7687,19 +7690,19 @@ gapi.load('client', async () => { }, }, updateProtectedRange: { - fields: "Test string", + fields: \\"Test string\\", protectedRange: { - description: "Test string", + description: \\"Test string\\", editors: { domainUsersCanEdit: true, groups: [ - "Test string" + \\"Test string\\" ], users: [ - "Test string" + \\"Test string\\" ], }, - namedRangeId: "Test string", + namedRangeId: \\"Test string\\", protectedRangeId: 42, range: { endColumnIndex: 42, @@ -7722,24 +7725,24 @@ gapi.load('client', async () => { }, }, updateSheetProperties: { - fields: "Test string", + fields: \\"Test string\\", properties: { dataSourceSheetProperties: { columns: [ { - formula: "Test string", + formula: \\"Test string\\", reference: { - name: "Test string", + name: \\"Test string\\", }, } ], dataExecutionStatus: { - errorCode: "Test string", - errorMessage: "Test string", - lastRefreshTime: "Test string", - state: "Test string", + errorCode: \\"Test string\\", + errorMessage: \\"Test string\\", + lastRefreshTime: \\"Test string\\", + state: \\"Test string\\", }, - dataSourceId: "Test string", + dataSourceId: \\"Test string\\", }, gridProperties: { columnCount: 42, @@ -7754,7 +7757,7 @@ gapi.load('client', async () => { index: 42, rightToLeft: true, sheetId: 42, - sheetType: "Test string", + sheetType: \\"Test string\\", tabColor: { alpha: 42, blue: 42, @@ -7768,13 +7771,13 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, - title: "Test string", + title: \\"Test string\\", }, }, updateSlicerSpec: { - fields: "Test string", + fields: \\"Test string\\", slicerId: 42, spec: { applyToPivotTables: true, @@ -7791,7 +7794,7 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, columnIndex: 42, dataRange: { @@ -7803,16 +7806,16 @@ gapi.load('client', async () => { }, filterCriteria: { condition: { - type: "Test string", + type: \\"Test string\\", values: [ { - relativeDate: "Test string", - userEnteredValue: "Test string", + relativeDate: \\"Test string\\", + userEnteredValue: \\"Test string\\", } ], }, hiddenValues: [ - "Test string" + \\"Test string\\" ], visibleBackgroundColor: { alpha: 42, @@ -7827,7 +7830,7 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, visibleForegroundColor: { alpha: 42, @@ -7842,13 +7845,13 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, }, - horizontalAlignment: "Test string", + horizontalAlignment: \\"Test string\\", textFormat: { bold: true, - fontFamily: "Test string", + fontFamily: \\"Test string\\", fontSize: 42, foregroundColor: { alpha: 42, @@ -7863,22 +7866,22 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, italic: true, link: { - uri: "Test string", + uri: \\"Test string\\", }, strikethrough: true, underline: true, }, - title: "Test string", + title: \\"Test string\\", }, }, updateSpreadsheetProperties: { - fields: "Test string", + fields: \\"Test string\\", properties: { - autoRecalc: "Test string", + autoRecalc: \\"Test string\\", defaultFormat: { backgroundColor: { alpha: 42, @@ -7893,7 +7896,7 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, borders: { bottom: { @@ -7910,9 +7913,9 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, - style: "Test string", + style: \\"Test string\\", width: 42, }, left: { @@ -7929,9 +7932,9 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, - style: "Test string", + style: \\"Test string\\", width: 42, }, right: { @@ -7948,9 +7951,9 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, - style: "Test string", + style: \\"Test string\\", width: 42, }, top: { @@ -7967,17 +7970,17 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, - style: "Test string", + style: \\"Test string\\", width: 42, }, }, - horizontalAlignment: "Test string", - hyperlinkDisplayType: "Test string", + horizontalAlignment: \\"Test string\\", + hyperlinkDisplayType: \\"Test string\\", numberFormat: { - pattern: "Test string", - type: "Test string", + pattern: \\"Test string\\", + type: \\"Test string\\", }, padding: { bottom: 42, @@ -7985,10 +7988,10 @@ gapi.load('client', async () => { right: 42, top: 42, }, - textDirection: "Test string", + textDirection: \\"Test string\\", textFormat: { bold: true, - fontFamily: "Test string", + fontFamily: \\"Test string\\", fontSize: 42, foregroundColor: { alpha: 42, @@ -8003,11 +8006,11 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, italic: true, link: { - uri: "Test string", + uri: \\"Test string\\", }, strikethrough: true, underline: true, @@ -8016,16 +8019,16 @@ gapi.load('client', async () => { angle: 42, vertical: true, }, - verticalAlignment: "Test string", - wrapStrategy: "Test string", + verticalAlignment: \\"Test string\\", + wrapStrategy: \\"Test string\\", }, iterativeCalculationSettings: { convergenceThreshold: 42, maxIterations: 42, }, - locale: "Test string", + locale: \\"Test string\\", spreadsheetTheme: { - primaryFontFamily: "Test string", + primaryFontFamily: \\"Test string\\", themeColors: [ { color: { @@ -8035,21 +8038,21 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, - colorType: "Test string", + colorType: \\"Test string\\", } ], }, - timeZone: "Test string", - title: "Test string", + timeZone: \\"Test string\\", + title: \\"Test string\\", }, }, } ], responseIncludeGridData: true, responseRanges: [ - "Test string" + \\"Test string\\" ], }); /** Creates a spreadsheet, returning the newly created spreadsheet. */ @@ -8059,30 +8062,30 @@ gapi.load('client', async () => { { calculatedColumns: [ { - formula: "Test string", + formula: \\"Test string\\", reference: { - name: "Test string", + name: \\"Test string\\", }, } ], - dataSourceId: "Test string", + dataSourceId: \\"Test string\\", sheetId: 42, spec: { bigQuery: { - projectId: "Test string", + projectId: \\"Test string\\", querySpec: { - rawQuery: "Test string", + rawQuery: \\"Test string\\", }, tableSpec: { - datasetId: "Test string", - tableId: "Test string", - tableProjectId: "Test string", + datasetId: \\"Test string\\", + tableId: \\"Test string\\", + tableProjectId: \\"Test string\\", }, }, parameters: [ { - name: "Test string", - namedRangeId: "Test string", + name: \\"Test string\\", + namedRangeId: \\"Test string\\", range: { endColumnIndex: 42, endRowIndex: 42, @@ -8118,13 +8121,13 @@ gapi.load('client', async () => { }, }, nextRun: { - endTime: "Test string", - startTime: "Test string", + endTime: \\"Test string\\", + startTime: \\"Test string\\", }, - refreshScope: "Test string", + refreshScope: \\"Test string\\", weeklySchedule: { daysOfWeek: [ - "Test string" + \\"Test string\\" ], startTime: { hours: 42, @@ -8139,25 +8142,25 @@ gapi.load('client', async () => { { location: { dimensionRange: { - dimension: "Test string", + dimension: \\"Test string\\", endIndex: 42, sheetId: 42, startIndex: 42, }, - locationType: "Test string", + locationType: \\"Test string\\", sheetId: 42, spreadsheet: true, }, metadataId: 42, - metadataKey: "Test string", - metadataValue: "Test string", - visibility: "Test string", + metadataKey: \\"Test string\\", + metadataValue: \\"Test string\\", + visibility: \\"Test string\\", } ], namedRanges: [ { - name: "Test string", - namedRangeId: "Test string", + name: \\"Test string\\", + namedRangeId: \\"Test string\\", range: { endColumnIndex: 42, endRowIndex: 42, @@ -8168,7 +8171,7 @@ gapi.load('client', async () => { } ], properties: { - autoRecalc: "Test string", + autoRecalc: \\"Test string\\", defaultFormat: { backgroundColor: { alpha: 42, @@ -8183,7 +8186,7 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, borders: { bottom: { @@ -8200,9 +8203,9 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, - style: "Test string", + style: \\"Test string\\", width: 42, }, left: { @@ -8219,9 +8222,9 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, - style: "Test string", + style: \\"Test string\\", width: 42, }, right: { @@ -8238,9 +8241,9 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, - style: "Test string", + style: \\"Test string\\", width: 42, }, top: { @@ -8257,17 +8260,17 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, - style: "Test string", + style: \\"Test string\\", width: 42, }, }, - horizontalAlignment: "Test string", - hyperlinkDisplayType: "Test string", + horizontalAlignment: \\"Test string\\", + hyperlinkDisplayType: \\"Test string\\", numberFormat: { - pattern: "Test string", - type: "Test string", + pattern: \\"Test string\\", + type: \\"Test string\\", }, padding: { bottom: 42, @@ -8275,10 +8278,10 @@ gapi.load('client', async () => { right: 42, top: 42, }, - textDirection: "Test string", + textDirection: \\"Test string\\", textFormat: { bold: true, - fontFamily: "Test string", + fontFamily: \\"Test string\\", fontSize: 42, foregroundColor: { alpha: 42, @@ -8293,11 +8296,11 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, italic: true, link: { - uri: "Test string", + uri: \\"Test string\\", }, strikethrough: true, underline: true, @@ -8306,16 +8309,16 @@ gapi.load('client', async () => { angle: 42, vertical: true, }, - verticalAlignment: "Test string", - wrapStrategy: "Test string", + verticalAlignment: \\"Test string\\", + wrapStrategy: \\"Test string\\", }, iterativeCalculationSettings: { convergenceThreshold: 42, maxIterations: 42, }, - locale: "Test string", + locale: \\"Test string\\", spreadsheetTheme: { - primaryFontFamily: "Test string", + primaryFontFamily: \\"Test string\\", themeColors: [ { color: { @@ -8325,14 +8328,14 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, - colorType: "Test string", + colorType: \\"Test string\\", } ], }, - timeZone: "Test string", - title: "Test string", + timeZone: \\"Test string\\", + title: \\"Test string\\", }, sheets: [ { @@ -8353,7 +8356,7 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, footerColor: { alpha: 42, @@ -8368,7 +8371,7 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, headerColor: { alpha: 42, @@ -8383,7 +8386,7 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, secondBandColor: { alpha: 42, @@ -8398,7 +8401,7 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, }, range: { @@ -8422,7 +8425,7 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, footerColor: { alpha: 42, @@ -8437,7 +8440,7 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, headerColor: { alpha: 42, @@ -8452,7 +8455,7 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, secondBandColor: { alpha: 42, @@ -8467,7 +8470,7 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, }, } @@ -8476,16 +8479,16 @@ gapi.load('client', async () => { criteria: { A: { condition: { - type: "Test string", + type: \\"Test string\\", values: [ { - relativeDate: "Test string", - userEnteredValue: "Test string", + relativeDate: \\"Test string\\", + userEnteredValue: \\"Test string\\", } ], }, hiddenValues: [ - "Test string" + \\"Test string\\" ], visibleBackgroundColor: { alpha: 42, @@ -8500,7 +8503,7 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, visibleForegroundColor: { alpha: 42, @@ -8515,7 +8518,7 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, } }, @@ -8523,20 +8526,20 @@ gapi.load('client', async () => { { columnIndex: 42, dataSourceColumnReference: { - name: "Test string", + name: \\"Test string\\", }, filterCriteria: { condition: { - type: "Test string", + type: \\"Test string\\", values: [ { - relativeDate: "Test string", - userEnteredValue: "Test string", + relativeDate: \\"Test string\\", + userEnteredValue: \\"Test string\\", } ], }, hiddenValues: [ - "Test string" + \\"Test string\\" ], visibleBackgroundColor: { alpha: 42, @@ -8551,7 +8554,7 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, visibleForegroundColor: { alpha: 42, @@ -8566,7 +8569,7 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, }, } @@ -8593,10 +8596,10 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, dataSourceColumnReference: { - name: "Test string", + name: \\"Test string\\", }, dimensionIndex: 42, foregroundColor: { @@ -8612,9 +8615,9 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, - sortOrder: "Test string", + sortOrder: \\"Test string\\", } ], }, @@ -8634,7 +8637,7 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, }, chartId: 42, @@ -8654,7 +8657,7 @@ gapi.load('client', async () => { sheetId: 42, }, spec: { - altText: "Test string", + altText: \\"Test string\\", backgroundColor: { alpha: 42, blue: 42, @@ -8668,14 +8671,14 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, basicChart: { axis: [ { format: { bold: true, - fontFamily: "Test string", + fontFamily: \\"Test string\\", fontSize: 42, foregroundColor: { alpha: 42, @@ -8690,39 +8693,39 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, italic: true, link: { - uri: "Test string", + uri: \\"Test string\\", }, strikethrough: true, underline: true, }, - position: "Test string", - title: "Test string", + position: \\"Test string\\", + title: \\"Test string\\", titleTextPosition: { - horizontalAlignment: "Test string", + horizontalAlignment: \\"Test string\\", }, viewWindowOptions: { viewWindowMax: 42, viewWindowMin: 42, - viewWindowMode: "Test string", + viewWindowMode: \\"Test string\\", }, } ], - chartType: "Test string", - compareMode: "Test string", + chartType: \\"Test string\\", + compareMode: \\"Test string\\", domains: [ { domain: { - aggregateType: "Test string", + aggregateType: \\"Test string\\", columnReference: { - name: "Test string", + name: \\"Test string\\", }, groupRule: { dateTimeRule: { - type: "Test string", + type: \\"Test string\\", }, histogramRule: { intervalSize: 42, @@ -8747,7 +8750,7 @@ gapi.load('client', async () => { ], headerCount: 42, interpolateNulls: true, - legendPosition: "Test string", + legendPosition: \\"Test string\\", lineSmoothing: true, series: [ { @@ -8764,17 +8767,17 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, dataLabel: { customLabelData: { - aggregateType: "Test string", + aggregateType: \\"Test string\\", columnReference: { - name: "Test string", + name: \\"Test string\\", }, groupRule: { dateTimeRule: { - type: "Test string", + type: \\"Test string\\", }, histogramRule: { intervalSize: 42, @@ -8794,10 +8797,10 @@ gapi.load('client', async () => { ], }, }, - placement: "Test string", + placement: \\"Test string\\", textFormat: { bold: true, - fontFamily: "Test string", + fontFamily: \\"Test string\\", fontSize: 42, foregroundColor: { alpha: 42, @@ -8812,33 +8815,33 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, italic: true, link: { - uri: "Test string", + uri: \\"Test string\\", }, strikethrough: true, underline: true, }, - type: "Test string", + type: \\"Test string\\", }, lineStyle: { - type: "Test string", + type: \\"Test string\\", width: 42, }, pointStyle: { - shape: "Test string", + shape: \\"Test string\\", size: 42, }, series: { - aggregateType: "Test string", + aggregateType: \\"Test string\\", columnReference: { - name: "Test string", + name: \\"Test string\\", }, groupRule: { dateTimeRule: { - type: "Test string", + type: \\"Test string\\", }, histogramRule: { intervalSize: 42, @@ -8873,30 +8876,30 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, index: 42, pointStyle: { - shape: "Test string", + shape: \\"Test string\\", size: 42, }, } ], - targetAxis: "Test string", - type: "Test string", + targetAxis: \\"Test string\\", + type: \\"Test string\\", } ], - stackedType: "Test string", + stackedType: \\"Test string\\", threeDimensional: true, totalDataLabel: { customLabelData: { - aggregateType: "Test string", + aggregateType: \\"Test string\\", columnReference: { - name: "Test string", + name: \\"Test string\\", }, groupRule: { dateTimeRule: { - type: "Test string", + type: \\"Test string\\", }, histogramRule: { intervalSize: 42, @@ -8916,10 +8919,10 @@ gapi.load('client', async () => { ], }, }, - placement: "Test string", + placement: \\"Test string\\", textFormat: { bold: true, - fontFamily: "Test string", + fontFamily: \\"Test string\\", fontSize: 42, foregroundColor: { alpha: 42, @@ -8934,16 +8937,16 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, italic: true, link: { - uri: "Test string", + uri: \\"Test string\\", }, strikethrough: true, underline: true, }, - type: "Test string", + type: \\"Test string\\", }, }, bubbleChart: { @@ -8960,16 +8963,16 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, bubbleLabels: { - aggregateType: "Test string", + aggregateType: \\"Test string\\", columnReference: { - name: "Test string", + name: \\"Test string\\", }, groupRule: { dateTimeRule: { - type: "Test string", + type: \\"Test string\\", }, histogramRule: { intervalSize: 42, @@ -8993,13 +8996,13 @@ gapi.load('client', async () => { bubbleMinRadiusSize: 42, bubbleOpacity: 42, bubbleSizes: { - aggregateType: "Test string", + aggregateType: \\"Test string\\", columnReference: { - name: "Test string", + name: \\"Test string\\", }, groupRule: { dateTimeRule: { - type: "Test string", + type: \\"Test string\\", }, histogramRule: { intervalSize: 42, @@ -9021,7 +9024,7 @@ gapi.load('client', async () => { }, bubbleTextStyle: { bold: true, - fontFamily: "Test string", + fontFamily: \\"Test string\\", fontSize: 42, foregroundColor: { alpha: 42, @@ -9036,23 +9039,23 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, italic: true, link: { - uri: "Test string", + uri: \\"Test string\\", }, strikethrough: true, underline: true, }, domain: { - aggregateType: "Test string", + aggregateType: \\"Test string\\", columnReference: { - name: "Test string", + name: \\"Test string\\", }, groupRule: { dateTimeRule: { - type: "Test string", + type: \\"Test string\\", }, histogramRule: { intervalSize: 42, @@ -9073,13 +9076,13 @@ gapi.load('client', async () => { }, }, groupIds: { - aggregateType: "Test string", + aggregateType: \\"Test string\\", columnReference: { - name: "Test string", + name: \\"Test string\\", }, groupRule: { dateTimeRule: { - type: "Test string", + type: \\"Test string\\", }, histogramRule: { intervalSize: 42, @@ -9099,15 +9102,15 @@ gapi.load('client', async () => { ], }, }, - legendPosition: "Test string", + legendPosition: \\"Test string\\", series: { - aggregateType: "Test string", + aggregateType: \\"Test string\\", columnReference: { - name: "Test string", + name: \\"Test string\\", }, groupRule: { dateTimeRule: { - type: "Test string", + type: \\"Test string\\", }, histogramRule: { intervalSize: 42, @@ -9133,13 +9136,13 @@ gapi.load('client', async () => { { closeSeries: { data: { - aggregateType: "Test string", + aggregateType: \\"Test string\\", columnReference: { - name: "Test string", + name: \\"Test string\\", }, groupRule: { dateTimeRule: { - type: "Test string", + type: \\"Test string\\", }, histogramRule: { intervalSize: 42, @@ -9162,13 +9165,13 @@ gapi.load('client', async () => { }, highSeries: { data: { - aggregateType: "Test string", + aggregateType: \\"Test string\\", columnReference: { - name: "Test string", + name: \\"Test string\\", }, groupRule: { dateTimeRule: { - type: "Test string", + type: \\"Test string\\", }, histogramRule: { intervalSize: 42, @@ -9191,13 +9194,13 @@ gapi.load('client', async () => { }, lowSeries: { data: { - aggregateType: "Test string", + aggregateType: \\"Test string\\", columnReference: { - name: "Test string", + name: \\"Test string\\", }, groupRule: { dateTimeRule: { - type: "Test string", + type: \\"Test string\\", }, histogramRule: { intervalSize: 42, @@ -9220,13 +9223,13 @@ gapi.load('client', async () => { }, openSeries: { data: { - aggregateType: "Test string", + aggregateType: \\"Test string\\", columnReference: { - name: "Test string", + name: \\"Test string\\", }, groupRule: { dateTimeRule: { - type: "Test string", + type: \\"Test string\\", }, histogramRule: { intervalSize: 42, @@ -9251,13 +9254,13 @@ gapi.load('client', async () => { ], domain: { data: { - aggregateType: "Test string", + aggregateType: \\"Test string\\", columnReference: { - name: "Test string", + name: \\"Test string\\", }, groupRule: { dateTimeRule: { - type: "Test string", + type: \\"Test string\\", }, histogramRule: { intervalSize: 42, @@ -9282,31 +9285,31 @@ gapi.load('client', async () => { }, dataSourceChartProperties: { dataExecutionStatus: { - errorCode: "Test string", - errorMessage: "Test string", - lastRefreshTime: "Test string", - state: "Test string", + errorCode: \\"Test string\\", + errorMessage: \\"Test string\\", + lastRefreshTime: \\"Test string\\", + state: \\"Test string\\", }, - dataSourceId: "Test string", + dataSourceId: \\"Test string\\", }, filterSpecs: [ { columnIndex: 42, dataSourceColumnReference: { - name: "Test string", + name: \\"Test string\\", }, filterCriteria: { condition: { - type: "Test string", + type: \\"Test string\\", values: [ { - relativeDate: "Test string", - userEnteredValue: "Test string", + relativeDate: \\"Test string\\", + userEnteredValue: \\"Test string\\", } ], }, hiddenValues: [ - "Test string" + \\"Test string\\" ], visibleBackgroundColor: { alpha: 42, @@ -9321,7 +9324,7 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, visibleForegroundColor: { alpha: 42, @@ -9336,16 +9339,16 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, }, } ], - fontName: "Test string", - hiddenDimensionStrategy: "Test string", + fontName: \\"Test string\\", + hiddenDimensionStrategy: \\"Test string\\", histogramChart: { bucketSize: 42, - legendPosition: "Test string", + legendPosition: \\"Test string\\", outlierPercentile: 42, series: [ { @@ -9362,16 +9365,16 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, data: { - aggregateType: "Test string", + aggregateType: \\"Test string\\", columnReference: { - name: "Test string", + name: \\"Test string\\", }, groupRule: { dateTimeRule: { - type: "Test string", + type: \\"Test string\\", }, histogramRule: { intervalSize: 42, @@ -9398,13 +9401,13 @@ gapi.load('client', async () => { maximized: true, orgChart: { labels: { - aggregateType: "Test string", + aggregateType: \\"Test string\\", columnReference: { - name: "Test string", + name: \\"Test string\\", }, groupRule: { dateTimeRule: { - type: "Test string", + type: \\"Test string\\", }, histogramRule: { intervalSize: 42, @@ -9437,17 +9440,17 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, - nodeSize: "Test string", + nodeSize: \\"Test string\\", parentLabels: { - aggregateType: "Test string", + aggregateType: \\"Test string\\", columnReference: { - name: "Test string", + name: \\"Test string\\", }, groupRule: { dateTimeRule: { - type: "Test string", + type: \\"Test string\\", }, histogramRule: { intervalSize: 42, @@ -9480,16 +9483,16 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, tooltips: { - aggregateType: "Test string", + aggregateType: \\"Test string\\", columnReference: { - name: "Test string", + name: \\"Test string\\", }, groupRule: { dateTimeRule: { - type: "Test string", + type: \\"Test string\\", }, histogramRule: { intervalSize: 42, @@ -9512,13 +9515,13 @@ gapi.load('client', async () => { }, pieChart: { domain: { - aggregateType: "Test string", + aggregateType: \\"Test string\\", columnReference: { - name: "Test string", + name: \\"Test string\\", }, groupRule: { dateTimeRule: { - type: "Test string", + type: \\"Test string\\", }, histogramRule: { intervalSize: 42, @@ -9538,16 +9541,16 @@ gapi.load('client', async () => { ], }, }, - legendPosition: "Test string", + legendPosition: \\"Test string\\", pieHole: 42, series: { - aggregateType: "Test string", + aggregateType: \\"Test string\\", columnReference: { - name: "Test string", + name: \\"Test string\\", }, groupRule: { dateTimeRule: { - type: "Test string", + type: \\"Test string\\", }, histogramRule: { intervalSize: 42, @@ -9570,15 +9573,15 @@ gapi.load('client', async () => { threeDimensional: true, }, scorecardChart: { - aggregateType: "Test string", + aggregateType: \\"Test string\\", baselineValueData: { - aggregateType: "Test string", + aggregateType: \\"Test string\\", columnReference: { - name: "Test string", + name: \\"Test string\\", }, groupRule: { dateTimeRule: { - type: "Test string", + type: \\"Test string\\", }, histogramRule: { intervalSize: 42, @@ -9599,8 +9602,8 @@ gapi.load('client', async () => { }, }, baselineValueFormat: { - comparisonType: "Test string", - description: "Test string", + comparisonType: \\"Test string\\", + description: \\"Test string\\", negativeColor: { alpha: 42, blue: 42, @@ -9614,10 +9617,10 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, position: { - horizontalAlignment: "Test string", + horizontalAlignment: \\"Test string\\", }, positiveColor: { alpha: 42, @@ -9632,11 +9635,11 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, textFormat: { bold: true, - fontFamily: "Test string", + fontFamily: \\"Test string\\", fontSize: 42, foregroundColor: { alpha: 42, @@ -9651,28 +9654,28 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, italic: true, link: { - uri: "Test string", + uri: \\"Test string\\", }, strikethrough: true, underline: true, }, }, customFormatOptions: { - prefix: "Test string", - suffix: "Test string", + prefix: \\"Test string\\", + suffix: \\"Test string\\", }, keyValueData: { - aggregateType: "Test string", + aggregateType: \\"Test string\\", columnReference: { - name: "Test string", + name: \\"Test string\\", }, groupRule: { dateTimeRule: { - type: "Test string", + type: \\"Test string\\", }, histogramRule: { intervalSize: 42, @@ -9694,11 +9697,11 @@ gapi.load('client', async () => { }, keyValueFormat: { position: { - horizontalAlignment: "Test string", + horizontalAlignment: \\"Test string\\", }, textFormat: { bold: true, - fontFamily: "Test string", + fontFamily: \\"Test string\\", fontSize: 42, foregroundColor: { alpha: 42, @@ -9713,17 +9716,17 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, italic: true, link: { - uri: "Test string", + uri: \\"Test string\\", }, strikethrough: true, underline: true, }, }, - numberFormatSource: "Test string", + numberFormatSource: \\"Test string\\", scaleFactor: 42, }, sortSpecs: [ @@ -9741,10 +9744,10 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, dataSourceColumnReference: { - name: "Test string", + name: \\"Test string\\", }, dimensionIndex: 42, foregroundColor: { @@ -9760,15 +9763,15 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, - sortOrder: "Test string", + sortOrder: \\"Test string\\", } ], - subtitle: "Test string", + subtitle: \\"Test string\\", subtitleTextFormat: { bold: true, - fontFamily: "Test string", + fontFamily: \\"Test string\\", fontSize: 42, foregroundColor: { alpha: 42, @@ -9783,22 +9786,22 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, italic: true, link: { - uri: "Test string", + uri: \\"Test string\\", }, strikethrough: true, underline: true, }, subtitleTextPosition: { - horizontalAlignment: "Test string", + horizontalAlignment: \\"Test string\\", }, - title: "Test string", + title: \\"Test string\\", titleTextFormat: { bold: true, - fontFamily: "Test string", + fontFamily: \\"Test string\\", fontSize: 42, foregroundColor: { alpha: 42, @@ -9813,27 +9816,27 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, italic: true, link: { - uri: "Test string", + uri: \\"Test string\\", }, strikethrough: true, underline: true, }, titleTextPosition: { - horizontalAlignment: "Test string", + horizontalAlignment: \\"Test string\\", }, treemapChart: { colorData: { - aggregateType: "Test string", + aggregateType: \\"Test string\\", columnReference: { - name: "Test string", + name: \\"Test string\\", }, groupRule: { dateTimeRule: { - type: "Test string", + type: \\"Test string\\", }, histogramRule: { intervalSize: 42, @@ -9867,7 +9870,7 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, midValueColor: { alpha: 42, @@ -9882,7 +9885,7 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, minValueColor: { alpha: 42, @@ -9897,7 +9900,7 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, noDataColor: { alpha: 42, @@ -9912,7 +9915,7 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, }, headerColor: { @@ -9928,18 +9931,18 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, hideTooltips: true, hintedLevels: 42, labels: { - aggregateType: "Test string", + aggregateType: \\"Test string\\", columnReference: { - name: "Test string", + name: \\"Test string\\", }, groupRule: { dateTimeRule: { - type: "Test string", + type: \\"Test string\\", }, histogramRule: { intervalSize: 42, @@ -9963,13 +9966,13 @@ gapi.load('client', async () => { maxValue: 42, minValue: 42, parentLabels: { - aggregateType: "Test string", + aggregateType: \\"Test string\\", columnReference: { - name: "Test string", + name: \\"Test string\\", }, groupRule: { dateTimeRule: { - type: "Test string", + type: \\"Test string\\", }, histogramRule: { intervalSize: 42, @@ -9990,13 +9993,13 @@ gapi.load('client', async () => { }, }, sizeData: { - aggregateType: "Test string", + aggregateType: \\"Test string\\", columnReference: { - name: "Test string", + name: \\"Test string\\", }, groupRule: { dateTimeRule: { - type: "Test string", + type: \\"Test string\\", }, histogramRule: { intervalSize: 42, @@ -10018,7 +10021,7 @@ gapi.load('client', async () => { }, textFormat: { bold: true, - fontFamily: "Test string", + fontFamily: \\"Test string\\", fontSize: 42, foregroundColor: { alpha: 42, @@ -10033,11 +10036,11 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, italic: true, link: { - uri: "Test string", + uri: \\"Test string\\", }, strikethrough: true, underline: true, @@ -10045,18 +10048,18 @@ gapi.load('client', async () => { }, waterfallChart: { connectorLineStyle: { - type: "Test string", + type: \\"Test string\\", width: 42, }, domain: { data: { - aggregateType: "Test string", + aggregateType: \\"Test string\\", columnReference: { - name: "Test string", + name: \\"Test string\\", }, groupRule: { dateTimeRule: { - type: "Test string", + type: \\"Test string\\", }, histogramRule: { intervalSize: 42, @@ -10085,18 +10088,18 @@ gapi.load('client', async () => { customSubtotals: [ { dataIsSubtotal: true, - label: "Test string", + label: \\"Test string\\", subtotalIndex: 42, } ], data: { - aggregateType: "Test string", + aggregateType: \\"Test string\\", columnReference: { - name: "Test string", + name: \\"Test string\\", }, groupRule: { dateTimeRule: { - type: "Test string", + type: \\"Test string\\", }, histogramRule: { intervalSize: 42, @@ -10118,13 +10121,13 @@ gapi.load('client', async () => { }, dataLabel: { customLabelData: { - aggregateType: "Test string", + aggregateType: \\"Test string\\", columnReference: { - name: "Test string", + name: \\"Test string\\", }, groupRule: { dateTimeRule: { - type: "Test string", + type: \\"Test string\\", }, histogramRule: { intervalSize: 42, @@ -10144,10 +10147,10 @@ gapi.load('client', async () => { ], }, }, - placement: "Test string", + placement: \\"Test string\\", textFormat: { bold: true, - fontFamily: "Test string", + fontFamily: \\"Test string\\", fontSize: 42, foregroundColor: { alpha: 42, @@ -10162,16 +10165,16 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, italic: true, link: { - uri: "Test string", + uri: \\"Test string\\", }, strikethrough: true, underline: true, }, - type: "Test string", + type: \\"Test string\\", }, hideTrailingSubtotal: true, negativeColumnsStyle: { @@ -10188,9 +10191,9 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, - label: "Test string", + label: \\"Test string\\", }, positiveColumnsStyle: { color: { @@ -10206,9 +10209,9 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, - label: "Test string", + label: \\"Test string\\", }, subtotalColumnsStyle: { color: { @@ -10224,22 +10227,22 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, - label: "Test string", + label: \\"Test string\\", }, } ], - stackedType: "Test string", + stackedType: \\"Test string\\", totalDataLabel: { customLabelData: { - aggregateType: "Test string", + aggregateType: \\"Test string\\", columnReference: { - name: "Test string", + name: \\"Test string\\", }, groupRule: { dateTimeRule: { - type: "Test string", + type: \\"Test string\\", }, histogramRule: { intervalSize: 42, @@ -10259,10 +10262,10 @@ gapi.load('client', async () => { ], }, }, - placement: "Test string", + placement: \\"Test string\\", textFormat: { bold: true, - fontFamily: "Test string", + fontFamily: \\"Test string\\", fontSize: 42, foregroundColor: { alpha: 42, @@ -10277,16 +10280,16 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, italic: true, link: { - uri: "Test string", + uri: \\"Test string\\", }, strikethrough: true, underline: true, }, - type: "Test string", + type: \\"Test string\\", }, }, }, @@ -10297,7 +10300,7 @@ gapi.load('client', async () => { collapsed: true, depth: 42, range: { - dimension: "Test string", + dimension: \\"Test string\\", endIndex: 42, sheetId: 42, startIndex: 42, @@ -10308,11 +10311,11 @@ gapi.load('client', async () => { { booleanRule: { condition: { - type: "Test string", + type: \\"Test string\\", values: [ { - relativeDate: "Test string", - userEnteredValue: "Test string", + relativeDate: \\"Test string\\", + userEnteredValue: \\"Test string\\", } ], }, @@ -10330,7 +10333,7 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, borders: { bottom: { @@ -10347,9 +10350,9 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, - style: "Test string", + style: \\"Test string\\", width: 42, }, left: { @@ -10366,9 +10369,9 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, - style: "Test string", + style: \\"Test string\\", width: 42, }, right: { @@ -10385,9 +10388,9 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, - style: "Test string", + style: \\"Test string\\", width: 42, }, top: { @@ -10404,17 +10407,17 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, - style: "Test string", + style: \\"Test string\\", width: 42, }, }, - horizontalAlignment: "Test string", - hyperlinkDisplayType: "Test string", + horizontalAlignment: \\"Test string\\", + hyperlinkDisplayType: \\"Test string\\", numberFormat: { - pattern: "Test string", - type: "Test string", + pattern: \\"Test string\\", + type: \\"Test string\\", }, padding: { bottom: 42, @@ -10422,10 +10425,10 @@ gapi.load('client', async () => { right: 42, top: 42, }, - textDirection: "Test string", + textDirection: \\"Test string\\", textFormat: { bold: true, - fontFamily: "Test string", + fontFamily: \\"Test string\\", fontSize: 42, foregroundColor: { alpha: 42, @@ -10440,11 +10443,11 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, italic: true, link: { - uri: "Test string", + uri: \\"Test string\\", }, strikethrough: true, underline: true, @@ -10453,8 +10456,8 @@ gapi.load('client', async () => { angle: 42, vertical: true, }, - verticalAlignment: "Test string", - wrapStrategy: "Test string", + verticalAlignment: \\"Test string\\", + wrapStrategy: \\"Test string\\", }, }, gradientRule: { @@ -10472,10 +10475,10 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, - type: "Test string", - value: "Test string", + type: \\"Test string\\", + value: \\"Test string\\", }, midpoint: { color: { @@ -10491,10 +10494,10 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, - type: "Test string", - value: "Test string", + type: \\"Test string\\", + value: \\"Test string\\", }, minpoint: { color: { @@ -10510,10 +10513,10 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, - type: "Test string", - value: "Test string", + type: \\"Test string\\", + value: \\"Test string\\", }, }, ranges: [ @@ -10532,25 +10535,25 @@ gapi.load('client', async () => { columnMetadata: [ { dataSourceColumnReference: { - name: "Test string", + name: \\"Test string\\", }, developerMetadata: [ { location: { dimensionRange: { - dimension: "Test string", + dimension: \\"Test string\\", endIndex: 42, sheetId: 42, startIndex: 42, }, - locationType: "Test string", + locationType: \\"Test string\\", sheetId: 42, spreadsheet: true, }, metadataId: 42, - metadataKey: "Test string", - metadataValue: "Test string", - visibility: "Test string", + metadataKey: \\"Test string\\", + metadataValue: \\"Test string\\", + visibility: \\"Test string\\", } ], hiddenByFilter: true, @@ -10564,45 +10567,45 @@ gapi.load('client', async () => { { dataSourceFormula: { dataExecutionStatus: { - errorCode: "Test string", - errorMessage: "Test string", - lastRefreshTime: "Test string", - state: "Test string", + errorCode: \\"Test string\\", + errorMessage: \\"Test string\\", + lastRefreshTime: \\"Test string\\", + state: \\"Test string\\", }, - dataSourceId: "Test string", + dataSourceId: \\"Test string\\", }, dataSourceTable: { columns: [ { - name: "Test string", + name: \\"Test string\\", } ], - columnSelectionType: "Test string", + columnSelectionType: \\"Test string\\", dataExecutionStatus: { - errorCode: "Test string", - errorMessage: "Test string", - lastRefreshTime: "Test string", - state: "Test string", + errorCode: \\"Test string\\", + errorMessage: \\"Test string\\", + lastRefreshTime: \\"Test string\\", + state: \\"Test string\\", }, - dataSourceId: "Test string", + dataSourceId: \\"Test string\\", filterSpecs: [ { columnIndex: 42, dataSourceColumnReference: { - name: "Test string", + name: \\"Test string\\", }, filterCriteria: { condition: { - type: "Test string", + type: \\"Test string\\", values: [ { - relativeDate: "Test string", - userEnteredValue: "Test string", + relativeDate: \\"Test string\\", + userEnteredValue: \\"Test string\\", } ], }, hiddenValues: [ - "Test string" + \\"Test string\\" ], visibleBackgroundColor: { alpha: 42, @@ -10617,7 +10620,7 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, visibleForegroundColor: { alpha: 42, @@ -10632,7 +10635,7 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, }, } @@ -10653,10 +10656,10 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, dataSourceColumnReference: { - name: "Test string", + name: \\"Test string\\", }, dimensionIndex: 42, foregroundColor: { @@ -10672,23 +10675,23 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, - sortOrder: "Test string", + sortOrder: \\"Test string\\", } ], }, dataValidation: { condition: { - type: "Test string", + type: \\"Test string\\", values: [ { - relativeDate: "Test string", - userEnteredValue: "Test string", + relativeDate: \\"Test string\\", + userEnteredValue: \\"Test string\\", } ], }, - inputMessage: "Test string", + inputMessage: \\"Test string\\", showCustomUi: true, strict: true, }, @@ -10706,7 +10709,7 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, borders: { bottom: { @@ -10723,9 +10726,9 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, - style: "Test string", + style: \\"Test string\\", width: 42, }, left: { @@ -10742,9 +10745,9 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, - style: "Test string", + style: \\"Test string\\", width: 42, }, right: { @@ -10761,9 +10764,9 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, - style: "Test string", + style: \\"Test string\\", width: 42, }, top: { @@ -10780,17 +10783,17 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, - style: "Test string", + style: \\"Test string\\", width: 42, }, }, - horizontalAlignment: "Test string", - hyperlinkDisplayType: "Test string", + horizontalAlignment: \\"Test string\\", + hyperlinkDisplayType: \\"Test string\\", numberFormat: { - pattern: "Test string", - type: "Test string", + pattern: \\"Test string\\", + type: \\"Test string\\", }, padding: { bottom: 42, @@ -10798,10 +10801,10 @@ gapi.load('client', async () => { right: 42, top: 42, }, - textDirection: "Test string", + textDirection: \\"Test string\\", textFormat: { bold: true, - fontFamily: "Test string", + fontFamily: \\"Test string\\", fontSize: 42, foregroundColor: { alpha: 42, @@ -10816,11 +10819,11 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, italic: true, link: { - uri: "Test string", + uri: \\"Test string\\", }, strikethrough: true, underline: true, @@ -10829,27 +10832,27 @@ gapi.load('client', async () => { angle: 42, vertical: true, }, - verticalAlignment: "Test string", - wrapStrategy: "Test string", + verticalAlignment: \\"Test string\\", + wrapStrategy: \\"Test string\\", }, effectiveValue: { boolValue: true, errorValue: { - message: "Test string", - type: "Test string", + message: \\"Test string\\", + type: \\"Test string\\", }, - formulaValue: "Test string", + formulaValue: \\"Test string\\", numberValue: 42, - stringValue: "Test string", + stringValue: \\"Test string\\", }, - formattedValue: "Test string", - hyperlink: "Test string", - note: "Test string", + formattedValue: \\"Test string\\", + hyperlink: \\"Test string\\", + note: \\"Test string\\", pivotTable: { columns: [ { dataSourceColumnReference: { - name: "Test string", + name: \\"Test string\\", }, groupLimit: { applyOrder: 42, @@ -10857,7 +10860,7 @@ gapi.load('client', async () => { }, groupRule: { dateTimeRule: { - type: "Test string", + type: \\"Test string\\", }, histogramRule: { end: 42, @@ -10870,45 +10873,45 @@ gapi.load('client', async () => { groupName: { boolValue: true, errorValue: { - message: "Test string", - type: "Test string", + message: \\"Test string\\", + type: \\"Test string\\", }, - formulaValue: "Test string", + formulaValue: \\"Test string\\", numberValue: 42, - stringValue: "Test string", + stringValue: \\"Test string\\", }, items: [ { boolValue: true, errorValue: { - message: "Test string", - type: "Test string", + message: \\"Test string\\", + type: \\"Test string\\", }, - formulaValue: "Test string", + formulaValue: \\"Test string\\", numberValue: 42, - stringValue: "Test string", + stringValue: \\"Test string\\", } ], } ], }, }, - label: "Test string", + label: \\"Test string\\", repeatHeadings: true, showTotals: true, - sortOrder: "Test string", + sortOrder: \\"Test string\\", sourceColumnOffset: 42, valueBucket: { buckets: [ { boolValue: true, errorValue: { - message: "Test string", - type: "Test string", + message: \\"Test string\\", + type: \\"Test string\\", }, - formulaValue: "Test string", + formulaValue: \\"Test string\\", numberValue: 42, - stringValue: "Test string", + stringValue: \\"Test string\\", } ], valuesIndex: 42, @@ -10919,12 +10922,12 @@ gapi.load('client', async () => { value: { boolValue: true, errorValue: { - message: "Test string", - type: "Test string", + message: \\"Test string\\", + type: \\"Test string\\", }, - formulaValue: "Test string", + formulaValue: \\"Test string\\", numberValue: 42, - stringValue: "Test string", + stringValue: \\"Test string\\", }, } ], @@ -10933,46 +10936,46 @@ gapi.load('client', async () => { criteria: { A: { condition: { - type: "Test string", + type: \\"Test string\\", values: [ { - relativeDate: "Test string", - userEnteredValue: "Test string", + relativeDate: \\"Test string\\", + userEnteredValue: \\"Test string\\", } ], }, visibleByDefault: true, visibleValues: [ - "Test string" + \\"Test string\\" ], } }, dataExecutionStatus: { - errorCode: "Test string", - errorMessage: "Test string", - lastRefreshTime: "Test string", - state: "Test string", + errorCode: \\"Test string\\", + errorMessage: \\"Test string\\", + lastRefreshTime: \\"Test string\\", + state: \\"Test string\\", }, - dataSourceId: "Test string", + dataSourceId: \\"Test string\\", filterSpecs: [ { columnOffsetIndex: 42, dataSourceColumnReference: { - name: "Test string", + name: \\"Test string\\", }, filterCriteria: { condition: { - type: "Test string", + type: \\"Test string\\", values: [ { - relativeDate: "Test string", - userEnteredValue: "Test string", + relativeDate: \\"Test string\\", + userEnteredValue: \\"Test string\\", } ], }, visibleByDefault: true, visibleValues: [ - "Test string" + \\"Test string\\" ], }, } @@ -10980,7 +10983,7 @@ gapi.load('client', async () => { rows: [ { dataSourceColumnReference: { - name: "Test string", + name: \\"Test string\\", }, groupLimit: { applyOrder: 42, @@ -10988,7 +10991,7 @@ gapi.load('client', async () => { }, groupRule: { dateTimeRule: { - type: "Test string", + type: \\"Test string\\", }, histogramRule: { end: 42, @@ -11001,45 +11004,45 @@ gapi.load('client', async () => { groupName: { boolValue: true, errorValue: { - message: "Test string", - type: "Test string", + message: \\"Test string\\", + type: \\"Test string\\", }, - formulaValue: "Test string", + formulaValue: \\"Test string\\", numberValue: 42, - stringValue: "Test string", + stringValue: \\"Test string\\", }, items: [ { boolValue: true, errorValue: { - message: "Test string", - type: "Test string", + message: \\"Test string\\", + type: \\"Test string\\", }, - formulaValue: "Test string", + formulaValue: \\"Test string\\", numberValue: 42, - stringValue: "Test string", + stringValue: \\"Test string\\", } ], } ], }, }, - label: "Test string", + label: \\"Test string\\", repeatHeadings: true, showTotals: true, - sortOrder: "Test string", + sortOrder: \\"Test string\\", sourceColumnOffset: 42, valueBucket: { buckets: [ { boolValue: true, errorValue: { - message: "Test string", - type: "Test string", + message: \\"Test string\\", + type: \\"Test string\\", }, - formulaValue: "Test string", + formulaValue: \\"Test string\\", numberValue: 42, - stringValue: "Test string", + stringValue: \\"Test string\\", } ], valuesIndex: 42, @@ -11050,12 +11053,12 @@ gapi.load('client', async () => { value: { boolValue: true, errorValue: { - message: "Test string", - type: "Test string", + message: \\"Test string\\", + type: \\"Test string\\", }, - formulaValue: "Test string", + formulaValue: \\"Test string\\", numberValue: 42, - stringValue: "Test string", + stringValue: \\"Test string\\", }, } ], @@ -11068,17 +11071,17 @@ gapi.load('client', async () => { startColumnIndex: 42, startRowIndex: 42, }, - valueLayout: "Test string", + valueLayout: \\"Test string\\", values: [ { - calculatedDisplayType: "Test string", + calculatedDisplayType: \\"Test string\\", dataSourceColumnReference: { - name: "Test string", + name: \\"Test string\\", }, - formula: "Test string", - name: "Test string", + formula: \\"Test string\\", + name: \\"Test string\\", sourceColumnOffset: 42, - summarizeFunction: "Test string", + summarizeFunction: \\"Test string\\", } ], }, @@ -11086,7 +11089,7 @@ gapi.load('client', async () => { { format: { bold: true, - fontFamily: "Test string", + fontFamily: \\"Test string\\", fontSize: 42, foregroundColor: { alpha: 42, @@ -11101,11 +11104,11 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, italic: true, link: { - uri: "Test string", + uri: \\"Test string\\", }, strikethrough: true, underline: true, @@ -11127,7 +11130,7 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, borders: { bottom: { @@ -11144,9 +11147,9 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, - style: "Test string", + style: \\"Test string\\", width: 42, }, left: { @@ -11163,9 +11166,9 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, - style: "Test string", + style: \\"Test string\\", width: 42, }, right: { @@ -11182,9 +11185,9 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, - style: "Test string", + style: \\"Test string\\", width: 42, }, top: { @@ -11201,17 +11204,17 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, - style: "Test string", + style: \\"Test string\\", width: 42, }, }, - horizontalAlignment: "Test string", - hyperlinkDisplayType: "Test string", + horizontalAlignment: \\"Test string\\", + hyperlinkDisplayType: \\"Test string\\", numberFormat: { - pattern: "Test string", - type: "Test string", + pattern: \\"Test string\\", + type: \\"Test string\\", }, padding: { bottom: 42, @@ -11219,10 +11222,10 @@ gapi.load('client', async () => { right: 42, top: 42, }, - textDirection: "Test string", + textDirection: \\"Test string\\", textFormat: { bold: true, - fontFamily: "Test string", + fontFamily: \\"Test string\\", fontSize: 42, foregroundColor: { alpha: 42, @@ -11237,11 +11240,11 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, italic: true, link: { - uri: "Test string", + uri: \\"Test string\\", }, strikethrough: true, underline: true, @@ -11250,18 +11253,18 @@ gapi.load('client', async () => { angle: 42, vertical: true, }, - verticalAlignment: "Test string", - wrapStrategy: "Test string", + verticalAlignment: \\"Test string\\", + wrapStrategy: \\"Test string\\", }, userEnteredValue: { boolValue: true, errorValue: { - message: "Test string", - type: "Test string", + message: \\"Test string\\", + type: \\"Test string\\", }, - formulaValue: "Test string", + formulaValue: \\"Test string\\", numberValue: 42, - stringValue: "Test string", + stringValue: \\"Test string\\", }, } ], @@ -11270,25 +11273,25 @@ gapi.load('client', async () => { rowMetadata: [ { dataSourceColumnReference: { - name: "Test string", + name: \\"Test string\\", }, developerMetadata: [ { location: { dimensionRange: { - dimension: "Test string", + dimension: \\"Test string\\", endIndex: 42, sheetId: 42, startIndex: 42, }, - locationType: "Test string", + locationType: \\"Test string\\", sheetId: 42, spreadsheet: true, }, metadataId: 42, - metadataKey: "Test string", - metadataValue: "Test string", - visibility: "Test string", + metadataKey: \\"Test string\\", + metadataValue: \\"Test string\\", + visibility: \\"Test string\\", } ], hiddenByFilter: true, @@ -11304,19 +11307,19 @@ gapi.load('client', async () => { { location: { dimensionRange: { - dimension: "Test string", + dimension: \\"Test string\\", endIndex: 42, sheetId: 42, startIndex: 42, }, - locationType: "Test string", + locationType: \\"Test string\\", sheetId: 42, spreadsheet: true, }, metadataId: 42, - metadataKey: "Test string", - metadataValue: "Test string", - visibility: "Test string", + metadataKey: \\"Test string\\", + metadataValue: \\"Test string\\", + visibility: \\"Test string\\", } ], filterViews: [ @@ -11324,16 +11327,16 @@ gapi.load('client', async () => { criteria: { A: { condition: { - type: "Test string", + type: \\"Test string\\", values: [ { - relativeDate: "Test string", - userEnteredValue: "Test string", + relativeDate: \\"Test string\\", + userEnteredValue: \\"Test string\\", } ], }, hiddenValues: [ - "Test string" + \\"Test string\\" ], visibleBackgroundColor: { alpha: 42, @@ -11348,7 +11351,7 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, visibleForegroundColor: { alpha: 42, @@ -11363,7 +11366,7 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, } }, @@ -11371,20 +11374,20 @@ gapi.load('client', async () => { { columnIndex: 42, dataSourceColumnReference: { - name: "Test string", + name: \\"Test string\\", }, filterCriteria: { condition: { - type: "Test string", + type: \\"Test string\\", values: [ { - relativeDate: "Test string", - userEnteredValue: "Test string", + relativeDate: \\"Test string\\", + userEnteredValue: \\"Test string\\", } ], }, hiddenValues: [ - "Test string" + \\"Test string\\" ], visibleBackgroundColor: { alpha: 42, @@ -11399,7 +11402,7 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, visibleForegroundColor: { alpha: 42, @@ -11414,13 +11417,13 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, }, } ], filterViewId: 42, - namedRangeId: "Test string", + namedRangeId: \\"Test string\\", range: { endColumnIndex: 42, endRowIndex: 42, @@ -11443,10 +11446,10 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, dataSourceColumnReference: { - name: "Test string", + name: \\"Test string\\", }, dimensionIndex: 42, foregroundColor: { @@ -11462,12 +11465,12 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, - sortOrder: "Test string", + sortOrder: \\"Test string\\", } ], - title: "Test string", + title: \\"Test string\\", } ], merges: [ @@ -11483,19 +11486,19 @@ gapi.load('client', async () => { dataSourceSheetProperties: { columns: [ { - formula: "Test string", + formula: \\"Test string\\", reference: { - name: "Test string", + name: \\"Test string\\", }, } ], dataExecutionStatus: { - errorCode: "Test string", - errorMessage: "Test string", - lastRefreshTime: "Test string", - state: "Test string", + errorCode: \\"Test string\\", + errorMessage: \\"Test string\\", + lastRefreshTime: \\"Test string\\", + state: \\"Test string\\", }, - dataSourceId: "Test string", + dataSourceId: \\"Test string\\", }, gridProperties: { columnCount: 42, @@ -11510,7 +11513,7 @@ gapi.load('client', async () => { index: 42, rightToLeft: true, sheetId: 42, - sheetType: "Test string", + sheetType: \\"Test string\\", tabColor: { alpha: 42, blue: 42, @@ -11524,23 +11527,23 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, - title: "Test string", + title: \\"Test string\\", }, protectedRanges: [ { - description: "Test string", + description: \\"Test string\\", editors: { domainUsersCanEdit: true, groups: [ - "Test string" + \\"Test string\\" ], users: [ - "Test string" + \\"Test string\\" ], }, - namedRangeId: "Test string", + namedRangeId: \\"Test string\\", protectedRangeId: 42, range: { endColumnIndex: 42, @@ -11567,7 +11570,7 @@ gapi.load('client', async () => { collapsed: true, depth: 42, range: { - dimension: "Test string", + dimension: \\"Test string\\", endIndex: 42, sheetId: 42, startIndex: 42, @@ -11607,7 +11610,7 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, columnIndex: 42, dataRange: { @@ -11619,16 +11622,16 @@ gapi.load('client', async () => { }, filterCriteria: { condition: { - type: "Test string", + type: \\"Test string\\", values: [ { - relativeDate: "Test string", - userEnteredValue: "Test string", + relativeDate: \\"Test string\\", + userEnteredValue: \\"Test string\\", } ], }, hiddenValues: [ - "Test string" + \\"Test string\\" ], visibleBackgroundColor: { alpha: 42, @@ -11643,7 +11646,7 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, visibleForegroundColor: { alpha: 42, @@ -11658,13 +11661,13 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, }, - horizontalAlignment: "Test string", + horizontalAlignment: \\"Test string\\", textFormat: { bold: true, - fontFamily: "Test string", + fontFamily: \\"Test string\\", fontSize: 42, foregroundColor: { alpha: 42, @@ -11679,68 +11682,68 @@ gapi.load('client', async () => { green: 42, red: 42, }, - themeColor: "Test string", + themeColor: \\"Test string\\", }, italic: true, link: { - uri: "Test string", + uri: \\"Test string\\", }, strikethrough: true, underline: true, }, - title: "Test string", + title: \\"Test string\\", }, } ], } ], - spreadsheetId: "Test string", - spreadsheetUrl: "Test string", + spreadsheetId: \\"Test string\\", + spreadsheetUrl: \\"Test string\\", }); /** * Returns the spreadsheet at the given ID. The caller must specify the spreadsheet ID. By default, data within grids is not returned. You can include grid data in one of 2 ways: * Specify - * a field mask listing your desired fields using the `fields` URL parameter in HTTP * Set the includeGridData URL parameter to true. If a field mask is set, the `includeGridData` + * a field mask listing your desired fields using the \`fields\` URL parameter in HTTP * Set the includeGridData URL parameter to true. If a field mask is set, the \`includeGridData\` * parameter is ignored For large spreadsheets, as a best practice, retrieve only the specific spreadsheet fields that you want. To retrieve only subsets of spreadsheet data, use the - * ranges URL parameter. Ranges are specified using [A1 notation](/sheets/api/guides/concepts#cell). You can define a single cell (for example, `A1`) or multiple cells (for example, - * `A1:D5`). You can also get cells from other sheets within the same spreadsheet (for example, `Sheet2!A1:C4`) or retrieve multiple ranges at once (for example, - * `?ranges=A1:D5&ranges=Sheet2!A1:C4`). Limiting the range returns only the portions of the spreadsheet that intersect the requested ranges. + * ranges URL parameter. Ranges are specified using [A1 notation](/sheets/api/guides/concepts#cell). You can define a single cell (for example, \`A1\`) or multiple cells (for example, + * \`A1:D5\`). You can also get cells from other sheets within the same spreadsheet (for example, \`Sheet2!A1:C4\`) or retrieve multiple ranges at once (for example, + * \`?ranges=A1:D5&ranges=Sheet2!A1:C4\`). Limiting the range returns only the portions of the spreadsheet that intersect the requested ranges. */ await gapi.client.sheets.spreadsheets.get({ includeGridData: true, - ranges: "Test string", - spreadsheetId: "Test string", + ranges: \\"Test string\\", + spreadsheetId: \\"Test string\\", }); /** * Returns the spreadsheet at the given ID. The caller must specify the spreadsheet ID. This method differs from GetSpreadsheet in that it allows selecting which subsets of spreadsheet * data to return by specifying a dataFilters parameter. Multiple DataFilters can be specified. Specifying one or more data filters returns the portions of the spreadsheet that intersect * ranges matched by any of the filters. By default, data within grids is not returned. You can include grid data one of 2 ways: * Specify a field mask listing your desired fields using - * the `fields` URL parameter in HTTP * Set the includeGridData parameter to true. If a field mask is set, the `includeGridData` parameter is ignored For large spreadsheets, as a best + * the \`fields\` URL parameter in HTTP * Set the includeGridData parameter to true. If a field mask is set, the \`includeGridData\` parameter is ignored For large spreadsheets, as a best * practice, retrieve only the specific spreadsheet fields that you want. */ await gapi.client.sheets.spreadsheets.getByDataFilter({ - spreadsheetId: "Test string", + spreadsheetId: \\"Test string\\", }, { dataFilters: [ { - a1Range: "Test string", + a1Range: \\"Test string\\", developerMetadataLookup: { - locationMatchingStrategy: "Test string", - locationType: "Test string", + locationMatchingStrategy: \\"Test string\\", + locationType: \\"Test string\\", metadataId: 42, - metadataKey: "Test string", + metadataKey: \\"Test string\\", metadataLocation: { dimensionRange: { - dimension: "Test string", + dimension: \\"Test string\\", endIndex: 42, sheetId: 42, startIndex: 42, }, - locationType: "Test string", + locationType: \\"Test string\\", sheetId: 42, spreadsheet: true, }, - metadataValue: "Test string", - visibility: "Test string", + metadataValue: \\"Test string\\", + visibility: \\"Test string\\", }, gridRange: { endColumnIndex: 42, @@ -11756,36 +11759,36 @@ gapi.load('client', async () => { /** Returns the developer metadata with the specified ID. The caller must specify the spreadsheet ID and the developer metadata's unique metadataId. */ await gapi.client.sheets.spreadsheets.developerMetadata.get({ metadataId: 42, - spreadsheetId: "Test string", + spreadsheetId: \\"Test string\\", }); /** * Returns all developer metadata matching the specified DataFilter. If the provided DataFilter represents a DeveloperMetadataLookup object, this will return all DeveloperMetadata entries * selected by it. If the DataFilter represents a location in a spreadsheet, this will return all developer metadata associated with locations intersecting that region. */ await gapi.client.sheets.spreadsheets.developerMetadata.search({ - spreadsheetId: "Test string", + spreadsheetId: \\"Test string\\", }, { dataFilters: [ { - a1Range: "Test string", + a1Range: \\"Test string\\", developerMetadataLookup: { - locationMatchingStrategy: "Test string", - locationType: "Test string", + locationMatchingStrategy: \\"Test string\\", + locationType: \\"Test string\\", metadataId: 42, - metadataKey: "Test string", + metadataKey: \\"Test string\\", metadataLocation: { dimensionRange: { - dimension: "Test string", + dimension: \\"Test string\\", endIndex: 42, sheetId: 42, startIndex: 42, }, - locationType: "Test string", + locationType: \\"Test string\\", sheetId: 42, spreadsheet: true, }, - metadataValue: "Test string", - visibility: "Test string", + metadataValue: \\"Test string\\", + visibility: \\"Test string\\", }, gridRange: { endColumnIndex: 42, @@ -11800,27 +11803,27 @@ gapi.load('client', async () => { /** Copies a single sheet from a spreadsheet to another spreadsheet. Returns the properties of the newly created sheet. */ await gapi.client.sheets.spreadsheets.sheets.copyTo({ sheetId: 42, - spreadsheetId: "Test string", + spreadsheetId: \\"Test string\\", }, { - destinationSpreadsheetId: "Test string", + destinationSpreadsheetId: \\"Test string\\", }); /** - * Appends values to a spreadsheet. The input range is used to search for existing data and find a "table" within that range. Values will be appended to the next row of the table, starting + * Appends values to a spreadsheet. The input range is used to search for existing data and find a \\"table\\" within that range. Values will be appended to the next row of the table, starting * with the first column of the table. See the [guide](/sheets/api/guides/values#appending_values) and [sample code](/sheets/api/samples/writing#append_values) for specific details of how - * tables are detected and data is appended. The caller must specify the spreadsheet ID, range, and a valueInputOption. The `valueInputOption` only controls how the input data will be + * tables are detected and data is appended. The caller must specify the spreadsheet ID, range, and a valueInputOption. The \`valueInputOption\` only controls how the input data will be * added to the sheet (column-wise or row-wise), it does not influence what cell the data starts being written to. */ await gapi.client.sheets.spreadsheets.values.append({ includeValuesInResponse: true, - insertDataOption: "Test string", - range: "Test string", - responseDateTimeRenderOption: "Test string", - responseValueRenderOption: "Test string", - spreadsheetId: "Test string", - valueInputOption: "Test string", + insertDataOption: \\"Test string\\", + range: \\"Test string\\", + responseDateTimeRenderOption: \\"Test string\\", + responseValueRenderOption: \\"Test string\\", + spreadsheetId: \\"Test string\\", + valueInputOption: \\"Test string\\", }, { - majorDimension: "Test string", - range: "Test string", + majorDimension: \\"Test string\\", + range: \\"Test string\\", values: [ [ 42 @@ -11832,10 +11835,10 @@ gapi.load('client', async () => { * (such as formatting and data validation) are kept. */ await gapi.client.sheets.spreadsheets.values.batchClear({ - spreadsheetId: "Test string", + spreadsheetId: \\"Test string\\", }, { ranges: [ - "Test string" + \\"Test string\\" ], }); /** @@ -11843,29 +11846,29 @@ gapi.load('client', async () => { * cleared. Only values are cleared -- all other properties of the cell (such as formatting, data validation, etc..) are kept. */ await gapi.client.sheets.spreadsheets.values.batchClearByDataFilter({ - spreadsheetId: "Test string", + spreadsheetId: \\"Test string\\", }, { dataFilters: [ { - a1Range: "Test string", + a1Range: \\"Test string\\", developerMetadataLookup: { - locationMatchingStrategy: "Test string", - locationType: "Test string", + locationMatchingStrategy: \\"Test string\\", + locationType: \\"Test string\\", metadataId: 42, - metadataKey: "Test string", + metadataKey: \\"Test string\\", metadataLocation: { dimensionRange: { - dimension: "Test string", + dimension: \\"Test string\\", endIndex: 42, sheetId: 42, startIndex: 42, }, - locationType: "Test string", + locationType: \\"Test string\\", sheetId: 42, spreadsheet: true, }, - metadataValue: "Test string", - visibility: "Test string", + metadataValue: \\"Test string\\", + visibility: \\"Test string\\", }, gridRange: { endColumnIndex: 42, @@ -11879,40 +11882,40 @@ gapi.load('client', async () => { }); /** Returns one or more ranges of values from a spreadsheet. The caller must specify the spreadsheet ID and one or more ranges. */ await gapi.client.sheets.spreadsheets.values.batchGet({ - dateTimeRenderOption: "Test string", - majorDimension: "Test string", - ranges: "Test string", - spreadsheetId: "Test string", - valueRenderOption: "Test string", + dateTimeRenderOption: \\"Test string\\", + majorDimension: \\"Test string\\", + ranges: \\"Test string\\", + spreadsheetId: \\"Test string\\", + valueRenderOption: \\"Test string\\", }); /** * Returns one or more ranges of values that match the specified data filters. The caller must specify the spreadsheet ID and one or more DataFilters. Ranges that match any of the data * filters in the request will be returned. */ await gapi.client.sheets.spreadsheets.values.batchGetByDataFilter({ - spreadsheetId: "Test string", + spreadsheetId: \\"Test string\\", }, { dataFilters: [ { - a1Range: "Test string", + a1Range: \\"Test string\\", developerMetadataLookup: { - locationMatchingStrategy: "Test string", - locationType: "Test string", + locationMatchingStrategy: \\"Test string\\", + locationType: \\"Test string\\", metadataId: 42, - metadataKey: "Test string", + metadataKey: \\"Test string\\", metadataLocation: { dimensionRange: { - dimension: "Test string", + dimension: \\"Test string\\", endIndex: 42, sheetId: 42, startIndex: 42, }, - locationType: "Test string", + locationType: \\"Test string\\", sheetId: 42, spreadsheet: true, }, - metadataValue: "Test string", - visibility: "Test string", + metadataValue: \\"Test string\\", + visibility: \\"Test string\\", }, gridRange: { endColumnIndex: 42, @@ -11923,18 +11926,18 @@ gapi.load('client', async () => { }, } ], - dateTimeRenderOption: "Test string", - majorDimension: "Test string", - valueRenderOption: "Test string", + dateTimeRenderOption: \\"Test string\\", + majorDimension: \\"Test string\\", + valueRenderOption: \\"Test string\\", }); /** Sets values in one or more ranges of a spreadsheet. The caller must specify the spreadsheet ID, a valueInputOption, and one or more ValueRanges. */ await gapi.client.sheets.spreadsheets.values.batchUpdate({ - spreadsheetId: "Test string", + spreadsheetId: \\"Test string\\", }, { data: [ { - majorDimension: "Test string", - range: "Test string", + majorDimension: \\"Test string\\", + range: \\"Test string\\", values: [ [ 42 @@ -11943,36 +11946,36 @@ gapi.load('client', async () => { } ], includeValuesInResponse: true, - responseDateTimeRenderOption: "Test string", - responseValueRenderOption: "Test string", - valueInputOption: "Test string", + responseDateTimeRenderOption: \\"Test string\\", + responseValueRenderOption: \\"Test string\\", + valueInputOption: \\"Test string\\", }); /** Sets values in one or more ranges of a spreadsheet. The caller must specify the spreadsheet ID, a valueInputOption, and one or more DataFilterValueRanges. */ await gapi.client.sheets.spreadsheets.values.batchUpdateByDataFilter({ - spreadsheetId: "Test string", + spreadsheetId: \\"Test string\\", }, { data: [ { dataFilter: { - a1Range: "Test string", + a1Range: \\"Test string\\", developerMetadataLookup: { - locationMatchingStrategy: "Test string", - locationType: "Test string", + locationMatchingStrategy: \\"Test string\\", + locationType: \\"Test string\\", metadataId: 42, - metadataKey: "Test string", + metadataKey: \\"Test string\\", metadataLocation: { dimensionRange: { - dimension: "Test string", + dimension: \\"Test string\\", endIndex: 42, sheetId: 42, startIndex: 42, }, - locationType: "Test string", + locationType: \\"Test string\\", sheetId: 42, spreadsheet: true, }, - metadataValue: "Test string", - visibility: "Test string", + metadataValue: \\"Test string\\", + visibility: \\"Test string\\", }, gridRange: { endColumnIndex: 42, @@ -11982,7 +11985,7 @@ gapi.load('client', async () => { startRowIndex: 42, }, }, - majorDimension: "Test string", + majorDimension: \\"Test string\\", values: [ [ 42 @@ -11991,38 +11994,38 @@ gapi.load('client', async () => { } ], includeValuesInResponse: true, - responseDateTimeRenderOption: "Test string", - responseValueRenderOption: "Test string", - valueInputOption: "Test string", + responseDateTimeRenderOption: \\"Test string\\", + responseValueRenderOption: \\"Test string\\", + valueInputOption: \\"Test string\\", }); /** * Clears values from a spreadsheet. The caller must specify the spreadsheet ID and range. Only values are cleared -- all other properties of the cell (such as formatting, data validation, * etc..) are kept. */ await gapi.client.sheets.spreadsheets.values.clear({ - range: "Test string", - spreadsheetId: "Test string", + range: \\"Test string\\", + spreadsheetId: \\"Test string\\", }, { }); /** Returns a range of values from a spreadsheet. The caller must specify the spreadsheet ID and a range. */ await gapi.client.sheets.spreadsheets.values.get({ - dateTimeRenderOption: "Test string", - majorDimension: "Test string", - range: "Test string", - spreadsheetId: "Test string", - valueRenderOption: "Test string", + dateTimeRenderOption: \\"Test string\\", + majorDimension: \\"Test string\\", + range: \\"Test string\\", + spreadsheetId: \\"Test string\\", + valueRenderOption: \\"Test string\\", }); /** Sets values in a range of a spreadsheet. The caller must specify the spreadsheet ID, range, and a valueInputOption. */ await gapi.client.sheets.spreadsheets.values.update({ includeValuesInResponse: true, - range: "Test string", - responseDateTimeRenderOption: "Test string", - responseValueRenderOption: "Test string", - spreadsheetId: "Test string", - valueInputOption: "Test string", + range: \\"Test string\\", + responseDateTimeRenderOption: \\"Test string\\", + responseValueRenderOption: \\"Test string\\", + spreadsheetId: \\"Test string\\", + valueInputOption: \\"Test string\\", }, { - majorDimension: "Test string", - range: "Test string", + majorDimension: \\"Test string\\", + range: \\"Test string\\", values: [ [ 42 @@ -12031,3 +12034,5 @@ gapi.load('client', async () => { }); } }); +" +`; diff --git a/test/restDocs/snapshots/gapi.client.sheets-v4/tsconfig.json b/test/restDocs/snapshots/gapi.client.sheets-v4/tsconfig.json deleted file mode 100644 index d5540261de..0000000000 --- a/test/restDocs/snapshots/gapi.client.sheets-v4/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "module": "commonjs", - "lib": ["es6", "dom"], - "noImplicitAny": true, - "noImplicitThis": true, - "strictNullChecks": true, - "baseUrl": "../", - "typeRoots": [ - "../" - ], - "types": [], - "noEmit": true, - "forceConsistentCasingInFileNames": true, - "strictFunctionTypes": true - }, - "files": ["index.d.ts", "tests.ts"] -} diff --git a/test/restDocs/snapshots/gapi.client.sheets-v4/tsconfig.json.shot b/test/restDocs/snapshots/gapi.client.sheets-v4/tsconfig.json.shot new file mode 100644 index 0000000000..7ce823b447 --- /dev/null +++ b/test/restDocs/snapshots/gapi.client.sheets-v4/tsconfig.json.shot @@ -0,0 +1,23 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`sheets works: sheets works 1`] = ` +"{ + \\"compilerOptions\\": { + \\"module\\": \\"commonjs\\", + \\"lib\\": [\\"es6\\", \\"dom\\"], + \\"noImplicitAny\\": true, + \\"noImplicitThis\\": true, + \\"strictNullChecks\\": true, + \\"baseUrl\\": \\"../\\", + \\"typeRoots\\": [ + \\"../\\" + ], + \\"types\\": [], + \\"noEmit\\": true, + \\"forceConsistentCasingInFileNames\\": true, + \\"strictFunctionTypes\\": true + }, + \\"files\\": [\\"index.d.ts\\", \\"tests.ts\\"] +} +" +`; diff --git a/test/restDocs/snapshots/gapi.client.sheets-v4/tslint.json b/test/restDocs/snapshots/gapi.client.sheets-v4/tslint.json deleted file mode 100644 index 1598764131..0000000000 --- a/test/restDocs/snapshots/gapi.client.sheets-v4/tslint.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "dtslint/dtslint.json", - "rules": { - "no-redundant-jsdoc": false - } -} diff --git a/test/restDocs/snapshots/gapi.client.sheets-v4/tslint.json.shot b/test/restDocs/snapshots/gapi.client.sheets-v4/tslint.json.shot new file mode 100644 index 0000000000..d188f79cdc --- /dev/null +++ b/test/restDocs/snapshots/gapi.client.sheets-v4/tslint.json.shot @@ -0,0 +1,11 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`sheets works: sheets works 1`] = ` +"{ + \\"extends\\": \\"dtslint/dtslint.json\\", + \\"rules\\": { + \\"no-redundant-jsdoc\\": false + } +} +" +`; diff --git a/test/restDocs/snapshots/gapi.client.some-name-v1/.npmrc b/test/restDocs/snapshots/gapi.client.some-name-v1/.npmrc deleted file mode 100644 index 0063b50cfd..0000000000 --- a/test/restDocs/snapshots/gapi.client.some-name-v1/.npmrc +++ /dev/null @@ -1 +0,0 @@ -//registry.npmjs.org/:_authToken=${NPM_PUBLISH_AUTOMATION_TOKEN} diff --git a/test/restDocs/snapshots/gapi.client.some-name-v1/.npmrc.shot b/test/restDocs/snapshots/gapi.client.some-name-v1/.npmrc.shot new file mode 100644 index 0000000000..61bb09985e --- /dev/null +++ b/test/restDocs/snapshots/gapi.client.some-name-v1/.npmrc.shot @@ -0,0 +1,6 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`uses method ID instead of resource name/key: uses method ID instead of resource name/key 1`] = ` +"//registry.npmjs.org/:_authToken=\${NPM_PUBLISH_AUTOMATION_TOKEN} +" +`; diff --git a/test/restDocs/snapshots/gapi.client.some-name-v1/index.d.ts b/test/restDocs/snapshots/gapi.client.some-name-v1/index.d.ts.shot similarity index 67% rename from test/restDocs/snapshots/gapi.client.some-name-v1/index.d.ts rename to test/restDocs/snapshots/gapi.client.some-name-v1/index.d.ts.shot index e80399d617..1df99d9892 100644 --- a/test/restDocs/snapshots/gapi.client.some-name-v1/index.d.ts +++ b/test/restDocs/snapshots/gapi.client.some-name-v1/index.d.ts.shot @@ -1,4 +1,7 @@ -/* Type definitions for non-npm package Some Name v1 0.0 */ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`uses method ID instead of resource name/key: uses method ID instead of resource name/key 1`] = ` +"/* Type definitions for non-npm package Some Name v1 0.0 */ // Project: bla // Definitions by: Maxim Mazurok // Nick Amoscato @@ -11,15 +14,15 @@ // Generated from: http://x.com/ // Revision: undefined -/// +/// declare namespace gapi.client { /** Load Some Name v1 */ - function load(urlOrObject: "http://x.com/"): Promise; + function load(urlOrObject: \\"http://x.com/\\"): Promise; /** @deprecated Please load APIs with discovery documents. */ - function load(name: "some-name", version: "v1"): Promise; + function load(name: \\"some-name\\", version: \\"v1\\"): Promise; /** @deprecated Please load APIs with discovery documents. */ - function load(name: "some-name", version: "v1", callback: () => any): void; + function load(name: \\"some-name\\", version: \\"v1\\", callback: () => any): void; namespace thirdNamespace { interface FirstResourceResource { @@ -30,3 +33,5 @@ declare namespace gapi.client { const firstResource: FirstResourceResource; } } +" +`; diff --git a/test/restDocs/snapshots/gapi.client.some-name-v1/package.json b/test/restDocs/snapshots/gapi.client.some-name-v1/package.json deleted file mode 100644 index fbc085cf40..0000000000 --- a/test/restDocs/snapshots/gapi.client.some-name-v1/package.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "name": "@maxim_mazurok/gapi.client.some-name-v1", - "version": "0.0.undefined", - "description": "TypeScript typings for Some Name v1", - "license": "MIT", - "author": { - "email": "maxim@mazurok.com", - "name": "Maxim Mazurok", - "url": "https://maxim.mazurok.com" - }, - "repository": { - "type": "git", - "url": "https://github.com/Maxim-Mazurok/google-api-typings-generator.git" - }, - "types": "index.d.ts", - "dependencies": { - "@types/gapi.client": "*", - "@types/gapi.client.discovery": "*" - } -} diff --git a/test/restDocs/snapshots/gapi.client.some-name-v1/package.json.shot b/test/restDocs/snapshots/gapi.client.some-name-v1/package.json.shot new file mode 100644 index 0000000000..358453e60d --- /dev/null +++ b/test/restDocs/snapshots/gapi.client.some-name-v1/package.json.shot @@ -0,0 +1,25 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`uses method ID instead of resource name/key: uses method ID instead of resource name/key 1`] = ` +"{ + \\"name\\": \\"@maxim_mazurok/gapi.client.some-name-v1\\", + \\"version\\": \\"0.0.undefined\\", + \\"description\\": \\"TypeScript typings for Some Name v1\\", + \\"license\\": \\"MIT\\", + \\"author\\": { + \\"email\\": \\"maxim@mazurok.com\\", + \\"name\\": \\"Maxim Mazurok\\", + \\"url\\": \\"https://maxim.mazurok.com\\" + }, + \\"repository\\": { + \\"type\\": \\"git\\", + \\"url\\": \\"https://github.com/Maxim-Mazurok/google-api-typings-generator.git\\" + }, + \\"types\\": \\"index.d.ts\\", + \\"dependencies\\": { + \\"@types/gapi.client\\": \\"*\\", + \\"@types/gapi.client.discovery\\": \\"*\\" + } +} +" +`; diff --git a/test/restDocs/snapshots/gapi.client.some-name-v1/readme.md b/test/restDocs/snapshots/gapi.client.some-name-v1/readme.md.shot similarity index 74% rename from test/restDocs/snapshots/gapi.client.some-name-v1/readme.md rename to test/restDocs/snapshots/gapi.client.some-name-v1/readme.md.shot index 98e94d5025..d0b60aca6e 100644 --- a/test/restDocs/snapshots/gapi.client.some-name-v1/readme.md +++ b/test/restDocs/snapshots/gapi.client.some-name-v1/readme.md.shot @@ -1,4 +1,7 @@ -# TypeScript typings for Some Name v1 +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`uses method ID instead of resource name/key: uses method ID instead of resource name/key 1`] = ` +"# TypeScript typings for Some Name v1 undefined For detailed description please check [documentation](bla). @@ -7,46 +10,48 @@ For detailed description please check [documentation](bla). Install typings for Some Name: -``` +\`\`\` npm install @types/gapi.client.some-name-v1 --save-dev -``` +\`\`\` ## Usage You need to initialize Google API client in your code: -```typescript +\`\`\`typescript gapi.load('client', () => { // now we can use gapi.client // ... }); -``` +\`\`\` Then load api client wrapper: -```typescript +\`\`\`typescript gapi.client.load('http://x.com/', () => { // now we can use: // gapi.client.thirdNamespace }); -``` +\`\`\` -```typescript +\`\`\`typescript // Deprecated, use discovery document URL, see https://github.com/google/google-api-javascript-client/blob/master/docs/reference.md#----gapiclientloadname----version----callback-- gapi.client.load('some-name', 'v1', () => { // now we can use: // gapi.client.thirdNamespace }); -``` +\`\`\` After that you can use Some Name resources: -```typescript +\`\`\`typescript /* undefined */ await gapi.client.thirdNamespace.firstMethod({ }); -``` +\`\`\` +" +`; diff --git a/test/restDocs/snapshots/gapi.client.some-name-v1/tests.ts b/test/restDocs/snapshots/gapi.client.some-name-v1/tests.ts.shot similarity index 71% rename from test/restDocs/snapshots/gapi.client.some-name-v1/tests.ts rename to test/restDocs/snapshots/gapi.client.some-name-v1/tests.ts.shot index e4f2c284aa..ef59637a28 100644 --- a/test/restDocs/snapshots/gapi.client.some-name-v1/tests.ts +++ b/test/restDocs/snapshots/gapi.client.some-name-v1/tests.ts.shot @@ -1,4 +1,7 @@ -/* This is stub file for gapi.client.some-name-v1 definition tests */ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`uses method ID instead of resource name/key: uses method ID instead of resource name/key 1`] = ` +"/* This is stub file for gapi.client.some-name-v1 definition tests */ // IMPORTANT // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually. // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator @@ -17,3 +20,5 @@ gapi.load('client', async () => { await gapi.client.thirdNamespace.firstResource.firstMethod(); } }); +" +`; diff --git a/test/restDocs/snapshots/gapi.client.some-name-v1/tsconfig.json b/test/restDocs/snapshots/gapi.client.some-name-v1/tsconfig.json deleted file mode 100644 index d5540261de..0000000000 --- a/test/restDocs/snapshots/gapi.client.some-name-v1/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "module": "commonjs", - "lib": ["es6", "dom"], - "noImplicitAny": true, - "noImplicitThis": true, - "strictNullChecks": true, - "baseUrl": "../", - "typeRoots": [ - "../" - ], - "types": [], - "noEmit": true, - "forceConsistentCasingInFileNames": true, - "strictFunctionTypes": true - }, - "files": ["index.d.ts", "tests.ts"] -} diff --git a/test/restDocs/snapshots/gapi.client.some-name-v1/tsconfig.json.shot b/test/restDocs/snapshots/gapi.client.some-name-v1/tsconfig.json.shot new file mode 100644 index 0000000000..90a9435845 --- /dev/null +++ b/test/restDocs/snapshots/gapi.client.some-name-v1/tsconfig.json.shot @@ -0,0 +1,23 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`uses method ID instead of resource name/key: uses method ID instead of resource name/key 1`] = ` +"{ + \\"compilerOptions\\": { + \\"module\\": \\"commonjs\\", + \\"lib\\": [\\"es6\\", \\"dom\\"], + \\"noImplicitAny\\": true, + \\"noImplicitThis\\": true, + \\"strictNullChecks\\": true, + \\"baseUrl\\": \\"../\\", + \\"typeRoots\\": [ + \\"../\\" + ], + \\"types\\": [], + \\"noEmit\\": true, + \\"forceConsistentCasingInFileNames\\": true, + \\"strictFunctionTypes\\": true + }, + \\"files\\": [\\"index.d.ts\\", \\"tests.ts\\"] +} +" +`; diff --git a/test/restDocs/snapshots/gapi.client.some-name-v1/tslint.json b/test/restDocs/snapshots/gapi.client.some-name-v1/tslint.json deleted file mode 100644 index 1598764131..0000000000 --- a/test/restDocs/snapshots/gapi.client.some-name-v1/tslint.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "dtslint/dtslint.json", - "rules": { - "no-redundant-jsdoc": false - } -} diff --git a/test/restDocs/snapshots/gapi.client.some-name-v1/tslint.json.shot b/test/restDocs/snapshots/gapi.client.some-name-v1/tslint.json.shot new file mode 100644 index 0000000000..0bea023844 --- /dev/null +++ b/test/restDocs/snapshots/gapi.client.some-name-v1/tslint.json.shot @@ -0,0 +1,11 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`uses method ID instead of resource name/key: uses method ID instead of resource name/key 1`] = ` +"{ + \\"extends\\": \\"dtslint/dtslint.json\\", + \\"rules\\": { + \\"no-redundant-jsdoc\\": false + } +} +" +`; diff --git a/test/restDocs/test.spec.ts b/test/restDocs/test.spec.ts index bf990e3995..09b8f5f6bb 100644 --- a/test/restDocs/test.spec.ts +++ b/test/restDocs/test.spec.ts @@ -1,16 +1,25 @@ -// cspell:word colordiff - -import assert from 'node:assert'; -import {execSync, spawnSync} from 'node:child_process'; -import {readFileSync} from 'node:fs'; +import {execSync} from 'node:child_process'; +import {readdirSync, readFileSync} from 'node:fs'; import {dirname, join} from 'node:path'; import {fileURLToPath} from 'node:url'; import {App} from '../../src/app.js'; import {App as DtApp} from '../../src/dt/app.js'; import {RestDescription} from '../../src/discovery.js'; import {getPackageName, getPackageNameLegacy} from '../../src/utils.js'; +import {toMatchSpecificSnapshot as _toMatchSpecificSnapshot} from 'jest-specific-snapshot'; const __dirname = dirname(fileURLToPath(import.meta.url)); +expect.extend({ + toMatchSpecificSnapshot(received, snapshotFile) { + return _toMatchSpecificSnapshot.call( + this, + received.toString(), + snapshotFile, + this.currentTestName || '' + ) as never; + }, +}); + let app: App; let dtApp: DtApp; @@ -45,30 +54,11 @@ const mySnapshotTest = async (name: string, action: () => Promise) => { await action(); - const colordiffBinPath = execSync('which colordiff || which diff', { - encoding: 'utf-8', - }).trim(); // recommended `sudo apt install colordiff` - const diffCommand = `${colordiffBinPath} ${snapshotFolder} ${resultFolder}`; - - if (process.argv.includes('--update')) { - console.warn(`updating ${name} snapshot...`); - execSync( - `rm -rf ${snapshotFolder} && mkdir -p ${snapshotFolder} && cp -R ${resultFolder}/. ${snapshotFolder}` + readdirSync(resultFolder).forEach(file => { + expect(readFileSync(join(resultFolder, file))).toMatchSpecificSnapshot( + join(snapshotFolder, file + '.shot') ); - console.warn(`${name} snapshot updated!`); - } else { - try { - execSync(diffCommand); - } catch (e) { - console.error((e as ReturnType).output.toString()); - // exit code 1 when there's some diff - const diff = execSync(`${diffCommand} || print`, { - encoding: 'utf-8', - }); - console.log(diff); - assert.fail('should be no diff between actual and snapshot'); - } - } + }); }; ['drive', 'sheets', 'calendar', 'admin'].forEach(apiName => {