google-cloud-firestore-admin-v1 0.6.0 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/AUTHENTICATION.md +1 -1
- data/lib/google/cloud/firestore/admin/v1/firestore_admin/client.rb +14 -0
- data/lib/google/cloud/firestore/admin/v1/version.rb +1 -1
- data/proto_docs/google/firestore/admin/v1/location.rb +1 -1
- data/proto_docs/google/protobuf/empty.rb +0 -2
- metadata +22 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5d2b82bc7e31a94b443d3488036598da63964727af49bc0b3a470cc7363a14a6
|
4
|
+
data.tar.gz: 5a57057c552eea368c848128f84269060ac6c0808be571052f72a5cd04239a84
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ae3ab82b13d2d1b0a929fa80749e93e33034fb2c8f1633deeef087c2ec5ea5e9908a82ac543c823474bd3b52053d49c240bb0ceb9a889e8a9a63f1cfa79203f9
|
7
|
+
data.tar.gz: e1ed38ee364e96a8b2f7b33dd887b4a42dbac1b6d89caf855969772dbc2ded8afdaf21621edc32cf472eaac97fab58d621907ec27ec88aba9cdea00588ea5dbb
|
data/AUTHENTICATION.md
CHANGED
@@ -114,7 +114,7 @@ credentials are discovered.
|
|
114
114
|
To configure your system for this, simply:
|
115
115
|
|
116
116
|
1. [Download and install the Cloud SDK](https://cloud.google.com/sdk)
|
117
|
-
2. Authenticate using OAuth 2.0 `$ gcloud auth login`
|
117
|
+
2. Authenticate using OAuth 2.0 `$ gcloud auth application-default login`
|
118
118
|
3. Write code as if already authenticated.
|
119
119
|
|
120
120
|
**NOTE:** This is _not_ recommended for running in production. The Cloud SDK
|
@@ -18,6 +18,7 @@
|
|
18
18
|
|
19
19
|
require "google/cloud/errors"
|
20
20
|
require "google/firestore/admin/v1/firestore_admin_pb"
|
21
|
+
require "google/cloud/location"
|
21
22
|
|
22
23
|
module Google
|
23
24
|
module Cloud
|
@@ -200,6 +201,12 @@ module Google
|
|
200
201
|
config.endpoint = @config.endpoint
|
201
202
|
end
|
202
203
|
|
204
|
+
@location_client = Google::Cloud::Location::Locations::Client.new do |config|
|
205
|
+
config.credentials = credentials
|
206
|
+
config.quota_project = @quota_project_id
|
207
|
+
config.endpoint = @config.endpoint
|
208
|
+
end
|
209
|
+
|
203
210
|
@firestore_admin_stub = ::Gapic::ServiceStub.new(
|
204
211
|
::Google::Cloud::Firestore::Admin::V1::FirestoreAdmin::Stub,
|
205
212
|
credentials: credentials,
|
@@ -216,6 +223,13 @@ module Google
|
|
216
223
|
#
|
217
224
|
attr_reader :operations_client
|
218
225
|
|
226
|
+
##
|
227
|
+
# Get the associated client for mix-in of the Locations.
|
228
|
+
#
|
229
|
+
# @return [Google::Cloud::Location::Locations::Client]
|
230
|
+
#
|
231
|
+
attr_reader :location_client
|
232
|
+
|
219
233
|
# Service calls
|
220
234
|
|
221
235
|
##
|
@@ -22,7 +22,7 @@ module Google
|
|
22
22
|
module Firestore
|
23
23
|
module Admin
|
24
24
|
module V1
|
25
|
-
# The metadata message for
|
25
|
+
# The metadata message for `::Google::Cloud::Location::Location#metadata`.
|
26
26
|
class LocationMetadata
|
27
27
|
include ::Google::Protobuf::MessageExts
|
28
28
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -26,8 +26,6 @@ module Google
|
|
26
26
|
# service Foo {
|
27
27
|
# rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
|
28
28
|
# }
|
29
|
-
#
|
30
|
-
# The JSON representation for `Empty` is empty JSON object `{}`.
|
31
29
|
class Empty
|
32
30
|
include ::Google::Protobuf::MessageExts
|
33
31
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-firestore-admin-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.7.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-09-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -44,6 +44,26 @@ dependencies:
|
|
44
44
|
- - "~>"
|
45
45
|
- !ruby/object:Gem::Version
|
46
46
|
version: '1.0'
|
47
|
+
- !ruby/object:Gem::Dependency
|
48
|
+
name: google-cloud-location
|
49
|
+
requirement: !ruby/object:Gem::Requirement
|
50
|
+
requirements:
|
51
|
+
- - ">="
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: '0.0'
|
54
|
+
- - "<"
|
55
|
+
- !ruby/object:Gem::Version
|
56
|
+
version: 2.a
|
57
|
+
type: :runtime
|
58
|
+
prerelease: false
|
59
|
+
version_requirements: !ruby/object:Gem::Requirement
|
60
|
+
requirements:
|
61
|
+
- - ">="
|
62
|
+
- !ruby/object:Gem::Version
|
63
|
+
version: '0.0'
|
64
|
+
- - "<"
|
65
|
+
- !ruby/object:Gem::Version
|
66
|
+
version: 2.a
|
47
67
|
- !ruby/object:Gem::Dependency
|
48
68
|
name: google-style
|
49
69
|
requirement: !ruby/object:Gem::Requirement
|