google-cloud-firestore-admin-v1 0.16.0 → 0.17.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: 84d4b209b15152ec61aa3191892122ea0552a8b7e03d5bfe98ff6f8a680c2592
4
- data.tar.gz: 01fceeda49b44ed0993fc986d41fb27514d92aa42f014d9e57f091800bcdc3e9
3
+ metadata.gz: 453d010adaaf70742a4ba9d85a9c0f577b62fd3575e6c121271ceef99e99572a
4
+ data.tar.gz: 021f36505a6c7f7aa74a272dceaff5ee2956e46238fa5acc02b16426e049498a
5
5
  SHA512:
6
- metadata.gz: 5cb4574cf86e48c8635d14c9e39ed410fb9078579a49bfbec96981af2286468f68f3e1fd5fdc6bae81c3d594836ca0cc7ec6ae494719cd5a50a5a40902f01187
7
- data.tar.gz: 3e8e7a89dfefd8c1025479f09554d309f98b04ca728780f2444303b15b6d8dac1d4aa24d243b1f36acc980db8f058c65337f797ccc7b63e053a62ff1dad25dd2
6
+ metadata.gz: 237683018d8e0add1636a247091545ca66c5a37c8dc6c3137c0b2b60d5284bcc2746bd3359f6f1f1d2e6d44f38080d44c90d2d18c0839917c1fdf258ccd5a576
7
+ data.tar.gz: 6d492b82a1e29cf286a2101b7ff83498421df327ef4111e747a6e3dcd4399564642a5026336c0e2fd5973c9869255ff0c4502b1ee481826bec5e6e121138227d
@@ -2406,7 +2406,7 @@ module Google
2406
2406
  # the default parameter values, pass an empty Hash as a request object (see above).
2407
2407
  #
2408
2408
  # @param name [::String]
2409
- # Required. The name of backup schedule.
2409
+ # Required. The name of the backup schedule.
2410
2410
  #
2411
2411
  # Format
2412
2412
  # `projects/{project}/databases/{database}/backupSchedules/{backup_schedule}`
@@ -2245,7 +2245,7 @@ module Google
2245
2245
  # the default parameter values, pass an empty Hash as a request object (see above).
2246
2246
  #
2247
2247
  # @param name [::String]
2248
- # Required. The name of backup schedule.
2248
+ # Required. The name of the backup schedule.
2249
2249
  #
2250
2250
  # Format
2251
2251
  # `projects/{project}/databases/{database}/backupSchedules/{backup_schedule}`
@@ -22,7 +22,7 @@ module Google
22
22
  module Firestore
23
23
  module Admin
24
24
  module V1
25
- VERSION = "0.16.0"
25
+ VERSION = "0.17.0"
26
26
  end
27
27
  end
28
28
  end
@@ -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\"\xac\x07\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\xbd\x02\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\"=\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
+ 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 at a specified time.
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 and time.
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
- # Represent a recurring schedule that runs at a specific time every day.
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.16.0
4
+ version: 0.17.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-03-18 00:00:00.000000000 Z
11
+ date: 2024-04-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common