@firebase/firestore 3.4.2 → 3.4.3
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.
- package/CHANGELOG.md +8 -0
- package/dist/firestore/src/api/snapshot.d.ts +6 -6
- package/dist/firestore/src/lite-api/snapshot.d.ts +2 -2
- package/dist/firestore/test/integration/bootstrap.d.ts +0 -1
- package/dist/firestore/test/integration/util/events_accumulator.d.ts +2 -2
- package/dist/firestore/test/integration/util/firebase_export.d.ts +6 -14
- package/dist/firestore/test/integration/util/helpers.d.ts +18 -18
- package/dist/firestore/test/integration/util/internal_helpers.d.ts +3 -3
- package/dist/firestore/test/integration/util/settings.d.ts +2 -2
- package/dist/firestore/test/unit/api/{blob.test.d.ts → bytes.test.d.ts} +0 -0
- package/dist/firestore/test/util/api_helpers.d.ts +1 -1
- package/dist/firestore/test/util/helpers.d.ts +4 -6
- package/dist/index.d.ts +6 -6
- package/dist/index.esm2017.js +869 -869
- package/dist/index.esm2017.js.map +1 -1
- package/dist/index.esm5.js +1257 -1257
- package/dist/index.esm5.js.map +1 -1
- package/dist/index.node.cjs.js +2674 -24
- package/dist/index.node.cjs.js.map +1 -1
- package/dist/index.node.mjs +2675 -25
- package/dist/index.node.mjs.map +1 -1
- package/dist/index.rn.js +1068 -1068
- package/dist/index.rn.js.map +1 -1
- package/dist/internal.d.ts +8 -8
- package/dist/lite/firestore/src/api/snapshot.d.ts +6 -6
- package/dist/lite/firestore/src/lite-api/snapshot.d.ts +2 -2
- package/dist/lite/firestore/test/integration/bootstrap.d.ts +0 -1
- package/dist/lite/firestore/test/integration/util/events_accumulator.d.ts +2 -2
- package/dist/lite/firestore/test/integration/util/firebase_export.d.ts +6 -14
- package/dist/lite/firestore/test/integration/util/helpers.d.ts +18 -18
- package/dist/lite/firestore/test/integration/util/internal_helpers.d.ts +3 -3
- package/dist/lite/firestore/test/integration/util/settings.d.ts +2 -2
- package/dist/lite/firestore/test/unit/api/{blob.test.d.ts → bytes.test.d.ts} +0 -0
- package/dist/lite/firestore/test/util/api_helpers.d.ts +1 -1
- package/dist/lite/firestore/test/util/helpers.d.ts +4 -6
- package/dist/lite/index.browser.esm2017.js +1136 -1136
- package/dist/lite/index.browser.esm2017.js.map +1 -1
- package/dist/lite/index.browser.esm5.js +105 -105
- package/dist/lite/index.browser.esm5.js.map +1 -1
- package/dist/lite/index.d.ts +2 -2
- package/dist/lite/index.node.cjs.js +11 -12
- package/dist/lite/index.node.cjs.js.map +1 -1
- package/dist/lite/index.node.mjs +11 -12
- package/dist/lite/index.node.mjs.map +1 -1
- package/dist/lite/index.rn.esm2017.js +148 -148
- package/dist/lite/index.rn.esm2017.js.map +1 -1
- package/dist/lite/internal.d.ts +2 -2
- package/dist/lite/packages/firestore/dist/lite/index.browser.esm2017.d.ts +107 -107
- package/dist/lite/packages/firestore/src/api/snapshot.d.ts +6 -6
- package/dist/lite/packages/firestore/src/lite-api/snapshot.d.ts +2 -2
- package/dist/lite/packages/firestore/test/integration/bootstrap.d.ts +0 -1
- package/dist/lite/packages/firestore/test/integration/util/events_accumulator.d.ts +2 -2
- package/dist/lite/packages/firestore/test/integration/util/firebase_export.d.ts +6 -14
- package/dist/lite/packages/firestore/test/integration/util/helpers.d.ts +18 -18
- package/dist/lite/packages/firestore/test/integration/util/internal_helpers.d.ts +3 -3
- package/dist/lite/packages/firestore/test/integration/util/settings.d.ts +2 -2
- package/dist/lite/packages/firestore/test/unit/api/{blob.test.d.ts → bytes.test.d.ts} +0 -0
- package/dist/lite/packages/firestore/test/util/api_helpers.d.ts +1 -1
- package/dist/lite/packages/firestore/test/util/helpers.d.ts +4 -6
- package/dist/lite/private.d.ts +2 -2
- package/dist/packages/firestore/dist/index.esm2017.d.ts +105 -105
- package/dist/packages/firestore/src/api/snapshot.d.ts +6 -6
- package/dist/packages/firestore/src/lite-api/snapshot.d.ts +2 -2
- package/dist/packages/firestore/test/integration/bootstrap.d.ts +0 -1
- package/dist/packages/firestore/test/integration/util/events_accumulator.d.ts +2 -2
- package/dist/packages/firestore/test/integration/util/firebase_export.d.ts +6 -14
- package/dist/packages/firestore/test/integration/util/helpers.d.ts +18 -18
- package/dist/packages/firestore/test/integration/util/internal_helpers.d.ts +3 -3
- package/dist/packages/firestore/test/integration/util/settings.d.ts +2 -2
- package/dist/packages/firestore/test/unit/api/{blob.test.d.ts → bytes.test.d.ts} +0 -0
- package/dist/packages/firestore/test/util/api_helpers.d.ts +1 -1
- package/dist/packages/firestore/test/util/helpers.d.ts +4 -6
- package/dist/private.d.ts +8 -8
- package/package.json +4 -7
- package/dist/firestore/compat/api/blob.d.ts +0 -29
- package/dist/firestore/compat/api/database.d.ts +0 -228
- package/dist/firestore/compat/api/field_path.d.ts +0 -36
- package/dist/firestore/compat/api/field_value.d.ts +0 -29
- package/dist/firestore/compat/api/geo_point.d.ts +0 -17
- package/dist/firestore/compat/api/observer.d.ts +0 -29
- package/dist/firestore/compat/api/timestamp.d.ts +0 -17
- package/dist/firestore/compat/config.d.ts +0 -28
- package/dist/firestore/compat/index.console.d.ts +0 -42
- package/dist/firestore/compat/index.d.ts +0 -49
- package/dist/firestore/compat/index.node.d.ts +0 -22
- package/dist/firestore/compat/index.rn.d.ts +0 -22
- package/dist/firestore/compat/register-module.d.ts +0 -42
- package/dist/firestore/compat/util/input_validation.d.ts +0 -18
- package/dist/lite/firestore/compat/api/blob.d.ts +0 -29
- package/dist/lite/firestore/compat/api/database.d.ts +0 -228
- package/dist/lite/firestore/compat/api/field_path.d.ts +0 -36
- package/dist/lite/firestore/compat/api/field_value.d.ts +0 -29
- package/dist/lite/firestore/compat/api/geo_point.d.ts +0 -17
- package/dist/lite/firestore/compat/api/observer.d.ts +0 -29
- package/dist/lite/firestore/compat/api/timestamp.d.ts +0 -17
- package/dist/lite/firestore/compat/config.d.ts +0 -28
- package/dist/lite/firestore/compat/index.console.d.ts +0 -42
- package/dist/lite/firestore/compat/index.d.ts +0 -49
- package/dist/lite/firestore/compat/index.node.d.ts +0 -22
- package/dist/lite/firestore/compat/index.rn.d.ts +0 -22
- package/dist/lite/firestore/compat/register-module.d.ts +0 -42
- package/dist/lite/firestore/compat/util/input_validation.d.ts +0 -18
- package/dist/lite/packages/firestore/compat/api/blob.d.ts +0 -29
- package/dist/lite/packages/firestore/compat/api/database.d.ts +0 -228
- package/dist/lite/packages/firestore/compat/api/field_path.d.ts +0 -36
- package/dist/lite/packages/firestore/compat/api/field_value.d.ts +0 -29
- package/dist/lite/packages/firestore/compat/api/geo_point.d.ts +0 -17
- package/dist/lite/packages/firestore/compat/api/observer.d.ts +0 -29
- package/dist/lite/packages/firestore/compat/api/timestamp.d.ts +0 -17
- package/dist/lite/packages/firestore/compat/config.d.ts +0 -28
- package/dist/lite/packages/firestore/compat/index.console.d.ts +0 -42
- package/dist/lite/packages/firestore/compat/index.d.ts +0 -49
- package/dist/lite/packages/firestore/compat/index.node.d.ts +0 -22
- package/dist/lite/packages/firestore/compat/index.rn.d.ts +0 -22
- package/dist/lite/packages/firestore/compat/register-module.d.ts +0 -42
- package/dist/lite/packages/firestore/compat/util/input_validation.d.ts +0 -18
- package/dist/lite/src/protos/README.md +0 -2
- package/dist/lite/src/protos/firestore/bundle.proto +0 -121
- package/dist/lite/src/protos/firestore_bundle_proto.ts +0 -93
- package/dist/lite/src/protos/firestore_proto_api.ts +0 -1259
- package/dist/lite/src/protos/google/api/annotations.proto +0 -31
- package/dist/lite/src/protos/google/api/http.proto +0 -370
- package/dist/lite/src/protos/google/firestore/v1/common.proto +0 -84
- package/dist/lite/src/protos/google/firestore/v1/document.proto +0 -151
- package/dist/lite/src/protos/google/firestore/v1/firestore.proto +0 -761
- package/dist/lite/src/protos/google/firestore/v1/query.proto +0 -302
- package/dist/lite/src/protos/google/firestore/v1/write.proto +0 -264
- package/dist/lite/src/protos/google/protobuf/any.proto +0 -155
- package/dist/lite/src/protos/google/protobuf/descriptor.proto +0 -882
- package/dist/lite/src/protos/google/protobuf/empty.proto +0 -52
- package/dist/lite/src/protos/google/protobuf/struct.proto +0 -96
- package/dist/lite/src/protos/google/protobuf/timestamp.proto +0 -137
- package/dist/lite/src/protos/google/protobuf/wrappers.proto +0 -123
- package/dist/lite/src/protos/google/rpc/status.proto +0 -92
- package/dist/lite/src/protos/google/type/latlng.proto +0 -71
- package/dist/lite/src/protos/update.sh +0 -61
- package/dist/packages/firestore/compat/api/blob.d.ts +0 -29
- package/dist/packages/firestore/compat/api/database.d.ts +0 -228
- package/dist/packages/firestore/compat/api/field_path.d.ts +0 -36
- package/dist/packages/firestore/compat/api/field_value.d.ts +0 -29
- package/dist/packages/firestore/compat/api/geo_point.d.ts +0 -17
- package/dist/packages/firestore/compat/api/observer.d.ts +0 -29
- package/dist/packages/firestore/compat/api/timestamp.d.ts +0 -17
- package/dist/packages/firestore/compat/config.d.ts +0 -28
- package/dist/packages/firestore/compat/index.console.d.ts +0 -42
- package/dist/packages/firestore/compat/index.d.ts +0 -49
- package/dist/packages/firestore/compat/index.node.d.ts +0 -22
- package/dist/packages/firestore/compat/index.rn.d.ts +0 -22
- package/dist/packages/firestore/compat/register-module.d.ts +0 -42
- package/dist/packages/firestore/compat/util/input_validation.d.ts +0 -18
- package/dist/src/protos/README.md +0 -2
- package/dist/src/protos/firestore/bundle.proto +0 -121
- package/dist/src/protos/firestore_bundle_proto.ts +0 -93
- package/dist/src/protos/firestore_proto_api.ts +0 -1259
- package/dist/src/protos/google/api/annotations.proto +0 -31
- package/dist/src/protos/google/api/http.proto +0 -370
- package/dist/src/protos/google/firestore/v1/common.proto +0 -84
- package/dist/src/protos/google/firestore/v1/document.proto +0 -151
- package/dist/src/protos/google/firestore/v1/firestore.proto +0 -761
- package/dist/src/protos/google/firestore/v1/query.proto +0 -302
- package/dist/src/protos/google/firestore/v1/write.proto +0 -264
- package/dist/src/protos/google/protobuf/any.proto +0 -155
- package/dist/src/protos/google/protobuf/descriptor.proto +0 -882
- package/dist/src/protos/google/protobuf/empty.proto +0 -52
- package/dist/src/protos/google/protobuf/struct.proto +0 -96
- package/dist/src/protos/google/protobuf/timestamp.proto +0 -137
- package/dist/src/protos/google/protobuf/wrappers.proto +0 -123
- package/dist/src/protos/google/rpc/status.proto +0 -92
- package/dist/src/protos/google/type/latlng.proto +0 -71
- package/dist/src/protos/update.sh +0 -61
|
@@ -1,1259 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright 2019 Google LLC
|
|
4
|
-
*
|
|
5
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
-
* you may not use this file except in compliance with the License.
|
|
7
|
-
* You may obtain a copy of the License at
|
|
8
|
-
*
|
|
9
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
-
*
|
|
11
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
-
* See the License for the specific language governing permissions and
|
|
15
|
-
* limitations under the License.
|
|
16
|
-
*/
|
|
17
|
-
|
|
18
|
-
// Rather than pull these in from other protos, we just alias them to any.
|
|
19
|
-
/*
|
|
20
|
-
eslint-disable
|
|
21
|
-
camelcase, @typescript-eslint/no-explicit-any,
|
|
22
|
-
@typescript-eslint/naming-convention
|
|
23
|
-
*/
|
|
24
|
-
export declare type ApiClientHookFactory = any;
|
|
25
|
-
export declare type PromiseRequestService = any;
|
|
26
|
-
export interface ApiClientObjectMap<T> {
|
|
27
|
-
[k: string]: T;
|
|
28
|
-
}
|
|
29
|
-
export declare type Timestamp =
|
|
30
|
-
| string
|
|
31
|
-
| { seconds?: string | number; nanos?: number };
|
|
32
|
-
|
|
33
|
-
export declare type CompositeFilterOp = 'OPERATOR_UNSPECIFIED' | 'AND';
|
|
34
|
-
export interface ICompositeFilterOpEnum {
|
|
35
|
-
OPERATOR_UNSPECIFIED: CompositeFilterOp;
|
|
36
|
-
AND: CompositeFilterOp;
|
|
37
|
-
values(): CompositeFilterOp[];
|
|
38
|
-
}
|
|
39
|
-
export declare const CompositeFilterOpEnum: ICompositeFilterOpEnum;
|
|
40
|
-
export declare type FieldFilterOp =
|
|
41
|
-
| 'OPERATOR_UNSPECIFIED'
|
|
42
|
-
| 'LESS_THAN'
|
|
43
|
-
| 'LESS_THAN_OR_EQUAL'
|
|
44
|
-
| 'GREATER_THAN'
|
|
45
|
-
| 'GREATER_THAN_OR_EQUAL'
|
|
46
|
-
| 'EQUAL'
|
|
47
|
-
| 'NOT_EQUAL'
|
|
48
|
-
| 'ARRAY_CONTAINS'
|
|
49
|
-
| 'IN'
|
|
50
|
-
| 'ARRAY_CONTAINS_ANY'
|
|
51
|
-
| 'NOT_IN';
|
|
52
|
-
export interface IFieldFilterOpEnum {
|
|
53
|
-
OPERATOR_UNSPECIFIED: FieldFilterOp;
|
|
54
|
-
LESS_THAN: FieldFilterOp;
|
|
55
|
-
LESS_THAN_OR_EQUAL: FieldFilterOp;
|
|
56
|
-
GREATER_THAN: FieldFilterOp;
|
|
57
|
-
GREATER_THAN_OR_EQUAL: FieldFilterOp;
|
|
58
|
-
EQUAL: FieldFilterOp;
|
|
59
|
-
NOT_EQUAL: FieldFilterOp;
|
|
60
|
-
ARRAY_CONTAINS: FieldFilterOp;
|
|
61
|
-
IN: FieldFilterOp;
|
|
62
|
-
ARRAY_CONTAINS_ANY: FieldFilterOp;
|
|
63
|
-
NOT_IN: FieldFilterOp;
|
|
64
|
-
values(): FieldFilterOp[];
|
|
65
|
-
}
|
|
66
|
-
export declare const FieldFilterOpEnum: IFieldFilterOpEnum;
|
|
67
|
-
export declare type FieldTransformSetToServerValue =
|
|
68
|
-
| 'SERVER_VALUE_UNSPECIFIED'
|
|
69
|
-
| 'REQUEST_TIME';
|
|
70
|
-
export interface IFieldTransformSetToServerValueEnum {
|
|
71
|
-
SERVER_VALUE_UNSPECIFIED: FieldTransformSetToServerValue;
|
|
72
|
-
REQUEST_TIME: FieldTransformSetToServerValue;
|
|
73
|
-
values(): FieldTransformSetToServerValue[];
|
|
74
|
-
}
|
|
75
|
-
export declare const FieldTransformSetToServerValueEnum: IFieldTransformSetToServerValueEnum;
|
|
76
|
-
export declare type IndexFieldMode =
|
|
77
|
-
| 'MODE_UNSPECIFIED'
|
|
78
|
-
| 'ASCENDING'
|
|
79
|
-
| 'DESCENDING';
|
|
80
|
-
export interface IIndexFieldModeEnum {
|
|
81
|
-
MODE_UNSPECIFIED: IndexFieldMode;
|
|
82
|
-
ASCENDING: IndexFieldMode;
|
|
83
|
-
DESCENDING: IndexFieldMode;
|
|
84
|
-
values(): IndexFieldMode[];
|
|
85
|
-
}
|
|
86
|
-
export declare const IndexFieldModeEnum: IIndexFieldModeEnum;
|
|
87
|
-
export declare type IndexState =
|
|
88
|
-
| 'STATE_UNSPECIFIED'
|
|
89
|
-
| 'CREATING'
|
|
90
|
-
| 'READY'
|
|
91
|
-
| 'ERROR';
|
|
92
|
-
export interface IIndexStateEnum {
|
|
93
|
-
STATE_UNSPECIFIED: IndexState;
|
|
94
|
-
CREATING: IndexState;
|
|
95
|
-
READY: IndexState;
|
|
96
|
-
ERROR: IndexState;
|
|
97
|
-
values(): IndexState[];
|
|
98
|
-
}
|
|
99
|
-
export declare const IndexStateEnum: IIndexStateEnum;
|
|
100
|
-
export declare type OrderDirection =
|
|
101
|
-
| 'DIRECTION_UNSPECIFIED'
|
|
102
|
-
| 'ASCENDING'
|
|
103
|
-
| 'DESCENDING';
|
|
104
|
-
export interface IOrderDirectionEnum {
|
|
105
|
-
DIRECTION_UNSPECIFIED: OrderDirection;
|
|
106
|
-
ASCENDING: OrderDirection;
|
|
107
|
-
DESCENDING: OrderDirection;
|
|
108
|
-
values(): OrderDirection[];
|
|
109
|
-
}
|
|
110
|
-
export declare const OrderDirectionEnum: IOrderDirectionEnum;
|
|
111
|
-
export declare type TargetChangeTargetChangeType =
|
|
112
|
-
| 'NO_CHANGE'
|
|
113
|
-
| 'ADD'
|
|
114
|
-
| 'REMOVE'
|
|
115
|
-
| 'CURRENT'
|
|
116
|
-
| 'RESET';
|
|
117
|
-
export interface ITargetChangeTargetChangeTypeEnum {
|
|
118
|
-
NO_CHANGE: TargetChangeTargetChangeType;
|
|
119
|
-
ADD: TargetChangeTargetChangeType;
|
|
120
|
-
REMOVE: TargetChangeTargetChangeType;
|
|
121
|
-
CURRENT: TargetChangeTargetChangeType;
|
|
122
|
-
RESET: TargetChangeTargetChangeType;
|
|
123
|
-
values(): TargetChangeTargetChangeType[];
|
|
124
|
-
}
|
|
125
|
-
export declare const TargetChangeTargetChangeTypeEnum: ITargetChangeTargetChangeTypeEnum;
|
|
126
|
-
export declare type UnaryFilterOp =
|
|
127
|
-
| 'OPERATOR_UNSPECIFIED'
|
|
128
|
-
| 'IS_NAN'
|
|
129
|
-
| 'IS_NULL'
|
|
130
|
-
| 'IS_NOT_NAN'
|
|
131
|
-
| 'IS_NOT_NULL';
|
|
132
|
-
export interface IUnaryFilterOpEnum {
|
|
133
|
-
OPERATOR_UNSPECIFIED: UnaryFilterOp;
|
|
134
|
-
IS_NAN: UnaryFilterOp;
|
|
135
|
-
IS_NULL: UnaryFilterOp;
|
|
136
|
-
IS_NOT_NAN: UnaryFilterOp;
|
|
137
|
-
IS_NOT_NULL: UnaryFilterOp;
|
|
138
|
-
values(): UnaryFilterOp[];
|
|
139
|
-
}
|
|
140
|
-
export declare const UnaryFilterOpEnum: IUnaryFilterOpEnum;
|
|
141
|
-
export declare type ValueNullValue = 'NULL_VALUE';
|
|
142
|
-
export interface IValueNullValueEnum {
|
|
143
|
-
NULL_VALUE: ValueNullValue;
|
|
144
|
-
values(): ValueNullValue[];
|
|
145
|
-
}
|
|
146
|
-
export declare const ValueNullValueEnum: IValueNullValueEnum;
|
|
147
|
-
export declare namespace firestoreV1ApiClientInterfaces {
|
|
148
|
-
interface ArrayValue {
|
|
149
|
-
values?: Value[];
|
|
150
|
-
}
|
|
151
|
-
interface BatchGetDocumentsRequest {
|
|
152
|
-
database?: string;
|
|
153
|
-
documents?: string[];
|
|
154
|
-
mask?: DocumentMask;
|
|
155
|
-
transaction?: string;
|
|
156
|
-
newTransaction?: TransactionOptions;
|
|
157
|
-
readTime?: string;
|
|
158
|
-
}
|
|
159
|
-
interface BatchGetDocumentsResponse {
|
|
160
|
-
found?: Document;
|
|
161
|
-
missing?: string;
|
|
162
|
-
transaction?: string;
|
|
163
|
-
readTime?: string;
|
|
164
|
-
}
|
|
165
|
-
interface BeginTransactionRequest {
|
|
166
|
-
options?: TransactionOptions;
|
|
167
|
-
}
|
|
168
|
-
interface BeginTransactionResponse {
|
|
169
|
-
transaction?: string;
|
|
170
|
-
}
|
|
171
|
-
interface CollectionSelector {
|
|
172
|
-
collectionId?: string;
|
|
173
|
-
allDescendants?: boolean;
|
|
174
|
-
}
|
|
175
|
-
interface CommitRequest {
|
|
176
|
-
database?: string;
|
|
177
|
-
writes?: Write[];
|
|
178
|
-
transaction?: string;
|
|
179
|
-
}
|
|
180
|
-
interface CommitResponse {
|
|
181
|
-
writeResults?: WriteResult[];
|
|
182
|
-
commitTime?: string;
|
|
183
|
-
}
|
|
184
|
-
interface CompositeFilter {
|
|
185
|
-
op?: CompositeFilterOp;
|
|
186
|
-
filters?: Filter[];
|
|
187
|
-
}
|
|
188
|
-
interface Cursor {
|
|
189
|
-
values?: Value[];
|
|
190
|
-
before?: boolean;
|
|
191
|
-
}
|
|
192
|
-
interface Document {
|
|
193
|
-
name?: string;
|
|
194
|
-
fields?: ApiClientObjectMap<Value>;
|
|
195
|
-
createTime?: Timestamp;
|
|
196
|
-
updateTime?: Timestamp;
|
|
197
|
-
}
|
|
198
|
-
interface DocumentChange {
|
|
199
|
-
document?: Document;
|
|
200
|
-
targetIds?: number[];
|
|
201
|
-
removedTargetIds?: number[];
|
|
202
|
-
}
|
|
203
|
-
interface DocumentDelete {
|
|
204
|
-
document?: string;
|
|
205
|
-
removedTargetIds?: number[];
|
|
206
|
-
readTime?: Timestamp;
|
|
207
|
-
}
|
|
208
|
-
interface DocumentMask {
|
|
209
|
-
fieldPaths?: string[];
|
|
210
|
-
}
|
|
211
|
-
interface DocumentRemove {
|
|
212
|
-
document?: string;
|
|
213
|
-
removedTargetIds?: number[];
|
|
214
|
-
readTime?: string;
|
|
215
|
-
}
|
|
216
|
-
interface DocumentTransform {
|
|
217
|
-
document?: string;
|
|
218
|
-
fieldTransforms?: FieldTransform[];
|
|
219
|
-
}
|
|
220
|
-
interface DocumentsTarget {
|
|
221
|
-
documents?: string[];
|
|
222
|
-
}
|
|
223
|
-
interface Empty {}
|
|
224
|
-
interface ExistenceFilter {
|
|
225
|
-
targetId?: number;
|
|
226
|
-
count?: number;
|
|
227
|
-
}
|
|
228
|
-
interface FieldFilter {
|
|
229
|
-
field?: FieldReference;
|
|
230
|
-
op?: FieldFilterOp;
|
|
231
|
-
value?: Value;
|
|
232
|
-
}
|
|
233
|
-
interface FieldReference {
|
|
234
|
-
fieldPath?: string;
|
|
235
|
-
}
|
|
236
|
-
interface FieldTransform {
|
|
237
|
-
fieldPath?: string;
|
|
238
|
-
setToServerValue?: FieldTransformSetToServerValue;
|
|
239
|
-
appendMissingElements?: ArrayValue;
|
|
240
|
-
removeAllFromArray?: ArrayValue;
|
|
241
|
-
increment?: Value;
|
|
242
|
-
}
|
|
243
|
-
interface Filter {
|
|
244
|
-
compositeFilter?: CompositeFilter;
|
|
245
|
-
fieldFilter?: FieldFilter;
|
|
246
|
-
unaryFilter?: UnaryFilter;
|
|
247
|
-
}
|
|
248
|
-
interface Index {
|
|
249
|
-
name?: string;
|
|
250
|
-
collectionId?: string;
|
|
251
|
-
fields?: IndexField[];
|
|
252
|
-
state?: IndexState;
|
|
253
|
-
}
|
|
254
|
-
interface IndexField {
|
|
255
|
-
fieldPath?: string;
|
|
256
|
-
mode?: IndexFieldMode;
|
|
257
|
-
}
|
|
258
|
-
interface LatLng {
|
|
259
|
-
latitude?: number;
|
|
260
|
-
longitude?: number;
|
|
261
|
-
}
|
|
262
|
-
interface ListCollectionIdsRequest {
|
|
263
|
-
pageSize?: number;
|
|
264
|
-
pageToken?: string;
|
|
265
|
-
}
|
|
266
|
-
interface ListCollectionIdsResponse {
|
|
267
|
-
collectionIds?: string[];
|
|
268
|
-
nextPageToken?: string;
|
|
269
|
-
}
|
|
270
|
-
interface ListDocumentsResponse {
|
|
271
|
-
documents?: Document[];
|
|
272
|
-
nextPageToken?: string;
|
|
273
|
-
}
|
|
274
|
-
interface ListIndexesResponse {
|
|
275
|
-
indexes?: Index[];
|
|
276
|
-
nextPageToken?: string;
|
|
277
|
-
}
|
|
278
|
-
interface ListenRequest {
|
|
279
|
-
addTarget?: Target;
|
|
280
|
-
removeTarget?: number;
|
|
281
|
-
labels?: ApiClientObjectMap<string>;
|
|
282
|
-
}
|
|
283
|
-
interface ListenResponse {
|
|
284
|
-
targetChange?: TargetChange;
|
|
285
|
-
documentChange?: DocumentChange;
|
|
286
|
-
documentDelete?: DocumentDelete;
|
|
287
|
-
documentRemove?: DocumentRemove;
|
|
288
|
-
filter?: ExistenceFilter;
|
|
289
|
-
}
|
|
290
|
-
interface MapValue {
|
|
291
|
-
fields?: ApiClientObjectMap<Value>;
|
|
292
|
-
}
|
|
293
|
-
interface Operation {
|
|
294
|
-
name?: string;
|
|
295
|
-
metadata?: ApiClientObjectMap<any>;
|
|
296
|
-
done?: boolean;
|
|
297
|
-
error?: Status;
|
|
298
|
-
response?: ApiClientObjectMap<any>;
|
|
299
|
-
}
|
|
300
|
-
interface Order {
|
|
301
|
-
field?: FieldReference;
|
|
302
|
-
direction?: OrderDirection;
|
|
303
|
-
}
|
|
304
|
-
interface Precondition {
|
|
305
|
-
exists?: boolean;
|
|
306
|
-
updateTime?: Timestamp;
|
|
307
|
-
}
|
|
308
|
-
interface Projection {
|
|
309
|
-
fields?: FieldReference[];
|
|
310
|
-
}
|
|
311
|
-
interface QueryTarget {
|
|
312
|
-
parent?: string;
|
|
313
|
-
structuredQuery?: StructuredQuery;
|
|
314
|
-
}
|
|
315
|
-
interface ReadOnly {
|
|
316
|
-
readTime?: string;
|
|
317
|
-
}
|
|
318
|
-
interface ReadWrite {
|
|
319
|
-
retryTransaction?: string;
|
|
320
|
-
}
|
|
321
|
-
interface RollbackRequest {
|
|
322
|
-
transaction?: string;
|
|
323
|
-
}
|
|
324
|
-
interface RunQueryRequest {
|
|
325
|
-
parent?: string;
|
|
326
|
-
structuredQuery?: StructuredQuery;
|
|
327
|
-
transaction?: string;
|
|
328
|
-
newTransaction?: TransactionOptions;
|
|
329
|
-
readTime?: string;
|
|
330
|
-
}
|
|
331
|
-
interface RunQueryResponse {
|
|
332
|
-
transaction?: string;
|
|
333
|
-
document?: Document;
|
|
334
|
-
readTime?: string;
|
|
335
|
-
skippedResults?: number;
|
|
336
|
-
}
|
|
337
|
-
interface Status {
|
|
338
|
-
code?: number;
|
|
339
|
-
message?: string;
|
|
340
|
-
details?: Array<ApiClientObjectMap<any>>;
|
|
341
|
-
}
|
|
342
|
-
interface StructuredQuery {
|
|
343
|
-
select?: Projection;
|
|
344
|
-
from?: CollectionSelector[];
|
|
345
|
-
where?: Filter;
|
|
346
|
-
orderBy?: Order[];
|
|
347
|
-
startAt?: Cursor;
|
|
348
|
-
endAt?: Cursor;
|
|
349
|
-
offset?: number;
|
|
350
|
-
limit?: number | { value: number };
|
|
351
|
-
}
|
|
352
|
-
interface Target {
|
|
353
|
-
query?: QueryTarget;
|
|
354
|
-
documents?: DocumentsTarget;
|
|
355
|
-
resumeToken?: string | Uint8Array;
|
|
356
|
-
readTime?: Timestamp;
|
|
357
|
-
targetId?: number;
|
|
358
|
-
once?: boolean;
|
|
359
|
-
}
|
|
360
|
-
interface TargetChange {
|
|
361
|
-
targetChangeType?: TargetChangeTargetChangeType;
|
|
362
|
-
targetIds?: number[];
|
|
363
|
-
cause?: Status;
|
|
364
|
-
resumeToken?: string | Uint8Array;
|
|
365
|
-
readTime?: Timestamp;
|
|
366
|
-
}
|
|
367
|
-
interface TransactionOptions {
|
|
368
|
-
readOnly?: ReadOnly;
|
|
369
|
-
readWrite?: ReadWrite;
|
|
370
|
-
}
|
|
371
|
-
interface UnaryFilter {
|
|
372
|
-
op?: UnaryFilterOp;
|
|
373
|
-
field?: FieldReference;
|
|
374
|
-
}
|
|
375
|
-
interface Value {
|
|
376
|
-
nullValue?: ValueNullValue;
|
|
377
|
-
booleanValue?: boolean;
|
|
378
|
-
integerValue?: string | number;
|
|
379
|
-
doubleValue?: string | number;
|
|
380
|
-
timestampValue?: Timestamp;
|
|
381
|
-
stringValue?: string;
|
|
382
|
-
bytesValue?: string | Uint8Array;
|
|
383
|
-
referenceValue?: string;
|
|
384
|
-
geoPointValue?: LatLng;
|
|
385
|
-
arrayValue?: ArrayValue;
|
|
386
|
-
mapValue?: MapValue;
|
|
387
|
-
}
|
|
388
|
-
interface Write {
|
|
389
|
-
update?: Document;
|
|
390
|
-
delete?: string;
|
|
391
|
-
verify?: string;
|
|
392
|
-
transform?: DocumentTransform;
|
|
393
|
-
updateMask?: DocumentMask;
|
|
394
|
-
updateTransforms?: FieldTransform[];
|
|
395
|
-
currentDocument?: Precondition;
|
|
396
|
-
}
|
|
397
|
-
interface WriteRequest {
|
|
398
|
-
streamId?: string;
|
|
399
|
-
writes?: Write[];
|
|
400
|
-
streamToken?: string | Uint8Array;
|
|
401
|
-
labels?: ApiClientObjectMap<string>;
|
|
402
|
-
}
|
|
403
|
-
interface WriteResponse {
|
|
404
|
-
streamId?: string;
|
|
405
|
-
streamToken?: string | Uint8Array;
|
|
406
|
-
writeResults?: WriteResult[];
|
|
407
|
-
commitTime?: Timestamp;
|
|
408
|
-
}
|
|
409
|
-
interface WriteResult {
|
|
410
|
-
updateTime?: Timestamp;
|
|
411
|
-
transformResults?: Value[];
|
|
412
|
-
}
|
|
413
|
-
}
|
|
414
|
-
export declare type ArrayValue = firestoreV1ApiClientInterfaces.ArrayValue;
|
|
415
|
-
export declare type BatchGetDocumentsRequest =
|
|
416
|
-
firestoreV1ApiClientInterfaces.BatchGetDocumentsRequest;
|
|
417
|
-
export declare type BatchGetDocumentsResponse =
|
|
418
|
-
firestoreV1ApiClientInterfaces.BatchGetDocumentsResponse;
|
|
419
|
-
export declare type BeginTransactionRequest =
|
|
420
|
-
firestoreV1ApiClientInterfaces.BeginTransactionRequest;
|
|
421
|
-
export declare type BeginTransactionResponse =
|
|
422
|
-
firestoreV1ApiClientInterfaces.BeginTransactionResponse;
|
|
423
|
-
export declare type CollectionSelector =
|
|
424
|
-
firestoreV1ApiClientInterfaces.CollectionSelector;
|
|
425
|
-
export declare type CommitRequest =
|
|
426
|
-
firestoreV1ApiClientInterfaces.CommitRequest;
|
|
427
|
-
export declare type CommitResponse =
|
|
428
|
-
firestoreV1ApiClientInterfaces.CommitResponse;
|
|
429
|
-
export declare type CompositeFilter =
|
|
430
|
-
firestoreV1ApiClientInterfaces.CompositeFilter;
|
|
431
|
-
export declare type Cursor = firestoreV1ApiClientInterfaces.Cursor;
|
|
432
|
-
export declare type Document = firestoreV1ApiClientInterfaces.Document;
|
|
433
|
-
export declare type DocumentChange =
|
|
434
|
-
firestoreV1ApiClientInterfaces.DocumentChange;
|
|
435
|
-
export declare type DocumentDelete =
|
|
436
|
-
firestoreV1ApiClientInterfaces.DocumentDelete;
|
|
437
|
-
export declare type DocumentMask = firestoreV1ApiClientInterfaces.DocumentMask;
|
|
438
|
-
export declare type DocumentRemove =
|
|
439
|
-
firestoreV1ApiClientInterfaces.DocumentRemove;
|
|
440
|
-
export declare type DocumentTransform =
|
|
441
|
-
firestoreV1ApiClientInterfaces.DocumentTransform;
|
|
442
|
-
export declare type DocumentsTarget =
|
|
443
|
-
firestoreV1ApiClientInterfaces.DocumentsTarget;
|
|
444
|
-
export declare type Empty = firestoreV1ApiClientInterfaces.Empty;
|
|
445
|
-
export declare type ExistenceFilter =
|
|
446
|
-
firestoreV1ApiClientInterfaces.ExistenceFilter;
|
|
447
|
-
export declare type FieldFilter = firestoreV1ApiClientInterfaces.FieldFilter;
|
|
448
|
-
export declare type FieldReference =
|
|
449
|
-
firestoreV1ApiClientInterfaces.FieldReference;
|
|
450
|
-
export declare type FieldTransform =
|
|
451
|
-
firestoreV1ApiClientInterfaces.FieldTransform;
|
|
452
|
-
export declare type Filter = firestoreV1ApiClientInterfaces.Filter;
|
|
453
|
-
export declare type Index = firestoreV1ApiClientInterfaces.Index;
|
|
454
|
-
export declare type IndexField = firestoreV1ApiClientInterfaces.IndexField;
|
|
455
|
-
export declare type LatLng = firestoreV1ApiClientInterfaces.LatLng;
|
|
456
|
-
export declare type ListCollectionIdsRequest =
|
|
457
|
-
firestoreV1ApiClientInterfaces.ListCollectionIdsRequest;
|
|
458
|
-
export declare type ListCollectionIdsResponse =
|
|
459
|
-
firestoreV1ApiClientInterfaces.ListCollectionIdsResponse;
|
|
460
|
-
export declare type ListDocumentsResponse =
|
|
461
|
-
firestoreV1ApiClientInterfaces.ListDocumentsResponse;
|
|
462
|
-
export declare type ListIndexesResponse =
|
|
463
|
-
firestoreV1ApiClientInterfaces.ListIndexesResponse;
|
|
464
|
-
export declare type ListenRequest =
|
|
465
|
-
firestoreV1ApiClientInterfaces.ListenRequest;
|
|
466
|
-
export declare type ListenResponse =
|
|
467
|
-
firestoreV1ApiClientInterfaces.ListenResponse;
|
|
468
|
-
export declare type MapValue = firestoreV1ApiClientInterfaces.MapValue;
|
|
469
|
-
export declare type Operation = firestoreV1ApiClientInterfaces.Operation;
|
|
470
|
-
export declare type Order = firestoreV1ApiClientInterfaces.Order;
|
|
471
|
-
export declare type Precondition = firestoreV1ApiClientInterfaces.Precondition;
|
|
472
|
-
export declare type Projection = firestoreV1ApiClientInterfaces.Projection;
|
|
473
|
-
export declare type QueryTarget = firestoreV1ApiClientInterfaces.QueryTarget;
|
|
474
|
-
export declare type ReadOnly = firestoreV1ApiClientInterfaces.ReadOnly;
|
|
475
|
-
export declare type ReadWrite = firestoreV1ApiClientInterfaces.ReadWrite;
|
|
476
|
-
export declare type RollbackRequest =
|
|
477
|
-
firestoreV1ApiClientInterfaces.RollbackRequest;
|
|
478
|
-
export declare type RunQueryRequest =
|
|
479
|
-
firestoreV1ApiClientInterfaces.RunQueryRequest;
|
|
480
|
-
export declare type RunQueryResponse =
|
|
481
|
-
firestoreV1ApiClientInterfaces.RunQueryResponse;
|
|
482
|
-
export declare type Status = firestoreV1ApiClientInterfaces.Status;
|
|
483
|
-
export declare type StructuredQuery =
|
|
484
|
-
firestoreV1ApiClientInterfaces.StructuredQuery;
|
|
485
|
-
export declare type Target = firestoreV1ApiClientInterfaces.Target;
|
|
486
|
-
export declare type TargetChange = firestoreV1ApiClientInterfaces.TargetChange;
|
|
487
|
-
export declare type TransactionOptions =
|
|
488
|
-
firestoreV1ApiClientInterfaces.TransactionOptions;
|
|
489
|
-
export declare type UnaryFilter = firestoreV1ApiClientInterfaces.UnaryFilter;
|
|
490
|
-
export declare type Value = firestoreV1ApiClientInterfaces.Value;
|
|
491
|
-
export declare type Write = firestoreV1ApiClientInterfaces.Write;
|
|
492
|
-
export declare type WriteRequest = firestoreV1ApiClientInterfaces.WriteRequest;
|
|
493
|
-
export declare type WriteResponse =
|
|
494
|
-
firestoreV1ApiClientInterfaces.WriteResponse;
|
|
495
|
-
export declare type WriteResult = firestoreV1ApiClientInterfaces.WriteResult;
|
|
496
|
-
export declare type ProjectsDatabasesDocumentsApiClient$Xgafv = '1' | '2';
|
|
497
|
-
export interface IProjectsDatabasesDocumentsApiClient$XgafvEnum {
|
|
498
|
-
1: ProjectsDatabasesDocumentsApiClient$Xgafv;
|
|
499
|
-
2: ProjectsDatabasesDocumentsApiClient$Xgafv;
|
|
500
|
-
values(): ProjectsDatabasesDocumentsApiClient$Xgafv[];
|
|
501
|
-
}
|
|
502
|
-
export declare const ProjectsDatabasesDocumentsApiClient$XgafvEnum: IProjectsDatabasesDocumentsApiClient$XgafvEnum;
|
|
503
|
-
export declare type ProjectsDatabasesDocumentsApiClientAlt =
|
|
504
|
-
| 'json'
|
|
505
|
-
| 'media'
|
|
506
|
-
| 'proto';
|
|
507
|
-
export interface IProjectsDatabasesDocumentsApiClientAltEnum {
|
|
508
|
-
JSON: ProjectsDatabasesDocumentsApiClientAlt;
|
|
509
|
-
MEDIA: ProjectsDatabasesDocumentsApiClientAlt;
|
|
510
|
-
PROTO: ProjectsDatabasesDocumentsApiClientAlt;
|
|
511
|
-
values(): ProjectsDatabasesDocumentsApiClientAlt[];
|
|
512
|
-
}
|
|
513
|
-
export declare const ProjectsDatabasesDocumentsApiClientAltEnum: IProjectsDatabasesDocumentsApiClientAltEnum;
|
|
514
|
-
export interface ProjectsDatabasesDocumentsBatchGetNamedParameters {
|
|
515
|
-
access_token?: string;
|
|
516
|
-
alt?: ProjectsDatabasesDocumentsApiClientAlt;
|
|
517
|
-
bearer_token?: string;
|
|
518
|
-
callback?: string;
|
|
519
|
-
fields?: string;
|
|
520
|
-
key?: string;
|
|
521
|
-
oauth_token?: string;
|
|
522
|
-
pp?: boolean;
|
|
523
|
-
prettyPrint?: boolean;
|
|
524
|
-
quotaUser?: string;
|
|
525
|
-
upload_protocol?: string;
|
|
526
|
-
uploadType?: string;
|
|
527
|
-
$Xgafv?: ProjectsDatabasesDocumentsApiClient$Xgafv;
|
|
528
|
-
}
|
|
529
|
-
export interface ProjectsDatabasesDocumentsBeginTransactionNamedParameters {
|
|
530
|
-
access_token?: string;
|
|
531
|
-
alt?: ProjectsDatabasesDocumentsApiClientAlt;
|
|
532
|
-
bearer_token?: string;
|
|
533
|
-
callback?: string;
|
|
534
|
-
fields?: string;
|
|
535
|
-
key?: string;
|
|
536
|
-
oauth_token?: string;
|
|
537
|
-
pp?: boolean;
|
|
538
|
-
prettyPrint?: boolean;
|
|
539
|
-
quotaUser?: string;
|
|
540
|
-
upload_protocol?: string;
|
|
541
|
-
uploadType?: string;
|
|
542
|
-
$Xgafv?: ProjectsDatabasesDocumentsApiClient$Xgafv;
|
|
543
|
-
}
|
|
544
|
-
export interface ProjectsDatabasesDocumentsCommitNamedParameters {
|
|
545
|
-
access_token?: string;
|
|
546
|
-
alt?: ProjectsDatabasesDocumentsApiClientAlt;
|
|
547
|
-
bearer_token?: string;
|
|
548
|
-
callback?: string;
|
|
549
|
-
fields?: string;
|
|
550
|
-
key?: string;
|
|
551
|
-
oauth_token?: string;
|
|
552
|
-
pp?: boolean;
|
|
553
|
-
prettyPrint?: boolean;
|
|
554
|
-
quotaUser?: string;
|
|
555
|
-
upload_protocol?: string;
|
|
556
|
-
uploadType?: string;
|
|
557
|
-
$Xgafv?: ProjectsDatabasesDocumentsApiClient$Xgafv;
|
|
558
|
-
}
|
|
559
|
-
export interface ProjectsDatabasesDocumentsCreateDocumentNamedParameters {
|
|
560
|
-
access_token?: string;
|
|
561
|
-
alt?: ProjectsDatabasesDocumentsApiClientAlt;
|
|
562
|
-
bearer_token?: string;
|
|
563
|
-
callback?: string;
|
|
564
|
-
fields?: string;
|
|
565
|
-
key?: string;
|
|
566
|
-
oauth_token?: string;
|
|
567
|
-
pp?: boolean;
|
|
568
|
-
prettyPrint?: boolean;
|
|
569
|
-
quotaUser?: string;
|
|
570
|
-
upload_protocol?: string;
|
|
571
|
-
uploadType?: string;
|
|
572
|
-
$Xgafv?: ProjectsDatabasesDocumentsApiClient$Xgafv;
|
|
573
|
-
documentId?: string;
|
|
574
|
-
maskFieldPaths?: string[];
|
|
575
|
-
}
|
|
576
|
-
export interface ProjectsDatabasesDocumentsDeleteNamedParameters {
|
|
577
|
-
access_token?: string;
|
|
578
|
-
alt?: ProjectsDatabasesDocumentsApiClientAlt;
|
|
579
|
-
bearer_token?: string;
|
|
580
|
-
callback?: string;
|
|
581
|
-
fields?: string;
|
|
582
|
-
key?: string;
|
|
583
|
-
oauth_token?: string;
|
|
584
|
-
pp?: boolean;
|
|
585
|
-
prettyPrint?: boolean;
|
|
586
|
-
quotaUser?: string;
|
|
587
|
-
upload_protocol?: string;
|
|
588
|
-
uploadType?: string;
|
|
589
|
-
$Xgafv?: ProjectsDatabasesDocumentsApiClient$Xgafv;
|
|
590
|
-
currentDocumentExists?: boolean;
|
|
591
|
-
currentDocumentUpdateTime?: string;
|
|
592
|
-
}
|
|
593
|
-
export interface ProjectsDatabasesDocumentsGetNamedParameters {
|
|
594
|
-
access_token?: string;
|
|
595
|
-
alt?: ProjectsDatabasesDocumentsApiClientAlt;
|
|
596
|
-
bearer_token?: string;
|
|
597
|
-
callback?: string;
|
|
598
|
-
fields?: string;
|
|
599
|
-
key?: string;
|
|
600
|
-
oauth_token?: string;
|
|
601
|
-
pp?: boolean;
|
|
602
|
-
prettyPrint?: boolean;
|
|
603
|
-
quotaUser?: string;
|
|
604
|
-
upload_protocol?: string;
|
|
605
|
-
uploadType?: string;
|
|
606
|
-
$Xgafv?: ProjectsDatabasesDocumentsApiClient$Xgafv;
|
|
607
|
-
maskFieldPaths?: string[];
|
|
608
|
-
transaction?: string;
|
|
609
|
-
readTime?: string;
|
|
610
|
-
}
|
|
611
|
-
export interface ProjectsDatabasesDocumentsListCollectionIdsNamedParameters {
|
|
612
|
-
access_token?: string;
|
|
613
|
-
alt?: ProjectsDatabasesDocumentsApiClientAlt;
|
|
614
|
-
bearer_token?: string;
|
|
615
|
-
callback?: string;
|
|
616
|
-
fields?: string;
|
|
617
|
-
key?: string;
|
|
618
|
-
oauth_token?: string;
|
|
619
|
-
pp?: boolean;
|
|
620
|
-
prettyPrint?: boolean;
|
|
621
|
-
quotaUser?: string;
|
|
622
|
-
upload_protocol?: string;
|
|
623
|
-
uploadType?: string;
|
|
624
|
-
$Xgafv?: ProjectsDatabasesDocumentsApiClient$Xgafv;
|
|
625
|
-
}
|
|
626
|
-
export interface ProjectsDatabasesDocumentsListNamedParameters {
|
|
627
|
-
access_token?: string;
|
|
628
|
-
alt?: ProjectsDatabasesDocumentsApiClientAlt;
|
|
629
|
-
bearer_token?: string;
|
|
630
|
-
callback?: string;
|
|
631
|
-
fields?: string;
|
|
632
|
-
key?: string;
|
|
633
|
-
oauth_token?: string;
|
|
634
|
-
pp?: boolean;
|
|
635
|
-
prettyPrint?: boolean;
|
|
636
|
-
quotaUser?: string;
|
|
637
|
-
upload_protocol?: string;
|
|
638
|
-
uploadType?: string;
|
|
639
|
-
$Xgafv?: ProjectsDatabasesDocumentsApiClient$Xgafv;
|
|
640
|
-
pageSize?: number;
|
|
641
|
-
pageToken?: string;
|
|
642
|
-
orderBy?: string;
|
|
643
|
-
maskFieldPaths?: string[];
|
|
644
|
-
transaction?: string;
|
|
645
|
-
readTime?: string;
|
|
646
|
-
showMissing?: boolean;
|
|
647
|
-
}
|
|
648
|
-
export interface ProjectsDatabasesDocumentsListenNamedParameters {
|
|
649
|
-
access_token?: string;
|
|
650
|
-
alt?: ProjectsDatabasesDocumentsApiClientAlt;
|
|
651
|
-
bearer_token?: string;
|
|
652
|
-
callback?: string;
|
|
653
|
-
fields?: string;
|
|
654
|
-
key?: string;
|
|
655
|
-
oauth_token?: string;
|
|
656
|
-
pp?: boolean;
|
|
657
|
-
prettyPrint?: boolean;
|
|
658
|
-
quotaUser?: string;
|
|
659
|
-
upload_protocol?: string;
|
|
660
|
-
uploadType?: string;
|
|
661
|
-
$Xgafv?: ProjectsDatabasesDocumentsApiClient$Xgafv;
|
|
662
|
-
}
|
|
663
|
-
export interface ProjectsDatabasesDocumentsPatchNamedParameters {
|
|
664
|
-
access_token?: string;
|
|
665
|
-
alt?: ProjectsDatabasesDocumentsApiClientAlt;
|
|
666
|
-
bearer_token?: string;
|
|
667
|
-
callback?: string;
|
|
668
|
-
fields?: string;
|
|
669
|
-
key?: string;
|
|
670
|
-
oauth_token?: string;
|
|
671
|
-
pp?: boolean;
|
|
672
|
-
prettyPrint?: boolean;
|
|
673
|
-
quotaUser?: string;
|
|
674
|
-
upload_protocol?: string;
|
|
675
|
-
uploadType?: string;
|
|
676
|
-
$Xgafv?: ProjectsDatabasesDocumentsApiClient$Xgafv;
|
|
677
|
-
updateMaskFieldPaths?: string[];
|
|
678
|
-
maskFieldPaths?: string[];
|
|
679
|
-
currentDocumentExists?: boolean;
|
|
680
|
-
currentDocumentUpdateTime?: string;
|
|
681
|
-
}
|
|
682
|
-
export interface ProjectsDatabasesDocumentsRollbackNamedParameters {
|
|
683
|
-
access_token?: string;
|
|
684
|
-
alt?: ProjectsDatabasesDocumentsApiClientAlt;
|
|
685
|
-
bearer_token?: string;
|
|
686
|
-
callback?: string;
|
|
687
|
-
fields?: string;
|
|
688
|
-
key?: string;
|
|
689
|
-
oauth_token?: string;
|
|
690
|
-
pp?: boolean;
|
|
691
|
-
prettyPrint?: boolean;
|
|
692
|
-
quotaUser?: string;
|
|
693
|
-
upload_protocol?: string;
|
|
694
|
-
uploadType?: string;
|
|
695
|
-
$Xgafv?: ProjectsDatabasesDocumentsApiClient$Xgafv;
|
|
696
|
-
}
|
|
697
|
-
export interface ProjectsDatabasesDocumentsRunQueryNamedParameters {
|
|
698
|
-
access_token?: string;
|
|
699
|
-
alt?: ProjectsDatabasesDocumentsApiClientAlt;
|
|
700
|
-
bearer_token?: string;
|
|
701
|
-
callback?: string;
|
|
702
|
-
fields?: string;
|
|
703
|
-
key?: string;
|
|
704
|
-
oauth_token?: string;
|
|
705
|
-
pp?: boolean;
|
|
706
|
-
prettyPrint?: boolean;
|
|
707
|
-
quotaUser?: string;
|
|
708
|
-
upload_protocol?: string;
|
|
709
|
-
uploadType?: string;
|
|
710
|
-
$Xgafv?: ProjectsDatabasesDocumentsApiClient$Xgafv;
|
|
711
|
-
}
|
|
712
|
-
export interface ProjectsDatabasesDocumentsWriteNamedParameters {
|
|
713
|
-
access_token?: string;
|
|
714
|
-
alt?: ProjectsDatabasesDocumentsApiClientAlt;
|
|
715
|
-
bearer_token?: string;
|
|
716
|
-
callback?: string;
|
|
717
|
-
fields?: string;
|
|
718
|
-
key?: string;
|
|
719
|
-
oauth_token?: string;
|
|
720
|
-
pp?: boolean;
|
|
721
|
-
prettyPrint?: boolean;
|
|
722
|
-
quotaUser?: string;
|
|
723
|
-
upload_protocol?: string;
|
|
724
|
-
uploadType?: string;
|
|
725
|
-
$Xgafv?: ProjectsDatabasesDocumentsApiClient$Xgafv;
|
|
726
|
-
}
|
|
727
|
-
export abstract class ProjectsDatabasesDocumentsApiClient {
|
|
728
|
-
private constructor() {}
|
|
729
|
-
abstract batchGet(
|
|
730
|
-
database: string,
|
|
731
|
-
$requestBody: BatchGetDocumentsRequest,
|
|
732
|
-
__namedParams__?: ProjectsDatabasesDocumentsBatchGetNamedParameters & object
|
|
733
|
-
): Promise<BatchGetDocumentsResponse>;
|
|
734
|
-
abstract beginTransaction(
|
|
735
|
-
database: string,
|
|
736
|
-
$requestBody: BeginTransactionRequest,
|
|
737
|
-
__namedParams__?: ProjectsDatabasesDocumentsBeginTransactionNamedParameters &
|
|
738
|
-
object
|
|
739
|
-
): Promise<BeginTransactionResponse>;
|
|
740
|
-
abstract commit(
|
|
741
|
-
database: string,
|
|
742
|
-
$requestBody: CommitRequest,
|
|
743
|
-
__namedParams__?: ProjectsDatabasesDocumentsCommitNamedParameters & object
|
|
744
|
-
): Promise<CommitResponse>;
|
|
745
|
-
abstract createDocument(
|
|
746
|
-
parent: string,
|
|
747
|
-
collectionId: string,
|
|
748
|
-
$requestBody: Document,
|
|
749
|
-
__namedParams__?: ProjectsDatabasesDocumentsCreateDocumentNamedParameters &
|
|
750
|
-
object
|
|
751
|
-
): Promise<Document>;
|
|
752
|
-
abstract delete(
|
|
753
|
-
name: string,
|
|
754
|
-
__namedParams__?: ProjectsDatabasesDocumentsDeleteNamedParameters & object
|
|
755
|
-
): Promise<Empty>;
|
|
756
|
-
abstract get(
|
|
757
|
-
name: string,
|
|
758
|
-
__namedParams__?: ProjectsDatabasesDocumentsGetNamedParameters & object
|
|
759
|
-
): Promise<Document>;
|
|
760
|
-
abstract list(
|
|
761
|
-
parent: string,
|
|
762
|
-
collectionId: string,
|
|
763
|
-
__namedParams__?: ProjectsDatabasesDocumentsListNamedParameters & object
|
|
764
|
-
): Promise<ListDocumentsResponse>;
|
|
765
|
-
abstract listCollectionIds(
|
|
766
|
-
parent: string,
|
|
767
|
-
$requestBody: ListCollectionIdsRequest,
|
|
768
|
-
__namedParams__?: ProjectsDatabasesDocumentsListCollectionIdsNamedParameters &
|
|
769
|
-
object
|
|
770
|
-
): Promise<ListCollectionIdsResponse>;
|
|
771
|
-
abstract listen(
|
|
772
|
-
database: string,
|
|
773
|
-
$requestBody: ListenRequest,
|
|
774
|
-
__namedParams__?: ProjectsDatabasesDocumentsListenNamedParameters & object
|
|
775
|
-
): Promise<ListenResponse>;
|
|
776
|
-
abstract patch(
|
|
777
|
-
name: string,
|
|
778
|
-
$requestBody: Document,
|
|
779
|
-
__namedParams__?: ProjectsDatabasesDocumentsPatchNamedParameters & object
|
|
780
|
-
): Promise<Document>;
|
|
781
|
-
abstract rollback(
|
|
782
|
-
database: string,
|
|
783
|
-
$requestBody: RollbackRequest,
|
|
784
|
-
__namedParams__?: ProjectsDatabasesDocumentsRollbackNamedParameters & object
|
|
785
|
-
): Promise<Empty>;
|
|
786
|
-
abstract runQuery(
|
|
787
|
-
parent: string,
|
|
788
|
-
$requestBody: RunQueryRequest,
|
|
789
|
-
__namedParams__?: ProjectsDatabasesDocumentsRunQueryNamedParameters & object
|
|
790
|
-
): Promise<RunQueryResponse>;
|
|
791
|
-
abstract write(
|
|
792
|
-
database: string,
|
|
793
|
-
$requestBody: WriteRequest,
|
|
794
|
-
__namedParams__?: ProjectsDatabasesDocumentsWriteNamedParameters & object
|
|
795
|
-
): Promise<WriteResponse>;
|
|
796
|
-
}
|
|
797
|
-
export declare class ProjectsDatabasesDocumentsApiClientImpl
|
|
798
|
-
implements ProjectsDatabasesDocumentsApiClient
|
|
799
|
-
{
|
|
800
|
-
private gapiVersion;
|
|
801
|
-
private $apiClient;
|
|
802
|
-
constructor(
|
|
803
|
-
gapiVersion: string,
|
|
804
|
-
gapiRequestService: PromiseRequestService,
|
|
805
|
-
apiClientHookFactory?: ApiClientHookFactory | null
|
|
806
|
-
);
|
|
807
|
-
batchGet(
|
|
808
|
-
database: string,
|
|
809
|
-
$requestBody: BatchGetDocumentsRequest,
|
|
810
|
-
{
|
|
811
|
-
$Xgafv,
|
|
812
|
-
access_token,
|
|
813
|
-
alt,
|
|
814
|
-
bearer_token,
|
|
815
|
-
callback,
|
|
816
|
-
fields,
|
|
817
|
-
key,
|
|
818
|
-
oauth_token,
|
|
819
|
-
pp,
|
|
820
|
-
prettyPrint,
|
|
821
|
-
quotaUser,
|
|
822
|
-
uploadType,
|
|
823
|
-
upload_protocol
|
|
824
|
-
}?: ProjectsDatabasesDocumentsBatchGetNamedParameters & object
|
|
825
|
-
): Promise<BatchGetDocumentsResponse>;
|
|
826
|
-
beginTransaction(
|
|
827
|
-
database: string,
|
|
828
|
-
$requestBody: BeginTransactionRequest,
|
|
829
|
-
{
|
|
830
|
-
$Xgafv,
|
|
831
|
-
access_token,
|
|
832
|
-
alt,
|
|
833
|
-
bearer_token,
|
|
834
|
-
callback,
|
|
835
|
-
fields,
|
|
836
|
-
key,
|
|
837
|
-
oauth_token,
|
|
838
|
-
pp,
|
|
839
|
-
prettyPrint,
|
|
840
|
-
quotaUser,
|
|
841
|
-
uploadType,
|
|
842
|
-
upload_protocol
|
|
843
|
-
}?: ProjectsDatabasesDocumentsBeginTransactionNamedParameters & object
|
|
844
|
-
): Promise<BeginTransactionResponse>;
|
|
845
|
-
commit(
|
|
846
|
-
database: string,
|
|
847
|
-
$requestBody: CommitRequest,
|
|
848
|
-
{
|
|
849
|
-
$Xgafv,
|
|
850
|
-
access_token,
|
|
851
|
-
alt,
|
|
852
|
-
bearer_token,
|
|
853
|
-
callback,
|
|
854
|
-
fields,
|
|
855
|
-
key,
|
|
856
|
-
oauth_token,
|
|
857
|
-
pp,
|
|
858
|
-
prettyPrint,
|
|
859
|
-
quotaUser,
|
|
860
|
-
uploadType,
|
|
861
|
-
upload_protocol
|
|
862
|
-
}?: ProjectsDatabasesDocumentsCommitNamedParameters & object
|
|
863
|
-
): Promise<CommitResponse>;
|
|
864
|
-
createDocument(
|
|
865
|
-
parent: string,
|
|
866
|
-
collectionId: string,
|
|
867
|
-
$requestBody: Document,
|
|
868
|
-
{
|
|
869
|
-
$Xgafv,
|
|
870
|
-
access_token,
|
|
871
|
-
alt,
|
|
872
|
-
bearer_token,
|
|
873
|
-
callback,
|
|
874
|
-
documentId,
|
|
875
|
-
fields,
|
|
876
|
-
key,
|
|
877
|
-
maskFieldPaths,
|
|
878
|
-
oauth_token,
|
|
879
|
-
pp,
|
|
880
|
-
prettyPrint,
|
|
881
|
-
quotaUser,
|
|
882
|
-
uploadType,
|
|
883
|
-
upload_protocol
|
|
884
|
-
}?: ProjectsDatabasesDocumentsCreateDocumentNamedParameters & object
|
|
885
|
-
): Promise<Document>;
|
|
886
|
-
delete(
|
|
887
|
-
name: string,
|
|
888
|
-
{
|
|
889
|
-
$Xgafv,
|
|
890
|
-
access_token,
|
|
891
|
-
alt,
|
|
892
|
-
bearer_token,
|
|
893
|
-
callback,
|
|
894
|
-
currentDocumentExists,
|
|
895
|
-
currentDocumentUpdateTime,
|
|
896
|
-
fields,
|
|
897
|
-
key,
|
|
898
|
-
oauth_token,
|
|
899
|
-
pp,
|
|
900
|
-
prettyPrint,
|
|
901
|
-
quotaUser,
|
|
902
|
-
uploadType,
|
|
903
|
-
upload_protocol
|
|
904
|
-
}?: ProjectsDatabasesDocumentsDeleteNamedParameters & object
|
|
905
|
-
): Promise<Empty>;
|
|
906
|
-
get(
|
|
907
|
-
name: string,
|
|
908
|
-
{
|
|
909
|
-
$Xgafv,
|
|
910
|
-
access_token,
|
|
911
|
-
alt,
|
|
912
|
-
bearer_token,
|
|
913
|
-
callback,
|
|
914
|
-
fields,
|
|
915
|
-
key,
|
|
916
|
-
maskFieldPaths,
|
|
917
|
-
oauth_token,
|
|
918
|
-
pp,
|
|
919
|
-
prettyPrint,
|
|
920
|
-
quotaUser,
|
|
921
|
-
readTime,
|
|
922
|
-
transaction,
|
|
923
|
-
uploadType,
|
|
924
|
-
upload_protocol
|
|
925
|
-
}?: ProjectsDatabasesDocumentsGetNamedParameters & object
|
|
926
|
-
): Promise<Document>;
|
|
927
|
-
list(
|
|
928
|
-
parent: string,
|
|
929
|
-
collectionId: string,
|
|
930
|
-
{
|
|
931
|
-
$Xgafv,
|
|
932
|
-
access_token,
|
|
933
|
-
alt,
|
|
934
|
-
bearer_token,
|
|
935
|
-
callback,
|
|
936
|
-
fields,
|
|
937
|
-
key,
|
|
938
|
-
maskFieldPaths,
|
|
939
|
-
oauth_token,
|
|
940
|
-
orderBy,
|
|
941
|
-
pageSize,
|
|
942
|
-
pageToken,
|
|
943
|
-
pp,
|
|
944
|
-
prettyPrint,
|
|
945
|
-
quotaUser,
|
|
946
|
-
readTime,
|
|
947
|
-
showMissing,
|
|
948
|
-
transaction,
|
|
949
|
-
uploadType,
|
|
950
|
-
upload_protocol
|
|
951
|
-
}?: ProjectsDatabasesDocumentsListNamedParameters & object
|
|
952
|
-
): Promise<ListDocumentsResponse>;
|
|
953
|
-
listCollectionIds(
|
|
954
|
-
parent: string,
|
|
955
|
-
$requestBody: ListCollectionIdsRequest,
|
|
956
|
-
{
|
|
957
|
-
$Xgafv,
|
|
958
|
-
access_token,
|
|
959
|
-
alt,
|
|
960
|
-
bearer_token,
|
|
961
|
-
callback,
|
|
962
|
-
fields,
|
|
963
|
-
key,
|
|
964
|
-
oauth_token,
|
|
965
|
-
pp,
|
|
966
|
-
prettyPrint,
|
|
967
|
-
quotaUser,
|
|
968
|
-
uploadType,
|
|
969
|
-
upload_protocol
|
|
970
|
-
}?: ProjectsDatabasesDocumentsListCollectionIdsNamedParameters & object
|
|
971
|
-
): Promise<ListCollectionIdsResponse>;
|
|
972
|
-
listen(
|
|
973
|
-
database: string,
|
|
974
|
-
$requestBody: ListenRequest,
|
|
975
|
-
{
|
|
976
|
-
$Xgafv,
|
|
977
|
-
access_token,
|
|
978
|
-
alt,
|
|
979
|
-
bearer_token,
|
|
980
|
-
callback,
|
|
981
|
-
fields,
|
|
982
|
-
key,
|
|
983
|
-
oauth_token,
|
|
984
|
-
pp,
|
|
985
|
-
prettyPrint,
|
|
986
|
-
quotaUser,
|
|
987
|
-
uploadType,
|
|
988
|
-
upload_protocol
|
|
989
|
-
}?: ProjectsDatabasesDocumentsListenNamedParameters & object
|
|
990
|
-
): Promise<ListenResponse>;
|
|
991
|
-
patch(
|
|
992
|
-
name: string,
|
|
993
|
-
$requestBody: Document,
|
|
994
|
-
{
|
|
995
|
-
$Xgafv,
|
|
996
|
-
access_token,
|
|
997
|
-
alt,
|
|
998
|
-
bearer_token,
|
|
999
|
-
callback,
|
|
1000
|
-
currentDocumentExists,
|
|
1001
|
-
currentDocumentUpdateTime,
|
|
1002
|
-
fields,
|
|
1003
|
-
key,
|
|
1004
|
-
maskFieldPaths,
|
|
1005
|
-
oauth_token,
|
|
1006
|
-
pp,
|
|
1007
|
-
prettyPrint,
|
|
1008
|
-
quotaUser,
|
|
1009
|
-
updateMaskFieldPaths,
|
|
1010
|
-
uploadType,
|
|
1011
|
-
upload_protocol
|
|
1012
|
-
}?: ProjectsDatabasesDocumentsPatchNamedParameters & object
|
|
1013
|
-
): Promise<Document>;
|
|
1014
|
-
rollback(
|
|
1015
|
-
database: string,
|
|
1016
|
-
$requestBody: RollbackRequest,
|
|
1017
|
-
{
|
|
1018
|
-
$Xgafv,
|
|
1019
|
-
access_token,
|
|
1020
|
-
alt,
|
|
1021
|
-
bearer_token,
|
|
1022
|
-
callback,
|
|
1023
|
-
fields,
|
|
1024
|
-
key,
|
|
1025
|
-
oauth_token,
|
|
1026
|
-
pp,
|
|
1027
|
-
prettyPrint,
|
|
1028
|
-
quotaUser,
|
|
1029
|
-
uploadType,
|
|
1030
|
-
upload_protocol
|
|
1031
|
-
}?: ProjectsDatabasesDocumentsRollbackNamedParameters & object
|
|
1032
|
-
): Promise<Empty>;
|
|
1033
|
-
runQuery(
|
|
1034
|
-
parent: string,
|
|
1035
|
-
$requestBody: RunQueryRequest,
|
|
1036
|
-
{
|
|
1037
|
-
$Xgafv,
|
|
1038
|
-
access_token,
|
|
1039
|
-
alt,
|
|
1040
|
-
bearer_token,
|
|
1041
|
-
callback,
|
|
1042
|
-
fields,
|
|
1043
|
-
key,
|
|
1044
|
-
oauth_token,
|
|
1045
|
-
pp,
|
|
1046
|
-
prettyPrint,
|
|
1047
|
-
quotaUser,
|
|
1048
|
-
uploadType,
|
|
1049
|
-
upload_protocol
|
|
1050
|
-
}?: ProjectsDatabasesDocumentsRunQueryNamedParameters & object
|
|
1051
|
-
): Promise<RunQueryResponse>;
|
|
1052
|
-
write(
|
|
1053
|
-
database: string,
|
|
1054
|
-
$requestBody: WriteRequest,
|
|
1055
|
-
{
|
|
1056
|
-
$Xgafv,
|
|
1057
|
-
access_token,
|
|
1058
|
-
alt,
|
|
1059
|
-
bearer_token,
|
|
1060
|
-
callback,
|
|
1061
|
-
fields,
|
|
1062
|
-
key,
|
|
1063
|
-
oauth_token,
|
|
1064
|
-
pp,
|
|
1065
|
-
prettyPrint,
|
|
1066
|
-
quotaUser,
|
|
1067
|
-
uploadType,
|
|
1068
|
-
upload_protocol
|
|
1069
|
-
}?: ProjectsDatabasesDocumentsWriteNamedParameters & object
|
|
1070
|
-
): Promise<WriteResponse>;
|
|
1071
|
-
}
|
|
1072
|
-
export declare type ProjectsDatabasesIndexesApiClient$Xgafv = '1' | '2';
|
|
1073
|
-
export interface IProjectsDatabasesIndexesApiClient$XgafvEnum {
|
|
1074
|
-
1: ProjectsDatabasesIndexesApiClient$Xgafv;
|
|
1075
|
-
2: ProjectsDatabasesIndexesApiClient$Xgafv;
|
|
1076
|
-
values(): ProjectsDatabasesIndexesApiClient$Xgafv[];
|
|
1077
|
-
}
|
|
1078
|
-
export declare const ProjectsDatabasesIndexesApiClient$XgafvEnum: IProjectsDatabasesIndexesApiClient$XgafvEnum;
|
|
1079
|
-
export declare type ProjectsDatabasesIndexesApiClientAlt =
|
|
1080
|
-
| 'json'
|
|
1081
|
-
| 'media'
|
|
1082
|
-
| 'proto';
|
|
1083
|
-
export interface IProjectsDatabasesIndexesApiClientAltEnum {
|
|
1084
|
-
JSON: ProjectsDatabasesIndexesApiClientAlt;
|
|
1085
|
-
MEDIA: ProjectsDatabasesIndexesApiClientAlt;
|
|
1086
|
-
PROTO: ProjectsDatabasesIndexesApiClientAlt;
|
|
1087
|
-
values(): ProjectsDatabasesIndexesApiClientAlt[];
|
|
1088
|
-
}
|
|
1089
|
-
export declare const ProjectsDatabasesIndexesApiClientAltEnum: IProjectsDatabasesIndexesApiClientAltEnum;
|
|
1090
|
-
export interface ProjectsDatabasesIndexesCreateNamedParameters {
|
|
1091
|
-
access_token?: string;
|
|
1092
|
-
alt?: ProjectsDatabasesIndexesApiClientAlt;
|
|
1093
|
-
bearer_token?: string;
|
|
1094
|
-
callback?: string;
|
|
1095
|
-
fields?: string;
|
|
1096
|
-
key?: string;
|
|
1097
|
-
oauth_token?: string;
|
|
1098
|
-
pp?: boolean;
|
|
1099
|
-
prettyPrint?: boolean;
|
|
1100
|
-
quotaUser?: string;
|
|
1101
|
-
upload_protocol?: string;
|
|
1102
|
-
uploadType?: string;
|
|
1103
|
-
$Xgafv?: ProjectsDatabasesIndexesApiClient$Xgafv;
|
|
1104
|
-
}
|
|
1105
|
-
export interface ProjectsDatabasesIndexesDeleteNamedParameters {
|
|
1106
|
-
access_token?: string;
|
|
1107
|
-
alt?: ProjectsDatabasesIndexesApiClientAlt;
|
|
1108
|
-
bearer_token?: string;
|
|
1109
|
-
callback?: string;
|
|
1110
|
-
fields?: string;
|
|
1111
|
-
key?: string;
|
|
1112
|
-
oauth_token?: string;
|
|
1113
|
-
pp?: boolean;
|
|
1114
|
-
prettyPrint?: boolean;
|
|
1115
|
-
quotaUser?: string;
|
|
1116
|
-
upload_protocol?: string;
|
|
1117
|
-
uploadType?: string;
|
|
1118
|
-
$Xgafv?: ProjectsDatabasesIndexesApiClient$Xgafv;
|
|
1119
|
-
}
|
|
1120
|
-
export interface ProjectsDatabasesIndexesGetNamedParameters {
|
|
1121
|
-
access_token?: string;
|
|
1122
|
-
alt?: ProjectsDatabasesIndexesApiClientAlt;
|
|
1123
|
-
bearer_token?: string;
|
|
1124
|
-
callback?: string;
|
|
1125
|
-
fields?: string;
|
|
1126
|
-
key?: string;
|
|
1127
|
-
oauth_token?: string;
|
|
1128
|
-
pp?: boolean;
|
|
1129
|
-
prettyPrint?: boolean;
|
|
1130
|
-
quotaUser?: string;
|
|
1131
|
-
upload_protocol?: string;
|
|
1132
|
-
uploadType?: string;
|
|
1133
|
-
$Xgafv?: ProjectsDatabasesIndexesApiClient$Xgafv;
|
|
1134
|
-
}
|
|
1135
|
-
export interface ProjectsDatabasesIndexesListNamedParameters {
|
|
1136
|
-
access_token?: string;
|
|
1137
|
-
alt?: ProjectsDatabasesIndexesApiClientAlt;
|
|
1138
|
-
bearer_token?: string;
|
|
1139
|
-
callback?: string;
|
|
1140
|
-
fields?: string;
|
|
1141
|
-
key?: string;
|
|
1142
|
-
oauth_token?: string;
|
|
1143
|
-
pp?: boolean;
|
|
1144
|
-
prettyPrint?: boolean;
|
|
1145
|
-
quotaUser?: string;
|
|
1146
|
-
upload_protocol?: string;
|
|
1147
|
-
uploadType?: string;
|
|
1148
|
-
$Xgafv?: ProjectsDatabasesIndexesApiClient$Xgafv;
|
|
1149
|
-
filter?: string;
|
|
1150
|
-
pageSize?: number;
|
|
1151
|
-
pageToken?: string;
|
|
1152
|
-
}
|
|
1153
|
-
export abstract class ProjectsDatabasesIndexesApiClient {
|
|
1154
|
-
private constructor() {}
|
|
1155
|
-
abstract create(
|
|
1156
|
-
parent: string,
|
|
1157
|
-
$requestBody: Index,
|
|
1158
|
-
__namedParams__?: ProjectsDatabasesIndexesCreateNamedParameters & object
|
|
1159
|
-
): Promise<Operation>;
|
|
1160
|
-
abstract delete(
|
|
1161
|
-
name: string,
|
|
1162
|
-
__namedParams__?: ProjectsDatabasesIndexesDeleteNamedParameters & object
|
|
1163
|
-
): Promise<Empty>;
|
|
1164
|
-
abstract get(
|
|
1165
|
-
name: string,
|
|
1166
|
-
__namedParams__?: ProjectsDatabasesIndexesGetNamedParameters & object
|
|
1167
|
-
): Promise<Index>;
|
|
1168
|
-
abstract list(
|
|
1169
|
-
parent: string,
|
|
1170
|
-
__namedParams__?: ProjectsDatabasesIndexesListNamedParameters & object
|
|
1171
|
-
): Promise<ListIndexesResponse>;
|
|
1172
|
-
}
|
|
1173
|
-
export declare class ProjectsDatabasesIndexesApiClientImpl
|
|
1174
|
-
implements ProjectsDatabasesIndexesApiClient
|
|
1175
|
-
{
|
|
1176
|
-
private gapiVersion;
|
|
1177
|
-
private $apiClient;
|
|
1178
|
-
constructor(
|
|
1179
|
-
gapiVersion: string,
|
|
1180
|
-
gapiRequestService: PromiseRequestService,
|
|
1181
|
-
apiClientHookFactory?: ApiClientHookFactory | null
|
|
1182
|
-
);
|
|
1183
|
-
create(
|
|
1184
|
-
parent: string,
|
|
1185
|
-
$requestBody: Index,
|
|
1186
|
-
{
|
|
1187
|
-
$Xgafv,
|
|
1188
|
-
access_token,
|
|
1189
|
-
alt,
|
|
1190
|
-
bearer_token,
|
|
1191
|
-
callback,
|
|
1192
|
-
fields,
|
|
1193
|
-
key,
|
|
1194
|
-
oauth_token,
|
|
1195
|
-
pp,
|
|
1196
|
-
prettyPrint,
|
|
1197
|
-
quotaUser,
|
|
1198
|
-
uploadType,
|
|
1199
|
-
upload_protocol
|
|
1200
|
-
}?: ProjectsDatabasesIndexesCreateNamedParameters & object
|
|
1201
|
-
): Promise<Operation>;
|
|
1202
|
-
delete(
|
|
1203
|
-
name: string,
|
|
1204
|
-
{
|
|
1205
|
-
$Xgafv,
|
|
1206
|
-
access_token,
|
|
1207
|
-
alt,
|
|
1208
|
-
bearer_token,
|
|
1209
|
-
callback,
|
|
1210
|
-
fields,
|
|
1211
|
-
key,
|
|
1212
|
-
oauth_token,
|
|
1213
|
-
pp,
|
|
1214
|
-
prettyPrint,
|
|
1215
|
-
quotaUser,
|
|
1216
|
-
uploadType,
|
|
1217
|
-
upload_protocol
|
|
1218
|
-
}?: ProjectsDatabasesIndexesDeleteNamedParameters & object
|
|
1219
|
-
): Promise<Empty>;
|
|
1220
|
-
get(
|
|
1221
|
-
name: string,
|
|
1222
|
-
{
|
|
1223
|
-
$Xgafv,
|
|
1224
|
-
access_token,
|
|
1225
|
-
alt,
|
|
1226
|
-
bearer_token,
|
|
1227
|
-
callback,
|
|
1228
|
-
fields,
|
|
1229
|
-
key,
|
|
1230
|
-
oauth_token,
|
|
1231
|
-
pp,
|
|
1232
|
-
prettyPrint,
|
|
1233
|
-
quotaUser,
|
|
1234
|
-
uploadType,
|
|
1235
|
-
upload_protocol
|
|
1236
|
-
}?: ProjectsDatabasesIndexesGetNamedParameters & object
|
|
1237
|
-
): Promise<Index>;
|
|
1238
|
-
list(
|
|
1239
|
-
parent: string,
|
|
1240
|
-
{
|
|
1241
|
-
$Xgafv,
|
|
1242
|
-
access_token,
|
|
1243
|
-
alt,
|
|
1244
|
-
bearer_token,
|
|
1245
|
-
callback,
|
|
1246
|
-
fields,
|
|
1247
|
-
filter,
|
|
1248
|
-
key,
|
|
1249
|
-
oauth_token,
|
|
1250
|
-
pageSize,
|
|
1251
|
-
pageToken,
|
|
1252
|
-
pp,
|
|
1253
|
-
prettyPrint,
|
|
1254
|
-
quotaUser,
|
|
1255
|
-
uploadType,
|
|
1256
|
-
upload_protocol
|
|
1257
|
-
}?: ProjectsDatabasesIndexesListNamedParameters & object
|
|
1258
|
-
): Promise<ListIndexesResponse>;
|
|
1259
|
-
}
|