google-apis-firestore_v1 0.68.0 → 0.69.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
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9d16f471b3b40e5ab66b70ad798c3c7d85b1ec87a8da42b04069323a8c66df9e
|
4
|
+
data.tar.gz: 3e88e8f1dad470cda3250815b666ec872fb53aa456fc98c6f32cdac014526e7d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a7003b7135a8b834a42c37715dc0cb9dfe010d51576cb489a7584f05f861106f691ee464d8e9a3fc5b0ab54faef4dd290fafdefc775d044f369b2742359e9832
|
7
|
+
data.tar.gz: fec0d84aae9cf40d6989162a13e0209c5cd2e2aa73b9bbaab5b2202ce0f513d672c13cd66631395e98397405c33fa2c97353eaf47cc62b8a9ad248322c384404
|
data/CHANGELOG.md
CHANGED
@@ -1100,7 +1100,10 @@ module Google
|
|
1100
1100
|
end
|
1101
1101
|
end
|
1102
1102
|
|
1103
|
-
# Nearest Neighbors search config.
|
1103
|
+
# Nearest Neighbors search config. The ordering provided by FindNearest
|
1104
|
+
# supersedes the order_by stage. If multiple documents have the same vector
|
1105
|
+
# distance, the returned document order is not guaranteed to be stable between
|
1106
|
+
# queries.
|
1104
1107
|
class FindNearest
|
1105
1108
|
include Google::Apis::Core::Hashable
|
1106
1109
|
|
@@ -1223,7 +1226,8 @@ module Google
|
|
1223
1226
|
attr_accessor :name
|
1224
1227
|
|
1225
1228
|
# At what relative time in the future, compared to its creation time, the backup
|
1226
|
-
# should be deleted, e.g. keep backups for 7 days.
|
1229
|
+
# should be deleted, e.g. keep backups for 7 days. The maximum supported
|
1230
|
+
# retention period is 14 weeks.
|
1227
1231
|
# Corresponds to the JSON property `retention`
|
1228
1232
|
# @return [String]
|
1229
1233
|
attr_accessor :retention
|
@@ -1409,20 +1413,12 @@ module Google
|
|
1409
1413
|
class GoogleFirestoreAdminV1DailyRecurrence
|
1410
1414
|
include Google::Apis::Core::Hashable
|
1411
1415
|
|
1412
|
-
# Represents a time of day. The date and time zone are either not significant or
|
1413
|
-
# are specified elsewhere. An API may choose to allow leap seconds. Related
|
1414
|
-
# types are google.type.Date and `google.protobuf.Timestamp`.
|
1415
|
-
# Corresponds to the JSON property `time`
|
1416
|
-
# @return [Google::Apis::FirestoreV1::TimeOfDay]
|
1417
|
-
attr_accessor :time
|
1418
|
-
|
1419
1416
|
def initialize(**args)
|
1420
1417
|
update!(**args)
|
1421
1418
|
end
|
1422
1419
|
|
1423
1420
|
# Update properties of this object
|
1424
1421
|
def update!(**args)
|
1425
|
-
@time = args[:time] if args.key?(:time)
|
1426
1422
|
end
|
1427
1423
|
end
|
1428
1424
|
|
@@ -2412,8 +2408,9 @@ module Google
|
|
2412
2408
|
class GoogleFirestoreAdminV1RestoreDatabaseRequest
|
2413
2409
|
include Google::Apis::Core::Hashable
|
2414
2410
|
|
2415
|
-
# Backup to restore from. Must be from the same project as the parent.
|
2416
|
-
#
|
2411
|
+
# Backup to restore from. Must be from the same project as the parent. The
|
2412
|
+
# restored database will be created in the same location as the source backup.
|
2413
|
+
# Format is: `projects/`project_id`/locations/`location`/backups/`backup``
|
2417
2414
|
# Corresponds to the JSON property `backup`
|
2418
2415
|
# @return [String]
|
2419
2416
|
attr_accessor :backup
|
@@ -2429,11 +2426,11 @@ module Google
|
|
2429
2426
|
attr_accessor :database_id
|
2430
2427
|
|
2431
2428
|
# Use Customer Managed Encryption Keys (CMEK) for encryption. Only keys in the
|
2432
|
-
# same location as
|
2433
|
-
# Firestore's nam5 multi-region, this corresponds to Cloud KMS multi-region
|
2434
|
-
# For Firestore's eur3 multi-region, this corresponds to Cloud KMS multi-
|
2435
|
-
# europe. See https://cloud.google.com/kms/docs/locations. The expected
|
2436
|
-
# is `projects/`project_id`/locations/`kms_location`/keyRings/`key_ring`/
|
2429
|
+
# same location as the restored database are allowed to be used for encryption.
|
2430
|
+
# For Firestore's nam5 multi-region, this corresponds to Cloud KMS multi-region
|
2431
|
+
# us. For Firestore's eur3 multi-region, this corresponds to Cloud KMS multi-
|
2432
|
+
# region europe. See https://cloud.google.com/kms/docs/locations. The expected
|
2433
|
+
# format is `projects/`project_id`/locations/`kms_location`/keyRings/`key_ring`/
|
2437
2434
|
# cryptoKeys/`crypto_key``.
|
2438
2435
|
# Corresponds to the JSON property `kmsKeyName`
|
2439
2436
|
# @return [String]
|
@@ -2595,13 +2592,6 @@ module Google
|
|
2595
2592
|
# @return [String]
|
2596
2593
|
attr_accessor :day
|
2597
2594
|
|
2598
|
-
# Represents a time of day. The date and time zone are either not significant or
|
2599
|
-
# are specified elsewhere. An API may choose to allow leap seconds. Related
|
2600
|
-
# types are google.type.Date and `google.protobuf.Timestamp`.
|
2601
|
-
# Corresponds to the JSON property `time`
|
2602
|
-
# @return [Google::Apis::FirestoreV1::TimeOfDay]
|
2603
|
-
attr_accessor :time
|
2604
|
-
|
2605
2595
|
def initialize(**args)
|
2606
2596
|
update!(**args)
|
2607
2597
|
end
|
@@ -2609,7 +2599,6 @@ module Google
|
|
2609
2599
|
# Update properties of this object
|
2610
2600
|
def update!(**args)
|
2611
2601
|
@day = args[:day] if args.key?(:day)
|
2612
|
-
@time = args[:time] if args.key?(:time)
|
2613
2602
|
end
|
2614
2603
|
end
|
2615
2604
|
|
@@ -3568,7 +3557,10 @@ module Google
|
|
3568
3557
|
# @return [Google::Apis::FirestoreV1::Cursor]
|
3569
3558
|
attr_accessor :end_at
|
3570
3559
|
|
3571
|
-
# Nearest Neighbors search config.
|
3560
|
+
# Nearest Neighbors search config. The ordering provided by FindNearest
|
3561
|
+
# supersedes the order_by stage. If multiple documents have the same vector
|
3562
|
+
# distance, the returned document order is not guaranteed to be stable between
|
3563
|
+
# queries.
|
3572
3564
|
# Corresponds to the JSON property `findNearest`
|
3573
3565
|
# @return [Google::Apis::FirestoreV1::FindNearest]
|
3574
3566
|
attr_accessor :find_nearest
|
@@ -3803,47 +3795,6 @@ module Google
|
|
3803
3795
|
end
|
3804
3796
|
end
|
3805
3797
|
|
3806
|
-
# Represents a time of day. The date and time zone are either not significant or
|
3807
|
-
# are specified elsewhere. An API may choose to allow leap seconds. Related
|
3808
|
-
# types are google.type.Date and `google.protobuf.Timestamp`.
|
3809
|
-
class TimeOfDay
|
3810
|
-
include Google::Apis::Core::Hashable
|
3811
|
-
|
3812
|
-
# Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to
|
3813
|
-
# allow the value "24:00:00" for scenarios like business closing time.
|
3814
|
-
# Corresponds to the JSON property `hours`
|
3815
|
-
# @return [Fixnum]
|
3816
|
-
attr_accessor :hours
|
3817
|
-
|
3818
|
-
# Minutes of hour of day. Must be from 0 to 59.
|
3819
|
-
# Corresponds to the JSON property `minutes`
|
3820
|
-
# @return [Fixnum]
|
3821
|
-
attr_accessor :minutes
|
3822
|
-
|
3823
|
-
# Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
|
3824
|
-
# Corresponds to the JSON property `nanos`
|
3825
|
-
# @return [Fixnum]
|
3826
|
-
attr_accessor :nanos
|
3827
|
-
|
3828
|
-
# Seconds of minutes of the time. Must normally be from 0 to 59. An API may
|
3829
|
-
# allow the value 60 if it allows leap-seconds.
|
3830
|
-
# Corresponds to the JSON property `seconds`
|
3831
|
-
# @return [Fixnum]
|
3832
|
-
attr_accessor :seconds
|
3833
|
-
|
3834
|
-
def initialize(**args)
|
3835
|
-
update!(**args)
|
3836
|
-
end
|
3837
|
-
|
3838
|
-
# Update properties of this object
|
3839
|
-
def update!(**args)
|
3840
|
-
@hours = args[:hours] if args.key?(:hours)
|
3841
|
-
@minutes = args[:minutes] if args.key?(:minutes)
|
3842
|
-
@nanos = args[:nanos] if args.key?(:nanos)
|
3843
|
-
@seconds = args[:seconds] if args.key?(:seconds)
|
3844
|
-
end
|
3845
|
-
end
|
3846
|
-
|
3847
3798
|
# Options for creating a new transaction.
|
3848
3799
|
class TransactionOptions
|
3849
3800
|
include Google::Apis::Core::Hashable
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module FirestoreV1
|
18
18
|
# Version of the google-apis-firestore_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.69.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.15.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20240713"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -646,12 +646,6 @@ module Google
|
|
646
646
|
include Google::Apis::Core::JsonObjectSupport
|
647
647
|
end
|
648
648
|
|
649
|
-
class TimeOfDay
|
650
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
651
|
-
|
652
|
-
include Google::Apis::Core::JsonObjectSupport
|
653
|
-
end
|
654
|
-
|
655
649
|
class TransactionOptions
|
656
650
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
657
651
|
|
@@ -1091,8 +1085,6 @@ module Google
|
|
1091
1085
|
class GoogleFirestoreAdminV1DailyRecurrence
|
1092
1086
|
# @private
|
1093
1087
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1094
|
-
property :time, as: 'time', class: Google::Apis::FirestoreV1::TimeOfDay, decorator: Google::Apis::FirestoreV1::TimeOfDay::Representation
|
1095
|
-
|
1096
1088
|
end
|
1097
1089
|
end
|
1098
1090
|
|
@@ -1403,8 +1395,6 @@ module Google
|
|
1403
1395
|
# @private
|
1404
1396
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1405
1397
|
property :day, as: 'day'
|
1406
|
-
property :time, as: 'time', class: Google::Apis::FirestoreV1::TimeOfDay, decorator: Google::Apis::FirestoreV1::TimeOfDay::Representation
|
1407
|
-
|
1408
1398
|
end
|
1409
1399
|
end
|
1410
1400
|
|
@@ -1736,16 +1726,6 @@ module Google
|
|
1736
1726
|
end
|
1737
1727
|
end
|
1738
1728
|
|
1739
|
-
class TimeOfDay
|
1740
|
-
# @private
|
1741
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
1742
|
-
property :hours, as: 'hours'
|
1743
|
-
property :minutes, as: 'minutes'
|
1744
|
-
property :nanos, as: 'nanos'
|
1745
|
-
property :seconds, as: 'seconds'
|
1746
|
-
end
|
1747
|
-
end
|
1748
|
-
|
1749
1729
|
class TransactionOptions
|
1750
1730
|
# @private
|
1751
1731
|
class Representation < Google::Apis::Core::JsonRepresentation
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-firestore_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.69.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: 2024-
|
11
|
+
date: 2024-07-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-firestore_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-firestore_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-firestore_v1/v0.69.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-firestore_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|