@maxim_mazurok/gapi.client.firebaseappdistribution-v1 0.0.20230410

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/index.d.ts ADDED
@@ -0,0 +1,1675 @@
1
+ /* Type definitions for non-npm package Firebase App Distribution API v1 0.0 */
2
+ // Project: https://firebase.google.com/products/app-distribution
3
+ // Definitions by: Maxim Mazurok <https://github.com/Maxim-Mazurok>
4
+ // Nick Amoscato <https://github.com/namoscato>
5
+ // Declan Vong <https://github.com/declanvong>
6
+ // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
7
+
8
+ // IMPORTANT
9
+ // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
10
+ // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
11
+ // Generated from: https://firebaseappdistribution.googleapis.com/$discovery/rest?version=v1
12
+ // Revision: 20230410
13
+
14
+ /// <reference types="gapi.client" />
15
+
16
+ declare namespace gapi.client {
17
+ /** Load Firebase App Distribution API v1 */
18
+ function load(urlOrObject: "https://firebaseappdistribution.googleapis.com/$discovery/rest?version=v1"): Promise<void>;
19
+ /** @deprecated Please load APIs with discovery documents. */
20
+ function load(name: "firebaseappdistribution", version: "v1"): Promise<void>;
21
+ /** @deprecated Please load APIs with discovery documents. */
22
+ function load(name: "firebaseappdistribution", version: "v1", callback: () => any): void;
23
+
24
+ namespace firebaseappdistribution {
25
+ interface GdataBlobstore2Info {
26
+ /** The blob generation id. */
27
+ blobGeneration?: string;
28
+ /** The blob id, e.g., /blobstore/prod/playground/scotty */
29
+ blobId?: string;
30
+ /**
31
+ * Read handle passed from Bigstore -> Scotty for a GCS download. This is a signed, serialized blobstore2.ReadHandle proto which must never be set outside of Bigstore, and is not
32
+ * applicable to non-GCS media downloads.
33
+ */
34
+ downloadReadHandle?: string;
35
+ /** The blob read token. Needed to read blobs that have not been replicated. Might not be available until the final call. */
36
+ readToken?: string;
37
+ /**
38
+ * Metadata passed from Blobstore -> Scotty for a new GCS upload. This is a signed, serialized blobstore2.BlobMetadataContainer proto which must never be consumed outside of Bigstore,
39
+ * and is not applicable to non-GCS media uploads.
40
+ */
41
+ uploadMetadataContainer?: string;
42
+ }
43
+ interface GdataCompositeMedia {
44
+ /**
45
+ * Blobstore v1 reference, set if reference_type is BLOBSTORE_REF This should be the byte representation of a blobstore.BlobRef. Since Blobstore is deprecating v1, use blobstore2_info
46
+ * instead. For now, any v2 blob will also be represented in this field as v1 BlobRef.
47
+ */
48
+ blobRef?: string;
49
+ /** Blobstore v2 info, set if reference_type is BLOBSTORE_REF and it refers to a v2 blob. */
50
+ blobstore2Info?: GdataBlobstore2Info;
51
+ /**
52
+ * A binary data reference for a media download. Serves as a technology-agnostic binary reference in some Google infrastructure. This value is a serialized
53
+ * storage_cosmo.BinaryReference proto. Storing it as bytes is a hack to get around the fact that the cosmo proto (as well as others it includes) doesn't support JavaScript. This
54
+ * prevents us from including the actual type of this field.
55
+ */
56
+ cosmoBinaryReference?: string;
57
+ /** crc32.c hash for the payload. */
58
+ crc32cHash?: number;
59
+ /** Media data, set if reference_type is INLINE */
60
+ inline?: string;
61
+ /** Size of the data, in bytes */
62
+ length?: string;
63
+ /** MD5 hash for the payload. */
64
+ md5Hash?: string;
65
+ /** Reference to a TI Blob, set if reference_type is BIGSTORE_REF. */
66
+ objectId?: GdataObjectId;
67
+ /** Path to the data, set if reference_type is PATH */
68
+ path?: string;
69
+ /** Describes what the field reference contains. */
70
+ referenceType?: string;
71
+ /** SHA-1 hash for the payload. */
72
+ sha1Hash?: string;
73
+ }
74
+ interface GdataContentTypeInfo {
75
+ /** Scotty's best guess of what the content type of the file is. */
76
+ bestGuess?: string;
77
+ /** The content type of the file derived by looking at specific bytes (i.e. "magic bytes") of the actual file. */
78
+ fromBytes?: string;
79
+ /** The content type of the file derived from the file extension of the original file name used by the client. */
80
+ fromFileName?: string;
81
+ /** The content type of the file as specified in the request headers, multipart headers, or RUPIO start request. */
82
+ fromHeader?: string;
83
+ /**
84
+ * The content type of the file derived from the file extension of the URL path. The URL path is assumed to represent a file name (which is typically only true for agents that are
85
+ * providing a REST API).
86
+ */
87
+ fromUrlPath?: string;
88
+ }
89
+ interface GdataDiffChecksumsResponse {
90
+ /**
91
+ * Exactly one of these fields must be populated. If checksums_location is filled, the server will return the corresponding contents to the user. If object_location is filled, the
92
+ * server will calculate the checksums based on the content there and return that to the user. For details on the format of the checksums, see http://go/scotty-diff-protocol.
93
+ */
94
+ checksumsLocation?: GdataCompositeMedia;
95
+ /** The chunk size of checksums. Must be a multiple of 256KB. */
96
+ chunkSizeBytes?: string;
97
+ /** If set, calculate the checksums based on the contents and return them to the caller. */
98
+ objectLocation?: GdataCompositeMedia;
99
+ /** The total size of the server object. */
100
+ objectSizeBytes?: string;
101
+ /** The object version of the object the checksums are being returned for. */
102
+ objectVersion?: string;
103
+ }
104
+ interface GdataDiffDownloadResponse {
105
+ /** The original object location. */
106
+ objectLocation?: GdataCompositeMedia;
107
+ }
108
+ interface GdataDiffUploadRequest {
109
+ /**
110
+ * The location of the checksums for the new object. Agents must clone the object located here, as the upload server will delete the contents once a response is received. For details
111
+ * on the format of the checksums, see http://go/scotty-diff-protocol.
112
+ */
113
+ checksumsInfo?: GdataCompositeMedia;
114
+ /** The location of the new object. Agents must clone the object located here, as the upload server will delete the contents once a response is received. */
115
+ objectInfo?: GdataCompositeMedia;
116
+ /** The object version of the object that is the base version the incoming diff script will be applied to. This field will always be filled in. */
117
+ objectVersion?: string;
118
+ }
119
+ interface GdataDiffUploadResponse {
120
+ /**
121
+ * The object version of the object at the server. Must be included in the end notification response. The version in the end notification response must correspond to the new version of
122
+ * the object that is now stored at the server, after the upload.
123
+ */
124
+ objectVersion?: string;
125
+ /** The location of the original file for a diff upload request. Must be filled in if responding to an upload start notification. */
126
+ originalObject?: GdataCompositeMedia;
127
+ }
128
+ interface GdataDiffVersionResponse {
129
+ /** The total size of the server object. */
130
+ objectSizeBytes?: string;
131
+ /** The version of the object stored at the server. */
132
+ objectVersion?: string;
133
+ }
134
+ interface GdataDownloadParameters {
135
+ /**
136
+ * A boolean to be returned in the response to Scotty. Allows/disallows gzip encoding of the payload content when the server thinks it's advantageous (hence, does not guarantee
137
+ * compression) which allows Scotty to GZip the response to the client.
138
+ */
139
+ allowGzipCompression?: boolean;
140
+ /** Determining whether or not Apiary should skip the inclusion of any Content-Range header on its response to Scotty. */
141
+ ignoreRange?: boolean;
142
+ }
143
+ interface GdataMedia {
144
+ /**
145
+ * Deprecated, use one of explicit hash type fields instead. Algorithm used for calculating the hash. As of 2011/01/21, "MD5" is the only possible value for this field. New values may
146
+ * be added at any time.
147
+ */
148
+ algorithm?: string;
149
+ /** Use object_id instead. */
150
+ bigstoreObjectRef?: string;
151
+ /**
152
+ * Blobstore v1 reference, set if reference_type is BLOBSTORE_REF This should be the byte representation of a blobstore.BlobRef. Since Blobstore is deprecating v1, use blobstore2_info
153
+ * instead. For now, any v2 blob will also be represented in this field as v1 BlobRef.
154
+ */
155
+ blobRef?: string;
156
+ /** Blobstore v2 info, set if reference_type is BLOBSTORE_REF and it refers to a v2 blob. */
157
+ blobstore2Info?: GdataBlobstore2Info;
158
+ /**
159
+ * A composite media composed of one or more media objects, set if reference_type is COMPOSITE_MEDIA. The media length field must be set to the sum of the lengths of all composite
160
+ * media objects. Note: All composite media must have length specified.
161
+ */
162
+ compositeMedia?: GdataCompositeMedia[];
163
+ /** MIME type of the data */
164
+ contentType?: string;
165
+ /** Extended content type information provided for Scotty uploads. */
166
+ contentTypeInfo?: GdataContentTypeInfo;
167
+ /**
168
+ * A binary data reference for a media download. Serves as a technology-agnostic binary reference in some Google infrastructure. This value is a serialized
169
+ * storage_cosmo.BinaryReference proto. Storing it as bytes is a hack to get around the fact that the cosmo proto (as well as others it includes) doesn't support JavaScript. This
170
+ * prevents us from including the actual type of this field.
171
+ */
172
+ cosmoBinaryReference?: string;
173
+ /**
174
+ * For Scotty Uploads: Scotty-provided hashes for uploads For Scotty Downloads: (WARNING: DO NOT USE WITHOUT PERMISSION FROM THE SCOTTY TEAM.) A Hash provided by the agent to be used
175
+ * to verify the data being downloaded. Currently only supported for inline payloads. Further, only crc32c_hash is currently supported.
176
+ */
177
+ crc32cHash?: number;
178
+ /** Set if reference_type is DIFF_CHECKSUMS_RESPONSE. */
179
+ diffChecksumsResponse?: GdataDiffChecksumsResponse;
180
+ /** Set if reference_type is DIFF_DOWNLOAD_RESPONSE. */
181
+ diffDownloadResponse?: GdataDiffDownloadResponse;
182
+ /** Set if reference_type is DIFF_UPLOAD_REQUEST. */
183
+ diffUploadRequest?: GdataDiffUploadRequest;
184
+ /** Set if reference_type is DIFF_UPLOAD_RESPONSE. */
185
+ diffUploadResponse?: GdataDiffUploadResponse;
186
+ /** Set if reference_type is DIFF_VERSION_RESPONSE. */
187
+ diffVersionResponse?: GdataDiffVersionResponse;
188
+ /** Parameters for a media download. */
189
+ downloadParameters?: GdataDownloadParameters;
190
+ /** Original file name */
191
+ filename?: string;
192
+ /**
193
+ * Deprecated, use one of explicit hash type fields instead. These two hash related fields will only be populated on Scotty based media uploads and will contain the content of the hash
194
+ * group in the NotificationRequest: http://cs/#google3/uploader/service/proto/upload_listener.proto&q=class:Hash Hex encoded hash value of the uploaded media.
195
+ */
196
+ hash?: string;
197
+ /**
198
+ * For Scotty uploads only. If a user sends a hash code and the backend has requested that Scotty verify the upload against the client hash, Scotty will perform the check on behalf of
199
+ * the backend and will reject it if the hashes don't match. This is set to true if Scotty performed this verification.
200
+ */
201
+ hashVerified?: boolean;
202
+ /** Media data, set if reference_type is INLINE */
203
+ inline?: string;
204
+ /**
205
+ * |is_potential_retry| is set false only when Scotty is certain that it has not sent the request before. When a client resumes an upload, this field must be set true in agent calls,
206
+ * because Scotty cannot be certain that it has never sent the request before due to potential failure in the session state persistence.
207
+ */
208
+ isPotentialRetry?: boolean;
209
+ /** Size of the data, in bytes */
210
+ length?: string;
211
+ /** Scotty-provided MD5 hash for an upload. */
212
+ md5Hash?: string;
213
+ /** Media id to forward to the operation GetMedia. Can be set if reference_type is GET_MEDIA. */
214
+ mediaId?: string;
215
+ /** Reference to a TI Blob, set if reference_type is BIGSTORE_REF. */
216
+ objectId?: GdataObjectId;
217
+ /** Path to the data, set if reference_type is PATH */
218
+ path?: string;
219
+ /** Describes what the field reference contains. */
220
+ referenceType?: string;
221
+ /** Scotty-provided SHA1 hash for an upload. */
222
+ sha1Hash?: string;
223
+ /** Scotty-provided SHA256 hash for an upload. */
224
+ sha256Hash?: string;
225
+ /** Time at which the media data was last updated, in milliseconds since UNIX epoch */
226
+ timestamp?: string;
227
+ /** A unique fingerprint/version id for the media data */
228
+ token?: string;
229
+ }
230
+ interface GdataObjectId {
231
+ /** The name of the bucket to which this object belongs. */
232
+ bucketName?: string;
233
+ /**
234
+ * Generation of the object. Generations are monotonically increasing across writes, allowing them to be be compared to determine which generation is newer. If this is omitted in a
235
+ * request, then you are requesting the live object. See http://go/bigstore-versions
236
+ */
237
+ generation?: string;
238
+ /** The name of the object. */
239
+ objectName?: string;
240
+ }
241
+ interface GoogleFirebaseAppdistroV1AabInfo {
242
+ /** App bundle integration state. Only valid for android apps. */
243
+ integrationState?: string;
244
+ /** The name of the `AabInfo` resource. Format: `projects/{project_number}/apps/{app}/aabInfo` */
245
+ name?: string;
246
+ /** App bundle test certificate generated for the app. Set after the first app bundle is uploaded for this app. */
247
+ testCertificate?: GoogleFirebaseAppdistroV1TestCertificate;
248
+ }
249
+ interface GoogleFirebaseAppdistroV1BatchAddTestersRequest {
250
+ /** Required. The email addresses of the tester resources to create. A maximum of 999 and a minimum of 1 tester can be created in a batch. */
251
+ emails?: string[];
252
+ }
253
+ interface GoogleFirebaseAppdistroV1BatchAddTestersResponse {
254
+ /** The testers which are created and/or already exist */
255
+ testers?: GoogleFirebaseAppdistroV1Tester[];
256
+ }
257
+ interface GoogleFirebaseAppdistroV1BatchDeleteReleasesRequest {
258
+ /** Required. The names of the release resources to delete. Format: `projects/{project_number}/apps/{app_id}/releases/{release_id}` A maximum of 100 releases can be deleted per request. */
259
+ names?: string[];
260
+ }
261
+ interface GoogleFirebaseAppdistroV1BatchJoinGroupRequest {
262
+ /** Indicates whether to create tester resources based on `emails` if they don't exist yet. */
263
+ createMissingTesters?: boolean;
264
+ /** Required. The emails of the testers to be added to the group. A maximum of 999 and a minimum of 1 tester can be created in a batch. */
265
+ emails?: string[];
266
+ }
267
+ interface GoogleFirebaseAppdistroV1BatchLeaveGroupRequest {
268
+ /** Required. The email addresses of the testers to be removed from the group. A maximum of 999 and a minimum of 1 testers can be removed in a batch. */
269
+ emails?: string[];
270
+ }
271
+ interface GoogleFirebaseAppdistroV1BatchRemoveTestersRequest {
272
+ /** Required. The email addresses of the tester resources to removed. A maximum of 999 and a minimum of 1 testers can be deleted in a batch. */
273
+ emails?: string[];
274
+ }
275
+ interface GoogleFirebaseAppdistroV1BatchRemoveTestersResponse {
276
+ /** List of deleted tester emails */
277
+ emails?: string[];
278
+ }
279
+ interface GoogleFirebaseAppdistroV1DistributeReleaseRequest {
280
+ /** A list of group aliases (IDs) to be given access to this release. A combined maximum of 999 `testerEmails` and `groupAliases` can be specified in a single request. */
281
+ groupAliases?: string[];
282
+ /** A list of tester email addresses to be given access to this release. A combined maximum of 999 `testerEmails` and `groupAliases` can be specified in a single request. */
283
+ testerEmails?: string[];
284
+ }
285
+ // tslint:disable-next-line:no-empty-interface
286
+ interface GoogleFirebaseAppdistroV1DistributeReleaseResponse {
287
+ }
288
+ interface GoogleFirebaseAppdistroV1FeedbackReport {
289
+ /** Output only. The time when the feedback report was created. */
290
+ createTime?: string;
291
+ /** Output only. A link to the Firebase console displaying the feedback report. */
292
+ firebaseConsoleUri?: string;
293
+ /** The name of the feedback report resource. Format: `projects/{project_number}/apps/{app}/releases/{release}/feedbackReports/{feedback_report}` */
294
+ name?: string;
295
+ /** Output only. A signed link (which expires in one hour) that lets you directly download the screenshot. */
296
+ screenshotUri?: string;
297
+ /** Output only. The resource name of the tester who submitted the feedback report. */
298
+ tester?: string;
299
+ /** Output only. The text of the feedback report. */
300
+ text?: string;
301
+ }
302
+ interface GoogleFirebaseAppdistroV1Group {
303
+ /** Required. The display name of the group. */
304
+ displayName?: string;
305
+ /** Output only. The number of invite links for this group. */
306
+ inviteLinkCount?: number;
307
+ /** The name of the group resource. Format: `projects/{project_number}/groups/{group_alias}` */
308
+ name?: string;
309
+ /** Output only. The number of releases this group is permitted to access. */
310
+ releaseCount?: number;
311
+ /** Output only. The number of testers who are members of this group. */
312
+ testerCount?: number;
313
+ }
314
+ interface GoogleFirebaseAppdistroV1ListFeedbackReportsResponse {
315
+ /** The feedback reports */
316
+ feedbackReports?: GoogleFirebaseAppdistroV1FeedbackReport[];
317
+ /** A short-lived token, which can be sent as `pageToken` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
318
+ nextPageToken?: string;
319
+ }
320
+ interface GoogleFirebaseAppdistroV1ListGroupsResponse {
321
+ /** The groups listed. */
322
+ groups?: GoogleFirebaseAppdistroV1Group[];
323
+ /** A short-lived token, which can be sent as `pageToken` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
324
+ nextPageToken?: string;
325
+ }
326
+ interface GoogleFirebaseAppdistroV1ListReleasesResponse {
327
+ /** A short-lived token, which can be sent as `pageToken` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
328
+ nextPageToken?: string;
329
+ /** The releases */
330
+ releases?: GoogleFirebaseAppdistroV1Release[];
331
+ }
332
+ interface GoogleFirebaseAppdistroV1ListTestersResponse {
333
+ /** A short-lived token, which can be sent as `pageToken` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
334
+ nextPageToken?: string;
335
+ /** The testers listed. */
336
+ testers?: GoogleFirebaseAppdistroV1Tester[];
337
+ }
338
+ interface GoogleFirebaseAppdistroV1Release {
339
+ /** Output only. A signed link (which expires in one hour) to directly download the app binary (IPA/APK/AAB) file. */
340
+ binaryDownloadUri?: string;
341
+ /** Output only. Build version of the release. For an Android release, the build version is the `versionCode`. For an iOS release, the build version is the `CFBundleVersion`. */
342
+ buildVersion?: string;
343
+ /** Output only. The time the release was created. */
344
+ createTime?: string;
345
+ /**
346
+ * Output only. Display version of the release. For an Android release, the display version is the `versionName`. For an iOS release, the display version is the
347
+ * `CFBundleShortVersionString`.
348
+ */
349
+ displayVersion?: string;
350
+ /** Output only. A link to the Firebase console displaying a single release. */
351
+ firebaseConsoleUri?: string;
352
+ /** The name of the release resource. Format: `projects/{project_number}/apps/{app_id}/releases/{release_id}` */
353
+ name?: string;
354
+ /** Notes of the release. */
355
+ releaseNotes?: GoogleFirebaseAppdistroV1ReleaseNotes;
356
+ /**
357
+ * Output only. A link to the release in the tester web clip or Android app that lets testers (which were granted access to the app) view release notes and install the app onto their
358
+ * devices.
359
+ */
360
+ testingUri?: string;
361
+ }
362
+ interface GoogleFirebaseAppdistroV1ReleaseNotes {
363
+ /** The text of the release notes. */
364
+ text?: string;
365
+ }
366
+ interface GoogleFirebaseAppdistroV1TestCertificate {
367
+ /** Hex string of MD5 hash of the test certificate used to resign the AAB */
368
+ hashMd5?: string;
369
+ /** Hex string of SHA1 hash of the test certificate used to resign the AAB */
370
+ hashSha1?: string;
371
+ /** Hex string of SHA256 hash of the test certificate used to resign the AAB */
372
+ hashSha256?: string;
373
+ }
374
+ interface GoogleFirebaseAppdistroV1Tester {
375
+ /** The name of the tester associated with the Google account used to accept the tester invitation. */
376
+ displayName?: string;
377
+ /** The resource names of the groups this tester belongs to. */
378
+ groups?: string[];
379
+ /**
380
+ * Output only. The time the tester was last active. This is the most recent time the tester installed one of the apps. If they've never installed one or if the release no longer
381
+ * exists, this is the time the tester was added to the project.
382
+ */
383
+ lastActivityTime?: string;
384
+ /** The name of the tester resource. Format: `projects/{project_number}/testers/{email_address}` */
385
+ name?: string;
386
+ }
387
+ // tslint:disable-next-line:no-empty-interface
388
+ interface GoogleFirebaseAppdistroV1UploadReleaseMetadata {
389
+ }
390
+ interface GoogleFirebaseAppdistroV1UploadReleaseRequest {
391
+ /** Binary to upload */
392
+ blob?: GdataMedia;
393
+ }
394
+ interface GoogleFirebaseAppdistroV1UploadReleaseResponse {
395
+ /** Release associated with the uploaded binary. */
396
+ release?: GoogleFirebaseAppdistroV1Release;
397
+ /** Result of upload release. */
398
+ result?: string;
399
+ }
400
+ // tslint:disable-next-line:no-empty-interface
401
+ interface GoogleLongrunningCancelOperationRequest {
402
+ }
403
+ interface GoogleLongrunningListOperationsResponse {
404
+ /** The standard List next-page token. */
405
+ nextPageToken?: string;
406
+ /** A list of operations that matches the specified filter in the request. */
407
+ operations?: GoogleLongrunningOperation[];
408
+ }
409
+ interface GoogleLongrunningOperation {
410
+ /** If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available. */
411
+ done?: boolean;
412
+ /** The error result of the operation in case of failure or cancellation. */
413
+ error?: GoogleRpcStatus;
414
+ /**
415
+ * Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such
416
+ * metadata. Any method that returns a long-running operation should document the metadata type, if any.
417
+ */
418
+ metadata?: { [P in string]: any };
419
+ /**
420
+ * The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending
421
+ * with `operations/{unique_id}`.
422
+ */
423
+ name?: string;
424
+ /**
425
+ * The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the
426
+ * original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the
427
+ * original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
428
+ */
429
+ response?: { [P in string]: any };
430
+ }
431
+ interface GoogleLongrunningWaitOperationRequest {
432
+ /**
433
+ * The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also
434
+ * specified, the shorter one will be used.
435
+ */
436
+ timeout?: string;
437
+ }
438
+ // tslint:disable-next-line:no-empty-interface
439
+ interface GoogleProtobufEmpty {
440
+ }
441
+ interface GoogleRpcStatus {
442
+ /** The status code, which should be an enum value of google.rpc.Code. */
443
+ code?: number;
444
+ /** A list of messages that carry the error details. There is a common set of message types for APIs to use. */
445
+ details?: Array<{ [P in string]: any }>;
446
+ /**
447
+ * A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the
448
+ * client.
449
+ */
450
+ message?: string;
451
+ }
452
+ interface MediaResource {
453
+ /** Uploads a binary. Uploading a binary can result in a new release being created, an update to an existing release, or a no-op if a release with the same binary already exists. */
454
+ upload(request: {
455
+ /** V1 error format. */
456
+ "$.xgafv"?: string;
457
+ /** OAuth access token. */
458
+ access_token?: string;
459
+ /** Data format for response. */
460
+ alt?: string;
461
+ /** The name of the app resource. Format: `projects/{project_number}/apps/{app_id}` */
462
+ app: string;
463
+ /** JSONP */
464
+ callback?: string;
465
+ /** Selector specifying which fields to include in a partial response. */
466
+ fields?: string;
467
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
468
+ key?: string;
469
+ /** OAuth 2.0 token for the current user. */
470
+ oauth_token?: string;
471
+ /** Returns response with indentations and line breaks. */
472
+ prettyPrint?: boolean;
473
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
474
+ quotaUser?: string;
475
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
476
+ upload_protocol?: string;
477
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
478
+ uploadType?: string;
479
+ /** Request body */
480
+ resource: GoogleFirebaseAppdistroV1UploadReleaseRequest;
481
+ }): Request<GoogleLongrunningOperation>;
482
+ upload(request: {
483
+ /** V1 error format. */
484
+ "$.xgafv"?: string;
485
+ /** OAuth access token. */
486
+ access_token?: string;
487
+ /** Data format for response. */
488
+ alt?: string;
489
+ /** The name of the app resource. Format: `projects/{project_number}/apps/{app_id}` */
490
+ app: string;
491
+ /** JSONP */
492
+ callback?: string;
493
+ /** Selector specifying which fields to include in a partial response. */
494
+ fields?: string;
495
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
496
+ key?: string;
497
+ /** OAuth 2.0 token for the current user. */
498
+ oauth_token?: string;
499
+ /** Returns response with indentations and line breaks. */
500
+ prettyPrint?: boolean;
501
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
502
+ quotaUser?: string;
503
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
504
+ upload_protocol?: string;
505
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
506
+ uploadType?: string;
507
+ },
508
+ body: GoogleFirebaseAppdistroV1UploadReleaseRequest): Request<GoogleLongrunningOperation>;
509
+ }
510
+ interface FeedbackReportsResource {
511
+ /** Deletes a feedback report. */
512
+ delete(request?: {
513
+ /** V1 error format. */
514
+ "$.xgafv"?: string;
515
+ /** OAuth access token. */
516
+ access_token?: string;
517
+ /** Data format for response. */
518
+ alt?: string;
519
+ /** JSONP */
520
+ callback?: string;
521
+ /** Selector specifying which fields to include in a partial response. */
522
+ fields?: string;
523
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
524
+ key?: string;
525
+ /** Required. The name of the feedback report to delete. Format: projects/{project_number}/apps/{app}/releases/{release}/feedbackReports/{feedback_report} */
526
+ name: string;
527
+ /** OAuth 2.0 token for the current user. */
528
+ oauth_token?: string;
529
+ /** Returns response with indentations and line breaks. */
530
+ prettyPrint?: boolean;
531
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
532
+ quotaUser?: string;
533
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
534
+ upload_protocol?: string;
535
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
536
+ uploadType?: string;
537
+ }): Request<{}>;
538
+ /** Gets a feedback report. */
539
+ get(request?: {
540
+ /** V1 error format. */
541
+ "$.xgafv"?: string;
542
+ /** OAuth access token. */
543
+ access_token?: string;
544
+ /** Data format for response. */
545
+ alt?: string;
546
+ /** JSONP */
547
+ callback?: string;
548
+ /** Selector specifying which fields to include in a partial response. */
549
+ fields?: string;
550
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
551
+ key?: string;
552
+ /** Required. The name of the feedback report to retrieve. Format: projects/{project_number}/apps/{app}/releases/{release}/feedbackReports/{feedback_report} */
553
+ name: string;
554
+ /** OAuth 2.0 token for the current user. */
555
+ oauth_token?: string;
556
+ /** Returns response with indentations and line breaks. */
557
+ prettyPrint?: boolean;
558
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
559
+ quotaUser?: string;
560
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
561
+ upload_protocol?: string;
562
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
563
+ uploadType?: string;
564
+ }): Request<GoogleFirebaseAppdistroV1FeedbackReport>;
565
+ /** Lists feedback reports. By default, sorts by `createTime` in descending order. */
566
+ list(request?: {
567
+ /** V1 error format. */
568
+ "$.xgafv"?: string;
569
+ /** OAuth access token. */
570
+ access_token?: string;
571
+ /** Data format for response. */
572
+ alt?: string;
573
+ /** JSONP */
574
+ callback?: string;
575
+ /** Selector specifying which fields to include in a partial response. */
576
+ fields?: string;
577
+ /**
578
+ * The expression to filter feedback reports listed in the response. To learn more about filtering, refer to [Google's AIP-160 standard](http://aip.dev/160). Supported fields: -
579
+ * `tester` - `createTime` supports `<`, `<=`, `>` and `>=`, and expects an RFC-3339 formatted string Example: - `createTime <= "2023-03-10T00:00:00+04:00"` - `tester =
580
+ * "projects/-/testers/*@example.com"`
581
+ */
582
+ filter?: string;
583
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
584
+ key?: string;
585
+ /** OAuth 2.0 token for the current user. */
586
+ oauth_token?: string;
587
+ /**
588
+ * The fields used to order releases. Supported fields: - `createTime` - `tester` To specify descending order for a field, append a "desc" suffix, for example, `createTime desc`.
589
+ * If this parameter is not set, releases are ordered by `createTime` in descending order.
590
+ */
591
+ orderBy?: string;
592
+ /**
593
+ * The maximum number of feedback reports to return. The service may return fewer than this value. The valid range is [1-100]; If unspecified (0), at most 25 feedback reports are
594
+ * returned. Values above 100 are coerced to 100.
595
+ */
596
+ pageSize?: number;
597
+ /**
598
+ * A page token, received from a previous `ListFeedbackReports` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to
599
+ * `ListFeedbackReports` must match the call that provided the page token.
600
+ */
601
+ pageToken?: string;
602
+ /** Required. The name of the release resource, which is the parent of the feedback report resources. Format: `projects/{project_number}/apps/{app}/releases/{release}` */
603
+ parent: string;
604
+ /** Returns response with indentations and line breaks. */
605
+ prettyPrint?: boolean;
606
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
607
+ quotaUser?: string;
608
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
609
+ upload_protocol?: string;
610
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
611
+ uploadType?: string;
612
+ }): Request<GoogleFirebaseAppdistroV1ListFeedbackReportsResponse>;
613
+ }
614
+ interface OperationsResource {
615
+ /**
616
+ * Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support
617
+ * this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the
618
+ * operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a
619
+ * google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
620
+ */
621
+ cancel(request: {
622
+ /** V1 error format. */
623
+ "$.xgafv"?: string;
624
+ /** OAuth access token. */
625
+ access_token?: string;
626
+ /** Data format for response. */
627
+ alt?: string;
628
+ /** JSONP */
629
+ callback?: string;
630
+ /** Selector specifying which fields to include in a partial response. */
631
+ fields?: string;
632
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
633
+ key?: string;
634
+ /** The name of the operation resource to be cancelled. */
635
+ name: string;
636
+ /** OAuth 2.0 token for the current user. */
637
+ oauth_token?: string;
638
+ /** Returns response with indentations and line breaks. */
639
+ prettyPrint?: boolean;
640
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
641
+ quotaUser?: string;
642
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
643
+ upload_protocol?: string;
644
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
645
+ uploadType?: string;
646
+ /** Request body */
647
+ resource: GoogleLongrunningCancelOperationRequest;
648
+ }): Request<{}>;
649
+ cancel(request: {
650
+ /** V1 error format. */
651
+ "$.xgafv"?: string;
652
+ /** OAuth access token. */
653
+ access_token?: string;
654
+ /** Data format for response. */
655
+ alt?: string;
656
+ /** JSONP */
657
+ callback?: string;
658
+ /** Selector specifying which fields to include in a partial response. */
659
+ fields?: string;
660
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
661
+ key?: string;
662
+ /** The name of the operation resource to be cancelled. */
663
+ name: string;
664
+ /** OAuth 2.0 token for the current user. */
665
+ oauth_token?: string;
666
+ /** Returns response with indentations and line breaks. */
667
+ prettyPrint?: boolean;
668
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
669
+ quotaUser?: string;
670
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
671
+ upload_protocol?: string;
672
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
673
+ uploadType?: string;
674
+ },
675
+ body: GoogleLongrunningCancelOperationRequest): Request<{}>;
676
+ /**
677
+ * Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't
678
+ * support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
679
+ */
680
+ delete(request?: {
681
+ /** V1 error format. */
682
+ "$.xgafv"?: string;
683
+ /** OAuth access token. */
684
+ access_token?: string;
685
+ /** Data format for response. */
686
+ alt?: string;
687
+ /** JSONP */
688
+ callback?: string;
689
+ /** Selector specifying which fields to include in a partial response. */
690
+ fields?: string;
691
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
692
+ key?: string;
693
+ /** The name of the operation resource to be deleted. */
694
+ name: string;
695
+ /** OAuth 2.0 token for the current user. */
696
+ oauth_token?: string;
697
+ /** Returns response with indentations and line breaks. */
698
+ prettyPrint?: boolean;
699
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
700
+ quotaUser?: string;
701
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
702
+ upload_protocol?: string;
703
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
704
+ uploadType?: string;
705
+ }): Request<{}>;
706
+ /** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */
707
+ get(request?: {
708
+ /** V1 error format. */
709
+ "$.xgafv"?: string;
710
+ /** OAuth access token. */
711
+ access_token?: string;
712
+ /** Data format for response. */
713
+ alt?: string;
714
+ /** JSONP */
715
+ callback?: string;
716
+ /** Selector specifying which fields to include in a partial response. */
717
+ fields?: string;
718
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
719
+ key?: string;
720
+ /** The name of the operation resource. */
721
+ name: string;
722
+ /** OAuth 2.0 token for the current user. */
723
+ oauth_token?: string;
724
+ /** Returns response with indentations and line breaks. */
725
+ prettyPrint?: boolean;
726
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
727
+ quotaUser?: string;
728
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
729
+ upload_protocol?: string;
730
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
731
+ uploadType?: string;
732
+ }): Request<GoogleLongrunningOperation>;
733
+ /** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
734
+ list(request?: {
735
+ /** V1 error format. */
736
+ "$.xgafv"?: string;
737
+ /** OAuth access token. */
738
+ access_token?: string;
739
+ /** Data format for response. */
740
+ alt?: string;
741
+ /** JSONP */
742
+ callback?: string;
743
+ /** Selector specifying which fields to include in a partial response. */
744
+ fields?: string;
745
+ /** The standard list filter. */
746
+ filter?: string;
747
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
748
+ key?: string;
749
+ /** The name of the operation's parent resource. */
750
+ name: string;
751
+ /** OAuth 2.0 token for the current user. */
752
+ oauth_token?: string;
753
+ /** The standard list page size. */
754
+ pageSize?: number;
755
+ /** The standard list page token. */
756
+ pageToken?: string;
757
+ /** Returns response with indentations and line breaks. */
758
+ prettyPrint?: boolean;
759
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
760
+ quotaUser?: string;
761
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
762
+ upload_protocol?: string;
763
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
764
+ uploadType?: string;
765
+ }): Request<GoogleLongrunningListOperationsResponse>;
766
+ /**
767
+ * Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is
768
+ * immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns
769
+ * `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even
770
+ * an immediate response is no guarantee that the operation is done.
771
+ */
772
+ wait(request: {
773
+ /** V1 error format. */
774
+ "$.xgafv"?: string;
775
+ /** OAuth access token. */
776
+ access_token?: string;
777
+ /** Data format for response. */
778
+ alt?: string;
779
+ /** JSONP */
780
+ callback?: string;
781
+ /** Selector specifying which fields to include in a partial response. */
782
+ fields?: string;
783
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
784
+ key?: string;
785
+ /** The name of the operation resource to wait on. */
786
+ name: string;
787
+ /** OAuth 2.0 token for the current user. */
788
+ oauth_token?: string;
789
+ /** Returns response with indentations and line breaks. */
790
+ prettyPrint?: boolean;
791
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
792
+ quotaUser?: string;
793
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
794
+ upload_protocol?: string;
795
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
796
+ uploadType?: string;
797
+ /** Request body */
798
+ resource: GoogleLongrunningWaitOperationRequest;
799
+ }): Request<GoogleLongrunningOperation>;
800
+ wait(request: {
801
+ /** V1 error format. */
802
+ "$.xgafv"?: string;
803
+ /** OAuth access token. */
804
+ access_token?: string;
805
+ /** Data format for response. */
806
+ alt?: string;
807
+ /** JSONP */
808
+ callback?: string;
809
+ /** Selector specifying which fields to include in a partial response. */
810
+ fields?: string;
811
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
812
+ key?: string;
813
+ /** The name of the operation resource to wait on. */
814
+ name: string;
815
+ /** OAuth 2.0 token for the current user. */
816
+ oauth_token?: string;
817
+ /** Returns response with indentations and line breaks. */
818
+ prettyPrint?: boolean;
819
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
820
+ quotaUser?: string;
821
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
822
+ upload_protocol?: string;
823
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
824
+ uploadType?: string;
825
+ },
826
+ body: GoogleLongrunningWaitOperationRequest): Request<GoogleLongrunningOperation>;
827
+ }
828
+ interface ReleasesResource {
829
+ /** Deletes releases. A maximum of 100 releases can be deleted per request. */
830
+ batchDelete(request: {
831
+ /** V1 error format. */
832
+ "$.xgafv"?: string;
833
+ /** OAuth access token. */
834
+ access_token?: string;
835
+ /** Data format for response. */
836
+ alt?: string;
837
+ /** JSONP */
838
+ callback?: string;
839
+ /** Selector specifying which fields to include in a partial response. */
840
+ fields?: string;
841
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
842
+ key?: string;
843
+ /** OAuth 2.0 token for the current user. */
844
+ oauth_token?: string;
845
+ /** Required. The name of the app resource, which is the parent of the release resources. Format: `projects/{project_number}/apps/{app_id}` */
846
+ parent: string;
847
+ /** Returns response with indentations and line breaks. */
848
+ prettyPrint?: boolean;
849
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
850
+ quotaUser?: string;
851
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
852
+ upload_protocol?: string;
853
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
854
+ uploadType?: string;
855
+ /** Request body */
856
+ resource: GoogleFirebaseAppdistroV1BatchDeleteReleasesRequest;
857
+ }): Request<{}>;
858
+ batchDelete(request: {
859
+ /** V1 error format. */
860
+ "$.xgafv"?: string;
861
+ /** OAuth access token. */
862
+ access_token?: string;
863
+ /** Data format for response. */
864
+ alt?: string;
865
+ /** JSONP */
866
+ callback?: string;
867
+ /** Selector specifying which fields to include in a partial response. */
868
+ fields?: string;
869
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
870
+ key?: string;
871
+ /** OAuth 2.0 token for the current user. */
872
+ oauth_token?: string;
873
+ /** Required. The name of the app resource, which is the parent of the release resources. Format: `projects/{project_number}/apps/{app_id}` */
874
+ parent: string;
875
+ /** Returns response with indentations and line breaks. */
876
+ prettyPrint?: boolean;
877
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
878
+ quotaUser?: string;
879
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
880
+ upload_protocol?: string;
881
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
882
+ uploadType?: string;
883
+ },
884
+ body: GoogleFirebaseAppdistroV1BatchDeleteReleasesRequest): Request<{}>;
885
+ /**
886
+ * Distributes a release to testers. This call does the following: 1. Creates testers for the specified emails, if none exist. 2. Adds the testers and groups to the release. 3. Sends
887
+ * new testers an invitation email. 4. Sends existing testers a new release email. The request will fail with a `INVALID_ARGUMENT` if it contains a group that doesn't exist.
888
+ */
889
+ distribute(request: {
890
+ /** V1 error format. */
891
+ "$.xgafv"?: string;
892
+ /** OAuth access token. */
893
+ access_token?: string;
894
+ /** Data format for response. */
895
+ alt?: string;
896
+ /** JSONP */
897
+ callback?: string;
898
+ /** Selector specifying which fields to include in a partial response. */
899
+ fields?: string;
900
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
901
+ key?: string;
902
+ /** Required. The name of the release resource to distribute. Format: `projects/{project_number}/apps/{app_id}/releases/{release_id}` */
903
+ name: string;
904
+ /** OAuth 2.0 token for the current user. */
905
+ oauth_token?: string;
906
+ /** Returns response with indentations and line breaks. */
907
+ prettyPrint?: boolean;
908
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
909
+ quotaUser?: string;
910
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
911
+ upload_protocol?: string;
912
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
913
+ uploadType?: string;
914
+ /** Request body */
915
+ resource: GoogleFirebaseAppdistroV1DistributeReleaseRequest;
916
+ }): Request<{}>;
917
+ distribute(request: {
918
+ /** V1 error format. */
919
+ "$.xgafv"?: string;
920
+ /** OAuth access token. */
921
+ access_token?: string;
922
+ /** Data format for response. */
923
+ alt?: string;
924
+ /** JSONP */
925
+ callback?: string;
926
+ /** Selector specifying which fields to include in a partial response. */
927
+ fields?: string;
928
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
929
+ key?: string;
930
+ /** Required. The name of the release resource to distribute. Format: `projects/{project_number}/apps/{app_id}/releases/{release_id}` */
931
+ name: string;
932
+ /** OAuth 2.0 token for the current user. */
933
+ oauth_token?: string;
934
+ /** Returns response with indentations and line breaks. */
935
+ prettyPrint?: boolean;
936
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
937
+ quotaUser?: string;
938
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
939
+ upload_protocol?: string;
940
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
941
+ uploadType?: string;
942
+ },
943
+ body: GoogleFirebaseAppdistroV1DistributeReleaseRequest): Request<{}>;
944
+ /** Gets a release. */
945
+ get(request?: {
946
+ /** V1 error format. */
947
+ "$.xgafv"?: string;
948
+ /** OAuth access token. */
949
+ access_token?: string;
950
+ /** Data format for response. */
951
+ alt?: string;
952
+ /** JSONP */
953
+ callback?: string;
954
+ /** Selector specifying which fields to include in a partial response. */
955
+ fields?: string;
956
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
957
+ key?: string;
958
+ /** Required. The name of the release resource to retrieve. Format: projects/{project_number}/apps/{app_id}/releases/{release_id} */
959
+ name: string;
960
+ /** OAuth 2.0 token for the current user. */
961
+ oauth_token?: string;
962
+ /** Returns response with indentations and line breaks. */
963
+ prettyPrint?: boolean;
964
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
965
+ quotaUser?: string;
966
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
967
+ upload_protocol?: string;
968
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
969
+ uploadType?: string;
970
+ }): Request<GoogleFirebaseAppdistroV1Release>;
971
+ /** Lists releases. By default, sorts by `createTime` in descending order. */
972
+ list(request?: {
973
+ /** V1 error format. */
974
+ "$.xgafv"?: string;
975
+ /** OAuth access token. */
976
+ access_token?: string;
977
+ /** Data format for response. */
978
+ alt?: string;
979
+ /** JSONP */
980
+ callback?: string;
981
+ /** Selector specifying which fields to include in a partial response. */
982
+ fields?: string;
983
+ /**
984
+ * The expression to filter releases listed in the response. To learn more about filtering, refer to [Google's AIP-160 standard](http://aip.dev/160). Supported fields: -
985
+ * `releaseNotes.text` supports `=` (can contain a wildcard character (`*`) at the beginning or end of the string) - `createTime` supports `<`, `<=`, `>` and `>=`, and expects an
986
+ * RFC-3339 formatted string Examples: - `createTime <= "2021-09-08T00:00:00+04:00"` - `releaseNotes.text="fixes" AND createTime >= "2021-09-08T00:00:00.0Z"` -
987
+ * `releaseNotes.text="*v1.0.0-rc*"`
988
+ */
989
+ filter?: string;
990
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
991
+ key?: string;
992
+ /** OAuth 2.0 token for the current user. */
993
+ oauth_token?: string;
994
+ /**
995
+ * The fields used to order releases. Supported fields: - `createTime` To specify descending order for a field, append a "desc" suffix, for example, `createTime desc`. If this
996
+ * parameter is not set, releases are ordered by `createTime` in descending order.
997
+ */
998
+ orderBy?: string;
999
+ /**
1000
+ * The maximum number of releases to return. The service may return fewer than this value. The valid range is [1-100]; If unspecified (0), at most 25 releases are returned. Values
1001
+ * above 100 are coerced to 100.
1002
+ */
1003
+ pageSize?: number;
1004
+ /**
1005
+ * A page token, received from a previous `ListReleases` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListReleases` must
1006
+ * match the call that provided the page token.
1007
+ */
1008
+ pageToken?: string;
1009
+ /** Required. The name of the app resource, which is the parent of the release resources. Format: `projects/{project_number}/apps/{app_id}` */
1010
+ parent: string;
1011
+ /** Returns response with indentations and line breaks. */
1012
+ prettyPrint?: boolean;
1013
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1014
+ quotaUser?: string;
1015
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1016
+ upload_protocol?: string;
1017
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1018
+ uploadType?: string;
1019
+ }): Request<GoogleFirebaseAppdistroV1ListReleasesResponse>;
1020
+ /** Updates a release. */
1021
+ patch(request: {
1022
+ /** V1 error format. */
1023
+ "$.xgafv"?: string;
1024
+ /** OAuth access token. */
1025
+ access_token?: string;
1026
+ /** Data format for response. */
1027
+ alt?: string;
1028
+ /** JSONP */
1029
+ callback?: string;
1030
+ /** Selector specifying which fields to include in a partial response. */
1031
+ fields?: string;
1032
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1033
+ key?: string;
1034
+ /** The name of the release resource. Format: `projects/{project_number}/apps/{app_id}/releases/{release_id}` */
1035
+ name: string;
1036
+ /** OAuth 2.0 token for the current user. */
1037
+ oauth_token?: string;
1038
+ /** Returns response with indentations and line breaks. */
1039
+ prettyPrint?: boolean;
1040
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1041
+ quotaUser?: string;
1042
+ /** The list of fields to update. */
1043
+ updateMask?: string;
1044
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1045
+ upload_protocol?: string;
1046
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1047
+ uploadType?: string;
1048
+ /** Request body */
1049
+ resource: GoogleFirebaseAppdistroV1Release;
1050
+ }): Request<GoogleFirebaseAppdistroV1Release>;
1051
+ patch(request: {
1052
+ /** V1 error format. */
1053
+ "$.xgafv"?: string;
1054
+ /** OAuth access token. */
1055
+ access_token?: string;
1056
+ /** Data format for response. */
1057
+ alt?: string;
1058
+ /** JSONP */
1059
+ callback?: string;
1060
+ /** Selector specifying which fields to include in a partial response. */
1061
+ fields?: string;
1062
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1063
+ key?: string;
1064
+ /** The name of the release resource. Format: `projects/{project_number}/apps/{app_id}/releases/{release_id}` */
1065
+ name: string;
1066
+ /** OAuth 2.0 token for the current user. */
1067
+ oauth_token?: string;
1068
+ /** Returns response with indentations and line breaks. */
1069
+ prettyPrint?: boolean;
1070
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1071
+ quotaUser?: string;
1072
+ /** The list of fields to update. */
1073
+ updateMask?: string;
1074
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1075
+ upload_protocol?: string;
1076
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1077
+ uploadType?: string;
1078
+ },
1079
+ body: GoogleFirebaseAppdistroV1Release): Request<GoogleFirebaseAppdistroV1Release>;
1080
+ feedbackReports: FeedbackReportsResource;
1081
+ operations: OperationsResource;
1082
+ }
1083
+ interface AppsResource {
1084
+ /** Gets Android App Bundle (AAB) information for a Firebase app. */
1085
+ getAabInfo(request?: {
1086
+ /** V1 error format. */
1087
+ "$.xgafv"?: string;
1088
+ /** OAuth access token. */
1089
+ access_token?: string;
1090
+ /** Data format for response. */
1091
+ alt?: string;
1092
+ /** JSONP */
1093
+ callback?: string;
1094
+ /** Selector specifying which fields to include in a partial response. */
1095
+ fields?: string;
1096
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1097
+ key?: string;
1098
+ /** Required. The name of the `AabInfo` resource to retrieve. Format: `projects/{project_number}/apps/{app_id}/aabInfo` */
1099
+ name: string;
1100
+ /** OAuth 2.0 token for the current user. */
1101
+ oauth_token?: string;
1102
+ /** Returns response with indentations and line breaks. */
1103
+ prettyPrint?: boolean;
1104
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1105
+ quotaUser?: string;
1106
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1107
+ upload_protocol?: string;
1108
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1109
+ uploadType?: string;
1110
+ }): Request<GoogleFirebaseAppdistroV1AabInfo>;
1111
+ releases: ReleasesResource;
1112
+ }
1113
+ interface GroupsResource {
1114
+ /** Batch adds members to a group. The testers will gain access to all releases that the groups have access to. */
1115
+ batchJoin(request: {
1116
+ /** V1 error format. */
1117
+ "$.xgafv"?: string;
1118
+ /** OAuth access token. */
1119
+ access_token?: string;
1120
+ /** Data format for response. */
1121
+ alt?: string;
1122
+ /** JSONP */
1123
+ callback?: string;
1124
+ /** Selector specifying which fields to include in a partial response. */
1125
+ fields?: string;
1126
+ /** Required. The name of the group resource to which testers are added. Format: `projects/{project_number}/groups/{group_alias}` */
1127
+ group: string;
1128
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1129
+ key?: string;
1130
+ /** OAuth 2.0 token for the current user. */
1131
+ oauth_token?: string;
1132
+ /** Returns response with indentations and line breaks. */
1133
+ prettyPrint?: boolean;
1134
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1135
+ quotaUser?: string;
1136
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1137
+ upload_protocol?: string;
1138
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1139
+ uploadType?: string;
1140
+ /** Request body */
1141
+ resource: GoogleFirebaseAppdistroV1BatchJoinGroupRequest;
1142
+ }): Request<{}>;
1143
+ batchJoin(request: {
1144
+ /** V1 error format. */
1145
+ "$.xgafv"?: string;
1146
+ /** OAuth access token. */
1147
+ access_token?: string;
1148
+ /** Data format for response. */
1149
+ alt?: string;
1150
+ /** JSONP */
1151
+ callback?: string;
1152
+ /** Selector specifying which fields to include in a partial response. */
1153
+ fields?: string;
1154
+ /** Required. The name of the group resource to which testers are added. Format: `projects/{project_number}/groups/{group_alias}` */
1155
+ group: string;
1156
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1157
+ key?: string;
1158
+ /** OAuth 2.0 token for the current user. */
1159
+ oauth_token?: string;
1160
+ /** Returns response with indentations and line breaks. */
1161
+ prettyPrint?: boolean;
1162
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1163
+ quotaUser?: string;
1164
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1165
+ upload_protocol?: string;
1166
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1167
+ uploadType?: string;
1168
+ },
1169
+ body: GoogleFirebaseAppdistroV1BatchJoinGroupRequest): Request<{}>;
1170
+ /** Batch removed members from a group. The testers will lose access to all releases that the groups have access to. */
1171
+ batchLeave(request: {
1172
+ /** V1 error format. */
1173
+ "$.xgafv"?: string;
1174
+ /** OAuth access token. */
1175
+ access_token?: string;
1176
+ /** Data format for response. */
1177
+ alt?: string;
1178
+ /** JSONP */
1179
+ callback?: string;
1180
+ /** Selector specifying which fields to include in a partial response. */
1181
+ fields?: string;
1182
+ /** Required. The name of the group resource from which testers are removed. Format: `projects/{project_number}/groups/{group_alias}` */
1183
+ group: string;
1184
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1185
+ key?: string;
1186
+ /** OAuth 2.0 token for the current user. */
1187
+ oauth_token?: string;
1188
+ /** Returns response with indentations and line breaks. */
1189
+ prettyPrint?: boolean;
1190
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1191
+ quotaUser?: string;
1192
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1193
+ upload_protocol?: string;
1194
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1195
+ uploadType?: string;
1196
+ /** Request body */
1197
+ resource: GoogleFirebaseAppdistroV1BatchLeaveGroupRequest;
1198
+ }): Request<{}>;
1199
+ batchLeave(request: {
1200
+ /** V1 error format. */
1201
+ "$.xgafv"?: string;
1202
+ /** OAuth access token. */
1203
+ access_token?: string;
1204
+ /** Data format for response. */
1205
+ alt?: string;
1206
+ /** JSONP */
1207
+ callback?: string;
1208
+ /** Selector specifying which fields to include in a partial response. */
1209
+ fields?: string;
1210
+ /** Required. The name of the group resource from which testers are removed. Format: `projects/{project_number}/groups/{group_alias}` */
1211
+ group: string;
1212
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1213
+ key?: string;
1214
+ /** OAuth 2.0 token for the current user. */
1215
+ oauth_token?: string;
1216
+ /** Returns response with indentations and line breaks. */
1217
+ prettyPrint?: boolean;
1218
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1219
+ quotaUser?: string;
1220
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1221
+ upload_protocol?: string;
1222
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1223
+ uploadType?: string;
1224
+ },
1225
+ body: GoogleFirebaseAppdistroV1BatchLeaveGroupRequest): Request<{}>;
1226
+ /** Create a group. */
1227
+ create(request: {
1228
+ /** V1 error format. */
1229
+ "$.xgafv"?: string;
1230
+ /** OAuth access token. */
1231
+ access_token?: string;
1232
+ /** Data format for response. */
1233
+ alt?: string;
1234
+ /** JSONP */
1235
+ callback?: string;
1236
+ /** Selector specifying which fields to include in a partial response. */
1237
+ fields?: string;
1238
+ /**
1239
+ * Optional. The "alias" to use for the group, which will become the final component of the group's resource name. This value must be unique per project. The field is named
1240
+ * `groupId` to comply with AIP guidance for user-specified IDs. This value should be 4-63 characters, and valid characters are `/a-z-/`. If not set, it will be generated based on
1241
+ * the display name.
1242
+ */
1243
+ groupId?: string;
1244
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1245
+ key?: string;
1246
+ /** OAuth 2.0 token for the current user. */
1247
+ oauth_token?: string;
1248
+ /** Required. The name of the project resource, which is the parent of the group resource. Format: `projects/{project_number}` */
1249
+ parent: string;
1250
+ /** Returns response with indentations and line breaks. */
1251
+ prettyPrint?: boolean;
1252
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1253
+ quotaUser?: string;
1254
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1255
+ upload_protocol?: string;
1256
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1257
+ uploadType?: string;
1258
+ /** Request body */
1259
+ resource: GoogleFirebaseAppdistroV1Group;
1260
+ }): Request<GoogleFirebaseAppdistroV1Group>;
1261
+ create(request: {
1262
+ /** V1 error format. */
1263
+ "$.xgafv"?: string;
1264
+ /** OAuth access token. */
1265
+ access_token?: string;
1266
+ /** Data format for response. */
1267
+ alt?: string;
1268
+ /** JSONP */
1269
+ callback?: string;
1270
+ /** Selector specifying which fields to include in a partial response. */
1271
+ fields?: string;
1272
+ /**
1273
+ * Optional. The "alias" to use for the group, which will become the final component of the group's resource name. This value must be unique per project. The field is named
1274
+ * `groupId` to comply with AIP guidance for user-specified IDs. This value should be 4-63 characters, and valid characters are `/a-z-/`. If not set, it will be generated based on
1275
+ * the display name.
1276
+ */
1277
+ groupId?: string;
1278
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1279
+ key?: string;
1280
+ /** OAuth 2.0 token for the current user. */
1281
+ oauth_token?: string;
1282
+ /** Required. The name of the project resource, which is the parent of the group resource. Format: `projects/{project_number}` */
1283
+ parent: string;
1284
+ /** Returns response with indentations and line breaks. */
1285
+ prettyPrint?: boolean;
1286
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1287
+ quotaUser?: string;
1288
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1289
+ upload_protocol?: string;
1290
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1291
+ uploadType?: string;
1292
+ },
1293
+ body: GoogleFirebaseAppdistroV1Group): Request<GoogleFirebaseAppdistroV1Group>;
1294
+ /** Delete a group. */
1295
+ delete(request?: {
1296
+ /** V1 error format. */
1297
+ "$.xgafv"?: string;
1298
+ /** OAuth access token. */
1299
+ access_token?: string;
1300
+ /** Data format for response. */
1301
+ alt?: string;
1302
+ /** JSONP */
1303
+ callback?: string;
1304
+ /** Selector specifying which fields to include in a partial response. */
1305
+ fields?: string;
1306
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1307
+ key?: string;
1308
+ /** Required. The name of the group resource. Format: `projects/{project_number}/groups/{group_alias}` */
1309
+ name: string;
1310
+ /** OAuth 2.0 token for the current user. */
1311
+ oauth_token?: string;
1312
+ /** Returns response with indentations and line breaks. */
1313
+ prettyPrint?: boolean;
1314
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1315
+ quotaUser?: string;
1316
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1317
+ upload_protocol?: string;
1318
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1319
+ uploadType?: string;
1320
+ }): Request<{}>;
1321
+ /** Get a group. */
1322
+ get(request?: {
1323
+ /** V1 error format. */
1324
+ "$.xgafv"?: string;
1325
+ /** OAuth access token. */
1326
+ access_token?: string;
1327
+ /** Data format for response. */
1328
+ alt?: string;
1329
+ /** JSONP */
1330
+ callback?: string;
1331
+ /** Selector specifying which fields to include in a partial response. */
1332
+ fields?: string;
1333
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1334
+ key?: string;
1335
+ /** Required. The name of the group resource to retrieve. Format: `projects/{project_number}/groups/{group_alias}` */
1336
+ name: string;
1337
+ /** OAuth 2.0 token for the current user. */
1338
+ oauth_token?: string;
1339
+ /** Returns response with indentations and line breaks. */
1340
+ prettyPrint?: boolean;
1341
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1342
+ quotaUser?: string;
1343
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1344
+ upload_protocol?: string;
1345
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1346
+ uploadType?: string;
1347
+ }): Request<GoogleFirebaseAppdistroV1Group>;
1348
+ /** List groups. */
1349
+ list(request?: {
1350
+ /** V1 error format. */
1351
+ "$.xgafv"?: string;
1352
+ /** OAuth access token. */
1353
+ access_token?: string;
1354
+ /** Data format for response. */
1355
+ alt?: string;
1356
+ /** JSONP */
1357
+ callback?: string;
1358
+ /** Selector specifying which fields to include in a partial response. */
1359
+ fields?: string;
1360
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1361
+ key?: string;
1362
+ /** OAuth 2.0 token for the current user. */
1363
+ oauth_token?: string;
1364
+ /**
1365
+ * Optional. The maximum number of groups to return. The service may return fewer than this value. The valid range is [1-100]; If unspecified (0), at most 25 groups are returned.
1366
+ * Values above 100 are coerced to 100.
1367
+ */
1368
+ pageSize?: number;
1369
+ /**
1370
+ * Optional. A page token, received from a previous `ListGroups` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListGroups`
1371
+ * must match the call that provided the page token.
1372
+ */
1373
+ pageToken?: string;
1374
+ /** Required. The name of the project resource, which is the parent of the group resources. Format: `projects/{project_number}` */
1375
+ parent: string;
1376
+ /** Returns response with indentations and line breaks. */
1377
+ prettyPrint?: boolean;
1378
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1379
+ quotaUser?: string;
1380
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1381
+ upload_protocol?: string;
1382
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1383
+ uploadType?: string;
1384
+ }): Request<GoogleFirebaseAppdistroV1ListGroupsResponse>;
1385
+ /** Update a group. */
1386
+ patch(request: {
1387
+ /** V1 error format. */
1388
+ "$.xgafv"?: string;
1389
+ /** OAuth access token. */
1390
+ access_token?: string;
1391
+ /** Data format for response. */
1392
+ alt?: string;
1393
+ /** JSONP */
1394
+ callback?: string;
1395
+ /** Selector specifying which fields to include in a partial response. */
1396
+ fields?: string;
1397
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1398
+ key?: string;
1399
+ /** The name of the group resource. Format: `projects/{project_number}/groups/{group_alias}` */
1400
+ name: string;
1401
+ /** OAuth 2.0 token for the current user. */
1402
+ oauth_token?: string;
1403
+ /** Returns response with indentations and line breaks. */
1404
+ prettyPrint?: boolean;
1405
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1406
+ quotaUser?: string;
1407
+ /** The list of fields to update. */
1408
+ updateMask?: string;
1409
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1410
+ upload_protocol?: string;
1411
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1412
+ uploadType?: string;
1413
+ /** Request body */
1414
+ resource: GoogleFirebaseAppdistroV1Group;
1415
+ }): Request<GoogleFirebaseAppdistroV1Group>;
1416
+ patch(request: {
1417
+ /** V1 error format. */
1418
+ "$.xgafv"?: string;
1419
+ /** OAuth access token. */
1420
+ access_token?: string;
1421
+ /** Data format for response. */
1422
+ alt?: string;
1423
+ /** JSONP */
1424
+ callback?: string;
1425
+ /** Selector specifying which fields to include in a partial response. */
1426
+ fields?: string;
1427
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1428
+ key?: string;
1429
+ /** The name of the group resource. Format: `projects/{project_number}/groups/{group_alias}` */
1430
+ name: string;
1431
+ /** OAuth 2.0 token for the current user. */
1432
+ oauth_token?: string;
1433
+ /** Returns response with indentations and line breaks. */
1434
+ prettyPrint?: boolean;
1435
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1436
+ quotaUser?: string;
1437
+ /** The list of fields to update. */
1438
+ updateMask?: string;
1439
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1440
+ upload_protocol?: string;
1441
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1442
+ uploadType?: string;
1443
+ },
1444
+ body: GoogleFirebaseAppdistroV1Group): Request<GoogleFirebaseAppdistroV1Group>;
1445
+ }
1446
+ interface TestersResource {
1447
+ /**
1448
+ * Batch adds testers. This call adds testers for the specified emails if they don't already exist. Returns all testers specified in the request, including newly created and previously
1449
+ * existing testers. This action is idempotent.
1450
+ */
1451
+ batchAdd(request: {
1452
+ /** V1 error format. */
1453
+ "$.xgafv"?: string;
1454
+ /** OAuth access token. */
1455
+ access_token?: string;
1456
+ /** Data format for response. */
1457
+ alt?: string;
1458
+ /** JSONP */
1459
+ callback?: string;
1460
+ /** Selector specifying which fields to include in a partial response. */
1461
+ fields?: string;
1462
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1463
+ key?: string;
1464
+ /** OAuth 2.0 token for the current user. */
1465
+ oauth_token?: string;
1466
+ /** Returns response with indentations and line breaks. */
1467
+ prettyPrint?: boolean;
1468
+ /** Required. The name of the project resource. Format: `projects/{project_number}` */
1469
+ project: string;
1470
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1471
+ quotaUser?: string;
1472
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1473
+ upload_protocol?: string;
1474
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1475
+ uploadType?: string;
1476
+ /** Request body */
1477
+ resource: GoogleFirebaseAppdistroV1BatchAddTestersRequest;
1478
+ }): Request<GoogleFirebaseAppdistroV1BatchAddTestersResponse>;
1479
+ batchAdd(request: {
1480
+ /** V1 error format. */
1481
+ "$.xgafv"?: string;
1482
+ /** OAuth access token. */
1483
+ access_token?: string;
1484
+ /** Data format for response. */
1485
+ alt?: string;
1486
+ /** JSONP */
1487
+ callback?: string;
1488
+ /** Selector specifying which fields to include in a partial response. */
1489
+ fields?: string;
1490
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1491
+ key?: string;
1492
+ /** OAuth 2.0 token for the current user. */
1493
+ oauth_token?: string;
1494
+ /** Returns response with indentations and line breaks. */
1495
+ prettyPrint?: boolean;
1496
+ /** Required. The name of the project resource. Format: `projects/{project_number}` */
1497
+ project: string;
1498
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1499
+ quotaUser?: string;
1500
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1501
+ upload_protocol?: string;
1502
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1503
+ uploadType?: string;
1504
+ },
1505
+ body: GoogleFirebaseAppdistroV1BatchAddTestersRequest): Request<GoogleFirebaseAppdistroV1BatchAddTestersResponse>;
1506
+ /** Batch removes testers. If found, this call deletes testers for the specified emails. Returns all deleted testers. */
1507
+ batchRemove(request: {
1508
+ /** V1 error format. */
1509
+ "$.xgafv"?: string;
1510
+ /** OAuth access token. */
1511
+ access_token?: string;
1512
+ /** Data format for response. */
1513
+ alt?: string;
1514
+ /** JSONP */
1515
+ callback?: string;
1516
+ /** Selector specifying which fields to include in a partial response. */
1517
+ fields?: string;
1518
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1519
+ key?: string;
1520
+ /** OAuth 2.0 token for the current user. */
1521
+ oauth_token?: string;
1522
+ /** Returns response with indentations and line breaks. */
1523
+ prettyPrint?: boolean;
1524
+ /** Required. The name of the project resource. Format: `projects/{project_number}` */
1525
+ project: string;
1526
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1527
+ quotaUser?: string;
1528
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1529
+ upload_protocol?: string;
1530
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1531
+ uploadType?: string;
1532
+ /** Request body */
1533
+ resource: GoogleFirebaseAppdistroV1BatchRemoveTestersRequest;
1534
+ }): Request<GoogleFirebaseAppdistroV1BatchRemoveTestersResponse>;
1535
+ batchRemove(request: {
1536
+ /** V1 error format. */
1537
+ "$.xgafv"?: string;
1538
+ /** OAuth access token. */
1539
+ access_token?: string;
1540
+ /** Data format for response. */
1541
+ alt?: string;
1542
+ /** JSONP */
1543
+ callback?: string;
1544
+ /** Selector specifying which fields to include in a partial response. */
1545
+ fields?: string;
1546
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1547
+ key?: string;
1548
+ /** OAuth 2.0 token for the current user. */
1549
+ oauth_token?: string;
1550
+ /** Returns response with indentations and line breaks. */
1551
+ prettyPrint?: boolean;
1552
+ /** Required. The name of the project resource. Format: `projects/{project_number}` */
1553
+ project: string;
1554
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1555
+ quotaUser?: string;
1556
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1557
+ upload_protocol?: string;
1558
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1559
+ uploadType?: string;
1560
+ },
1561
+ body: GoogleFirebaseAppdistroV1BatchRemoveTestersRequest): Request<GoogleFirebaseAppdistroV1BatchRemoveTestersResponse>;
1562
+ /** Lists testers and their resource ids. */
1563
+ list(request?: {
1564
+ /** V1 error format. */
1565
+ "$.xgafv"?: string;
1566
+ /** OAuth access token. */
1567
+ access_token?: string;
1568
+ /** Data format for response. */
1569
+ alt?: string;
1570
+ /** JSONP */
1571
+ callback?: string;
1572
+ /** Selector specifying which fields to include in a partial response. */
1573
+ fields?: string;
1574
+ /**
1575
+ * Optional. The expression to filter testers listed in the response. To learn more about filtering, refer to [Google's AIP-160 standard](http://aip.dev/160). Supported fields: -
1576
+ * `name` - `displayName` - `groups` Example: - `name = "projects/-/testers/*@example.com"` - `displayName = "Joe Sixpack"` - `groups = "projects/*‍/groups/qa-team"`
1577
+ */
1578
+ filter?: string;
1579
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1580
+ key?: string;
1581
+ /** OAuth 2.0 token for the current user. */
1582
+ oauth_token?: string;
1583
+ /**
1584
+ * Optional. The maximum number of testers to return. The service may return fewer than this value. The valid range is [1-1000]; If unspecified (0), at most 10 testers are
1585
+ * returned. Values above 1000 are coerced to 1000.
1586
+ */
1587
+ pageSize?: number;
1588
+ /**
1589
+ * Optional. A page token, received from a previous `ListTesters` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to
1590
+ * `ListTesters` must match the call that provided the page token.
1591
+ */
1592
+ pageToken?: string;
1593
+ /** Required. The name of the project resource, which is the parent of the tester resources. Format: `projects/{project_number}` */
1594
+ parent: string;
1595
+ /** Returns response with indentations and line breaks. */
1596
+ prettyPrint?: boolean;
1597
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1598
+ quotaUser?: string;
1599
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1600
+ upload_protocol?: string;
1601
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1602
+ uploadType?: string;
1603
+ }): Request<GoogleFirebaseAppdistroV1ListTestersResponse>;
1604
+ /** Update a tester. If the testers joins a group they gain access to all releases that the group has access to. */
1605
+ patch(request: {
1606
+ /** V1 error format. */
1607
+ "$.xgafv"?: string;
1608
+ /** OAuth access token. */
1609
+ access_token?: string;
1610
+ /** Data format for response. */
1611
+ alt?: string;
1612
+ /** JSONP */
1613
+ callback?: string;
1614
+ /** Selector specifying which fields to include in a partial response. */
1615
+ fields?: string;
1616
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1617
+ key?: string;
1618
+ /** The name of the tester resource. Format: `projects/{project_number}/testers/{email_address}` */
1619
+ name: string;
1620
+ /** OAuth 2.0 token for the current user. */
1621
+ oauth_token?: string;
1622
+ /** Returns response with indentations and line breaks. */
1623
+ prettyPrint?: boolean;
1624
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1625
+ quotaUser?: string;
1626
+ /** The list of fields to update. */
1627
+ updateMask?: string;
1628
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1629
+ upload_protocol?: string;
1630
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1631
+ uploadType?: string;
1632
+ /** Request body */
1633
+ resource: GoogleFirebaseAppdistroV1Tester;
1634
+ }): Request<GoogleFirebaseAppdistroV1Tester>;
1635
+ patch(request: {
1636
+ /** V1 error format. */
1637
+ "$.xgafv"?: string;
1638
+ /** OAuth access token. */
1639
+ access_token?: string;
1640
+ /** Data format for response. */
1641
+ alt?: string;
1642
+ /** JSONP */
1643
+ callback?: string;
1644
+ /** Selector specifying which fields to include in a partial response. */
1645
+ fields?: string;
1646
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1647
+ key?: string;
1648
+ /** The name of the tester resource. Format: `projects/{project_number}/testers/{email_address}` */
1649
+ name: string;
1650
+ /** OAuth 2.0 token for the current user. */
1651
+ oauth_token?: string;
1652
+ /** Returns response with indentations and line breaks. */
1653
+ prettyPrint?: boolean;
1654
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1655
+ quotaUser?: string;
1656
+ /** The list of fields to update. */
1657
+ updateMask?: string;
1658
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1659
+ upload_protocol?: string;
1660
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1661
+ uploadType?: string;
1662
+ },
1663
+ body: GoogleFirebaseAppdistroV1Tester): Request<GoogleFirebaseAppdistroV1Tester>;
1664
+ }
1665
+ interface ProjectsResource {
1666
+ apps: AppsResource;
1667
+ groups: GroupsResource;
1668
+ testers: TestersResource;
1669
+ }
1670
+
1671
+ const media: MediaResource;
1672
+
1673
+ const projects: ProjectsResource;
1674
+ }
1675
+ }