@@ -81,6 +81,18 @@ examples:
81
81
database_id : ' database-id'
82
82
test_env_vars :
83
83
project_id : ' PROJECT_NAME'
84
+ - name : ' firestore_index_mongodb_compatible_scope'
85
+ primary_resource_id : ' my-index'
86
+ vars :
87
+ database_id : ' database-id-mongodb-compatible'
88
+ test_env_vars :
89
+ project_id : ' PROJECT_NAME'
90
+ - name : ' firestore_index_sparse_any'
91
+ primary_resource_id : ' my-index'
92
+ vars :
93
+ database_id : ' database-id-sparse-any'
94
+ test_env_vars :
95
+ project_id : ' PROJECT_NAME'
84
96
parameters :
85
97
properties :
86
98
- name : ' name'
@@ -119,6 +131,28 @@ properties:
119
131
enum_values :
120
132
- ' ANY_API'
121
133
- ' DATASTORE_MODE_API'
134
+ - ' MONGODB_COMPATIBLE_API'
135
+ - name : ' density'
136
+ type : Enum
137
+ description : |
138
+ The density configuration for this index.
139
+ immutable : true
140
+ default_from_api : true
141
+ enum_values :
142
+ - SPARSE_ALL
143
+ - SPARSE_ANY
144
+ - DENSE
145
+ - name : ' multikey'
146
+ type : Boolean
147
+ default_value : false
148
+ description :
149
+ Optional. Whether the index is multikey. By default, the index
150
+ is not multikey. For non-multikey indexes, none of the paths in the
151
+ index definition reach or traverse an array, except via an explicit
152
+ array index. For multikey indexes, at most one of the paths in the index
153
+ definition reach or traverse an array, except via an explicit array
154
+ index. Violations will result in errors. Note this field only applies to
155
+ indexes with MONGODB_COMPATIBLE_API ApiScope.
122
156
- name : ' fields'
123
157
type : Array
124
158
description : |
0 commit comments