diff --git a/game/.gitignore b/game/.gitignore index 4387bb5..26c1e02 100644 --- a/game/.gitignore +++ b/game/.gitignore @@ -85,3 +85,7 @@ version.txt # Config file config.txt + +# Generated dialogue files +[Aa]ssets/Data/Dialogue/token* +[Aa]ssets/Data/Dialogue/dialogue.csv* diff --git a/game/Assets/Data.meta b/game/Assets/Data.meta new file mode 100644 index 0000000..4bff999 --- /dev/null +++ b/game/Assets/Data.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 7d4de57459cae534e8472212d609fbc4 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/game/Assets/Data/Dialogue.meta b/game/Assets/Data/Dialogue.meta new file mode 100644 index 0000000..f21e107 --- /dev/null +++ b/game/Assets/Data/Dialogue.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 17b88d2827d9f8f489732074d5e33462 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/game/Assets/Data/Dialogue/credentials.json b/game/Assets/Data/Dialogue/credentials.json new file mode 100644 index 0000000..708b23d --- /dev/null +++ b/game/Assets/Data/Dialogue/credentials.json @@ -0,0 +1 @@ +{"installed":{"client_id":"175844817363-58l5s3i3bv0fg6mldjs820ch5359qi2g.apps.googleusercontent.com","project_id":"kp-revival-1613148482290","auth_uri":"https://accounts.google.com/o/oauth2/auth","token_uri":"https://oauth2.googleapis.com/token","auth_provider_x509_cert_url":"https://www.googleapis.com/oauth2/v1/certs","client_secret":"VXRrty7OuMfzwCbY6HeR1J_r","redirect_uris":["urn:ietf:wg:oauth:2.0:oob","http://localhost"]}} \ No newline at end of file diff --git a/game/Assets/Data/Dialogue/credentials.json.meta b/game/Assets/Data/Dialogue/credentials.json.meta new file mode 100644 index 0000000..cbdc408 --- /dev/null +++ b/game/Assets/Data/Dialogue/credentials.json.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 709e21ae28324c84cb59820dbc1dd641 +TextScriptImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/game/Assets/Data/Dialogue/revival-304616-7f150d13c408.p12 b/game/Assets/Data/Dialogue/revival-304616-7f150d13c408.p12 new file mode 100644 index 0000000..59986d6 Binary files /dev/null and b/game/Assets/Data/Dialogue/revival-304616-7f150d13c408.p12 differ diff --git a/game/Assets/Data/Dialogue/revival-304616-7f150d13c408.p12.meta b/game/Assets/Data/Dialogue/revival-304616-7f150d13c408.p12.meta new file mode 100644 index 0000000..03553b8 --- /dev/null +++ b/game/Assets/Data/Dialogue/revival-304616-7f150d13c408.p12.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: bc600cf927a4ceb4596c55df5867e3f0 +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/game/Assets/NuGet.meta b/game/Assets/NuGet.meta new file mode 100644 index 0000000..2dc09e0 --- /dev/null +++ b/game/Assets/NuGet.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: b3e53f8f0aa54b4498f2cb310550df8f +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/game/Assets/NuGet/Google.Apis.1.50.0.meta b/game/Assets/NuGet/Google.Apis.1.50.0.meta new file mode 100644 index 0000000..4c493ad --- /dev/null +++ b/game/Assets/NuGet/Google.Apis.1.50.0.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 9eb6f6ea66482f34b9fc2afd11fcb79e +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/game/Assets/NuGet/Google.Apis.1.50.0/.signature.p7s b/game/Assets/NuGet/Google.Apis.1.50.0/.signature.p7s new file mode 100644 index 0000000..6c1f1be Binary files /dev/null and b/game/Assets/NuGet/Google.Apis.1.50.0/.signature.p7s differ diff --git a/game/Assets/NuGet/Google.Apis.1.50.0/Google.Apis.1.50.0.nupkg b/game/Assets/NuGet/Google.Apis.1.50.0/Google.Apis.1.50.0.nupkg new file mode 100644 index 0000000..9a28ef0 Binary files /dev/null and b/game/Assets/NuGet/Google.Apis.1.50.0/Google.Apis.1.50.0.nupkg differ diff --git a/game/Assets/NuGet/Google.Apis.1.50.0/Google.Apis.1.50.0.nupkg.meta b/game/Assets/NuGet/Google.Apis.1.50.0/Google.Apis.1.50.0.nupkg.meta new file mode 100644 index 0000000..9be1b72 --- /dev/null +++ b/game/Assets/NuGet/Google.Apis.1.50.0/Google.Apis.1.50.0.nupkg.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: b77d5654c2822204ab0d9eddbe978571 +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/game/Assets/NuGet/Google.Apis.1.50.0/LICENSE b/game/Assets/NuGet/Google.Apis.1.50.0/LICENSE new file mode 100644 index 0000000..e976b55 --- /dev/null +++ b/game/Assets/NuGet/Google.Apis.1.50.0/LICENSE @@ -0,0 +1,176 @@ + + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + +TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + +1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + +2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + +3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + +4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + +5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + +6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + +7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + +8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + +9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. \ No newline at end of file diff --git a/game/Assets/NuGet/Google.Apis.1.50.0/LICENSE.meta b/game/Assets/NuGet/Google.Apis.1.50.0/LICENSE.meta new file mode 100644 index 0000000..c10abf4 --- /dev/null +++ b/game/Assets/NuGet/Google.Apis.1.50.0/LICENSE.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: d31139c7b4f525d4dad9f5bfb804fd2b +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/game/Assets/NuGet/Google.Apis.1.50.0/NuGetIcon.png b/game/Assets/NuGet/Google.Apis.1.50.0/NuGetIcon.png new file mode 100644 index 0000000..34175fe --- /dev/null +++ b/game/Assets/NuGet/Google.Apis.1.50.0/NuGetIcon.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ace215fa08d510b81a60b8e839a85c75384a6e6d1f33664a415344b5b66b073f +size 2274 diff --git a/game/Assets/NuGet/Google.Apis.1.50.0/NuGetIcon.png.meta b/game/Assets/NuGet/Google.Apis.1.50.0/NuGetIcon.png.meta new file mode 100644 index 0000000..20ef3d1 --- /dev/null +++ b/game/Assets/NuGet/Google.Apis.1.50.0/NuGetIcon.png.meta @@ -0,0 +1,144 @@ +fileFormatVersion: 2 +guid: 02fdb993790bb254a96c263a493c4551 +TextureImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 11 + mipmaps: + mipMapMode: 0 + enableMipMap: 1 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + isReadable: 0 + streamingMipmaps: 0 + streamingMipmapsPriority: 0 + vTOnly: 0 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: -1 + aniso: 2 + mipBias: -100 + wrapU: 0 + wrapV: 0 + wrapW: 0 + nPOTScale: 1 + lightmap: 0 + compressionQuality: 50 + spriteMode: 0 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spritePixelsToUnits: 100 + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spriteGenerateFallbackPhysicsShape: 1 + alphaUsage: 1 + alphaIsTransparency: 0 + spriteTessellationDetail: -1 + textureType: 0 + textureShape: 1 + singleChannelComponent: 0 + flipbookRows: 1 + flipbookColumns: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + ignorePngGamma: 0 + applyGammaDecoding: 0 + platformSettings: + - serializedVersion: 3 + buildTarget: DefaultTexturePlatform + maxTextureSize: 8192 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: Standalone + maxTextureSize: 8192 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: iPhone + maxTextureSize: 8192 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: Android + maxTextureSize: 8192 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: Windows Store Apps + maxTextureSize: 8192 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + bones: [] + spriteID: + internalID: 0 + vertices: [] + indices: + edges: [] + weights: [] + secondaryTextures: [] + spritePackingTag: + pSDRemoveMatte: 0 + pSDShowRemoveMatteOption: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/game/Assets/NuGet/Google.Apis.1.50.0/lib.meta b/game/Assets/NuGet/Google.Apis.1.50.0/lib.meta new file mode 100644 index 0000000..939ad20 --- /dev/null +++ b/game/Assets/NuGet/Google.Apis.1.50.0/lib.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 64a4b446723fe0948bbb9e62f87ce410 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/game/Assets/NuGet/Google.Apis.1.50.0/lib/net45.meta b/game/Assets/NuGet/Google.Apis.1.50.0/lib/net45.meta new file mode 100644 index 0000000..1469d47 --- /dev/null +++ b/game/Assets/NuGet/Google.Apis.1.50.0/lib/net45.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: f579ba0bd65742747a74d1f37b5c8795 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/game/Assets/NuGet/Google.Apis.1.50.0/lib/net45/Google.Apis.PlatformServices.dll b/game/Assets/NuGet/Google.Apis.1.50.0/lib/net45/Google.Apis.PlatformServices.dll new file mode 100644 index 0000000..112378a --- /dev/null +++ b/game/Assets/NuGet/Google.Apis.1.50.0/lib/net45/Google.Apis.PlatformServices.dll @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0ce2d57294637053abb8fe0a613180fc70d66808b876c1b3537642fd4c75a7a9 +size 4608 diff --git a/game/Assets/NuGet/Google.Apis.1.50.0/lib/net45/Google.Apis.PlatformServices.dll.meta b/game/Assets/NuGet/Google.Apis.1.50.0/lib/net45/Google.Apis.PlatformServices.dll.meta new file mode 100644 index 0000000..e035084 --- /dev/null +++ b/game/Assets/NuGet/Google.Apis.1.50.0/lib/net45/Google.Apis.PlatformServices.dll.meta @@ -0,0 +1,33 @@ +fileFormatVersion: 2 +guid: 33ba28cea80d0174982882c64f1807df +PluginImporter: + externalObjects: {} + serializedVersion: 2 + iconMap: {} + executionOrder: {} + defineConstraints: [] + isPreloaded: 0 + isOverridable: 0 + isExplicitlyReferenced: 0 + validateReferences: 1 + platformData: + - first: + Any: + second: + enabled: 1 + settings: {} + - first: + Editor: Editor + second: + enabled: 0 + settings: + DefaultValueInitialized: true + - first: + Windows Store Apps: WindowsStoreApps + second: + enabled: 0 + settings: + CPU: AnyCPU + userData: + assetBundleName: + assetBundleVariant: diff --git a/game/Assets/NuGet/Google.Apis.1.50.0/lib/net45/Google.Apis.dll b/game/Assets/NuGet/Google.Apis.1.50.0/lib/net45/Google.Apis.dll new file mode 100644 index 0000000..90143c4 --- /dev/null +++ b/game/Assets/NuGet/Google.Apis.1.50.0/lib/net45/Google.Apis.dll @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:057776fe32e2653cc5a8859133c98bcf85e6713a6a08d869e3befcce24a7b847 +size 80896 diff --git a/game/Assets/NuGet/Google.Apis.1.50.0/lib/net45/Google.Apis.dll.meta b/game/Assets/NuGet/Google.Apis.1.50.0/lib/net45/Google.Apis.dll.meta new file mode 100644 index 0000000..5d5ff82 --- /dev/null +++ b/game/Assets/NuGet/Google.Apis.1.50.0/lib/net45/Google.Apis.dll.meta @@ -0,0 +1,33 @@ +fileFormatVersion: 2 +guid: 172aea847b1e85a4cbeecf65206cd08d +PluginImporter: + externalObjects: {} + serializedVersion: 2 + iconMap: {} + executionOrder: {} + defineConstraints: [] + isPreloaded: 0 + isOverridable: 0 + isExplicitlyReferenced: 0 + validateReferences: 1 + platformData: + - first: + Any: + second: + enabled: 1 + settings: {} + - first: + Editor: Editor + second: + enabled: 0 + settings: + DefaultValueInitialized: true + - first: + Windows Store Apps: WindowsStoreApps + second: + enabled: 0 + settings: + CPU: AnyCPU + userData: + assetBundleName: + assetBundleVariant: diff --git a/game/Assets/NuGet/Google.Apis.1.50.0/lib/net45/Google.Apis.xml b/game/Assets/NuGet/Google.Apis.1.50.0/lib/net45/Google.Apis.xml new file mode 100644 index 0000000..37b2297 --- /dev/null +++ b/game/Assets/NuGet/Google.Apis.1.50.0/lib/net45/Google.Apis.xml @@ -0,0 +1,1674 @@ + + + + Google.Apis + + + + Enum which represents the status of the current download. + + + The download has not started. + + + Data is being downloaded. + + + The download was completed successfully. + + + The download failed. + + + Reports download progress. + + + Gets the current status of the upload. + + + Gets the number of bytes received from the server. + + + Gets an exception if one occurred. + + + Media download which uses download file part by part, by . + + + An event which notifies when the download status has been changed. + + + Gets or sets the chunk size to download, it defines the size of each part. + + + Downloads synchronously the given URL to the given stream. + + + Downloads asynchronously the given URL to the given stream. + + + + Downloads asynchronously the given URL to the given stream. This download method supports a cancellation + token to cancel a request before it was completed. + + + In case the download fails will contain the exception that + cause the failure. The only exception which will be thrown is + which indicates that the task was canceled. + + + + + A media downloader implementation which handles media downloads. + + + + The service which this downloader belongs to. + + + Maximum chunk size. Default value is 10*MB. + + + + Gets or sets the amount of data that will be downloaded before notifying the caller of + the download's progress. + Must not exceed . + Default value is . + + + + + The range header for the request, if any. This can be used to download specific parts + of the requested media. + + + + + A provider for response stream interceptors. Each time a response is produced, the provider + is called, and can return null if interception is not required, or an interceptor for + that response. The provider itself should not read the response's content stream, but can check headers. + + + + + Download progress model, which contains the status of the download, the amount of bytes whose where + downloaded so far, and an exception in case an error had occurred. + + + + Constructs a new progress instance. + The status of the download. + The number of bytes received so far. + + + Constructs a new progress instance. + An exception which occurred during the download. + The number of bytes received before the exception occurred. + + + Gets or sets the status of the download. + + + Gets or sets the amount of bytes that have been downloaded so far. + + + Gets or sets the exception which occurred during the download or null. + + + + Updates the current progress and call the event to notify listeners. + + + + Constructs a new downloader with the given client service. + + + + Gets or sets the callback for modifying requests made when downloading. + + + + + + + + + + + + + + + + + CountedBuffer bundles together a byte buffer and a count of valid bytes. + + + + + How many bytes at the beginning of Data are valid. + + + + + Returns true if the buffer contains no data. + + + + + Read data from stream until the stream is empty or the buffer is full. + + Stream from which to read. + Cancellation token for the operation. + + + + Remove the first n bytes of the buffer. Move any remaining valid bytes to the beginning. + Trying to remove more bytes than the buffer contains just clears the buffer. + + The number of bytes to remove. + + + + The core download logic. We download the media and write it to an output stream + ChunkSize bytes at a time, raising the ProgressChanged event after each chunk. + + The chunking behavior is largely a historical artifact: a previous implementation + issued multiple web requests, each for ChunkSize bytes. Now we do everything in + one request, but the API and client-visible behavior are retained for compatibility. + + The URL of the resource to download. + The download will download the resource into this stream. + A cancellation token to cancel this download in the middle. + A task with the download progress object. If an exception occurred during the download, its + property will contain the exception. + + + + Called when a successful HTTP response is received, allowing subclasses to examine headers. + + + For unsuccessful responses, an appropriate exception is thrown immediately, without this method + being called. + + HTTP response received. + + + + Called when an HTTP response is received, allowing subclasses to examine data before it's + written to the client stream. + + Byte array containing the data downloaded. + Length of data downloaded in this chunk, in bytes. + + + + Called when a download has completed, allowing subclasses to perform any final validation + or transformation. + + + + + Defines the behaviour/header used for sending an etag along with a request. + + + + + The default etag behaviour will be determined by the type of the request. + + + + + The ETag won't be added to the header of the request. + + + + + The ETag will be added as an "If-Match" header. + A request sent with an "If-Match" header will only succeed if both ETags are identical. + + + + + The ETag will be added as an "If-None-Match" header. + A request sent with an "If-None-Match" header will only succeed if ETags are not identical. + + + + + Common error handling code for the Media API. + + + + + Creates a suitable exception for an HTTP response, attempting to parse the body as + JSON but falling back to just using the text as the message. + + + + + Creates a suitable exception for an HTTP response, attempting to parse the body as + JSON but falling back to just using the text as the message. + + + + + A batch request which represents individual requests to Google servers. You should add a single service + request using the method and execute all individual requests using + . More information about the batch protocol is available in + https://developers.google.com/storage/docs/json_api/v1/how-tos/batch. + + Current implementation doesn't retry on unsuccessful individual response and doesn't support requests with + different access tokens (different users or scopes). + + + + + A concrete type callback for an individual response. + The response type. + The content response or null if the request failed. + Error or null if the request succeeded. + The request index. + The HTTP individual response. + + + This inner class represents an individual inner request. + + + Gets or sets the client service request. + + + Gets or sets the response class type. + + + A callback method which will be called after an individual response was parsed. + The content response or null if the request failed. + Error or null if the request succeeded. + The request index. + The HTTP individual response. + + + + This generic inner class represents an individual inner request with a generic response type. + + + + Gets or sets a concrete type callback for an individual response. + + + + Constructs a new batch request using the given service. See + for more information. + + + + + Constructs a new batch request using the given service. The service's HTTP client is used to create a + request to the given server URL and its serializer members are used to serialize the request and + deserialize the response. + + + + Gets the count of all queued requests. + + + Queues an individual request. + The response's type. + The individual request. + A callback which will be called after a response was parsed. + + + Asynchronously executes the batch request. + + + Asynchronously executes the batch request. + Cancellation token to cancel operation. + + + Parses the given string content to a HTTP response. + + + + Creates the batch outer request content which includes all the individual requests to Google servers. + + + + Creates the individual server request. + + + + Creates a string representation that includes the request's headers and content based on the input HTTP + request message. + + + + + Represents an abstract request base class to make requests to a service. + + + + Unsuccessful response handlers for this request only. + + + Exception handlers for this request only. + + + Unsuccessful response handlers for this request only. + + + + Credential to use for this request. + If implements + then it will also be included as a handler of an unsuccessful response. + + + + + Add an unsuccessful response handler for this request only. + + The unsuccessful response handler. Must not be null. + + + + Add an exception handler for this request only. + + The exception handler. Must not be null. + + + + Add an unsuccessful response handler for this request only. + + The unsuccessful response handler. Must not be null. + + + + Represents an abstract, strongly typed request base class to make requests to a service. + Supports a strongly typed response. + + The type of the response object + + + The class logger. + + + The service on which this request will be executed. + + + Defines whether the E-Tag will be used in a specified way or be ignored. + + + + Gets or sets the callback for modifying HTTP requests made by this service request. + + + + + Override for service-wide validation configuration in . + If this is null (the default) then the value from the service initializer is used to determine + whether or not parameters should be validated client-side. If this is non-null, it overrides + whatever value is specified in the service. + + + + + + + + + + + + + + + + + + + Creates a new service request. + + + + Initializes request's parameters. Inherited classes MUST override this method to add parameters to the + dictionary. + + + + + + + + + + + + + + + + + + + + + + Sync executes the request without parsing the result. + + + Parses the response and deserialize the content into the requested response object. + + + + + + + Creates the which is used to generate a request. + + + A new builder instance which contains the HTTP method and the right Uri with its path and query parameters. + + + + Generates the right URL for this request. + + + Returns the body of this request. + The body of this request. + + + + Adds the right ETag action (e.g. If-Match) header to the given HTTP request if the body contains ETag. + + + + Returns the default ETagAction for a specific HTTP verb. + + + Adds path and query parameters to the given requestBuilder. + + + + Extension methods for request objects. + + + + + Allows a request to be configured in a fluent manner, where normally separate statements are required + after the request creation method is called. + + The type of the request to configure. + The request to configure. Must not be null. + The configuration action to apply to the request. This is typically + setting properties. Must not be null. + The value of , after applying the configuration action. + + + Extension methods to . + + + + Sets the content of the request by the given body and the the required GZip configuration. + + The request. + The service. + The body of the future request. If null do nothing. + + Indicates if the content will be wrapped in a GZip stream, or a regular string stream will be used. + + + + Creates a GZip content based on the given content. + Content to GZip. + GZiped HTTP content. + + + Creates a GZip stream by the given serialized object. + + + A client service request which supports both sync and async execution to get the stream. + + + Gets the name of the method to which this request belongs. + + + Gets the rest path of this request. + + + Gets the HTTP method of this request. + + + Gets the parameters information for this specific request. + + + Gets the service which is related to this request. + + + Creates a HTTP request message with all path and query parameters, ETag, etc. + + If null use the service default GZip behavior. Otherwise indicates if GZip is enabled or disabled. + + + + Executes the request asynchronously and returns the result stream. + + + Executes the request asynchronously and returns the result stream. + A cancellation token to cancel operation. + + + Executes the request and returns the result stream. + + + + A client service request which inherits from and represents a specific + service request with the given response type. It supports both sync and async execution to get the response. + + + + Executes the request asynchronously and returns the result object. + + + Executes the request asynchronously and returns the result object. + A cancellation token to cancel operation. + + + Executes the request and returns the result object. + + + + Interface containing additional response-properties which will be added to every schema type which is + a direct response to a request. + + + + + The e-tag of this response. + + + Will be set by the service deserialization method, + or the by json response parser if implemented on service. + + + + + A page streamer is a helper to provide both synchronous and asynchronous page streaming + of a listable or queryable resource. + + + + The expected usage pattern is to create a single paginator for a resource collection, + and then use the instance methods to obtain paginated results. + + + + To construct a page streamer to return snippets from the YouTube v3 Data API, you might use code + such as the following. The pattern for other APIs would be very similar, with the request.PageToken, + response.NextPageToken and response.Items properties potentially having different names. Constructing + the page streamer doesn't require any service references or authentication, so it's completely safe to perform this + in a type initializer. + ( + (request, token) => request.PageToken = token, + response => response.NextPageToken, + response => response.Items); + ]]> + + The type of resource being paginated + The type of request used to fetch pages + The type of response obtained when fetching pages + The type of the "next page token", which must be a reference type; + a null reference for a token indicates the end of a stream of pages. + + + + Creates a paginator for later use. + + Action to modify a request to include the specified page token. + Must not be null. + Function to extract the next page token from a response. + Must not be null. + Function to extract a sequence of resources from a response. + Must not be null, although it can return null if it is passed a response which contains no + resources. + + + + Lazily fetches resources a page at a time. + + The initial request to send. If this contains a page token, + that token is maintained. This will be modified with new page tokens over time, and should not + be changed by the caller. (The caller should clone the request if they want an independent object + to use in other calls or to modify.) Must not be null. + A sequence of resources, which are fetched a page at a time. Must not be null. + + + + Asynchronously (but eagerly) fetches a complete set of resources, potentially making multiple requests. + + The initial request to send. If this contains a page token, + that token is maintained. This will be modified with new page tokens over time, and should not + be changed by the caller. (The caller should clone the request if they want an independent object + to use in other calls or to modify.) Must not be null. + A sequence of resources, which are fetched asynchronously and a page at a time. + + A task whose result (when complete) is the complete set of results fetched starting with the given + request, and continuing to make further requests until a response has no "next page" token. + + + + Helps build version strings for the x-goog-api-client header. + The value is a space-separated list of name/value pairs, where the value + should be a semantic version string. Names must be unique. + + + + + The name of the header to set. + + + + + Appends the given name/version string to the list. + + The name. Must not be null or empty, or contain a space or a slash. + The version. Must not be null, or contain a space or a slash. + + + + Appends a name/version string, taking the version from the version of the assembly + containing the given type. + + + + + Appends the .NET environment information to the list. + + + + + + + + Clones this VersionHeaderBuilder, creating an independent copy with the same names/values. + + A clone of this builder. + + + + A base class for a client service which provides common mechanism for all services, like + serialization and GZip support. It should be safe to use a single service instance to make server requests + concurrently from multiple threads. + This class adds a special to the + execute interceptor list, which uses the given + Authenticator. It calls to its applying authentication method, and injects the "Authorization" header in the + request. + If the given Authenticator implements , this + class adds the Authenticator to the 's unsuccessful + response handler list. + + + + The class logger. + + + The default maximum allowed length of a URL string for GET requests. + + + An initializer class for the client service. + + + + Gets or sets the factory for creating instance. If this + property is not set the service uses a new instance. + + + + + Gets or sets a HTTP client initializer which is able to customize properties on + and + . + + + + + Get or sets the exponential back-off policy used by the service. Default value is + UnsuccessfulResponse503, which means that exponential back-off is used on 503 abnormal HTTP + response. + If the value is set to None, no exponential back-off policy is used, and it's up to the user to + configure the in an + to set a specific back-off + implementation (using ). + + + + Gets or sets whether this service supports GZip. Default value is true. + + + + Gets or sets the serializer. Default value is . + + + + Gets or sets the API Key. Default value is null. + + + + Gets or sets Application name to be used in the User-Agent header. Default value is null. + + + + + Maximum allowed length of a URL string for GET requests. Default value is 2048. If the value is + set to 0, requests will never be modified due to URL string length. + + + + + Gets or sets the base URI to use for the service. If the value is null, + the default base URI for the service is used. + + + + + Builder for the x-goog-api-client header, collecting version information. + Services automatically add the API library version to this. + Most users will never need to configure this, but higher level abstraction Google libraries + may add their own version here. + + + + + Determines whether request parameters are validated (client-side) by default. + Defaults to true. This can be overridden on a per-request basis using . + + + + Constructs a new initializer with default values. + + + Constructs a new base client with the specified initializer. + + + + Determines whether or not request parameters should be validated client-side. + This may be overridden on a per-request basis. + + + + + The BaseUri provided in the initializer, which may be null. + + + + Returns true if this service contains the specified feature. + + + + Creates the back-off handler with . + Overrides this method to change the default behavior of back-off handler (e.g. you can change the maximum + waited request's time span, or create a back-off handler with you own implementation of + ). + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + The URI used for batch operations. + + + The path used for batch operations. + + + + + + + + + + Client service contains all the necessary information a Google service requires. + Each concrete has a reference to a service for + important properties like API key, application name, base Uri, etc. + This service interface also contains serialization methods to serialize an object to stream and deserialize a + stream into an object. + + + + Gets the HTTP client which is used to create requests. + + + + Gets a HTTP client initializer which is able to custom properties on + and + . + + + + Gets the service name. + + + Gets the BaseUri of the service. All request paths should be relative to this URI. + + + Gets the BasePath of the service. + + + Gets the supported features by this service. + + + Gets or sets whether this service supports GZip. + + + Gets the API-Key (DeveloperKey) which this service uses for all requests. + + + Gets the application name to be used in the User-Agent header. + + + + Sets the content of the request by the given body and the this service's configuration. + First the body object is serialized by the Serializer and then, if GZip is enabled, the content will be + wrapped in a GZip stream, otherwise a regular string stream will be used. + + + + Gets the Serializer used by this service. + + + Serializes an object into a string representation. + + + Deserializes a response into the specified object. + + + Deserializes an error response into a object. + If no error is found in the response. + + + + Enum to communicate the status of an upload for progress reporting. + + + + + The upload has not started. + + + + + The upload is initializing. + + + + + Data is being uploaded. + + + + + The upload completed successfully. + + + + + The upload failed. + + + + + Interface reporting upload progress. + + + + + Gets the current status of the upload + + + + + Gets the approximate number of bytes sent to the server. + + + + + Gets an exception if one occurred. + + + + + Interface IUploadSessionData: Provides UploadUri for client to persist. Allows resuming an upload after a program restart for seekable ContentStreams. + + + Defines the data passed from the ResumeableUpload class upon initiation of an upload. + When the client application adds an event handler for the UploadSessionData event, the data + defined in this interface (currently the UploadURI) is passed as a parameter to the event handler procedure. + An event handler for the UploadSessionData event is only required if the application will support resuming the + upload after a program restart. + + + + + The resumable session URI (UploadUri) + + + + + Media upload which uses Google's resumable media upload protocol to upload data. + + + See: https://developers.google.com/drive/manage-uploads#resumable for more information on the protocol. + + + + The class logger. + + + Minimum chunk size (except the last one). Default value is 256*KB. + + + Default chunk size. Default value is 10*MB. + + + + Defines how many bytes are read from the input stream in each stream read action. + The read will continue until we read or we reached the end of the stream. + + + + Indicates the stream's size is unknown. + + + Content-Range header value for the body upload of zero length files. + + + + The x-goog-api-client header value used for resumable uploads initiated without any options or an HttpClient. + + + + + Creates a instance. + + The data to be uploaded. Must not be null. + The options for the upload operation. May be null. + + + + Creates a instance for a resumable upload session which has already been initiated. + + + See https://cloud.google.com/storage/docs/json_api/v1/how-tos/resumable-upload#start-resumable for more information about initiating + resumable upload sessions and saving the session URI, or upload URI. + + The session URI of the resumable upload session. Must not be null. + The data to be uploaded. Must not be null. + The options for the upload operation. May be null. + The instance which can be used to upload the specified content. + + + + Gets the options used to control the resumable upload. + + + + + Gets the HTTP client to use to make requests. + + + + Gets or sets the stream to upload. + + + + Gets or sets the length of the steam. Will be if the media content length is + unknown. + + + + + The buffer used for reading from the stream, to prepare HTTP requests. + This is used for both seekable and non-seekable streams, but in a slightly different way: + with seekable streams, we never reuse any *data* between chunks, just the allocated byte arrays. + For non-seekable streams, if some of the data we sent was not received by the server, + we reuse the data in the buffer. + + + + + Gets or sets the resumable session URI. + See https://developers.google.com/drive/manage-uploads#save-session-uri" for more details. + + + + Gets or sets the amount of bytes the server had received so far. + + + Gets or sets the amount of bytes the client had sent so far. + + + Change this value ONLY for testing purposes! + + + + Gets or sets the size of each chunk sent to the server. + Chunks (except the last chunk) must be a multiple of to be compatible with + Google upload servers. + + + + Event called whenever the progress of the upload changes. + + + + Interceptor used to propagate data successfully uploaded on each chunk. + + + + + Callback class that is invoked on abnormal response or an exception. + This class changes the request to query the current status of the upload in order to find how many bytes + were successfully uploaded before the error occurred. + See https://developers.google.com/drive/manage-uploads#resume-upload for more details. + + + + + Constructs a new callback and register it as unsuccessful response handler and exception handler on the + configurable message handler. + + + + Changes the request in order to resume the interrupted upload. + + + Class that communicates the progress of resumable uploads to a container. + + + + Create a ResumableUploadProgress instance. + + The status of the upload. + The number of bytes sent so far. + + + + Create a ResumableUploadProgress instance. + + An exception that occurred during the upload. + The number of bytes sent before this exception occurred. + + + + Current state of progress of the upload. + + + + + + Updates the current progress and call the event to notify listeners. + + + + + Get the current progress state. + + An IUploadProgress describing the current progress of the upload. + + + + + Event called when an UploadUri is created. + Not needed if the application program will not support resuming after a program restart. + + + Within the event, persist the UploadUri to storage. + It is strongly recommended that the full path filename (or other media identifier) is also stored so that it can be compared to the current open filename (media) upon restart. + + + + + Data to be passed to the application program to allow resuming an upload after a program restart. + + + + + Create a ResumeableUploadSessionData instance to pass the UploadUri to the client. + + The resumable session URI. + + + + Send data (UploadUri) to application so it can store it to persistent storage. + + + + + Uploads the content to the server. This method is synchronous and will block until the upload is completed. + + + In case the upload fails the will contain the exception that + cause the failure. + + + + Uploads the content asynchronously to the server. + + + Uploads the content to the server using the given cancellation token. + + In case the upload fails will contain the exception that + cause the failure. The only exception which will be thrown is + which indicates that the task was canceled. + + A cancellation token to cancel operation. + + + + Resumes the upload from the last point it was interrupted. + Use when resuming and the program was not restarted. + + + + + Resumes the upload from the last point it was interrupted. + Use when the program was restarted and you wish to resume the upload that was in progress when the program was halted. + Implemented only for ContentStreams where .CanSeek is True. + + + In your application's UploadSessionData Event Handler, store UploadUri.AbsoluteUri property value (resumable session URI string value) + to persistent storage for use with Resume() or ResumeAsync() upon a program restart. + It is strongly recommended that the FullPathFilename of the media file that is being uploaded is saved also so that a subsequent execution of the + program can compare the saved FullPathFilename value to the FullPathFilename of the media file that it has opened for uploading. + You do not need to seek to restart point in the ContentStream file. + + VideosResource.InsertMediaUpload UploadUri property value that was saved to persistent storage during a prior execution. + + + + Asynchronously resumes the upload from the last point it was interrupted. + + + You do not need to seek to restart point in the ContentStream file. + + + + + Asynchronously resumes the upload from the last point it was interrupted. + Use when resuming and the program was not restarted. + + + You do not need to seek to restart point in the ContentStream file. + + A cancellation token to cancel the asynchronous operation. + + + + Asynchronously resumes the upload from the last point it was interrupted. + Use when resuming and the program was restarted. + Implemented only for ContentStreams where .CanSeek is True. + + + In your application's UploadSessionData Event Handler, store UploadUri.AbsoluteUri property value (resumable session URI string value) + to persistent storage for use with Resume() or ResumeAsync() upon a program restart. + It is strongly recommended that the FullPathFilename of the media file that is being uploaded is saved also so that a subsequent execution of the + program can compare the saved FullPathFilename value to the FullPathFilename of the media file that it has opened for uploading. + You do not need to seek to restart point in the ContentStream file. + + VideosResource.InsertMediaUpload UploadUri property value that was saved to persistent storage during a prior execution. + + + + Asynchronously resumes the upload from the last point it was interrupted. + Use when the program was restarted and you wish to resume the upload that was in progress when the program was halted. + Implemented only for ContentStreams where .CanSeek is True. + + + In your application's UploadSessionData Event Handler, store UploadUri.AbsoluteUri property value (resumable session URI string value) + to persistent storage for use with Resume() or ResumeAsync() upon a program restart. + It is strongly recommended that the FullPathFilename of the media file that is being uploaded is saved also so that a subsequent execution of the + program can compare the saved FullPathFilename value to the FullPathFilename of the media file that it has opened for uploading. + You do not need to seek to restart point in the ContentStream file. + + VideosResource.InsertMediaUpload UploadUri property value that was saved to persistent storage during a prior execution. + A cancellation token to cancel the asynchronous operation. + + + The core logic for uploading a stream. It is used by the upload and resume methods. + + + + Initiates the resumable upload session and returns the session URI, or upload URI. + See https://developers.google.com/drive/manage-uploads#start-resumable and + https://cloud.google.com/storage/docs/json_api/v1/how-tos/resumable-upload#start-resumable for more information. + + The token to monitor for cancellation requests. + + The task containing the session URI to use for the resumable upload. + + + + + Process a response from the final upload chunk call. + + The response body from the final uploaded chunk. + + + Uploads the next chunk of data to the server. + True if the entire media has been completely uploaded. + + + Handles a media upload HTTP response. + True if the entire media has been completely uploaded. + + + + Creates a instance using the error response from the server. + + The error response. + An exception which can be thrown by the caller. + + + A callback when the media was uploaded successfully. + + + Prepares the given request with the next chunk in case the steam length is unknown. + + + Prepares the given request with the next chunk in case the steam length is known. + + + Returns the next byte index need to be sent. + + + + Build a content range header of the form: "bytes X-Y/T" where: + + X is the first byte being sent. + Y is the last byte in the range being sent (inclusive). + T is the total number of bytes in the range or * for unknown size. + + + + See: RFC2616 HTTP/1.1, Section 14.16 Header Field Definitions, Content-Range + http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.16 + + Start of the chunk. + Size of the chunk being sent. + The content range header value. + + + + A buffer to be uploaded. This abstraction allows us to use small byte arrays, + avoiding anything which might end up on the large object heap. + + + + + The upload using this buffer; used to find the chunk size etc. + + + + + The capacity of this buffer; + will read until the buffer contains this much data. + + + + + The amount of usable data within the buffer. + + + + + The data in the buffer, divided into blocks each of size (at most) . + + + + + Reads from the stream until the stream has run out of data, or the buffer is full. + + The stream to read from + + true if the stream is exhausted; false otherwise + + + + Resets the length of this buffer to 0, *effectively* discarding the data within it. + (The blocks are actually retained for reuse.) + + + + + Returns the block that contains the specified offset, creating it if necessary. + + The offset within the buffer to fetch the block for. + The offset within the returned block corresponding to within the buffer. + The block for the given position. + + + + Moves any unsent data to the start of this buffer, based on the number of bytes we actually sent, + and the number of bytes the server received. + + + + + Creates an HttpContent for the data in this buffer, up to bytes. + + The length of the content. + + + + Determines how much data should actually be sent from this buffer. + + + + + A read-only stream reading from an UploadBuffer, reading all the blocks in turn. + + + + + Media upload which uses Google's resumable media upload protocol to upload data. + + + See: https://developers.google.com/drive/manage-uploads#resumable for more information on the protocol. + + + The type of the body of this request. Generally this should be the metadata related to the content to be + uploaded. Must be serializable to/from JSON. + + + + Payload description headers, describing the content itself. + + + Payload description headers, describing the content itself. + + + Specify the type of this upload (this class supports resumable only). + + + The uploadType parameter value for resumable uploads. + + + + Create a resumable upload instance with the required parameters. + + The client service. + The path for this media upload method. + The HTTP method to start this upload. + The stream containing the content to upload. + Content type of the content to be uploaded. Some services + may allow this to be null; others require a content type to be specified and will + fail when the upload is started if the value is null. + + Caller is responsible for maintaining the open until the upload is + completed. + Caller is responsible for closing the . + + + + Gets or sets the service. + + + + Gets or sets the path of the method (combined with + ) to produce + absolute Uri. + + + + Gets or sets the HTTP method of this upload (used to initialize the upload). + + + Gets or sets the stream's Content-Type. + + + Gets or sets the body of this request. + + + + + + Creates a request to initialize a request. + + + + Reflectively enumerate the properties of this object looking for all properties containing the + RequestParameterAttribute and copy their values into the request builder. + + + + + Media upload which uses Google's resumable media upload protocol to upload data. + The version with two types contains both a request object and a response object. + + + See: https://developers.google.com/gdata/docs/resumable_upload for + information on the protocol. + + + The type of the body of this request. Generally this should be the metadata related + to the content to be uploaded. Must be serializable to/from JSON. + + + The type of the response body. + + + + + Create a resumable upload instance with the required parameters. + + The client service. + The path for this media upload method. + The HTTP method to start this upload. + The stream containing the content to upload. + Content type of the content to be uploaded. + + Considerations regarding : + + + If is seekable, then the stream position will be reset to + 0 before reading commences. If is not + seekable, then it will be read from its current position. + + + Caller is responsible for maintaining the open until the + upload is completed. + + + Caller is responsible for closing the . + + + + + + + The response body. + + + This property will be set during upload. The event + is triggered when this has been set. + + + + Event which is called when the response metadata is processed. + + + Process the response body + + + + Options for operations. + + + + + Gets or sets the HTTP client to use when starting the upload sessions and uploading data. + + + + + Gets or sets the callback for modifying the session initiation request. + See https://cloud.google.com/storage/docs/json_api/v1/how-tos/resumable-upload#start-resumable for more information. + + + Note: If these options are used with a created using , + this property will be ignored as the session has already been initiated. + + + + + Gets or sets the serializer to use when parsing error responses. + + + + + Gets or sets the name of the service performing the upload. + + + This will be used to set the in the event of an error. + + + + + Gets the as a if it is an instance of one. + + + + + File data store that implements . This store creates a different file for each + combination of type and key. This file data store stores a JSON format of the specified object. + + + + Gets the full folder path. + + + + Constructs a new file data store. If fullPath is false the path will be used as relative to + Environment.SpecialFolder.ApplicationData" on Windows, or $HOME on Linux and MacOS, + otherwise the input folder will be treated as absolute. + The folder is created if it doesn't exist yet. + + Folder path. + + Defines whether the folder parameter is absolute or relative to + Environment.SpecialFolder.ApplicationData on Windows, or$HOME on Linux and MacOS. + + + + + Stores the given value for the given key. It creates a new file (named ) in + . + + The type to store in the data store. + The key. + The value to store in the data store. + + + + Deletes the given key. It deletes the named file in + . + + The key to delete from the data store. + + + + Returns the stored value for the given key or null if the matching file ( + in doesn't exist. + + The type to retrieve. + The key to retrieve from the data store. + The stored object. + + + + Clears all values in the data store. This method deletes all files in . + + + + Creates a unique stored key based on the key and the class type. + The object key. + The type to store or retrieve. + + + + A null datastore. Nothing is stored, nothing is retrievable. + + + + + Construct a new null datastore, that stores nothing. + + + + + + + + + + + Asynchronously returns the stored value for the given key or null if not found. + This implementation of will always return a completed task + with a result of null. + + The type to retrieve from the data store. + The key to retrieve its value. + Always null. + + + + Asynchronously stores the given value for the given key (replacing any existing value). + This implementation of does not store the value, + and will not return it in future calls to . + + The type to store in the data store. + The key. + The value. + A task that completes immediately. + + + diff --git a/game/Assets/NuGet/Google.Apis.1.50.0/lib/net45/Google.Apis.xml.meta b/game/Assets/NuGet/Google.Apis.1.50.0/lib/net45/Google.Apis.xml.meta new file mode 100644 index 0000000..78d023a --- /dev/null +++ b/game/Assets/NuGet/Google.Apis.1.50.0/lib/net45/Google.Apis.xml.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 4520da02cebca534cbc5fe551694f5ae +TextScriptImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/game/Assets/NuGet/Google.Apis.Auth.1.50.0.meta b/game/Assets/NuGet/Google.Apis.Auth.1.50.0.meta new file mode 100644 index 0000000..41e3a1f --- /dev/null +++ b/game/Assets/NuGet/Google.Apis.Auth.1.50.0.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 580084fe66b34d0429d9d3834d94a953 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/game/Assets/NuGet/Google.Apis.Auth.1.50.0/.signature.p7s b/game/Assets/NuGet/Google.Apis.Auth.1.50.0/.signature.p7s new file mode 100644 index 0000000..be1dc41 Binary files /dev/null and b/game/Assets/NuGet/Google.Apis.Auth.1.50.0/.signature.p7s differ diff --git a/game/Assets/NuGet/Google.Apis.Auth.1.50.0/Google.Apis.Auth.1.50.0.nupkg b/game/Assets/NuGet/Google.Apis.Auth.1.50.0/Google.Apis.Auth.1.50.0.nupkg new file mode 100644 index 0000000..276c9b8 Binary files /dev/null and b/game/Assets/NuGet/Google.Apis.Auth.1.50.0/Google.Apis.Auth.1.50.0.nupkg differ diff --git a/game/Assets/NuGet/Google.Apis.Auth.1.50.0/Google.Apis.Auth.1.50.0.nupkg.meta b/game/Assets/NuGet/Google.Apis.Auth.1.50.0/Google.Apis.Auth.1.50.0.nupkg.meta new file mode 100644 index 0000000..e4d932a --- /dev/null +++ b/game/Assets/NuGet/Google.Apis.Auth.1.50.0/Google.Apis.Auth.1.50.0.nupkg.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 981036ce3f8d4bf4c9382cc5e21533ed +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/game/Assets/NuGet/Google.Apis.Auth.1.50.0/LICENSE b/game/Assets/NuGet/Google.Apis.Auth.1.50.0/LICENSE new file mode 100644 index 0000000..e976b55 --- /dev/null +++ b/game/Assets/NuGet/Google.Apis.Auth.1.50.0/LICENSE @@ -0,0 +1,176 @@ + + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + +TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + +1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + +2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + +3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + +4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + +5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + +6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + +7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + +8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + +9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. \ No newline at end of file diff --git a/game/Assets/NuGet/Google.Apis.Auth.1.50.0/LICENSE.meta b/game/Assets/NuGet/Google.Apis.Auth.1.50.0/LICENSE.meta new file mode 100644 index 0000000..ba8e5cb --- /dev/null +++ b/game/Assets/NuGet/Google.Apis.Auth.1.50.0/LICENSE.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 5d94df814c5783d44a584055ee53fc17 +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/game/Assets/NuGet/Google.Apis.Auth.1.50.0/NuGetIcon.png b/game/Assets/NuGet/Google.Apis.Auth.1.50.0/NuGetIcon.png new file mode 100644 index 0000000..34175fe --- /dev/null +++ b/game/Assets/NuGet/Google.Apis.Auth.1.50.0/NuGetIcon.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ace215fa08d510b81a60b8e839a85c75384a6e6d1f33664a415344b5b66b073f +size 2274 diff --git a/game/Assets/NuGet/Google.Apis.Auth.1.50.0/NuGetIcon.png.meta b/game/Assets/NuGet/Google.Apis.Auth.1.50.0/NuGetIcon.png.meta new file mode 100644 index 0000000..bdab242 --- /dev/null +++ b/game/Assets/NuGet/Google.Apis.Auth.1.50.0/NuGetIcon.png.meta @@ -0,0 +1,144 @@ +fileFormatVersion: 2 +guid: bb66af2ab55e93f45bbf3dfe365d598e +TextureImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 11 + mipmaps: + mipMapMode: 0 + enableMipMap: 1 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + isReadable: 0 + streamingMipmaps: 0 + streamingMipmapsPriority: 0 + vTOnly: 0 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: -1 + aniso: 2 + mipBias: -100 + wrapU: 0 + wrapV: 0 + wrapW: 0 + nPOTScale: 1 + lightmap: 0 + compressionQuality: 50 + spriteMode: 0 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spritePixelsToUnits: 100 + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spriteGenerateFallbackPhysicsShape: 1 + alphaUsage: 1 + alphaIsTransparency: 0 + spriteTessellationDetail: -1 + textureType: 0 + textureShape: 1 + singleChannelComponent: 0 + flipbookRows: 1 + flipbookColumns: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + ignorePngGamma: 0 + applyGammaDecoding: 0 + platformSettings: + - serializedVersion: 3 + buildTarget: DefaultTexturePlatform + maxTextureSize: 8192 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: Standalone + maxTextureSize: 8192 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: iPhone + maxTextureSize: 8192 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: Android + maxTextureSize: 8192 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: Windows Store Apps + maxTextureSize: 8192 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + bones: [] + spriteID: + internalID: 0 + vertices: [] + indices: + edges: [] + weights: [] + secondaryTextures: [] + spritePackingTag: + pSDRemoveMatte: 0 + pSDShowRemoveMatteOption: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/game/Assets/NuGet/Google.Apis.Auth.1.50.0/lib.meta b/game/Assets/NuGet/Google.Apis.Auth.1.50.0/lib.meta new file mode 100644 index 0000000..77703a2 --- /dev/null +++ b/game/Assets/NuGet/Google.Apis.Auth.1.50.0/lib.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: ef9b9c6317c630846a7b507847da45c2 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/game/Assets/NuGet/Google.Apis.Auth.1.50.0/lib/net45.meta b/game/Assets/NuGet/Google.Apis.Auth.1.50.0/lib/net45.meta new file mode 100644 index 0000000..bd920d2 --- /dev/null +++ b/game/Assets/NuGet/Google.Apis.Auth.1.50.0/lib/net45.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 0e501a4cdf95a724bb82a1dd239d934d +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/game/Assets/NuGet/Google.Apis.Auth.1.50.0/lib/net45/Google.Apis.Auth.PlatformServices.dll b/game/Assets/NuGet/Google.Apis.Auth.1.50.0/lib/net45/Google.Apis.Auth.PlatformServices.dll new file mode 100644 index 0000000..f8d6ab5 --- /dev/null +++ b/game/Assets/NuGet/Google.Apis.Auth.1.50.0/lib/net45/Google.Apis.Auth.PlatformServices.dll @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:68faafd93f6eabdaaf6c91683be3def3610463b35c3bc7864f7e6dd761d2eb94 +size 5120 diff --git a/game/Assets/NuGet/Google.Apis.Auth.1.50.0/lib/net45/Google.Apis.Auth.PlatformServices.dll.meta b/game/Assets/NuGet/Google.Apis.Auth.1.50.0/lib/net45/Google.Apis.Auth.PlatformServices.dll.meta new file mode 100644 index 0000000..6732125 --- /dev/null +++ b/game/Assets/NuGet/Google.Apis.Auth.1.50.0/lib/net45/Google.Apis.Auth.PlatformServices.dll.meta @@ -0,0 +1,33 @@ +fileFormatVersion: 2 +guid: 3564d0ca4caf4a0418edd7d5f621b7e5 +PluginImporter: + externalObjects: {} + serializedVersion: 2 + iconMap: {} + executionOrder: {} + defineConstraints: [] + isPreloaded: 0 + isOverridable: 0 + isExplicitlyReferenced: 0 + validateReferences: 1 + platformData: + - first: + Any: + second: + enabled: 1 + settings: {} + - first: + Editor: Editor + second: + enabled: 0 + settings: + DefaultValueInitialized: true + - first: + Windows Store Apps: WindowsStoreApps + second: + enabled: 0 + settings: + CPU: AnyCPU + userData: + assetBundleName: + assetBundleVariant: diff --git a/game/Assets/NuGet/Google.Apis.Auth.1.50.0/lib/net45/Google.Apis.Auth.dll b/game/Assets/NuGet/Google.Apis.Auth.1.50.0/lib/net45/Google.Apis.Auth.dll new file mode 100644 index 0000000..992d67f --- /dev/null +++ b/game/Assets/NuGet/Google.Apis.Auth.1.50.0/lib/net45/Google.Apis.Auth.dll @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7663039b4a69af2114369754d6a5f2dfe1619e4e7e4beff52624d548cd3157d0 +size 143360 diff --git a/game/Assets/NuGet/Google.Apis.Auth.1.50.0/lib/net45/Google.Apis.Auth.dll.meta b/game/Assets/NuGet/Google.Apis.Auth.1.50.0/lib/net45/Google.Apis.Auth.dll.meta new file mode 100644 index 0000000..90426d4 --- /dev/null +++ b/game/Assets/NuGet/Google.Apis.Auth.1.50.0/lib/net45/Google.Apis.Auth.dll.meta @@ -0,0 +1,33 @@ +fileFormatVersion: 2 +guid: 954afeaefd646184bab38398ccf4c73f +PluginImporter: + externalObjects: {} + serializedVersion: 2 + iconMap: {} + executionOrder: {} + defineConstraints: [] + isPreloaded: 0 + isOverridable: 0 + isExplicitlyReferenced: 0 + validateReferences: 1 + platformData: + - first: + Any: + second: + enabled: 1 + settings: {} + - first: + Editor: Editor + second: + enabled: 0 + settings: + DefaultValueInitialized: true + - first: + Windows Store Apps: WindowsStoreApps + second: + enabled: 0 + settings: + CPU: AnyCPU + userData: + assetBundleName: + assetBundleVariant: diff --git a/game/Assets/NuGet/Google.Apis.Auth.1.50.0/lib/net45/Google.Apis.Auth.xml b/game/Assets/NuGet/Google.Apis.Auth.1.50.0/lib/net45/Google.Apis.Auth.xml new file mode 100644 index 0000000..44fccde --- /dev/null +++ b/game/Assets/NuGet/Google.Apis.Auth.1.50.0/lib/net45/Google.Apis.Auth.xml @@ -0,0 +1,2726 @@ + + + + Google.Apis.Auth + + + + + Google JSON Web Signature as specified in https://developers.google.com/accounts/docs/OAuth2ServiceAccount. + + + + + Validates a Google-issued Json Web Token (JWT). + Will throw a if the passed value is not valid JWT signed by Google. + + + Follows the procedure to + validate a JWT ID token. + + Google certificates are cached, and refreshed once per hour. This can be overridden by setting + to true. + + The JWT to validate. + Optional. The to use for JWT expiration verification. Defaults to the system clock. + Optional. If true forces new certificates to be downloaded from Google. Defaults to false. + The JWT payload, if the JWT is valid. Throws an otherwise. + Thrown when passed a JWT that is not a valid JWT signed by Google. + + + + Settings used when validating a JSON Web Signature. + + + + + Create a new instance. + + + + + The trusted audience client IDs; or null to suppress audience validation. + + + + + The required GSuite domain of the user; or null to suppress hosted domain validation. + + + + + Optional. The to use for JWT expiration verification. Defaults to the system clock. + + + + + Optional. If true forces new certificates to be downloaded from Google. Defaults to false. + + + + + Clock tolerance for the issued-at check. + Causes a JWT to pass validation up to this duration before it is really valid; + this is to allow for possible local-client clock skew. Defaults to 30 seconds. + + + + + Clock tolerance for the expiration check. + Causes a JWT to pass validation up to this duration after it really expired; + this is to allow for possible local-client clock skew. Defaults to zero seconds. + + + + + CertificateCache for testing purposes. + If null, the default CertificateCache + will + be used. + + + + + Validates a Google-issued Json Web Token (JWT). + Will throw a if the specified JWT fails any validation check. + + + Follows the procedure to + validate a JWT ID token. + + + Issued-at validation and expiry validation is performed using the clock on this local client, + so local clock inaccuracies can lead to incorrect validation results. + Use and + to allow for local clock inaccuracy + IssuedAtClockTolerance defaults to 30 seconds; it is very unlikely a JWT will be issued that isn't already valid. + ExpirationTimeClockTolerance defaults to zero seconds; in some use-cases it may be useful to set this to a negative + value to help ensure that passing local validation means it will pass server validation. + Regardless of whether local validation passed, code must always correctly handle an invalid JWT error + from the server. + + Google certificates are cached, and refreshed once per hour. This can be overridden by setting + to true. + + The JWT to validate. + Specifies how to carry out the validation. + The payload of the verified token. + If the token does not pass verification. + + + + The header as specified in https://developers.google.com/accounts/docs/OAuth2ServiceAccount#formingheader. + + + + + The payload as specified in + https://developers.google.com/accounts/docs/OAuth2ServiceAccount#formingclaimset, + https://developers.google.com/identity/protocols/OpenIDConnect, and + https://openid.net/specs/openid-connect-core-1_0.html#StandardClaims + + + + + A space-delimited list of the permissions the application requests or null. + + + + + The email address of the user for which the application is requesting delegated access. + + + + + The hosted GSuite domain of the user. Provided only if the user belongs to a hosted domain. + + + + + The user's email address. This may not be unique and is not suitable for use as a primary key. + Provided only if your scope included the string "email". + + + + + True if the user's e-mail address has been verified; otherwise false. + + + + + The user's full name, in a displayable form. Might be provided when: + (1) The request scope included the string "profile"; or + (2) The ID token is returned from a token refresh. + When name claims are present, you can use them to update your app's user records. + Note that this claim is never guaranteed to be present. + + + + + Given name(s) or first name(s) of the End-User. Note that in some cultures, people can have multiple given names; + all can be present, with the names being separated by space characters. + + + + + Surname(s) or last name(s) of the End-User. Note that in some cultures, + people can have multiple family names or no family name; + all can be present, with the names being separated by space characters. + + + + + The URL of the user's profile picture. Might be provided when: + (1) The request scope included the string "profile"; or + (2) The ID token is returned from a token refresh. + When picture claims are present, you can use them to update your app's user records. + Note that this claim is never guaranteed to be present. + + + + + End-User's locale, represented as a BCP47 [RFC5646] language tag. + This is typically an ISO 639-1 Alpha-2 [ISO639‑1] language code in lowercase and an + ISO 3166-1 Alpha-2 [ISO3166‑1] country code in uppercase, separated by a dash. + For example, en-US or fr-CA. + + + + + An exception that is thrown when a Json Web Token (JWT) is invalid. + + + + + Initializes a new InvalidJwtException instanc e with the specified error message. + + The error message that explains why the JWT was invalid. + + + + JSON Web Signature (JWS) implementation as specified in + http://tools.ietf.org/html/draft-ietf-jose-json-web-signature-11. + + + + + Verifies that the given token is a valid, not expired, signed token. + + The token to verify. + The options to use for verification. + May be null in which case default options will be used. + The cancellation token for the operation. + The payload contained by the token. + If the token is invalid or expired. + + + + Header as specified in http://tools.ietf.org/html/draft-ietf-jose-json-web-signature-11#section-4.1. + + + + + Gets or set the algorithm header parameter that identifies the cryptographic algorithm used to secure + the JWS or null. + + + + + Gets or sets the JSON Web Key URL header parameter that is an absolute URL that refers to a resource + for a set of JSON-encoded public keys, one of which corresponds to the key that was used to digitally + sign the JWS or null. + + + + + Gets or sets JSON Web Key header parameter that is a public key that corresponds to the key used to + digitally sign the JWS or null. + + + + + Gets or sets key ID header parameter that is a hint indicating which specific key owned by the signer + should be used to validate the digital signature or null. + + + + + Gets or sets X.509 URL header parameter that is an absolute URL that refers to a resource for the X.509 + public key certificate or certificate chain corresponding to the key used to digitally sign the JWS or + null. + + + + + Gets or sets X.509 certificate thumb print header parameter that provides a base64url encoded SHA-1 + thumb-print (a.k.a. digest) of the DER encoding of an X.509 certificate that can be used to match the + certificate or null. + + + + + Gets or sets X.509 certificate chain header parameter contains the X.509 public key certificate or + certificate chain corresponding to the key used to digitally sign the JWS or null. + + + + + Gets or sets array listing the header parameter names that define extensions that are used in the JWS + header that MUST be understood and processed or null. + + + + JWS Payload. + + + + JSON Web Token (JWT) implementation as specified in + http://tools.ietf.org/html/draft-ietf-oauth-json-web-token-08. + + + + + JWT Header as specified in http://tools.ietf.org/html/draft-ietf-oauth-json-web-token-08#section-5. + + + + + Gets or sets type header parameter used to declare the type of this object or null. + + + + + Gets or sets content type header parameter used to declare structural information about the JWT or + null. + + + + + JWT Payload as specified in http://tools.ietf.org/html/draft-ietf-oauth-json-web-token-08#section-4.1. + + + + + Gets or sets issuer claim that identifies the principal that issued the JWT or null. + + + + + Gets or sets subject claim identifying the principal that is the subject of the JWT or null. + + + + + Gets or sets audience claim that identifies the audience that the JWT is intended for (should either be + a string or list) or null. + + + + + Gets or sets the target audience claim that identifies the audience that an OIDC token generated from + this JWT is intended for. Maybe be null. Multiple target audiences are not supported. + null. + + + + + Gets or sets expiration time claim that identifies the expiration time (in seconds) on or after which + the token MUST NOT be accepted for processing or null. + + + + + Gets or sets not before claim that identifies the time (in seconds) before which the token MUST NOT be + accepted for processing or null. + + + + + Gets or sets issued at claim that identifies the time (in seconds) at which the JWT was issued or + null. + + + + + Gets or sets JWT ID claim that provides a unique identifier for the JWT or null. + + + + + The nonce value specified by the client during the authorization request. + Must be present if a nonce was specified in the authorization request, otherwise this will not be present. + + + + + Gets or sets type claim that is used to declare a type for the contents of this JWT Claims Set or + null. + + + + Gets the audience property as a list. + + + + Represents an access token that can be used to authorize a request. + The token might be accompanied by extra information that should be sent + in the form of headers. + + + + + Constructs an based on a given token and headers. + + The token to build this instance for. May be null. + The collection of headers that may accompany the token. May be null. + + + + An access token that can be used to authorize a request. + + + + + Extra headers, if any, that should be included in the request. + + + + + Adds the headers in this object to the given header collection. + + The header collection to add the headers to. + + + + Adds the headers in this object to the given request. + + The request to add the headers to. + + + + Builder class for to simplify common scenarios. + + + + + The GCP project ID used for quota and billing purposes. May be null. + + + + + Builds and instance of with the given + token and the value set on this builder. + + The token to build the for. + An . + + + + Thread-safe OAuth 2.0 authorization code flow for an installed application that persists end-user credentials. + + + Incremental authorization (https://developers.google.com/+/web/api/rest/oauth) is currently not supported + for Installed Apps. + + + + + Constructs a new authorization code installed application with the given flow and code receiver. + + + + Gets the authorization code flow. + + + Gets the code receiver which is responsible for receiving the authorization code. + + + + + + + Determines the need for retrieval of a new authorization code, based on the given token and the + authorization code flow. + + + + + OAuth 2.0 helper for accessing protected resources using the Bearer token as specified in + http://tools.ietf.org/html/rfc6750. + + + + + Thread-safe OAuth 2.0 method for accessing protected resources using the Authorization header as specified + in http://tools.ietf.org/html/rfc6750#section-2.1. + + + + + + + + + + + Obsolete. + Thread-safe OAuth 2.0 method for accessing protected resources using an access_token query parameter + as specified in http://tools.ietf.org/html/rfc6750#section-2.3. + This access method is being made obsolete. Please read here for more up to date information: + `https://developers.google.com/identity/protocols/oauth2/index.html#4.-send-the-access-token-to-an-api.`. + Please use instead. + + + + + + + + + + Client credential details for installed and web applications. + + + Gets or sets the client identifier. + + + Gets or sets the client Secret. + + + + Google OAuth 2.0 credential for accessing protected resources using an access token. The Google OAuth 2.0 + Authorization Server supports server-to-server interactions such as those between a web application and Google + Cloud Storage. The requesting application has to prove its own identity to gain access to an API, and an + end-user doesn't have to be involved. + + More details about Compute Engine authentication is available at: + https://cloud.google.com/compute/docs/authentication. + + + + + The metadata server url. This can be overridden (for the purposes of Compute environment detection and + auth token retrieval) using the GCE_METADATA_HOST environment variable. + + + Caches result from first call to IsRunningOnComputeEngine + + + + Originally 1000ms was used without a retry. This proved inadequate; even 2000ms without + a retry occasionally failed. We have observed that after a timeout, the next attempt + succeeds very quickly (sub-50ms) which suggests that this should be fine. + + + + The Metadata flavor header name. + + + The Metadata header response indicating Google. + + + + Gets the OIDC Token URL. + + + + + An initializer class for the Compute credential. It uses + as the token server URL (optionally overriding the host using the GCE_METADATA_HOST environment variable). + + + + + Gets the OIDC Token URL. + + + + Constructs a new initializer using the default compute token URL + and the default OIDC token URL. + + + Constructs a new initializer using the given token URL + and the default OIDC token URL. + + + Constructs a new initializer using the given token URL + and OIDC token URL (optionally overriding the host using the GCE_METADATA_HOST environment variable). + + + Constructs a new Compute credential instance. + + + Constructs a new Compute credential instance. + + + + + + + + + + + + + Detects if application is running on Google Compute Engine. This is achieved by attempting to contact + GCE metadata server, that is only available on GCE. The check is only performed the first time you + call this method, subsequent invocations used cached result of the first call. + + + + + Provides the Application Default Credential from the environment. + An instance of this class represents the per-process state used to get and cache + the credential and allows overriding the state and environment for testing purposes. + + + + + Environment variable override which stores the default application credentials file path. + + + + Well known file which stores the default application credentials. + + + Environment variable which contains the Application Data settings. + + + Environment variable which contains the location of home directory on UNIX systems. + + + GCloud configuration directory in Windows, relative to %APPDATA%. + + + Help link to the application default credentials feature. + + + GCloud configuration directory on Linux/Mac, relative to $HOME. + + + Caches result from first call to GetApplicationDefaultCredentialAsync + + + Constructs a new default credential provider. + + + + Returns the Application Default Credentials. Subsequent invocations return cached value from + first invocation. + See for details. + + + + Creates a new default credential. + + + Creates a default credential from a stream that contains JSON credential data. + + + Creates a default credential from a stream that contains JSON credential data. + + + Creates a default credential from a string that contains JSON credential data. + + + Creates a default credential from JSON data. + + + Creates a user credential from JSON data. + + + Creates a from JSON data. + + + + Returns platform-specific well known credential file path. This file is created by + gcloud auth login + + + + + Gets the environment variable. + This method is protected so it could be overriden for testing purposes only. + + + + + Opens file as a stream. + This method is protected so it could be overriden for testing purposes only. + + + + + Thread-safe OAuth 2.0 authorization code flow that manages and persists end-user credentials. + + This is designed to simplify the flow in which an end-user authorizes the application to access their protected + data, and then the application has access to their data based on an access token and a refresh token to refresh + that access token when it expires. + + + + + An initializer class for the authorization code flow. + + + + Gets or sets the method for presenting the access token to the resource server. + The default value is + . + + + + Gets the token server URL. + + + Gets or sets the authorization server URL. + + + Gets or sets the client secrets which includes the client identifier and its secret. + + + + Gets or sets the client secrets stream which contains the client identifier and its secret. + + The AuthorizationCodeFlow constructor is responsible for disposing the stream. + + + Gets or sets the data store used to store the token response. + + + + Gets or sets the scopes which indicate the API access your application is requesting. + + + + + Gets or sets the factory for creating instance. + + + + + Get or sets the exponential back-off policy. Default value is UnsuccessfulResponse503, which + means that exponential back-off is used on 503 abnormal HTTP responses. + If the value is set to None, no exponential back-off policy is used, and it's up to user to + configure the in an + to set a specific back-off + implementation (using ). + + + + + Gets or sets the clock. The clock is used to determine if the token has expired, if so we will try to + refresh it. The default value is . + + + + Constructs a new initializer. + Authorization server URL + Token server URL + + + Gets the token server URL. + + + Gets the authorization code server URL. + + + Gets the client secrets which includes the client identifier and its secret. + + + Gets the data store used to store the credentials. + + + Gets the scopes which indicate the API access your application is requesting. + + + Gets the HTTP client used to make authentication requests to the server. + + + Constructs a new flow using the initializer's properties. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Stores the token in the . + User identifier. + Token to store. + Cancellation token to cancel operation. + + + Retrieve a new token from the server using the specified request. + User identifier. + Token request. + Cancellation token to cancel operation. + Token response with the new access token. + + + + + + + Google specific authorization code flow which inherits from . + + + + + The project ID associated with the credential using this flow. + + + + Gets the token revocation URL. + + + Gets the include granted scopes indicator. + Do not use, use instead. + + + Gets the include granted scopes indicator. + + + Gets the login_hint. + + + + Gets the prompt for consent behaviour. + Value can be null, "none", "consent", or "select_account". + See OpenIDConnect documentation + for details. + + + + Gets the nonce. + + + Gets the user defined query parameters. + + + Constructs a new Google authorization code flow. + + + + + + + + + + + + An initializer class for Google authorization code flow. + + + + The project ID associated with the credential using this flow. + + + + Gets or sets the token revocation URL. + + + + Gets or sets the optional indicator for including granted scopes for incremental authorization. + + + + Gets or sets the login_hint. + + + + Gets or sets the prompt for consent behaviour. + Value can be null, "none", "consent", or "select_account". + See OpenIDConnect documentation + for details. + + + + Gets or sets the nonce. + + + Gets or sets the optional user defined query parameters. + + + + Constructs a new initializer. Sets Authorization server URL to + , and Token server URL to + . + + + + Constructs a new initializer. + Authorization server URL + Token server URL + Revocation server URL + + This is mainly for internal testing at Google, where we occasionally need + to use alternative oauth endpoints. This is not for general use. + + + + OAuth 2.0 authorization code flow that manages and persists end-user credentials. + + + Gets the method for presenting the access token to the resource server. + + + Gets the clock. + + + Gets the data store used to store the credentials. + + + + Asynchronously loads the user's token using the flow's + . + + User identifier + Cancellation token to cancel operation + Token response + + + + Asynchronously deletes the user's token using the flow's + . + + User identifier. + Cancellation token to cancel operation. + + + Creates an authorization code request with the specified redirect URI. + + + Asynchronously exchanges code with a token. + User identifier. + Authorization code received from the authorization server. + Redirect URI which is used in the token request. + Cancellation token to cancel operation. + Token response which contains the access token. + + + Asynchronously refreshes an access token using a refresh token. + User identifier. + Refresh token which is used to get a new access token. + Cancellation token to cancel operation. + Token response which contains the access token and the input refresh token. + + + + Asynchronously revokes the specified token. This method disconnects the user's account from the OAuth 2.0 + application. It should be called upon removing the user account from the site. + + If revoking the token succeeds, the user's credential is removed from the data store and the user MUST + authorize the application again before the application can access the user's private resources. + + User identifier. + Access token to be revoked. + Cancellation token to cancel operation. + true if the token was revoked successfully. + + + + Indicates if a new token needs to be retrieved and stored regardless of normal circumstances. + + + + + Google OAuth2 constants. + Canonical source for these URLs is: https://accounts.google.com/.well-known/openid-configuration + + + + The authorization code server URL. + + + The OpenID Connect authorization code server URL. + + Use of this is not 100% compatible with using + , so they are two distinct URLs. + Internally within this library only this more up-to-date is used. + + + + The approval URL (used in the Windows solution as a callback). + + + The authorization token server URL. + + + The OpenID Connect authorization token server URL. + + Use of this is not 100% compatible with using + , so they are two distinct URLs. + Internally within this library only this more up-to-date is used. + + + + The Compute Engine authorization token server URL + IP address instead of name to avoid DNS resolution + + + The path to the Google revocation endpoint. + + + The OpenID Connect Json Web Key Set (jwks) URL. + + + The IAP Json Web Key Set (jwks) URL. + + + Installed application redirect URI. + + + Installed application localhost redirect URI. + + + + The effective Compute Engine authorization token server URL. + This takes account of the GCE_METADATA_HOST environment variable. + + + + + The effective Compute Engine authorization token server URL for OIDC. This requires an audience parameter to be added. + This takes account of the GCE_METADATA_HOST environment variable. + + + + + The effective Compute Engine metadata token server URL (with no path). + This takes account of the GCE_METADATA_HOST environment variable. + + + + + OAuth 2.0 client secrets model as specified in https://cloud.google.com/console/. + + + + Gets or sets the details for installed applications. + + + Gets or sets the details for web applications. + + + Gets the client secrets which contains the client identifier and client secret. + + + Loads the Google client secret from the input stream. + + + + Credential for authorizing calls using OAuth 2.0. + It is a convenience wrapper that allows handling of different types of + credentials (like , + or ) in a unified way. + + See for the credential retrieval logic. + + + + + Provider implements the logic for creating the application default credential. + + + The underlying credential being wrapped by this object. + + + Creates a new GoogleCredential. + + + + Returns the Application Default Credentials which are ambient credentials that identify and authorize + the whole application. See for more details. + + A task which completes with the application default credentials. + + + + Returns the Application Default Credentials which are ambient credentials that identify and authorize + the whole application. + The ambient credentials are determined as following order: + + + + The environment variable GOOGLE_APPLICATION_CREDENTIALS is checked. If this variable is specified, it + should point to a file that defines the credentials. The simplest way to get a credential for this purpose + is to create a service account using the + Google Developers Console in the section APIs & + Auth, in the sub-section Credentials. Create a service account or choose an existing one and select + Generate new JSON key. Set the environment variable to the path of the JSON file downloaded. + + + + + If you have installed the Google Cloud SDK on your machine and have run the command + GCloud Auth Login, your identity can + be used as a proxy to test code calling APIs from that machine. + + + + + If you are running in Google Compute Engine production, the built-in service account associated with the + virtual machine instance will be used. + + + + + If all previous steps have failed, InvalidOperationException is thrown. + + + + + + If the cancellation token is cancelled while the underlying operation is loading Application Default Credentials, + the underlying operation will still be used for any further requests. No actual work is cancelled via this cancellation + token; it just allows the returned task to transition to a cancelled state. + + Cancellation token for the operation. + A task which completes with the application default credentials. + + + + Synchronously returns the Application Default Credentials which are ambient credentials that identify and authorize + the whole application. See for details on application default credentials. + This method will block until the credentials are available (or an exception is thrown). + It is highly preferable to call where possible. + + The application default credentials. + + + + Loads credential from stream containing JSON credential data. + + The stream can contain a Service Account key file in JSON format from the Google Developers + Console or a stored user credential using the format supported by the Cloud SDK. + + + + + + Loads credential from stream containing JSON credential data. + + The stream can contain a Service Account key file in JSON format from the Google Developers + Console or a stored user credential using the format supported by the Cloud SDK. + + + + + + Loads credential from the specified file containing JSON credential data. + + The file can contain a Service Account key file in JSON format from the Google Developers + Console or a stored user credential using the format supported by the Cloud SDK. + + + The path to the credential file. + The loaded credentials. + + + + Loads credential from the specified file containing JSON credential data. + + The file can contain a Service Account key file in JSON format from the Google Developers + Console or a stored user credential using the format supported by the Cloud SDK. + + + The path to the credential file. + Cancellation token for the operation. + The loaded credentials. + + + + Loads credential from a string containing JSON credential data. + + The string can contain a Service Account key file in JSON format from the Google Developers + Console or a stored user credential using the format supported by the Cloud SDK. + + + + + + Create a directly from the provided access token. + The access token will not be automatically refreshed. + + The access token to use within this credential. + Optional. The to use within this credential. + If null, will default to . + A credential based on the provided access token. + + + + + + + + + + + + + Create a from a . + In general, do not use this method. Call or + , which will provide the most suitable + credentials for the current platform. + + Optional. The compute credential to use in the returned . + If null, then a new will be instantiated, using the default + . + A with an underlying . + + + + Returns true only if this credential type has no scopes by default and requires + a call to before use. + + Credentials need to have scopes in them before they can be used to access Google services. + Some Credential types have scopes built-in, and some don't. This property indicates whether + the Credential type has scopes built-in. + + + + + has scopes built-in. Nothing additional is required. + + + + + has scopes built-in, as they were obtained during the consent + screen. Nothing additional is required. + + + + does not have scopes built-in by default. Caller should + invoke to add scopes to the credential. + + + + + + + + The ID of the project associated to this credential for the purposes of + quota calculation and billing. May be null. + + + + + If the credential supports scopes, creates a copy with the specified scopes. Otherwise, it returns the same + instance. + + + + + If the credential supports scopes, creates a copy with the specified scopes. Otherwise, it returns the same + instance. + + + + + If the credential supports setting the user, creates a copy with the specified user. + Otherwise, it throws . + Only Service Credentials support this operation. + + The user to set in the returned credential. + This credential with the user set to . + When the credential type doesn't support setting the user. + + + + Creates a copy of this credential with the specified quota project. + + The quota project to use for the copy. May be null. + A copy of this credential with set to . + + + + + + + Gets the underlying credential instance being wrapped. + + + + Creates a GoogleCredential wrapping a . + + + + Wraps ServiceAccountCredential as GoogleCredential. + We need this subclass because wrapping ServiceAccountCredential (unlike other wrapped credential + types) requires special handling for IsCreateScopedRequired and CreateScoped members. + + + + A helper utility to manage the authorization code flow. + + This class is only suitable for client-side use, as it starts a local browser that requires + user interaction. + Do not use this class when executing on a web server, or any cases where the authenticating + end-user is not able to do directly interact with a launched browser. + + + + The folder which is used by the . + + The reason that this is not 'private const' is that a user can change it and store the credentials in a + different location. + + + + + Asynchronously authorizes the specified user. + Requires user interaction; see remarks for more details. + + + In case no data store is specified, will be used by + default. + + The client secrets. + + The scopes which indicate the Google API access your application is requesting. + + The user to authorize. + Cancellation token to cancel an operation. + The data store, if not specified a file data store will be used. + The code receiver, if not specified a local server code receiver will be used. + User credential. + + + + Asynchronously authorizes the specified user. + Requires user interaction; see remarks for more details. + + + In case no data store is specified, will be used by + default. + + + The client secrets stream. The authorization code flow constructor is responsible for disposing the stream. + + + The scopes which indicate the Google API access your application is requesting. + + The user to authorize. + Cancellation token to cancel an operation. + The data store, if not specified a file data store will be used. + The code receiver, if not specified a local server code receiver will be used. + User credential. + + + + Asynchronously reauthorizes the user. This method should be called if the users want to authorize after + they revoked the token. + Requires user interaction; see remarks for more details. + + The current user credential. Its will be + updated. + Cancellation token to cancel an operation. + The code receiver, if not specified a local server code receiver will be used. + + + + The core logic for asynchronously authorizing the specified user. + Requires user interaction; see remarks for more details. + + The authorization code initializer. + + The scopes which indicate the Google API access your application is requesting. + + The user to authorize. + Cancellation token to cancel an operation. + The data store, if not specified a file data store will be used. + The code receiver, if not specified a local server code receiver will be used. + User credential. + + + + Method of presenting the access token to the resource server as specified in + http://tools.ietf.org/html/rfc6749#section-7 + + + + + Intercepts a HTTP request right before the HTTP request executes by providing the access token. + + + + + Retrieves the original access token in the HTTP request, as provided in the + method. + + + + + Authorization code flow for an installed application that persists end-user credentials. + + + + Gets the authorization code flow. + + + Gets the code receiver. + + + Asynchronously authorizes the installed application to access user's protected data. + User identifier + Cancellation token to cancel an operation + The user's credential + + + OAuth 2.0 verification code receiver. + + + Gets the redirected URI. + + + Receives the authorization code. + The authorization code request URL + Cancellation token + The authorization code response + + + + The main interface to represent credential in the client library. + Service account, User account and Compute credential inherit from this interface + to provide access token functionality. In addition this interface inherits from + to be able to hook to http requests. + More details are available in the specific implementations. + + + + + Represents a Google credential. Defines functionality that + credential types that can be used as an underlying credential in + should implement in contrast to that defines public functionality. + + + + + The ID of the project associated to this credential for the purposes of + quota calculation and billing. May be null. + + + + + Returns a new instance of the same type as this but with the + given quota project value. + + The quota project value for the new instance. + A new instance with the same type as this but with + set to . + + + + Represents an OIDC token provider. + + + + + Returns an OIDC token for the given options. + + The options to create the token from. + The cancellation token that may be used to cancel the request. + The OIDC token. + + + + Allows direct retrieval of access tokens to authenticate requests. + This is necessary for workflows where you don't want to use + to access the API. + (e.g. gRPC that implemenents the entire HTTP2 stack internally). + + + + + Gets an access token to authorize a request. + Implementations should handle automatic refreshes of the token + if they are supported. + The might be required by some credential types + (e.g. the JWT access token) while other credential types + migth just ignore it. + + The URI the returned token will grant access to. + The cancellation token. + The access token. + + + + Allows direct retrieval of access tokens to authenticate requests. + The access tokens obtained can be accompanied by extra information + that either describes the access token or is associated with it. + This information should acompany the token as headers when the token + is used to access a resource. + + + + + Gets an access token to authorize a request. + The token might be accompanied by extra information that should be sent + in the form of headers. + Implementations should handle automatic refreshes of the token + if they are supported. + The might be required by some credential types + (e.g. the JWT access token) while other credential types + migth just ignore it. + + The URI the returned token will grant access to. + The cancellation token. + The access token with headers if any. + + + + Holder for credential parameters read from JSON credential file. + Fields are union of parameters for all supported credential types. + + + + + UserCredential is created by the GCloud SDK tool when the user runs + GCloud Auth Login. + + + + + ServiceAccountCredential is downloaded by the user from + Google Developers Console. + + + + Type of the credential. + + + + Project ID associated with this credential. + + + + + Project ID associated with this credential for the purposes + of quota calculations and billing. + + + + + Client Id associated with UserCredential created by + GCloud Auth Login. + + + + + Client Secret associated with UserCredential created by + GCloud Auth Login. + + + + + Client Email associated with ServiceAccountCredential obtained from + Google Developers Console + + + + + Private Key associated with ServiceAccountCredential obtained from + Google Developers Console. + + + + + Private Key ID associated with ServiceAccountCredential obtained from + Google Developers Console. + + + + + Refresh Token associated with UserCredential created by + GCloud Auth Login. + + + + + OAuth 2.0 verification code receiver that runs a local server on a free port and waits for a call with the + authorization verification code. + + + + + Describes the different strategies for the selection of the callback URI. + 127.0.0.1 is recommended, but can't be done in non-admin Windows 7 and 8 at least. + + + + + Use heuristics to attempt to connect to the recommended URI 127.0.0.1 + but use localhost if that fails. + + + + + Force 127.0.0.1 as the callback URI. No checks are performed. + + + + + Force localhost as the callback URI. No checks are performed. + + + + The call back request path. + + + Close HTML tag to return the browser so it will close itself. + + + + Create an instance of . + + + + + Create an instance of . + + Custom close page response for this instance + + + + Create an instance of . + + Custom close page response for this instance + The strategy to use to determine the callback URI + + + + An extremely limited HTTP server that can only do exactly what is required + for this use-case. + It can only serve localhost; receive a single GET request; read only the query paremters; + send back a fixed response. Nothing else. + + + + + + + + + + Returns a random, unused port. + + + Localhost callback URI, expects a port parameter. + + + 127.0.0.1 callback URI, expects a port parameter. + + + + Represents an OIDC Token. + + + + + The this OIDC token is built from. + + + + + Gets the access token that should be included in headers when performing + requests with this . + This method will refresh the access token if the current one has expired. + + The cancellation token to use for cancelling the operation. + The valid access token associated to this . + + + + Represents the OIDC token formats supported when the token is obtained using the GCE metadata server. + + + + + Specifies that the project and instance details should not be + included in the payload of the JWT token returned by the GCE + metadata server. + + + + + Specifies that the project and instance details should be + included in the payload of the JWT token returned by the GCE + metadata server. + + + + + Same as . License codes for images associated with the + GCE instance the token is being obtained from will also be included in the + payload of the JWT token returned by the GCE metadata server. + + + + + Options used to create an . + + + + + The target audience the generated token should be valid for. + Must not be null. + + + + + The token format of the expected OIDC token when obtained from the + GCE metadata server. + This value will be ignored when the token provider is other then the GCE + metadata server. + for the meaning of each value. + Defaults to . + + + + + Builds new from the given target audience. + + The target audience to build these options from. Must no be null. + A new set of options that can be used with a to obtain an . + + + + Builds a new set of options with the same options as this one, except for the target audience. + + The new target audience. Must not be null. + A new set of options with the given target audience. + + + + Builds a new set of options with the same options as this one, except for the token format. + + The new token format. + A new set of options with the given token format. + + + + An incomplete ASN.1 decoder, only implements what's required + to decode a Service Credential. + + + + OAuth 2.0 verification code receiver that reads the authorization code from the user input. + + + + + + + + + + Extension methods for requests. + + + + + Add a credential that is used for this request only. + This will override a service-level credential (if there is one). + Do not call more than once per request instance, as each call incrementally adds the provided credential. + To perform identical requests but with distinct credentials, create a separate request instance for each credential. + + The request type. + The request which requires a credential. Must not be null. + The credential to use for this request only. Must not be null. + + + + + OAuth 2.0 request URL for an authorization web page to allow the end user to authorize the application to + access their protected resources and that returns an authorization code, as specified in + http://tools.ietf.org/html/rfc6749#section-4.1. + + + + + Constructs a new authorization code request with the specified URI and sets response_type to code. + + + + Creates a which is used to request the authorization code. + + + + OAuth 2.0 request for an access token using an authorization code as specified in + http://tools.ietf.org/html/rfc6749#section-4.1.3. + + + + Gets or sets the authorization code received from the authorization server. + + + + Gets or sets the redirect URI parameter matching the redirect URI parameter in the authorization request. + + + + + Constructs a new authorization code token request and sets grant_type to authorization_code. + + + + + OAuth 2.0 request URL for an authorization web page to allow the end user to authorize the application to + access their protected resources, as specified in http://tools.ietf.org/html/rfc6749#section-3.1. + + + + + Gets or sets the response type which must be code for requesting an authorization code or + token for requesting an access token (implicit grant), or space separated registered extension + values. See http://tools.ietf.org/html/rfc6749#section-3.1.1 for more details + + + + Gets or sets the client identifier. + + + + Gets or sets the URI that the authorization server directs the resource owner's user-agent back to the + client after a successful authorization grant, as specified in + http://tools.ietf.org/html/rfc6749#section-3.1.2 or null for none. + + + + + Gets or sets space-separated list of scopes, as specified in http://tools.ietf.org/html/rfc6749#section-3.3 + or null for none. + + + + + Gets or sets the state (an opaque value used by the client to maintain state between the request and + callback, as mentioned in http://tools.ietf.org/html/rfc6749#section-3.1.2.2 or null for none. + + + + Gets the authorization server URI. + + + Constructs a new authorization request with the specified URI. + Authorization server URI + + + + Service account assertion token request as specified in + https://developers.google.com/accounts/docs/OAuth2ServiceAccount#makingrequest. + + + + Gets or sets the JWT (including signature). + + + + Constructs a new refresh code token request and sets grant_type to + urn:ietf:params:oauth:grant-type:jwt-bearer. + + + + + Google-specific implementation of the OAuth 2.0 URL for an authorization web page to allow the end user to + authorize the application to access their protected resources and that returns an authorization code, as + specified in https://developers.google.com/accounts/docs/OAuth2WebServer. + + + + + Gets or sets the access type. Set online to request on-line access or offline to request + off-line access or null for the default behavior. The default value is offline. + + + + + Gets of sets prompt for consent behaviour. + Value can be null, "none", "consent", or "select_account". + See OpenIDConnect documentation + for details. + + + + + Gets or sets prompt for consent behavior auto to request auto-approval orforce to force the + approval UI to show, or null for the default behavior. + + + + + Gets or sets the login hint. Sets email address or sub identifier. + When your application knows which user it is trying to authenticate, it may provide this parameter as a + hint to the Authentication Server. Passing this hint will either pre-fill the email box on the sign-in form + or select the proper multi-login session, thereby simplifying the login flow. + + + + + Gets or sets the include granted scopes to determine if this authorization request should use + incremental authorization (https://developers.google.com/+/web/api/rest/oauth#incremental-auth). + If true and the authorization request is granted, the authorization will include any previous + authorizations granted to this user/application combination for other scopes. + + Currently unsupported for installed apps. + + + + Gets or sets the nonce; + a random value generated by your app that enables replay protection. + See https://developers.google.com/identity/protocols/OpenIDConnect for more details. + + + + + Gets or sets a collection of user defined query parameters to facilitate any not explicitly supported + by the library which will be included in the resultant authentication URL. + + + The name of this parameter is used only for the constructor and will not end up in the resultant query + string. + + + + + Constructs a new authorization code request with the given authorization server URL. This constructor sets + the to offline. + + + + + Google OAuth 2.0 request to revoke an access token as specified in + https://developers.google.com/accounts/docs/OAuth2WebServer#tokenrevoke. + + + + Gets the URI for token revocation. + + + Gets or sets the token to revoke. + + + Creates a which is used to request the authorization code. + + + + OAuth 2.0 request to refresh an access token using a refresh token as specified in + http://tools.ietf.org/html/rfc6749#section-6. + + + + Gets or sets the Refresh token issued to the client. + + + + Constructs a new refresh code token request and sets grant_type to refresh_token. + + + + + OAuth 2.0 request for an access token as specified in http://tools.ietf.org/html/rfc6749#section-4. + + + + + Gets or sets space-separated list of scopes as specified in http://tools.ietf.org/html/rfc6749#section-3.3. + + + + + Gets or sets the Grant type. Sets authorization_code or password or client_credentials + or refresh_token or absolute URI of the extension grant type. + + + + Gets or sets the client Identifier. + + + Gets or sets the client Secret. + + + Extension methods to . + + + + Executes the token request in order to receive a + . In case the token server returns an + error, a is thrown. + + The token request. + The HTTP client used to create an HTTP request. + The token server URL. + Cancellation token to cancel operation. + + The clock which is used to set the + property. + + Token response with the new access token. + + + + Authorization Code response for the redirect URL after end user grants or denies authorization as specified + in http://tools.ietf.org/html/rfc6749#section-4.1.2. + + Check that is not null or empty to verify the end-user granted authorization. + + + + + Gets or sets the authorization code generated by the authorization server. + + + + Gets or sets the state parameter matching the state parameter in the authorization request. + + + + + Gets or sets the error code (e.g. "invalid_request", "unauthorized_client", "access_denied", + "unsupported_response_type", "invalid_scope", "server_error", "temporarily_unavailable") as specified in + http://tools.ietf.org/html/rfc6749#section-4.1.2.1. + + + + + Gets or sets the human-readable text which provides additional information used to assist the client + developer in understanding the error occurred. + + + + + Gets or sets the URI identifying a human-readable web page with provides information about the error. + + + + Constructs a new authorization code response URL from the specified dictionary. + + + Constructs a new authorization code response URL from the specified query string. + + + Initializes this instance from the input dictionary. + + + Constructs a new empty authorization code response URL. + + + + OAuth 2.0 model for a unsuccessful access token response as specified in + http://tools.ietf.org/html/rfc6749#section-5.2. + + + + + Gets or sets error code (e.g. "invalid_request", "invalid_client", "invalid_grant", "unauthorized_client", + "unsupported_grant_type", "invalid_scope") as specified in http://tools.ietf.org/html/rfc6749#section-5.2. + + + + + Gets or sets a human-readable text which provides additional information used to assist the client + developer in understanding the error occurred. + + + + + Gets or sets the URI identifying a human-readable web page with provides information about the error. + + + + + + + Constructs a new empty token error response. + + + Constructs a new token error response from the given authorization code response. + + + + OAuth 2.0 model for a successful access token response as specified in + http://tools.ietf.org/html/rfc6749#section-5.1. + + + + Gets or sets the access token issued by the authorization server. + + + + Gets or sets the token type as specified in http://tools.ietf.org/html/rfc6749#section-7.1. + + + + Gets or sets the lifetime in seconds of the access token. + + + + Gets or sets the refresh token which can be used to obtain a new access token. + For example, the value "3600" denotes that the access token will expire in one hour from the time the + response was generated. + + + + + Gets or sets the scope of the access token as specified in http://tools.ietf.org/html/rfc6749#section-3.3. + + + + + Gets or sets the id_token, which is a JSON Web Token (JWT) as specified in http://tools.ietf.org/html/draft-ietf-oauth-json-web-token + + + + + The date and time that this token was issued, expressed in the system time zone. + This property only exists for backward compatibility; it can cause inappropriate behavior around + time zone transitions (e.g. daylight saving transitions). + + + + + The date and time that this token was issued, expressed in UTC. + + + This should be set by the CLIENT after the token was received from the server. + + + + + Returns true if the token is expired or it's going to expire soon. + + If a token response doens't have at least one of + or set then it's considered expired. + If is null, the token is also considered expired. + + + + Returns true if the token is expired or it's so close to expiring that it shouldn't be used. + + If a token response doens't have at least one of + or set then it's considered expired. + If is null, the token is also considered expired. + + + + Asynchronously parses a instance from the specified . + + The http response from which to parse the token. + The clock used to set the value of the token. + The logger used to output messages incase of error. + + The response was not successful or there is an error parsing the response into valid instance. + + + A task containing the parsed form the response message. + + + + + Token response exception which is thrown in case of receiving a token error when an authorization code or an + access token is expected. + + + + The error information. + + + HTTP status code of error, or null if unknown. + + + Constructs a new token response exception from the given error. + + + Constructs a new token response exception from the given error nad optional HTTP status code. + + + + Google OAuth 2.0 credential for accessing protected resources using an access token. The Google OAuth 2.0 + Authorization Server supports server-to-server interactions such as those between a web application and Google + Cloud Storage. The requesting application has to prove its own identity to gain access to an API, and an + end-user doesn't have to be involved. + + Take a look in https://developers.google.com/accounts/docs/OAuth2ServiceAccount for more details. + + + Since version 1.9.3, service account credential also supports JSON Web Token access token scenario. + In this scenario, instead of sending a signed JWT claim to a token server and exchanging it for + an access token, a locally signed JWT claim bound to an appropriate URI is used as an access token + directly. + See for explanation when JWT access token + is used and when regular OAuth2 token is used. + + + + + An initializer class for the service account credential. + + + Gets the service account ID (typically an e-mail address). + + + + The project ID associated with this credential. + + + + + Gets or sets the email address of the user the application is trying to impersonate in the service + account flow or null. + + + + Gets the scopes which indicate API access your application is requesting. + + + + Gets or sets the key which is used to sign the request, as specified in + https://developers.google.com/accounts/docs/OAuth2ServiceAccount#computingsignature. + + + + + Gets or sets the service account key ID. + + + + Constructs a new initializer using the given id. + + + Constructs a new initializer using the given id and the token server URL. + + + Extracts the from the given PKCS8 private key. + + + Extracts a from the given certificate. + + + Unix epoch as a DateTime + + + Gets the service account ID (typically an e-mail address). + + + + The project ID associated with this credential. + + + + + Gets the email address of the user the application is trying to impersonate in the service account flow + or null. + + + + Gets the service account scopes. + + + + Gets the key which is used to sign the request, as specified in + https://developers.google.com/accounts/docs/OAuth2ServiceAccount#computingsignature. + + + + + Gets the key id of the key which is used to sign the request. + + + + true if this credential has any scopes associated with it. + + + Constructs a new service account credential using the given initializer. + + + + Creates a new instance from JSON credential data. + + The stream from which to read the JSON key data for a service account. Must not be null. + + The does not contain valid JSON service account key data. + + The credentials parsed from the service account key data. + + + + + + + Requests a new token as specified in + https://developers.google.com/accounts/docs/OAuth2ServiceAccount#makingrequest. + + Cancellation token to cancel operation. + true if a new token was received successfully. + + + + Gets an access token to authorize a request. + If is set and this credential has no scopes associated + with it, a locally signed JWT access token for given + is returned. Otherwise, an OAuth2 access token obtained from token server will be returned. + A cached token is used if possible and the token is only refreshed once it's close to its expiry. + + The URI the returned token will grant access to. + The cancellation token. + The access token. + + + + + + + Creates a JWT access token than can be used in request headers instead of an OAuth2 token. + This is achieved by signing a special JWT using this service account's private key. + The URI for which the access token will be valid. + The issue time of the JWT. + The expiry time of the JWT. + + + + + Signs JWT token using the private key and returns the serialized assertion. + + the JWT payload to sign. + + + + Creates a base64 encoded signature for the SHA-256 hash of the specified data. + + The data to hash and sign. Must not be null. + The base-64 encoded signature. + + + + Creates a serialized header as specified in + https://developers.google.com/accounts/docs/OAuth2ServiceAccount#formingheader. + + + + + Creates a claim set as specified in + https://developers.google.com/accounts/docs/OAuth2ServiceAccount#formingclaimset. + + + + + This type of Google OAuth 2.0 credential enables access to protected resources using an access token when + interacting server to server. For example, a service account credential could be used to access Google Cloud + Storage from a web application without a user's involvement. + + ServiceAccountCredential inherits from this class in order to support Service Account. More + details available at: https://developers.google.com/accounts/docs/OAuth2ServiceAccount. + is another example for a class that inherits from this + class in order to support Compute credentials. For more information about Compute authentication, see: + https://cloud.google.com/compute/docs/authentication. + + + + + Logger for this class + + + An initializer class for the service credential. + + + Gets the token server URL. + + + + Gets or sets the clock used to refresh the token when it expires. The default value is + . + + + + + Gets or sets the method for presenting the access token to the resource server. + The default value is . + + + + + Gets or sets the factory for creating a instance. + + + + + Get or sets the exponential back-off policy. Default value is UnsuccessfulResponse503, which + means that exponential back-off is used on 503 abnormal HTTP responses. + If the value is set to None, no exponential back-off policy is used, and it's up to the user to + configure the in an + to set a specific back-off + implementation (using ). + + + + + The ID of the project associated to this credential for the purposes of + quota calculation and billing. May be null. + + + + Constructs a new initializer using the given token server URL. + + + Gets the token server URL. + + + Gets the clock used to refresh the token if it expires. + + + Gets the method for presenting the access token to the resource server. + + + Gets the HTTP client used to make authentication requests to the server. + + + Gets the token response which contains the access token. + + + + The ID of the project associated to this credential for the purposes of + quota calculation and billing. May be null. + + + + Constructs a new service account credential using the given initializer. + + + + + + + + + + Decorates unsuccessful responses, returns true if the response gets modified. + See IHttpUnsuccessfulResponseHandler for more information. + + + + + Gets an access token to authorize a request. If the existing token expires soon, try to refresh it first. + + + + + + + + Requests a new token. + Cancellation token to cancel operation. + true if a new token was received successfully. + + + + Encapsulation of token refresh behaviour. This isn't entirely how we'd design the code now (in terms of the + callback in particular) but it fits in with the exposed API surface of ServiceCredential and UserCredential. + + + + + Creates a manager which executes the given refresh action when required. + + The refresh action which will populate the Token property when successful. + The clock to consult for timeouts. + The logger to use to record refreshes. + + + + OAuth 2.0 credential for accessing protected resources using an access token, as well as optionally refreshing + the access token when it expires using a refresh token. + + + + Logger for this class. + + + Gets or sets the token response which contains the access token. + + + Gets the authorization code flow. + + + Gets the user identity. + + + + + + Constructs a new credential instance. + Authorization code flow. + User identifier. + An initial token for the user. + + + Constructs a new credential instance. + Authorization code flow. + User identifier. + An initial token for the user. + The ID of the project associated + to this credential for the purposes of quota calculation and billing. Can be null. + + + + + + + Default implementation is to try to refresh the access token if there is no access token or if we are 1 + minute away from expiration. If token server is unavailable, it will try to use the access token even if + has expired. If successful, it will call . + + + + + + + + + + + + + + + + + Refreshes the token by calling to + . + Then it updates the with the new token instance. + + Cancellation token to cancel an operation. + true if the token was refreshed. + + + + Asynchronously revokes the token by calling + . + + Cancellation token to cancel an operation. + true if the token was revoked successfully. + + + + Thread safe OAuth 2.0 authorization code flow for a web application that persists end-user credentials. + + + + + The state key. As part of making the request for authorization code we save the original request to verify + that this server create the original request. + + + + The length of the random number which will be added to the end of the state parameter. + + + + AuthResult which contains the user's credentials if it was loaded successfully from the store. Otherwise + it contains the redirect URI for the authorization server. + + + + + Gets or sets the user's credentials or null in case the end user needs to authorize. + + + + + Gets or sets the redirect URI to for the user to authorize against the authorization server or + null in case the was loaded from the data + store. + + + + Gets the authorization code flow. + + + Gets the OAuth2 callback redirect URI. + + + Gets the state which is used to navigate back to the page that started the OAuth flow. + + + + Constructs a new authorization code installed application with the given flow and code receiver. + + + + Asynchronously authorizes the web application to access user's protected data. + User identifier + Cancellation token to cancel an operation + + Auth result object which contains the user's credential or redirect URI for the authorization server + + + + + Determines the need for retrieval of a new authorization code, based on the given token and the + authorization code flow. + + + + Auth Utility methods for web development. + + + Extracts the redirect URI from the state OAuth2 parameter. + + If the data store is not null, this method verifies that the state parameter which was returned + from the authorization server is the same as the one we set before redirecting to the authorization server. + + The data store which contains the original state parameter. + User identifier. + + The authorization state parameter which we got back from the authorization server. + + Redirect URI to the address which initializes the authorization code flow. + + + + Represents a signed token, could be a or + a but this not only holds the payload + and headers, but also the signature itself. It's meant to help with signed + token verification and with obtaining token information. + + + + + Options to use when verifying signed JWTs. + + + + + Creates a new instance of + with default values for all options (or null for those whose default is unset). + + + + + Creates a new instance of + by copying over all the values from . + + The option set to build this instance from. + + + + Trusted audiences for the token. + All the audiences the token is intended for should be in the + trusted audiences list. + If the list is empty, the token audience won't be verified. + + + + + The URL from where to obtain certificates from. + May be null, in which case, default certificate locations will be used: + + For RS256 signed certificates, https://www.googleapis.com/oauth2/v3/certs will be used. + For ES256 signed certificates, https://www.gstatic.com/iap/verify/public_key-jwk will be used. + + + + + + List of trusted issuers to verify the token issuer against. + The token issuer must be contained in this list. + May be null, in which case the token issuer won't be verified. + + + + + Forces certificate refresh. + Internal to be used only for backward compatibility. + + + + + Clock tolerance for the issued-at check. + Causes a JWT to pass validation up to this duration before it is really valid; + this is to allow for possible local-client clock skew. + Defaults to zero. + Internal to be used only for backward compatibility. + + + + + Clock tolerance for the expiration check. + Causes a JWT to pass validation up to this duration after it really expired; + this is to allow for possible local-client clock skew. + Defaults to zero. + Internal to be used only for backward compatibility. + + + + + Clock for testing purposes. Defaults to . + Must not be null. + + + + + CertificateCache for testing purposes. + If null, the true CertificateCache will be used. + + + + + Returns a task which can be cancelled by the given cancellation token, but otherwise observes the original + task's state. This does *not* cancel any work that the original task was doing, and should be used carefully. + + + + + Decodes the provided URL safe base 64 string. + + The URL safe base 64 string to decode. + The UTF8 decoded string. + + + + Decodes the provided URL safe base 64 string. + + The URL safe base 64 string to decode. + The UTF8 byte representation of the decoded string. + + + Encodes the provided UTF8 string into an URL safe base64 string. + Value to encode. + The URL safe base64 string. + + + Encodes the byte array into an URL safe base64 string. + Byte array to encode. + The URL safe base64 string. + + + Encodes the base64 string into an URL safe string. + The base64 string to make URL safe. + The URL safe base64 string. + + + diff --git a/game/Assets/NuGet/Google.Apis.Auth.1.50.0/lib/net45/Google.Apis.Auth.xml.meta b/game/Assets/NuGet/Google.Apis.Auth.1.50.0/lib/net45/Google.Apis.Auth.xml.meta new file mode 100644 index 0000000..c97a4a8 --- /dev/null +++ b/game/Assets/NuGet/Google.Apis.Auth.1.50.0/lib/net45/Google.Apis.Auth.xml.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: f0f89a3fe2d444a4187d11a14f2a67f0 +TextScriptImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/game/Assets/NuGet/Google.Apis.Core.1.50.0.meta b/game/Assets/NuGet/Google.Apis.Core.1.50.0.meta new file mode 100644 index 0000000..9c05267 --- /dev/null +++ b/game/Assets/NuGet/Google.Apis.Core.1.50.0.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 4b02a0518e868ec4aab0a537970a5f8b +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/game/Assets/NuGet/Google.Apis.Core.1.50.0/.signature.p7s b/game/Assets/NuGet/Google.Apis.Core.1.50.0/.signature.p7s new file mode 100644 index 0000000..c2a576b Binary files /dev/null and b/game/Assets/NuGet/Google.Apis.Core.1.50.0/.signature.p7s differ diff --git a/game/Assets/NuGet/Google.Apis.Core.1.50.0/Google.Apis.Core.1.50.0.nupkg b/game/Assets/NuGet/Google.Apis.Core.1.50.0/Google.Apis.Core.1.50.0.nupkg new file mode 100644 index 0000000..6a5c2c6 Binary files /dev/null and b/game/Assets/NuGet/Google.Apis.Core.1.50.0/Google.Apis.Core.1.50.0.nupkg differ diff --git a/game/Assets/NuGet/Google.Apis.Core.1.50.0/Google.Apis.Core.1.50.0.nupkg.meta b/game/Assets/NuGet/Google.Apis.Core.1.50.0/Google.Apis.Core.1.50.0.nupkg.meta new file mode 100644 index 0000000..2faf14b --- /dev/null +++ b/game/Assets/NuGet/Google.Apis.Core.1.50.0/Google.Apis.Core.1.50.0.nupkg.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 3dd4753602c8a7342ad33317891090c6 +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/game/Assets/NuGet/Google.Apis.Core.1.50.0/LICENSE b/game/Assets/NuGet/Google.Apis.Core.1.50.0/LICENSE new file mode 100644 index 0000000..e976b55 --- /dev/null +++ b/game/Assets/NuGet/Google.Apis.Core.1.50.0/LICENSE @@ -0,0 +1,176 @@ + + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + +TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + +1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + +2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + +3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + +4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + +5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + +6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + +7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + +8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + +9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. \ No newline at end of file diff --git a/game/Assets/NuGet/Google.Apis.Core.1.50.0/LICENSE.meta b/game/Assets/NuGet/Google.Apis.Core.1.50.0/LICENSE.meta new file mode 100644 index 0000000..2c3959a --- /dev/null +++ b/game/Assets/NuGet/Google.Apis.Core.1.50.0/LICENSE.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 0a99708c224ab8844b90e5867f04ab6b +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/game/Assets/NuGet/Google.Apis.Core.1.50.0/NuGetIcon.png b/game/Assets/NuGet/Google.Apis.Core.1.50.0/NuGetIcon.png new file mode 100644 index 0000000..34175fe --- /dev/null +++ b/game/Assets/NuGet/Google.Apis.Core.1.50.0/NuGetIcon.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ace215fa08d510b81a60b8e839a85c75384a6e6d1f33664a415344b5b66b073f +size 2274 diff --git a/game/Assets/NuGet/Google.Apis.Core.1.50.0/NuGetIcon.png.meta b/game/Assets/NuGet/Google.Apis.Core.1.50.0/NuGetIcon.png.meta new file mode 100644 index 0000000..c62b71c --- /dev/null +++ b/game/Assets/NuGet/Google.Apis.Core.1.50.0/NuGetIcon.png.meta @@ -0,0 +1,144 @@ +fileFormatVersion: 2 +guid: d1eead0c81f16c1478bc04cf97e22ced +TextureImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 11 + mipmaps: + mipMapMode: 0 + enableMipMap: 1 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + isReadable: 0 + streamingMipmaps: 0 + streamingMipmapsPriority: 0 + vTOnly: 0 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: -1 + aniso: 2 + mipBias: -100 + wrapU: 0 + wrapV: 0 + wrapW: 0 + nPOTScale: 1 + lightmap: 0 + compressionQuality: 50 + spriteMode: 0 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spritePixelsToUnits: 100 + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spriteGenerateFallbackPhysicsShape: 1 + alphaUsage: 1 + alphaIsTransparency: 0 + spriteTessellationDetail: -1 + textureType: 0 + textureShape: 1 + singleChannelComponent: 0 + flipbookRows: 1 + flipbookColumns: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + ignorePngGamma: 0 + applyGammaDecoding: 0 + platformSettings: + - serializedVersion: 3 + buildTarget: DefaultTexturePlatform + maxTextureSize: 8192 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: Standalone + maxTextureSize: 8192 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: iPhone + maxTextureSize: 8192 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: Android + maxTextureSize: 8192 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: Windows Store Apps + maxTextureSize: 8192 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + bones: [] + spriteID: + internalID: 0 + vertices: [] + indices: + edges: [] + weights: [] + secondaryTextures: [] + spritePackingTag: + pSDRemoveMatte: 0 + pSDShowRemoveMatteOption: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/game/Assets/NuGet/Google.Apis.Core.1.50.0/lib.meta b/game/Assets/NuGet/Google.Apis.Core.1.50.0/lib.meta new file mode 100644 index 0000000..27ce510 --- /dev/null +++ b/game/Assets/NuGet/Google.Apis.Core.1.50.0/lib.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 1a144fa0c81e84e43a83297ccd6b9b42 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/game/Assets/NuGet/Google.Apis.Core.1.50.0/lib/net45.meta b/game/Assets/NuGet/Google.Apis.Core.1.50.0/lib/net45.meta new file mode 100644 index 0000000..407e700 --- /dev/null +++ b/game/Assets/NuGet/Google.Apis.Core.1.50.0/lib/net45.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: be321d9ef450c724c8b5ee486c4bd954 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/game/Assets/NuGet/Google.Apis.Core.1.50.0/lib/net45/Google.Apis.Core.dll b/game/Assets/NuGet/Google.Apis.Core.1.50.0/lib/net45/Google.Apis.Core.dll new file mode 100644 index 0000000..184f9f2 --- /dev/null +++ b/game/Assets/NuGet/Google.Apis.Core.1.50.0/lib/net45/Google.Apis.Core.dll @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:261bfa517a117e20b5ca2ccb5a123d37f4829deced53ee840098af89085343a2 +size 76800 diff --git a/game/Assets/NuGet/Google.Apis.Core.1.50.0/lib/net45/Google.Apis.Core.dll.meta b/game/Assets/NuGet/Google.Apis.Core.1.50.0/lib/net45/Google.Apis.Core.dll.meta new file mode 100644 index 0000000..d476921 --- /dev/null +++ b/game/Assets/NuGet/Google.Apis.Core.1.50.0/lib/net45/Google.Apis.Core.dll.meta @@ -0,0 +1,33 @@ +fileFormatVersion: 2 +guid: 105673cdd45358548aa09f6b21f3eb13 +PluginImporter: + externalObjects: {} + serializedVersion: 2 + iconMap: {} + executionOrder: {} + defineConstraints: [] + isPreloaded: 0 + isOverridable: 0 + isExplicitlyReferenced: 0 + validateReferences: 1 + platformData: + - first: + Any: + second: + enabled: 1 + settings: {} + - first: + Editor: Editor + second: + enabled: 0 + settings: + DefaultValueInitialized: true + - first: + Windows Store Apps: WindowsStoreApps + second: + enabled: 0 + settings: + CPU: AnyCPU + userData: + assetBundleName: + assetBundleVariant: diff --git a/game/Assets/NuGet/Google.Apis.Core.1.50.0/lib/net45/Google.Apis.Core.xml b/game/Assets/NuGet/Google.Apis.Core.1.50.0/lib/net45/Google.Apis.Core.xml new file mode 100644 index 0000000..b62787e --- /dev/null +++ b/game/Assets/NuGet/Google.Apis.Core.1.50.0/lib/net45/Google.Apis.Core.xml @@ -0,0 +1,1799 @@ + + + + Google.Apis.Core + + + + Defines the context in which this library runs. It allows setting up custom loggers. + + + Returns the logger used within this application context. + It creates a if no logger was registered previously + + + Registers a logger with this application context. + Thrown if a logger was already registered. + + + An enumeration of all supported discovery versions. + + + Discovery version 1.0. + + + + Specifies a list of features which can be defined within the discovery document of a service. + + + + + If this feature is specified, then the data of a response is encapsulated within a "data" resource. + + + + Represents a parameter for a method. + + + Gets the name of the parameter. + + + Gets the pattern that this parameter must follow. + + + Gets an indication whether this parameter is optional or required. + + + Gets the default value of this parameter. + + + Gets the type of the parameter. + + + Represents a method's parameter. + + + + + + + + + + + + + + + + + + + A thread-safe back-off handler which handles an abnormal HTTP response or an exception with + . + + + + An initializer class to initialize a back-off handler. + + + Gets the back-off policy used by this back-off handler. + + + + Gets or sets the maximum time span to wait. If the back-off instance returns a greater time span than + this value, this handler returns false to both HandleExceptionAsync and + HandleResponseAsync. Default value is 16 seconds per a retry request. + + + + + Gets or sets a delegate function which indicates whether this back-off handler should handle an + abnormal HTTP response. The default is . + + + + + Gets or sets a delegate function which indicates whether this back-off handler should handle an + exception. The default is . + + + + Default function which handles server errors (503). + + + + Default function which handles exception which aren't + or + . Those exceptions represent a task or an operation + which was canceled and shouldn't be retried. + + + + Constructs a new initializer by the given back-off. + + + Gets the back-off policy used by this back-off handler. + + + + Gets the maximum time span to wait. If the back-off instance returns a greater time span, the handle method + returns false. Default value is 16 seconds per a retry request. + + + + + Gets a delegate function which indicates whether this back-off handler should handle an abnormal HTTP + response. The default is . + + + + + Gets a delegate function which indicates whether this back-off handler should handle an exception. The + default is . + + + + Constructs a new back-off handler with the given back-off. + The back-off policy. + + + Constructs a new back-off handler with the given initializer. + + + + + + + + + + Handles back-off. In case the request doesn't support retry or the back-off time span is greater than the + maximum time span allowed for a request, the handler returns false. Otherwise the current thread + will block for x milliseconds (x is defined by the instance), and this handler + returns true. + + + + Waits the given time span. Overriding this method is recommended for mocking purposes. + TimeSpan to wait (and block the current thread). + The cancellation token in case the user wants to cancel the operation in + the middle. + + + + Configurable HTTP client inherits from and contains a reference to + . + + + + Gets the configurable message handler. + + + Constructs a new HTTP client. + This is equivalent to calling ConfigurableHttpClient(handler, true) + + + + Constructs a new HTTP client. + + The handler for this client to use. + Whether the created + should dispose of the internal message handler or not when it iself is disposed. + + + + A message handler which contains the main logic of our HTTP requests. It contains a list of + s for handling abnormal responses, a list of + s for handling exception in a request and a list of + s for intercepting a request before it has been sent to the server. + It also contains important properties like number of tries, follow redirect, etc. + + + + The class logger. + + + Maximum allowed number of tries. + + + + Key for unsuccessful response handlers in an properties. + + + + + Key for exception handlers in an properties. + + + + + Key for execute handlers in an properties. + + + + + Key for a stream response interceptor provider in an properties. + + + + + Key for a credential in a properties. + + + + The current API version of this client library. + + + The User-Agent suffix header which contains the . + + + A list of . + + + A list of . + + + A list of . + + + + Gets a list of s. + + Since version 1.10, and + were added in order to keep this class thread-safe. + More information is available on + #592. + + + + + Adds the specified handler to the list of unsuccessful response handlers. + + + Removes the specified handler from the list of unsuccessful response handlers. + + + + Gets a list of s. + + Since version 1.10, and were added + in order to keep this class thread-safe. More information is available on + #592. + + + + + Adds the specified handler to the list of exception handlers. + + + Removes the specified handler from the list of exception handlers. + + + + Gets a list of s. + + Since version 1.10, and were + added in order to keep this class thread-safe. More information is available on + #592. + + + + + Adds the specified interceptor to the list of execute interceptors. + + + Removes the specified interceptor from the list of execute interceptors. + + + + For testing only. + This defaults to the static , but can be overridden for fine-grain testing. + + + + Number of tries. Default is 3. + + + + Gets or sets the number of tries that will be allowed to execute. Retries occur as a result of either + or which handles the + abnormal HTTP response or exception before being terminated. + Set 1 for not retrying requests. The default value is 3. + + The number of allowed redirects (3xx) is defined by . This property defines + only the allowed tries for >=400 responses, or when an exception is thrown. For example if you set + to 1 and to 5, the library will send up to five redirect + requests, but will not send any retry requests due to an error HTTP status code. + + + + + Number of redirects allowed. Default is 10. + + + + Gets or sets the number of redirects that will be allowed to execute. The default value is 10. + See for more information. + + + + + Gets or sets whether the handler should follow a redirect when a redirect response is received. Default + value is true. + + + + Gets or sets whether logging is enabled. Default value is true. + + + + Specifies the type(s) of request/response events to log. + + + + + Log no request/response information. + + + + + Log the request URI. + + + + + Log the request headers. + + + + + Log the request body. The body is assumed to be ASCII, and non-printable charaters are replaced by '.'. + Warning: This causes the body content to be buffered in memory, so use with care for large requests. + + + + + Log the response status. + + + + + Log the response headers. + + + + + Log the response body. The body is assumed to be ASCII, and non-printable characters are replaced by '.'. + Warning: This causes the body content to be buffered in memory, so use with care for large responses. + + + + + Log abnormal response messages. + + + + + The request/response types to log. + + + + Gets or sets the application name which will be used on the User-Agent header. + + + Gets or sets the value set for the x-goog-api-client header. + + + + The credential to apply to all requests made with this client, + unless theres a specific call credential set. + If implements + then it will also be included as a handler of an unsuccessful response. + + + + Constructs a new configurable message handler. + + + + The main logic of sending a request to the server. This send method adds the User-Agent header to a request + with and the library version. It also calls interceptors before each attempt, + and unsuccessful response handler or exception handlers when abnormal response or exception occurred. + + + + + Handles redirect if the response's status code is redirect, redirects are turned on, and the header has + a location. + When the status code is 303 the method on the request is changed to a GET as per the RFC2616 + specification. On a redirect, it also removes the Authorization and all If-* request headers. + + Whether this method changed the request and handled redirect successfully. + + + + A delegate used to intercept stream data without modifying it. + The parameters should always be validated before the delegate is called, + so the delegate itself does not need to validate them again. + + The buffer containing the data. + The offset into the buffer. + The number of bytes being read/written. + + + + Indicates if exponential back-off is used automatically on exceptions in a service requests and \ or when 503 + responses is returned form the server. + + + + Exponential back-off is disabled. + + + Exponential back-off is enabled only for exceptions. + + + Exponential back-off is enabled only for 503 HTTP Status code. + + + + An initializer which adds exponential back-off as exception handler and \ or unsuccessful response handler by + the given . + + + + Gets or sets the used back-off policy. + + + Gets or sets the back-off handler creation function. + + + + Constructs a new back-off initializer with the given policy and back-off handler create function. + + + + + + + The default implementation of the HTTP client factory. + + + The class logger. + + + + + + Creates a HTTP message handler. Override this method to mock a message handler. + + + + Creates a simple client handler with redirection and compression disabled. + + + + + Create a for use when communicating with the server. + Please read the remarks closely before overriding this method. + + + When overriding this method, please observe the following: + + + and + + of the returned instance are configured after this method returns. + Configuring these within this method will have no effect. + + + Return a new instance of an for each call to this method. + + + This method may be called once, or more than once, when initializing a single client service. + + + + A suitable . + + + + An implementation of that allows + for the inner message handler to be injected. + + + + + Factory for obtaining the underlying + of the returned by + . + Won't be null. + + + + + Creates an that will use + the given factory for creating the inner + message handlers that will be used when creating the . + + + The obtained from the factory won't be disposed + when the created is. This allows calling code + to control the handlers' lifetime and so they can possibly be reused. + This may be a requirement for using System.Net.Http.IHttpMessageHandler. See + https://docs.microsoft.com/en-us/dotnet/architecture/microservices/implement-resilient-applications/use-httpclientfactory-to-implement-resilient-http-requests + for information on why to use System.Net.Http.IHttpMessageHandler. + + + + + + + + Specifies the configuration options for a message handler. + + + + + Whether the message handler built from these options + may perform automatic decompression or not. + If set to true, the message handler may or may not perform automatic decompression. + If set to false, the message handler must not perform automatic decompression. + + + + + Whether the message handler built from these options + may handle redirects or not. Redirects that are not handled + should bubble up the handlers chain. + If set to true, the message handler may or may not handle redirects. + If set to false, the message handler must not handle redirects. + + + + + Represents the already configured to be used + when building a by the factory and + information about the actual configuration. + + + + + The already configured to be used + when building a by the factory. + + + + + Whether is configured + to perform automatic decompression or not. + + + + + Whether is configured + to handle redirects or not. + + + + + Builds a new with the given parameters. + + + + HTTP constants. + + + Http GET request + + + Http DELETE request + + + Http PUT request + + + Http POST request + + + Http PATCH request + + + + Extension methods to and + . + + + + Returns true if the response contains one of the redirect status codes. + + + A Google.Apis utility method for setting an empty HTTP content. + + + + HTTP client initializer for changing the default behavior of HTTP client. + Use this initializer to change default values like timeout and number of tries. + You can also set different handlers and interceptors like s, + s and s. + + + + Initializes a HTTP client after it was created. + + + Arguments for creating a HTTP client. + + + Gets or sets whether GZip is enabled. + + + Gets or sets the application name that is sent in the User-Agent header. + + + Gets a list of initializers to initialize the HTTP client instance. + + + Gets or sets the value for the x-goog-api-client header + + + Constructs a new argument instance. + + + + HTTP client factory creates configurable HTTP clients. A unique HTTP client should be created for each service. + + + + Creates a new configurable HTTP client. + + + Argument class to . + + + Gets or sets the sent request. + + + Gets or sets the exception which occurred during sending the request. + + + Gets or sets the total number of tries to send the request. + + + Gets or sets the current failed try. + + + Gets an indication whether a retry will occur if the handler returns true. + + + Gets or sets the request's cancellation token. + + + Exception handler is invoked when an exception is thrown during a HTTP request. + + + + Handles an exception thrown when sending a HTTP request. + A simple rule must be followed, if you modify the request object in a way that the exception can be + resolved, you must return true. + + + Handle exception argument which properties such as the request, exception, current failed try. + + Whether this handler has made a change that requires the request to be resent. + + + + HTTP request execute interceptor to intercept a before it has + been sent. Sample usage is attaching "Authorization" header to a request. + + + + + Invoked before the request is being sent. + + The HTTP request message. + Cancellation token to cancel the operation. + + + Argument class to . + + + Gets or sets the sent request. + + + Gets or sets the abnormal response. + + + Gets or sets the total number of tries to send the request. + + + Gets or sets the current failed try. + + + Gets an indication whether a retry will occur if the handler returns true. + + + Gets or sets the request's cancellation token. + + + + Unsuccessful response handler which is invoked when an abnormal HTTP response is returned when sending a HTTP + request. + + + + + Handles an abnormal response when sending a HTTP request. + A simple rule must be followed, if you modify the request object in a way that the abnormal response can + be resolved, you must return true. + + + Handle response argument which contains properties such as the request, response, current failed try. + + Whether this handler has made a change that requires the request to be resent. + + + + Intercepts HTTP GET requests with a URLs longer than a specified maximum number of characters. + The interceptor will change such requests as follows: + + The request's method will be changed to POST + A X-HTTP-Method-Override header will be added with the value GET + Any query parameters from the URI will be moved into the body of the request. + If query parameters are moved, the content type is set to application/x-www-form-urlencoded + + + + + Constructs a new Max URL length interceptor with the given max length. + + + + + + + An HttpMessageHandler that (conditionally) intercepts response streams, allowing inline + stream processing. An interceptor provider function is fetched from each request via the + property; + if the property is not present on the request (or is null), the response will definitely not be + intercepted. If the property is present and non-null, the interceptor provider is called for + the response. This may return a null reference, indicating that interception isn't required, and + the response can be returned as-is. Otherwise, we use a + with an intercepting stream which passes all data read to the interceptor. + + + + + For each request, check whether we + + + + + + + + An HttpMessageHandler that delegates to one of two inner handlers based on a condition + checked on each request. + + + + + Handler to wrap another, just so that we can effectively expose its SendAsync method. + + + + + An HttpMessageHandler that performs decompression for Deflate and Gzip content. + + + + + An HttpContent based on an existing one, but allowing the stream to be replaced. + This is similar to StreamContent, but it defers the stream creation until it's requested by the client. + (An alternative would be to use StreamContent with a custom stream that only retrieved the stream when + first used.) Headers are copied from the original content. + + + + Serialization interface that supports serialize and deserialize methods. + + + Gets the application format this serializer supports (e.g. "json", "xml", etc.). + + + Serializes the specified object into a Stream. + + + Serializes the specified object into a string. + + + Deserializes the string into an object. + + + Deserializes the string into an object. + + + Deserializes the stream into an object. + + + Represents a JSON serializer. + + + + Provides values which are explicitly expressed as null when converted to JSON. + + + + + Get an that is explicitly expressed as null when converted to JSON. + + An that is explicitly expressed as null when converted to JSON. + + + + All values of a type with this attribute are represented as a literal null in JSON. + + + + + A JSON converter which honers RFC 3339 and the serialized date is accepted by Google services. + + + + + + + + + + + + + + + + + A JSON converter to write null literals into JSON when explicitly requested. + + + + + + + + + + + + + + + + + A JSON contract resolver to apply and as necessary. + + + Using a contract resolver is recommended in the Json.NET performance tips: https://www.newtonsoft.com/json/help/html/Performance.htm#JsonConverters + + + + + + + Class for serialization and deserialization of JSON documents using the Newtonsoft Library. + + + The default instance of the Newtonsoft JSON Serializer, with default settings. + + + + Constructs a new instance with the default serialization settings, equivalent to . + + + + + Constructs a new instance with the given settings. + + The settings to apply when serializing and deserializing. Must not be null. + + + + Creates a new instance of with the same behavior + as the ones used in . This method is expected to be used to construct + settings which are then passed to . + + A new set of default settings. + + + + + + + + + + + + + + + + + + + + + + Deserializes the given stream but reads from it asynchronously, observing the given cancellation token. + Note that this means the complete JSON is read before it is deserialized into objects. + + The type to convert to. + The stream to read from. + Cancellation token for the operation. + The deserialized object. + + + + An abstract base logger, upon which real loggers may be built. + + + + + Construct a . + + Logging will be enabled at this level and all higher levels. + The to use to timestamp log entries. + The type from which entries are being logged. May be null. + + + + The being used to timestamp log entries. + + + + + The type from which entries are being logged. May be null. + + + + + Logging is enabled at this level and all higher levels. + + + + + Is Debug level logging enabled? + + + + + Is info level logging enabled? + + + + + Is warning level logging enabled? + + + + + Is error level logging enabled? + + + + + Build a new logger of the derived concrete type, for use to log from the specified type. + + The type from which entries are being logged. + A new instance, logging from the specified type. + + + + + + + + + + Perform the actual logging. + + The of this log entry. + The fully formatted log message, ready for logging. + + + + + + + + + + + + + + + + + + + A logger than logs to StdError or StdOut. + + + + + Construct a . + + Logging will be enabled at this level and all higher levels. + true to log to StdOut, defaults to logging to StdError. + Optional ; will use the system clock if null. + + + + false to log to StdError; true to log to StdOut. + + + + + + + + + + Describes a logging interface which is used for outputting messages. + + + Gets an indication whether debug output is logged or not. + + + Returns a logger which will be associated with the specified type. + Type to which this logger belongs. + A type-associated logger. + + + Returns a logger which will be associated with the specified type. + A type-associated logger. + + + Logs a debug message. + The message to log. + String.Format arguments (if applicable). + + + Logs an info message. + The message to log. + String.Format arguments (if applicable). + + + Logs a warning. + The message to log. + String.Format arguments (if applicable). + + + Logs an error message resulting from an exception. + + The message to log. + String.Format arguments (if applicable). + + + Logs an error message. + The message to log. + String.Format arguments (if applicable). + + + + The supported logging levels. + + + + + A value lower than all logging levels. + + + + + Debug logging. + + + + + Info logging. + + + + + Warning logging. + + + + + Error logging. + + + + + A value higher than all logging levels. + + + + + A logger than logs to an in-memory buffer. + Generally for use during tests. + + + + + Construct a . + + Logging will be enabled at this level and all higher levels. + The maximum number of log entries. Further log entries will be silently discarded. + Optional ; will use the system clock if null. + + + + The list of log entries. + + + + + + + + + + + Represents a NullLogger which does not do any logging. + + + + + + + + + + + + + + + + + + + + + + + + + + + + A collection of parameters (key value pairs). May contain duplicate keys. + + + Constructs a new parameter collection. + + + Constructs a new parameter collection from the given collection. + + + Adds a single parameter to this collection. + + + Returns true if this parameter is set within the collection. + + + + Tries to find the a key within the specified key value collection. Returns true if the key was found. + If a pair was found the out parameter value will contain the value of that pair. + + + + + Returns the value of the first matching key, or throws a KeyNotFoundException if the parameter is not + present within the collection. + + + + + Returns all matches for the specified key. May return an empty enumeration if the key is not present. + + + + + Returns all matches for the specified key. May return an empty enumeration if the key is not present. + + + + + Creates a parameter collection from the specified URL encoded query string. + Example: + The query string "foo=bar&chocolate=cookie" would result in two parameters (foo and bar) + with the values "bar" and "cookie" set. + + + + + Creates a parameter collection from the specified dictionary. + If the value is an enumerable, a parameter pair will be added for each value. + Otherwise the value will be converted into a string using the .ToString() method. + + + + + Utility class for iterating on properties in a request object. + + + + + Creates a with all the specified parameters in + the input request. It uses reflection to iterate over all properties with + attribute. + + + A request object which contains properties with + attribute. Those properties will be serialized + to the returned . + + + A which contains the all the given object required + values. + + + + + Creates a parameter dictionary by using reflection to iterate over all properties with + attribute. + + + A request object which contains properties with + attribute. Those properties will be set + in the output dictionary. + + + + + Sets query parameters in the given builder with all all properties with the + attribute. + + The request builder + + A request object which contains properties with + attribute. Those properties will be set in the + given request builder object + + + + + Iterates over all properties in the request + object and invokes the specified action for each of them. + + A request object + An action to invoke which gets the parameter type, name and its value + + + Logic for validating a parameter. + + + Validates a parameter value against the methods regex. + + + Validates a parameter value against the methods regex. + + + Validates if a parameter is valid. + + + Validates if a parameter is valid. + + + Utility class for building a URI using or a HTTP request using + from the query and path parameters of a REST call. + + + Pattern to get the groups that are part of the path. + + + Supported HTTP methods. + + + + A dictionary containing the parameters which will be inserted into the path of the URI. These parameters + will be substituted into the URI path where the path contains "{key}". See + http://tools.ietf.org/html/rfc6570 for more information. + + + + + A dictionary containing the parameters which will apply to the query portion of this request. + + + + The base URI for this request (usually applies to the service itself). + + + + The path portion of this request. It's appended to the and the parameters are + substituted from the dictionary. + + + + The HTTP method used for this request. + + + The HTTP method used for this request (such as GET, PUT, POST, etc...). + The default Value is . + + + Construct a new request builder. + TODO(peleyal): Consider using the Factory pattern here. + + + Constructs a Uri as defined by the parts of this request builder. + + + Operator list that can appear in the path argument. + + + + Builds the REST path string builder based on and the URI template spec + http://tools.ietf.org/html/rfc6570. + + + + + Adds a parameter value. + Type of the parameter (must be 'Path' or 'Query'). + Parameter name. + Parameter value. + + + Creates a new HTTP request message. + + + + Collection of server errors + + + + + Enumeration of known error codes which may occur during a request. + + + + + The ETag condition specified caused the ETag verification to fail. + Depending on the ETagAction of the request this either means that a change to the object has been + made on the server, or that the object in question is still the same and has not been changed. + + + + + Contains a list of all errors + + + + + The error code returned + + + + + The error message returned + + + + + The full content of the error response that + this instance was created from. + + + The response may contain custom information that is not represented + by any of the properties in . + + + + + Returns a string summary of this error + + A string summary of this error + + + + A single server error + + + + + The domain in which the error occured + + + + + The reason the error was thrown + + + + + The error message + + + + + Type of the location + + + + + Location where the error was thrown + + + + + Returns a string summary of this error + + A string summary of this error + + + + Marker Attribute to indicate a Method/Class/Property has been made more visible for purpose of testing. + Mark the member as internal and make the testing assembly a friend using + [assembly: InternalsVisibleTo("Full.Name.Of.Testing.Assembly")] + + + + + Implementation of that increases the back-off period for each retry attempt using a + randomization function that grows exponentially. In addition, it also adds a randomize number of milliseconds + for each attempt. + + + + The maximum allowed number of retries. + + + + Gets the delta time span used to generate a random milliseconds to add to the next back-off. + If the value is then the generated back-off will be exactly 1, 2, 4, + 8, 16, etc. seconds. A valid value is between zero and one second. The default value is 250ms, which means + that the generated back-off will be [0.75-1.25]sec, [1.75-2.25]sec, [3.75-4.25]sec, and so on. + + + + Gets the maximum number of retries. Default value is 10. + + + The random instance which generates a random number to add the to next back-off. + + + Constructs a new exponential back-off with default values. + + + Constructs a new exponential back-off with the given delta and maximum retries. + + + + + + Strategy interface to control back-off between retry attempts. + + + + Gets the a time span to wait before next retry. If the current retry reached the maximum number of retries, + the returned value is . + + + + Gets the maximum number of retries. + + + Clock wrapper for getting the current time. + + + + Gets a object that is set to the current date and time on this computer, + expressed as the local time. + + + + + Gets a object that is set to the current date and time on this computer, + expressed as UTC time. + + + + + A default clock implementation that wraps the + and properties. + + + + Constructs a new system clock. + + + The default instance. + + + + + + + + + + Repeatable class which allows you to both pass a single element, as well as an array, as a parameter value. + + + + Creates a repeatable value. + + + + + + Converts the single element into a repeatable. + + + Converts a number of elements into a repeatable. + + + Converts a number of elements into a repeatable. + + + + An attribute which is used to specially mark a property for reflective purposes, + assign a name to the property and indicate it's location in the request as either + in the path or query portion of the request URL. + + + + Gets the name of the parameter. + + + Gets the type of the parameter, Path or Query. + + + + Constructs a new property attribute to be a part of a REST URI. + This constructor uses as the parameter's type. + + + The name of the parameter. If the parameter is a path parameter this name will be used to substitute the + string value into the path, replacing {name}. If the parameter is a query parameter, this parameter will be + added to the query string, in the format "name=value". + + + + Constructs a new property attribute to be a part of a REST URI. + + The name of the parameter. If the parameter is a path parameter this name will be used to substitute the + string value into the path, replacing {name}. If the parameter is a query parameter, this parameter will be + added to the query string, in the format "name=value". + + The type of the parameter, either Path, Query or UserDefinedQueries. + + + Describe the type of this parameter (Path, Query or UserDefinedQueries). + + + A path parameter which is inserted into the path portion of the request URI. + + + A query parameter which is inserted into the query portion of the request URI. + + + + A group of user-defined parameters that will be added in to the query portion of the request URI. If this + type is being used, the name of the RequestParameterAttirbute is meaningless. + + + + + Calls to Google Api return StandardResponses as Json with + two properties Data, being the return type of the method called + and Error, being any errors that occure. + + + + May be null if call failed. + + + May be null if call succedded. + + + + Stores and manages data objects, where the key is a string and the value is an object. + + null keys are not allowed. + + + + + Asynchronously stores the given value for the given key (replacing any existing value). + The type to store in the data store. + The key. + The value to store. + + + + Asynchronously deletes the given key. The type is provided here as well because the "real" saved key should + contain type information as well, so the data store will be able to store the same key for different types. + + The type to delete from the data store. + The key to delete. + + + Asynchronously returns the stored value for the given key or null if not found. + The type to retrieve from the data store. + The key to retrieve its value. + The stored object. + + + Asynchronously clears all values in the data store. + + + Defines an attribute containing a string representation of the member. + + + The text which belongs to this member. + + + Creates a new string value attribute with the specified text. + + + + Returns a task which can be cancelled by the given cancellation token, but otherwise observes the original + task's state. This does *not* cancel any work that the original task was doing, and should be used carefully. + + + + + Workarounds for some unfortunate behaviors in the .NET Framework's + implementation of System.Uri + + + UriPatcher lets us work around some unfortunate behaviors in the .NET Framework's + implementation of System.Uri. + + == Problem 1: Slashes and dots + + Prior to .NET 4.5, System.Uri would always unescape "%2f" ("/") and "%5c" ("\\"). + Relative path components were also compressed. + + As a result, this: "http://www.example.com/.%2f.%5c./" + ... turned into this: "http://www.example.com/" + + This breaks API requests where slashes or dots appear in path parameters. Such requests + arise, for example, when these characters appear in the name of a GCS object. + + == Problem 2: Fewer unreserved characters + + Unless IDN/IRI parsing is enabled -- which it is not, by default, prior to .NET 4.5 -- + Uri.EscapeDataString uses the set of "unreserved" characters from RFC 2396 instead of the + newer, *smaller* list from RFC 3986. We build requests using URI templating as described + by RFC 6570, which specifies that the latter definition (RFC 3986) should be used. + + This breaks API requests with parameters including any of: !*'() + + == Solutions + + Though the default behaviors changed in .NET 4.5, these "quirks" remain for compatibility + unless the application explicitly targets the new runtime. Usually, that means adding a + TargetFrameworkAttribute to the entry assembly. + + Applications running on .NET 4.0 or later can also set "DontUnescapePathDotsAndSlashes" + and enable IDN/IRI parsing using app.config or web.config. + + As a class library, we can't control app.config or the entry assembly, so we can't take + either approach. Instead, we resort to reflection trickery to try to solve these problems + if we detect they exist. Sorry. + + + + + Patch URI quirks in System.Uri. See class summary for details. + + + + A utility class which contains helper methods and extension methods. + + + Returns the version of the core library. + + + + A Google.Apis utility method for throwing an if the object is + null. + + + + + A Google.Apis utility method for throwing an if the string is + null or empty. + + The original string. + + + Returns true in case the enumerable is null or empty. + + + + Checks that the given value is in fact defined in the enum used as the type argument of the method. + + The enum type to check the value within. + The value to check. + The name of the parameter whose value is being tested. + if it was a defined value + + + + Checks that given argument-based condition is met, throwing an otherwise. + + The (already evaluated) condition to check. + The name of the parameter whose value is being tested. + The format string to use to create the exception message if the + condition is not met. + The first argument to the format string. + The second argument to the format string. + + + + A Google.Apis utility method for returning the first matching custom attribute (or null) of the specified member. + + + + Returns the defined string value of an Enum. + + + + Returns the defined string value of an Enum. Use for test purposes or in other Google.Apis projects. + + + + + Tries to convert the specified object to a string. Uses custom type converters if available. + Returns null for a null object. + + + + Converts the input date into a RFC3339 string (http://www.ietf.org/rfc/rfc3339.txt). + + + + Parses the input string and returns if the input is a valid + representation of a date. Otherwise it returns null. + + + + Returns a string (by RFC3339) form the input instance. + + + Represents an exception thrown by an API Service. + + + Gets the service name which related to this exception. + + + Creates an API Service exception. + + + Creates an API Service exception. + + + The Error which was returned from the server, or null if unavailable. + + + The HTTP status code which was returned along with this error, or 0 if unavailable. + + + + Returns a summary of this exception. + + A summary of this exception. + + + diff --git a/game/Assets/NuGet/Google.Apis.Core.1.50.0/lib/net45/Google.Apis.Core.xml.meta b/game/Assets/NuGet/Google.Apis.Core.1.50.0/lib/net45/Google.Apis.Core.xml.meta new file mode 100644 index 0000000..0004485 --- /dev/null +++ b/game/Assets/NuGet/Google.Apis.Core.1.50.0/lib/net45/Google.Apis.Core.xml.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 2062a15c7b0adfb468a80aa853d4a3cd +TextScriptImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/game/Assets/NuGet/Google.Apis.Sheets.v4.1.50.0.2175.meta b/game/Assets/NuGet/Google.Apis.Sheets.v4.1.50.0.2175.meta new file mode 100644 index 0000000..f160367 --- /dev/null +++ b/game/Assets/NuGet/Google.Apis.Sheets.v4.1.50.0.2175.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 09839c11f6f7ce14bab36e7f40a271b3 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/game/Assets/NuGet/Google.Apis.Sheets.v4.1.50.0.2175/.signature.p7s b/game/Assets/NuGet/Google.Apis.Sheets.v4.1.50.0.2175/.signature.p7s new file mode 100644 index 0000000..38d349d Binary files /dev/null and b/game/Assets/NuGet/Google.Apis.Sheets.v4.1.50.0.2175/.signature.p7s differ diff --git a/game/Assets/NuGet/Google.Apis.Sheets.v4.1.50.0.2175/Google.Apis.Sheets.v4.1.50.0.2175.nupkg b/game/Assets/NuGet/Google.Apis.Sheets.v4.1.50.0.2175/Google.Apis.Sheets.v4.1.50.0.2175.nupkg new file mode 100644 index 0000000..b37b2bd Binary files /dev/null and b/game/Assets/NuGet/Google.Apis.Sheets.v4.1.50.0.2175/Google.Apis.Sheets.v4.1.50.0.2175.nupkg differ diff --git a/game/Assets/NuGet/Google.Apis.Sheets.v4.1.50.0.2175/Google.Apis.Sheets.v4.1.50.0.2175.nupkg.meta b/game/Assets/NuGet/Google.Apis.Sheets.v4.1.50.0.2175/Google.Apis.Sheets.v4.1.50.0.2175.nupkg.meta new file mode 100644 index 0000000..718e0f3 --- /dev/null +++ b/game/Assets/NuGet/Google.Apis.Sheets.v4.1.50.0.2175/Google.Apis.Sheets.v4.1.50.0.2175.nupkg.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: d67e6148bd8154544b01617e020fd78a +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/game/Assets/NuGet/Google.Apis.Sheets.v4.1.50.0.2175/LICENSE b/game/Assets/NuGet/Google.Apis.Sheets.v4.1.50.0.2175/LICENSE new file mode 100644 index 0000000..e976b55 --- /dev/null +++ b/game/Assets/NuGet/Google.Apis.Sheets.v4.1.50.0.2175/LICENSE @@ -0,0 +1,176 @@ + + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + +TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + +1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + +2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + +3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + +4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + +5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + +6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + +7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + +8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + +9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. \ No newline at end of file diff --git a/game/Assets/NuGet/Google.Apis.Sheets.v4.1.50.0.2175/LICENSE.meta b/game/Assets/NuGet/Google.Apis.Sheets.v4.1.50.0.2175/LICENSE.meta new file mode 100644 index 0000000..adfc8af --- /dev/null +++ b/game/Assets/NuGet/Google.Apis.Sheets.v4.1.50.0.2175/LICENSE.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 23c183c6120e8984cb000abcc4403a75 +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/game/Assets/NuGet/Google.Apis.Sheets.v4.1.50.0.2175/lib.meta b/game/Assets/NuGet/Google.Apis.Sheets.v4.1.50.0.2175/lib.meta new file mode 100644 index 0000000..51f5279 --- /dev/null +++ b/game/Assets/NuGet/Google.Apis.Sheets.v4.1.50.0.2175/lib.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 0fe216034a5360844bb2f0111afa3f6c +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/game/Assets/NuGet/Google.Apis.Sheets.v4.1.50.0.2175/lib/net45.meta b/game/Assets/NuGet/Google.Apis.Sheets.v4.1.50.0.2175/lib/net45.meta new file mode 100644 index 0000000..96f29f5 --- /dev/null +++ b/game/Assets/NuGet/Google.Apis.Sheets.v4.1.50.0.2175/lib/net45.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 2e95138b0d44f644fae6d1e248ed6acf +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/game/Assets/NuGet/Google.Apis.Sheets.v4.1.50.0.2175/lib/net45/Google.Apis.Sheets.v4.dll b/game/Assets/NuGet/Google.Apis.Sheets.v4.1.50.0.2175/lib/net45/Google.Apis.Sheets.v4.dll new file mode 100644 index 0000000..24148e7 --- /dev/null +++ b/game/Assets/NuGet/Google.Apis.Sheets.v4.1.50.0.2175/lib/net45/Google.Apis.Sheets.v4.dll @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4e53b534960675a27354a2d2e75dd256b64d13120cb75dd0151fa6e33089020a +size 220672 diff --git a/game/Assets/NuGet/Google.Apis.Sheets.v4.1.50.0.2175/lib/net45/Google.Apis.Sheets.v4.dll.meta b/game/Assets/NuGet/Google.Apis.Sheets.v4.1.50.0.2175/lib/net45/Google.Apis.Sheets.v4.dll.meta new file mode 100644 index 0000000..cd00ef0 --- /dev/null +++ b/game/Assets/NuGet/Google.Apis.Sheets.v4.1.50.0.2175/lib/net45/Google.Apis.Sheets.v4.dll.meta @@ -0,0 +1,33 @@ +fileFormatVersion: 2 +guid: e74c84c7d75757b41b71a7d9cc9a7d87 +PluginImporter: + externalObjects: {} + serializedVersion: 2 + iconMap: {} + executionOrder: {} + defineConstraints: [] + isPreloaded: 0 + isOverridable: 0 + isExplicitlyReferenced: 0 + validateReferences: 1 + platformData: + - first: + Any: + second: + enabled: 1 + settings: {} + - first: + Editor: Editor + second: + enabled: 0 + settings: + DefaultValueInitialized: true + - first: + Windows Store Apps: WindowsStoreApps + second: + enabled: 0 + settings: + CPU: AnyCPU + userData: + assetBundleName: + assetBundleVariant: diff --git a/game/Assets/NuGet/Google.Apis.Sheets.v4.1.50.0.2175/lib/net45/Google.Apis.Sheets.v4.xml b/game/Assets/NuGet/Google.Apis.Sheets.v4.1.50.0.2175/lib/net45/Google.Apis.Sheets.v4.xml new file mode 100644 index 0000000..58c9f9d --- /dev/null +++ b/game/Assets/NuGet/Google.Apis.Sheets.v4.1.50.0.2175/lib/net45/Google.Apis.Sheets.v4.xml @@ -0,0 +1,6648 @@ + + + + Google.Apis.Sheets.v4 + + + + The Sheets Service. + + + The API version. + + + The discovery version used to generate this service. + + + Constructs a new service. + + + Constructs a new service. + The service initializer. + + + Gets the service supported features. + + + Gets the service name. + + + Gets the service base URI. + + + Gets the service base path. + + + Gets the batch base URI; null if unspecified. + + + Gets the batch base path; null if unspecified. + + + Available OAuth 2.0 scopes for use with the Google Sheets API. + + + See, edit, create, and delete all of your Google Drive files + + + + View and manage Google Drive files and folders that you have opened or created with this app + + + + See and download all your Google Drive files + + + See, edit, create, and delete your spreadsheets in Google Drive + + + View your Google Spreadsheets + + + Available OAuth 2.0 scope constants for use with the Google Sheets API. + + + See, edit, create, and delete all of your Google Drive files + + + + View and manage Google Drive files and folders that you have opened or created with this app + + + + See and download all your Google Drive files + + + See, edit, create, and delete your spreadsheets in Google Drive + + + View your Google Spreadsheets + + + Gets the Spreadsheets resource. + + + A base abstract class for Sheets requests. + + + Constructs a new SheetsBaseServiceRequest instance. + + + V1 error format. + + + V1 error format. + + + v1 error format + + + v2 error format + + + OAuth access token. + + + Data format for response. + + + Data format for response. + + + Responses with Content-Type of application/json + + + Media download with context-dependent Content-Type + + + Responses with Content-Type of application/x-protobuf + + + JSONP + + + Selector specifying which fields to include in a partial response. + + + + 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. + + + + OAuth 2.0 token for the current user. + + + Returns response with indentations and line breaks. + + + + 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. + + + + Legacy upload protocol for media (e.g. "media", "multipart"). + + + Upload protocol for media (e.g. "raw", "multipart"). + + + Initializes Sheets parameter list. + + + The "spreadsheets" collection of methods. + + + The service which this resource belongs to. + + + Constructs a new resource. + + + Gets the DeveloperMetadata resource. + + + The "developerMetadata" collection of methods. + + + The service which this resource belongs to. + + + Constructs a new resource. + + + + Returns the developer metadata with the specified ID. The caller must specify the spreadsheet ID and the + developer metadata's unique metadataId. + + The ID of the spreadsheet to retrieve metadata from. + The ID of the developer metadata to retrieve. + + + + Returns the developer metadata with the specified ID. The caller must specify the spreadsheet ID and the + developer metadata's unique metadataId. + + + + Constructs a new Get request. + + + The ID of the spreadsheet to retrieve metadata from. + + + The ID of the developer metadata to retrieve. + + + Gets the method name. + + + Gets the HTTP method. + + + Gets the REST path. + + + Initializes Get parameter list. + + + + 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. + + The body of the request. + The ID of the spreadsheet to retrieve metadata from. + + + + 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. + + + + Constructs a new Search request. + + + The ID of the spreadsheet to retrieve metadata from. + + + Gets or sets the body of this request. + + + Returns the body of the request. + + + Gets the method name. + + + Gets the HTTP method. + + + Gets the REST path. + + + Initializes Search parameter list. + + + Gets the Sheets resource. + + + The "sheets" collection of methods. + + + The service which this resource belongs to. + + + Constructs a new resource. + + + + Copies a single sheet from a spreadsheet to another spreadsheet. Returns the properties of the newly + created sheet. + + The body of the request. + The ID of the spreadsheet containing the sheet to copy. + The ID of the sheet to copy. + + + + Copies a single sheet from a spreadsheet to another spreadsheet. Returns the properties of the newly + created sheet. + + + + Constructs a new CopyTo request. + + + The ID of the spreadsheet containing the sheet to copy. + + + The ID of the sheet to copy. + + + Gets or sets the body of this request. + + + Returns the body of the request. + + + Gets the method name. + + + Gets the HTTP method. + + + Gets the REST path. + + + Initializes CopyTo parameter list. + + + Gets the Values resource. + + + The "values" collection of methods. + + + The service which this resource belongs to. + + + Constructs a new resource. + + + + 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 added to the sheet (column-wise or + row-wise), it does not influence what cell the data starts being written to. + + The body of the request. + The ID of the spreadsheet to update. + + The A1 notation of a range to search for a logical table of data. Values are appended after the last 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 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. + + + + Constructs a new Append request. + + + The ID of the spreadsheet to update. + + + + The A1 notation of a range to search for a logical table of data. Values are appended after the last + row of the table. + + + + + Determines if the update response should include the values of the cells that were appended. By + default, responses do not include the updated values. + + + + How the input data should be inserted. + + + How the input data should be inserted. + + + + The new data overwrites existing data in the areas it is written. (Note: adding data to the end + of the sheet will still insert new rows or columns so the data can be written.) + + + + Rows are inserted for the new data. + + + + Determines how dates, times, and durations in the response should be rendered. This is ignored if + response_value_render_option is FORMATTED_VALUE. The default dateTime render option is + [DateTimeRenderOption.SERIAL_NUMBER]. + + + + + Determines how dates, times, and durations in the response should be rendered. This is ignored if + response_value_render_option is FORMATTED_VALUE. The default dateTime render option is + [DateTimeRenderOption.SERIAL_NUMBER]. + + + + + Instructs date, time, datetime, and duration fields to be output as doubles in "serial number" + format, as popularized by Lotus 1-2-3. The whole number portion of the value (left of the + decimal) counts the days since December 30th 1899. The fractional portion (right of the decimal) + counts the time as a fraction of the day. For example, January 1st 1900 at noon would be 2.5, 2 + because it's 2 days after December 30st 1899, and .5 because noon is half a day. February 1st + 1900 at 3pm would be 33.625. This correctly treats the year 1900 as not a leap year. + + + + + Instructs date, time, datetime, and duration fields to be output as strings in their given + number format (which is dependent on the spreadsheet locale). + + + + + Determines how values in the response should be rendered. The default render option is + ValueRenderOption.FORMATTED_VALUE. + + + + + Determines how values in the response should be rendered. The default render option is + ValueRenderOption.FORMATTED_VALUE. + + + + + Values will be calculated &amp; formatted in the reply according to the cell's formatting. + Formatting is based on the spreadsheet's locale, not the requesting user's locale. For example, + if `A1` is `1.23` and `A2` is `=A1` and formatted as currency, then `A2` would return `"$1.23"`. + + + + + Values will be calculated, but not formatted in the reply. For example, if `A1` is `1.23` and + `A2` is `=A1` and formatted as currency, then `A2` would return the number `1.23`. + + + + + Values will not be calculated. The reply will include the formulas. For example, if `A1` is + `1.23` and `A2` is `=A1` and formatted as currency, then A2 would return `"=A1"`. + + + + How the input data should be interpreted. + + + How the input data should be interpreted. + + + Default input value. This value must not be used. + + + The values the user has entered will not be parsed and will be stored as-is. + + + + The values will be parsed as if the user typed them into the UI. Numbers will stay as numbers, + but strings may be converted to numbers, dates, etc. following the same rules that are applied + when entering text into a cell via the Google Sheets UI. + + + + Gets or sets the body of this request. + + + Returns the body of the request. + + + Gets the method name. + + + Gets the HTTP method. + + + Gets the REST path. + + + Initializes Append parameter list. + + + + Clears one or more ranges of values from a spreadsheet. The caller must specify the spreadsheet ID and + one or more ranges. Only values are cleared -- all other properties of the cell (such as formatting, + data validation, etc..) are kept. + + The body of the request. + The ID of the spreadsheet to update. + + + + Clears one or more ranges of values from a spreadsheet. The caller must specify the spreadsheet ID and + one or more ranges. Only values are cleared -- all other properties of the cell (such as formatting, + data validation, etc..) are kept. + + + + Constructs a new BatchClear request. + + + The ID of the spreadsheet to update. + + + Gets or sets the body of this request. + + + Returns the body of the request. + + + Gets the method name. + + + Gets the HTTP method. + + + Gets the REST path. + + + Initializes BatchClear parameter list. + + + + Clears one or more ranges of values from a spreadsheet. The caller must specify the spreadsheet ID and + one or more DataFilters. Ranges matching any of the specified data filters will be cleared. Only values + are cleared -- all other properties of the cell (such as formatting, data validation, etc..) are kept. + + The body of the request. + The ID of the spreadsheet to update. + + + + Clears one or more ranges of values from a spreadsheet. The caller must specify the spreadsheet ID and + one or more DataFilters. Ranges matching any of the specified data filters will be cleared. Only values + are cleared -- all other properties of the cell (such as formatting, data validation, etc..) are kept. + + + + Constructs a new BatchClearByDataFilter request. + + + The ID of the spreadsheet to update. + + + Gets or sets the body of this request. + + + Returns the body of the request. + + + Gets the method name. + + + Gets the HTTP method. + + + Gets the REST path. + + + Initializes BatchClearByDataFilter parameter list. + + + + Returns one or more ranges of values from a spreadsheet. The caller must specify the spreadsheet ID and + one or more ranges. + + The ID of the spreadsheet to retrieve data from. + + + + Returns one or more ranges of values from a spreadsheet. The caller must specify the spreadsheet ID and + one or more ranges. + + + + Constructs a new BatchGet request. + + + The ID of the spreadsheet to retrieve data from. + + + + 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 + [DateTimeRenderOption.SERIAL_NUMBER]. + + + + + 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 + [DateTimeRenderOption.SERIAL_NUMBER]. + + + + + Instructs date, time, datetime, and duration fields to be output as doubles in "serial number" + format, as popularized by Lotus 1-2-3. The whole number portion of the value (left of the + decimal) counts the days since December 30th 1899. The fractional portion (right of the decimal) + counts the time as a fraction of the day. For example, January 1st 1900 at noon would be 2.5, 2 + because it's 2 days after December 30st 1899, and .5 because noon is half a day. February 1st + 1900 at 3pm would be 33.625. This correctly treats the year 1900 as not a leap year. + + + + + Instructs date, time, datetime, and duration fields to be output as strings in their given + number format (which is dependent on the spreadsheet locale). + + + + + 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]]`. + + + + The default value, do not use. + + + Operates on the rows of a sheet. + + + Operates on the columns of a sheet. + + + The A1 notation of the values to retrieve. + + + + How values should be represented in the output. The default render option is + ValueRenderOption.FORMATTED_VALUE. + + + + + How values should be represented in the output. The default render option is + ValueRenderOption.FORMATTED_VALUE. + + + + + Values will be calculated &amp; formatted in the reply according to the cell's formatting. + Formatting is based on the spreadsheet's locale, not the requesting user's locale. For example, + if `A1` is `1.23` and `A2` is `=A1` and formatted as currency, then `A2` would return `"$1.23"`. + + + + + Values will be calculated, but not formatted in the reply. For example, if `A1` is `1.23` and + `A2` is `=A1` and formatted as currency, then `A2` would return the number `1.23`. + + + + + Values will not be calculated. The reply will include the formulas. For example, if `A1` is + `1.23` and `A2` is `=A1` and formatted as currency, then A2 would return `"=A1"`. + + + + Gets the method name. + + + Gets the HTTP method. + + + Gets the REST path. + + + Initializes BatchGet parameter list. + + + + 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. + + The body of the request. + The ID of the spreadsheet to retrieve data from. + + + + 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. + + + + Constructs a new BatchGetByDataFilter request. + + + The ID of the spreadsheet to retrieve data from. + + + Gets or sets the body of this request. + + + Returns the body of the request. + + + Gets the method name. + + + Gets the HTTP method. + + + Gets the REST path. + + + Initializes BatchGetByDataFilter parameter list. + + + + Sets values in one or more ranges of a spreadsheet. The caller must specify the spreadsheet ID, a + valueInputOption, and one or more ValueRanges. + + The body of the request. + The ID of the spreadsheet to update. + + + + Sets values in one or more ranges of a spreadsheet. The caller must specify the spreadsheet ID, a + valueInputOption, and one or more ValueRanges. + + + + Constructs a new BatchUpdate request. + + + The ID of the spreadsheet to update. + + + Gets or sets the body of this request. + + + Returns the body of the request. + + + Gets the method name. + + + Gets the HTTP method. + + + Gets the REST path. + + + Initializes BatchUpdate parameter list. + + + + Sets values in one or more ranges of a spreadsheet. The caller must specify the spreadsheet ID, a + valueInputOption, and one or more DataFilterValueRanges. + + The body of the request. + The ID of the spreadsheet to update. + + + + Sets values in one or more ranges of a spreadsheet. The caller must specify the spreadsheet ID, a + valueInputOption, and one or more DataFilterValueRanges. + + + + Constructs a new BatchUpdateByDataFilter request. + + + The ID of the spreadsheet to update. + + + Gets or sets the body of this request. + + + Returns the body of the request. + + + Gets the method name. + + + Gets the HTTP method. + + + Gets the REST path. + + + Initializes BatchUpdateByDataFilter parameter list. + + + + 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. + + The body of the request. + The ID of the spreadsheet to update. + The A1 notation of the values to clear. + + + + 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. + + + + Constructs a new Clear request. + + + The ID of the spreadsheet to update. + + + The A1 notation of the values to clear. + + + Gets or sets the body of this request. + + + Returns the body of the request. + + + Gets the method name. + + + Gets the HTTP method. + + + Gets the REST path. + + + Initializes Clear parameter list. + + + + Returns a range of values from a spreadsheet. The caller must specify the spreadsheet ID and a range. + + The ID of the spreadsheet to retrieve data from. + The A1 notation of the values to retrieve. + + + + Returns a range of values from a spreadsheet. The caller must specify the spreadsheet ID and a range. + + + + Constructs a new Get request. + + + The ID of the spreadsheet to retrieve data from. + + + The A1 notation of the values to retrieve. + + + + 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 + [DateTimeRenderOption.SERIAL_NUMBER]. + + + + + 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 + [DateTimeRenderOption.SERIAL_NUMBER]. + + + + + Instructs date, time, datetime, and duration fields to be output as doubles in "serial number" + format, as popularized by Lotus 1-2-3. The whole number portion of the value (left of the + decimal) counts the days since December 30th 1899. The fractional portion (right of the decimal) + counts the time as a fraction of the day. For example, January 1st 1900 at noon would be 2.5, 2 + because it's 2 days after December 30st 1899, and .5 because noon is half a day. February 1st + 1900 at 3pm would be 33.625. This correctly treats the year 1900 as not a leap year. + + + + + Instructs date, time, datetime, and duration fields to be output as strings in their given + number format (which is dependent on the spreadsheet locale). + + + + + 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]]`. + + + + The default value, do not use. + + + Operates on the rows of a sheet. + + + Operates on the columns of a sheet. + + + + How values should be represented in the output. The default render option is + ValueRenderOption.FORMATTED_VALUE. + + + + + How values should be represented in the output. The default render option is + ValueRenderOption.FORMATTED_VALUE. + + + + + Values will be calculated &amp; formatted in the reply according to the cell's formatting. + Formatting is based on the spreadsheet's locale, not the requesting user's locale. For example, + if `A1` is `1.23` and `A2` is `=A1` and formatted as currency, then `A2` would return `"$1.23"`. + + + + + Values will be calculated, but not formatted in the reply. For example, if `A1` is `1.23` and + `A2` is `=A1` and formatted as currency, then `A2` would return the number `1.23`. + + + + + Values will not be calculated. The reply will include the formulas. For example, if `A1` is + `1.23` and `A2` is `=A1` and formatted as currency, then A2 would return `"=A1"`. + + + + Gets the method name. + + + Gets the HTTP method. + + + Gets the REST path. + + + Initializes Get parameter list. + + + + Sets values in a range of a spreadsheet. The caller must specify the spreadsheet ID, range, and a + valueInputOption. + + The body of the request. + The ID of the spreadsheet to update. + The A1 notation of the values to update. + + + + Sets values in a range of a spreadsheet. The caller must specify the spreadsheet ID, range, and a + valueInputOption. + + + + Constructs a new Update request. + + + The ID of the spreadsheet to update. + + + The A1 notation of the values to update. + + + + Determines if the update response should include the values of the cells that were updated. By + default, responses do not include 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). + + + + + Determines how dates, times, and durations in the response should be rendered. This is ignored if + response_value_render_option is FORMATTED_VALUE. The default dateTime render option is + DateTimeRenderOption.SERIAL_NUMBER. + + + + + Determines how dates, times, and durations in the response should be rendered. This is ignored if + response_value_render_option is FORMATTED_VALUE. The default dateTime render option is + DateTimeRenderOption.SERIAL_NUMBER. + + + + + Instructs date, time, datetime, and duration fields to be output as doubles in "serial number" + format, as popularized by Lotus 1-2-3. The whole number portion of the value (left of the + decimal) counts the days since December 30th 1899. The fractional portion (right of the decimal) + counts the time as a fraction of the day. For example, January 1st 1900 at noon would be 2.5, 2 + because it's 2 days after December 30st 1899, and .5 because noon is half a day. February 1st + 1900 at 3pm would be 33.625. This correctly treats the year 1900 as not a leap year. + + + + + Instructs date, time, datetime, and duration fields to be output as strings in their given + number format (which is dependent on the spreadsheet locale). + + + + + Determines how values in the response should be rendered. The default render option is + ValueRenderOption.FORMATTED_VALUE. + + + + + Determines how values in the response should be rendered. The default render option is + ValueRenderOption.FORMATTED_VALUE. + + + + + Values will be calculated &amp; formatted in the reply according to the cell's formatting. + Formatting is based on the spreadsheet's locale, not the requesting user's locale. For example, + if `A1` is `1.23` and `A2` is `=A1` and formatted as currency, then `A2` would return `"$1.23"`. + + + + + Values will be calculated, but not formatted in the reply. For example, if `A1` is `1.23` and + `A2` is `=A1` and formatted as currency, then `A2` would return the number `1.23`. + + + + + Values will not be calculated. The reply will include the formulas. For example, if `A1` is + `1.23` and `A2` is `=A1` and formatted as currency, then A2 would return `"=A1"`. + + + + How the input data should be interpreted. + + + How the input data should be interpreted. + + + Default input value. This value must not be used. + + + The values the user has entered will not be parsed and will be stored as-is. + + + + The values will be parsed as if the user typed them into the UI. Numbers will stay as numbers, + but strings may be converted to numbers, dates, etc. following the same rules that are applied + when entering text into a cell via the Google Sheets UI. + + + + Gets or sets the body of this request. + + + Returns the body of the request. + + + Gets the method name. + + + Gets the HTTP method. + + + Gets the REST path. + + + Initializes Update parameter list. + + + + 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. + + The body of the request. + The spreadsheet to apply the updates to. + + + + 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. + + + + Constructs a new BatchUpdate request. + + + The spreadsheet to apply the updates to. + + + Gets or sets the body of this request. + + + Returns the body of the request. + + + Gets the method name. + + + Gets the HTTP method. + + + Gets the REST path. + + + Initializes BatchUpdate parameter list. + + + Creates a spreadsheet, returning the newly created spreadsheet. + The body of the request. + + + Creates a spreadsheet, returning the newly created spreadsheet. + + + Constructs a new Create request. + + + Gets or sets the body of this request. + + + Returns the body of the request. + + + Gets the method name. + + + Gets the HTTP method. + + + Gets the REST path. + + + Initializes Create parameter list. + + + + Returns the spreadsheet at the given ID. The caller must specify the spreadsheet ID. By default, data within + grids will not be returned. You can include grid data one of two 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, it is recommended to + retrieve only the specific fields of the spreadsheet that you want. To retrieve only subsets of the + spreadsheet, use the ranges URL parameter. Multiple ranges can be specified. Limiting the range will return + only the portions of the spreadsheet that intersect the requested ranges. Ranges are specified using A1 + notation. + + The spreadsheet to request. + + + + Returns the spreadsheet at the given ID. The caller must specify the spreadsheet ID. By default, data within + grids will not be returned. You can include grid data one of two 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, it is recommended to + retrieve only the specific fields of the spreadsheet that you want. To retrieve only subsets of the + spreadsheet, use the ranges URL parameter. Multiple ranges can be specified. Limiting the range will return + only the portions of the spreadsheet that intersect the requested ranges. Ranges are specified using A1 + notation. + + + + Constructs a new Get request. + + + The spreadsheet to request. + + + + True if grid data should be returned. This parameter is ignored if a field mask was set in the request. + + + + The ranges to retrieve from the spreadsheet. + + + Gets the method name. + + + Gets the HTTP method. + + + Gets the REST path. + + + Initializes Get parameter list. + + + + 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 will + return the portions of the spreadsheet that intersect ranges matched by any of the filters. By default, data + within grids will not be returned. You can include grid data one of two 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, it is recommended to + retrieve only the specific fields of the spreadsheet that you want. + + The body of the request. + The spreadsheet to 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 will + return the portions of the spreadsheet that intersect ranges matched by any of the filters. By default, data + within grids will not be returned. You can include grid data one of two 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, it is recommended to + retrieve only the specific fields of the spreadsheet that you want. + + + + Constructs a new GetByDataFilter request. + + + The spreadsheet to request. + + + Gets or sets the body of this request. + + + Returns the body of the request. + + + Gets the method name. + + + Gets the HTTP method. + + + Gets the REST path. + + + Initializes GetByDataFilter parameter list. + + + Adds a new banded range to the spreadsheet. + + + + The banded range to add. The bandedRangeId field is optional; if one is not set, an id will be randomly + generated. (It is an error to specify the ID of a range that already exists.) + + + + The ETag of the item. + + + The result of adding a banded range. + + + The banded range that was added. + + + The ETag of the item. + + + Adds a chart to a sheet in the spreadsheet. + + + + The chart that should be added to the spreadsheet, including the position where it should be placed. The + chartId field is optional; if one is not set, an id will be randomly generated. (It is an error to specify + the ID of an embedded object that already exists.) + + + + The ETag of the item. + + + The result of adding a chart to a spreadsheet. + + + The newly added chart. + + + The ETag of the item. + + + + Adds a new conditional format rule at the given index. All subsequent rules' indexes are incremented. + + + + The zero-based index where the rule should be inserted. + + + The rule to add. + + + The ETag of the item. + + + + Adds a data source. After the data source is added successfully, an associated DATA_SOURCE sheet is created and + an execution is triggered to refresh the sheet to read data from the data source. The request requires an + additional `bigquery.readonly` OAuth scope. + + + + The data source to add. + + + The ETag of the item. + + + The result of adding a data source. + + + The data execution status. + + + The data source that was created. + + + The ETag of the item. + + + + Creates a group over the specified range. If the requested range is a superset of the range of an existing group + G, then the depth of G is incremented and this new group G' has the depth of that group. For example, a group + [C:D, depth 1] + [B:E] results in groups [B:E, depth 1] and [C:D, depth 2]. If the requested range is a subset + of the range of an existing group G, then the depth of the new group G' becomes one greater than the depth of G. + For example, a group [B:E, depth 1] + [C:D] results in groups [B:E, depth 1] and [C:D, depth 2]. If the + requested range starts before and ends within, or starts within and ends after, the range of an existing group + G, then the range of the existing group G becomes the union of the ranges, and the new group G' has depth one + greater than the depth of G and range as the intersection of the ranges. For example, a group [B:D, depth 1] + + [C:E] results in groups [B:E, depth 1] and [C:D, depth 2]. + + + + The range over which to create a group. + + + The ETag of the item. + + + The result of adding a group. + + + All groups of a dimension after adding a group to that dimension. + + + The ETag of the item. + + + Adds a filter view. + + + + The filter to add. The filterViewId field is optional; if one is not set, an id will be randomly generated. + (It is an error to specify the ID of a filter that already exists.) + + + + The ETag of the item. + + + The result of adding a filter view. + + + The newly added filter view. + + + The ETag of the item. + + + Adds a named range to the spreadsheet. + + + + The named range to add. The namedRangeId field is optional; if one is not set, an id will be randomly + generated. (It is an error to specify the ID of a range that already exists.) + + + + The ETag of the item. + + + The result of adding a named range. + + + The named range to add. + + + The ETag of the item. + + + Adds a new protected range. + + + + The protected range to be added. The protectedRangeId field is optional; if one is not set, an id will be + randomly generated. (It is an error to specify the ID of a range that already exists.) + + + + The ETag of the item. + + + The result of adding a new protected range. + + + The newly added protected range. + + + The ETag of the item. + + + + Adds a new sheet. When a sheet is added at a given index, all subsequent sheets' indexes are incremented. To add + an object sheet, use AddChartRequest instead and specify EmbeddedObjectPosition.sheetId or + EmbeddedObjectPosition.newSheet. + + + + + The properties the new sheet should have. All properties are optional. The sheetId field is optional; if one + is not set, an id will be randomly generated. (It is an error to specify the ID of a sheet that already + exists.) + + + + The ETag of the item. + + + The result of adding a sheet. + + + The properties of the newly added sheet. + + + The ETag of the item. + + + Adds a slicer to a sheet in the spreadsheet. + + + + The slicer that should be added to the spreadsheet, including the position where it should be placed. The + slicerId field is optional; if one is not set, an id will be randomly generated. (It is an error to specify + the ID of a slicer that already exists.) + + + + The ETag of the item. + + + The result of adding a slicer to a spreadsheet. + + + The newly added slicer. + + + The ETag of the item. + + + + Adds new cells after the last row with data in a sheet, inserting new rows into the sheet if necessary. + + + + + 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. + + + + The data to append. + + + The sheet ID to append the data to. + + + The ETag of the item. + + + Appends rows or columns to the end of a sheet. + + + Whether rows or columns should be appended. + + + The number of rows or columns to append. + + + The sheet to append rows or columns to. + + + The ETag of the item. + + + The response when updating a range of values in a spreadsheet. + + + The spreadsheet the updates were applied to. + + + + The range (in A1 notation) of the table that values are being appended to (before the values were appended). + Empty if no table was found. + + + + Information about the updates that were applied. + + + The ETag of the item. + + + Fills in more data based on existing data. + + + + The range to autofill. This will examine the range and detect the location that has data and automatically + fill that data in to the rest of the range. + + + + + The source and destination areas to autofill. This explicitly lists the source of the autofill and where to + extend that data. + + + + + True if we should generate data with the "alternate" series. This differs based on the type and amount of + source data. + + + + The ETag of the item. + + + + Automatically resizes one or more dimensions based on the contents of the cells in that dimension. + + + + The dimensions on a data source sheet to automatically resize. + + + The dimensions to automatically resize. + + + The ETag of the item. + + + A banded (alternating colors) range in a sheet. + + + The id of the banded range. + + + + Properties for column bands. These properties are applied on a column- by-column basis throughout all the + columns in the range. At least one of row_properties or column_properties must be specified. + + + + The range over which these properties are applied. + + + + Properties for row bands. These properties are applied on a row-by-row basis throughout all the rows in the + range. At least one of row_properties or column_properties must be specified. + + + + The ETag of the item. + + + + Properties referring a single dimension (either row or column). If both BandedRange.row_properties and + BandedRange.column_properties are set, the fill colors are applied to cells according to the following rules: * + header_color and footer_color take priority over band colors. * first_band_color takes priority over + second_band_color. * row_properties takes priority over column_properties. For example, the first row color + takes priority over the first column color, but the first column color takes priority over the second row color. + Similarly, the row header takes priority over the column header in the top left cell, but the column header + takes priority over the first row color if the row header is not set. + + + + The first color that is alternating. (Required) + + + + The first color that is alternating. (Required) If first_band_color is also set, this field takes + precedence. + + + + + The color of the last row or column. If this field is not set, the last row or column is filled with either + first_band_color or second_band_color, depending on the color of the previous row or column. + + + + + The color of the last row or column. If this field is not set, the last row or column is filled with either + first_band_color or second_band_color, depending on the color of the previous row or column. If footer_color + is also set, this field takes precedence. + + + + + The color of the first row or column. If this field is set, the first row or column is filled with this + color and the colors alternate between first_band_color and second_band_color starting from the second row + or column. Otherwise, the first row or column is filled with first_band_color and the colors proceed to + alternate as they normally would. + + + + + The color of the first row or column. If this field is set, the first row or column is filled with this + color and the colors alternate between first_band_color and second_band_color starting from the second row + or column. Otherwise, the first row or column is filled with first_band_color and the colors proceed to + alternate as they normally would. If header_color is also set, this field takes precedence. + + + + The second color that is alternating. (Required) + + + + The second color that is alternating. (Required) If second_band_color is also set, this field takes + precedence. + + + + The ETag of the item. + + + Formatting options for baseline value. + + + The comparison type of key value with baseline value. + + + Description which is appended after the baseline value. This field is optional. + + + + Color to be used, in case baseline value represents a negative change for key value. This field is optional. + + + + + Color to be used, in case baseline value represents a negative change for key value. This field is optional. + If negative_color is also set, this field takes precedence. + + + + + Specifies the horizontal text positioning of baseline value. This field is optional. If not specified, + default positioning is used. + + + + + Color to be used, in case baseline value represents a positive change for key value. This field is optional. + + + + + Color to be used, in case baseline value represents a positive change for key value. This field is optional. + If positive_color is also set, this field takes precedence. + + + + Text formatting options for baseline value. + + + The ETag of the item. + + + An axis of the chart. A chart may not have more than one axis per axis position. + + + The format of the title. Only valid if the axis is not associated with the domain. + + + The position of this axis. + + + + The title of this axis. If set, this overrides any title inferred from headers of the data. + + + + The axis title text position. + + + The view window options for this axis. + + + The ETag of the item. + + + + The domain of a chart. For example, if charting stock prices over time, this would be the date. + + + + + The data of the domain. For example, if charting stock prices over time, this is the data representing the + dates. + + + + True to reverse the order of the domain values (horizontal axis). + + + The ETag of the item. + + + + A single series of data in a chart. For example, if charting stock prices over time, multiple series may exist, + one for the "Open Price", "High Price", "Low Price" and "Close Price". + + + + + The color for elements (such as bars, lines, and points) associated with this series. If empty, a default + color is used. + + + + + The color for elements (such as bars, lines, and points) associated with this series. If empty, a default + color is used. If color is also set, this field takes precedence. + + + + Information about the data labels for this series. + + + + The line style of this series. Valid only if the chartType is AREA, LINE, or SCATTER. COMBO charts are also + supported if the series chart type is AREA or LINE. + + + + + The style for points associated with this series. Valid only if the chartType is AREA, LINE, or SCATTER. + COMBO charts are also supported if the series chart type is AREA, LINE, or SCATTER. If empty, a default + point style is used. + + + + The data being visualized in this chart series. + + + Style override settings for series data points. + + + + 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. + + + + + The type of this series. Valid only if the chartType is COMBO. Different types will change the way the + series is visualized. Only LINE, AREA, and COLUMN are supported. + + + + The ETag of the item. + + + The specification for a basic chart. See BasicChartType for the list of charts this supports. + + + The axis on the chart. + + + The type of the chart. + + + The behavior of tooltips and data highlighting when hovering on data and chart area. + + + The domain of data this is charting. Only a single domain is supported. + + + + 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.) + + + + + If some values in a series are missing, gaps may appear in the chart (e.g, segments of lines in a line chart + will be missing). To eliminate these gaps set this to true. Applies to Line, Area, and Combo charts. + + + + The position of the chart legend. + + + + Gets whether all lines should be rendered smooth or straight by default. Applies to Line charts. + + + + The data this chart is visualizing. + + + + The stacked type for charts that support vertical stacking. Applies to Area, Bar, Column, Combo, and Stepped + Area charts. + + + + True to make the chart 3D. Applies to Bar and Column charts. + + + + Controls whether to display additional data labels on stacked charts which sum the total value of all + stacked values at each value along the domain axis. These data labels can only be set when chart_type is one + of AREA, BAR, COLUMN, COMBO or STEPPED_AREA and stacked_type is either STACKED or PERCENT_STACKED. In + addition, for COMBO, this will only be supported if there is only one type of stackable series type or one + type has more series than the others and each of the other types have no more than one series. For example, + if a chart has two stacked bar series and one area series, the total data labels will be supported. If it + has three bar series and two area series, total data labels are not allowed. Neither CUSTOM nor placement + can be set on the total_data_label. + + + + The ETag of the item. + + + The default filter associated with a sheet. + + + + The criteria for showing/hiding values per column. The map's key is the column index, and the value is the + criteria for that column. This field is deprecated in favor of filter_specs. + + + + + The filter criteria per column. Both criteria and filter_specs are populated in responses. If both fields + are specified in an update request, this field takes precedence. + + + + The range the filter covers. + + + + The sort order per column. Later specifications are used when values are equal in the earlier + specifications. + + + + The ETag of the item. + + + Style override settings for a single series data point. + + + Color of the series data point. If empty, the series default is used. + + + + Color of the series data point. If empty, the series default is used. If color is also set, this field takes + precedence. + + + + Zero based index of the series data point. + + + + Point style of the series data point. Valid only if the chartType is AREA, LINE, or SCATTER. COMBO charts + are also supported if the series chart type is AREA, LINE, or SCATTER. If empty, the series default is used. + + + + The ETag of the item. + + + The request for clearing more than one range selected by a DataFilter in a spreadsheet. + + + The DataFilters used to determine which ranges to clear. + + + The ETag of the item. + + + The response when clearing a range of values selected with DataFilters in a spreadsheet. + + + + The ranges that were cleared, in A1 notation. If the requests are for an unbounded range or a ranger larger + than the bounds of the sheet, this is the actual ranges that were cleared, bounded to the sheet's limits. + + + + The spreadsheet the updates were applied to. + + + The ETag of the item. + + + The request for clearing more than one range of values in a spreadsheet. + + + The ranges to clear, in A1 notation. + + + The ETag of the item. + + + The response when clearing a range of values in a spreadsheet. + + + + The ranges that were cleared, in A1 notation. If the requests are for an unbounded range or a ranger larger + than the bounds of the sheet, this is the actual ranges that were cleared, bounded to the sheet's limits. + + + + The spreadsheet the updates were applied to. + + + The ETag of the item. + + + + The request for retrieving a range of values in a spreadsheet selected by a set of DataFilters. + + + + + The data filters used to match the ranges of values to retrieve. Ranges that match any of the specified data + filters are included in the response. + + + + + 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 [DateTimeRenderOption.SERIAL_NUMBER]. + + + + + 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]]`. + + + + + How values should be represented in the output. The default render option is + ValueRenderOption.FORMATTED_VALUE. + + + + The ETag of the item. + + + + The response when retrieving more than one range of values in a spreadsheet selected by DataFilters. + + + + The ID of the spreadsheet the data was retrieved from. + + + The requested values with the list of data filters that matched them. + + + The ETag of the item. + + + The response when retrieving more than one range of values in a spreadsheet. + + + The ID of the spreadsheet the data was retrieved from. + + + + The requested values. The order of the ValueRanges is the same as the order of the requested ranges. + + + + The ETag of the item. + + + The request for updating any aspect of a spreadsheet. + + + Determines if the update response should include the spreadsheet resource. + + + + A list of updates to apply to the spreadsheet. Requests will be applied in the order they are specified. If + any request is not valid, no requests will be applied. + + + + + True if grid data should be returned. Meaningful only if include_spreadsheet_in_response is 'true'. This + parameter is ignored if a field mask was set in the request. + + + + + Limits the ranges included in the response spreadsheet. Meaningful only if include_spreadsheet_in_response + is 'true'. + + + + The ETag of the item. + + + The reply for batch updating a spreadsheet. + + + + The reply of the updates. This maps 1:1 with the updates, although replies to some requests may be empty. + + + + The spreadsheet the updates were applied to. + + + + The spreadsheet after updates were applied. This is only set if + [BatchUpdateSpreadsheetRequest.include_spreadsheet_in_response] is `true`. + + + + The ETag of the item. + + + The request for updating more than one range of values in a spreadsheet. + + + + 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. + + + + + 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). + + + + + Determines how dates, times, and durations in the response should be rendered. This is ignored if + response_value_render_option is FORMATTED_VALUE. The default dateTime render option is + DateTimeRenderOption.SERIAL_NUMBER. + + + + + Determines how values in the response should be rendered. The default render option is + ValueRenderOption.FORMATTED_VALUE. + + + + How the input data should be interpreted. + + + The ETag of the item. + + + The response when updating a range of values in a spreadsheet. + + + The response for each range updated. + + + The spreadsheet the updates were applied to. + + + The total number of cells updated. + + + The total number of columns where at least one cell in the column was updated. + + + The total number of rows where at least one cell in the row was updated. + + + The total number of sheets where at least one cell in the sheet was updated. + + + The ETag of the item. + + + The request for updating more than one range of values in a spreadsheet. + + + The new values to apply to the spreadsheet. + + + + 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). + + + + + Determines how dates, times, and durations in the response should be rendered. This is ignored if + response_value_render_option is FORMATTED_VALUE. The default dateTime render option is + DateTimeRenderOption.SERIAL_NUMBER. + + + + + Determines how values in the response should be rendered. The default render option is + ValueRenderOption.FORMATTED_VALUE. + + + + How the input data should be interpreted. + + + The ETag of the item. + + + The response when updating a range of values in a spreadsheet. + + + One UpdateValuesResponse per requested range, in the same order as the requests appeared. + + + The spreadsheet the updates were applied to. + + + The total number of cells updated. + + + The total number of columns where at least one cell in the column was updated. + + + The total number of rows where at least one cell in the row was updated. + + + The total number of sheets where at least one cell in the sheet was updated. + + + The ETag of the item. + + + The specification of a BigQuery data source that's connected to a sheet. + + + + The ID of a BigQuery enabled GCP project with a billing account attached. For any queries executed against + the data source, the project is charged. + + + + A BigQueryQuerySpec. + + + A BigQueryTableSpec. + + + The ETag of the item. + + + Specifies a custom BigQuery query. + + + The raw query string. + + + The ETag of the item. + + + + Specifies a BigQuery table definition. Only [native tables](https://cloud.google.com/bigquery/docs/tables-intro) + is allowed. + + + + The BigQuery dataset id. + + + The BigQuery table id. + + + + The ID of a BigQuery project the table belongs to. If not specified, the project_id is assumed. + + + + The ETag of the item. + + + + A condition that can evaluate to true or false. BooleanConditions are used by conditional formatting, data + validation, and the criteria in filters. + + + + The type of condition. + + + + The values of the condition. The number of supported values depends on the condition type. Some support zero + values, others one or two values, and ConditionType.ONE_OF_LIST supports an arbitrary number of values. + + + + The ETag of the item. + + + A rule that may or may not match, depending on the condition. + + + The condition of the rule. If the condition evaluates to true, the format is applied. + + + + The format to apply. Conditional formatting can only apply a subset of formatting: bold, italic, + strikethrough, foreground color &amp; background color. + + + + The ETag of the item. + + + A border along a cell. + + + The color of the border. + + + The color of the border. If color is also set, this field takes precedence. + + + The style of the border. + + + + The width of the border, in pixels. Deprecated; the width is determined by the "style" field. + + + + The ETag of the item. + + + The borders of the cell. + + + The bottom border of the cell. + + + The left border of the cell. + + + The right border of the cell. + + + The top border of the cell. + + + The ETag of the item. + + + A bubble chart. + + + The bubble border color. + + + The bubble border color. If bubble_border_color is also set, this field takes precedence. + + + The data containing the bubble labels. These do not need to be unique. + + + + The max radius size of the bubbles, in pixels. If specified, the field must be a positive value. + + + + + The minimum radius size of the bubbles, in pixels. If specific, the field must be a positive value. + + + + + The opacity of the bubbles between 0 and 1.0. 0 is fully transparent and 1 is fully opaque. + + + + + The data contianing the bubble sizes. Bubble sizes are used to draw the bubbles at different sizes relative + to each other. If specified, group_ids must also be specified. This field is optional. + + + + The format of the text inside the bubbles. Strikethrough and underline are not supported. + + + + The data containing the bubble x-values. These values locate the bubbles in the chart horizontally. + + + + + The data containing the bubble group IDs. All bubbles with the same group ID are drawn in the same color. If + bubble_sizes is specified then this field must also be specified but may contain blank values. This field is + optional. + + + + Where the legend of the chart should be drawn. + + + + The data contianing the bubble y-values. These values locate the bubbles in the chart vertically. + + + + The ETag of the item. + + + A candlestick chart. + + + The Candlestick chart data. Only one CandlestickData is supported. + + + + The domain data (horizontal axis) for the candlestick chart. String data will be treated as discrete labels, + other data will be treated as continuous values. + + + + The ETag of the item. + + + + The Candlestick chart data, each containing the low, open, close, and high values for a series. + + + + + The range data (vertical axis) for the close/final value for each candle. This is the top of the candle + body. If greater than the open value the candle will be filled. Otherwise the candle will be hollow. + + + + + The range data (vertical axis) for the high/maximum value for each candle. This is the top of the candle's + center line. + + + + + The range data (vertical axis) for the low/minimum value for each candle. This is the bottom of the candle's + center line. + + + + + The range data (vertical axis) for the open/initial value for each candle. This is the bottom of the candle + body. If less than the close value the candle will be filled. Otherwise the candle will be hollow. + + + + The ETag of the item. + + + The domain of a CandlestickChart. + + + The data of the CandlestickDomain. + + + True to reverse the order of the domain values (horizontal axis). + + + The ETag of the item. + + + The series of a CandlestickData. + + + The data of the CandlestickSeries. + + + The ETag of the item. + + + Data about a specific cell. + + + + 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)`. + + + + + A data source table anchored at this cell. The size of data source table itself is computed dynamically + based on its configuration. Only the first cell of the data source table contains the data source table + definition. The other cells will contain the display values of the data source table result in their + effective_value fields. + + + + + A data validation rule on the cell, if any. When writing, the new data validation rule will overwrite any + prior rule. + + + + + The effective format being used by the cell. This includes the results of applying any conditional + formatting and, if the cell contains a formula, the computed number format. If the effective format is the + default format, effective format will not be written. This field is read-only. + + + + + The effective value of the cell. For cells with formulas, this is the calculated value. For cells with + literals, this is the same as the user_entered_value. This field is read-only. + + + + + The formatted value of the cell. This is the value as it's shown to the user. This field is read-only. + + + + + 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. + + + + Any note on the cell. + + + + A pivot table anchored at this cell. The size of pivot table itself is computed dynamically based on its + data, grouping, filters, values, etc. Only the top-left cell of the pivot table contains the pivot table + definition. The other cells will contain the calculated values of the results of the pivot in their + effective_value fields. + + + + + Runs of rich text applied to subsections of the cell. Runs are only valid on user entered strings, not + formulas, bools, or numbers. Properties of a run start at a specific index in the text and continue until + the next run. Runs will inherit the properties of the cell unless explicitly changed. When writing, the new + runs will overwrite any prior runs. When writing a new user_entered_value, previous runs are erased. + + + + + The format the user entered for the cell. When writing, the new format will be merged with the existing + 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. + + + + The ETag of the item. + + + The format of a cell. + + + The background color of the cell. + + + + The background color of the cell. If background_color is also set, this field takes precedence. + + + + The borders of the cell. + + + The horizontal alignment of the value in the cell. + + + How a hyperlink, if it exists, should be displayed in the cell. + + + A format describing how number values should be represented to the user. + + + The padding of the cell. + + + The direction of the text in the cell. + + + The format of the text in the cell (unless overridden by a format run). + + + The rotation applied to text in a cell + + + The vertical alignment of the value in the cell. + + + The wrap strategy for the value in the cell. + + + The ETag of the item. + + + The options that define a "view window" for a chart (such as the visible values in an axis). + + + + The maximum numeric value to be shown in this view window. If unset, will automatically determine a maximum + value that looks good for the data. + + + + + The minimum numeric value to be shown in this view window. If unset, will automatically determine a minimum + value that looks good for the data. + + + + The view window's mode. + + + The ETag of the item. + + + Custom number formatting options for chart attributes. + + + Custom prefix to be prepended to the chart attribute. This field is optional. + + + Custom suffix to be appended to the chart attribute. This field is optional. + + + The ETag of the item. + + + The data included in a domain or series. + + + + The aggregation type for the series of a data source chart. Not supported for regular charts. + + + + The reference to the data source column that the data reads from. + + + + The rule to group the data by if the ChartData backs the domain of a data source chart. Not supported for + regular charts. + + + + The source ranges of the data. + + + The ETag of the item. + + + + Allows you to organize the date-time values in a source data column into buckets based on selected parts of + their date or time values. + + + + The type of date-time grouping to apply. + + + The ETag of the item. + + + + An optional setting on the ChartData of the domain of a data source chart that defines buckets for the values in + the domain rather than breaking out each individual value. For example, when plotting a data source chart, you + can specify a histogram rule on the domain (it should only contain numeric values), grouping its values into + buckets. Any values of a chart series that fall into the same bucket are aggregated based on the aggregate_type. + + + + A ChartDateTimeRule. + + + A ChartHistogramRule + + + The ETag of the item. + + + Allows you to organize numeric values in a source data column into buckets of constant size. + + + The size of the buckets that are created. Must be positive. + + + + The maximum value at which items are placed into buckets. Values greater than the maximum are grouped into a + single bucket. If omitted, it is determined by the maximum item value. + + + + + The minimum value at which items are placed into buckets. Values that are less than the minimum are grouped + into a single bucket. If omitted, it is determined by the minimum item value. + + + + The ETag of the item. + + + Source ranges for a chart. + + + + The ranges of data for a series or domain. Exactly one dimension must have a length of 1, and all sources in + the list must have the same dimension with length 1. The domain (if it exists) &amp; all series must + have the same number of source ranges. If using more than one source range, then the source range at a given + offset must be in order and contiguous across the domain and series. For example, these are valid + configurations: domain sources: A1:A5 series1 sources: B1:B5 series2 sources: D6:D10 domain sources: A1:A5, + C10:C12 series1 sources: B1:B5, D10:D12 series2 sources: C1:C5, E10:E12 + + + + The ETag of the item. + + + The specifications of a chart. + + + The alternative text that describes the chart. This is often used for accessibility. + + + The background color of the entire chart. Not applicable to Org charts. + + + + The background color of the entire chart. Not applicable to Org charts. If background_color is also set, + this field takes precedence. + + + + + A basic chart specification, can be one of many kinds of charts. See BasicChartType for the list of all + charts this supports. + + + + A bubble chart specification. + + + A candlestick chart specification. + + + If present, the field contains data source chart specific properties. + + + + The filters applied to the source data of the chart. Only supported for data source charts. + + + + + The name of the font to use by default for all chart text (e.g. title, axis labels, legend). If a font is + specified for a specific part of the chart it will override this font name. + + + + Determines how the charts will use hidden rows or columns. + + + A histogram chart specification. + + + + True to make a chart fill the entire space in which it's rendered with minimum padding. False to use the + default padding. (Not applicable to Geo and Org charts.) + + + + An org chart specification. + + + A pie chart specification. + + + A scorecard chart specification. + + + + The order to sort the chart data by. Only a single sort spec is supported. Only supported for data source + charts. + + + + The subtitle of the chart. + + + The subtitle text format. Strikethrough and underline are not supported. + + + The subtitle text position. This field is optional. + + + The title of the chart. + + + The title text format. Strikethrough and underline are not supported. + + + The title text position. This field is optional. + + + A treemap chart specification. + + + A waterfall chart specification. + + + The ETag of the item. + + + Clears the basic filter, if any exists on the sheet. + + + The sheet ID on which the basic filter should be cleared. + + + The ETag of the item. + + + The request for clearing a range of values in a spreadsheet. + + + The ETag of the item. + + + The response when clearing a range of values in a spreadsheet. + + + + The range (in A1 notation) that was cleared. (If the request was for an unbounded range or a ranger larger + than the bounds of the sheet, this will be the actual range that was cleared, bounded to the sheet's + limits.) + + + + The spreadsheet the updates were applied to. + + + The ETag of the item. + + + + Represents a color in the RGBA color space. This representation is designed for simplicity of conversion to/from + color representations in various languages over compactness; for example, the fields of this representation can + be trivially provided to the constructor of "java.awt.Color" in Java; it can also be trivially provided to + UIColor's "+colorWithRed:green:blue:alpha" method in iOS; and, with just a little work, it can be easily + formatted into a CSS "rgba()" string in JavaScript, as well. Note: this proto does not carry information about + the absolute color space that should be used to interpret the RGB value (e.g. sRGB, Adobe RGB, DCI-P3, BT.2020, + etc.). By default, applications SHOULD assume the sRGB color space. Note: when color equality needs to be + decided, implementations, unless documented otherwise, will treat two colors to be equal if all their red, + green, blue and alpha values each differ by at most 1e-5. Example (Java): import com.google.type.Color; // ... + public static java.awt.Color fromProto(Color protocolor) { float alpha = protocolor.hasAlpha() ? + protocolor.getAlpha().getValue() : 1.0; return new java.awt.Color( protocolor.getRed(), protocolor.getGreen(), + protocolor.getBlue(), alpha); } public static Color toProto(java.awt.Color color) { float red = (float) + color.getRed(); float green = (float) color.getGreen(); float blue = (float) color.getBlue(); float denominator + = 255.0; Color.Builder resultBuilder = Color .newBuilder() .setRed(red / denominator) .setGreen(green / + denominator) .setBlue(blue / denominator); int alpha = color.getAlpha(); if (alpha != 255) { result.setAlpha( + FloatValue .newBuilder() .setValue(((float) alpha) / denominator) .build()); } return resultBuilder.build(); } + // ... Example (iOS / Obj-C): // ... static UIColor* fromProto(Color* protocolor) { float red = [protocolor + red]; float green = [protocolor green]; float blue = [protocolor blue]; FloatValue* alpha_wrapper = [protocolor + alpha]; float alpha = 1.0; if (alpha_wrapper != nil) { alpha = [alpha_wrapper value]; } return [UIColor + colorWithRed:red green:green blue:blue alpha:alpha]; } static Color* toProto(UIColor* color) { CGFloat red, + green, blue, alpha; if (![color getRed:&amp;red green:&amp;green blue:&amp;blue + alpha:&amp;alpha]) { return nil; } Color* result = [[Color alloc] init]; [result setRed:red]; [result + setGreen:green]; [result setBlue:blue]; if (alpha &lt;= 0.9999) { [result + setAlpha:floatWrapperWithValue(alpha)]; } [result autorelease]; return result; } // ... Example (JavaScript): // + ... var protoToCssColor = function(rgb_color) { var redFrac = rgb_color.red || 0.0; var greenFrac = + rgb_color.green || 0.0; var blueFrac = rgb_color.blue || 0.0; var red = Math.floor(redFrac * 255); var green = + Math.floor(greenFrac * 255); var blue = Math.floor(blueFrac * 255); if (!('alpha' in rgb_color)) { return + rgbToCssColor_(red, green, blue); } var alphaFrac = rgb_color.alpha.value || 0.0; var rgbParams = [red, green, + blue].join(','); return ['rgba(', rgbParams, ',', alphaFrac, ')'].join(''); }; var rgbToCssColor_ = + function(red, green, blue) { var rgbNumber = new Number((red &lt;&lt; 16) | (green &lt;&lt; 8) | + blue); var hexString = rgbNumber.toString(16); var missingZeros = 6 - hexString.length; var resultBuilder = + ['#']; for (var i = 0; i &lt; missingZeros; i++) { resultBuilder.push('0'); } resultBuilder.push(hexString); + return resultBuilder.join(''); }; // ... + + + + + 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 to be rendered as a + solid color (as if the alpha value had been explicitly given with a value of 1.0). + + + + The amount of blue in the color as a value in the interval [0, 1]. + + + The amount of green in the color as a value in the interval [0, 1]. + + + The amount of red in the color as a value in the interval [0, 1]. + + + The ETag of the item. + + + A color value. + + + RGB color. + + + Theme color. + + + The ETag of the item. + + + The value of the condition. + + + + A relative date (based on the current date). Valid only if the type is DATE_BEFORE, DATE_AFTER, + DATE_ON_OR_BEFORE or DATE_ON_OR_AFTER. Relative dates are not supported in data validation. They are + supported only in conditional formatting and conditional filters. + + + + + 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 '+'). + + + + The ETag of the item. + + + A rule describing a conditional format. + + + The formatting is either "on" or "off" according to the rule. + + + The formatting will vary based on the gradients in the rule. + + + + The ranges that are formatted if the condition is true. All the ranges must be on the same grid. + + + + The ETag of the item. + + + Copies data from the source to the destination. + + + + The location to paste to. If the range covers a span that's a multiple of the source's height or width, then + the data will be repeated to fill in the destination range. If the range is smaller than the source range, + the entire source data will still be copied (beyond the end of the destination range). + + + + How that data should be oriented when pasting. + + + What kind of data to paste. + + + The source range to copy. + + + The ETag of the item. + + + The request to copy a sheet across spreadsheets. + + + The ID of the spreadsheet to copy the sheet to. + + + The ETag of the item. + + + A request to create developer metadata. + + + The developer metadata to create. + + + The ETag of the item. + + + The response from creating developer metadata. + + + The developer metadata that was created. + + + The ETag of the item. + + + Moves data from the source to the destination. + + + The top-left coordinate where the data should be pasted. + + + + What kind of data to paste. All the source data will be cut, regardless of what is pasted. + + + + The source data to cut. + + + The ETag of the item. + + + + The data execution status. A data execution is created to sync a data source object with the latest data from a + DataSource. It is usually scheduled to run at background, you can check its state to tell if an execution + completes There are several scenarios where a data execution is triggered to run: * Adding a data source creates + an associated data source sheet as well as a data execution to sync the data from the data source to the sheet. + * Updating a data source creates a data execution to refresh the associated data source sheet similarly. * You + can send refresh request to explicitly refresh one or multiple data source objects. + + + + The error code. + + + The error message, which may be empty. + + + Gets the time the data last successfully refreshed. + + + The state of the data execution. + + + The ETag of the item. + + + Filter that describes what data should be selected or returned from a request. + + + Selects data that matches the specified A1 range. + + + + Selects data associated with the developer metadata matching the criteria described by this + DeveloperMetadataLookup. + + + + Selects data that matches the range described by the GridRange. + + + The ETag of the item. + + + A range of values whose location is specified by a DataFilter. + + + The data filter describing the location of the values in the spreadsheet. + + + The major dimension of the values. + + + + The data to be written. If the provided values exceed any of the ranges matched by the data filter then the + request fails. If the provided values are less than the matched ranges only the specified values are + written, existing values in the matched ranges remain unaffected. + + + + The ETag of the item. + + + + Settings for one set of data labels. Data labels are annotations that appear next to a set of data, such as the + points on a line chart, and provide additional information about what the data represents, such as a text + representation of the value behind that point on the graph. + + + + + Data to use for custom labels. Only used if type is set to CUSTOM. This data must be the same length as the + series or other element this data label is applied to. In addition, if the series is split into multiple + source ranges, this source data must come from the next column in the source data. For example, if the + series is B2:B4,E6:E8 then this data must come from C2:C4,F6:F8. + + + + The placement of the data label relative to the labeled data. + + + The text format used for the data label. + + + The type of the data label. + + + The ETag of the item. + + + Information about an external data source in the spreadsheet. + + + All calculated columns in the data source. + + + The spreadsheet-scoped unique ID that identifies the data source. Example: 1080547365. + + + + The ID of the Sheet connected with the data source. The field cannot be changed once set. When creating a + data source, an associated DATA_SOURCE sheet is also created, if the field is not specified, the ID of the + created sheet will be randomly generated. + + + + The DataSourceSpec for the data source connected with this spreadsheet. + + + The ETag of the item. + + + Properties of a data source chart. + + + Output only. The data execution status. + + + ID of the data source that the chart is associated with. + + + The ETag of the item. + + + A column in a data source. + + + The formula of the calculated column. + + + The column reference. + + + The ETag of the item. + + + An unique identifier that references a data source column. + + + The display name of the column. It should be unique within a data source. + + + The ETag of the item. + + + A data source formula. + + + Output only. The data execution status. + + + The ID of the data source the formula is associated with. + + + The ETag of the item. + + + Reference to a data source object. + + + References to a data source chart. + + + References to a cell containing DataSourceFormula. + + + References to a data source PivotTable anchored at the cell. + + + References to a DataSourceTable anchored at the cell. + + + References to a DATA_SOURCE sheet. + + + The ETag of the item. + + + A list of references to data source objects. + + + The references. + + + The ETag of the item. + + + + A parameter in a data source's query. The parameter allows the user to pass in values from the spreadsheet into + a query. + + + + + Named parameter. Must be a legitimate identifier for the DataSource that supports it. For example, [BigQuery + identifier](https://cloud.google.com/bigquery/docs/reference/standard-sql/lexical#identifiers). + + + + ID of a NamedRange. Its size must be 1x1. + + + A range that contains the value of the parameter. Its size must be 1x1. + + + The ETag of the item. + + + A schedule for data to refresh every day in a given time interval. + + + + 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 ETag of the item. + + + + A monthly schedule for data to refresh on specific days in the month in a given time interval. + + + + + 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. + + + + + 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 ETag of the item. + + + + Schedule for refreshing the data source. Data sources in the spreadsheet are refreshed within a time interval. + You can specify the start time by clicking the Scheduled Refresh button in the Sheets editor, but the interval + is fixed at 4 hours. For example, if you specify a start time of 8am , the refresh will take place between 8am + and 12pm every day. + + + + Daily refresh schedule. + + + True if the refresh schedule is enabled, or false otherwise. + + + Monthly refresh schedule. + + + Output only. The time interval of the next run. + + + The scope of the refresh. Must be ALL_DATA_SOURCES. + + + Weekly refresh schedule. + + + The ETag of the item. + + + A weekly schedule for data to refresh on specific days in a given time interval. + + + Days of the week to refresh. At least one day must be specified. + + + + 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 ETag of the item. + + + A range along a single dimension on a DATA_SOURCE sheet. + + + The columns on the data source sheet. + + + The ID of the data source sheet the range is on. + + + The ETag of the item. + + + Additional properties of a DATA_SOURCE sheet. + + + The columns displayed on the sheet, corresponding to the values in RowData. + + + The data execution status. + + + ID of the DataSource the sheet is connected to. + + + The ETag of the item. + + + + This specifies the details of the data source. For example, for BigQuery, this specifies information about the + BigQuery source. + + + + A BigQueryDataSourceSpec. + + + The parameters of the data source, used when querying the data source. + + + The ETag of the item. + + + + A data source table, which allows the user to import a static table of data from the DataSource into Sheets. + This is also known as "Extract" in the Sheets editor. + + + + The type to select columns for the data source table. Defaults to SELECTED. + + + Columns selected for the data source table. The column_selection_type must be SELECTED. + + + Output only. The data execution status. + + + The ID of the data source the data source table is associated with. + + + Filter specifications in the data source table. + + + + The limit of rows to return. If not set, a default limit is applied. Please refer to the Sheets editor for + the default and max limit. + + + + + Sort specifications in the data source table. The result of the data source table is sorted based on the + sort specifications in order. + + + + The ETag of the item. + + + A data validation rule. + + + The condition that data in the cell must match. + + + A message to show the user when adding data to the cell. + + + + True if the UI should be customized based on the kind of condition. If true, "List" conditions will show a + dropdown. + + + + True if invalid data should be rejected. + + + The ETag of the item. + + + + Allows you to organize the date-time values in a source data column into buckets based on selected parts of + their date or time values. For example, consider a pivot table showing sales transactions by date: + +----------+--------------+ | Date | SUM of Sales | +----------+--------------+ | 1/1/2017 | $621.14 | | + 2/3/2017 | $708.84 | | 5/8/2017 | $326.84 | ... +----------+--------------+ Applying a date-time group rule with + a DateTimeRuleType of YEAR_MONTH results in the following pivot table. +--------------+--------------+ | Grouped + Date | SUM of Sales | +--------------+--------------+ | 2017-Jan | $53,731.78 | | 2017-Feb | $83,475.32 | | + 2017-Mar | $94,385.05 | ... +--------------+--------------+ + + + + The type of date-time grouping to apply. + + + The ETag of the item. + + + Removes the banded range with the given ID from the spreadsheet. + + + The ID of the banded range to delete. + + + The ETag of the item. + + + + Deletes a conditional format rule at the given index. All subsequent rules' indexes are decremented. + + + + The zero-based index of the rule to be deleted. + + + The sheet the rule is being deleted from. + + + The ETag of the item. + + + The result of deleting a conditional format rule. + + + The rule that was deleted. + + + The ETag of the item. + + + + Deletes a data source. The request also deletes the associated data source sheet, and unlinks all associated + data source objects. + + + + The ID of the data source to delete. + + + The ETag of the item. + + + A request to delete developer metadata. + + + + The data filter describing the criteria used to select which developer metadata entry to delete. + + + + The ETag of the item. + + + The response from deleting developer metadata. + + + The metadata that was deleted. + + + The ETag of the item. + + + + Deletes a group over the specified range by decrementing the depth of the dimensions in the range. For example, + assume the sheet has a depth-1 group over B:E and a depth-2 group over C:D. Deleting a group over D:E leaves the + sheet with a depth-1 group over B:D and a depth-2 group over C:C. + + + + The range of the group to be deleted. + + + The ETag of the item. + + + The result of deleting a group. + + + All groups of a dimension after deleting a group from that dimension. + + + The ETag of the item. + + + Deletes the dimensions from the sheet. + + + The dimensions to delete from the sheet. + + + The ETag of the item. + + + + Removes rows within this range that contain values in the specified columns that are duplicates of values in any + previous row. Rows with identical values but different letter cases, formatting, or formulas are considered to + be duplicates. This request also removes duplicate rows hidden from view (for example, due to a filter). When + removing duplicates, the first instance of each duplicate row scanning from the top downwards is kept in the + resulting range. Content outside of the specified range isn't removed, and rows considered duplicates do not + have to be adjacent to each other in the range. + + + + + The columns in the range to analyze for duplicate values. If no columns are selected then all columns are + analyzed for duplicates. + + + + The range to remove duplicates rows from. + + + The ETag of the item. + + + The result of removing duplicates in a range. + + + The number of duplicate rows removed. + + + The ETag of the item. + + + Deletes the embedded object with the given ID. + + + The ID of the embedded object to delete. + + + The ETag of the item. + + + Deletes a particular filter view. + + + The ID of the filter to delete. + + + The ETag of the item. + + + Removes the named range with the given ID from the spreadsheet. + + + The ID of the named range to delete. + + + The ETag of the item. + + + Deletes the protected range with the given ID. + + + The ID of the protected range to delete. + + + The ETag of the item. + + + Deletes a range of cells, shifting other cells into the deleted area. + + + The range of cells to delete. + + + + The dimension from which deleted cells will be replaced with. If ROWS, existing cells will be shifted upward + to replace the deleted cells. If COLUMNS, existing cells will be shifted left to replace the deleted cells. + + + + The ETag of the item. + + + Deletes the requested sheet. + + + + The ID of the sheet to delete. If the sheet is of SheetType.DATA_SOURCE type, the associated DataSource is + also deleted. + + + + The ETag of the item. + + + + Developer metadata associated with a location or object in a spreadsheet. Developer metadata may be used to + associate arbitrary data with various parts of a spreadsheet and will remain associated at those locations as + they move around and the spreadsheet is edited. For example, if developer metadata is associated with row 5 and + another row is then subsequently inserted above row 5, that original metadata will still be associated with the + row it was first associated with (what is now row 6). If the associated object is deleted its metadata is + deleted too. + + + + The location where the metadata is associated. + + + + The spreadsheet-scoped unique ID that identifies the metadata. IDs may be specified when metadata is + created, otherwise one will be randomly generated and assigned. Must be positive. + + + + + The metadata key. There may be multiple metadata in a spreadsheet with the same key. Developer metadata must + always have a key specified. + + + + Data associated with the metadata's key. + + + The metadata visibility. Developer metadata must always have a visibility specified. + + + The ETag of the item. + + + A location where metadata may be associated in a spreadsheet. + + + + Represents the row or column when metadata is associated with a dimension. The specified DimensionRange must + represent a single row or column; it cannot be unbounded or span multiple rows or columns. + + + + The type of location this object represents. This field is read-only. + + + The ID of the sheet when metadata is associated with an entire sheet. + + + True when metadata is associated with an entire spreadsheet. + + + The ETag of the item. + + + + Selects DeveloperMetadata that matches all of the specified fields. For example, if only a metadata ID is + specified this considers the DeveloperMetadata with that particular unique ID. If a metadata key is specified, + this considers all developer metadata with that key. If a key, visibility, and location type are all specified, + this considers all developer metadata with that key and visibility that are associated with a location of that + type. In general, this selects all DeveloperMetadata that matches the intersection of all the specified fields; + any field or combination of fields may be specified. + + + + + Determines how this lookup matches the location. If this field is specified as EXACT, only developer + metadata associated on the exact location specified is matched. If this field is specified to INTERSECTING, + developer metadata associated on intersecting locations is also matched. If left unspecified, this field + assumes a default value of INTERSECTING. If this field is specified, a metadataLocation must also be + specified. + + + + + Limits the selected developer metadata to those entries which are associated with locations of the specified + type. For example, when this field is specified as ROW this lookup only considers developer metadata + associated on rows. If the field is left unspecified, all location types are considered. This field cannot + be specified as SPREADSHEET when the locationMatchingStrategy is specified as INTERSECTING or when the + metadataLocation is specified as a non-spreadsheet location: spreadsheet metadata cannot intersect any other + developer metadata location. This field also must be left unspecified when the locationMatchingStrategy is + specified as EXACT. + + + + + Limits the selected developer metadata to that which has a matching DeveloperMetadata.metadata_id. + + + + + Limits the selected developer metadata to that which has a matching DeveloperMetadata.metadata_key. + + + + + Limits the selected developer metadata to those entries associated with the specified location. This field + either matches exact locations or all intersecting locations according the specified + locationMatchingStrategy. + + + + + Limits the selected developer metadata to that which has a matching DeveloperMetadata.metadata_value. + + + + + Limits the selected developer metadata to that which has a matching DeveloperMetadata.visibility. If left + unspecified, all developer metadata visibile to the requesting project is considered. + + + + The ETag of the item. + + + + A group over an interval of rows or columns on a sheet, which can contain or be contained within other groups. A + group can be collapsed or expanded as a unit on the sheet. + + + + + This field is true if this group is collapsed. A collapsed group remains collapsed if an overlapping group + at a shallower depth is expanded. A true value does not imply that all dimensions within the group are + hidden, since a dimension's visibility can change independently from this group property. However, when this + property is updated, all dimensions within it are set to hidden if this field is true, or set to visible if + this field is false. + + + + + The depth of the group, representing how many groups have a range that wholly contains the range of this + group. + + + + The range over which this group exists. + + + The ETag of the item. + + + Properties about a dimension. + + + Output only. If set, this is a column in a data source sheet. + + + The developer metadata associated with a single row or column. + + + True if this dimension is being filtered. This field is read-only. + + + True if this dimension is explicitly hidden. + + + The height (if a row) or width (if a column) of the dimension in pixels. + + + The ETag of the item. + + + + A range along a single dimension on a sheet. All indexes are zero-based. Indexes are half open: the start index + is inclusive and the end index is exclusive. Missing indexes indicate the range is unbounded on that side. + + + + The dimension of the span. + + + The end (exclusive) of the span, or not set if unbounded. + + + The sheet this span is on. + + + The start (inclusive) of the span, or not set if unbounded. + + + The ETag of the item. + + + Duplicates a particular filter view. + + + The ID of the filter being duplicated. + + + The ETag of the item. + + + The result of a filter view being duplicated. + + + The newly created filter. + + + The ETag of the item. + + + Duplicates the contents of a sheet. + + + + The zero-based index where the new sheet should be inserted. The index of all sheets after this are + incremented. + + + + + If set, the ID of the new sheet. If not set, an ID is chosen. If set, the ID must not conflict with any + existing sheet ID. If set, it must be non-negative. + + + + The name of the new sheet. If empty, a new name is chosen for you. + + + + The sheet to duplicate. If the source sheet is of DATA_SOURCE type, its backing DataSource is also + duplicated and associated with the new copy of the sheet. No data execution is triggered, the grid data of + this sheet is also copied over but only available after the batch request completes. + + + + The ETag of the item. + + + The result of duplicating a sheet. + + + The properties of the duplicate sheet. + + + The ETag of the item. + + + The editors of a protected range. + + + + True if anyone in the document's domain has edit access to the protected range. Domain protection is only + supported on documents within a domain. + + + + The email addresses of groups with edit access to the protected range. + + + The email addresses of users with edit access to the protected range. + + + The ETag of the item. + + + A chart embedded in a sheet. + + + The border of the chart. + + + The ID of the chart. + + + The position of the chart. + + + The specification of the chart. + + + The ETag of the item. + + + A border along an embedded object. + + + The color of the border. + + + The color of the border. If color is also set, this field takes precedence. + + + The ETag of the item. + + + The position of an embedded object such as a chart. + + + + If true, the embedded object is put on a new sheet whose ID is chosen for you. Used only when writing. + + + + The position at which the object is overlaid on top of a grid. + + + + The sheet this is on. Set only if the embedded object is on its own sheet. Must be non-negative. + + + + The ETag of the item. + + + An error in a cell. + + + A message with more information about the error (in the spreadsheet's locale). + + + The type of error. + + + The ETag of the item. + + + The kinds of value that a cell in a spreadsheet can have. + + + Represents a boolean value. + + + Represents an error. This field is read-only. + + + Represents a formula. + + + + Represents a double value. Note: Dates, Times and DateTimes are represented as doubles in "serial number" + format. + + + + + 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"`. + + + + The ETag of the item. + + + Criteria for showing/hiding rows in a filter or filter view. + + + + A condition that must be true for values to be shown. (This does not override hidden_values -- if a value is + listed there, it will still be hidden.) + + + + Values that should be hidden. + + + + The background fill color to filter by; only cells with this fill color are shown. Mutually exclusive with + visible_foreground_color. + + + + + The background fill color to filter by; only cells with this fill color are shown. This field is mutually + exclusive with visible_foreground_color, and must be set to an RGB-type color. If visible_background_color + is also set, this field takes precedence. + + + + + The foreground color to filter by; only cells with this foreground color are shown. Mutually exclusive with + visible_background_color. + + + + + The foreground color to filter by; only cells with this foreground color are shown. This field is mutually + exclusive with visible_background_color, and must be set to an RGB-type color. If visible_foreground_color + is also set, this field takes precedence. + + + + The ETag of the item. + + + The filter criteria associated with a specific column. + + + The column index. + + + Reference to a data source column. + + + The criteria for the column. + + + The ETag of the item. + + + A filter view. + + + + The criteria for showing/hiding values per column. The map's key is the column index, and the value is the + criteria for that column. This field is deprecated in favor of filter_specs. + + + + + The filter criteria for showing/hiding values per column. Both criteria and filter_specs are populated in + responses. If both fields are specified in an update request, this field takes precedence. + + + + The ID of the filter view. + + + + The named range this filter view is backed by, if any. When writing, only one of range or named_range_id may + be set. + + + + + The range this filter view covers. When writing, only one of range or named_range_id may be set. + + + + + The sort order per column. Later specifications are used when values are equal in the earlier + specifications. + + + + The name of the filter view. + + + The ETag of the item. + + + Finds and replaces data in cells over a range, sheet, or all sheets. + + + True to find/replace over all sheets. + + + The value to search. + + + True if the search should include cells with formulas. False to skip cells with formulas. + + + True if the search is case sensitive. + + + True if the find value should match the entire cell. + + + The range to find/replace over. + + + The value to use as the replacement. + + + + 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 sheet to find/replace over. + + + The ETag of the item. + + + The result of the find/replace. + + + The number of formula cells changed. + + + + 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"` -&gt; `"Googlo Shoots"`. + + + + The number of rows changed. + + + The number of sheets changed. + + + The number of non-formula cells changed. + + + The ETag of the item. + + + The request for retrieving a Spreadsheet. + + + The DataFilters used to select which ranges to retrieve from the spreadsheet. + + + + True if grid data should be returned. This parameter is ignored if a field mask was set in the request. + + + + The ETag of the item. + + + + A rule that applies a gradient color scale format, based on the interpolation points listed. The format of a + cell will vary based on its contents as compared to the values of the interpolation points. + + + + The final interpolation point. + + + An optional midway interpolation point. + + + The starting interpolation point. + + + The ETag of the item. + + + A coordinate in a sheet. All indexes are zero-based. + + + The column index of the coordinate. + + + The row index of the coordinate. + + + The sheet this coordinate is on. + + + The ETag of the item. + + + Data in the grid, as well as metadata about the dimensions. + + + + Metadata about the requested columns in the grid, starting with the column in start_column. + + + + + The data in the grid, one entry per row, starting with the row in startRow. The values in RowData will + correspond to columns starting at start_column. + + + + Metadata about the requested rows in the grid, starting with the row in start_row. + + + The first column this GridData refers to, zero-based. + + + The first row this GridData refers to, zero-based. + + + The ETag of the item. + + + Properties of a grid. + + + The number of columns in the grid. + + + True if the column grouping control toggle is shown after the group. + + + The number of columns that are frozen in the grid. + + + The number of rows that are frozen in the grid. + + + True if the grid isn't showing gridlines in the UI. + + + The number of rows in the grid. + + + True if the row grouping control toggle is shown after the group. + + + The ETag of the item. + + + + A range on a sheet. All indexes are zero-based. Indexes are half open, i.e. the start index is inclusive and the + end index is exclusive -- [start_index, end_index). Missing indexes indicate the range is unbounded on that + side. For example, if `"Sheet1"` is sheet ID 0, then: `Sheet1!A1:A1 == sheet_id: 0, start_row_index: 0, + end_row_index: 1, start_column_index: 0, end_column_index: 1` `Sheet1!A3:B4 == sheet_id: 0, start_row_index: 2, + end_row_index: 4, start_column_index: 0, end_column_index: 2` `Sheet1!A:B == sheet_id: 0, start_column_index: 0, + end_column_index: 2` `Sheet1!A5:B == sheet_id: 0, start_row_index: 4, start_column_index: 0, end_column_index: + 2` `Sheet1 == sheet_id:0` The start index must always be less than or equal to the end index. If the start index + equals the end index, then the range is empty. Empty ranges are typically not meaningful and are usually + rendered in the UI as `#REF!`. + + + + The end column (exclusive) of the range, or not set if unbounded. + + + The end row (exclusive) of the range, or not set if unbounded. + + + The sheet this range is on. + + + The start column (inclusive) of the range, or not set if unbounded. + + + The start row (inclusive) of the range, or not set if unbounded. + + + The ETag of the item. + + + + A histogram chart. A histogram chart groups data items into bins, displaying each bin as a column of stacked + items. Histograms are used to display the distribution of a dataset. Each column of items represents a range + into which those items fall. The number of bins can be chosen automatically or specified explicitly. + + + + + By default the bucket size (the range of values stacked in a single column) is chosen automatically, but it + may be overridden here. E.g., A bucket size of 1.5 results in buckets from 0 - 1.5, 1.5 - 3.0, etc. Cannot + be negative. This field is optional. + + + + The position of the chart legend. + + + + The outlier percentile is used to ensure that outliers do not adversely affect the calculation of bucket + sizes. For example, setting an outlier percentile of 0.05 indicates that the top and bottom 5% of values + when calculating buckets. The values are still included in the chart, they will be added to the first or + last buckets instead of their own buckets. Must be between 0.0 and 0.5. + + + + + The series for a histogram may be either a single series of values to be bucketed or multiple series, each + of the same length, containing the name of the series followed by the values to be bucketed for that series. + + + + Whether horizontal divider lines should be displayed between items in each column. + + + The ETag of the item. + + + + Allows you to organize the numeric values in a source data column into buckets of a constant size. All values + from HistogramRule.start to HistogramRule.end are placed into groups of size HistogramRule.interval. In + addition, all values below HistogramRule.start are placed in one group, and all values above HistogramRule.end + are placed in another. Only HistogramRule.interval is required, though if HistogramRule.start and + HistogramRule.end are both provided, HistogramRule.start must be less than HistogramRule.end. For example, a + pivot table showing average purchase amount by age that has 50+ rows: +-----+-------------------+ | Age | + AVERAGE of Amount | +-----+-------------------+ | 16 | $27.13 | | 17 | $5.24 | | 18 | $20.15 | ... + +-----+-------------------+ could be turned into a pivot table that looks like the one below by applying a + histogram group rule with a HistogramRule.start of 25, an HistogramRule.interval of 20, and an HistogramRule.end + of 65. +-------------+-------------------+ | Grouped Age | AVERAGE of Amount | + +-------------+-------------------+ | &lt; 25 | $19.34 | | 25-45 | $31.43 | | 45-65 | $35.87 | | &gt; 65 + | $27.55 | +-------------+-------------------+ | Grand Total | $29.12 | +-------------+-------------------+ + + + + + The maximum value at which items are placed into buckets of constant size. Values above end are lumped into + a single bucket. This field is optional. + + + + The size of the buckets that are created. Must be positive. + + + + The minimum value at which items are placed into buckets of constant size. Values below start are lumped + into a single bucket. This field is optional. + + + + The ETag of the item. + + + A histogram series containing the series color and data. + + + The color of the column representing this series in each bucket. This field is optional. + + + + The color of the column representing this series in each bucket. This field is optional. If bar_color is + also set, this field takes precedence. + + + + The data for this histogram series. + + + The ETag of the item. + + + Inserts rows or columns in a sheet at a particular index. + + + + 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). + + + + The dimensions to insert. Both the start and end indexes must be bounded. + + + The ETag of the item. + + + Inserts cells into a range, shifting the existing cells over or down. + + + The range to insert new cells into. + + + + The dimension which will be shifted when inserting cells. If ROWS, existing cells will be shifted down. If + COLUMNS, existing cells will be shifted right. + + + + The ETag of the item. + + + + A single interpolation point on a gradient conditional format. These pin the gradient color scale according to + the color, type and value chosen. + + + + The color this interpolation point should use. + + + + The color this interpolation point should use. If color is also set, this field takes precedence. + + + + How the value should be interpreted. + + + The value this interpolation point uses. May be a formula. Unused if type is MIN or MAX. + + + The ETag of the item. + + + + Represents a time interval, encoded as a Timestamp start (inclusive) and a Timestamp end (exclusive). The start + must be less than or equal to the end. When the start equals the end, the interval is empty (matches no time). + When both start and end are unspecified, the interval matches any time. + + + + + Optional. Exclusive end of the interval. If specified, a Timestamp matching this interval will have to be + before the end. + + + + + Optional. Inclusive start of the interval. If specified, a Timestamp matching this interval will have to be + the same or after the start. + + + + The ETag of the item. + + + Settings to control how circular dependencies are resolved with iterative calculation. + + + + When iterative calculation is enabled and successive results differ by less than this threshold value, the + calculation rounds stop. + + + + + When iterative calculation is enabled, the maximum number of calculation rounds to perform. + + + + The ETag of the item. + + + Formatting options for key value. + + + + Specifies the horizontal text positioning of key value. This field is optional. If not specified, default + positioning is used. + + + + Text formatting options for key value. + + + The ETag of the item. + + + Properties that describe the style of a line. + + + The dash type of the line. + + + The thickness of the line, in px. + + + The ETag of the item. + + + + Allows you to manually organize the values in a source data column into buckets with names of your choosing. For + example, a pivot table that aggregates population by state: +-------+-------------------+ | State | SUM of + Population | +-------+-------------------+ | AK | 0.7 | | AL | 4.8 | | AR | 2.9 | ... + +-------+-------------------+ could be turned into a pivot table that aggregates population by time zone by + providing a list of groups (for example, groupName = 'Central', items = ['AL', 'AR', 'IA', ...]) to a manual + group rule. Note that a similar effect could be achieved by adding a time zone column to the source data and + adjusting the pivot table. +-----------+-------------------+ | Time Zone | SUM of Population | + +-----------+-------------------+ | Central | 106.3 | | Eastern | 151.9 | | Mountain | 17.4 | ... + +-----------+-------------------+ + + + + + The list of group names and the corresponding items from the source data that map to each group name. + + + + The ETag of the item. + + + + A group name and a list of items from the source data that should be placed in the group with this name. + + + + + The group name, which must be a string. Each group in a given ManualRule must have a unique group name. + + + + + The items in the source data that should be placed into this group. Each item may be a string, number, or + boolean. Items may appear in at most one group within a given ManualRule. Items that do not appear in any + group will appear on their own. + + + + The ETag of the item. + + + + A developer metadata entry and the data filters specified in the original request that matched it. + + + + All filters matching the returned developer metadata. + + + The developer metadata matching the specified filters. + + + The ETag of the item. + + + A value range that was matched by one or more data filers. + + + The DataFilters from the request that matched the range of values. + + + The values matched by the DataFilter. + + + The ETag of the item. + + + Merges all cells in the range. + + + How the cells should be merged. + + + The range of cells to merge. + + + The ETag of the item. + + + Moves one or more rows or columns. + + + + 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`. + + + + The source dimensions to move. + + + The ETag of the item. + + + A named range. + + + The name of the named range. + + + The ID of the named range. + + + The range this represents. + + + The ETag of the item. + + + The number format of a cell. + + + + Pattern string used for formatting. If not set, a default pattern based on the user's locale will be used if + necessary for the given type. See the [Date and Number Formats guide](/sheets/api/guides/formats) for more + information about the supported patterns. + + + + The type of the number format. When writing, this field must be set. + + + The ETag of the item. + + + + An org chart. Org charts require a unique set of labels in labels and may optionally include parent_labels and + tooltips. parent_labels contain, for each node, the label identifying the parent node. tooltips contain, for + each node, an optional tooltip. For example, to describe an OrgChart with Alice as the CEO, Bob as the President + (reporting to Alice) and Cathy as VP of Sales (also reporting to Alice), have labels contain "Alice", "Bob", + "Cathy", parent_labels contain "", "Alice", "Alice" and tooltips contain "CEO", "President", "VP Sales". + + + + The data containing the labels for all the nodes in the chart. Labels must be unique. + + + The color of the org chart nodes. + + + The color of the org chart nodes. If node_color is also set, this field takes precedence. + + + The size of the org chart nodes. + + + + The data containing the label of the parent for the corresponding node. A blank value indicates that the + node has no parent and is a top-level node. This field is optional. + + + + The color of the selected org chart nodes. + + + + The color of the selected org chart nodes. If selected_node_color is also set, this field takes precedence. + + + + + The data containing the tooltip for the corresponding node. A blank value results in no tooltip being + displayed for the node. This field is optional. + + + + The ETag of the item. + + + The location an object is overlaid on top of a grid. + + + The cell the object is anchored to. + + + The height of the object, in pixels. Defaults to 371. + + + The horizontal offset, in pixels, that the object is offset from the anchor cell. + + + The vertical offset, in pixels, that the object is offset from the anchor cell. + + + The width of the object, in pixels. Defaults to 600. + + + The ETag of the item. + + + + The amount of padding around the cell, in pixels. When updating padding, every field must be specified. + + + + The bottom padding of the cell. + + + The left padding of the cell. + + + The right padding of the cell. + + + The top padding of the cell. + + + The ETag of the item. + + + Inserts data into the spreadsheet starting at the specified coordinate. + + + The coordinate at which the data should start being inserted. + + + The data to insert. + + + The delimiter in the data. + + + True if the data is HTML. + + + How the data should be pasted. + + + The ETag of the item. + + + A pie chart. + + + The data that covers the domain of the pie chart. + + + Where the legend of the pie chart should be drawn. + + + The size of the hole in the pie chart. + + + The data that covers the one and only series of the pie chart. + + + True if the pie is three dimensional. + + + The ETag of the item. + + + Criteria for showing/hiding rows in a pivot table. + + + + 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" &gt; + "Cost" are included. + + + + + Whether values are visible by default. If true, the visible_values are ignored, all values that meet + condition (if specified) are shown. If false, values that are both in visible_values and meet condition are + shown. + + + + Values that should be included. Values not listed here are excluded. + + + The ETag of the item. + + + The pivot table filter criteria associated with a specific source column offset. + + + The column offset of the source range. + + + The reference to the data source column. + + + The criteria for the column. + + + The ETag of the item. + + + A single grouping (either row or column) in a pivot table. + + + The reference to the data source column this grouping is based on. + + + The count limit on rows or columns to apply to this pivot group. + + + The group rule to apply to this row/column group. + + + + 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 | + +--------------+---------+-------+ + + + + + 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 repitition 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 + | +--------------+ + + + + True if the pivot table should include the totals for this grouping. + + + The order the values in this group should be sorted. + + + + 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 bucket of the opposite pivot group to sort by. If not specified, sorting is alphabetical by this group's + values. + + + + Metadata about values in the grouping. + + + The ETag of the item. + + + The count limit on rows or columns in the pivot group. + + + + The order in which the group limit is applied to the pivot table. Pivot group limits are applied from lower + to higher order number. Order numbers are normalized to consecutive integers from 0. For write request, to + fully customize the applying orders, all pivot group limits should have this field set with an unique + number. Otherwise, the order is determined by the index in the PivotTable.rows list and then the + PivotTable.columns list. + + + + The count limit. + + + The ETag of the item. + + + + An optional setting on a PivotGroup that defines buckets for the values in the source data column rather than + breaking out each individual value. Only one PivotGroup with a group rule may be added for each column in the + source data, though on any given column you may add both a PivotGroup that has a rule and a PivotGroup that does + not. + + + + A DateTimeRule. + + + A HistogramRule. + + + A ManualRule. + + + The ETag of the item. + + + Information about which values in a pivot group should be used for sorting. + + + + Determines the bucket from which values are chosen to sort. For example, in a pivot table with one row group + &amp; 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 offset in the PivotTable.values list which the values in this grouping should be sorted by. + + + + The ETag of the item. + + + Metadata about a value in a pivot grouping. + + + True if the data corresponding to the value is collapsed. + + + + The calculated value the metadata corresponds to. (Note that formulaValue is not valid, because the values + will be calculated.) + + + + The ETag of the item. + + + A pivot table. + + + Each column grouping in the pivot table. + + + + 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. + + + + Output only. The data execution status for data source pivot tables. + + + The ID of the data source the pivot table is reading data from. + + + + The filters applied to the source columns before aggregating data for the pivot table. Both criteria and + filter_specs are populated in responses. If both fields are specified in an update request, this field takes + precedence. + + + + Each row grouping in the pivot table. + + + The range the pivot table is reading data from. + + + Whether values should be listed horizontally (as columns) or vertically (as rows). + + + A list of values to include in the pivot table. + + + The ETag of the item. + + + The definition of how a value in a pivot table should be calculated. + + + + 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 pivot table. + + + + The reference to the data source column that this value reads from. + + + A custom formula to calculate the value. The formula must start with an `=` character. + + + A name to use for the value. + + + + 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`. + + + + + 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. + + + + The ETag of the item. + + + The style of a point on the chart. + + + The point shape. If empty or unspecified, a default shape is used. + + + The point size. If empty, a default size is used. + + + The ETag of the item. + + + A protected range. + + + The description of this protected range. + + + + The users and groups with edit access to the protected range. This field is only visible to users with edit + access to the protected range and the document. Editors are not supported with warning_only protection. + + + + + The named range this protected range is backed by, if any. When writing, only one of range or named_range_id + may be set. + + + + The ID of the protected range. This field is read-only. + + + + The range that is being protected. The range may be fully unbounded, in which case this is considered a + protected sheet. When writing, only one of range or named_range_id may be set. + + + + + True if the user who requested this protected range can edit the protected area. This field is read-only. + + + + + The list of unprotected ranges within a protected sheet. Unprotected ranges are only supported on protected + sheets. + + + + + 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. + + + + The ETag of the item. + + + Randomizes the order of the rows in a range. + + + The range to randomize. + + + The ETag of the item. + + + The execution status of refreshing one data source object. + + + The data execution status. + + + Reference to a data source object being refreshed. + + + The ETag of the item. + + + + Refreshes one or multiple data source objects in the spreadsheet by the specified references. The request + requires an additional `bigquery.readonly` OAuth scope. If there are multiple refresh requests referencing the + same data source objects in one batch, only the last refresh request is processed, and all those requests will + have the same response accordingly. + + + + + Reference to a DataSource. If specified, refreshes all associated data source objects for the data source. + + + + + Refreshes the data source objects regardless of the current state. If not set and a referenced data source + object was in error state, the refresh will fail immediately. + + + + Refreshes all existing data source objects in the spreadsheet. + + + References to data source objects to refresh. + + + The ETag of the item. + + + The response from refreshing one or multiple data source objects. + + + + All the refresh status for the data source object references specified in the request. If is_all is + specified, the field contains only those in failure status. + + + + The ETag of the item. + + + + Updates all cells in the range to the values in the given Cell object. Only the fields listed in the fields + field are updated; others are unchanged. If writing a cell with a formula, the formula's ranges will + automatically increment for each field in the range. For example, if writing a cell with formula `=A1` into + range B2:C4, B2 would be `=A1`, B3 would be `=A2`, B4 would be `=A3`, C2 would be `=B1`, C3 would be `=B2`, C4 + would be `=B3`. To keep the formula's ranges static, use the `$` indicator. For example, use the formula `=$A$1` + to prevent both the row and the column from incrementing. + + + + The data to write. + + + + 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. + + + + The range to repeat the cell in. + + + The ETag of the item. + + + A single kind of update to apply to a spreadsheet. + + + Adds a new banded range + + + Adds a chart. + + + Adds a new conditional format rule. + + + Adds a data source. + + + Creates a group over the specified range. + + + Adds a filter view. + + + Adds a named range. + + + Adds a protected range. + + + Adds a sheet. + + + Adds a slicer. + + + Appends cells after the last row with data in a sheet. + + + Appends dimensions to the end of a sheet. + + + Automatically fills in more data based on existing data. + + + + Automatically resizes one or more dimensions based on the contents of the cells in that dimension. + + + + Clears the basic filter on a sheet. + + + Copies data from one area and pastes it to another. + + + Creates new developer metadata + + + Cuts data from one area and pastes it to another. + + + Removes a banded range + + + Deletes an existing conditional format rule. + + + Deletes a data source. + + + Deletes developer metadata + + + Deletes rows or columns in a sheet. + + + Deletes a group over the specified range. + + + Removes rows containing duplicate values in specified columns of a cell range. + + + Deletes an embedded object (e.g, chart, image) in a sheet. + + + Deletes a filter view from a sheet. + + + Deletes a named range. + + + Deletes a protected range. + + + Deletes a range of cells from a sheet, shifting the remaining cells. + + + Deletes a sheet. + + + Duplicates a filter view. + + + Duplicates a sheet. + + + Finds and replaces occurrences of some text with other text. + + + Inserts new rows or columns in a sheet. + + + Inserts new cells in a sheet, shifting the existing cells. + + + Merges cells together. + + + Moves rows or columns to another location in a sheet. + + + Pastes data (HTML or delimited) into a sheet. + + + Randomizes the order of the rows in a range. + + + Refreshs one or multiple data sources and associated dbobjects. + + + Repeats a single cell across a range. + + + Sets the basic filter on a sheet. + + + Sets data validation for one or more cells. + + + Sorts data in a range. + + + Converts a column of text into many columns of text. + + + Trims cells of whitespace (such as spaces, tabs, or new lines). + + + Unmerges merged cells. + + + Updates a banded range + + + Updates the borders in a range of cells. + + + Updates many cells at once. + + + Updates a chart's specifications. + + + Updates an existing conditional format rule. + + + Updates a data source. + + + Updates an existing developer metadata entry + + + Updates the state of the specified group. + + + Updates dimensions' properties. + + + Updates an embedded object's border. + + + Updates an embedded object's (e.g. chart, image) position. + + + Updates the properties of a filter view. + + + Updates a named range. + + + Updates a protected range. + + + Updates a sheet's properties. + + + Updates a slicer's specifications. + + + Updates the spreadsheet's properties. + + + The ETag of the item. + + + A single response from an update. + + + A reply from adding a banded range. + + + A reply from adding a chart. + + + A reply from adding a data source. + + + A reply from adding a dimension group. + + + A reply from adding a filter view. + + + A reply from adding a named range. + + + A reply from adding a protected range. + + + A reply from adding a sheet. + + + A reply from adding a slicer. + + + A reply from creating a developer metadata entry. + + + A reply from deleting a conditional format rule. + + + A reply from deleting a developer metadata entry. + + + A reply from deleting a dimension group. + + + A reply from removing rows containing duplicate values. + + + A reply from duplicating a filter view. + + + A reply from duplicating a sheet. + + + A reply from doing a find/replace. + + + A reply from refreshing data source objects. + + + A reply from trimming whitespace. + + + A reply from updating a conditional format rule. + + + A reply from updating a data source. + + + A reply from updating a developer metadata entry. + + + A reply from updating an embedded object's position. + + + The ETag of the item. + + + Data about each cell in a row. + + + The values in the row, one per column. + + + The ETag of the item. + + + + A scorecard chart. Scorecard charts are used to highlight key performance indicators, known as KPIs, on the + spreadsheet. A scorecard chart can represent things like total sales, average cost, or a top selling item. You + can specify a single data value, or aggregate over a range of data. Percentage or absolute difference from a + baseline value can be highlighted, like changes over time. + + + + + The aggregation type for key and baseline chart data in scorecard chart. This field is not supported for + data source charts. Use the ChartData.aggregateType field of the key_value_data or baseline_value_data + instead for data source charts. This field is optional. + + + + The data for scorecard baseline value. This field is optional. + + + + Formatting options for baseline value. This field is needed only if baseline_value_data is specified. + + + + + Custom formatting options for numeric key/baseline values in scorecard chart. This field is used only when + number_format_source is set to CUSTOM. This field is optional. + + + + The data for scorecard key value. + + + Formatting options for key value. + + + The number format source used in the scorecard chart. This field is optional. + + + + Value to scale scorecard key and baseline value. For example, a factor of 10 can be used to divide all + values in the chart by 10. This field is optional. + + + + The ETag of the item. + + + A request to retrieve all developer metadata matching the set of specified criteria. + + + + The data filters describing the criteria used to determine which DeveloperMetadata entries to return. + DeveloperMetadata matching any of the specified filters are included in the response. + + + + The ETag of the item. + + + A reply to a developer metadata search request. + + + The metadata matching the criteria of the search request. + + + The ETag of the item. + + + Sets the basic filter associated with a sheet. + + + The filter to set. + + + The ETag of the item. + + + + Sets a data validation rule to every cell in the range. To clear validation in a range, call this with no rule + specified. + + + + The range the data validation rule should apply to. + + + + The data validation rule to set on each cell in the range, or empty to clear the data validation in the + range. + + + + The ETag of the item. + + + A sheet in a spreadsheet. + + + The banded (alternating colors) ranges on this sheet. + + + The filter on this sheet, if any. + + + The specifications of every chart on this sheet. + + + + All column groups on this sheet, ordered by increasing range start index, then by group depth. + + + + The conditional format rules in this sheet. + + + + 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 values. + + + + The developer metadata associated with a sheet. + + + The filter views in this sheet. + + + The ranges that are merged together. + + + The properties of the sheet. + + + The protected ranges in this sheet. + + + + All row groups on this sheet, ordered by increasing range start index, then by group depth. + + + + The slicers on this sheet. + + + The ETag of the item. + + + Properties of a sheet. + + + Output only. If present, the field contains DATA_SOURCE sheet specific properties. + + + + Additional properties of the sheet if this sheet is a grid. (If the sheet is an object sheet, containing a + chart or image, then this field will be absent.) When writing it is an error to set any grid properties on + non-grid sheets. If this sheet is a DATA_SOURCE sheet, this field is output only but contains the properties + that reflect how a data source sheet is rendered in the UI, e.g. row_count. + + + + True if the sheet is hidden in the UI, false if it's visible. + + + + 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 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. + + + + True if the sheet is an RTL sheet instead of an LTR sheet. + + + The ID of the sheet. Must be non-negative. This field cannot be changed once set. + + + The type of sheet. Defaults to GRID. This field cannot be changed once set. + + + The color of the tab in the UI. + + + The color of the tab in the UI. If tab_color is also set, this field takes precedence. + + + The name of the sheet. + + + The ETag of the item. + + + A slicer in a sheet. + + + + The position of the slicer. Note that slicer can be positioned only on existing sheet. Also, width and + height of slicer can be automatically adjusted to keep it within permitted limits. + + + + The ID of the slicer. + + + The specification of the slicer. + + + The ETag of the item. + + + The specifications of a slicer. + + + True if the filter should apply to pivot tables. If not set, default to `True`. + + + The background color of the slicer. + + + + The background color of the slicer. If background_color is also set, this field takes precedence. + + + + The column index in the data table on which the filter is applied to. + + + The data range of the slicer. + + + The filtering criteria of the slicer. + + + The horizontal alignment of title in the slicer. If unspecified, defaults to `LEFT` + + + The text format of title in the slicer. + + + The title of the slicer. + + + The ETag of the item. + + + Sorts data in rows based on a sort order per column. + + + The range to sort. + + + + The sort order per column. Later specifications are used when values are equal in the earlier + specifications. + + + + The ETag of the item. + + + A sort order associated with a specific column or row. + + + + The background fill color to sort by; cells with this fill color are sorted to the top. Mutually exclusive + with foreground_color. + + + + + The background fill color to sort by; cells with this fill color are sorted to the top. Mutually exclusive + with foreground_color, and must be an RGB-type color. If background_color is also set, this field takes + precedence. + + + + Reference to a data source column. + + + The dimension the sort should be applied to. + + + + The foreground color to sort by; cells with this foreground color are sorted to the top. Mutually exclusive + with background_color. + + + + + The foreground color to sort by; cells with this foreground color are sorted to the top. Mutually exclusive + with background_color, and must be an RGB-type color. If foreground_color is also set, this field takes + precedence. + + + + The order data should be sorted. + + + The ETag of the item. + + + A combination of a source range and how to extend that source. + + + The dimension that data should be filled into. + + + + The number of rows or columns that data should be filled into. Positive numbers expand beyond the last row + or last column of the source. Negative numbers expand before the first row or first column of the source. + + + + The location of the data to use as the source of the autofill. + + + The ETag of the item. + + + Resource that represents a spreadsheet. + + + Output only. A list of data source refresh schedules. + + + A list of external data sources connected with the spreadsheet. + + + The developer metadata associated with a spreadsheet. + + + The named ranges defined in a spreadsheet. + + + Overall properties of a spreadsheet. + + + The sheets that are part of a spreadsheet. + + + The ID of the spreadsheet. This field is read-only. + + + The url of the spreadsheet. This field is read-only. + + + The ETag of the item. + + + Properties of a spreadsheet. + + + The amount of time to wait before volatile functions are recalculated. + + + + The default format of all cells in the spreadsheet. CellData.effectiveFormat will not be set if the cell's + format is equal to this default format. This field is read-only. + + + + + Determines whether and how circular references are resolved with iterative calculation. Absence of this + field means that circular references result in calculation errors. + + + + + 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. + + + + Theme applied to the spreadsheet. + + + + 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 title of the spreadsheet. + + + The ETag of the item. + + + Represents spreadsheet theme + + + Name of the primary font family. + + + The spreadsheet theme color pairs. To update you must provide all theme color pairs. + + + The ETag of the item. + + + The format of a run of text in a cell. Absent values indicate that the field isn't specified. + + + True if the text is bold. + + + The font family. + + + The size of the font. + + + The foreground color of the text. + + + + The foreground color of the text. If foreground_color is also set, this field takes precedence. + + + + True if the text is italicized. + + + True if the text has a strikethrough. + + + True if the text is underlined. + + + The ETag of the item. + + + + A run of a text format. The format of this run continues until the start index of the next run. When updating, + all fields must be set. + + + + The format of this run. Absent values inherit the cell's format. + + + The character index where this run starts. + + + The ETag of the item. + + + Position settings for text. + + + Horizontal alignment setting for the piece of text. + + + The ETag of the item. + + + The rotation applied to text in a cell. + + + + The angle between the standard orientation and the desired orientation. Measured in degrees. Valid values + are between -90 and 90. Positive angles are angled upwards, negative are angled downwards. Note: For LTR + text direction positive angles are in the counterclockwise direction, whereas for RTL they are in the + clockwise direction + + + + + If true, text reads top to bottom, but the orientation of individual characters is unchanged. For example: | + V | | e | | r | | t | | i | | c | | a | | l | + + + + The ETag of the item. + + + Splits a column of text into multiple columns, based on a delimiter in each cell. + + + The delimiter to use. Used only if delimiterType is CUSTOM. + + + The delimiter type to use. + + + The source data range. This must span exactly one column. + + + The ETag of the item. + + + A pair mapping a spreadsheet theme color type to the concrete color it represents. + + + The concrete color corresponding to the theme color type. + + + The type of the spreadsheet theme color. + + + The ETag of the item. + + + + Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API + may choose to allow leap seconds. Related types are google.type.Date and `google.protobuf.Timestamp`. + + + + + 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. + + + + Minutes of hour of day. Must be from 0 to 59. + + + Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999. + + + + Seconds of minutes of the time. Must normally be from 0 to 59. An API may allow the value 60 if it allows + leap-seconds. + + + + The ETag of the item. + + + A color scale for a treemap chart. + + + + The background color for cells with a color value greater than or equal to maxValue. Defaults to #109618 if + not specified. + + + + + The background color for cells with a color value greater than or equal to maxValue. Defaults to #109618 if + not specified. If max_value_color is also set, this field takes precedence. + + + + + The background color for cells with a color value at the midpoint between minValue and maxValue. Defaults to + #efe6dc if not specified. + + + + + The background color for cells with a color value at the midpoint between minValue and maxValue. Defaults to + #efe6dc if not specified. If mid_value_color is also set, this field takes precedence. + + + + + The background color for cells with a color value less than or equal to minValue. Defaults to #dc3912 if not + specified. + + + + + The background color for cells with a color value less than or equal to minValue. Defaults to #dc3912 if not + specified. If min_value_color is also set, this field takes precedence. + + + + + The background color for cells that have no color data associated with them. Defaults to #000000 if not + specified. + + + + + The background color for cells that have no color data associated with them. Defaults to #000000 if not + specified. If no_data_color is also set, this field takes precedence. + + + + The ETag of the item. + + + A Treemap chart. + + + + The data that determines the background color of each treemap data cell. This field is optional. If not + specified, size_data is used to determine background colors. If specified, the data is expected to be + numeric. color_scale will determine how the values in this data map to data cell background colors. + + + + + The color scale for data cells in the treemap chart. Data cells are assigned colors based on their color + values. These color values come from color_data, or from size_data if color_data is not specified. Cells + with color values less than or equal to min_value will have minValueColor as their background color. Cells + with color values greater than or equal to max_value will have maxValueColor as their background color. + Cells with color values between min_value and max_value will have background colors on a gradient between + minValueColor and maxValueColor, the midpoint of the gradient being midValueColor. Cells with missing or + non-numeric color values will have noDataColor as their background color. + + + + The background color for header cells. + + + + The background color for header cells. If header_color is also set, this field takes precedence. + + + + True to hide tooltips. + + + + The number of additional data levels beyond the labeled levels to be shown on the treemap chart. These + levels are not interactive and are shown without their labels. Defaults to 0 if not specified. + + + + The data that contains the treemap cell labels. + + + + The number of data levels to show on the treemap chart. These levels are interactive and are shown with + their labels. Defaults to 2 if not specified. + + + + + The maximum possible data value. Cells with values greater than this will have the same color as cells with + this value. If not specified, defaults to the actual maximum value from color_data, or the maximum value + from size_data if color_data is not specified. + + + + + The minimum possible data value. Cells with values less than this will have the same color as cells with + this value. If not specified, defaults to the actual minimum value from color_data, or the minimum value + from size_data if color_data is not specified. + + + + The data the contains the treemap cells' parent labels. + + + + The data that determines the size of each treemap data cell. This data is expected to be numeric. The cells + corresponding to non-numeric or missing data will not be rendered. If color_data is not specified, this data + is used to determine data cell background colors as well. + + + + The text format for all labels on the chart. + + + The ETag of the item. + + + + Trims the whitespace (such as spaces, tabs, or new lines) in every cell in the specified range. This request + removes all whitespace from the start and end of each cell's text, and reduces any subsequence of remaining + whitespace characters to a single space. If the resulting trimmed text starts with a '+' or '=' character, the + text remains as a string value and isn't interpreted as a formula. + + + + The range whose cells to trim. + + + The ETag of the item. + + + The result of trimming whitespace in cells. + + + The number of cells that were trimmed of whitespace. + + + The ETag of the item. + + + Unmerges cells in the given range. + + + + The range within which all cells should be unmerged. If the range spans multiple merges, all will be + unmerged. The range must not partially span any merge. + + + + The ETag of the item. + + + Updates properties of the supplied banded range. + + + The banded range to update with the new properties. + + + + 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. + + + + The ETag of the item. + + + + Updates the borders of a range. If a field is not set in the request, that means the border remains as-is. For + example, with two subsequent UpdateBordersRequest: 1. range: A1:A5 `{ top: RED, bottom: WHITE }` 2. range: A1:A5 + `{ left: BLUE }` That would result in A1:A5 having a borders of `{ top: RED, bottom: WHITE, left: BLUE }`. If + you want to clear a border, explicitly set the style to NONE. + + + + The border to put at the bottom of the range. + + + The horizontal border to put within the range. + + + The vertical border to put within the range. + + + The border to put at the left of the range. + + + The range whose borders should be updated. + + + The border to put at the right of the range. + + + The border to put at the top of the range. + + + The ETag of the item. + + + Updates all cells in a range with new data. + + + + 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. + + + + + The range to write data to. If the data in rows does not cover the entire requested range, the fields + matching those set in fields will be cleared. + + + + The data to write. + + + + The coordinate to start writing data at. Any number of rows and columns (including a different number of + columns per row) may be written. + + + + The ETag of the item. + + + + Updates a chart's specifications. (This does not move or resize a chart. To move or resize a chart, use + UpdateEmbeddedObjectPositionRequest.) + + + + The ID of the chart to update. + + + The specification to apply to the chart. + + + The ETag of the item. + + + + Updates a conditional format rule at the given index, or moves a conditional format rule to another index. + + + + The zero-based index of the rule that should be replaced or moved. + + + The zero-based new index the rule should end up at. + + + The rule that should replace the rule at the given index. + + + The sheet of the rule to move. Required if new_index is set, unused otherwise. + + + The ETag of the item. + + + The result of updating a conditional format rule. + + + The index of the new rule. + + + + The new rule that replaced the old rule (if replacing), or the rule that was moved (if moved) + + + + + The old index of the rule. Not set if a rule was replaced (because it is the same as new_index). + + + + The old (deleted) rule. Not set if a rule was moved (because it is the same as new_rule). + + + The ETag of the item. + + + + Updates a data source. After the data source is updated successfully, an execution is triggered to refresh the + associated DATA_SOURCE sheet to read data from the updated data source. The request requires an additional + `bigquery.readonly` OAuth scope. + + + + The data source to update. + + + + 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. + + + + The ETag of the item. + + + The response from updating data source. + + + The data execution status. + + + The updated data source. + + + The ETag of the item. + + + + A request to update properties of developer metadata. Updates the properties of the developer metadata selected + by the filters to the values provided in the DeveloperMetadata resource. Callers must specify the properties + they wish to update in the fields parameter, as well as specify at least one DataFilter matching the metadata + they wish to update. + + + + The filters matching the developer metadata entries to update. + + + The value that all metadata matched by the data filters will be updated to. + + + + 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. + + + + The ETag of the item. + + + The response from updating developer metadata. + + + The updated developer metadata. + + + The ETag of the item. + + + Updates the state of the specified group. + + + + 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. + + + + + 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. + + + + The ETag of the item. + + + Updates properties of dimensions within the specified range. + + + The columns on a data source sheet to update. + + + + 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. + + + + Properties to update. + + + The rows or columns to update. + + + The ETag of the item. + + + Updates an embedded object's border property. + + + The border that applies to the embedded object. + + + + 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. + + + + The ID of the embedded object to update. + + + The ETag of the item. + + + Update an embedded object's position (such as a moving or resizing a chart or image). + + + + 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. + + + + + An explicit position to move the embedded object to. If newPosition.sheetId is set, a new sheet with that ID + will be created. If newPosition.newSheet is set to true, a new sheet will be created with an ID that will be + chosen for you. + + + + The ID of the object to moved. + + + The ETag of the item. + + + The result of updating an embedded object's position. + + + The new position of the embedded object. + + + The ETag of the item. + + + Updates properties of the filter view. + + + + 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. + + + + The new properties of the filter view. + + + The ETag of the item. + + + Updates properties of the named range with the specified namedRangeId. + + + + 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. + + + + The named range to update with the new properties. + + + The ETag of the item. + + + Updates an existing protected range with the specified protectedRangeId. + + + + 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. + + + + The protected range to update with the new properties. + + + The ETag of the item. + + + Updates properties of the sheet with the specified sheetId. + + + + 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. + + + + The properties to update. + + + The ETag of the item. + + + + Updates a slicer's specifications. (This does not move or resize a slicer. To move or resize a slicer use + UpdateEmbeddedObjectPositionRequest. + + + + + 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. + + + + The id of the slicer to update. + + + The specification to apply to the slicer. + + + The ETag of the item. + + + Updates properties of a spreadsheet. + + + + 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. + + + + The properties to update. + + + The ETag of the item. + + + The response when updating a range of values by a data filter in a spreadsheet. + + + The data filter that selected the range that was updated. + + + The number of cells updated. + + + The number of columns where at least one cell in the column was updated. + + + + 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 range (in A1 notation) that updates were applied to. + + + The number of rows where at least one cell in the row was updated. + + + The ETag of the item. + + + The response when updating a range of values in a spreadsheet. + + + The spreadsheet the updates were applied to. + + + The number of cells updated. + + + The number of columns where at least one cell in the column was updated. + + + + The values of the cells after updates were applied. This is only included if the request's + `includeValuesInResponse` field was `true`. + + + + The range (in A1 notation) that updates were applied to. + + + The number of rows where at least one cell in the row was updated. + + + The ETag of the item. + + + Data within a range of the spreadsheet. + + + + 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 range the values cover, in A1 notation. For output, this range indicates the entire requested range, + even though the values will exclude trailing rows and columns. When appending values, this field represents + the range to search for a table, after which values will be appended. + + + + + The data that was read or to be written. This is an array of arrays, the outer array representing all the + data and each inner array representing a major dimension. Each item in the inner array corresponds with one + cell. For output, empty trailing rows and columns will not be included. For input, supported value types + are: bool, string, and double. Null values will be skipped. To set a cell to an empty value, set the string + value to an empty string. + + + + The ETag of the item. + + + Styles for a waterfall chart column. + + + The color of the column. + + + The color of the column. If color is also set, this field takes precedence. + + + The label of the column's legend. + + + The ETag of the item. + + + A custom subtotal column for a waterfall chart series. + + + + True if the data point at subtotal_index is the subtotal. If false, the subtotal will be computed and appear + after the data point. + + + + A label for the subtotal column. + + + + The 0-based index of a data point within the series. If data_is_subtotal is true, the data point at this + index is the subtotal. Otherwise, the subtotal appears after the data point with this index. A series can + have multiple subtotals at arbitrary indices, but subtotals do not affect the indices of the data points. + For example, if a series has three data points, their indices will always be 0, 1, and 2, regardless of how + many subtotals exist on the series or what data points they are associated with. + + + + The ETag of the item. + + + The domain of a waterfall chart. + + + The data of the WaterfallChartDomain. + + + True to reverse the order of the domain values (horizontal axis). + + + The ETag of the item. + + + A single series of data for a waterfall chart. + + + + Custom subtotal columns appearing in this series. The order in which subtotals are defined is not + significant. Only one subtotal may be defined for each data point. + + + + The data being visualized in this series. + + + Information about the data labels for this series. + + + + True to hide the subtotal column from the end of the series. By default, a subtotal column will appear at + the end of each series. Setting this field to true will hide that subtotal column for this series. + + + + Styles for all columns in this series with negative values. + + + Styles for all columns in this series with positive values. + + + Styles for all subtotal columns in this series. + + + The ETag of the item. + + + A waterfall chart. + + + The line style for the connector lines. + + + The domain data (horizontal axis) for the waterfall chart. + + + True to interpret the first value as a total. + + + True to hide connector lines between columns. + + + The data this waterfall chart is visualizing. + + + The stacked type. + + + + Controls whether to display additional data labels on stacked charts which sum the total value of all + stacked values at each value along the domain axis. stacked_type must be STACKED and neither CUSTOM nor + placement can be set on the total_data_label. + + + + The ETag of the item. + + + diff --git a/game/Assets/NuGet/Google.Apis.Sheets.v4.1.50.0.2175/lib/net45/Google.Apis.Sheets.v4.xml.meta b/game/Assets/NuGet/Google.Apis.Sheets.v4.1.50.0.2175/lib/net45/Google.Apis.Sheets.v4.xml.meta new file mode 100644 index 0000000..14c66a5 --- /dev/null +++ b/game/Assets/NuGet/Google.Apis.Sheets.v4.1.50.0.2175/lib/net45/Google.Apis.Sheets.v4.xml.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: f3f3840cebb3a974a97ae3a74a58299e +TextScriptImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/game/Assets/NuGet/Newtonsoft.Json.12.0.3.meta b/game/Assets/NuGet/Newtonsoft.Json.12.0.3.meta new file mode 100644 index 0000000..b0e88cc --- /dev/null +++ b/game/Assets/NuGet/Newtonsoft.Json.12.0.3.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: b90428a529ef21d4fb11f85ec56321b5 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/game/Assets/NuGet/Newtonsoft.Json.12.0.3/.signature.p7s b/game/Assets/NuGet/Newtonsoft.Json.12.0.3/.signature.p7s new file mode 100644 index 0000000..bc07e21 Binary files /dev/null and b/game/Assets/NuGet/Newtonsoft.Json.12.0.3/.signature.p7s differ diff --git a/game/Assets/NuGet/Newtonsoft.Json.12.0.3/LICENSE.md b/game/Assets/NuGet/Newtonsoft.Json.12.0.3/LICENSE.md new file mode 100644 index 0000000..6cc88f2 --- /dev/null +++ b/game/Assets/NuGet/Newtonsoft.Json.12.0.3/LICENSE.md @@ -0,0 +1,20 @@ +The MIT License (MIT) + +Copyright (c) 2007 James Newton-King + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software is furnished to do so, +subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR +COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/game/Assets/NuGet/Newtonsoft.Json.12.0.3/LICENSE.md.meta b/game/Assets/NuGet/Newtonsoft.Json.12.0.3/LICENSE.md.meta new file mode 100644 index 0000000..f71c656 --- /dev/null +++ b/game/Assets/NuGet/Newtonsoft.Json.12.0.3/LICENSE.md.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 57dd59d2e44c3104588cbfd48017be52 +TextScriptImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/game/Assets/NuGet/Newtonsoft.Json.12.0.3/Newtonsoft.Json.12.0.3.nupkg b/game/Assets/NuGet/Newtonsoft.Json.12.0.3/Newtonsoft.Json.12.0.3.nupkg new file mode 100644 index 0000000..f162e3d Binary files /dev/null and b/game/Assets/NuGet/Newtonsoft.Json.12.0.3/Newtonsoft.Json.12.0.3.nupkg differ diff --git a/game/Assets/NuGet/Newtonsoft.Json.12.0.3/Newtonsoft.Json.12.0.3.nupkg.meta b/game/Assets/NuGet/Newtonsoft.Json.12.0.3/Newtonsoft.Json.12.0.3.nupkg.meta new file mode 100644 index 0000000..a8c4830 --- /dev/null +++ b/game/Assets/NuGet/Newtonsoft.Json.12.0.3/Newtonsoft.Json.12.0.3.nupkg.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 44545eabbd1b5174d99d646db8b8b6c1 +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/game/Assets/NuGet/Newtonsoft.Json.12.0.3/lib.meta b/game/Assets/NuGet/Newtonsoft.Json.12.0.3/lib.meta new file mode 100644 index 0000000..6ea18e1 --- /dev/null +++ b/game/Assets/NuGet/Newtonsoft.Json.12.0.3/lib.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: d892e837a75013c4fa3b1452815b1002 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/game/Assets/NuGet/Newtonsoft.Json.12.0.3/lib/net45.meta b/game/Assets/NuGet/Newtonsoft.Json.12.0.3/lib/net45.meta new file mode 100644 index 0000000..a43006c --- /dev/null +++ b/game/Assets/NuGet/Newtonsoft.Json.12.0.3/lib/net45.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: f9d8e17a84af832419695cc91e64f70c +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/game/Assets/NuGet/Newtonsoft.Json.12.0.3/lib/net45/Newtonsoft.Json.dll b/game/Assets/NuGet/Newtonsoft.Json.12.0.3/lib/net45/Newtonsoft.Json.dll new file mode 100644 index 0000000..c59538a --- /dev/null +++ b/game/Assets/NuGet/Newtonsoft.Json.12.0.3/lib/net45/Newtonsoft.Json.dll @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7f912b28a07c226e0be3acfb2f57f050538aba0100fa1f0bf2c39f1a1f1da814 +size 700336 diff --git a/game/Assets/NuGet/Newtonsoft.Json.12.0.3/lib/net45/Newtonsoft.Json.dll.meta b/game/Assets/NuGet/Newtonsoft.Json.12.0.3/lib/net45/Newtonsoft.Json.dll.meta new file mode 100644 index 0000000..4d7dab9 --- /dev/null +++ b/game/Assets/NuGet/Newtonsoft.Json.12.0.3/lib/net45/Newtonsoft.Json.dll.meta @@ -0,0 +1,33 @@ +fileFormatVersion: 2 +guid: 043fbbbce0d9e1a4a9fd6cb9d348a52e +PluginImporter: + externalObjects: {} + serializedVersion: 2 + iconMap: {} + executionOrder: {} + defineConstraints: [] + isPreloaded: 0 + isOverridable: 0 + isExplicitlyReferenced: 0 + validateReferences: 1 + platformData: + - first: + Any: + second: + enabled: 1 + settings: {} + - first: + Editor: Editor + second: + enabled: 0 + settings: + DefaultValueInitialized: true + - first: + Windows Store Apps: WindowsStoreApps + second: + enabled: 0 + settings: + CPU: AnyCPU + userData: + assetBundleName: + assetBundleVariant: diff --git a/game/Assets/NuGet/Newtonsoft.Json.12.0.3/lib/net45/Newtonsoft.Json.xml b/game/Assets/NuGet/Newtonsoft.Json.12.0.3/lib/net45/Newtonsoft.Json.xml new file mode 100644 index 0000000..af9ceda --- /dev/null +++ b/game/Assets/NuGet/Newtonsoft.Json.12.0.3/lib/net45/Newtonsoft.Json.xml @@ -0,0 +1,11262 @@ + + + + Newtonsoft.Json + + + + + Represents a BSON Oid (object id). + + + + + Gets or sets the value of the Oid. + + The value of the Oid. + + + + Initializes a new instance of the class. + + The Oid value. + + + + Represents a reader that provides fast, non-cached, forward-only access to serialized BSON data. + + + + + Gets or sets a value indicating whether binary data reading should be compatible with incorrect Json.NET 3.5 written binary. + + + true if binary data reading will be compatible with incorrect Json.NET 3.5 written binary; otherwise, false. + + + + + Gets or sets a value indicating whether the root object will be read as a JSON array. + + + true if the root object will be read as a JSON array; otherwise, false. + + + + + Gets or sets the used when reading values from BSON. + + The used when reading values from BSON. + + + + Initializes a new instance of the class. + + The containing the BSON data to read. + + + + Initializes a new instance of the class. + + The containing the BSON data to read. + + + + Initializes a new instance of the class. + + The containing the BSON data to read. + if set to true the root object will be read as a JSON array. + The used when reading values from BSON. + + + + Initializes a new instance of the class. + + The containing the BSON data to read. + if set to true the root object will be read as a JSON array. + The used when reading values from BSON. + + + + Reads the next JSON token from the underlying . + + + true if the next token was read successfully; false if there are no more tokens to read. + + + + + Changes the reader's state to . + If is set to true, the underlying is also closed. + + + + + Represents a writer that provides a fast, non-cached, forward-only way of generating BSON data. + + + + + Gets or sets the used when writing values to BSON. + When set to no conversion will occur. + + The used when writing values to BSON. + + + + Initializes a new instance of the class. + + The to write to. + + + + Initializes a new instance of the class. + + The to write to. + + + + Flushes whatever is in the buffer to the underlying and also flushes the underlying stream. + + + + + Writes the end. + + The token. + + + + Writes a comment /*...*/ containing the specified text. + + Text to place inside the comment. + + + + Writes the start of a constructor with the given name. + + The name of the constructor. + + + + Writes raw JSON. + + The raw JSON to write. + + + + Writes raw JSON where a value is expected and updates the writer's state. + + The raw JSON to write. + + + + Writes the beginning of a JSON array. + + + + + Writes the beginning of a JSON object. + + + + + Writes the property name of a name/value pair on a JSON object. + + The name of the property. + + + + Closes this writer. + If is set to true, the underlying is also closed. + If is set to true, the JSON is auto-completed. + + + + + Writes a value. + An error will raised if the value cannot be written as a single JSON token. + + The value to write. + + + + Writes a null value. + + + + + Writes an undefined value. + + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a [] value. + + The [] value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a [] value that represents a BSON object id. + + The Object ID value to write. + + + + Writes a BSON regex. + + The regex pattern. + The regex options. + + + + Specifies how constructors are used when initializing objects during deserialization by the . + + + + + First attempt to use the public default constructor, then fall back to a single parameterized constructor, then to the non-public default constructor. + + + + + Json.NET will use a non-public default constructor before falling back to a parameterized constructor. + + + + + Converts a binary value to and from a base 64 string value. + + + + + Writes the JSON representation of the object. + + The to write to. + The value. + The calling serializer. + + + + Reads the JSON representation of the object. + + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. + + + + Determines whether this instance can convert the specified object type. + + Type of the object. + + true if this instance can convert the specified object type; otherwise, false. + + + + + Converts a to and from JSON and BSON. + + + + + Writes the JSON representation of the object. + + The to write to. + The value. + The calling serializer. + + + + Reads the JSON representation of the object. + + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. + + + + Determines whether this instance can convert the specified object type. + + Type of the object. + + true if this instance can convert the specified object type; otherwise, false. + + + + + Creates a custom object. + + The object type to convert. + + + + Writes the JSON representation of the object. + + The to write to. + The value. + The calling serializer. + + + + Reads the JSON representation of the object. + + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. + + + + Creates an object which will then be populated by the serializer. + + Type of the object. + The created object. + + + + Determines whether this instance can convert the specified object type. + + Type of the object. + + true if this instance can convert the specified object type; otherwise, false. + + + + + Gets a value indicating whether this can write JSON. + + + true if this can write JSON; otherwise, false. + + + + + Converts a to and from JSON. + + + + + Writes the JSON representation of the object. + + The to write to. + The value. + The calling serializer. + + + + Reads the JSON representation of the object. + + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. + + + + Determines whether this instance can convert the specified value type. + + Type of the value. + + true if this instance can convert the specified value type; otherwise, false. + + + + + Converts a to and from JSON. + + + + + Writes the JSON representation of the object. + + The to write to. + The value. + The calling serializer. + + + + Reads the JSON representation of the object. + + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. + + + + Determines whether this instance can convert the specified value type. + + Type of the value. + + true if this instance can convert the specified value type; otherwise, false. + + + + + Provides a base class for converting a to and from JSON. + + + + + Determines whether this instance can convert the specified object type. + + Type of the object. + + true if this instance can convert the specified object type; otherwise, false. + + + + + Converts a F# discriminated union type to and from JSON. + + + + + Writes the JSON representation of the object. + + The to write to. + The value. + The calling serializer. + + + + Reads the JSON representation of the object. + + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. + + + + Determines whether this instance can convert the specified object type. + + Type of the object. + + true if this instance can convert the specified object type; otherwise, false. + + + + + Converts an Entity Framework to and from JSON. + + + + + Writes the JSON representation of the object. + + The to write to. + The value. + The calling serializer. + + + + Reads the JSON representation of the object. + + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. + + + + Determines whether this instance can convert the specified object type. + + Type of the object. + + true if this instance can convert the specified object type; otherwise, false. + + + + + Converts an to and from JSON. + + + + + Writes the JSON representation of the object. + + The to write to. + The value. + The calling serializer. + + + + Reads the JSON representation of the object. + + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. + + + + Determines whether this instance can convert the specified object type. + + Type of the object. + + true if this instance can convert the specified object type; otherwise, false. + + + + + Gets a value indicating whether this can write JSON. + + + true if this can write JSON; otherwise, false. + + + + + Converts a to and from the ISO 8601 date format (e.g. "2008-04-12T12:53Z"). + + + + + Gets or sets the date time styles used when converting a date to and from JSON. + + The date time styles used when converting a date to and from JSON. + + + + Gets or sets the date time format used when converting a date to and from JSON. + + The date time format used when converting a date to and from JSON. + + + + Gets or sets the culture used when converting a date to and from JSON. + + The culture used when converting a date to and from JSON. + + + + Writes the JSON representation of the object. + + The to write to. + The value. + The calling serializer. + + + + Reads the JSON representation of the object. + + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. + + + + Converts a to and from a JavaScript Date constructor (e.g. new Date(52231943)). + + + + + Writes the JSON representation of the object. + + The to write to. + The value. + The calling serializer. + + + + Reads the JSON representation of the object. + + The to read from. + Type of the object. + The existing property value of the JSON that is being converted. + The calling serializer. + The object value. + + + + Converts a to and from JSON. + + + + + Writes the JSON representation of the object. + + The to write to. + The value. + The calling serializer. + + + + Reads the JSON representation of the object. + + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. + + + + Determines whether this instance can convert the specified object type. + + Type of the object. + + true if this instance can convert the specified object type; otherwise, false. + + + + + Converts a to and from JSON and BSON. + + + + + Writes the JSON representation of the object. + + The to write to. + The value. + The calling serializer. + + + + Reads the JSON representation of the object. + + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. + + + + Determines whether this instance can convert the specified object type. + + Type of the object. + + true if this instance can convert the specified object type; otherwise, false. + + + + + Converts an to and from its name string value. + + + + + Gets or sets a value indicating whether the written enum text should be camel case. + The default value is false. + + true if the written enum text will be camel case; otherwise, false. + + + + Gets or sets the naming strategy used to resolve how enum text is written. + + The naming strategy used to resolve how enum text is written. + + + + Gets or sets a value indicating whether integer values are allowed when serializing and deserializing. + The default value is true. + + true if integers are allowed when serializing and deserializing; otherwise, false. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + true if the written enum text will be camel case; otherwise, false. + + + + Initializes a new instance of the class. + + The naming strategy used to resolve how enum text is written. + true if integers are allowed when serializing and deserializing; otherwise, false. + + + + Initializes a new instance of the class. + + The of the used to write enum text. + + + + Initializes a new instance of the class. + + The of the used to write enum text. + + The parameter list to use when constructing the described by . + If null, the default constructor is used. + When non-null, there must be a constructor defined in the that exactly matches the number, + order, and type of these parameters. + + + + + Initializes a new instance of the class. + + The of the used to write enum text. + + The parameter list to use when constructing the described by . + If null, the default constructor is used. + When non-null, there must be a constructor defined in the that exactly matches the number, + order, and type of these parameters. + + true if integers are allowed when serializing and deserializing; otherwise, false. + + + + Writes the JSON representation of the object. + + The to write to. + The value. + The calling serializer. + + + + Reads the JSON representation of the object. + + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. + + + + Determines whether this instance can convert the specified object type. + + Type of the object. + + true if this instance can convert the specified object type; otherwise, false. + + + + + Converts a to and from Unix epoch time + + + + + Writes the JSON representation of the object. + + The to write to. + The value. + The calling serializer. + + + + Reads the JSON representation of the object. + + The to read from. + Type of the object. + The existing property value of the JSON that is being converted. + The calling serializer. + The object value. + + + + Converts a to and from a string (e.g. "1.2.3.4"). + + + + + Writes the JSON representation of the object. + + The to write to. + The value. + The calling serializer. + + + + Reads the JSON representation of the object. + + The to read from. + Type of the object. + The existing property value of the JSON that is being converted. + The calling serializer. + The object value. + + + + Determines whether this instance can convert the specified object type. + + Type of the object. + + true if this instance can convert the specified object type; otherwise, false. + + + + + Converts XML to and from JSON. + + + + + Gets or sets the name of the root element to insert when deserializing to XML if the JSON structure has produced multiple root elements. + + The name of the deserialized root element. + + + + Gets or sets a value to indicate whether to write the Json.NET array attribute. + This attribute helps preserve arrays when converting the written XML back to JSON. + + true if the array attribute is written to the XML; otherwise, false. + + + + Gets or sets a value indicating whether to write the root JSON object. + + true if the JSON root object is omitted; otherwise, false. + + + + Gets or sets a value indicating whether to encode special characters when converting JSON to XML. + If true, special characters like ':', '@', '?', '#' and '$' in JSON property names aren't used to specify + XML namespaces, attributes or processing directives. Instead special characters are encoded and written + as part of the XML element name. + + true if special characters are encoded; otherwise, false. + + + + Writes the JSON representation of the object. + + The to write to. + The calling serializer. + The value. + + + + Reads the JSON representation of the object. + + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. + + + + Checks if the is a namespace attribute. + + Attribute name to test. + The attribute name prefix if it has one, otherwise an empty string. + true if attribute name is for a namespace attribute, otherwise false. + + + + Determines whether this instance can convert the specified value type. + + Type of the value. + + true if this instance can convert the specified value type; otherwise, false. + + + + + Specifies how dates are formatted when writing JSON text. + + + + + Dates are written in the ISO 8601 format, e.g. "2012-03-21T05:40Z". + + + + + Dates are written in the Microsoft JSON format, e.g. "\/Date(1198908717056)\/". + + + + + Specifies how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON text. + + + + + Date formatted strings are not parsed to a date type and are read as strings. + + + + + Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to . + + + + + Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to . + + + + + Specifies how to treat the time value when converting between string and . + + + + + Treat as local time. If the object represents a Coordinated Universal Time (UTC), it is converted to the local time. + + + + + Treat as a UTC. If the object represents a local time, it is converted to a UTC. + + + + + Treat as a local time if a is being converted to a string. + If a string is being converted to , convert to a local time if a time zone is specified. + + + + + Time zone information should be preserved when converting. + + + + + The default JSON name table implementation. + + + + + Initializes a new instance of the class. + + + + + Gets a string containing the same characters as the specified range of characters in the given array. + + The character array containing the name to find. + The zero-based index into the array specifying the first character of the name. + The number of characters in the name. + A string containing the same characters as the specified range of characters in the given array. + + + + Adds the specified string into name table. + + The string to add. + This method is not thread-safe. + The resolved string. + + + + Specifies default value handling options for the . + + + + + + + + + Include members where the member value is the same as the member's default value when serializing objects. + Included members are written to JSON. Has no effect when deserializing. + + + + + Ignore members where the member value is the same as the member's default value when serializing objects + so that it is not written to JSON. + This option will ignore all default values (e.g. null for objects and nullable types; 0 for integers, + decimals and floating point numbers; and false for booleans). The default value ignored can be changed by + placing the on the property. + + + + + Members with a default value but no JSON will be set to their default value when deserializing. + + + + + Ignore members where the member value is the same as the member's default value when serializing objects + and set members to their default value when deserializing. + + + + + Specifies float format handling options when writing special floating point numbers, e.g. , + and with . + + + + + Write special floating point values as strings in JSON, e.g. "NaN", "Infinity", "-Infinity". + + + + + Write special floating point values as symbols in JSON, e.g. NaN, Infinity, -Infinity. + Note that this will produce non-valid JSON. + + + + + Write special floating point values as the property's default value in JSON, e.g. 0.0 for a property, null for a of property. + + + + + Specifies how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. + + + + + Floating point numbers are parsed to . + + + + + Floating point numbers are parsed to . + + + + + Specifies formatting options for the . + + + + + No special formatting is applied. This is the default. + + + + + Causes child objects to be indented according to the and settings. + + + + + Provides an interface for using pooled arrays. + + The array type content. + + + + Rent an array from the pool. This array must be returned when it is no longer needed. + + The minimum required length of the array. The returned array may be longer. + The rented array from the pool. This array must be returned when it is no longer needed. + + + + Return an array to the pool. + + The array that is being returned. + + + + Provides an interface to enable a class to return line and position information. + + + + + Gets a value indicating whether the class can return line information. + + + true if and can be provided; otherwise, false. + + + + + Gets the current line number. + + The current line number or 0 if no line information is available (for example, when returns false). + + + + Gets the current line position. + + The current line position or 0 if no line information is available (for example, when returns false). + + + + Instructs the how to serialize the collection. + + + + + Gets or sets a value indicating whether null items are allowed in the collection. + + true if null items are allowed in the collection; otherwise, false. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class with a flag indicating whether the array can contain null items. + + A flag indicating whether the array can contain null items. + + + + Initializes a new instance of the class with the specified container Id. + + The container Id. + + + + Instructs the to use the specified constructor when deserializing that object. + + + + + Instructs the how to serialize the object. + + + + + Gets or sets the id. + + The id. + + + + Gets or sets the title. + + The title. + + + + Gets or sets the description. + + The description. + + + + Gets or sets the collection's items converter. + + The collection's items converter. + + + + The parameter list to use when constructing the described by . + If null, the default constructor is used. + When non-null, there must be a constructor defined in the that exactly matches the number, + order, and type of these parameters. + + + + [JsonContainer(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = new object[] { 123, "Four" })] + + + + + + Gets or sets the of the . + + The of the . + + + + The parameter list to use when constructing the described by . + If null, the default constructor is used. + When non-null, there must be a constructor defined in the that exactly matches the number, + order, and type of these parameters. + + + + [JsonContainer(NamingStrategyType = typeof(MyNamingStrategy), NamingStrategyParameters = new object[] { 123, "Four" })] + + + + + + Gets or sets a value that indicates whether to preserve object references. + + + true to keep object reference; otherwise, false. The default is false. + + + + + Gets or sets a value that indicates whether to preserve collection's items references. + + + true to keep collection's items object references; otherwise, false. The default is false. + + + + + Gets or sets the reference loop handling used when serializing the collection's items. + + The reference loop handling. + + + + Gets or sets the type name handling used when serializing the collection's items. + + The type name handling. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class with the specified container Id. + + The container Id. + + + + Provides methods for converting between .NET types and JSON types. + + + + + + + + Gets or sets a function that creates default . + Default settings are automatically used by serialization methods on , + and and on . + To serialize without using any default settings create a with + . + + + + + Represents JavaScript's boolean value true as a string. This field is read-only. + + + + + Represents JavaScript's boolean value false as a string. This field is read-only. + + + + + Represents JavaScript's null as a string. This field is read-only. + + + + + Represents JavaScript's undefined as a string. This field is read-only. + + + + + Represents JavaScript's positive infinity as a string. This field is read-only. + + + + + Represents JavaScript's negative infinity as a string. This field is read-only. + + + + + Represents JavaScript's NaN as a string. This field is read-only. + + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation using the specified. + + The value to convert. + The format the date will be converted to. + The time zone handling when the date is converted to a string. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation using the specified. + + The value to convert. + The format the date will be converted to. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + The string delimiter character. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + The string delimiter character. + The string escape handling. + A JSON string representation of the . + + + + Converts the to its JSON string representation. + + The value to convert. + A JSON string representation of the . + + + + Serializes the specified object to a JSON string. + + The object to serialize. + A JSON string representation of the object. + + + + Serializes the specified object to a JSON string using formatting. + + The object to serialize. + Indicates how the output should be formatted. + + A JSON string representation of the object. + + + + + Serializes the specified object to a JSON string using a collection of . + + The object to serialize. + A collection of converters used while serializing. + A JSON string representation of the object. + + + + Serializes the specified object to a JSON string using formatting and a collection of . + + The object to serialize. + Indicates how the output should be formatted. + A collection of converters used while serializing. + A JSON string representation of the object. + + + + Serializes the specified object to a JSON string using . + + The object to serialize. + The used to serialize the object. + If this is null, default serialization settings will be used. + + A JSON string representation of the object. + + + + + Serializes the specified object to a JSON string using a type, formatting and . + + The object to serialize. + The used to serialize the object. + If this is null, default serialization settings will be used. + + The type of the value being serialized. + This parameter is used when is to write out the type name if the type of the value does not match. + Specifying the type is optional. + + + A JSON string representation of the object. + + + + + Serializes the specified object to a JSON string using formatting and . + + The object to serialize. + Indicates how the output should be formatted. + The used to serialize the object. + If this is null, default serialization settings will be used. + + A JSON string representation of the object. + + + + + Serializes the specified object to a JSON string using a type, formatting and . + + The object to serialize. + Indicates how the output should be formatted. + The used to serialize the object. + If this is null, default serialization settings will be used. + + The type of the value being serialized. + This parameter is used when is to write out the type name if the type of the value does not match. + Specifying the type is optional. + + + A JSON string representation of the object. + + + + + Deserializes the JSON to a .NET object. + + The JSON to deserialize. + The deserialized object from the JSON string. + + + + Deserializes the JSON to a .NET object using . + + The JSON to deserialize. + + The used to deserialize the object. + If this is null, default serialization settings will be used. + + The deserialized object from the JSON string. + + + + Deserializes the JSON to the specified .NET type. + + The JSON to deserialize. + The of object being deserialized. + The deserialized object from the JSON string. + + + + Deserializes the JSON to the specified .NET type. + + The type of the object to deserialize to. + The JSON to deserialize. + The deserialized object from the JSON string. + + + + Deserializes the JSON to the given anonymous type. + + + The anonymous type to deserialize to. This can't be specified + traditionally and must be inferred from the anonymous type passed + as a parameter. + + The JSON to deserialize. + The anonymous type object. + The deserialized anonymous type from the JSON string. + + + + Deserializes the JSON to the given anonymous type using . + + + The anonymous type to deserialize to. This can't be specified + traditionally and must be inferred from the anonymous type passed + as a parameter. + + The JSON to deserialize. + The anonymous type object. + + The used to deserialize the object. + If this is null, default serialization settings will be used. + + The deserialized anonymous type from the JSON string. + + + + Deserializes the JSON to the specified .NET type using a collection of . + + The type of the object to deserialize to. + The JSON to deserialize. + Converters to use while deserializing. + The deserialized object from the JSON string. + + + + Deserializes the JSON to the specified .NET type using . + + The type of the object to deserialize to. + The object to deserialize. + + The used to deserialize the object. + If this is null, default serialization settings will be used. + + The deserialized object from the JSON string. + + + + Deserializes the JSON to the specified .NET type using a collection of . + + The JSON to deserialize. + The type of the object to deserialize. + Converters to use while deserializing. + The deserialized object from the JSON string. + + + + Deserializes the JSON to the specified .NET type using . + + The JSON to deserialize. + The type of the object to deserialize to. + + The used to deserialize the object. + If this is null, default serialization settings will be used. + + The deserialized object from the JSON string. + + + + Populates the object with values from the JSON string. + + The JSON to populate values from. + The target object to populate values onto. + + + + Populates the object with values from the JSON string using . + + The JSON to populate values from. + The target object to populate values onto. + + The used to deserialize the object. + If this is null, default serialization settings will be used. + + + + + Serializes the to a JSON string. + + The node to serialize. + A JSON string of the . + + + + Serializes the to a JSON string using formatting. + + The node to serialize. + Indicates how the output should be formatted. + A JSON string of the . + + + + Serializes the to a JSON string using formatting and omits the root object if is true. + + The node to serialize. + Indicates how the output should be formatted. + Omits writing the root object. + A JSON string of the . + + + + Deserializes the from a JSON string. + + The JSON string. + The deserialized . + + + + Deserializes the from a JSON string nested in a root element specified by . + + The JSON string. + The name of the root element to append when deserializing. + The deserialized . + + + + Deserializes the from a JSON string nested in a root element specified by + and writes a Json.NET array attribute for collections. + + The JSON string. + The name of the root element to append when deserializing. + + A value to indicate whether to write the Json.NET array attribute. + This attribute helps preserve arrays when converting the written XML back to JSON. + + The deserialized . + + + + Deserializes the from a JSON string nested in a root element specified by , + writes a Json.NET array attribute for collections, and encodes special characters. + + The JSON string. + The name of the root element to append when deserializing. + + A value to indicate whether to write the Json.NET array attribute. + This attribute helps preserve arrays when converting the written XML back to JSON. + + + A value to indicate whether to encode special characters when converting JSON to XML. + If true, special characters like ':', '@', '?', '#' and '$' in JSON property names aren't used to specify + XML namespaces, attributes or processing directives. Instead special characters are encoded and written + as part of the XML element name. + + The deserialized . + + + + Serializes the to a JSON string. + + The node to convert to JSON. + A JSON string of the . + + + + Serializes the to a JSON string using formatting. + + The node to convert to JSON. + Indicates how the output should be formatted. + A JSON string of the . + + + + Serializes the to a JSON string using formatting and omits the root object if is true. + + The node to serialize. + Indicates how the output should be formatted. + Omits writing the root object. + A JSON string of the . + + + + Deserializes the from a JSON string. + + The JSON string. + The deserialized . + + + + Deserializes the from a JSON string nested in a root element specified by . + + The JSON string. + The name of the root element to append when deserializing. + The deserialized . + + + + Deserializes the from a JSON string nested in a root element specified by + and writes a Json.NET array attribute for collections. + + The JSON string. + The name of the root element to append when deserializing. + + A value to indicate whether to write the Json.NET array attribute. + This attribute helps preserve arrays when converting the written XML back to JSON. + + The deserialized . + + + + Deserializes the from a JSON string nested in a root element specified by , + writes a Json.NET array attribute for collections, and encodes special characters. + + The JSON string. + The name of the root element to append when deserializing. + + A value to indicate whether to write the Json.NET array attribute. + This attribute helps preserve arrays when converting the written XML back to JSON. + + + A value to indicate whether to encode special characters when converting JSON to XML. + If true, special characters like ':', '@', '?', '#' and '$' in JSON property names aren't used to specify + XML namespaces, attributes or processing directives. Instead special characters are encoded and written + as part of the XML element name. + + The deserialized . + + + + Converts an object to and from JSON. + + + + + Writes the JSON representation of the object. + + The to write to. + The value. + The calling serializer. + + + + Reads the JSON representation of the object. + + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. + + + + Determines whether this instance can convert the specified object type. + + Type of the object. + + true if this instance can convert the specified object type; otherwise, false. + + + + + Gets a value indicating whether this can read JSON. + + true if this can read JSON; otherwise, false. + + + + Gets a value indicating whether this can write JSON. + + true if this can write JSON; otherwise, false. + + + + Converts an object to and from JSON. + + The object type to convert. + + + + Writes the JSON representation of the object. + + The to write to. + The value. + The calling serializer. + + + + Writes the JSON representation of the object. + + The to write to. + The value. + The calling serializer. + + + + Reads the JSON representation of the object. + + The to read from. + Type of the object. + The existing value of object being read. + The calling serializer. + The object value. + + + + Reads the JSON representation of the object. + + The to read from. + Type of the object. + The existing value of object being read. If there is no existing value then null will be used. + The existing value has a value. + The calling serializer. + The object value. + + + + Determines whether this instance can convert the specified object type. + + Type of the object. + + true if this instance can convert the specified object type; otherwise, false. + + + + + Instructs the to use the specified when serializing the member or class. + + + + + Gets the of the . + + The of the . + + + + The parameter list to use when constructing the described by . + If null, the default constructor is used. + + + + + Initializes a new instance of the class. + + Type of the . + + + + Initializes a new instance of the class. + + Type of the . + Parameter list to use when constructing the . Can be null. + + + + Represents a collection of . + + + + + Instructs the how to serialize the collection. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class with the specified container Id. + + The container Id. + + + + The exception thrown when an error occurs during JSON serialization or deserialization. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class + with a specified error message. + + The error message that explains the reason for the exception. + + + + Initializes a new instance of the class + with a specified error message and a reference to the inner exception that is the cause of this exception. + + The error message that explains the reason for the exception. + The exception that is the cause of the current exception, or null if no inner exception is specified. + + + + Initializes a new instance of the class. + + The that holds the serialized object data about the exception being thrown. + The that contains contextual information about the source or destination. + The parameter is null. + The class name is null or is zero (0). + + + + Instructs the to deserialize properties with no matching class member into the specified collection + and write values during serialization. + + + + + Gets or sets a value that indicates whether to write extension data when serializing the object. + + + true to write extension data when serializing the object; otherwise, false. The default is true. + + + + + Gets or sets a value that indicates whether to read extension data when deserializing the object. + + + true to read extension data when deserializing the object; otherwise, false. The default is true. + + + + + Initializes a new instance of the class. + + + + + Instructs the not to serialize the public field or public read/write property value. + + + + + Base class for a table of atomized string objects. + + + + + Gets a string containing the same characters as the specified range of characters in the given array. + + The character array containing the name to find. + The zero-based index into the array specifying the first character of the name. + The number of characters in the name. + A string containing the same characters as the specified range of characters in the given array. + + + + Instructs the how to serialize the object. + + + + + Gets or sets the member serialization. + + The member serialization. + + + + Gets or sets the missing member handling used when deserializing this object. + + The missing member handling. + + + + Gets or sets how the object's properties with null values are handled during serialization and deserialization. + + How the object's properties with null values are handled during serialization and deserialization. + + + + Gets or sets a value that indicates whether the object's properties are required. + + + A value indicating whether the object's properties are required. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class with the specified member serialization. + + The member serialization. + + + + Initializes a new instance of the class with the specified container Id. + + The container Id. + + + + Instructs the to always serialize the member with the specified name. + + + + + Gets or sets the type used when serializing the property's collection items. + + The collection's items type. + + + + The parameter list to use when constructing the described by . + If null, the default constructor is used. + When non-null, there must be a constructor defined in the that exactly matches the number, + order, and type of these parameters. + + + + [JsonProperty(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = new object[] { 123, "Four" })] + + + + + + Gets or sets the of the . + + The of the . + + + + The parameter list to use when constructing the described by . + If null, the default constructor is used. + When non-null, there must be a constructor defined in the that exactly matches the number, + order, and type of these parameters. + + + + [JsonProperty(NamingStrategyType = typeof(MyNamingStrategy), NamingStrategyParameters = new object[] { 123, "Four" })] + + + + + + Gets or sets the null value handling used when serializing this property. + + The null value handling. + + + + Gets or sets the default value handling used when serializing this property. + + The default value handling. + + + + Gets or sets the reference loop handling used when serializing this property. + + The reference loop handling. + + + + Gets or sets the object creation handling used when deserializing this property. + + The object creation handling. + + + + Gets or sets the type name handling used when serializing this property. + + The type name handling. + + + + Gets or sets whether this property's value is serialized as a reference. + + Whether this property's value is serialized as a reference. + + + + Gets or sets the order of serialization of a member. + + The numeric order of serialization. + + + + Gets or sets a value indicating whether this property is required. + + + A value indicating whether this property is required. + + + + + Gets or sets the name of the property. + + The name of the property. + + + + Gets or sets the reference loop handling used when serializing the property's collection items. + + The collection's items reference loop handling. + + + + Gets or sets the type name handling used when serializing the property's collection items. + + The collection's items type name handling. + + + + Gets or sets whether this property's collection items are serialized as a reference. + + Whether this property's collection items are serialized as a reference. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class with the specified name. + + Name of the property. + + + + Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. + + + + + Asynchronously reads the next JSON token from the source. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns true if the next token was read successfully; false if there are no more tokens to read. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asynchronicity. + + + + Asynchronously skips the children of the current token. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asynchronicity. + + + + Asynchronously reads the next JSON token from the source as a of . + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns the of . This result will be null at the end of an array. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asynchronicity. + + + + Asynchronously reads the next JSON token from the source as a []. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns the []. This result will be null at the end of an array. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asynchronicity. + + + + Asynchronously reads the next JSON token from the source as a of . + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns the of . This result will be null at the end of an array. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asynchronicity. + + + + Asynchronously reads the next JSON token from the source as a of . + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns the of . This result will be null at the end of an array. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asynchronicity. + + + + Asynchronously reads the next JSON token from the source as a of . + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns the of . This result will be null at the end of an array. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asynchronicity. + + + + Asynchronously reads the next JSON token from the source as a of . + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns the of . This result will be null at the end of an array. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asynchronicity. + + + + Asynchronously reads the next JSON token from the source as a of . + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns the of . This result will be null at the end of an array. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asynchronicity. + + + + Asynchronously reads the next JSON token from the source as a . + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns the . This result will be null at the end of an array. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asynchronicity. + + + + Specifies the state of the reader. + + + + + A read method has not been called. + + + + + The end of the file has been reached successfully. + + + + + Reader is at a property. + + + + + Reader is at the start of an object. + + + + + Reader is in an object. + + + + + Reader is at the start of an array. + + + + + Reader is in an array. + + + + + The method has been called. + + + + + Reader has just read a value. + + + + + Reader is at the start of a constructor. + + + + + Reader is in a constructor. + + + + + An error occurred that prevents the read operation from continuing. + + + + + The end of the file has been reached successfully. + + + + + Gets the current reader state. + + The current reader state. + + + + Gets or sets a value indicating whether the source should be closed when this reader is closed. + + + true to close the source when this reader is closed; otherwise false. The default is true. + + + + + Gets or sets a value indicating whether multiple pieces of JSON content can + be read from a continuous stream without erroring. + + + true to support reading multiple pieces of JSON content; otherwise false. + The default is false. + + + + + Gets the quotation mark character used to enclose the value of a string. + + + + + Gets or sets how time zones are handled when reading JSON. + + + + + Gets or sets how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. + + + + + Gets or sets how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. + + + + + Gets or sets how custom date formatted strings are parsed when reading JSON. + + + + + Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . + + + + + Gets the type of the current JSON token. + + + + + Gets the text value of the current JSON token. + + + + + Gets the .NET type for the current JSON token. + + + + + Gets the depth of the current token in the JSON document. + + The depth of the current token in the JSON document. + + + + Gets the path of the current JSON token. + + + + + Gets or sets the culture used when reading JSON. Defaults to . + + + + + Initializes a new instance of the class. + + + + + Reads the next JSON token from the source. + + true if the next token was read successfully; false if there are no more tokens to read. + + + + Reads the next JSON token from the source as a of . + + A of . This method will return null at the end of an array. + + + + Reads the next JSON token from the source as a . + + A . This method will return null at the end of an array. + + + + Reads the next JSON token from the source as a []. + + A [] or null if the next JSON token is null. This method will return null at the end of an array. + + + + Reads the next JSON token from the source as a of . + + A of . This method will return null at the end of an array. + + + + Reads the next JSON token from the source as a of . + + A of . This method will return null at the end of an array. + + + + Reads the next JSON token from the source as a of . + + A of . This method will return null at the end of an array. + + + + Reads the next JSON token from the source as a of . + + A of . This method will return null at the end of an array. + + + + Reads the next JSON token from the source as a of . + + A of . This method will return null at the end of an array. + + + + Skips the children of the current token. + + + + + Sets the current token. + + The new token. + + + + Sets the current token and value. + + The new token. + The value. + + + + Sets the current token and value. + + The new token. + The value. + A flag indicating whether the position index inside an array should be updated. + + + + Sets the state based on current token type. + + + + + Releases unmanaged and - optionally - managed resources. + + true to release both managed and unmanaged resources; false to release only unmanaged resources. + + + + Changes the reader's state to . + If is set to true, the source is also closed. + + + + + The exception thrown when an error occurs while reading JSON text. + + + + + Gets the line number indicating where the error occurred. + + The line number indicating where the error occurred. + + + + Gets the line position indicating where the error occurred. + + The line position indicating where the error occurred. + + + + Gets the path to the JSON where the error occurred. + + The path to the JSON where the error occurred. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class + with a specified error message. + + The error message that explains the reason for the exception. + + + + Initializes a new instance of the class + with a specified error message and a reference to the inner exception that is the cause of this exception. + + The error message that explains the reason for the exception. + The exception that is the cause of the current exception, or null if no inner exception is specified. + + + + Initializes a new instance of the class. + + The that holds the serialized object data about the exception being thrown. + The that contains contextual information about the source or destination. + The parameter is null. + The class name is null or is zero (0). + + + + Initializes a new instance of the class + with a specified error message, JSON path, line number, line position, and a reference to the inner exception that is the cause of this exception. + + The error message that explains the reason for the exception. + The path to the JSON where the error occurred. + The line number indicating where the error occurred. + The line position indicating where the error occurred. + The exception that is the cause of the current exception, or null if no inner exception is specified. + + + + Instructs the to always serialize the member, and to require that the member has a value. + + + + + The exception thrown when an error occurs during JSON serialization or deserialization. + + + + + Gets the line number indicating where the error occurred. + + The line number indicating where the error occurred. + + + + Gets the line position indicating where the error occurred. + + The line position indicating where the error occurred. + + + + Gets the path to the JSON where the error occurred. + + The path to the JSON where the error occurred. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class + with a specified error message. + + The error message that explains the reason for the exception. + + + + Initializes a new instance of the class + with a specified error message and a reference to the inner exception that is the cause of this exception. + + The error message that explains the reason for the exception. + The exception that is the cause of the current exception, or null if no inner exception is specified. + + + + Initializes a new instance of the class. + + The that holds the serialized object data about the exception being thrown. + The that contains contextual information about the source or destination. + The parameter is null. + The class name is null or is zero (0). + + + + Initializes a new instance of the class + with a specified error message, JSON path, line number, line position, and a reference to the inner exception that is the cause of this exception. + + The error message that explains the reason for the exception. + The path to the JSON where the error occurred. + The line number indicating where the error occurred. + The line position indicating where the error occurred. + The exception that is the cause of the current exception, or null if no inner exception is specified. + + + + Serializes and deserializes objects into and from the JSON format. + The enables you to control how objects are encoded into JSON. + + + + + Occurs when the errors during serialization and deserialization. + + + + + Gets or sets the used by the serializer when resolving references. + + + + + Gets or sets the used by the serializer when resolving type names. + + + + + Gets or sets the used by the serializer when resolving type names. + + + + + Gets or sets the used by the serializer when writing trace messages. + + The trace writer. + + + + Gets or sets the equality comparer used by the serializer when comparing references. + + The equality comparer. + + + + Gets or sets how type name writing and reading is handled by the serializer. + The default value is . + + + should be used with caution when your application deserializes JSON from an external source. + Incoming types should be validated with a custom + when deserializing with a value other than . + + + + + Gets or sets how a type name assembly is written and resolved by the serializer. + The default value is . + + The type name assembly format. + + + + Gets or sets how a type name assembly is written and resolved by the serializer. + The default value is . + + The type name assembly format. + + + + Gets or sets how object references are preserved by the serializer. + The default value is . + + + + + Gets or sets how reference loops (e.g. a class referencing itself) is handled. + The default value is . + + + + + Gets or sets how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization. + The default value is . + + + + + Gets or sets how null values are handled during serialization and deserialization. + The default value is . + + + + + Gets or sets how default values are handled during serialization and deserialization. + The default value is . + + + + + Gets or sets how objects are created during deserialization. + The default value is . + + The object creation handling. + + + + Gets or sets how constructors are used during deserialization. + The default value is . + + The constructor handling. + + + + Gets or sets how metadata properties are used during deserialization. + The default value is . + + The metadata properties handling. + + + + Gets a collection that will be used during serialization. + + Collection that will be used during serialization. + + + + Gets or sets the contract resolver used by the serializer when + serializing .NET objects to JSON and vice versa. + + + + + Gets or sets the used by the serializer when invoking serialization callback methods. + + The context. + + + + Indicates how JSON text output is formatted. + The default value is . + + + + + Gets or sets how dates are written to JSON text. + The default value is . + + + + + Gets or sets how time zones are handled during serialization and deserialization. + The default value is . + + + + + Gets or sets how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. + The default value is . + + + + + Gets or sets how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. + The default value is . + + + + + Gets or sets how special floating point numbers, e.g. , + and , + are written as JSON text. + The default value is . + + + + + Gets or sets how strings are escaped when writing JSON text. + The default value is . + + + + + Gets or sets how and values are formatted when writing JSON text, + and the expected date format when reading JSON text. + The default value is "yyyy'-'MM'-'dd'T'HH':'mm':'ss.FFFFFFFK". + + + + + Gets or sets the culture used when reading JSON. + The default value is . + + + + + Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . + A null value means there is no maximum. + The default value is null. + + + + + Gets a value indicating whether there will be a check for additional JSON content after deserializing an object. + The default value is false. + + + true if there will be a check for additional JSON content after deserializing an object; otherwise, false. + + + + + Initializes a new instance of the class. + + + + + Creates a new instance. + The will not use default settings + from . + + + A new instance. + The will not use default settings + from . + + + + + Creates a new instance using the specified . + The will not use default settings + from . + + The settings to be applied to the . + + A new instance using the specified . + The will not use default settings + from . + + + + + Creates a new instance. + The will use default settings + from . + + + A new instance. + The will use default settings + from . + + + + + Creates a new instance using the specified . + The will use default settings + from as well as the specified . + + The settings to be applied to the . + + A new instance using the specified . + The will use default settings + from as well as the specified . + + + + + Populates the JSON values onto the target object. + + The that contains the JSON structure to read values from. + The target object to populate values onto. + + + + Populates the JSON values onto the target object. + + The that contains the JSON structure to read values from. + The target object to populate values onto. + + + + Deserializes the JSON structure contained by the specified . + + The that contains the JSON structure to deserialize. + The being deserialized. + + + + Deserializes the JSON structure contained by the specified + into an instance of the specified type. + + The containing the object. + The of object being deserialized. + The instance of being deserialized. + + + + Deserializes the JSON structure contained by the specified + into an instance of the specified type. + + The containing the object. + The type of the object to deserialize. + The instance of being deserialized. + + + + Deserializes the JSON structure contained by the specified + into an instance of the specified type. + + The containing the object. + The of object being deserialized. + The instance of being deserialized. + + + + Serializes the specified and writes the JSON structure + using the specified . + + The used to write the JSON structure. + The to serialize. + + + + Serializes the specified and writes the JSON structure + using the specified . + + The used to write the JSON structure. + The to serialize. + + The type of the value being serialized. + This parameter is used when is to write out the type name if the type of the value does not match. + Specifying the type is optional. + + + + + Serializes the specified and writes the JSON structure + using the specified . + + The used to write the JSON structure. + The to serialize. + + The type of the value being serialized. + This parameter is used when is Auto to write out the type name if the type of the value does not match. + Specifying the type is optional. + + + + + Serializes the specified and writes the JSON structure + using the specified . + + The used to write the JSON structure. + The to serialize. + + + + Specifies the settings on a object. + + + + + Gets or sets how reference loops (e.g. a class referencing itself) are handled. + The default value is . + + Reference loop handling. + + + + Gets or sets how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization. + The default value is . + + Missing member handling. + + + + Gets or sets how objects are created during deserialization. + The default value is . + + The object creation handling. + + + + Gets or sets how null values are handled during serialization and deserialization. + The default value is . + + Null value handling. + + + + Gets or sets how default values are handled during serialization and deserialization. + The default value is . + + The default value handling. + + + + Gets or sets a collection that will be used during serialization. + + The converters. + + + + Gets or sets how object references are preserved by the serializer. + The default value is . + + The preserve references handling. + + + + Gets or sets how type name writing and reading is handled by the serializer. + The default value is . + + + should be used with caution when your application deserializes JSON from an external source. + Incoming types should be validated with a custom + when deserializing with a value other than . + + The type name handling. + + + + Gets or sets how metadata properties are used during deserialization. + The default value is . + + The metadata properties handling. + + + + Gets or sets how a type name assembly is written and resolved by the serializer. + The default value is . + + The type name assembly format. + + + + Gets or sets how a type name assembly is written and resolved by the serializer. + The default value is . + + The type name assembly format. + + + + Gets or sets how constructors are used during deserialization. + The default value is . + + The constructor handling. + + + + Gets or sets the contract resolver used by the serializer when + serializing .NET objects to JSON and vice versa. + + The contract resolver. + + + + Gets or sets the equality comparer used by the serializer when comparing references. + + The equality comparer. + + + + Gets or sets the used by the serializer when resolving references. + + The reference resolver. + + + + Gets or sets a function that creates the used by the serializer when resolving references. + + A function that creates the used by the serializer when resolving references. + + + + Gets or sets the used by the serializer when writing trace messages. + + The trace writer. + + + + Gets or sets the used by the serializer when resolving type names. + + The binder. + + + + Gets or sets the used by the serializer when resolving type names. + + The binder. + + + + Gets or sets the error handler called during serialization and deserialization. + + The error handler called during serialization and deserialization. + + + + Gets or sets the used by the serializer when invoking serialization callback methods. + + The context. + + + + Gets or sets how and values are formatted when writing JSON text, + and the expected date format when reading JSON text. + The default value is "yyyy'-'MM'-'dd'T'HH':'mm':'ss.FFFFFFFK". + + + + + Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . + A null value means there is no maximum. + The default value is null. + + + + + Indicates how JSON text output is formatted. + The default value is . + + + + + Gets or sets how dates are written to JSON text. + The default value is . + + + + + Gets or sets how time zones are handled during serialization and deserialization. + The default value is . + + + + + Gets or sets how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. + The default value is . + + + + + Gets or sets how special floating point numbers, e.g. , + and , + are written as JSON. + The default value is . + + + + + Gets or sets how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. + The default value is . + + + + + Gets or sets how strings are escaped when writing JSON text. + The default value is . + + + + + Gets or sets the culture used when reading JSON. + The default value is . + + + + + Gets a value indicating whether there will be a check for additional content after deserializing an object. + The default value is false. + + + true if there will be a check for additional content after deserializing an object; otherwise, false. + + + + + Initializes a new instance of the class. + + + + + Represents a reader that provides fast, non-cached, forward-only access to JSON text data. + + + + + Asynchronously reads the next JSON token from the source. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns true if the next token was read successfully; false if there are no more tokens to read. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously reads the next JSON token from the source as a of . + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns the of . This result will be null at the end of an array. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously reads the next JSON token from the source as a []. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns the []. This result will be null at the end of an array. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously reads the next JSON token from the source as a of . + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns the of . This result will be null at the end of an array. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously reads the next JSON token from the source as a of . + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns the of . This result will be null at the end of an array. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously reads the next JSON token from the source as a of . + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns the of . This result will be null at the end of an array. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously reads the next JSON token from the source as a of . + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns the of . This result will be null at the end of an array. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously reads the next JSON token from the source as a of . + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns the of . This result will be null at the end of an array. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously reads the next JSON token from the source as a . + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous read. The + property returns the . This result will be null at the end of an array. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Initializes a new instance of the class with the specified . + + The containing the JSON data to read. + + + + Gets or sets the reader's property name table. + + + + + Gets or sets the reader's character buffer pool. + + + + + Reads the next JSON token from the underlying . + + + true if the next token was read successfully; false if there are no more tokens to read. + + + + + Reads the next JSON token from the underlying as a of . + + A of . This method will return null at the end of an array. + + + + Reads the next JSON token from the underlying as a of . + + A of . This method will return null at the end of an array. + + + + Reads the next JSON token from the underlying as a . + + A . This method will return null at the end of an array. + + + + Reads the next JSON token from the underlying as a []. + + A [] or null if the next JSON token is null. This method will return null at the end of an array. + + + + Reads the next JSON token from the underlying as a of . + + A of . This method will return null at the end of an array. + + + + Reads the next JSON token from the underlying as a of . + + A of . This method will return null at the end of an array. + + + + Reads the next JSON token from the underlying as a of . + + A of . This method will return null at the end of an array. + + + + Reads the next JSON token from the underlying as a of . + + A of . This method will return null at the end of an array. + + + + Changes the reader's state to . + If is set to true, the underlying is also closed. + + + + + Gets a value indicating whether the class can return line information. + + + true if and can be provided; otherwise, false. + + + + + Gets the current line number. + + + The current line number or 0 if no line information is available (for example, returns false). + + + + + Gets the current line position. + + + The current line position or 0 if no line information is available (for example, returns false). + + + + + Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. + + + + + Asynchronously flushes whatever is in the buffer to the destination and also flushes the destination. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes the JSON value delimiter. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes the specified end token. + + The end token to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously closes this writer. + If is set to true, the destination is also closed. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes the end of the current JSON object or array. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes indent characters. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes an indent space. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes raw JSON without changing the writer's state. + + The raw JSON to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a null value. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes the property name of a name/value pair of a JSON object. + + The name of the property. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes the property name of a name/value pair of a JSON object. + + The name of the property. + A flag to indicate whether the text should be escaped when it is written as a JSON property name. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes the beginning of a JSON array. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes the beginning of a JSON object. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes the start of a constructor with the given name. + + The name of the constructor. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes an undefined value. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes the given white space. + + The string of white space characters. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a [] value. + + The [] value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes a comment /*...*/ containing the specified text. + + Text to place inside the comment. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes the end of an array. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes the end of a constructor. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes the end of a JSON object. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Asynchronously writes raw JSON where a value is expected and updates the writer's state. + + The raw JSON to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + Derived classes must override this method to get asynchronous behaviour. Otherwise it will + execute synchronously, returning an already-completed task. + + + + Gets or sets the writer's character array pool. + + + + + Gets or sets how many s to write for each level in the hierarchy when is set to . + + + + + Gets or sets which character to use to quote attribute values. + + + + + Gets or sets which character to use for indenting when is set to . + + + + + Gets or sets a value indicating whether object names will be surrounded with quotes. + + + + + Initializes a new instance of the class using the specified . + + The to write to. + + + + Flushes whatever is in the buffer to the underlying and also flushes the underlying . + + + + + Closes this writer. + If is set to true, the underlying is also closed. + If is set to true, the JSON is auto-completed. + + + + + Writes the beginning of a JSON object. + + + + + Writes the beginning of a JSON array. + + + + + Writes the start of a constructor with the given name. + + The name of the constructor. + + + + Writes the specified end token. + + The end token to write. + + + + Writes the property name of a name/value pair on a JSON object. + + The name of the property. + + + + Writes the property name of a name/value pair on a JSON object. + + The name of the property. + A flag to indicate whether the text should be escaped when it is written as a JSON property name. + + + + Writes indent characters. + + + + + Writes the JSON value delimiter. + + + + + Writes an indent space. + + + + + Writes a value. + An error will raised if the value cannot be written as a single JSON token. + + The value to write. + + + + Writes a null value. + + + + + Writes an undefined value. + + + + + Writes raw JSON. + + The raw JSON to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a of value. + + The of value to write. + + + + Writes a value. + + The value to write. + + + + Writes a of value. + + The of value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a [] value. + + The [] value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a comment /*...*/ containing the specified text. + + Text to place inside the comment. + + + + Writes the given white space. + + The string of white space characters. + + + + Specifies the type of JSON token. + + + + + This is returned by the if a read method has not been called. + + + + + An object start token. + + + + + An array start token. + + + + + A constructor start token. + + + + + An object property name. + + + + + A comment. + + + + + Raw JSON. + + + + + An integer. + + + + + A float. + + + + + A string. + + + + + A boolean. + + + + + A null token. + + + + + An undefined token. + + + + + An object end token. + + + + + An array end token. + + + + + A constructor end token. + + + + + A Date. + + + + + Byte data. + + + + + + Represents a reader that provides validation. + + + JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details. + + + + + + Sets an event handler for receiving schema validation errors. + + + + + Gets the text value of the current JSON token. + + + + + + Gets the depth of the current token in the JSON document. + + The depth of the current token in the JSON document. + + + + Gets the path of the current JSON token. + + + + + Gets the quotation mark character used to enclose the value of a string. + + + + + + Gets the type of the current JSON token. + + + + + + Gets the .NET type for the current JSON token. + + + + + + Initializes a new instance of the class that + validates the content returned from the given . + + The to read from while validating. + + + + Gets or sets the schema. + + The schema. + + + + Gets the used to construct this . + + The specified in the constructor. + + + + Changes the reader's state to . + If is set to true, the underlying is also closed. + + + + + Reads the next JSON token from the underlying as a of . + + A of . + + + + Reads the next JSON token from the underlying as a []. + + + A [] or null if the next JSON token is null. + + + + + Reads the next JSON token from the underlying as a of . + + A of . + + + + Reads the next JSON token from the underlying as a of . + + A of . + + + + Reads the next JSON token from the underlying as a of . + + A of . + + + + Reads the next JSON token from the underlying as a . + + A . This method will return null at the end of an array. + + + + Reads the next JSON token from the underlying as a of . + + A of . This method will return null at the end of an array. + + + + Reads the next JSON token from the underlying as a of . + + A of . + + + + Reads the next JSON token from the underlying . + + + true if the next token was read successfully; false if there are no more tokens to read. + + + + + Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. + + + + + Asynchronously closes this writer. + If is set to true, the destination is also closed. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asynchronicity. + + + + Asynchronously flushes whatever is in the buffer to the destination and also flushes the destination. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asynchronicity. + + + + Asynchronously writes the specified end token. + + The end token to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asynchronicity. + + + + Asynchronously writes indent characters. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asynchronicity. + + + + Asynchronously writes the JSON value delimiter. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asynchronicity. + + + + Asynchronously writes an indent space. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asynchronicity. + + + + Asynchronously writes raw JSON without changing the writer's state. + + The raw JSON to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asynchronicity. + + + + Asynchronously writes the end of the current JSON object or array. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asynchronicity. + + + + Asynchronously writes the end of an array. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asynchronicity. + + + + Asynchronously writes the end of a constructor. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asynchronicity. + + + + Asynchronously writes the end of a JSON object. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asynchronicity. + + + + Asynchronously writes a null value. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asynchronicity. + + + + Asynchronously writes the property name of a name/value pair of a JSON object. + + The name of the property. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asynchronicity. + + + + Asynchronously writes the property name of a name/value pair of a JSON object. + + The name of the property. + A flag to indicate whether the text should be escaped when it is written as a JSON property name. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asynchronicity. + + + + Asynchronously writes the beginning of a JSON array. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asynchronicity. + + + + Asynchronously writes a comment /*...*/ containing the specified text. + + Text to place inside the comment. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asynchronicity. + + + + Asynchronously writes raw JSON where a value is expected and updates the writer's state. + + The raw JSON to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asynchronicity. + + + + Asynchronously writes the start of a constructor with the given name. + + The name of the constructor. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asynchronicity. + + + + Asynchronously writes the beginning of a JSON object. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asynchronicity. + + + + Asynchronously writes the current token. + + The to read the token from. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asynchronicity. + + + + Asynchronously writes the current token. + + The to read the token from. + A flag indicating whether the current token's children should be written. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asynchronicity. + + + + Asynchronously writes the token and its value. + + The to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asynchronicity. + + + + Asynchronously writes the token and its value. + + The to write. + + The value to write. + A value is only required for tokens that have an associated value, e.g. the property name for . + null can be passed to the method for tokens that don't have a value, e.g. . + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asynchronicity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asynchronicity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asynchronicity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asynchronicity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asynchronicity. + + + + Asynchronously writes a [] value. + + The [] value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asynchronicity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asynchronicity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asynchronicity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asynchronicity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asynchronicity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asynchronicity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asynchronicity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asynchronicity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asynchronicity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asynchronicity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asynchronicity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asynchronicity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asynchronicity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asynchronicity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asynchronicity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asynchronicity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asynchronicity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asynchronicity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asynchronicity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asynchronicity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asynchronicity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asynchronicity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asynchronicity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asynchronicity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asynchronicity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asynchronicity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asynchronicity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asynchronicity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asynchronicity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asynchronicity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asynchronicity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asynchronicity. + + + + Asynchronously writes a value. + + The value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asynchronicity. + + + + Asynchronously writes a of value. + + The of value to write. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asynchronicity. + + + + Asynchronously writes an undefined value. + + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asynchronicity. + + + + Asynchronously writes the given white space. + + The string of white space characters. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asynchronicity. + + + + Asynchronously ets the state of the . + + The being written. + The value being written. + The token to monitor for cancellation requests. The default value is . + A that represents the asynchronous operation. + The default behaviour is to execute synchronously, returning an already-completed task. Derived + classes can override this behaviour for true asynchronicity. + + + + Gets or sets a value indicating whether the destination should be closed when this writer is closed. + + + true to close the destination when this writer is closed; otherwise false. The default is true. + + + + + Gets or sets a value indicating whether the JSON should be auto-completed when this writer is closed. + + + true to auto-complete the JSON when this writer is closed; otherwise false. The default is true. + + + + + Gets the top. + + The top. + + + + Gets the state of the writer. + + + + + Gets the path of the writer. + + + + + Gets or sets a value indicating how JSON text output should be formatted. + + + + + Gets or sets how dates are written to JSON text. + + + + + Gets or sets how time zones are handled when writing JSON text. + + + + + Gets or sets how strings are escaped when writing JSON text. + + + + + Gets or sets how special floating point numbers, e.g. , + and , + are written to JSON text. + + + + + Gets or sets how and values are formatted when writing JSON text. + + + + + Gets or sets the culture used when writing JSON. Defaults to . + + + + + Initializes a new instance of the class. + + + + + Flushes whatever is in the buffer to the destination and also flushes the destination. + + + + + Closes this writer. + If is set to true, the destination is also closed. + If is set to true, the JSON is auto-completed. + + + + + Writes the beginning of a JSON object. + + + + + Writes the end of a JSON object. + + + + + Writes the beginning of a JSON array. + + + + + Writes the end of an array. + + + + + Writes the start of a constructor with the given name. + + The name of the constructor. + + + + Writes the end constructor. + + + + + Writes the property name of a name/value pair of a JSON object. + + The name of the property. + + + + Writes the property name of a name/value pair of a JSON object. + + The name of the property. + A flag to indicate whether the text should be escaped when it is written as a JSON property name. + + + + Writes the end of the current JSON object or array. + + + + + Writes the current token and its children. + + The to read the token from. + + + + Writes the current token. + + The to read the token from. + A flag indicating whether the current token's children should be written. + + + + Writes the token and its value. + + The to write. + + The value to write. + A value is only required for tokens that have an associated value, e.g. the property name for . + null can be passed to the method for tokens that don't have a value, e.g. . + + + + + Writes the token. + + The to write. + + + + Writes the specified end token. + + The end token to write. + + + + Writes indent characters. + + + + + Writes the JSON value delimiter. + + + + + Writes an indent space. + + + + + Writes a null value. + + + + + Writes an undefined value. + + + + + Writes raw JSON without changing the writer's state. + + The raw JSON to write. + + + + Writes raw JSON where a value is expected and updates the writer's state. + + The raw JSON to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a of value. + + The of value to write. + + + + Writes a of value. + + The of value to write. + + + + Writes a of value. + + The of value to write. + + + + Writes a of value. + + The of value to write. + + + + Writes a of value. + + The of value to write. + + + + Writes a of value. + + The of value to write. + + + + Writes a of value. + + The of value to write. + + + + Writes a of value. + + The of value to write. + + + + Writes a of value. + + The of value to write. + + + + Writes a of value. + + The of value to write. + + + + Writes a of value. + + The of value to write. + + + + Writes a of value. + + The of value to write. + + + + Writes a of value. + + The of value to write. + + + + Writes a of value. + + The of value to write. + + + + Writes a of value. + + The of value to write. + + + + Writes a of value. + + The of value to write. + + + + Writes a of value. + + The of value to write. + + + + Writes a [] value. + + The [] value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + An error will raised if the value cannot be written as a single JSON token. + + The value to write. + + + + Writes a comment /*...*/ containing the specified text. + + Text to place inside the comment. + + + + Writes the given white space. + + The string of white space characters. + + + + Releases unmanaged and - optionally - managed resources. + + true to release both managed and unmanaged resources; false to release only unmanaged resources. + + + + Sets the state of the . + + The being written. + The value being written. + + + + The exception thrown when an error occurs while writing JSON text. + + + + + Gets the path to the JSON where the error occurred. + + The path to the JSON where the error occurred. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class + with a specified error message. + + The error message that explains the reason for the exception. + + + + Initializes a new instance of the class + with a specified error message and a reference to the inner exception that is the cause of this exception. + + The error message that explains the reason for the exception. + The exception that is the cause of the current exception, or null if no inner exception is specified. + + + + Initializes a new instance of the class. + + The that holds the serialized object data about the exception being thrown. + The that contains contextual information about the source or destination. + The parameter is null. + The class name is null or is zero (0). + + + + Initializes a new instance of the class + with a specified error message, JSON path and a reference to the inner exception that is the cause of this exception. + + The error message that explains the reason for the exception. + The path to the JSON where the error occurred. + The exception that is the cause of the current exception, or null if no inner exception is specified. + + + + Specifies how JSON comments are handled when loading JSON. + + + + + Ignore comments. + + + + + Load comments as a with type . + + + + + Specifies how duplicate property names are handled when loading JSON. + + + + + Replace the existing value when there is a duplicate property. The value of the last property in the JSON object will be used. + + + + + Ignore the new value when there is a duplicate property. The value of the first property in the JSON object will be used. + + + + + Throw a when a duplicate property is encountered. + + + + + Contains the LINQ to JSON extension methods. + + + + + Returns a collection of tokens that contains the ancestors of every token in the source collection. + + The type of the objects in source, constrained to . + An of that contains the source collection. + An of that contains the ancestors of every token in the source collection. + + + + Returns a collection of tokens that contains every token in the source collection, and the ancestors of every token in the source collection. + + The type of the objects in source, constrained to . + An of that contains the source collection. + An of that contains every token in the source collection, the ancestors of every token in the source collection. + + + + Returns a collection of tokens that contains the descendants of every token in the source collection. + + The type of the objects in source, constrained to . + An of that contains the source collection. + An of that contains the descendants of every token in the source collection. + + + + Returns a collection of tokens that contains every token in the source collection, and the descendants of every token in the source collection. + + The type of the objects in source, constrained to . + An of that contains the source collection. + An of that contains every token in the source collection, and the descendants of every token in the source collection. + + + + Returns a collection of child properties of every object in the source collection. + + An of that contains the source collection. + An of that contains the properties of every object in the source collection. + + + + Returns a collection of child values of every object in the source collection with the given key. + + An of that contains the source collection. + The token key. + An of that contains the values of every token in the source collection with the given key. + + + + Returns a collection of child values of every object in the source collection. + + An of that contains the source collection. + An of that contains the values of every token in the source collection. + + + + Returns a collection of converted child values of every object in the source collection with the given key. + + The type to convert the values to. + An of that contains the source collection. + The token key. + An that contains the converted values of every token in the source collection with the given key. + + + + Returns a collection of converted child values of every object in the source collection. + + The type to convert the values to. + An of that contains the source collection. + An that contains the converted values of every token in the source collection. + + + + Converts the value. + + The type to convert the value to. + A cast as a of . + A converted value. + + + + Converts the value. + + The source collection type. + The type to convert the value to. + A cast as a of . + A converted value. + + + + Returns a collection of child tokens of every array in the source collection. + + The source collection type. + An of that contains the source collection. + An of that contains the values of every token in the source collection. + + + + Returns a collection of converted child tokens of every array in the source collection. + + An of that contains the source collection. + The type to convert the values to. + The source collection type. + An that contains the converted values of every token in the source collection. + + + + Returns the input typed as . + + An of that contains the source collection. + The input typed as . + + + + Returns the input typed as . + + The source collection type. + An of that contains the source collection. + The input typed as . + + + + Represents a collection of objects. + + The type of token. + + + + Gets the of with the specified key. + + + + + + Represents a JSON array. + + + + + + + + Writes this token to a asynchronously. + + A into which this method will write. + The token to monitor for cancellation requests. + A collection of which will be used when writing the token. + A that represents the asynchronous write operation. + + + + Asynchronously loads a from a . + + A that will be read for the content of the . + If this is null, default load settings will be used. + The token to monitor for cancellation requests. The default value is . + A representing the asynchronous load. The property contains the JSON that was read from the specified . + + + + Asynchronously loads a from a . + + A that will be read for the content of the . + The used to load the JSON. + If this is null, default load settings will be used. + The token to monitor for cancellation requests. The default value is . + A representing the asynchronous load. The property contains the JSON that was read from the specified . + + + + Gets the container's children tokens. + + The container's children tokens. + + + + Gets the node type for this . + + The type. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class from another object. + + A object to copy from. + + + + Initializes a new instance of the class with the specified content. + + The contents of the array. + + + + Initializes a new instance of the class with the specified content. + + The contents of the array. + + + + Loads an from a . + + A that will be read for the content of the . + A that contains the JSON that was read from the specified . + + + + Loads an from a . + + A that will be read for the content of the . + The used to load the JSON. + If this is null, default load settings will be used. + A that contains the JSON that was read from the specified . + + + + Load a from a string that contains JSON. + + A that contains JSON. + A populated from the string that contains JSON. + + + + + + + Load a from a string that contains JSON. + + A that contains JSON. + The used to load the JSON. + If this is null, default load settings will be used. + A populated from the string that contains JSON. + + + + + + + Creates a from an object. + + The object that will be used to create . + A with the values of the specified object. + + + + Creates a from an object. + + The object that will be used to create . + The that will be used to read the object. + A with the values of the specified object. + + + + Writes this token to a . + + A into which this method will write. + A collection of which will be used when writing the token. + + + + Gets the with the specified key. + + The with the specified key. + + + + Gets or sets the at the specified index. + + + + + + Determines the index of a specific item in the . + + The object to locate in the . + + The index of if found in the list; otherwise, -1. + + + + + Inserts an item to the at the specified index. + + The zero-based index at which should be inserted. + The object to insert into the . + + is not a valid index in the . + + + + + Removes the item at the specified index. + + The zero-based index of the item to remove. + + is not a valid index in the . + + + + + Returns an enumerator that iterates through the collection. + + + A of that can be used to iterate through the collection. + + + + + Adds an item to the . + + The object to add to the . + + + + Removes all items from the . + + + + + Determines whether the contains a specific value. + + The object to locate in the . + + true if is found in the ; otherwise, false. + + + + + Copies the elements of the to an array, starting at a particular array index. + + The array. + Index of the array. + + + + Gets a value indicating whether the is read-only. + + true if the is read-only; otherwise, false. + + + + Removes the first occurrence of a specific object from the . + + The object to remove from the . + + true if was successfully removed from the ; otherwise, false. This method also returns false if is not found in the original . + + + + + Represents a JSON constructor. + + + + + Writes this token to a asynchronously. + + A into which this method will write. + The token to monitor for cancellation requests. + A collection of which will be used when writing the token. + A that represents the asynchronous write operation. + + + + Asynchronously loads a from a . + + A that will be read for the content of the . + The token to monitor for cancellation requests. The default value is . + + A that represents the asynchronous load. The + property returns a that contains the JSON that was read from the specified . + + + + Asynchronously loads a from a . + + A that will be read for the content of the . + The used to load the JSON. + If this is null, default load settings will be used. + The token to monitor for cancellation requests. The default value is . + + A that represents the asynchronous load. The + property returns a that contains the JSON that was read from the specified . + + + + Gets the container's children tokens. + + The container's children tokens. + + + + Gets or sets the name of this constructor. + + The constructor name. + + + + Gets the node type for this . + + The type. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class from another object. + + A object to copy from. + + + + Initializes a new instance of the class with the specified name and content. + + The constructor name. + The contents of the constructor. + + + + Initializes a new instance of the class with the specified name and content. + + The constructor name. + The contents of the constructor. + + + + Initializes a new instance of the class with the specified name. + + The constructor name. + + + + Writes this token to a . + + A into which this method will write. + A collection of which will be used when writing the token. + + + + Gets the with the specified key. + + The with the specified key. + + + + Loads a from a . + + A that will be read for the content of the . + A that contains the JSON that was read from the specified . + + + + Loads a from a . + + A that will be read for the content of the . + The used to load the JSON. + If this is null, default load settings will be used. + A that contains the JSON that was read from the specified . + + + + Represents a token that can contain other tokens. + + + + + Occurs when the list changes or an item in the list changes. + + + + + Occurs before an item is added to the collection. + + + + + Occurs when the items list of the collection has changed, or the collection is reset. + + + + + Gets the container's children tokens. + + The container's children tokens. + + + + Raises the event. + + The instance containing the event data. + + + + Raises the event. + + The instance containing the event data. + + + + Raises the event. + + The instance containing the event data. + + + + Gets a value indicating whether this token has child tokens. + + + true if this token has child values; otherwise, false. + + + + + Get the first child token of this token. + + + A containing the first child token of the . + + + + + Get the last child token of this token. + + + A containing the last child token of the . + + + + + Returns a collection of the child tokens of this token, in document order. + + + An of containing the child tokens of this , in document order. + + + + + Returns a collection of the child values of this token, in document order. + + The type to convert the values to. + + A containing the child values of this , in document order. + + + + + Returns a collection of the descendant tokens for this token in document order. + + An of containing the descendant tokens of the . + + + + Returns a collection of the tokens that contain this token, and all descendant tokens of this token, in document order. + + An of containing this token, and all the descendant tokens of the . + + + + Adds the specified content as children of this . + + The content to be added. + + + + Adds the specified content as the first children of this . + + The content to be added. + + + + Creates a that can be used to add tokens to the . + + A that is ready to have content written to it. + + + + Replaces the child nodes of this token with the specified content. + + The content. + + + + Removes the child nodes from this token. + + + + + Merge the specified content into this . + + The content to be merged. + + + + Merge the specified content into this using . + + The content to be merged. + The used to merge the content. + + + + Gets the count of child JSON tokens. + + The count of child JSON tokens. + + + + Represents a collection of objects. + + The type of token. + + + + An empty collection of objects. + + + + + Initializes a new instance of the struct. + + The enumerable. + + + + Returns an enumerator that can be used to iterate through the collection. + + + A that can be used to iterate through the collection. + + + + + Gets the of with the specified key. + + + + + + Determines whether the specified is equal to this instance. + + The to compare with this instance. + + true if the specified is equal to this instance; otherwise, false. + + + + + Determines whether the specified is equal to this instance. + + The to compare with this instance. + + true if the specified is equal to this instance; otherwise, false. + + + + + Returns a hash code for this instance. + + + A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. + + + + + Represents a JSON object. + + + + + + + + Writes this token to a asynchronously. + + A into which this method will write. + The token to monitor for cancellation requests. + A collection of which will be used when writing the token. + A that represents the asynchronous write operation. + + + + Asynchronously loads a from a . + + A that will be read for the content of the . + The token to monitor for cancellation requests. The default value is . + + A that represents the asynchronous load. The + property returns a that contains the JSON that was read from the specified . + + + + Asynchronously loads a from a . + + A that will be read for the content of the . + The used to load the JSON. + If this is null, default load settings will be used. + The token to monitor for cancellation requests. The default value is . + + A that represents the asynchronous load. The + property returns a that contains the JSON that was read from the specified . + + + + Gets the container's children tokens. + + The container's children tokens. + + + + Occurs when a property value changes. + + + + + Occurs when a property value is changing. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class from another object. + + A object to copy from. + + + + Initializes a new instance of the class with the specified content. + + The contents of the object. + + + + Initializes a new instance of the class with the specified content. + + The contents of the object. + + + + Gets the node type for this . + + The type. + + + + Gets an of of this object's properties. + + An of of this object's properties. + + + + Gets a with the specified name. + + The property name. + A with the specified name or null. + + + + Gets the with the specified name. + The exact name will be searched for first and if no matching property is found then + the will be used to match a property. + + The property name. + One of the enumeration values that specifies how the strings will be compared. + A matched with the specified name or null. + + + + Gets a of of this object's property values. + + A of of this object's property values. + + + + Gets the with the specified key. + + The with the specified key. + + + + Gets or sets the with the specified property name. + + + + + + Loads a from a . + + A that will be read for the content of the . + A that contains the JSON that was read from the specified . + + is not valid JSON. + + + + + Loads a from a . + + A that will be read for the content of the . + The used to load the JSON. + If this is null, default load settings will be used. + A that contains the JSON that was read from the specified . + + is not valid JSON. + + + + + Load a from a string that contains JSON. + + A that contains JSON. + A populated from the string that contains JSON. + + is not valid JSON. + + + + + + + + Load a from a string that contains JSON. + + A that contains JSON. + The used to load the JSON. + If this is null, default load settings will be used. + A populated from the string that contains JSON. + + is not valid JSON. + + + + + + + + Creates a from an object. + + The object that will be used to create . + A with the values of the specified object. + + + + Creates a from an object. + + The object that will be used to create . + The that will be used to read the object. + A with the values of the specified object. + + + + Writes this token to a . + + A into which this method will write. + A collection of which will be used when writing the token. + + + + Gets the with the specified property name. + + Name of the property. + The with the specified property name. + + + + Gets the with the specified property name. + The exact property name will be searched for first and if no matching property is found then + the will be used to match a property. + + Name of the property. + One of the enumeration values that specifies how the strings will be compared. + The with the specified property name. + + + + Tries to get the with the specified property name. + The exact property name will be searched for first and if no matching property is found then + the will be used to match a property. + + Name of the property. + The value. + One of the enumeration values that specifies how the strings will be compared. + true if a value was successfully retrieved; otherwise, false. + + + + Adds the specified property name. + + Name of the property. + The value. + + + + Determines whether the JSON object has the specified property name. + + Name of the property. + true if the JSON object has the specified property name; otherwise, false. + + + + Removes the property with the specified name. + + Name of the property. + true if item was successfully removed; otherwise, false. + + + + Tries to get the with the specified property name. + + Name of the property. + The value. + true if a value was successfully retrieved; otherwise, false. + + + + Returns an enumerator that can be used to iterate through the collection. + + + A that can be used to iterate through the collection. + + + + + Raises the event with the provided arguments. + + Name of the property. + + + + Raises the event with the provided arguments. + + Name of the property. + + + + Returns the responsible for binding operations performed on this object. + + The expression tree representation of the runtime value. + + The to bind this object. + + + + + Represents a JSON property. + + + + + Writes this token to a asynchronously. + + A into which this method will write. + The token to monitor for cancellation requests. + A collection of which will be used when writing the token. + A that represents the asynchronous write operation. + + + + Asynchronously loads a from a . + + A that will be read for the content of the . + The token to monitor for cancellation requests. The default value is . + A representing the asynchronous creation. The + property returns a that contains the JSON that was read from the specified . + + + + Asynchronously loads a from a . + + A that will be read for the content of the . + The used to load the JSON. + If this is null, default load settings will be used. + The token to monitor for cancellation requests. The default value is . + A representing the asynchronous creation. The + property returns a that contains the JSON that was read from the specified . + + + + Gets the container's children tokens. + + The container's children tokens. + + + + Gets the property name. + + The property name. + + + + Gets or sets the property value. + + The property value. + + + + Initializes a new instance of the class from another object. + + A object to copy from. + + + + Gets the node type for this . + + The type. + + + + Initializes a new instance of the class. + + The property name. + The property content. + + + + Initializes a new instance of the class. + + The property name. + The property content. + + + + Writes this token to a . + + A into which this method will write. + A collection of which will be used when writing the token. + + + + Loads a from a . + + A that will be read for the content of the . + A that contains the JSON that was read from the specified . + + + + Loads a from a . + + A that will be read for the content of the . + The used to load the JSON. + If this is null, default load settings will be used. + A that contains the JSON that was read from the specified . + + + + Represents a view of a . + + + + + Initializes a new instance of the class. + + The name. + + + + When overridden in a derived class, returns whether resetting an object changes its value. + + + true if resetting the component changes its value; otherwise, false. + + The component to test for reset capability. + + + + When overridden in a derived class, gets the current value of the property on a component. + + + The value of a property for a given component. + + The component with the property for which to retrieve the value. + + + + When overridden in a derived class, resets the value for this property of the component to the default value. + + The component with the property value that is to be reset to the default value. + + + + When overridden in a derived class, sets the value of the component to a different value. + + The component with the property value that is to be set. + The new value. + + + + When overridden in a derived class, determines a value indicating whether the value of this property needs to be persisted. + + + true if the property should be persisted; otherwise, false. + + The component with the property to be examined for persistence. + + + + When overridden in a derived class, gets the type of the component this property is bound to. + + + A that represents the type of component this property is bound to. + When the or + + methods are invoked, the object specified might be an instance of this type. + + + + + When overridden in a derived class, gets a value indicating whether this property is read-only. + + + true if the property is read-only; otherwise, false. + + + + + When overridden in a derived class, gets the type of the property. + + + A that represents the type of the property. + + + + + Gets the hash code for the name of the member. + + + + The hash code for the name of the member. + + + + + Represents a raw JSON string. + + + + + Asynchronously creates an instance of with the content of the reader's current token. + + The reader. + The token to monitor for cancellation requests. The default value is . + A representing the asynchronous creation. The + property returns an instance of with the content of the reader's current token. + + + + Initializes a new instance of the class from another object. + + A object to copy from. + + + + Initializes a new instance of the class. + + The raw json. + + + + Creates an instance of with the content of the reader's current token. + + The reader. + An instance of with the content of the reader's current token. + + + + Specifies the settings used when loading JSON. + + + + + Initializes a new instance of the class. + + + + + Gets or sets how JSON comments are handled when loading JSON. + The default value is . + + The JSON comment handling. + + + + Gets or sets how JSON line info is handled when loading JSON. + The default value is . + + The JSON line info handling. + + + + Gets or sets how duplicate property names in JSON objects are handled when loading JSON. + The default value is . + + The JSON duplicate property name handling. + + + + Specifies the settings used when merging JSON. + + + + + Initializes a new instance of the class. + + + + + Gets or sets the method used when merging JSON arrays. + + The method used when merging JSON arrays. + + + + Gets or sets how null value properties are merged. + + How null value properties are merged. + + + + Gets or sets the comparison used to match property names while merging. + The exact property name will be searched for first and if no matching property is found then + the will be used to match a property. + + The comparison used to match property names while merging. + + + + Represents an abstract JSON token. + + + + + Writes this token to a asynchronously. + + A into which this method will write. + The token to monitor for cancellation requests. + A collection of which will be used when writing the token. + A that represents the asynchronous write operation. + + + + Writes this token to a asynchronously. + + A into which this method will write. + A collection of which will be used when writing the token. + A that represents the asynchronous write operation. + + + + Asynchronously creates a from a . + + An positioned at the token to read into this . + The token to monitor for cancellation requests. The default value is . + + A that represents the asynchronous creation. The + property returns a that contains + the token and its descendant tokens + that were read from the reader. The runtime type of the token is determined + by the token type of the first token encountered in the reader. + + + + + Asynchronously creates a from a . + + An positioned at the token to read into this . + The used to load the JSON. + If this is null, default load settings will be used. + The token to monitor for cancellation requests. The default value is . + + A that represents the asynchronous creation. The + property returns a that contains + the token and its descendant tokens + that were read from the reader. The runtime type of the token is determined + by the token type of the first token encountered in the reader. + + + + + Asynchronously creates a from a . + + A positioned at the token to read into this . + The token to monitor for cancellation requests. The default value is . + + A that represents the asynchronous creation. The + property returns a that contains the token and its descendant tokens + that were read from the reader. The runtime type of the token is determined + by the token type of the first token encountered in the reader. + + + + + Asynchronously creates a from a . + + A positioned at the token to read into this . + The used to load the JSON. + If this is null, default load settings will be used. + The token to monitor for cancellation requests. The default value is . + + A that represents the asynchronous creation. The + property returns a that contains the token and its descendant tokens + that were read from the reader. The runtime type of the token is determined + by the token type of the first token encountered in the reader. + + + + + Gets a comparer that can compare two tokens for value equality. + + A that can compare two nodes for value equality. + + + + Gets or sets the parent. + + The parent. + + + + Gets the root of this . + + The root of this . + + + + Gets the node type for this . + + The type. + + + + Gets a value indicating whether this token has child tokens. + + + true if this token has child values; otherwise, false. + + + + + Compares the values of two tokens, including the values of all descendant tokens. + + The first to compare. + The second to compare. + true if the tokens are equal; otherwise false. + + + + Gets the next sibling token of this node. + + The that contains the next sibling token. + + + + Gets the previous sibling token of this node. + + The that contains the previous sibling token. + + + + Gets the path of the JSON token. + + + + + Adds the specified content immediately after this token. + + A content object that contains simple content or a collection of content objects to be added after this token. + + + + Adds the specified content immediately before this token. + + A content object that contains simple content or a collection of content objects to be added before this token. + + + + Returns a collection of the ancestor tokens of this token. + + A collection of the ancestor tokens of this token. + + + + Returns a collection of tokens that contain this token, and the ancestors of this token. + + A collection of tokens that contain this token, and the ancestors of this token. + + + + Returns a collection of the sibling tokens after this token, in document order. + + A collection of the sibling tokens after this tokens, in document order. + + + + Returns a collection of the sibling tokens before this token, in document order. + + A collection of the sibling tokens before this token, in document order. + + + + Gets the with the specified key. + + The with the specified key. + + + + Gets the with the specified key converted to the specified type. + + The type to convert the token to. + The token key. + The converted token value. + + + + Get the first child token of this token. + + A containing the first child token of the . + + + + Get the last child token of this token. + + A containing the last child token of the . + + + + Returns a collection of the child tokens of this token, in document order. + + An of containing the child tokens of this , in document order. + + + + Returns a collection of the child tokens of this token, in document order, filtered by the specified type. + + The type to filter the child tokens on. + A containing the child tokens of this , in document order. + + + + Returns a collection of the child values of this token, in document order. + + The type to convert the values to. + A containing the child values of this , in document order. + + + + Removes this token from its parent. + + + + + Replaces this token with the specified token. + + The value. + + + + Writes this token to a . + + A into which this method will write. + A collection of which will be used when writing the token. + + + + Returns the indented JSON for this token. + + + ToString() returns a non-JSON string value for tokens with a type of . + If you want the JSON for all token types then you should use . + + + The indented JSON for this token. + + + + + Returns the JSON for this token using the given formatting and converters. + + Indicates how the output should be formatted. + A collection of s which will be used when writing the token. + The JSON for this token using the given formatting and converters. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to []. + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to of . + + The value. + The result of the conversion. + + + + Performs an explicit conversion from to . + + The value. + The result of the conversion. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from [] to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from to . + + The value to create a from. + The initialized with the specified value. + + + + Performs an implicit conversion from of to . + + The value to create a from. + The initialized with the specified value. + + + + Creates a for this token. + + A that can be used to read this token and its descendants. + + + + Creates a from an object. + + The object that will be used to create . + A with the value of the specified object. + + + + Creates a from an object using the specified . + + The object that will be used to create . + The that will be used when reading the object. + A with the value of the specified object. + + + + Creates an instance of the specified .NET type from the . + + The object type that the token will be deserialized to. + The new object created from the JSON value. + + + + Creates an instance of the specified .NET type from the . + + The object type that the token will be deserialized to. + The new object created from the JSON value. + + + + Creates an instance of the specified .NET type from the using the specified . + + The object type that the token will be deserialized to. + The that will be used when creating the object. + The new object created from the JSON value. + + + + Creates an instance of the specified .NET type from the using the specified . + + The object type that the token will be deserialized to. + The that will be used when creating the object. + The new object created from the JSON value. + + + + Creates a from a . + + A positioned at the token to read into this . + + A that contains the token and its descendant tokens + that were read from the reader. The runtime type of the token is determined + by the token type of the first token encountered in the reader. + + + + + Creates a from a . + + An positioned at the token to read into this . + The used to load the JSON. + If this is null, default load settings will be used. + + A that contains the token and its descendant tokens + that were read from the reader. The runtime type of the token is determined + by the token type of the first token encountered in the reader. + + + + + Load a from a string that contains JSON. + + A that contains JSON. + A populated from the string that contains JSON. + + + + Load a from a string that contains JSON. + + A that contains JSON. + The used to load the JSON. + If this is null, default load settings will be used. + A populated from the string that contains JSON. + + + + Creates a from a . + + A positioned at the token to read into this . + The used to load the JSON. + If this is null, default load settings will be used. + + A that contains the token and its descendant tokens + that were read from the reader. The runtime type of the token is determined + by the token type of the first token encountered in the reader. + + + + + Creates a from a . + + A positioned at the token to read into this . + + A that contains the token and its descendant tokens + that were read from the reader. The runtime type of the token is determined + by the token type of the first token encountered in the reader. + + + + + Selects a using a JSONPath expression. Selects the token that matches the object path. + + + A that contains a JSONPath expression. + + A , or null. + + + + Selects a using a JSONPath expression. Selects the token that matches the object path. + + + A that contains a JSONPath expression. + + A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression. + A . + + + + Selects a collection of elements using a JSONPath expression. + + + A that contains a JSONPath expression. + + An of that contains the selected elements. + + + + Selects a collection of elements using a JSONPath expression. + + + A that contains a JSONPath expression. + + A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression. + An of that contains the selected elements. + + + + Returns the responsible for binding operations performed on this object. + + The expression tree representation of the runtime value. + + The to bind this object. + + + + + Returns the responsible for binding operations performed on this object. + + The expression tree representation of the runtime value. + + The to bind this object. + + + + + Creates a new instance of the . All child tokens are recursively cloned. + + A new instance of the . + + + + Adds an object to the annotation list of this . + + The annotation to add. + + + + Get the first annotation object of the specified type from this . + + The type of the annotation to retrieve. + The first annotation object that matches the specified type, or null if no annotation is of the specified type. + + + + Gets the first annotation object of the specified type from this . + + The of the annotation to retrieve. + The first annotation object that matches the specified type, or null if no annotation is of the specified type. + + + + Gets a collection of annotations of the specified type for this . + + The type of the annotations to retrieve. + An that contains the annotations for this . + + + + Gets a collection of annotations of the specified type for this . + + The of the annotations to retrieve. + An of that contains the annotations that match the specified type for this . + + + + Removes the annotations of the specified type from this . + + The type of annotations to remove. + + + + Removes the annotations of the specified type from this . + + The of annotations to remove. + + + + Compares tokens to determine whether they are equal. + + + + + Determines whether the specified objects are equal. + + The first object of type to compare. + The second object of type to compare. + + true if the specified objects are equal; otherwise, false. + + + + + Returns a hash code for the specified object. + + The for which a hash code is to be returned. + A hash code for the specified object. + The type of is a reference type and is null. + + + + Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. + + + + + Gets the at the reader's current position. + + + + + Initializes a new instance of the class. + + The token to read from. + + + + Initializes a new instance of the class. + + The token to read from. + The initial path of the token. It is prepended to the returned . + + + + Reads the next JSON token from the underlying . + + + true if the next token was read successfully; false if there are no more tokens to read. + + + + + Gets the path of the current JSON token. + + + + + Specifies the type of token. + + + + + No token type has been set. + + + + + A JSON object. + + + + + A JSON array. + + + + + A JSON constructor. + + + + + A JSON object property. + + + + + A comment. + + + + + An integer value. + + + + + A float value. + + + + + A string value. + + + + + A boolean value. + + + + + A null value. + + + + + An undefined value. + + + + + A date value. + + + + + A raw JSON value. + + + + + A collection of bytes value. + + + + + A Guid value. + + + + + A Uri value. + + + + + A TimeSpan value. + + + + + Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. + + + + + Gets the at the writer's current position. + + + + + Gets the token being written. + + The token being written. + + + + Initializes a new instance of the class writing to the given . + + The container being written to. + + + + Initializes a new instance of the class. + + + + + Flushes whatever is in the buffer to the underlying . + + + + + Closes this writer. + If is set to true, the JSON is auto-completed. + + + Setting to true has no additional effect, since the underlying is a type that cannot be closed. + + + + + Writes the beginning of a JSON object. + + + + + Writes the beginning of a JSON array. + + + + + Writes the start of a constructor with the given name. + + The name of the constructor. + + + + Writes the end. + + The token. + + + + Writes the property name of a name/value pair on a JSON object. + + The name of the property. + + + + Writes a value. + An error will be raised if the value cannot be written as a single JSON token. + + The value to write. + + + + Writes a null value. + + + + + Writes an undefined value. + + + + + Writes raw JSON. + + The raw JSON to write. + + + + Writes a comment /*...*/ containing the specified text. + + Text to place inside the comment. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a [] value. + + The [] value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Writes a value. + + The value to write. + + + + Represents a value in JSON (string, integer, date, etc). + + + + + Writes this token to a asynchronously. + + A into which this method will write. + The token to monitor for cancellation requests. + A collection of which will be used when writing the token. + A that represents the asynchronous write operation. + + + + Initializes a new instance of the class from another object. + + A object to copy from. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Initializes a new instance of the class with the given value. + + The value. + + + + Gets a value indicating whether this token has child tokens. + + + true if this token has child values; otherwise, false. + + + + + Creates a comment with the given value. + + The value. + A comment with the given value. + + + + Creates a string with the given value. + + The value. + A string with the given value. + + + + Creates a null value. + + A null value. + + + + Creates a undefined value. + + A undefined value. + + + + Gets the node type for this . + + The type. + + + + Gets or sets the underlying token value. + + The underlying token value. + + + + Writes this token to a . + + A into which this method will write. + A collection of s which will be used when writing the token. + + + + Indicates whether the current object is equal to another object of the same type. + + + true if the current object is equal to the parameter; otherwise, false. + + An object to compare with this object. + + + + Determines whether the specified is equal to the current . + + The to compare with the current . + + true if the specified is equal to the current ; otherwise, false. + + + + + Serves as a hash function for a particular type. + + + A hash code for the current . + + + + + Returns a that represents this instance. + + + ToString() returns a non-JSON string value for tokens with a type of . + If you want the JSON for all token types then you should use . + + + A that represents this instance. + + + + + Returns a that represents this instance. + + The format. + + A that represents this instance. + + + + + Returns a that represents this instance. + + The format provider. + + A that represents this instance. + + + + + Returns a that represents this instance. + + The format. + The format provider. + + A that represents this instance. + + + + + Returns the responsible for binding operations performed on this object. + + The expression tree representation of the runtime value. + + The to bind this object. + + + + + Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object. + + An object to compare with this instance. + + A 32-bit signed integer that indicates the relative order of the objects being compared. The return value has these meanings: + Value + Meaning + Less than zero + This instance is less than . + Zero + This instance is equal to . + Greater than zero + This instance is greater than . + + + is not of the same type as this instance. + + + + + Specifies how line information is handled when loading JSON. + + + + + Ignore line information. + + + + + Load line information. + + + + + Specifies how JSON arrays are merged together. + + + + Concatenate arrays. + + + Union arrays, skipping items that already exist. + + + Replace all array items. + + + Merge array items together, matched by index. + + + + Specifies how null value properties are merged. + + + + + The content's null value properties will be ignored during merging. + + + + + The content's null value properties will be merged. + + + + + Specifies the member serialization options for the . + + + + + All public members are serialized by default. Members can be excluded using or . + This is the default member serialization mode. + + + + + Only members marked with or are serialized. + This member serialization mode can also be set by marking the class with . + + + + + All public and private fields are serialized. Members can be excluded using or . + This member serialization mode can also be set by marking the class with + and setting IgnoreSerializableAttribute on to false. + + + + + Specifies metadata property handling options for the . + + + + + Read metadata properties located at the start of a JSON object. + + + + + Read metadata properties located anywhere in a JSON object. Note that this setting will impact performance. + + + + + Do not try to read metadata properties. + + + + + Specifies missing member handling options for the . + + + + + Ignore a missing member and do not attempt to deserialize it. + + + + + Throw a when a missing member is encountered during deserialization. + + + + + Specifies null value handling options for the . + + + + + + + + + Include null values when serializing and deserializing objects. + + + + + Ignore null values when serializing and deserializing objects. + + + + + Specifies how object creation is handled by the . + + + + + Reuse existing objects, create new objects when needed. + + + + + Only reuse existing objects. + + + + + Always create new objects. + + + + + Specifies reference handling options for the . + Note that references cannot be preserved when a value is set via a non-default constructor such as types that implement . + + + + + + + + Do not preserve references when serializing types. + + + + + Preserve references when serializing into a JSON object structure. + + + + + Preserve references when serializing into a JSON array structure. + + + + + Preserve references when serializing. + + + + + Specifies reference loop handling options for the . + + + + + Throw a when a loop is encountered. + + + + + Ignore loop references and do not serialize. + + + + + Serialize loop references. + + + + + Indicating whether a property is required. + + + + + The property is not required. The default state. + + + + + The property must be defined in JSON but can be a null value. + + + + + The property must be defined in JSON and cannot be a null value. + + + + + The property is not required but it cannot be a null value. + + + + + + Contains the JSON schema extension methods. + + + JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details. + + + + + + + Determines whether the is valid. + + + JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details. + + + The source to test. + The schema to test with. + + true if the specified is valid; otherwise, false. + + + + + + Determines whether the is valid. + + + JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details. + + + The source to test. + The schema to test with. + When this method returns, contains any error messages generated while validating. + + true if the specified is valid; otherwise, false. + + + + + + Validates the specified . + + + JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details. + + + The source to test. + The schema to test with. + + + + + Validates the specified . + + + JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details. + + + The source to test. + The schema to test with. + The validation event handler. + + + + + An in-memory representation of a JSON Schema. + + + JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details. + + + + + + Gets or sets the id. + + + + + Gets or sets the title. + + + + + Gets or sets whether the object is required. + + + + + Gets or sets whether the object is read-only. + + + + + Gets or sets whether the object is visible to users. + + + + + Gets or sets whether the object is transient. + + + + + Gets or sets the description of the object. + + + + + Gets or sets the types of values allowed by the object. + + The type. + + + + Gets or sets the pattern. + + The pattern. + + + + Gets or sets the minimum length. + + The minimum length. + + + + Gets or sets the maximum length. + + The maximum length. + + + + Gets or sets a number that the value should be divisible by. + + A number that the value should be divisible by. + + + + Gets or sets the minimum. + + The minimum. + + + + Gets or sets the maximum. + + The maximum. + + + + Gets or sets a flag indicating whether the value can not equal the number defined by the minimum attribute (). + + A flag indicating whether the value can not equal the number defined by the minimum attribute (). + + + + Gets or sets a flag indicating whether the value can not equal the number defined by the maximum attribute (). + + A flag indicating whether the value can not equal the number defined by the maximum attribute (). + + + + Gets or sets the minimum number of items. + + The minimum number of items. + + + + Gets or sets the maximum number of items. + + The maximum number of items. + + + + Gets or sets the of items. + + The of items. + + + + Gets or sets a value indicating whether items in an array are validated using the instance at their array position from . + + + true if items are validated using their array position; otherwise, false. + + + + + Gets or sets the of additional items. + + The of additional items. + + + + Gets or sets a value indicating whether additional items are allowed. + + + true if additional items are allowed; otherwise, false. + + + + + Gets or sets whether the array items must be unique. + + + + + Gets or sets the of properties. + + The of properties. + + + + Gets or sets the of additional properties. + + The of additional properties. + + + + Gets or sets the pattern properties. + + The pattern properties. + + + + Gets or sets a value indicating whether additional properties are allowed. + + + true if additional properties are allowed; otherwise, false. + + + + + Gets or sets the required property if this property is present. + + The required property if this property is present. + + + + Gets or sets the a collection of valid enum values allowed. + + A collection of valid enum values allowed. + + + + Gets or sets disallowed types. + + The disallowed types. + + + + Gets or sets the default value. + + The default value. + + + + Gets or sets the collection of that this schema extends. + + The collection of that this schema extends. + + + + Gets or sets the format. + + The format. + + + + Initializes a new instance of the class. + + + + + Reads a from the specified . + + The containing the JSON Schema to read. + The object representing the JSON Schema. + + + + Reads a from the specified . + + The containing the JSON Schema to read. + The to use when resolving schema references. + The object representing the JSON Schema. + + + + Load a from a string that contains JSON Schema. + + A that contains JSON Schema. + A populated from the string that contains JSON Schema. + + + + Load a from a string that contains JSON Schema using the specified . + + A that contains JSON Schema. + The resolver. + A populated from the string that contains JSON Schema. + + + + Writes this schema to a . + + A into which this method will write. + + + + Writes this schema to a using the specified . + + A into which this method will write. + The resolver used. + + + + Returns a that represents the current . + + + A that represents the current . + + + + + + Returns detailed information about the schema exception. + + + JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details. + + + + + + Gets the line number indicating where the error occurred. + + The line number indicating where the error occurred. + + + + Gets the line position indicating where the error occurred. + + The line position indicating where the error occurred. + + + + Gets the path to the JSON where the error occurred. + + The path to the JSON where the error occurred. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class + with a specified error message. + + The error message that explains the reason for the exception. + + + + Initializes a new instance of the class + with a specified error message and a reference to the inner exception that is the cause of this exception. + + The error message that explains the reason for the exception. + The exception that is the cause of the current exception, or null if no inner exception is specified. + + + + Initializes a new instance of the class. + + The that holds the serialized object data about the exception being thrown. + The that contains contextual information about the source or destination. + The parameter is null. + The class name is null or is zero (0). + + + + + Generates a from a specified . + + + JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details. + + + + + + Gets or sets how undefined schemas are handled by the serializer. + + + + + Gets or sets the contract resolver. + + The contract resolver. + + + + Generate a from the specified type. + + The type to generate a from. + A generated from the specified type. + + + + Generate a from the specified type. + + The type to generate a from. + The used to resolve schema references. + A generated from the specified type. + + + + Generate a from the specified type. + + The type to generate a from. + Specify whether the generated root will be nullable. + A generated from the specified type. + + + + Generate a from the specified type. + + The type to generate a from. + The used to resolve schema references. + Specify whether the generated root will be nullable. + A generated from the specified type. + + + + + Resolves from an id. + + + JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details. + + + + + + Gets or sets the loaded schemas. + + The loaded schemas. + + + + Initializes a new instance of the class. + + + + + Gets a for the specified reference. + + The id. + A for the specified reference. + + + + + The value types allowed by the . + + + JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details. + + + + + + No type specified. + + + + + String type. + + + + + Float type. + + + + + Integer type. + + + + + Boolean type. + + + + + Object type. + + + + + Array type. + + + + + Null type. + + + + + Any type. + + + + + + Specifies undefined schema Id handling options for the . + + + JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details. + + + + + + Do not infer a schema Id. + + + + + Use the .NET type name as the schema Id. + + + + + Use the assembly qualified .NET type name as the schema Id. + + + + + + Returns detailed information related to the . + + + JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details. + + + + + + Gets the associated with the validation error. + + The JsonSchemaException associated with the validation error. + + + + Gets the path of the JSON location where the validation error occurred. + + The path of the JSON location where the validation error occurred. + + + + Gets the text description corresponding to the validation error. + + The text description. + + + + + Represents the callback method that will handle JSON schema validation events and the . + + + JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details. + + + + + + A camel case naming strategy. + + + + + Initializes a new instance of the class. + + + A flag indicating whether dictionary keys should be processed. + + + A flag indicating whether explicitly specified property names should be processed, + e.g. a property name customized with a . + + + + + Initializes a new instance of the class. + + + A flag indicating whether dictionary keys should be processed. + + + A flag indicating whether explicitly specified property names should be processed, + e.g. a property name customized with a . + + + A flag indicating whether extension data names should be processed. + + + + + Initializes a new instance of the class. + + + + + Resolves the specified property name. + + The property name to resolve. + The resolved property name. + + + + Resolves member mappings for a type, camel casing property names. + + + + + Initializes a new instance of the class. + + + + + Resolves the contract for a given type. + + The type to resolve a contract for. + The contract for a given type. + + + + Used by to resolve a for a given . + + + + + Gets a value indicating whether members are being get and set using dynamic code generation. + This value is determined by the runtime permissions available. + + + true if using dynamic code generation; otherwise, false. + + + + + Gets or sets the default members search flags. + + The default members search flags. + + + + Gets or sets a value indicating whether compiler generated members should be serialized. + + + true if serialized compiler generated members; otherwise, false. + + + + + Gets or sets a value indicating whether to ignore the interface when serializing and deserializing types. + + + true if the interface will be ignored when serializing and deserializing types; otherwise, false. + + + + + Gets or sets a value indicating whether to ignore the attribute when serializing and deserializing types. + + + true if the attribute will be ignored when serializing and deserializing types; otherwise, false. + + + + + Gets or sets a value indicating whether to ignore IsSpecified members when serializing and deserializing types. + + + true if the IsSpecified members will be ignored when serializing and deserializing types; otherwise, false. + + + + + Gets or sets a value indicating whether to ignore ShouldSerialize members when serializing and deserializing types. + + + true if the ShouldSerialize members will be ignored when serializing and deserializing types; otherwise, false. + + + + + Gets or sets the naming strategy used to resolve how property names and dictionary keys are serialized. + + The naming strategy used to resolve how property names and dictionary keys are serialized. + + + + Initializes a new instance of the class. + + + + + Resolves the contract for a given type. + + The type to resolve a contract for. + The contract for a given type. + + + + Gets the serializable members for the type. + + The type to get serializable members for. + The serializable members for the type. + + + + Creates a for the given type. + + Type of the object. + A for the given type. + + + + Creates the constructor parameters. + + The constructor to create properties for. + The type's member properties. + Properties for the given . + + + + Creates a for the given . + + The matching member property. + The constructor parameter. + A created for the given . + + + + Resolves the default for the contract. + + Type of the object. + The contract's default . + + + + Creates a for the given type. + + Type of the object. + A for the given type. + + + + Creates a for the given type. + + Type of the object. + A for the given type. + + + + Creates a for the given type. + + Type of the object. + A for the given type. + + + + Creates a for the given type. + + Type of the object. + A for the given type. + + + + Creates a for the given type. + + Type of the object. + A for the given type. + + + + Creates a for the given type. + + Type of the object. + A for the given type. + + + + Creates a for the given type. + + Type of the object. + A for the given type. + + + + Determines which contract type is created for the given type. + + Type of the object. + A for the given type. + + + + Creates properties for the given . + + The type to create properties for. + /// The member serialization mode for the type. + Properties for the given . + + + + Creates the used by the serializer to get and set values from a member. + + The member. + The used by the serializer to get and set values from a member. + + + + Creates a for the given . + + The member's parent . + The member to create a for. + A created for the given . + + + + Resolves the name of the property. + + Name of the property. + Resolved name of the property. + + + + Resolves the name of the extension data. By default no changes are made to extension data names. + + Name of the extension data. + Resolved name of the extension data. + + + + Resolves the key of the dictionary. By default is used to resolve dictionary keys. + + Key of the dictionary. + Resolved key of the dictionary. + + + + Gets the resolved name of the property. + + Name of the property. + Name of the property. + + + + The default naming strategy. Property names and dictionary keys are unchanged. + + + + + Resolves the specified property name. + + The property name to resolve. + The resolved property name. + + + + The default serialization binder used when resolving and loading classes from type names. + + + + + Initializes a new instance of the class. + + + + + When overridden in a derived class, controls the binding of a serialized object to a type. + + Specifies the name of the serialized object. + Specifies the name of the serialized object. + + The type of the object the formatter creates a new instance of. + + + + + When overridden in a derived class, controls the binding of a serialized object to a type. + + The type of the object the formatter creates a new instance of. + Specifies the name of the serialized object. + Specifies the name of the serialized object. + + + + Represents a trace writer that writes to the application's instances. + + + + + Gets the that will be used to filter the trace messages passed to the writer. + For example a filter level of will exclude messages and include , + and messages. + + + The that will be used to filter the trace messages passed to the writer. + + + + + Writes the specified trace level, message and optional exception. + + The at which to write this trace. + The trace message. + The trace exception. This parameter is optional. + + + + Get and set values for a using dynamic methods. + + + + + Initializes a new instance of the class. + + The member info. + + + + Sets the value. + + The target to set the value on. + The value to set on the target. + + + + Gets the value. + + The target to get the value from. + The value. + + + + Provides information surrounding an error. + + + + + Gets the error. + + The error. + + + + Gets the original object that caused the error. + + The original object that caused the error. + + + + Gets the member that caused the error. + + The member that caused the error. + + + + Gets the path of the JSON location where the error occurred. + + The path of the JSON location where the error occurred. + + + + Gets or sets a value indicating whether this is handled. + + true if handled; otherwise, false. + + + + Provides data for the Error event. + + + + + Gets the current object the error event is being raised against. + + The current object the error event is being raised against. + + + + Gets the error context. + + The error context. + + + + Initializes a new instance of the class. + + The current object. + The error context. + + + + Get and set values for a using dynamic methods. + + + + + Initializes a new instance of the class. + + The member info. + + + + Sets the value. + + The target to set the value on. + The value to set on the target. + + + + Gets the value. + + The target to get the value from. + The value. + + + + Provides methods to get attributes. + + + + + Returns a collection of all of the attributes, or an empty collection if there are no attributes. + + When true, look up the hierarchy chain for the inherited custom attribute. + A collection of s, or an empty collection. + + + + Returns a collection of attributes, identified by type, or an empty collection if there are no attributes. + + The type of the attributes. + When true, look up the hierarchy chain for the inherited custom attribute. + A collection of s, or an empty collection. + + + + Used by to resolve a for a given . + + + + + + + + + Resolves the contract for a given type. + + The type to resolve a contract for. + The contract for a given type. + + + + Used to resolve references when serializing and deserializing JSON by the . + + + + + Resolves a reference to its object. + + The serialization context. + The reference to resolve. + The object that was resolved from the reference. + + + + Gets the reference for the specified object. + + The serialization context. + The object to get a reference for. + The reference to the object. + + + + Determines whether the specified object is referenced. + + The serialization context. + The object to test for a reference. + + true if the specified object is referenced; otherwise, false. + + + + + Adds a reference to the specified object. + + The serialization context. + The reference. + The object to reference. + + + + Allows users to control class loading and mandate what class to load. + + + + + When implemented, controls the binding of a serialized object to a type. + + Specifies the name of the serialized object. + Specifies the name of the serialized object + The type of the object the formatter creates a new instance of. + + + + When implemented, controls the binding of a serialized object to a type. + + The type of the object the formatter creates a new instance of. + Specifies the name of the serialized object. + Specifies the name of the serialized object. + + + + Represents a trace writer. + + + + + Gets the that will be used to filter the trace messages passed to the writer. + For example a filter level of will exclude messages and include , + and messages. + + The that will be used to filter the trace messages passed to the writer. + + + + Writes the specified trace level, message and optional exception. + + The at which to write this trace. + The trace message. + The trace exception. This parameter is optional. + + + + Provides methods to get and set values. + + + + + Sets the value. + + The target to set the value on. + The value to set on the target. + + + + Gets the value. + + The target to get the value from. + The value. + + + + Contract details for a used by the . + + + + + Gets the of the collection items. + + The of the collection items. + + + + Gets a value indicating whether the collection type is a multidimensional array. + + true if the collection type is a multidimensional array; otherwise, false. + + + + Gets or sets the function used to create the object. When set this function will override . + + The function used to create the object. + + + + Gets a value indicating whether the creator has a parameter with the collection values. + + true if the creator has a parameter with the collection values; otherwise, false. + + + + Initializes a new instance of the class. + + The underlying type for the contract. + + + + Contract details for a used by the . + + + + + Gets or sets the default collection items . + + The converter. + + + + Gets or sets a value indicating whether the collection items preserve object references. + + true if collection items preserve object references; otherwise, false. + + + + Gets or sets the collection item reference loop handling. + + The reference loop handling. + + + + Gets or sets the collection item type name handling. + + The type name handling. + + + + Initializes a new instance of the class. + + The underlying type for the contract. + + + + Handles serialization callback events. + + The object that raised the callback event. + The streaming context. + + + + Handles serialization error callback events. + + The object that raised the callback event. + The streaming context. + The error context. + + + + Sets extension data for an object during deserialization. + + The object to set extension data on. + The extension data key. + The extension data value. + + + + Gets extension data for an object during serialization. + + The object to set extension data on. + + + + Contract details for a used by the . + + + + + Gets the underlying type for the contract. + + The underlying type for the contract. + + + + Gets or sets the type created during deserialization. + + The type created during deserialization. + + + + Gets or sets whether this type contract is serialized as a reference. + + Whether this type contract is serialized as a reference. + + + + Gets or sets the default for this contract. + + The converter. + + + + Gets the internally resolved for the contract's type. + This converter is used as a fallback converter when no other converter is resolved. + Setting will always override this converter. + + + + + Gets or sets all methods called immediately after deserialization of the object. + + The methods called immediately after deserialization of the object. + + + + Gets or sets all methods called during deserialization of the object. + + The methods called during deserialization of the object. + + + + Gets or sets all methods called after serialization of the object graph. + + The methods called after serialization of the object graph. + + + + Gets or sets all methods called before serialization of the object. + + The methods called before serialization of the object. + + + + Gets or sets all method called when an error is thrown during the serialization of the object. + + The methods called when an error is thrown during the serialization of the object. + + + + Gets or sets the default creator method used to create the object. + + The default creator method used to create the object. + + + + Gets or sets a value indicating whether the default creator is non-public. + + true if the default object creator is non-public; otherwise, false. + + + + Contract details for a used by the . + + + + + Gets or sets the dictionary key resolver. + + The dictionary key resolver. + + + + Gets the of the dictionary keys. + + The of the dictionary keys. + + + + Gets the of the dictionary values. + + The of the dictionary values. + + + + Gets or sets the function used to create the object. When set this function will override . + + The function used to create the object. + + + + Gets a value indicating whether the creator has a parameter with the dictionary values. + + true if the creator has a parameter with the dictionary values; otherwise, false. + + + + Initializes a new instance of the class. + + The underlying type for the contract. + + + + Contract details for a used by the . + + + + + Gets the object's properties. + + The object's properties. + + + + Gets or sets the property name resolver. + + The property name resolver. + + + + Initializes a new instance of the class. + + The underlying type for the contract. + + + + Contract details for a used by the . + + + + + Gets or sets the object constructor. + + The object constructor. + + + + Initializes a new instance of the class. + + The underlying type for the contract. + + + + Contract details for a used by the . + + + + + Initializes a new instance of the class. + + The underlying type for the contract. + + + + Contract details for a used by the . + + + + + Gets or sets the object member serialization. + + The member object serialization. + + + + Gets or sets the missing member handling used when deserializing this object. + + The missing member handling. + + + + Gets or sets a value that indicates whether the object's properties are required. + + + A value indicating whether the object's properties are required. + + + + + Gets or sets how the object's properties with null values are handled during serialization and deserialization. + + How the object's properties with null values are handled during serialization and deserialization. + + + + Gets the object's properties. + + The object's properties. + + + + Gets a collection of instances that define the parameters used with . + + + + + Gets or sets the function used to create the object. When set this function will override . + This function is called with a collection of arguments which are defined by the collection. + + The function used to create the object. + + + + Gets or sets the extension data setter. + + + + + Gets or sets the extension data getter. + + + + + Gets or sets the extension data value type. + + + + + Gets or sets the extension data name resolver. + + The extension data name resolver. + + + + Initializes a new instance of the class. + + The underlying type for the contract. + + + + Contract details for a used by the . + + + + + Initializes a new instance of the class. + + The underlying type for the contract. + + + + Maps a JSON property to a .NET member or constructor parameter. + + + + + Gets or sets the name of the property. + + The name of the property. + + + + Gets or sets the type that declared this property. + + The type that declared this property. + + + + Gets or sets the order of serialization of a member. + + The numeric order of serialization. + + + + Gets or sets the name of the underlying member or parameter. + + The name of the underlying member or parameter. + + + + Gets the that will get and set the during serialization. + + The that will get and set the during serialization. + + + + Gets or sets the for this property. + + The for this property. + + + + Gets or sets the type of the property. + + The type of the property. + + + + Gets or sets the for the property. + If set this converter takes precedence over the contract converter for the property type. + + The converter. + + + + Gets or sets the member converter. + + The member converter. + + + + Gets or sets a value indicating whether this is ignored. + + true if ignored; otherwise, false. + + + + Gets or sets a value indicating whether this is readable. + + true if readable; otherwise, false. + + + + Gets or sets a value indicating whether this is writable. + + true if writable; otherwise, false. + + + + Gets or sets a value indicating whether this has a member attribute. + + true if has a member attribute; otherwise, false. + + + + Gets the default value. + + The default value. + + + + Gets or sets a value indicating whether this is required. + + A value indicating whether this is required. + + + + Gets a value indicating whether has a value specified. + + + + + Gets or sets a value indicating whether this property preserves object references. + + + true if this instance is reference; otherwise, false. + + + + + Gets or sets the property null value handling. + + The null value handling. + + + + Gets or sets the property default value handling. + + The default value handling. + + + + Gets or sets the property reference loop handling. + + The reference loop handling. + + + + Gets or sets the property object creation handling. + + The object creation handling. + + + + Gets or sets or sets the type name handling. + + The type name handling. + + + + Gets or sets a predicate used to determine whether the property should be serialized. + + A predicate used to determine whether the property should be serialized. + + + + Gets or sets a predicate used to determine whether the property should be deserialized. + + A predicate used to determine whether the property should be deserialized. + + + + Gets or sets a predicate used to determine whether the property should be serialized. + + A predicate used to determine whether the property should be serialized. + + + + Gets or sets an action used to set whether the property has been deserialized. + + An action used to set whether the property has been deserialized. + + + + Returns a that represents this instance. + + + A that represents this instance. + + + + + Gets or sets the converter used when serializing the property's collection items. + + The collection's items converter. + + + + Gets or sets whether this property's collection items are serialized as a reference. + + Whether this property's collection items are serialized as a reference. + + + + Gets or sets the type name handling used when serializing the property's collection items. + + The collection's items type name handling. + + + + Gets or sets the reference loop handling used when serializing the property's collection items. + + The collection's items reference loop handling. + + + + A collection of objects. + + + + + Initializes a new instance of the class. + + The type. + + + + When implemented in a derived class, extracts the key from the specified element. + + The element from which to extract the key. + The key for the specified element. + + + + Adds a object. + + The property to add to the collection. + + + + Gets the closest matching object. + First attempts to get an exact case match of and then + a case insensitive match. + + Name of the property. + A matching property if found. + + + + Gets a property by property name. + + The name of the property to get. + Type property name string comparison. + A matching property if found. + + + + Contract details for a used by the . + + + + + Initializes a new instance of the class. + + The underlying type for the contract. + + + + Lookup and create an instance of the type described by the argument. + + The type to create. + Optional arguments to pass to an initializing constructor of the JsonConverter. + If null, the default constructor is used. + + + + A kebab case naming strategy. + + + + + Initializes a new instance of the class. + + + A flag indicating whether dictionary keys should be processed. + + + A flag indicating whether explicitly specified property names should be processed, + e.g. a property name customized with a . + + + + + Initializes a new instance of the class. + + + A flag indicating whether dictionary keys should be processed. + + + A flag indicating whether explicitly specified property names should be processed, + e.g. a property name customized with a . + + + A flag indicating whether extension data names should be processed. + + + + + Initializes a new instance of the class. + + + + + Resolves the specified property name. + + The property name to resolve. + The resolved property name. + + + + Represents a trace writer that writes to memory. When the trace message limit is + reached then old trace messages will be removed as new messages are added. + + + + + Gets the that will be used to filter the trace messages passed to the writer. + For example a filter level of will exclude messages and include , + and messages. + + + The that will be used to filter the trace messages passed to the writer. + + + + + Initializes a new instance of the class. + + + + + Writes the specified trace level, message and optional exception. + + The at which to write this trace. + The trace message. + The trace exception. This parameter is optional. + + + + Returns an enumeration of the most recent trace messages. + + An enumeration of the most recent trace messages. + + + + Returns a of the most recent trace messages. + + + A of the most recent trace messages. + + + + + A base class for resolving how property names and dictionary keys are serialized. + + + + + A flag indicating whether dictionary keys should be processed. + Defaults to false. + + + + + A flag indicating whether extension data names should be processed. + Defaults to false. + + + + + A flag indicating whether explicitly specified property names, + e.g. a property name customized with a , should be processed. + Defaults to false. + + + + + Gets the serialized name for a given property name. + + The initial property name. + A flag indicating whether the property has had a name explicitly specified. + The serialized property name. + + + + Gets the serialized name for a given extension data name. + + The initial extension data name. + The serialized extension data name. + + + + Gets the serialized key for a given dictionary key. + + The initial dictionary key. + The serialized dictionary key. + + + + Resolves the specified property name. + + The property name to resolve. + The resolved property name. + + + + Hash code calculation + + + + + + Object equality implementation + + + + + + + Compare to another NamingStrategy + + + + + + + Represents a method that constructs an object. + + The object type to create. + + + + When applied to a method, specifies that the method is called when an error occurs serializing an object. + + + + + Provides methods to get attributes from a , , or . + + + + + Initializes a new instance of the class. + + The instance to get attributes for. This parameter should be a , , or . + + + + Returns a collection of all of the attributes, or an empty collection if there are no attributes. + + When true, look up the hierarchy chain for the inherited custom attribute. + A collection of s, or an empty collection. + + + + Returns a collection of attributes, identified by type, or an empty collection if there are no attributes. + + The type of the attributes. + When true, look up the hierarchy chain for the inherited custom attribute. + A collection of s, or an empty collection. + + + + Get and set values for a using reflection. + + + + + Initializes a new instance of the class. + + The member info. + + + + Sets the value. + + The target to set the value on. + The value to set on the target. + + + + Gets the value. + + The target to get the value from. + The value. + + + + A snake case naming strategy. + + + + + Initializes a new instance of the class. + + + A flag indicating whether dictionary keys should be processed. + + + A flag indicating whether explicitly specified property names should be processed, + e.g. a property name customized with a . + + + + + Initializes a new instance of the class. + + + A flag indicating whether dictionary keys should be processed. + + + A flag indicating whether explicitly specified property names should be processed, + e.g. a property name customized with a . + + + A flag indicating whether extension data names should be processed. + + + + + Initializes a new instance of the class. + + + + + Resolves the specified property name. + + The property name to resolve. + The resolved property name. + + + + Specifies how strings are escaped when writing JSON text. + + + + + Only control characters (e.g. newline) are escaped. + + + + + All non-ASCII and control characters (e.g. newline) are escaped. + + + + + HTML (<, >, &, ', ") and control characters (e.g. newline) are escaped. + + + + + Indicates the method that will be used during deserialization for locating and loading assemblies. + + + + + In simple mode, the assembly used during deserialization need not match exactly the assembly used during serialization. Specifically, the version numbers need not match as the LoadWithPartialName method of the class is used to load the assembly. + + + + + In full mode, the assembly used during deserialization must match exactly the assembly used during serialization. The Load method of the class is used to load the assembly. + + + + + Specifies type name handling options for the . + + + should be used with caution when your application deserializes JSON from an external source. + Incoming types should be validated with a custom + when deserializing with a value other than . + + + + + Do not include the .NET type name when serializing types. + + + + + Include the .NET type name when serializing into a JSON object structure. + + + + + Include the .NET type name when serializing into a JSON array structure. + + + + + Always include the .NET type name when serializing. + + + + + Include the .NET type name when the type of the object being serialized is not the same as its declared type. + Note that this doesn't include the root serialized object by default. To include the root object's type name in JSON + you must specify a root type object with + or . + + + + + Determines whether the collection is null or empty. + + The collection. + + true if the collection is null or empty; otherwise, false. + + + + + Adds the elements of the specified collection to the specified generic . + + The list to add to. + The collection of elements to add. + + + + Converts the value to the specified type. If the value is unable to be converted, the + value is checked whether it assignable to the specified type. + + The value to convert. + The culture to use when converting. + The type to convert or cast the value to. + + The converted type. If conversion was unsuccessful, the initial value + is returned if assignable to the target type. + + + + + Helper method for generating a MetaObject which calls a + specific method on Dynamic that returns a result + + + + + Helper method for generating a MetaObject which calls a + specific method on Dynamic, but uses one of the arguments for + the result. + + + + + Helper method for generating a MetaObject which calls a + specific method on Dynamic, but uses one of the arguments for + the result. + + + + + Returns a Restrictions object which includes our current restrictions merged + with a restriction limiting our type + + + + + Helper class for serializing immutable collections. + Note that this is used by all builds, even those that don't support immutable collections, in case the DLL is GACed + https://github.com/JamesNK/Newtonsoft.Json/issues/652 + + + + + Gets the type of the typed collection's items. + + The type. + The type of the typed collection's items. + + + + Gets the member's underlying type. + + The member. + The underlying type of the member. + + + + Determines whether the property is an indexed property. + + The property. + + true if the property is an indexed property; otherwise, false. + + + + + Gets the member's value on the object. + + The member. + The target object. + The member's value on the object. + + + + Sets the member's value on the target object. + + The member. + The target. + The value. + + + + Determines whether the specified MemberInfo can be read. + + The MemberInfo to determine whether can be read. + /// if set to true then allow the member to be gotten non-publicly. + + true if the specified MemberInfo can be read; otherwise, false. + + + + + Determines whether the specified MemberInfo can be set. + + The MemberInfo to determine whether can be set. + if set to true then allow the member to be set non-publicly. + if set to true then allow the member to be set if read-only. + + true if the specified MemberInfo can be set; otherwise, false. + + + + + Builds a string. Unlike this class lets you reuse its internal buffer. + + + + + Determines whether the string is all white space. Empty string will return false. + + The string to test whether it is all white space. + + true if the string is all white space; otherwise, false. + + + + + Specifies the state of the . + + + + + An exception has been thrown, which has left the in an invalid state. + You may call the method to put the in the Closed state. + Any other method calls result in an being thrown. + + + + + The method has been called. + + + + + An object is being written. + + + + + An array is being written. + + + + + A constructor is being written. + + + + + A property is being written. + + + + + A write method has not been called. + + + + Specifies that an output will not be null even if the corresponding type allows it. + + + Specifies that when a method returns , the parameter will not be null even if the corresponding type allows it. + + + Initializes the attribute with the specified return value condition. + + The return value condition. If the method returns this value, the associated parameter will not be null. + + + + Gets the return value condition. + + + Specifies that an output may be null even if the corresponding type disallows it. + + + Specifies that null is allowed as an input even if the corresponding type disallows it. + + + + Specifies that the method will not return if the associated Boolean parameter is passed the specified value. + + + + + Initializes a new instance of the class. + + + The condition parameter value. Code after the method will be considered unreachable by diagnostics if the argument to + the associated parameter matches this value. + + + + Gets the condition parameter value. + + + diff --git a/game/Assets/NuGet/Newtonsoft.Json.12.0.3/lib/net45/Newtonsoft.Json.xml.meta b/game/Assets/NuGet/Newtonsoft.Json.12.0.3/lib/net45/Newtonsoft.Json.xml.meta new file mode 100644 index 0000000..0381ab1 --- /dev/null +++ b/game/Assets/NuGet/Newtonsoft.Json.12.0.3/lib/net45/Newtonsoft.Json.xml.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 3131a9d011d22574ab3f1274471583e2 +TextScriptImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/game/Assets/NuGet/Newtonsoft.Json.12.0.3/packageIcon.png b/game/Assets/NuGet/Newtonsoft.Json.12.0.3/packageIcon.png new file mode 100644 index 0000000..c9b5372 --- /dev/null +++ b/game/Assets/NuGet/Newtonsoft.Json.12.0.3/packageIcon.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2eed317ee726bf5f06df0e7ae1fcfddc1991e14122e86cb761deb2158e4ffcdf +size 8956 diff --git a/game/Assets/NuGet/Newtonsoft.Json.12.0.3/packageIcon.png.meta b/game/Assets/NuGet/Newtonsoft.Json.12.0.3/packageIcon.png.meta new file mode 100644 index 0000000..d45766c --- /dev/null +++ b/game/Assets/NuGet/Newtonsoft.Json.12.0.3/packageIcon.png.meta @@ -0,0 +1,144 @@ +fileFormatVersion: 2 +guid: 85edf9dac6e89b442935eb3a1b52c803 +TextureImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 11 + mipmaps: + mipMapMode: 0 + enableMipMap: 1 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + isReadable: 0 + streamingMipmaps: 0 + streamingMipmapsPriority: 0 + vTOnly: 0 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: -1 + aniso: 2 + mipBias: -100 + wrapU: 0 + wrapV: 0 + wrapW: 0 + nPOTScale: 1 + lightmap: 0 + compressionQuality: 50 + spriteMode: 0 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spritePixelsToUnits: 100 + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spriteGenerateFallbackPhysicsShape: 1 + alphaUsage: 1 + alphaIsTransparency: 0 + spriteTessellationDetail: -1 + textureType: 0 + textureShape: 1 + singleChannelComponent: 0 + flipbookRows: 1 + flipbookColumns: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + ignorePngGamma: 0 + applyGammaDecoding: 0 + platformSettings: + - serializedVersion: 3 + buildTarget: DefaultTexturePlatform + maxTextureSize: 8192 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: Standalone + maxTextureSize: 8192 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: iPhone + maxTextureSize: 8192 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: Android + maxTextureSize: 8192 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: Windows Store Apps + maxTextureSize: 8192 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + bones: [] + spriteID: + internalID: 0 + vertices: [] + indices: + edges: [] + weights: [] + secondaryTextures: [] + spritePackingTag: + pSDRemoveMatte: 0 + pSDShowRemoveMatteOption: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/game/Assets/Scripts/Dialogue.meta b/game/Assets/Scripts/Dialogue.meta new file mode 100644 index 0000000..835ad89 --- /dev/null +++ b/game/Assets/Scripts/Dialogue.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 38e2299f9da972548a91c68f3b6ac8da +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/game/Assets/Scripts/Dialogue/DialogueBuildProcessor.cs b/game/Assets/Scripts/Dialogue/DialogueBuildProcessor.cs new file mode 100644 index 0000000..f764de4 --- /dev/null +++ b/game/Assets/Scripts/Dialogue/DialogueBuildProcessor.cs @@ -0,0 +1,42 @@ +#if UNITY_EDITOR + +using System.Collections; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using UnityEditor; +using UnityEditor.Build; +using UnityEditor.Build.Reporting; +using UnityEditor.Compilation; +using UnityEngine; + +public class DialogueBuildProcessor : IPreprocessBuildWithReport, IPostprocessBuildWithReport +{ + public int callbackOrder => 0; + + public void OnPreprocessBuild(BuildReport report) + { + Debug.Log(":: begin dialogue import"); + if (DialogueDatabase.Import() != 0) throw new BuildFailedException(":: dialogue import failed"); + Debug.Log(":: dialogue import complete"); + } + + public void OnPostprocessBuild(BuildReport report) + { + Debug.Log($"DialogueBuildProcessor.OnPostprocessBuild for target {report.summary.platform} at path {report.summary.outputPath}"); + + // copy dialogue csv to build _Data folder + var dir = Path.GetDirectoryName(report.summary.outputPath); + if (dir == null) throw new BuildFailedException("no build directory"); + + var dataDir = Directory + .GetDirectories(dir) + .Single(p => p.EndsWith("_Data")); + var buildPath = Path.Combine(dataDir, DialogueDatabase.DIALOGUE_FILENAME); + + File.Copy(DialogueDatabase.EDITOR_DialogueFile, buildPath); + Debug.Log($":: copied dialogue file {DialogueDatabase.EDITOR_DialogueFile} to output folder {buildPath}"); + } +} + +#endif \ No newline at end of file diff --git a/game/Assets/Scripts/Dialogue/DialogueBuildProcessor.cs.meta b/game/Assets/Scripts/Dialogue/DialogueBuildProcessor.cs.meta new file mode 100644 index 0000000..2251855 --- /dev/null +++ b/game/Assets/Scripts/Dialogue/DialogueBuildProcessor.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 25e006774445ed94295f34e249d2b076 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/game/Assets/Scripts/Dialogue/DialogueDatabase.cs b/game/Assets/Scripts/Dialogue/DialogueDatabase.cs new file mode 100644 index 0000000..4b54fd2 --- /dev/null +++ b/game/Assets/Scripts/Dialogue/DialogueDatabase.cs @@ -0,0 +1,142 @@ +using System.Collections; +using System.Collections.Generic; +using System.IO; +using System.Security.Cryptography.X509Certificates; +using System.Text; +using System.Threading; +using Google.Apis.Auth.OAuth2; +using Google.Apis.Services; +using Google.Apis.Sheets.v4; +using Google.Apis.Util.Store; +using UnityEngine; + +#region Editor +#if UNITY_EDITOR +using UnityEditor; + +public static partial class DialogueDatabase +{ + public static string EDITOR_DialogueFile => + Path.Combine(Application.dataPath, "Data", "Dialogue", DIALOGUE_FILENAME); + + // TODO: neither of these should be in the repository! ideally, move them behind secure + // gitlab variables before there is too much data at risk + private const string SPREADSHEET_ID = "1H42653xGbKLxbsDzz7CSR0iaNMz1hU42LX5hWiFtn-Y"; + private const string API_KEY = "AIzaSyD-tKzeKpAj5sFnbXbj2k4H2RQxipw8B8s"; + private const string SERVICE_ACCOUNT_EMAIL = "gitlab-runner-dialogue-import@revival-304616.iam.gserviceaccount.com"; + private const string CERTIFICATE_NAME = "revival-304616-7f150d13c408.p12"; + + private static string _workFolder => Path.Combine(Application.dataPath, "Data", "Dialogue"); + private static string _certificateFile => Path.Combine(_workFolder, CERTIFICATE_NAME); + + // makes a web request via google + // returns 0 on success + public static int Import() + { + var certificate = new X509Certificate2(_certificateFile, "notasecret", X509KeyStorageFlags.Exportable); + + var credential = new ServiceAccountCredential( + new ServiceAccountCredential.Initializer(SERVICE_ACCOUNT_EMAIL) + { + Scopes = new[] {SheetsService.Scope.SpreadsheetsReadonly} + }.FromCertificate(certificate)); + + var service = new SheetsService(new BaseClientService.Initializer() + { + HttpClientInitializer = credential, + ApplicationName = "Kernel Panic - Revival Dialogue Importer", + ApiKey = API_KEY + }); + + // first two columns, ignore first row + var range = "Sheet1!A2:B"; + var request = service.Spreadsheets.Values.Get(SPREADSHEET_ID, range); + + var response = request.Execute(); + var values = response.Values; + + if (values == null || values.Count == 0) + { + Debug.LogError("no data"); + return 1; + } + + var sb = new StringBuilder(); + foreach (var row in values) + { + sb.AppendLine($"{row[0]},{row[1]},"); + } + + File.WriteAllText(EDITOR_DialogueFile, sb.ToString()); + if (!File.Exists(EDITOR_DialogueFile)) + { + Debug.LogError($":: import failed: file doesn't exist: {EDITOR_DialogueFile}"); + return 1; + } + + return 0; + } + + [MenuItem("ktyl/Import Dialogue")] + private static void ImportDialogueMenuItem() + { + Import(); + } +} + +#endif +#endregion + +public static partial class DialogueDatabase +{ + public const string DIALOGUE_FILENAME = "dialogue.csv"; + + public static string DialogueFile + { + get + { +#if UNITY_EDITOR + // ensure file exists and run import if necessary + if (!File.Exists(EDITOR_DialogueFile) && Import() != 0) return null; + + return EDITOR_DialogueFile; +#else + return Path.Combine(Application.dataPath, DIALOGUE_FILENAME); +#endif + } + } + + static DialogueDatabase() + { + Debug.Log($":: building dialogue database from file at {DialogueFile}"); + + int count = 0; + foreach (var line in File.ReadLines(DialogueFile)) + { + var parts = line.Split(','); + + var key = parts[0]; + var text = parts[1]; + if (string.IsNullOrEmpty(key) || string.IsNullOrEmpty(text)) + { + Debug.LogWarning($"bad line in csv: {line}"); + continue; + } + + _dict[key] = text; + count++; + } + + Debug.Log($":: imported {count} lines of dialogue"); + } + + private static readonly Dictionary _dict = new Dictionary(); + + public static string ReadDialogue(string key) + { + return _dict.ContainsKey(key) + ? _dict[key] + : $"MISSING[{key}]"; + } + +} \ No newline at end of file diff --git a/game/Assets/Scripts/Dialogue/DialogueDatabase.cs.meta b/game/Assets/Scripts/Dialogue/DialogueDatabase.cs.meta new file mode 100644 index 0000000..9e477e9 --- /dev/null +++ b/game/Assets/Scripts/Dialogue/DialogueDatabase.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: f7cbbd6606ed17f409a4c38aa30bd3b5 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/game/UserSettings/EditorUserSettings.asset b/game/UserSettings/EditorUserSettings.asset deleted file mode 100644 index dfca2d9..0000000 --- a/game/UserSettings/EditorUserSettings.asset +++ /dev/null @@ -1,45 +0,0 @@ -%YAML 1.1 -%TAG !u! tag:unity3d.com,2011: ---- !u!162 &1 -EditorUserSettings: - m_ObjectHideFlags: 0 - serializedVersion: 4 - m_ConfigSettings: - RecentlyUsedScenePath-0: - value: 22424703114646680e0b0227036c6c111b07142f1f2b233e2867083debf42d - flags: 0 - RecentlyUsedScenePath-1: - value: 22424703114646680e0b0227036c7d1f19033e26233f68252320092a - flags: 0 - RecentlyUsedScenePath-2: - value: 22424703114646680e0b0227036c7c021313113e3f66333e243d04 - flags: 0 - RecentlyUsedScenePath-3: - value: 22424703114646680e0b0227036c791c1900563f22213229 - flags: 0 - RecentlyUsedScenePath-4: - value: 22424703114646680e0b0227036c73150012140f21383229633c133af6f9 - flags: 0 - RecentlyUsedScenePath-5: - value: 22424703114646680e0b0227036c72111f19352f223d68252320092a - flags: 0 - RecentlyUsedScenePath-6: - value: 22424703114646680e0b0227036c72111f19563f22213229 - flags: 0 - RecentlyUsedScenePath-7: - value: 22424703114646680e0b0227036c7d1f1903563f22213229 - flags: 0 - vcSharedLogLevel: - value: 0d5e400f0650 - flags: 0 - m_VCAutomaticAdd: 1 - m_VCDebugCom: 0 - m_VCDebugCmd: 0 - m_VCDebugOut: 0 - m_SemanticMergeMode: 2 - m_VCShowFailedCheckout: 1 - m_VCOverwriteFailedCheckoutAssets: 1 - m_VCProjectOverlayIcons: 1 - m_VCHierarchyOverlayIcons: 1 - m_VCOtherOverlayIcons: 1 - m_VCAllowAsyncUpdate: 1 diff --git a/game/nuget.config b/game/nuget.config new file mode 100644 index 0000000..ed2ff86 --- /dev/null +++ b/game/nuget.config @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/game/packages.config b/game/packages.config new file mode 100644 index 0000000..2097dd2 --- /dev/null +++ b/game/packages.config @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file