google-cloud-firestore-admin-v1 0.7.1 → 0.8.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/google/cloud/firestore/admin/v1/firestore_admin/client.rb +28 -32
- data/lib/google/cloud/firestore/admin/v1/firestore_admin/operations.rb +12 -14
- data/lib/google/cloud/firestore/admin/v1/firestore_admin/rest/client.rb +1289 -0
- data/lib/google/cloud/firestore/admin/v1/firestore_admin/rest/operations.rb +795 -0
- data/lib/google/cloud/firestore/admin/v1/firestore_admin/rest/service_stub.rb +763 -0
- data/lib/google/cloud/firestore/admin/v1/firestore_admin/rest.rb +82 -0
- data/lib/google/cloud/firestore/admin/v1/firestore_admin.rb +6 -0
- data/lib/google/cloud/firestore/admin/v1/rest.rb +39 -0
- data/lib/google/cloud/firestore/admin/v1/version.rb +1 -1
- data/lib/google/cloud/firestore/admin/v1.rb +5 -0
- metadata +15 -9
@@ -0,0 +1,82 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2023 Google LLC
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
18
|
+
|
19
|
+
require "gapic/rest"
|
20
|
+
require "gapic/config"
|
21
|
+
require "gapic/config/method"
|
22
|
+
|
23
|
+
require "google/cloud/firestore/admin/v1/version"
|
24
|
+
|
25
|
+
require "google/cloud/firestore/admin/v1/firestore_admin/credentials"
|
26
|
+
require "google/cloud/firestore/admin/v1/firestore_admin/paths"
|
27
|
+
require "google/cloud/firestore/admin/v1/firestore_admin/rest/operations"
|
28
|
+
require "google/cloud/firestore/admin/v1/firestore_admin/rest/client"
|
29
|
+
|
30
|
+
module Google
|
31
|
+
module Cloud
|
32
|
+
module Firestore
|
33
|
+
module Admin
|
34
|
+
module V1
|
35
|
+
##
|
36
|
+
# The Cloud Firestore Admin API.
|
37
|
+
#
|
38
|
+
# This API provides several administrative services for Cloud Firestore.
|
39
|
+
#
|
40
|
+
# Project, Database, Namespace, Collection, Collection Group, and Document are
|
41
|
+
# used as defined in the Google Cloud Firestore API.
|
42
|
+
#
|
43
|
+
# Operation: An Operation represents work being performed in the background.
|
44
|
+
#
|
45
|
+
# The index service manages Cloud Firestore indexes.
|
46
|
+
#
|
47
|
+
# Index creation is performed asynchronously.
|
48
|
+
# An Operation resource is created for each such asynchronous operation.
|
49
|
+
# The state of the operation (including any errors encountered)
|
50
|
+
# may be queried via the Operation resource.
|
51
|
+
#
|
52
|
+
# The Operations collection provides a record of actions performed for the
|
53
|
+
# specified Project (including any Operations in progress). Operations are not
|
54
|
+
# created directly but through calls on other collections or resources.
|
55
|
+
#
|
56
|
+
# An Operation that is done may be deleted so that it is no longer listed as
|
57
|
+
# part of the Operation collection. Operations are garbage collected after
|
58
|
+
# 30 days. By default, ListOperations will only return in progress and failed
|
59
|
+
# operations. To list completed operation, issue a ListOperations request with
|
60
|
+
# the filter `done: true`.
|
61
|
+
#
|
62
|
+
# Operations are created by service `FirestoreAdmin`, but are accessed via
|
63
|
+
# service `google.longrunning.Operations`.
|
64
|
+
#
|
65
|
+
# To load this service and instantiate a REST client:
|
66
|
+
#
|
67
|
+
# require "google/cloud/firestore/admin/v1/firestore_admin/rest"
|
68
|
+
# client = ::Google::Cloud::Firestore::Admin::V1::FirestoreAdmin::Rest::Client.new
|
69
|
+
#
|
70
|
+
module FirestoreAdmin
|
71
|
+
# Client for the REST transport
|
72
|
+
module Rest
|
73
|
+
end
|
74
|
+
end
|
75
|
+
end
|
76
|
+
end
|
77
|
+
end
|
78
|
+
end
|
79
|
+
end
|
80
|
+
|
81
|
+
helper_path = ::File.join __dir__, "rest", "helpers.rb"
|
82
|
+
require "google/cloud/firestore/admin/v1/firestore_admin/rest/helpers" if ::File.file? helper_path
|
@@ -26,6 +26,7 @@ require "google/cloud/firestore/admin/v1/firestore_admin/credentials"
|
|
26
26
|
require "google/cloud/firestore/admin/v1/firestore_admin/paths"
|
27
27
|
require "google/cloud/firestore/admin/v1/firestore_admin/operations"
|
28
28
|
require "google/cloud/firestore/admin/v1/firestore_admin/client"
|
29
|
+
require "google/cloud/firestore/admin/v1/firestore_admin/rest"
|
29
30
|
|
30
31
|
module Google
|
31
32
|
module Cloud
|
@@ -67,6 +68,11 @@ module Google
|
|
67
68
|
# require "google/cloud/firestore/admin/v1/firestore_admin"
|
68
69
|
# client = ::Google::Cloud::Firestore::Admin::V1::FirestoreAdmin::Client.new
|
69
70
|
#
|
71
|
+
# @example Load this service and instantiate a REST client
|
72
|
+
#
|
73
|
+
# require "google/cloud/firestore/admin/v1/firestore_admin/rest"
|
74
|
+
# client = ::Google::Cloud::Firestore::Admin::V1::FirestoreAdmin::Rest::Client.new
|
75
|
+
#
|
70
76
|
module FirestoreAdmin
|
71
77
|
end
|
72
78
|
end
|
@@ -0,0 +1,39 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2023 Google LLC
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
18
|
+
|
19
|
+
require "google/cloud/firestore/admin/v1/firestore_admin/rest"
|
20
|
+
require "google/cloud/firestore/admin/v1/version"
|
21
|
+
|
22
|
+
module Google
|
23
|
+
module Cloud
|
24
|
+
module Firestore
|
25
|
+
module Admin
|
26
|
+
##
|
27
|
+
# To load just the REST part of this package, including all its services, and instantiate a REST client:
|
28
|
+
#
|
29
|
+
# @example
|
30
|
+
#
|
31
|
+
# require "google/cloud/firestore/admin/v1/rest"
|
32
|
+
# client = ::Google::Cloud::Firestore::Admin::V1::FirestoreAdmin::Rest::Client.new
|
33
|
+
#
|
34
|
+
module V1
|
35
|
+
end
|
36
|
+
end
|
37
|
+
end
|
38
|
+
end
|
39
|
+
end
|
@@ -31,6 +31,11 @@ module Google
|
|
31
31
|
# require "google/cloud/firestore/admin/v1"
|
32
32
|
# client = ::Google::Cloud::Firestore::Admin::V1::FirestoreAdmin::Client.new
|
33
33
|
#
|
34
|
+
# @example Load this package, including all its services, and instantiate a REST client
|
35
|
+
#
|
36
|
+
# require "google/cloud/firestore/admin/v1"
|
37
|
+
# client = ::Google::Cloud::Firestore::Admin::V1::FirestoreAdmin::Rest::Client.new
|
38
|
+
#
|
34
39
|
module V1
|
35
40
|
end
|
36
41
|
end
|
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.8.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: 2023-
|
11
|
+
date: 2023-03-08 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.18.0
|
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.18.0
|
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.4'
|
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.4'
|
64
64
|
- - "<"
|
65
65
|
- !ruby/object:Gem::Version
|
66
66
|
version: 2.a
|
@@ -70,14 +70,14 @@ dependencies:
|
|
70
70
|
requirements:
|
71
71
|
- - "~>"
|
72
72
|
- !ruby/object:Gem::Version
|
73
|
-
version: 1.26.
|
73
|
+
version: 1.26.3
|
74
74
|
type: :development
|
75
75
|
prerelease: false
|
76
76
|
version_requirements: !ruby/object:Gem::Requirement
|
77
77
|
requirements:
|
78
78
|
- - "~>"
|
79
79
|
- !ruby/object:Gem::Version
|
80
|
-
version: 1.26.
|
80
|
+
version: 1.26.3
|
81
81
|
- !ruby/object:Gem::Dependency
|
82
82
|
name: minitest
|
83
83
|
requirement: !ruby/object:Gem::Requirement
|
@@ -197,6 +197,11 @@ files:
|
|
197
197
|
- lib/google/cloud/firestore/admin/v1/firestore_admin/credentials.rb
|
198
198
|
- lib/google/cloud/firestore/admin/v1/firestore_admin/operations.rb
|
199
199
|
- lib/google/cloud/firestore/admin/v1/firestore_admin/paths.rb
|
200
|
+
- lib/google/cloud/firestore/admin/v1/firestore_admin/rest.rb
|
201
|
+
- lib/google/cloud/firestore/admin/v1/firestore_admin/rest/client.rb
|
202
|
+
- lib/google/cloud/firestore/admin/v1/firestore_admin/rest/operations.rb
|
203
|
+
- lib/google/cloud/firestore/admin/v1/firestore_admin/rest/service_stub.rb
|
204
|
+
- lib/google/cloud/firestore/admin/v1/rest.rb
|
200
205
|
- lib/google/cloud/firestore/admin/v1/version.rb
|
201
206
|
- lib/google/firestore/admin/v1/database_pb.rb
|
202
207
|
- lib/google/firestore/admin/v1/field_pb.rb
|
@@ -245,5 +250,6 @@ requirements: []
|
|
245
250
|
rubygems_version: 3.4.2
|
246
251
|
signing_key:
|
247
252
|
specification_version: 4
|
248
|
-
summary:
|
253
|
+
summary: Accesses the NoSQL document database built for automatic scaling, high performance,
|
254
|
+
and ease of application development.
|
249
255
|
test_files: []
|