@maxim_mazurok/gapi.client.cloudsearch-v1 0.0.20220913 → 0.0.20220927
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 +76 -15
- package/package.json +1 -1
- package/tests.ts +5 -1
package/index.d.ts
CHANGED
|
@@ -4,13 +4,12 @@
|
|
|
4
4
|
// Nick Amoscato <https://github.com/namoscato>
|
|
5
5
|
// Declan Vong <https://github.com/declanvong>
|
|
6
6
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
7
|
-
// TypeScript Version: 2.8
|
|
8
7
|
|
|
9
8
|
// IMPORTANT
|
|
10
9
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
11
10
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
12
11
|
// Generated from: https://cloudsearch.googleapis.com/$discovery/rest?version=v1
|
|
13
|
-
// Revision:
|
|
12
|
+
// Revision: 20220927
|
|
14
13
|
|
|
15
14
|
/// <reference types="gapi.client" />
|
|
16
15
|
|
|
@@ -1131,6 +1130,7 @@ declare namespace gapi.client {
|
|
|
1131
1130
|
type?: string;
|
|
1132
1131
|
}
|
|
1133
1132
|
interface BotInfo {
|
|
1133
|
+
appAllowlistStatus?: string;
|
|
1134
1134
|
/** Identifier of the application associated with the bot. */
|
|
1135
1135
|
appId?: AppId;
|
|
1136
1136
|
/** URL for the avatar picture of the User in dynamite. This field should be populated if the request is FetchBotCategories/ListBotCatalogEntries */
|
|
@@ -1150,12 +1150,13 @@ declare namespace gapi.client {
|
|
|
1150
1150
|
* whitelisted bots in the catalog.
|
|
1151
1151
|
*/
|
|
1152
1152
|
supportedUses?: string[];
|
|
1153
|
+
/** If the app supports a home screen. */
|
|
1154
|
+
supportHomeScreen?: boolean;
|
|
1153
1155
|
/**
|
|
1154
1156
|
* Urls with additional information related to the bot. This field should always be set even if all the fields within it are empty, so that it is convenient for clients to work with
|
|
1155
1157
|
* this field in javascript.
|
|
1156
1158
|
*/
|
|
1157
1159
|
supportUrls?: SupportUrls;
|
|
1158
|
-
whitelistStatus?: string;
|
|
1159
1160
|
}
|
|
1160
1161
|
interface BotResponse {
|
|
1161
1162
|
botId?: UserId;
|
|
@@ -1286,11 +1287,6 @@ declare namespace gapi.client {
|
|
|
1286
1287
|
moderationEnabled?: boolean;
|
|
1287
1288
|
/** Indicates whether the present lock is currently on or off. */
|
|
1288
1289
|
presentLock?: boolean;
|
|
1289
|
-
/**
|
|
1290
|
-
* Indicates whether project Dino is currently on or off. WARNING: This is currently an experimental field. It should not be used without getting an explicit review and approval from
|
|
1291
|
-
* the Meet team.
|
|
1292
|
-
*/
|
|
1293
|
-
projectDinoEnabled?: boolean;
|
|
1294
1290
|
/** Indicates whether the reactions lock is currently on or off. */
|
|
1295
1291
|
reactionsLock?: boolean;
|
|
1296
1292
|
/** Indicates whether the video lock is currently on or off. */
|
|
@@ -3448,7 +3444,8 @@ declare namespace gapi.client {
|
|
|
3448
3444
|
isSuggestable?: boolean;
|
|
3449
3445
|
/**
|
|
3450
3446
|
* Indicates that users can perform wildcard search for this property. Only supported for Text properties. IsReturnable must be true to set this option. In a given datasource maximum
|
|
3451
|
-
* of 5 properties can be marked as is_wildcard_searchable.
|
|
3447
|
+
* of 5 properties can be marked as is_wildcard_searchable. For more details, see [Define object
|
|
3448
|
+
* properties](https://developers.google.com/cloud-search/docs/guides/schema-guide#properties)
|
|
3452
3449
|
*/
|
|
3453
3450
|
isWildcardSearchable?: boolean;
|
|
3454
3451
|
/**
|
|
@@ -3620,8 +3617,12 @@ declare namespace gapi.client {
|
|
|
3620
3617
|
appProfile?: AppsDynamiteSharedAppProfile;
|
|
3621
3618
|
/** Output only. The bot attachment state of the quoted message. Used by clients to display a bot attachment indicator in the UI. */
|
|
3622
3619
|
botAttachmentState?: string;
|
|
3620
|
+
/** Output only. Time when the quoted message was posted in microseconds. */
|
|
3621
|
+
createTimeMicros?: string;
|
|
3623
3622
|
/** Output only. ID of the User who posted the quoted message. This includes information to identify if the quoted message was posted by an App on behalf of a user. */
|
|
3624
3623
|
creatorId?: UserId;
|
|
3624
|
+
/** Output only. Time when the quoted message was last edited by a user at the time when quoting action happens. Time is in microseconds. */
|
|
3625
|
+
lastEditTimeMicros?: string;
|
|
3625
3626
|
/**
|
|
3626
3627
|
* The `last_update_time` of the original message when the client initiated the quote creation. This is derived from the request payload passed from clients. Used to fetch the quoted
|
|
3627
3628
|
* message contents at a specific time on the read path. This field is populated from storage directly.
|
|
@@ -3635,7 +3636,12 @@ declare namespace gapi.client {
|
|
|
3635
3636
|
retentionSettings?: AppsDynamiteSharedRetentionSettings;
|
|
3636
3637
|
/** Output only. Snapshot of the text body of the quoted message. */
|
|
3637
3638
|
textBody?: string;
|
|
3638
|
-
/**
|
|
3639
|
+
/**
|
|
3640
|
+
* Output only. ID of the User who last updated (created/edited/deleted) the quoted message at the time when quoting action happens. This includes information to identify if the quoted
|
|
3641
|
+
* message was posted by an App on behalf of a user.
|
|
3642
|
+
*/
|
|
3643
|
+
updaterId?: UserId;
|
|
3644
|
+
/** Output only. Upload metadata of the quoted message. */
|
|
3639
3645
|
uploadMetadata?: UploadMetadata[];
|
|
3640
3646
|
}
|
|
3641
3647
|
interface RbacRoleProto {
|
|
@@ -4041,7 +4047,7 @@ declare namespace gapi.client {
|
|
|
4041
4047
|
attendanceReportEnabled?: boolean;
|
|
4042
4048
|
/** The chat lock of the meeting space that lets owner control whether the participants can send chat messages. True if the chat lock feature is enabled for the meeting space. */
|
|
4043
4049
|
chatLock?: boolean;
|
|
4044
|
-
/** Whether meeting artifacts will be shared with
|
|
4050
|
+
/** Whether meeting artifacts will be shared with cohosts. */
|
|
4045
4051
|
cohostArtifactSharingEnabled?: boolean;
|
|
4046
4052
|
/** Whether Client-side Encryption is enabled for the meeting space. */
|
|
4047
4053
|
cseEnabled?: boolean;
|
|
@@ -4447,6 +4453,12 @@ declare namespace gapi.client {
|
|
|
4447
4453
|
/** Common debug options. */
|
|
4448
4454
|
debugOptions?: DebugOptions;
|
|
4449
4455
|
source?: DataSource;
|
|
4456
|
+
/**
|
|
4457
|
+
* Update mask to control which fields to update. If update_mask is non-empty then only the fields specified in the update_mask are updated. If you specify a field in the update_mask,
|
|
4458
|
+
* but don't specify its value in the source that field will be cleared. If the update_mask is not present or empty or has the value * then all fields will be updated. Some example
|
|
4459
|
+
* field paths: name, display_name
|
|
4460
|
+
*/
|
|
4461
|
+
updateMask?: string;
|
|
4450
4462
|
}
|
|
4451
4463
|
interface UpdateSchemaRequest {
|
|
4452
4464
|
/** Common debug options. */
|
|
@@ -4511,7 +4523,7 @@ declare namespace gapi.client {
|
|
|
4511
4523
|
intImageWidth?: number;
|
|
4512
4524
|
/**
|
|
4513
4525
|
* Mime type of the content (Currently mapped from Page Render Service ItemType) Note that this is not necessarily the mime type of the http resource. For example a text/html from
|
|
4514
|
-
* youtube or vimeo may actually be classified as a video type. Then we shall mark it as video/* since we don't know exactly what type of video it is.
|
|
4526
|
+
* youtube or vimeo may actually be classified as a video type. Then we shall mark it as video/* since we don't know exactly what type of video it is.
|
|
4515
4527
|
*/
|
|
4516
4528
|
mimeType?: string;
|
|
4517
4529
|
/** The stable redirect URL pointing to frontend server. */
|
|
@@ -4524,6 +4536,8 @@ declare namespace gapi.client {
|
|
|
4524
4536
|
title?: string;
|
|
4525
4537
|
/** The original URL. */
|
|
4526
4538
|
url?: SafeUrlProto;
|
|
4539
|
+
/** NEXT TAG : 17 */
|
|
4540
|
+
urlSource?: string;
|
|
4527
4541
|
}
|
|
4528
4542
|
interface User {
|
|
4529
4543
|
/** URL for the avatar picture of the User in dynamite */
|
|
@@ -4584,17 +4598,28 @@ declare namespace gapi.client {
|
|
|
4584
4598
|
type?: string;
|
|
4585
4599
|
}
|
|
4586
4600
|
interface UserInfo {
|
|
4601
|
+
/**
|
|
4602
|
+
* Avatar url of the user who triggered the Drive Notification email. This field will be populated if we can extract such information from the Drive Notification email. This should
|
|
4603
|
+
* only be used to fetch user avatars when updater_to_show_email is not populated. This field is not set for non-Drive Notification items.
|
|
4604
|
+
*/
|
|
4605
|
+
driveNotificationAvatarUrl?: string;
|
|
4587
4606
|
/** Describes how updater_count_to_show should be used. */
|
|
4588
4607
|
updaterCountDisplayType?: string;
|
|
4589
4608
|
/** The number of updaters for clients to show depending on UpdaterCountDisplayType. */
|
|
4590
4609
|
updaterCountToShow?: number;
|
|
4591
|
-
/**
|
|
4610
|
+
/**
|
|
4611
|
+
* The email of the updater for clients to show used for Gmail items. For Drive Notifications, this is the email of the user who triggered the Drive Notification email. This field will
|
|
4612
|
+
* be populated if we can extract such information from the Drive Notification email. This is not the actual sender of the email, as the sender is always
|
|
4613
|
+
* comments-noreply@docs.google.com.
|
|
4614
|
+
*/
|
|
4592
4615
|
updaterToShowEmail?: string;
|
|
4593
4616
|
/** The gaia id of the updater for clients to show used for Gmail items. If the updater is an external user, the email field below should be populated. */
|
|
4594
4617
|
updaterToShowGaiaId?: string;
|
|
4595
4618
|
/**
|
|
4596
|
-
* The display name of the updater for clients to show used for Gmail items.
|
|
4597
|
-
*
|
|
4619
|
+
* The display name of the updater for clients to show used for Gmail items. For non-Drive Notification items, this field will always be populated. If the display name cannot be found
|
|
4620
|
+
* for the user, the fallback string will be the email address. For Drive Notification items, this is the name of the user who triggered the Drive notification email. This field will
|
|
4621
|
+
* be populated if we can extract such information from the Drive Notification email. If the name cannot be extracted, then the email will be the fallback string, which is used as the
|
|
4622
|
+
* display name text in the UI when needed. This is not the actual sender of the email, as the sender is always comments-noreply@docs.google.com.
|
|
4598
4623
|
*/
|
|
4599
4624
|
updaterToShowName?: string;
|
|
4600
4625
|
/** The updater for clients to show used for Dynamite Chat items. */
|
|
@@ -6065,6 +6090,12 @@ declare namespace gapi.client {
|
|
|
6065
6090
|
prettyPrint?: boolean;
|
|
6066
6091
|
/** 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. */
|
|
6067
6092
|
quotaUser?: string;
|
|
6093
|
+
/**
|
|
6094
|
+
* Update mask to control which fields to update. If update_mask is non-empty then only the fields specified in the update_mask are updated. If you specify a field in the
|
|
6095
|
+
* update_mask, but don't specify its value in the source that field will be cleared. If the update_mask is not present or empty or has the value * then all fields will be updated.
|
|
6096
|
+
* Some example field paths: name, display_name
|
|
6097
|
+
*/
|
|
6098
|
+
updateMask?: string;
|
|
6068
6099
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
6069
6100
|
upload_protocol?: string;
|
|
6070
6101
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
@@ -6095,6 +6126,12 @@ declare namespace gapi.client {
|
|
|
6095
6126
|
prettyPrint?: boolean;
|
|
6096
6127
|
/** 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. */
|
|
6097
6128
|
quotaUser?: string;
|
|
6129
|
+
/**
|
|
6130
|
+
* Update mask to control which fields to update. If update_mask is non-empty then only the fields specified in the update_mask are updated. If you specify a field in the
|
|
6131
|
+
* update_mask, but don't specify its value in the source that field will be cleared. If the update_mask is not present or empty or has the value * then all fields will be updated.
|
|
6132
|
+
* Some example field paths: name, display_name
|
|
6133
|
+
*/
|
|
6134
|
+
updateMask?: string;
|
|
6098
6135
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
6099
6136
|
upload_protocol?: string;
|
|
6100
6137
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
@@ -6322,6 +6359,12 @@ declare namespace gapi.client {
|
|
|
6322
6359
|
prettyPrint?: boolean;
|
|
6323
6360
|
/** 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. */
|
|
6324
6361
|
quotaUser?: string;
|
|
6362
|
+
/**
|
|
6363
|
+
* Update mask to control which fields to update. If update_mask is non-empty then only the fields specified in the update_mask are updated. If you specify a field in the
|
|
6364
|
+
* update_mask, but don't specify its value in the search_application then that field will be cleared. If the update_mask is not present or empty or has the value * then all fields
|
|
6365
|
+
* will be updated. Some example field paths: search_application.name, search_application.display_name
|
|
6366
|
+
*/
|
|
6367
|
+
updateMask?: string;
|
|
6325
6368
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
6326
6369
|
upload_protocol?: string;
|
|
6327
6370
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
@@ -6350,6 +6393,12 @@ declare namespace gapi.client {
|
|
|
6350
6393
|
prettyPrint?: boolean;
|
|
6351
6394
|
/** 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. */
|
|
6352
6395
|
quotaUser?: string;
|
|
6396
|
+
/**
|
|
6397
|
+
* Update mask to control which fields to update. If update_mask is non-empty then only the fields specified in the update_mask are updated. If you specify a field in the
|
|
6398
|
+
* update_mask, but don't specify its value in the search_application then that field will be cleared. If the update_mask is not present or empty or has the value * then all fields
|
|
6399
|
+
* will be updated. Some example field paths: search_application.name, search_application.display_name
|
|
6400
|
+
*/
|
|
6401
|
+
updateMask?: string;
|
|
6353
6402
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
6354
6403
|
upload_protocol?: string;
|
|
6355
6404
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
@@ -6434,6 +6483,12 @@ declare namespace gapi.client {
|
|
|
6434
6483
|
prettyPrint?: boolean;
|
|
6435
6484
|
/** 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. */
|
|
6436
6485
|
quotaUser?: string;
|
|
6486
|
+
/**
|
|
6487
|
+
* Update mask to control which fields to update. If update_mask is non-empty then only the fields specified in the update_mask are updated. If you specify a field in the
|
|
6488
|
+
* update_mask, but don't specify its value in the search_application then that field will be cleared. If the update_mask is not present or empty or has the value * then all fields
|
|
6489
|
+
* will be updated. Some example field paths: search_application.name, search_application.display_name
|
|
6490
|
+
*/
|
|
6491
|
+
updateMask?: string;
|
|
6437
6492
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
6438
6493
|
upload_protocol?: string;
|
|
6439
6494
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
@@ -6462,6 +6517,12 @@ declare namespace gapi.client {
|
|
|
6462
6517
|
prettyPrint?: boolean;
|
|
6463
6518
|
/** 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. */
|
|
6464
6519
|
quotaUser?: string;
|
|
6520
|
+
/**
|
|
6521
|
+
* Update mask to control which fields to update. If update_mask is non-empty then only the fields specified in the update_mask are updated. If you specify a field in the
|
|
6522
|
+
* update_mask, but don't specify its value in the search_application then that field will be cleared. If the update_mask is not present or empty or has the value * then all fields
|
|
6523
|
+
* will be updated. Some example field paths: search_application.name, search_application.display_name
|
|
6524
|
+
*/
|
|
6525
|
+
updateMask?: string;
|
|
6465
6526
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
6466
6527
|
upload_protocol?: string;
|
|
6467
6528
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
package/package.json
CHANGED
package/tests.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
4
4
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
5
5
|
|
|
6
|
-
// Revision:
|
|
6
|
+
// Revision: 20220927
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|
|
@@ -750,6 +750,7 @@ gapi.load('client', async () => {
|
|
|
750
750
|
await gapi.client.cloudsearch.settings.datasources.patch({
|
|
751
751
|
"debugOptions.enableDebugging": true,
|
|
752
752
|
name: "Test string",
|
|
753
|
+
updateMask: "Test string",
|
|
753
754
|
}, {
|
|
754
755
|
disableModifications: true,
|
|
755
756
|
disableServing: true,
|
|
@@ -799,6 +800,7 @@ gapi.load('client', async () => {
|
|
|
799
800
|
returnThumbnailUrls: true,
|
|
800
801
|
shortName: "Test string",
|
|
801
802
|
},
|
|
803
|
+
updateMask: "Test string",
|
|
802
804
|
});
|
|
803
805
|
/** Creates a search application. **Note:** This API requires an admin account to execute. */
|
|
804
806
|
await gapi.client.cloudsearch.settings.searchapplications.create({
|
|
@@ -899,6 +901,7 @@ gapi.load('client', async () => {
|
|
|
899
901
|
/** Updates a search application. **Note:** This API requires an admin account to execute. */
|
|
900
902
|
await gapi.client.cloudsearch.settings.searchapplications.patch({
|
|
901
903
|
name: "Test string",
|
|
904
|
+
updateMask: "Test string",
|
|
902
905
|
}, {
|
|
903
906
|
dataSourceRestrictions: [
|
|
904
907
|
{
|
|
@@ -988,6 +991,7 @@ gapi.load('client', async () => {
|
|
|
988
991
|
/** Updates a search application. **Note:** This API requires an admin account to execute. */
|
|
989
992
|
await gapi.client.cloudsearch.settings.searchapplications.update({
|
|
990
993
|
name: "Test string",
|
|
994
|
+
updateMask: "Test string",
|
|
991
995
|
}, {
|
|
992
996
|
dataSourceRestrictions: [
|
|
993
997
|
{
|