google-cloud-firestore-admin-v1 0.16.0 → 0.17.1
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/lib/google/cloud/firestore/admin/v1/firestore_admin/client.rb +2 -3
- data/lib/google/cloud/firestore/admin/v1/firestore_admin/rest/client.rb +2 -3
- data/lib/google/cloud/firestore/admin/v1/version.rb +1 -1
- data/lib/google/firestore/admin/v1/firestore_admin_services_pb.rb +1 -2
- data/lib/google/firestore/admin/v1/index_pb.rb +4 -1
- data/proto_docs/google/firestore/admin/v1/firestore_admin.rb +1 -1
- data/proto_docs/google/firestore/admin/v1/index.rb +26 -0
- data/proto_docs/google/firestore/admin/v1/schedule.rb +3 -3
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c60863f63424d876f806e33a7f22def3b3cdc2a5cd9b7a4f2be5ede40d295ef4
|
|
4
|
+
data.tar.gz: 57520227b4e4bf8dedc8776da78f98df18a61e779abbdb6ce3a0207b41c160f0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ca5ad58481929c759417c44bc7f3d729d221f78f91e5affbf5150db3c4d352844770bd0b3a90f4592a0e907fbbbc54c62ab7621f0729d104375480ca9e5d6d84
|
|
7
|
+
data.tar.gz: ef9c20c389f34f88dac67a91bddcbad659c7b9352b28713ebd85d35bd54c07553a08e0e0439efe99e3a42d3f917e4a5e7bcc6301d1eb5b728d25914123b61a88
|
|
@@ -2036,8 +2036,7 @@ module Google
|
|
|
2036
2036
|
##
|
|
2037
2037
|
# Creates a backup schedule on a database.
|
|
2038
2038
|
# At most two backup schedules can be configured on a database, one daily
|
|
2039
|
-
# backup schedule
|
|
2040
|
-
# with retention up to 14 weeks.
|
|
2039
|
+
# backup schedule and one weekly backup schedule.
|
|
2041
2040
|
#
|
|
2042
2041
|
# @overload create_backup_schedule(request, options = nil)
|
|
2043
2042
|
# Pass arguments to `create_backup_schedule` via a request object, either of type
|
|
@@ -2406,7 +2405,7 @@ module Google
|
|
|
2406
2405
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
2407
2406
|
#
|
|
2408
2407
|
# @param name [::String]
|
|
2409
|
-
# Required. The name of backup schedule.
|
|
2408
|
+
# Required. The name of the backup schedule.
|
|
2410
2409
|
#
|
|
2411
2410
|
# Format
|
|
2412
2411
|
# `projects/{project}/databases/{database}/backupSchedules/{backup_schedule}`
|
|
@@ -1903,8 +1903,7 @@ module Google
|
|
|
1903
1903
|
##
|
|
1904
1904
|
# Creates a backup schedule on a database.
|
|
1905
1905
|
# At most two backup schedules can be configured on a database, one daily
|
|
1906
|
-
# backup schedule
|
|
1907
|
-
# with retention up to 14 weeks.
|
|
1906
|
+
# backup schedule and one weekly backup schedule.
|
|
1908
1907
|
#
|
|
1909
1908
|
# @overload create_backup_schedule(request, options = nil)
|
|
1910
1909
|
# Pass arguments to `create_backup_schedule` via a request object, either of type
|
|
@@ -2245,7 +2244,7 @@ module Google
|
|
|
2245
2244
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
2246
2245
|
#
|
|
2247
2246
|
# @param name [::String]
|
|
2248
|
-
# Required. The name of backup schedule.
|
|
2247
|
+
# Required. The name of the backup schedule.
|
|
2249
2248
|
#
|
|
2250
2249
|
# Format
|
|
2251
2250
|
# `projects/{project}/databases/{database}/backupSchedules/{backup_schedule}`
|
|
@@ -156,8 +156,7 @@ module Google
|
|
|
156
156
|
rpc :RestoreDatabase, ::Google::Cloud::Firestore::Admin::V1::RestoreDatabaseRequest, ::Google::Longrunning::Operation
|
|
157
157
|
# Creates a backup schedule on a database.
|
|
158
158
|
# At most two backup schedules can be configured on a database, one daily
|
|
159
|
-
# backup schedule
|
|
160
|
-
# with retention up to 14 weeks.
|
|
159
|
+
# backup schedule and one weekly backup schedule.
|
|
161
160
|
rpc :CreateBackupSchedule, ::Google::Cloud::Firestore::Admin::V1::CreateBackupScheduleRequest, ::Google::Cloud::Firestore::Admin::V1::BackupSchedule
|
|
162
161
|
# Gets information about a backup schedule.
|
|
163
162
|
rpc :GetBackupSchedule, ::Google::Cloud::Firestore::Admin::V1::GetBackupScheduleRequest, ::Google::Cloud::Firestore::Admin::V1::BackupSchedule
|
|
@@ -4,10 +4,11 @@
|
|
|
4
4
|
|
|
5
5
|
require 'google/protobuf'
|
|
6
6
|
|
|
7
|
+
require 'google/api/field_behavior_pb'
|
|
7
8
|
require 'google/api/resource_pb'
|
|
8
9
|
|
|
9
10
|
|
|
10
|
-
descriptor_data = "\n%google/firestore/admin/v1/index.proto\x12\x19google.firestore.admin.v1\x1a\x19google/api/resource.proto\"\
|
|
11
|
+
descriptor_data = "\n%google/firestore/admin/v1/index.proto\x12\x19google.firestore.admin.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\"\x91\t\n\x05Index\x12\x0c\n\x04name\x18\x01 \x01(\t\x12@\n\x0bquery_scope\x18\x02 \x01(\x0e\x32+.google.firestore.admin.v1.Index.QueryScope\x12<\n\tapi_scope\x18\x05 \x01(\x0e\x32).google.firestore.admin.v1.Index.ApiScope\x12;\n\x06\x66ields\x18\x03 \x03(\x0b\x32+.google.firestore.admin.v1.Index.IndexField\x12\x35\n\x05state\x18\x04 \x01(\x0e\x32&.google.firestore.admin.v1.Index.State\x1a\xa2\x04\n\nIndexField\x12\x12\n\nfield_path\x18\x01 \x01(\t\x12\x42\n\x05order\x18\x02 \x01(\x0e\x32\x31.google.firestore.admin.v1.Index.IndexField.OrderH\x00\x12O\n\x0c\x61rray_config\x18\x03 \x01(\x0e\x32\x37.google.firestore.admin.v1.Index.IndexField.ArrayConfigH\x00\x12Q\n\rvector_config\x18\x04 \x01(\x0b\x32\x38.google.firestore.admin.v1.Index.IndexField.VectorConfigH\x00\x1a\x8f\x01\n\x0cVectorConfig\x12\x16\n\tdimension\x18\x01 \x01(\x05\x42\x03\xe0\x41\x02\x12R\n\x04\x66lat\x18\x02 \x01(\x0b\x32\x42.google.firestore.admin.v1.Index.IndexField.VectorConfig.FlatIndexH\x00\x1a\x0b\n\tFlatIndexB\x06\n\x04type\"=\n\x05Order\x12\x15\n\x11ORDER_UNSPECIFIED\x10\x00\x12\r\n\tASCENDING\x10\x01\x12\x0e\n\nDESCENDING\x10\x02\"9\n\x0b\x41rrayConfig\x12\x1c\n\x18\x41RRAY_CONFIG_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43ONTAINS\x10\x01\x42\x0c\n\nvalue_mode\"i\n\nQueryScope\x12\x1b\n\x17QUERY_SCOPE_UNSPECIFIED\x10\x00\x12\x0e\n\nCOLLECTION\x10\x01\x12\x14\n\x10\x43OLLECTION_GROUP\x10\x02\x12\x18\n\x14\x43OLLECTION_RECURSIVE\x10\x03\"/\n\x08\x41piScope\x12\x0b\n\x07\x41NY_API\x10\x00\x12\x16\n\x12\x44\x41TASTORE_MODE_API\x10\x01\"I\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\t\n\x05READY\x10\x02\x12\x10\n\x0cNEEDS_REPAIR\x10\x03:z\xea\x41w\n\x1e\x66irestore.googleapis.com/Index\x12Uprojects/{project}/databases/{database}/collectionGroups/{collection}/indexes/{index}B\xd9\x01\n\x1d\x63om.google.firestore.admin.v1B\nIndexProtoP\x01Z9cloud.google.com/go/firestore/apiv1/admin/adminpb;adminpb\xa2\x02\x04GCFS\xaa\x02\x1fGoogle.Cloud.Firestore.Admin.V1\xca\x02\x1fGoogle\\Cloud\\Firestore\\Admin\\V1\xea\x02#Google::Cloud::Firestore::Admin::V1b\x06proto3"
|
|
11
12
|
|
|
12
13
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
|
13
14
|
|
|
@@ -40,6 +41,8 @@ module Google
|
|
|
40
41
|
module V1
|
|
41
42
|
Index = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.firestore.admin.v1.Index").msgclass
|
|
42
43
|
Index::IndexField = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.firestore.admin.v1.Index.IndexField").msgclass
|
|
44
|
+
Index::IndexField::VectorConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.firestore.admin.v1.Index.IndexField.VectorConfig").msgclass
|
|
45
|
+
Index::IndexField::VectorConfig::FlatIndex = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.firestore.admin.v1.Index.IndexField.VectorConfig.FlatIndex").msgclass
|
|
43
46
|
Index::IndexField::Order = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.firestore.admin.v1.Index.IndexField.Order").enummodule
|
|
44
47
|
Index::IndexField::ArrayConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.firestore.admin.v1.Index.IndexField.ArrayConfig").enummodule
|
|
45
48
|
Index::QueryScope = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.firestore.admin.v1.Index.QueryScope").enummodule
|
|
@@ -200,7 +200,7 @@ module Google
|
|
|
200
200
|
# The request for [FirestoreAdmin.DeleteBackupSchedules][].
|
|
201
201
|
# @!attribute [rw] name
|
|
202
202
|
# @return [::String]
|
|
203
|
-
# Required. The name of backup schedule.
|
|
203
|
+
# Required. The name of the backup schedule.
|
|
204
204
|
#
|
|
205
205
|
# Format
|
|
206
206
|
# `projects/{project}/databases/{database}/backupSchedules/{backup_schedule}`
|
|
@@ -77,10 +77,36 @@ module Google
|
|
|
77
77
|
# @!attribute [rw] array_config
|
|
78
78
|
# @return [::Google::Cloud::Firestore::Admin::V1::Index::IndexField::ArrayConfig]
|
|
79
79
|
# Indicates that this field supports operations on `array_value`s.
|
|
80
|
+
# @!attribute [rw] vector_config
|
|
81
|
+
# @return [::Google::Cloud::Firestore::Admin::V1::Index::IndexField::VectorConfig]
|
|
82
|
+
# Indicates that this field supports nearest neighbors and distance
|
|
83
|
+
# operations on vector.
|
|
80
84
|
class IndexField
|
|
81
85
|
include ::Google::Protobuf::MessageExts
|
|
82
86
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
83
87
|
|
|
88
|
+
# The index configuration to support vector search operations
|
|
89
|
+
# @!attribute [rw] dimension
|
|
90
|
+
# @return [::Integer]
|
|
91
|
+
# Required. The vector dimension this configuration applies to.
|
|
92
|
+
#
|
|
93
|
+
# The resulting index will only include vectors of this dimension, and
|
|
94
|
+
# can be used for vector search with the same dimension.
|
|
95
|
+
# @!attribute [rw] flat
|
|
96
|
+
# @return [::Google::Cloud::Firestore::Admin::V1::Index::IndexField::VectorConfig::FlatIndex]
|
|
97
|
+
# Indicates the vector index is a flat index.
|
|
98
|
+
class VectorConfig
|
|
99
|
+
include ::Google::Protobuf::MessageExts
|
|
100
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
101
|
+
|
|
102
|
+
# An index that stores vectors in a flat data structure, and supports
|
|
103
|
+
# exhaustive search.
|
|
104
|
+
class FlatIndex
|
|
105
|
+
include ::Google::Protobuf::MessageExts
|
|
106
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
107
|
+
end
|
|
108
|
+
end
|
|
109
|
+
|
|
84
110
|
# The supported orderings.
|
|
85
111
|
module Order
|
|
86
112
|
# The ordering is unspecified. Not a valid option.
|
|
@@ -52,16 +52,16 @@ module Google
|
|
|
52
52
|
# the backup should be deleted, e.g. keep backups for 7 days.
|
|
53
53
|
# @!attribute [rw] daily_recurrence
|
|
54
54
|
# @return [::Google::Cloud::Firestore::Admin::V1::DailyRecurrence]
|
|
55
|
-
# For a schedule that runs daily
|
|
55
|
+
# For a schedule that runs daily.
|
|
56
56
|
# @!attribute [rw] weekly_recurrence
|
|
57
57
|
# @return [::Google::Cloud::Firestore::Admin::V1::WeeklyRecurrence]
|
|
58
|
-
# For a schedule that runs weekly on a specific day
|
|
58
|
+
# For a schedule that runs weekly on a specific day.
|
|
59
59
|
class BackupSchedule
|
|
60
60
|
include ::Google::Protobuf::MessageExts
|
|
61
61
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
62
62
|
end
|
|
63
63
|
|
|
64
|
-
#
|
|
64
|
+
# Represents a recurring schedule that runs at a specific time every day.
|
|
65
65
|
#
|
|
66
66
|
# The time zone is UTC.
|
|
67
67
|
class DailyRecurrence
|
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.17.1
|
|
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-04-19 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: gapic-common
|