@@ -42,6 +42,12 @@ export namespace google {
42
42
/** Database concurrencyMode */
43
43
concurrencyMode ?: ( google . firestore . admin . v1 . Database . ConcurrencyMode | null ) ;
44
44
45
+ /** Database appEngineIntegrationMode */
46
+ appEngineIntegrationMode ?: ( google . firestore . admin . v1 . Database . AppEngineIntegrationMode | null ) ;
47
+
48
+ /** Database keyPrefix */
49
+ keyPrefix ?: ( string | null ) ;
50
+
45
51
/** Database etag */
46
52
etag ?: ( string | null ) ;
47
53
}
@@ -67,6 +73,12 @@ export namespace google {
67
73
/** Database concurrencyMode. */
68
74
public concurrencyMode : google . firestore . admin . v1 . Database . ConcurrencyMode ;
69
75
76
+ /** Database appEngineIntegrationMode. */
77
+ public appEngineIntegrationMode : google . firestore . admin . v1 . Database . AppEngineIntegrationMode ;
78
+
79
+ /** Database keyPrefix. */
80
+ public keyPrefix : string ;
81
+
70
82
/** Database etag. */
71
83
public etag : string ;
72
84
@@ -101,6 +113,10 @@ export namespace google {
101
113
/** ConcurrencyMode enum. */
102
114
type ConcurrencyMode =
103
115
"CONCURRENCY_MODE_UNSPECIFIED" | "OPTIMISTIC" | "PESSIMISTIC" | "OPTIMISTIC_WITH_ENTITY_GROUPS" ;
116
+
117
+ /** AppEngineIntegrationMode enum. */
118
+ type AppEngineIntegrationMode =
119
+ "APP_ENGINE_INTEGRATION_MODE_UNSPECIFIED" | "ENABLED" | "DISABLED" ;
104
120
}
105
121
106
122
/** Properties of a Field. */
@@ -111,6 +127,9 @@ export namespace google {
111
127
112
128
/** Field indexConfig */
113
129
indexConfig ?: ( google . firestore . admin . v1 . Field . IIndexConfig | null ) ;
130
+
131
+ /** Field ttlConfig */
132
+ ttlConfig ?: ( google . firestore . admin . v1 . Field . ITtlConfig | null ) ;
114
133
}
115
134
116
135
/** Represents a Field. */
@@ -128,6 +147,9 @@ export namespace google {
128
147
/** Field indexConfig. */
129
148
public indexConfig ?: ( google . firestore . admin . v1 . Field . IIndexConfig | null ) ;
130
149
150
+ /** Field ttlConfig. */
151
+ public ttlConfig ?: ( google . firestore . admin . v1 . Field . ITtlConfig | null ) ;
152
+
131
153
/**
132
154
* Creates a Field message from a plain object. Also converts values to their respective internal types.
133
155
* @param object Plain object
@@ -210,6 +232,54 @@ export namespace google {
210
232
*/
211
233
public toJSON ( ) : { [ k : string ] : any } ;
212
234
}
235
+
236
+ /** Properties of a TtlConfig. */
237
+ interface ITtlConfig {
238
+
239
+ /** TtlConfig state */
240
+ state ?: ( google . firestore . admin . v1 . Field . TtlConfig . State | null ) ;
241
+ }
242
+
243
+ /** Represents a TtlConfig. */
244
+ class TtlConfig implements ITtlConfig {
245
+
246
+ /**
247
+ * Constructs a new TtlConfig.
248
+ * @param [properties] Properties to set
249
+ */
250
+ constructor ( properties ?: google . firestore . admin . v1 . Field . ITtlConfig ) ;
251
+
252
+ /** TtlConfig state. */
253
+ public state : google . firestore . admin . v1 . Field . TtlConfig . State ;
254
+
255
+ /**
256
+ * Creates a TtlConfig message from a plain object. Also converts values to their respective internal types.
257
+ * @param object Plain object
258
+ * @returns TtlConfig
259
+ */
260
+ public static fromObject ( object : { [ k : string ] : any } ) : google . firestore . admin . v1 . Field . TtlConfig ;
261
+
262
+ /**
263
+ * Creates a plain object from a TtlConfig message. Also converts values to other types if specified.
264
+ * @param message TtlConfig
265
+ * @param [options] Conversion options
266
+ * @returns Plain object
267
+ */
268
+ public static toObject ( message : google . firestore . admin . v1 . Field . TtlConfig , options ?: $protobuf . IConversionOptions ) : { [ k : string ] : any } ;
269
+
270
+ /**
271
+ * Converts this TtlConfig to JSON.
272
+ * @returns JSON object
273
+ */
274
+ public toJSON ( ) : { [ k : string ] : any } ;
275
+ }
276
+
277
+ namespace TtlConfig {
278
+
279
+ /** State enum. */
280
+ type State =
281
+ "STATE_UNSPECIFIED" | "CREATING" | "ACTIVE" | "NEEDS_REPAIR" ;
282
+ }
213
283
}
214
284
215
285
/** Represents a FirestoreAdmin */
@@ -1280,6 +1350,10 @@ export namespace google {
1280
1350
1281
1351
namespace Index {
1282
1352
1353
+ /** QueryScope enum. */
1354
+ type QueryScope =
1355
+ "QUERY_SCOPE_UNSPECIFIED" | "COLLECTION" | "COLLECTION_GROUP" ;
1356
+
1283
1357
/** Properties of an IndexField. */
1284
1358
interface IIndexField {
1285
1359
@@ -1347,10 +1421,6 @@ export namespace google {
1347
1421
"ARRAY_CONFIG_UNSPECIFIED" | "CONTAINS" ;
1348
1422
}
1349
1423
1350
- /** QueryScope enum. */
1351
- type QueryScope =
1352
- "QUERY_SCOPE_UNSPECIFIED" | "COLLECTION" | "COLLECTION_GROUP" ;
1353
-
1354
1424
/** State enum. */
1355
1425
type State =
1356
1426
"STATE_UNSPECIFIED" | "CREATING" | "READY" | "NEEDS_REPAIR" ;
@@ -1485,6 +1555,9 @@ export namespace google {
1485
1555
1486
1556
/** FieldOperationMetadata progressBytes */
1487
1557
progressBytes ?: ( google . firestore . admin . v1 . IProgress | null ) ;
1558
+
1559
+ /** FieldOperationMetadata ttlConfigDelta */
1560
+ ttlConfigDelta ?: ( google . firestore . admin . v1 . FieldOperationMetadata . ITtlConfigDelta | null ) ;
1488
1561
}
1489
1562
1490
1563
/** Represents a FieldOperationMetadata. */
@@ -1517,6 +1590,9 @@ export namespace google {
1517
1590
/** FieldOperationMetadata progressBytes. */
1518
1591
public progressBytes ?: ( google . firestore . admin . v1 . IProgress | null ) ;
1519
1592
1593
+ /** FieldOperationMetadata ttlConfigDelta. */
1594
+ public ttlConfigDelta ?: ( google . firestore . admin . v1 . FieldOperationMetadata . ITtlConfigDelta | null ) ;
1595
+
1520
1596
/**
1521
1597
* Creates a FieldOperationMetadata message from a plain object. Also converts values to their respective internal types.
1522
1598
* @param object Plain object
@@ -1594,6 +1670,54 @@ export namespace google {
1594
1670
type ChangeType =
1595
1671
"CHANGE_TYPE_UNSPECIFIED" | "ADD" | "REMOVE" ;
1596
1672
}
1673
+
1674
+ /** Properties of a TtlConfigDelta. */
1675
+ interface ITtlConfigDelta {
1676
+
1677
+ /** TtlConfigDelta changeType */
1678
+ changeType ?: ( google . firestore . admin . v1 . FieldOperationMetadata . TtlConfigDelta . ChangeType | null ) ;
1679
+ }
1680
+
1681
+ /** Represents a TtlConfigDelta. */
1682
+ class TtlConfigDelta implements ITtlConfigDelta {
1683
+
1684
+ /**
1685
+ * Constructs a new TtlConfigDelta.
1686
+ * @param [properties] Properties to set
1687
+ */
1688
+ constructor ( properties ?: google . firestore . admin . v1 . FieldOperationMetadata . ITtlConfigDelta ) ;
1689
+
1690
+ /** TtlConfigDelta changeType. */
1691
+ public changeType : google . firestore . admin . v1 . FieldOperationMetadata . TtlConfigDelta . ChangeType ;
1692
+
1693
+ /**
1694
+ * Creates a TtlConfigDelta message from a plain object. Also converts values to their respective internal types.
1695
+ * @param object Plain object
1696
+ * @returns TtlConfigDelta
1697
+ */
1698
+ public static fromObject ( object : { [ k : string ] : any } ) : google . firestore . admin . v1 . FieldOperationMetadata . TtlConfigDelta ;
1699
+
1700
+ /**
1701
+ * Creates a plain object from a TtlConfigDelta message. Also converts values to other types if specified.
1702
+ * @param message TtlConfigDelta
1703
+ * @param [options] Conversion options
1704
+ * @returns Plain object
1705
+ */
1706
+ public static toObject ( message : google . firestore . admin . v1 . FieldOperationMetadata . TtlConfigDelta , options ?: $protobuf . IConversionOptions ) : { [ k : string ] : any } ;
1707
+
1708
+ /**
1709
+ * Converts this TtlConfigDelta to JSON.
1710
+ * @returns JSON object
1711
+ */
1712
+ public toJSON ( ) : { [ k : string ] : any } ;
1713
+ }
1714
+
1715
+ namespace TtlConfigDelta {
1716
+
1717
+ /** ChangeType enum. */
1718
+ type ChangeType =
1719
+ "CHANGE_TYPE_UNSPECIFIED" | "ADD" | "REMOVE" ;
1720
+ }
1597
1721
}
1598
1722
1599
1723
/** Properties of an ExportDocumentsMetadata. */
0 commit comments