@maxim_mazurok/gapi.client.cloudsearch-v1 0.0.20220920 → 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 +57 -12
- package/package.json +1 -1
- package/tests.ts +5 -1
package/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
10
10
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
11
11
|
// Generated from: https://cloudsearch.googleapis.com/$discovery/rest?version=v1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20220927
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -1287,11 +1287,6 @@ declare namespace gapi.client {
|
|
|
1287
1287
|
moderationEnabled?: boolean;
|
|
1288
1288
|
/** Indicates whether the present lock is currently on or off. */
|
|
1289
1289
|
presentLock?: boolean;
|
|
1290
|
-
/**
|
|
1291
|
-
* 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
|
|
1292
|
-
* the Meet team.
|
|
1293
|
-
*/
|
|
1294
|
-
projectDinoEnabled?: boolean;
|
|
1295
1290
|
/** Indicates whether the reactions lock is currently on or off. */
|
|
1296
1291
|
reactionsLock?: boolean;
|
|
1297
1292
|
/** Indicates whether the video lock is currently on or off. */
|
|
@@ -3622,8 +3617,12 @@ declare namespace gapi.client {
|
|
|
3622
3617
|
appProfile?: AppsDynamiteSharedAppProfile;
|
|
3623
3618
|
/** Output only. The bot attachment state of the quoted message. Used by clients to display a bot attachment indicator in the UI. */
|
|
3624
3619
|
botAttachmentState?: string;
|
|
3620
|
+
/** Output only. Time when the quoted message was posted in microseconds. */
|
|
3621
|
+
createTimeMicros?: string;
|
|
3625
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. */
|
|
3626
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;
|
|
3627
3626
|
/**
|
|
3628
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
|
|
3629
3628
|
* message contents at a specific time on the read path. This field is populated from storage directly.
|
|
@@ -3637,7 +3636,12 @@ declare namespace gapi.client {
|
|
|
3637
3636
|
retentionSettings?: AppsDynamiteSharedRetentionSettings;
|
|
3638
3637
|
/** Output only. Snapshot of the text body of the quoted message. */
|
|
3639
3638
|
textBody?: string;
|
|
3640
|
-
/**
|
|
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. */
|
|
3641
3645
|
uploadMetadata?: UploadMetadata[];
|
|
3642
3646
|
}
|
|
3643
3647
|
interface RbacRoleProto {
|
|
@@ -4449,6 +4453,12 @@ declare namespace gapi.client {
|
|
|
4449
4453
|
/** Common debug options. */
|
|
4450
4454
|
debugOptions?: DebugOptions;
|
|
4451
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;
|
|
4452
4462
|
}
|
|
4453
4463
|
interface UpdateSchemaRequest {
|
|
4454
4464
|
/** Common debug options. */
|
|
@@ -4590,8 +4600,7 @@ declare namespace gapi.client {
|
|
|
4590
4600
|
interface UserInfo {
|
|
4591
4601
|
/**
|
|
4592
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
|
|
4593
|
-
* 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.
|
|
4594
|
-
* as the sender is always comments-noreply@docs.google.com.
|
|
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.
|
|
4595
4604
|
*/
|
|
4596
4605
|
driveNotificationAvatarUrl?: string;
|
|
4597
4606
|
/** Describes how updater_count_to_show should be used. */
|
|
@@ -4608,9 +4617,9 @@ declare namespace gapi.client {
|
|
|
4608
4617
|
updaterToShowGaiaId?: string;
|
|
4609
4618
|
/**
|
|
4610
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
|
|
4611
|
-
* for the user, the fallback string will be the email address. For Drive Notification items, this is the
|
|
4612
|
-
* be populated if we can extract such information from the Drive Notification email.
|
|
4613
|
-
* comments-noreply@docs.google.com.
|
|
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.
|
|
4614
4623
|
*/
|
|
4615
4624
|
updaterToShowName?: string;
|
|
4616
4625
|
/** The updater for clients to show used for Dynamite Chat items. */
|
|
@@ -6081,6 +6090,12 @@ declare namespace gapi.client {
|
|
|
6081
6090
|
prettyPrint?: boolean;
|
|
6082
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. */
|
|
6083
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;
|
|
6084
6099
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
6085
6100
|
upload_protocol?: string;
|
|
6086
6101
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
@@ -6111,6 +6126,12 @@ declare namespace gapi.client {
|
|
|
6111
6126
|
prettyPrint?: boolean;
|
|
6112
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. */
|
|
6113
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;
|
|
6114
6135
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
6115
6136
|
upload_protocol?: string;
|
|
6116
6137
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
@@ -6338,6 +6359,12 @@ declare namespace gapi.client {
|
|
|
6338
6359
|
prettyPrint?: boolean;
|
|
6339
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. */
|
|
6340
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;
|
|
6341
6368
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
6342
6369
|
upload_protocol?: string;
|
|
6343
6370
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
@@ -6366,6 +6393,12 @@ declare namespace gapi.client {
|
|
|
6366
6393
|
prettyPrint?: boolean;
|
|
6367
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. */
|
|
6368
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;
|
|
6369
6402
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
6370
6403
|
upload_protocol?: string;
|
|
6371
6404
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
@@ -6450,6 +6483,12 @@ declare namespace gapi.client {
|
|
|
6450
6483
|
prettyPrint?: boolean;
|
|
6451
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. */
|
|
6452
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;
|
|
6453
6492
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
6454
6493
|
upload_protocol?: string;
|
|
6455
6494
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
@@ -6478,6 +6517,12 @@ declare namespace gapi.client {
|
|
|
6478
6517
|
prettyPrint?: boolean;
|
|
6479
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. */
|
|
6480
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;
|
|
6481
6526
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
6482
6527
|
upload_protocol?: string;
|
|
6483
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
|
{
|