Skip to content

Commit 07de28a

Browse files
feat: Support Logical Termination on RunQueryResponse (#1741)
* feat: Support Logical Termination on RunQueryResponse * feat: Address feedback * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent 962d586 commit 07de28a

16 files changed

+4302
-3455
lines changed

dev/protos/firestore_admin_v1_proto_api.d.ts

Lines changed: 128 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,12 @@ export namespace google {
4242
/** Database concurrencyMode */
4343
concurrencyMode?: (google.firestore.admin.v1.Database.ConcurrencyMode|null);
4444

45+
/** Database appEngineIntegrationMode */
46+
appEngineIntegrationMode?: (google.firestore.admin.v1.Database.AppEngineIntegrationMode|null);
47+
48+
/** Database keyPrefix */
49+
keyPrefix?: (string|null);
50+
4551
/** Database etag */
4652
etag?: (string|null);
4753
}
@@ -67,6 +73,12 @@ export namespace google {
6773
/** Database concurrencyMode. */
6874
public concurrencyMode: google.firestore.admin.v1.Database.ConcurrencyMode;
6975

76+
/** Database appEngineIntegrationMode. */
77+
public appEngineIntegrationMode: google.firestore.admin.v1.Database.AppEngineIntegrationMode;
78+
79+
/** Database keyPrefix. */
80+
public keyPrefix: string;
81+
7082
/** Database etag. */
7183
public etag: string;
7284

@@ -101,6 +113,10 @@ export namespace google {
101113
/** ConcurrencyMode enum. */
102114
type ConcurrencyMode =
103115
"CONCURRENCY_MODE_UNSPECIFIED"| "OPTIMISTIC"| "PESSIMISTIC"| "OPTIMISTIC_WITH_ENTITY_GROUPS";
116+
117+
/** AppEngineIntegrationMode enum. */
118+
type AppEngineIntegrationMode =
119+
"APP_ENGINE_INTEGRATION_MODE_UNSPECIFIED"| "ENABLED"| "DISABLED";
104120
}
105121

106122
/** Properties of a Field. */
@@ -111,6 +127,9 @@ export namespace google {
111127

112128
/** Field indexConfig */
113129
indexConfig?: (google.firestore.admin.v1.Field.IIndexConfig|null);
130+
131+
/** Field ttlConfig */
132+
ttlConfig?: (google.firestore.admin.v1.Field.ITtlConfig|null);
114133
}
115134

116135
/** Represents a Field. */
@@ -128,6 +147,9 @@ export namespace google {
128147
/** Field indexConfig. */
129148
public indexConfig?: (google.firestore.admin.v1.Field.IIndexConfig|null);
130149

150+
/** Field ttlConfig. */
151+
public ttlConfig?: (google.firestore.admin.v1.Field.ITtlConfig|null);
152+
131153
/**
132154
* Creates a Field message from a plain object. Also converts values to their respective internal types.
133155
* @param object Plain object
@@ -210,6 +232,54 @@ export namespace google {
210232
*/
211233
public toJSON(): { [k: string]: any };
212234
}
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+
}
213283
}
214284

215285
/** Represents a FirestoreAdmin */
@@ -1280,6 +1350,10 @@ export namespace google {
12801350

12811351
namespace Index {
12821352

1353+
/** QueryScope enum. */
1354+
type QueryScope =
1355+
"QUERY_SCOPE_UNSPECIFIED"| "COLLECTION"| "COLLECTION_GROUP";
1356+
12831357
/** Properties of an IndexField. */
12841358
interface IIndexField {
12851359

@@ -1347,10 +1421,6 @@ export namespace google {
13471421
"ARRAY_CONFIG_UNSPECIFIED"| "CONTAINS";
13481422
}
13491423

1350-
/** QueryScope enum. */
1351-
type QueryScope =
1352-
"QUERY_SCOPE_UNSPECIFIED"| "COLLECTION"| "COLLECTION_GROUP";
1353-
13541424
/** State enum. */
13551425
type State =
13561426
"STATE_UNSPECIFIED"| "CREATING"| "READY"| "NEEDS_REPAIR";
@@ -1485,6 +1555,9 @@ export namespace google {
14851555

14861556
/** FieldOperationMetadata progressBytes */
14871557
progressBytes?: (google.firestore.admin.v1.IProgress|null);
1558+
1559+
/** FieldOperationMetadata ttlConfigDelta */
1560+
ttlConfigDelta?: (google.firestore.admin.v1.FieldOperationMetadata.ITtlConfigDelta|null);
14881561
}
14891562

14901563
/** Represents a FieldOperationMetadata. */
@@ -1517,6 +1590,9 @@ export namespace google {
15171590
/** FieldOperationMetadata progressBytes. */
15181591
public progressBytes?: (google.firestore.admin.v1.IProgress|null);
15191592

1593+
/** FieldOperationMetadata ttlConfigDelta. */
1594+
public ttlConfigDelta?: (google.firestore.admin.v1.FieldOperationMetadata.ITtlConfigDelta|null);
1595+
15201596
/**
15211597
* Creates a FieldOperationMetadata message from a plain object. Also converts values to their respective internal types.
15221598
* @param object Plain object
@@ -1594,6 +1670,54 @@ export namespace google {
15941670
type ChangeType =
15951671
"CHANGE_TYPE_UNSPECIFIED"| "ADD"| "REMOVE";
15961672
}
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+
}
15971721
}
15981722

15991723
/** Properties of an ExportDocumentsMetadata. */

0 commit comments

Comments
 (0)