google-cloud-firestore-admin-v1 0.5.0 → 0.7.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0bc700baa2a55a0bbec499e27819be1442c8e2c612eb377687d7f2c2e8726897
4
- data.tar.gz: d228fffb8b9b3c254e48de952f99d2d2da33f10df4490118933c551ae8a49679
3
+ metadata.gz: 5d2b82bc7e31a94b443d3488036598da63964727af49bc0b3a470cc7363a14a6
4
+ data.tar.gz: 5a57057c552eea368c848128f84269060ac6c0808be571052f72a5cd04239a84
5
5
  SHA512:
6
- metadata.gz: 4562372f59d7a484b28d08af26da909ea8ebd018135e673938cb78a3a6b1e15005c74a0c6c73ff16ccfdd8f6a1d7a2103b5386927eb42419b88ebf3c6c42d5d9
7
- data.tar.gz: 9993403fa72b26c7c85704c846ac2da78d8d1d28b5c49ed9c0635a2045319264a0ca1425c409aa8d5cd0bf05aa07c4cd725beabe299bcf632bed945794253b80
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
data/README.md CHANGED
@@ -76,14 +76,14 @@ To browse ready to use code samples check [Google Cloud Samples](https://cloud.g
76
76
 
77
77
  ## Supported Ruby Versions
78
78
 
79
- This library is supported on Ruby 2.5+.
79
+ This library is supported on Ruby 2.6+.
80
80
 
81
81
  Google provides official support for Ruby versions that are actively supported
82
82
  by Ruby Core—that is, Ruby versions that are either in normal maintenance or
83
- in security maintenance, and not end of life. Currently, this means Ruby 2.5
84
- and later. Older versions of Ruby _may_ still work, but are unsupported and not
85
- recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details
86
- about the Ruby support schedule.
83
+ in security maintenance, and not end of life. Older versions of Ruby _may_
84
+ still work, but are unsupported and not recommended. See
85
+ https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby
86
+ support schedule.
87
87
 
88
88
  ## Which client should I use?
89
89
 
@@ -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
  ##
@@ -96,6 +96,9 @@ module Google
96
96
  channel_args: @config.channel_args,
97
97
  interceptors: @config.interceptors
98
98
  )
99
+
100
+ # Used by an LRO wrapper for some methods of this service
101
+ @operations_client = self
99
102
  end
100
103
 
101
104
  # Service calls
@@ -22,7 +22,7 @@ module Google
22
22
  module Firestore
23
23
  module Admin
24
24
  module V1
25
- VERSION = "0.5.0"
25
+ VERSION = "0.7.0"
26
26
  end
27
27
  end
28
28
  end
@@ -22,7 +22,7 @@ module Google
22
22
  module Firestore
23
23
  module Admin
24
24
  module V1
25
- # The metadata message for [google.cloud.location.Location.metadata][google.cloud.location.Location.metadata].
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.5.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-06-06 00:00:00.000000000 Z
11
+ date: 2022-09-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0.7'
19
+ version: '0.10'
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: '0.7'
29
+ version: '0.10'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -44,34 +44,54 @@ 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
50
70
  requirements:
51
71
  - - "~>"
52
72
  - !ruby/object:Gem::Version
53
- version: 1.25.1
73
+ version: 1.26.1
54
74
  type: :development
55
75
  prerelease: false
56
76
  version_requirements: !ruby/object:Gem::Requirement
57
77
  requirements:
58
78
  - - "~>"
59
79
  - !ruby/object:Gem::Version
60
- version: 1.25.1
80
+ version: 1.26.1
61
81
  - !ruby/object:Gem::Dependency
62
82
  name: minitest
63
83
  requirement: !ruby/object:Gem::Requirement
64
84
  requirements:
65
85
  - - "~>"
66
86
  - !ruby/object:Gem::Version
67
- version: '5.14'
87
+ version: '5.16'
68
88
  type: :development
69
89
  prerelease: false
70
90
  version_requirements: !ruby/object:Gem::Requirement
71
91
  requirements:
72
92
  - - "~>"
73
93
  - !ruby/object:Gem::Version
74
- version: '5.14'
94
+ version: '5.16'
75
95
  - !ruby/object:Gem::Dependency
76
96
  name: minitest-focus
77
97
  requirement: !ruby/object:Gem::Requirement
@@ -106,14 +126,14 @@ dependencies:
106
126
  requirements:
107
127
  - - ">="
108
128
  - !ruby/object:Gem::Version
109
- version: '12.0'
129
+ version: '13.0'
110
130
  type: :development
111
131
  prerelease: false
112
132
  version_requirements: !ruby/object:Gem::Requirement
113
133
  requirements:
114
134
  - - ">="
115
135
  - !ruby/object:Gem::Version
116
- version: '12.0'
136
+ version: '13.0'
117
137
  - !ruby/object:Gem::Dependency
118
138
  name: redcarpet
119
139
  requirement: !ruby/object:Gem::Requirement
@@ -212,7 +232,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
212
232
  requirements:
213
233
  - - ">="
214
234
  - !ruby/object:Gem::Version
215
- version: '2.5'
235
+ version: '2.6'
216
236
  required_rubygems_version: !ruby/object:Gem::Requirement
217
237
  requirements:
218
238
  - - ">="