google-cloud-firestore-admin-v1 0.12.0 → 0.14.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 +72 -101
- data/lib/google/cloud/firestore/admin/v1/firestore_admin/client.rb +147 -12
- data/lib/google/cloud/firestore/admin/v1/firestore_admin/operations.rb +28 -6
- data/lib/google/cloud/firestore/admin/v1/firestore_admin/rest/client.rb +142 -11
- data/lib/google/cloud/firestore/admin/v1/firestore_admin/rest/operations.rb +33 -8
- data/lib/google/cloud/firestore/admin/v1/firestore_admin/rest/service_stub.rb +73 -2
- data/lib/google/cloud/firestore/admin/v1/version.rb +1 -1
- data/lib/google/firestore/admin/v1/database_pb.rb +3 -2
- data/lib/google/firestore/admin/v1/firestore_admin_pb.rb +3 -1
- data/lib/google/firestore/admin/v1/firestore_admin_services_pb.rb +4 -1
- data/proto_docs/google/api/client.rb +1 -0
- data/proto_docs/google/firestore/admin/v1/database.rb +27 -2
- data/proto_docs/google/firestore/admin/v1/firestore_admin.rb +40 -3
- metadata +7 -7
@@ -46,7 +46,11 @@ module Google
|
|
46
46
|
# Required. The ID to use for the database, which will become the final
|
47
47
|
# component of the database's resource name.
|
48
48
|
#
|
49
|
-
#
|
49
|
+
# This value should be 4-63 characters. Valid characters are /[a-z][0-9]-/
|
50
|
+
# with first character a letter and the last a letter or a number. Must not
|
51
|
+
# be UUID-like /[0-9a-f]\\{8}(-[0-9a-f]\\{4})\\{3}-[0-9a-f]\\{12}/.
|
52
|
+
#
|
53
|
+
# "(default)" database id is also valid.
|
50
54
|
class CreateDatabaseRequest
|
51
55
|
include ::Google::Protobuf::MessageExts
|
52
56
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -62,6 +66,17 @@ module Google
|
|
62
66
|
# @!attribute [rw] databases
|
63
67
|
# @return [::Array<::Google::Cloud::Firestore::Admin::V1::Database>]
|
64
68
|
# The databases in the project.
|
69
|
+
# @!attribute [rw] unreachable
|
70
|
+
# @return [::Array<::String>]
|
71
|
+
# In the event that data about individual databases cannot be listed they
|
72
|
+
# will be recorded here.
|
73
|
+
#
|
74
|
+
# An example entry might be: projects/some_project/locations/some_location
|
75
|
+
# This can happen if the Cloud Region that the Database resides in is
|
76
|
+
# currently unavailable. In this case we can't fetch all the details about
|
77
|
+
# the database. You may be able to get a more detailed error message
|
78
|
+
# (or possibly fetch the resource) by sending a 'Get' request for the
|
79
|
+
# resource or a 'List' request for the specific location.
|
65
80
|
class ListDatabasesResponse
|
66
81
|
include ::Google::Protobuf::MessageExts
|
67
82
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -97,6 +112,28 @@ module Google
|
|
97
112
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
98
113
|
end
|
99
114
|
|
115
|
+
# The request for
|
116
|
+
# {::Google::Cloud::Firestore::Admin::V1::FirestoreAdmin::Client#delete_database FirestoreAdmin.DeleteDatabase}.
|
117
|
+
# @!attribute [rw] name
|
118
|
+
# @return [::String]
|
119
|
+
# Required. A name of the form
|
120
|
+
# `projects/{project_id}/databases/{database_id}`
|
121
|
+
# @!attribute [rw] etag
|
122
|
+
# @return [::String]
|
123
|
+
# The current etag of the Database.
|
124
|
+
# If an etag is provided and does not match the current etag of the database,
|
125
|
+
# deletion will be blocked and a FAILED_PRECONDITION error will be returned.
|
126
|
+
class DeleteDatabaseRequest
|
127
|
+
include ::Google::Protobuf::MessageExts
|
128
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
129
|
+
end
|
130
|
+
|
131
|
+
# Metadata related to the delete database operation.
|
132
|
+
class DeleteDatabaseMetadata
|
133
|
+
include ::Google::Protobuf::MessageExts
|
134
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
135
|
+
end
|
136
|
+
|
100
137
|
# The request for
|
101
138
|
# {::Google::Cloud::Firestore::Admin::V1::FirestoreAdmin::Client#create_index FirestoreAdmin.CreateIndex}.
|
102
139
|
# @!attribute [rw] parent
|
@@ -256,7 +293,7 @@ module Google
|
|
256
293
|
# generated based on the start time.
|
257
294
|
# @!attribute [rw] namespace_ids
|
258
295
|
# @return [::Array<::String>]
|
259
|
-
#
|
296
|
+
# An empty list represents all namespaces. This is the preferred
|
260
297
|
# usage for databases that don't use namespaces.
|
261
298
|
#
|
262
299
|
# An empty string element represents the default namespace. This should be
|
@@ -295,7 +332,7 @@ module Google
|
|
295
332
|
# {::Google::Cloud::Firestore::Admin::V1::ExportDocumentsResponse#output_uri_prefix google.firestore.admin.v1.ExportDocumentsResponse.output_uri_prefix}.
|
296
333
|
# @!attribute [rw] namespace_ids
|
297
334
|
# @return [::Array<::String>]
|
298
|
-
#
|
335
|
+
# An empty list represents all namespaces. This is the preferred
|
299
336
|
# usage for databases that don't use namespaces.
|
300
337
|
#
|
301
338
|
# An empty string element represents the default namespace. This should be
|
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.14.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:
|
11
|
+
date: 2024-01-11 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.
|
19
|
+
version: 0.21.1
|
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.
|
29
|
+
version: 0.21.1
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -50,7 +50,7 @@ dependencies:
|
|
50
50
|
requirements:
|
51
51
|
- - ">="
|
52
52
|
- !ruby/object:Gem::Version
|
53
|
-
version: '0.
|
53
|
+
version: '0.7'
|
54
54
|
- - "<"
|
55
55
|
- !ruby/object:Gem::Version
|
56
56
|
version: 2.a
|
@@ -60,7 +60,7 @@ dependencies:
|
|
60
60
|
requirements:
|
61
61
|
- - ">="
|
62
62
|
- !ruby/object:Gem::Version
|
63
|
-
version: '0.
|
63
|
+
version: '0.7'
|
64
64
|
- - "<"
|
65
65
|
- !ruby/object:Gem::Version
|
66
66
|
version: 2.a
|
@@ -247,7 +247,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
247
247
|
- !ruby/object:Gem::Version
|
248
248
|
version: '0'
|
249
249
|
requirements: []
|
250
|
-
rubygems_version: 3.
|
250
|
+
rubygems_version: 3.5.3
|
251
251
|
signing_key:
|
252
252
|
specification_version: 4
|
253
253
|
summary: Accesses the NoSQL document database built for automatic scaling, high performance,
|