google-cloud-firestore-admin-v1 1.13.0 → 1.14.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 +4 -4
- data/.yardopts +1 -1
- data/README.md +3 -7
- data/lib/google/cloud/firestore/admin/v1/firestore_admin/client.rb +5 -3
- data/lib/google/cloud/firestore/admin/v1/firestore_admin/credentials.rb +1 -1
- data/lib/google/cloud/firestore/admin/v1/firestore_admin/operations.rb +3 -1
- data/lib/google/cloud/firestore/admin/v1/firestore_admin/paths.rb +1 -1
- data/lib/google/cloud/firestore/admin/v1/firestore_admin/rest/client.rb +3 -1
- data/lib/google/cloud/firestore/admin/v1/firestore_admin/rest/operations.rb +3 -1
- data/lib/google/cloud/firestore/admin/v1/firestore_admin/rest/service_stub.rb +1 -1
- data/lib/google/cloud/firestore/admin/v1/firestore_admin/rest.rb +1 -1
- data/lib/google/cloud/firestore/admin/v1/firestore_admin.rb +1 -1
- data/lib/google/cloud/firestore/admin/v1/rest.rb +1 -1
- data/lib/google/cloud/firestore/admin/v1/version.rb +1 -1
- data/lib/google/cloud/firestore/admin/v1.rb +1 -1
- data/lib/google/firestore/admin/v1/firestore_admin_services_pb.rb +1 -1
- data/lib/google-cloud-firestore-admin-v1.rb +1 -1
- data/proto_docs/README.md +1 -1
- data/proto_docs/google/api/client.rb +1 -1
- data/proto_docs/google/api/field_behavior.rb +1 -1
- data/proto_docs/google/api/launch_stage.rb +1 -1
- data/proto_docs/google/api/resource.rb +1 -1
- data/proto_docs/google/api/routing.rb +1 -1
- data/proto_docs/google/firestore/admin/v1/backup.rb +1 -1
- data/proto_docs/google/firestore/admin/v1/database.rb +1 -1
- data/proto_docs/google/firestore/admin/v1/field.rb +1 -1
- data/proto_docs/google/firestore/admin/v1/firestore_admin.rb +1 -1
- data/proto_docs/google/firestore/admin/v1/index.rb +1 -1
- data/proto_docs/google/firestore/admin/v1/location.rb +1 -1
- data/proto_docs/google/firestore/admin/v1/operation.rb +1 -1
- data/proto_docs/google/firestore/admin/v1/schedule.rb +1 -1
- data/proto_docs/google/firestore/admin/v1/snapshot.rb +1 -1
- data/proto_docs/google/firestore/admin/v1/user_creds.rb +1 -1
- data/proto_docs/google/longrunning/operations.rb +1 -1
- data/proto_docs/google/protobuf/any.rb +1 -1
- data/proto_docs/google/protobuf/duration.rb +1 -1
- data/proto_docs/google/protobuf/empty.rb +1 -1
- data/proto_docs/google/protobuf/field_mask.rb +1 -1
- data/proto_docs/google/protobuf/timestamp.rb +8 -7
- data/proto_docs/google/rpc/status.rb +1 -1
- data/proto_docs/google/type/dayofweek.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 61b9eaf6d682d24aff36d2bc50adb616d5abcf594b2f46c9ccf91bb27f86d718
|
|
4
|
+
data.tar.gz: e59bf0269b8581bb6c9b418c4278ae244e0f831c169b4294971bfccb0e4f3f1a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: dc79dd0efc5f7db0cc7bbfd1072de5a81150055dae5516d845be5e7a0a0d6e409cd1690aa626f92182addac438511c342e38dba6a981d6a2bdc4d7e6a6231844
|
|
7
|
+
data.tar.gz: 6923f3d89d47e40db0c6035dd9f1d6c3344887b431c4a5a66391f28fa5479e11cb6571be9db5bd192504ca6eadd2387116dd5ab9bbe8a6960c76c8fce6a1ba69
|
data/.yardopts
CHANGED
data/README.md
CHANGED
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
# Ruby Client for the Cloud Firestore
|
|
1
|
+
# Ruby Client for the Cloud Firestore V1 API
|
|
2
2
|
|
|
3
3
|
Accesses the NoSQL document database built for automatic scaling, high performance, and ease of application development.
|
|
4
4
|
|
|
5
|
-
Cloud Firestore is a NoSQL document database built for automatic scaling, high performance, and ease of application development.
|
|
6
5
|
|
|
7
6
|
https://github.com/googleapis/google-cloud-ruby
|
|
8
7
|
|
|
9
8
|
This gem is a _versioned_ client. It provides basic client classes for a
|
|
10
|
-
specific version of the Cloud Firestore
|
|
9
|
+
specific version of the Cloud Firestore V1 API. Most users should consider using
|
|
11
10
|
the main client gem,
|
|
12
11
|
[google-cloud-firestore-admin](https://rubygems.org/gems/google-cloud-firestore-admin).
|
|
13
12
|
See the section below titled *Which client should I use?* for more information.
|
|
@@ -40,9 +39,6 @@ response = client.create_index request
|
|
|
40
39
|
View the [Client Library Documentation](https://cloud.google.com/ruby/docs/reference/google-cloud-firestore-admin-v1/latest)
|
|
41
40
|
for class and method documentation.
|
|
42
41
|
|
|
43
|
-
See also the [Product Documentation](https://cloud.google.com/firestore)
|
|
44
|
-
for general usage information.
|
|
45
|
-
|
|
46
42
|
## Debug Logging
|
|
47
43
|
|
|
48
44
|
This library comes with opt-in Debug Logging that can help you troubleshoot
|
|
@@ -86,7 +82,7 @@ To browse ready to use code samples check [Google Cloud Samples](https://cloud.g
|
|
|
86
82
|
|
|
87
83
|
## Supported Ruby Versions
|
|
88
84
|
|
|
89
|
-
This library is supported on Ruby 3.
|
|
85
|
+
This library is supported on Ruby 3.2+.
|
|
90
86
|
|
|
91
87
|
Google provides official support for Ruby versions that are actively supported
|
|
92
88
|
by Ruby Core—that is, Ruby versions that are either in normal maintenance or
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
|
-
# Copyright
|
|
3
|
+
# Copyright 2026 Google LLC
|
|
4
4
|
#
|
|
5
5
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
6
|
# you may not use this file except in compliance with the License.
|
|
@@ -3394,13 +3394,13 @@ module Google
|
|
|
3394
3394
|
|
|
3395
3395
|
header_params = {}
|
|
3396
3396
|
if request.pitr_snapshot&.database
|
|
3397
|
-
regex_match = %r{^projects/(?<project_id>[^/]+)(
|
|
3397
|
+
regex_match = %r{^projects/(?<project_id>[^/]+)(?:/(?<__wildcard__>.*))?$}.match request.pitr_snapshot.database
|
|
3398
3398
|
if regex_match
|
|
3399
3399
|
header_params["project_id"] = regex_match["project_id".to_s]
|
|
3400
3400
|
end
|
|
3401
3401
|
end
|
|
3402
3402
|
if request.pitr_snapshot&.database
|
|
3403
|
-
regex_match = %r{^projects/[^/]+/databases/(?<database_id>[^/]+)(
|
|
3403
|
+
regex_match = %r{^projects/[^/]+/databases/(?<database_id>[^/]+)(?:/(?<__wildcard__>.*))?$}.match request.pitr_snapshot.database
|
|
3404
3404
|
if regex_match
|
|
3405
3405
|
header_params["database_id"] = regex_match["database_id".to_s]
|
|
3406
3406
|
end
|
|
@@ -3522,6 +3522,7 @@ module Google
|
|
|
3522
3522
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
3523
3523
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
3524
3524
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
3525
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
3525
3526
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
3526
3527
|
# trigger a retry.
|
|
3527
3528
|
# @return [::Hash]
|
|
@@ -3605,6 +3606,7 @@ module Google
|
|
|
3605
3606
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
3606
3607
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
3607
3608
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
3609
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
3608
3610
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
3609
3611
|
# trigger a retry.
|
|
3610
3612
|
#
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
|
-
# Copyright
|
|
3
|
+
# Copyright 2026 Google LLC
|
|
4
4
|
#
|
|
5
5
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
6
|
# you may not use this file except in compliance with the License.
|
|
@@ -704,6 +704,7 @@ module Google
|
|
|
704
704
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
705
705
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
706
706
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
707
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
707
708
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
708
709
|
# trigger a retry.
|
|
709
710
|
# @return [::Hash]
|
|
@@ -787,6 +788,7 @@ module Google
|
|
|
787
788
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
788
789
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
789
790
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
791
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
790
792
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
791
793
|
# trigger a retry.
|
|
792
794
|
#
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
|
-
# Copyright
|
|
3
|
+
# Copyright 2026 Google LLC
|
|
4
4
|
#
|
|
5
5
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
6
|
# you may not use this file except in compliance with the License.
|
|
@@ -3256,6 +3256,7 @@ module Google
|
|
|
3256
3256
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
3257
3257
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
3258
3258
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
3259
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
3259
3260
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
3260
3261
|
# trigger a retry.
|
|
3261
3262
|
# @return [::Hash]
|
|
@@ -3328,6 +3329,7 @@ module Google
|
|
|
3328
3329
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
3329
3330
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
3330
3331
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
3332
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
3331
3333
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
3332
3334
|
# trigger a retry.
|
|
3333
3335
|
#
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
|
-
# Copyright
|
|
3
|
+
# Copyright 2026 Google LLC
|
|
4
4
|
#
|
|
5
5
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
6
|
# you may not use this file except in compliance with the License.
|
|
@@ -542,6 +542,7 @@ module Google
|
|
|
542
542
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
543
543
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
544
544
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
545
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
545
546
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
546
547
|
# trigger a retry.
|
|
547
548
|
# @return [::Hash]
|
|
@@ -614,6 +615,7 @@ module Google
|
|
|
614
615
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
615
616
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
616
617
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
618
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
617
619
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
618
620
|
# trigger a retry.
|
|
619
621
|
#
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
2
2
|
# Source: google/firestore/admin/v1/firestore_admin.proto for package 'Google.Cloud.Firestore.Admin.V1'
|
|
3
3
|
# Original file comments:
|
|
4
|
-
# Copyright
|
|
4
|
+
# Copyright 2026 Google LLC
|
|
5
5
|
#
|
|
6
6
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
7
7
|
# you may not use this file except in compliance with the License.
|
data/proto_docs/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
|
-
# Copyright
|
|
3
|
+
# Copyright 2026 Google LLC
|
|
4
4
|
#
|
|
5
5
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
6
|
# you may not use this file except in compliance with the License.
|
|
@@ -110,14 +110,15 @@ module Google
|
|
|
110
110
|
# ) to obtain a formatter capable of generating timestamps in this format.
|
|
111
111
|
# @!attribute [rw] seconds
|
|
112
112
|
# @return [::Integer]
|
|
113
|
-
# Represents seconds of UTC time since Unix epoch
|
|
114
|
-
#
|
|
115
|
-
# 9999-12-31T23:59:59Z
|
|
113
|
+
# Represents seconds of UTC time since Unix epoch 1970-01-01T00:00:00Z. Must
|
|
114
|
+
# be between -315576000000 and 315576000000 inclusive (which corresponds to
|
|
115
|
+
# 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z).
|
|
116
116
|
# @!attribute [rw] nanos
|
|
117
117
|
# @return [::Integer]
|
|
118
|
-
# Non-negative fractions of a second at nanosecond resolution.
|
|
119
|
-
#
|
|
120
|
-
#
|
|
118
|
+
# Non-negative fractions of a second at nanosecond resolution. This field is
|
|
119
|
+
# the nanosecond portion of the duration, not an alternative to seconds.
|
|
120
|
+
# Negative second values with fractions must still have non-negative nanos
|
|
121
|
+
# values that count forward in time. Must be between 0 and 999,999,999
|
|
121
122
|
# inclusive.
|
|
122
123
|
class Timestamp
|
|
123
124
|
include ::Google::Protobuf::MessageExts
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-cloud-firestore-admin-v1
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.14.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
@@ -15,14 +15,14 @@ dependencies:
|
|
|
15
15
|
requirements:
|
|
16
16
|
- - "~>"
|
|
17
17
|
- !ruby/object:Gem::Version
|
|
18
|
-
version: '1.
|
|
18
|
+
version: '1.3'
|
|
19
19
|
type: :runtime
|
|
20
20
|
prerelease: false
|
|
21
21
|
version_requirements: !ruby/object:Gem::Requirement
|
|
22
22
|
requirements:
|
|
23
23
|
- - "~>"
|
|
24
24
|
- !ruby/object:Gem::Version
|
|
25
|
-
version: '1.
|
|
25
|
+
version: '1.3'
|
|
26
26
|
- !ruby/object:Gem::Dependency
|
|
27
27
|
name: google-cloud-errors
|
|
28
28
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -51,8 +51,8 @@ dependencies:
|
|
|
51
51
|
- - "~>"
|
|
52
52
|
- !ruby/object:Gem::Version
|
|
53
53
|
version: '1.0'
|
|
54
|
-
description:
|
|
55
|
-
|
|
54
|
+
description: Accesses the NoSQL document database built for automatic scaling, high
|
|
55
|
+
performance, and ease of application development. Note that google-cloud-firestore-admin-v1
|
|
56
56
|
is a version-specific client library. For most uses, we recommend installing the
|
|
57
57
|
main client library google-cloud-firestore-admin instead. See the readme for more
|
|
58
58
|
details.
|