Google.Cloud.Firestore

当前版本: 2.3.0-beta01


Google.Cloud.Firestore是什么?

Re co请求谷歌客户端库访问Firestore API。
Recommended Google client library to access the Firestore API.

许可协议

Apache-2.0

关键词

firestore , firebase , Google , Cloud , client-libraries , dotnet , google-cloud

安装方式

Install-Package Google.Cloud.Firestore -Version 2.3.0-beta01

相关网址


Google.Cloud.Firestore使用说明

Google Cloud Libraries for .NET

.NET idiomatic client libraries for Google Cloud Platform services.

Travis build Status Appveyor build status Coverage Status

The following libraries are available at a GA quality level:

The following libraries are available at a beta quality level:

The following libraries are available at an alpha quality level:

  • Google Cloud Metadata - API docs (alpha)

See the API documentation for details of the status of each library.

Note: This client is a work-in-progress, and may occasionally make backwards-incompatible changes.

If you need support for other Google APIs, check out the Google .NET API Client library

Example Applications (示例应用程序)

Specifying a Project ID

Most Google Cloud Libraries for .NET require a project ID. If you don't remember yours (or haven't created a project yet), navigate to the Google Developers Console to view your project ID (or create a new project and then get the ID). Once done, record the value and make sure to pass it as a parameter to the methods that require it.

Authentication (身份验证)

Every API call needs to be authenticated. In order to successfully make a call, first ensure that the necessary Google Cloud APIs are enabled for your project and that you've downloaded the right set of keys (if it applies to you) as explained in the authentication document.

Next, choose a method for authenticating API requests from within your project:

  1. When using google-cloud-dotnet libraries from within Compute/App Engine, no additional authentication steps are necessary.
  2. When using google-cloud-dotnet libraries elsewhere, you can do one of the following:
    • Define the environment variable GOOGLE_APPLICATION_CREDENTIALS to be the location of the key. For example:

      set GOOGLE_APPLICATION_CREDENTIALS=/path/to/my/key.json
      
    • If running locally for development/testing, you can authenticate using the Google Cloud SDK. Download the SDK if you haven't already, then login by running the following in the command line:

      gcloud auth application-default login
      

Supported platforms (支持的平台)

See the Supported Platforms documentation for details on where the Google Cloud Libraries for .NET are supported.

Versioning (版本控制)

The Google Cloud Client Libraries for .NET follow Semantic Versioning.

The version number in the package name (and .NET namespace) represents the version of the underlying API; the version number for the package itself indicates the status of the client library, according to the following quality levels:

GA: Libraries defined at a GA (General Availability) quality level are expected to be stable: breaking API changes will not be made without a new major release.

Beta: Libraries defined at a Beta quality level are expected to be stable and working, but the API surface is still under active development. We encourage you to experiment with these libraries, but expect breaking changes in future versions. There may still be issues, but we have a fairly high degree of confidence.

Alpha: Libraries defined at an Alpha quality level are still experimental. They may have significant issues, and the API surface will almost certainly change before a final release. We encourage experimentation with these libraries on test projects, but strongly discourage you from using them in a production environment.

License (许可)

Apache 2.0 - See LICENSE for more information.

项目热度

项目信息

分享到

基本信息
开发语言
C#
相关项目
26
相关仓库
21
Watchers
95
Stars
616
Forks
283
版本数量
31
最新发布
2020-10-29
首次发布
2017-12-07
仓库大小
181 MB

版本历史
2.3.0-beta01
2020-10-29
2.2.0
2020-10-06
2.1.0
2020-06-02
2.0.0
2020-05-12
2.0.0-beta02
2020-03-18
2.0.0-beta01
2020-02-18
1.1.0
2019-12-03
1.1.0-beta02
2019-11-05
1.1.0-beta01
2019-09-05
1.0.0
2019-07-16

贡献者
Jon Skeet Ian Mike Dour benwulfe Chris Bacon Amanda Tarafa Mas Amanda Tarafa Mas Deren Liao Henk Mollema Alex Rolf Kristensen Chris Sells choenden Frank Natividad JJ Geewax Cameron Taggart Garrett Jones Ivan Naranjo Justin Beckwith devjohncruz Tim Swast Walter Poupore Walter Poupore Walter Poupore