google-cloud-datastore-admin 0.5.1 → 0.5.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7ab70110157fc51930ffede97ac777cf5f3ac305cca74cf395d37f99ed11509d
4
- data.tar.gz: 2bc054ac734cc790bf560cac701138afdf72ca6553113c0f18de022dfa52ab4f
3
+ metadata.gz: 2daa072ccf2214609de4bd1ad3ac441c1d2eaba778b8e498ed1da8c55c83e30e
4
+ data.tar.gz: d4085360bf480577f73caff2f792e4deaf41742416deec332066c633ab5748c7
5
5
  SHA512:
6
- metadata.gz: 13c2ed29a8bca308f71e2aeda440b108b49930c7860c70a6bf02fb35ec3f8b25eec48a5b9140ac7b532ca23ad1e15a0d007bbf8ec5c636b6fc1099bf4230c3e9
7
- data.tar.gz: f09349a85de6de6c17cb95a55da2066ca07c1915b101d025b452fcd2d90a29e6dba0e9c37f1b44dc2c08ef7cd8287edc3a06e9fbf35c594d7a23d0d844ad06fb
6
+ metadata.gz: 5250a96fb133267379b45594eb046d9836f3718ee8d8b279ed8d46548022121a9aaee021d5fd51e3ce5457c36ee5c92c5bd37a2c3ff1a536908ab407fe984642
7
+ data.tar.gz: 85921039bd73ccbf5de7ab4fe6a9acd04856eba0d592c50a185885d3e223cb09357b73a0534bb13a626b0f2ddf1050b9f39650a7cb6e6ad2cddaf619d45d6467
data/README.md CHANGED
@@ -34,6 +34,14 @@ In order to use this library, you first need to go through the following steps:
34
34
  1. [Enable the API.](https://console.cloud.google.com/apis/library/datastore.googleapis.com)
35
35
  1. {file:AUTHENTICATION.md Set up authentication.}
36
36
 
37
+ ```ruby
38
+ require "google/cloud/datastore/admin"
39
+
40
+ client = Google::Cloud::Datastore::Admin.datastore_admin
41
+ request = ::Google::Cloud::Datastore::Admin::V1::ExportEntitiesRequest.new # (request fields as keyword arguments...)
42
+ response = client.export_entities request
43
+ ```
44
+
37
45
  ## Debug Logging
38
46
 
39
47
  This library comes with opt-in Debug Logging that can help you troubleshoot
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Datastore
23
23
  module Admin
24
- VERSION = "0.5.1"
24
+ VERSION = "0.5.2"
25
25
  end
26
26
  end
27
27
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-datastore-admin
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.1
4
+ version: 0.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.6.8
78
+ rubygems_version: 3.6.9
79
79
  specification_version: 4
80
80
  summary: API Client library for the Firestore in Datastore mode Admin API
81
81
  test_files: []