@maxim_mazurok/gapi.client.cloudsearch-v1 0.2.20260114 → 0.3.20260506
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 +494 -210
- package/package.json +1 -1
- package/readme.md +12 -0
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: 20260506
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -42,7 +42,14 @@ declare namespace gapi.client {
|
|
|
42
42
|
}
|
|
43
43
|
interface BackgroundColoredText {
|
|
44
44
|
/** [Optional] Color of the background. The text color can change depending on the selected background color, and the client does not have control over this. If missing, the background will be WHITE. */
|
|
45
|
-
backgroundColor?:
|
|
45
|
+
backgroundColor?:
|
|
46
|
+
| 'UNKNOWN_COLOR'
|
|
47
|
+
| 'WHITE'
|
|
48
|
+
| 'YELLOW'
|
|
49
|
+
| 'ORANGE'
|
|
50
|
+
| 'GREEN'
|
|
51
|
+
| 'BLUE'
|
|
52
|
+
| 'GREY';
|
|
46
53
|
/** [Required] The text to display. */
|
|
47
54
|
text?: string;
|
|
48
55
|
}
|
|
@@ -60,7 +67,7 @@ declare namespace gapi.client {
|
|
|
60
67
|
}
|
|
61
68
|
interface CompositeFilter {
|
|
62
69
|
/** The logic operator of the sub filter. */
|
|
63
|
-
logicOperator?:
|
|
70
|
+
logicOperator?: 'AND' | 'OR' | 'NOT';
|
|
64
71
|
/** Sub filters. */
|
|
65
72
|
subFilters?: Filter[];
|
|
66
73
|
}
|
|
@@ -76,7 +83,7 @@ declare namespace gapi.client {
|
|
|
76
83
|
}
|
|
77
84
|
interface Context {
|
|
78
85
|
/** [Optional] App where the card should be shown. If missing, the card will be shown in TOPAZ. */
|
|
79
|
-
app?:
|
|
86
|
+
app?: 'UNKNOWN_APP' | 'TOPAZ' | 'MOMA'[];
|
|
80
87
|
/** [Optional] Day of week when the card should be shown, where 0 is Monday. */
|
|
81
88
|
dayOfWeek?: number[];
|
|
82
89
|
/** [Optional] Date (in seconds since epoch) when the card should stop being shown. If missing, end_date_sec will be set to Jan 1st, 2100. */
|
|
@@ -94,9 +101,19 @@ declare namespace gapi.client {
|
|
|
94
101
|
/** [Optional] Start time in seconds, within a day, when the card should be shown if it's within [start_date_sec, end_date_sec]. If 0, the card will be shown from 12:00am on. */
|
|
95
102
|
startDayOffsetSec?: string;
|
|
96
103
|
/** [Optional] Surface where the card should be shown in. If missing, the card will be shown in any surface. */
|
|
97
|
-
surface?:
|
|
104
|
+
surface?:
|
|
105
|
+
| 'UNKNOWN_SURFACE'
|
|
106
|
+
| 'DESKTOP'
|
|
107
|
+
| 'ANDROID'
|
|
108
|
+
| 'IOS'
|
|
109
|
+
| 'MOBILE'
|
|
110
|
+
| 'ANY'[];
|
|
98
111
|
/** [Required] Type of the card (homepage, Answer or RHS). */
|
|
99
|
-
type?:
|
|
112
|
+
type?:
|
|
113
|
+
| 'UNKNOWN_CARD_TYPE'
|
|
114
|
+
| 'HOMEPAGE_CARD'
|
|
115
|
+
| 'ANSWER_CARD'
|
|
116
|
+
| 'RHS_CARD'[];
|
|
100
117
|
}
|
|
101
118
|
interface ContextAttribute {
|
|
102
119
|
/** The name of the attribute. It should not be empty. The maximum length is 32 characters. The name must start with a letter and can only contain letters (A-Z, a-z) or numbers (0-9). The name will be normalized (lower-cased) before being matched. */
|
|
@@ -226,16 +243,37 @@ declare namespace gapi.client {
|
|
|
226
243
|
values?: number[];
|
|
227
244
|
}
|
|
228
245
|
interface DriveFollowUpRestrict {
|
|
229
|
-
type?:
|
|
246
|
+
type?: 'UNSPECIFIED' | 'FOLLOWUP_SUGGESTIONS' | 'FOLLOWUP_ACTION_ITEMS';
|
|
230
247
|
}
|
|
231
248
|
interface DriveLocationRestrict {
|
|
232
|
-
type?:
|
|
249
|
+
type?: 'UNSPECIFIED' | 'TRASHED' | 'STARRED';
|
|
233
250
|
}
|
|
234
251
|
interface DriveMimeTypeRestrict {
|
|
235
|
-
type?:
|
|
252
|
+
type?:
|
|
253
|
+
| 'UNSPECIFIED'
|
|
254
|
+
| 'PDF'
|
|
255
|
+
| 'DOCUMENT'
|
|
256
|
+
| 'PRESENTATION'
|
|
257
|
+
| 'SPREADSHEET'
|
|
258
|
+
| 'FORM'
|
|
259
|
+
| 'DRAWING'
|
|
260
|
+
| 'SCRIPT'
|
|
261
|
+
| 'MAP'
|
|
262
|
+
| 'IMAGE'
|
|
263
|
+
| 'AUDIO'
|
|
264
|
+
| 'VIDEO'
|
|
265
|
+
| 'FOLDER'
|
|
266
|
+
| 'ARCHIVE'
|
|
267
|
+
| 'SITE';
|
|
236
268
|
}
|
|
237
269
|
interface DriveTimeSpanRestrict {
|
|
238
|
-
type?:
|
|
270
|
+
type?:
|
|
271
|
+
| 'UNSPECIFIED'
|
|
272
|
+
| 'TODAY'
|
|
273
|
+
| 'YESTERDAY'
|
|
274
|
+
| 'LAST_7_DAYS'
|
|
275
|
+
| 'LAST_30_DAYS'
|
|
276
|
+
| 'LAST_90_DAYS';
|
|
239
277
|
}
|
|
240
278
|
interface EmailAddress {
|
|
241
279
|
/** If the value of type is custom, this property contains the custom type string. */
|
|
@@ -259,17 +297,24 @@ declare namespace gapi.client {
|
|
|
259
297
|
phoneNumber?: string;
|
|
260
298
|
/** Phone number URL */
|
|
261
299
|
phoneUrl?: SafeUrlProto;
|
|
262
|
-
type?:
|
|
300
|
+
type?: 'UNKNOWN' | 'MOBILE' | 'OFFICE' | 'OTHER';
|
|
263
301
|
}
|
|
264
302
|
interface EnterpriseTopazSidekickAgendaEntry {
|
|
265
303
|
/** URL of the agenda item. */
|
|
266
304
|
agendaItemUrl?: string;
|
|
267
305
|
/** The chronology from the present. */
|
|
268
|
-
chronology?:
|
|
306
|
+
chronology?:
|
|
307
|
+
| 'STALE'
|
|
308
|
+
| 'ALL_DAY'
|
|
309
|
+
| 'PAST'
|
|
310
|
+
| 'RECENTLY_PAST'
|
|
311
|
+
| 'PRESENT'
|
|
312
|
+
| 'NEAR_FUTURE'
|
|
313
|
+
| 'FUTURE';
|
|
269
314
|
/** Person who created the event. */
|
|
270
315
|
creator?: EnterpriseTopazSidekickPerson;
|
|
271
316
|
/** Attendance status for the current user making the request. This is a convenience data member in order to avoid figuring out the same by iterating the invitee list above on the caller side. */
|
|
272
|
-
currentUserAttendingStatus?:
|
|
317
|
+
currentUserAttendingStatus?: 'AWAITING' | 'YES' | 'NO' | 'MAYBE';
|
|
273
318
|
/** Description of the agenda item (i.e., typically, summary in calendar event). */
|
|
274
319
|
description?: string;
|
|
275
320
|
/** Items related to the current AgendaEntry. E.g., related drive/mail/groups documents. */
|
|
@@ -330,7 +375,7 @@ declare namespace gapi.client {
|
|
|
330
375
|
/** Localized free text that describes the dates represented by the card. Currently, the card will only represent a single day. */
|
|
331
376
|
date?: string;
|
|
332
377
|
/** Represents restrictions applied to the events requested in the user's query. */
|
|
333
|
-
eventsRestrict?:
|
|
378
|
+
eventsRestrict?: 'NONE' | 'NEXT_MEETING';
|
|
334
379
|
}
|
|
335
380
|
interface EnterpriseTopazSidekickAgendaItem {
|
|
336
381
|
conflictedGroup?: EnterpriseTopazSidekickConflictingEventsCardProto;
|
|
@@ -341,7 +386,15 @@ declare namespace gapi.client {
|
|
|
341
386
|
/** Answers that have a corresponding label. */
|
|
342
387
|
labeledAnswer?: EnterpriseTopazSidekickAnswerAnswerListLabeledAnswer[];
|
|
343
388
|
/** Answer type. */
|
|
344
|
-
type?:
|
|
389
|
+
type?:
|
|
390
|
+
| 'UNKNOWN'
|
|
391
|
+
| 'PERSON_ADDRESS'
|
|
392
|
+
| 'PERSON_BIRTHDAY'
|
|
393
|
+
| 'PERSON_DEPARTMENT'
|
|
394
|
+
| 'PERSON_DESK_LOCATION'
|
|
395
|
+
| 'PERSON_EMAIL'
|
|
396
|
+
| 'PERSON_JOB_TITLE'
|
|
397
|
+
| 'PERSON_PHONE';
|
|
345
398
|
}
|
|
346
399
|
interface EnterpriseTopazSidekickAnswerAnswerListLabeledAnswer {
|
|
347
400
|
/** The free text answer. */
|
|
@@ -355,7 +408,7 @@ declare namespace gapi.client {
|
|
|
355
408
|
}
|
|
356
409
|
interface EnterpriseTopazSidekickAnswerSuggestedQueryCategory {
|
|
357
410
|
/** The query list category. */
|
|
358
|
-
category?:
|
|
411
|
+
category?: 'UNKNOWN' | 'CALENDAR' | 'DOCUMENT' | 'PEOPLE';
|
|
359
412
|
/** Whether this category is enabled. */
|
|
360
413
|
isEnabled?: boolean;
|
|
361
414
|
/** List of suggested queries to show the user. */
|
|
@@ -367,7 +420,38 @@ declare namespace gapi.client {
|
|
|
367
420
|
/** Card metadata such as chronology and render mode of the card. */
|
|
368
421
|
cardMetadata?: EnterpriseTopazSidekickCardMetadata;
|
|
369
422
|
/** Card type. */
|
|
370
|
-
cardType?:
|
|
423
|
+
cardType?:
|
|
424
|
+
| 'UNKNOWN_TYPE'
|
|
425
|
+
| 'AGENDA'
|
|
426
|
+
| 'CHANGELISTS'
|
|
427
|
+
| 'CONFLICTING_MEETINGS'
|
|
428
|
+
| 'CREATE_NOTES_FOR_MEETING'
|
|
429
|
+
| 'CREATE_NOTES_FOR_MEETING_REQUEST'
|
|
430
|
+
| 'CUSTOMER_NEWS'
|
|
431
|
+
| 'FIND_MEETING_TIME'
|
|
432
|
+
| 'NEXT_MEETING'
|
|
433
|
+
| 'PERSONALIZED_DOCS'
|
|
434
|
+
| 'TRENDING_DOCS'
|
|
435
|
+
| 'UPCOMING_TRIP'
|
|
436
|
+
| 'SUMMARY'
|
|
437
|
+
| 'MEETINGS'
|
|
438
|
+
| 'HOMEPAGE'
|
|
439
|
+
| 'SHARE_MEETING_DOCS'
|
|
440
|
+
| 'DISCOVER_PEOPLE'
|
|
441
|
+
| 'HOMEPAGE_V3'
|
|
442
|
+
| 'AGENDA_GROUP'
|
|
443
|
+
| 'WORK_IN_PROGRESS'
|
|
444
|
+
| 'GET_AND_KEEP_AHEAD'
|
|
445
|
+
| 'GENERIC_ANSWER_CARD'
|
|
446
|
+
| 'THIRD_PARTY_ANSWER_CARD'
|
|
447
|
+
| 'DOMAIN_TRENDING_DOCS'
|
|
448
|
+
| 'TEAM_TRENDING_DOCS'
|
|
449
|
+
| 'DOCUMENT_LIST_ANSWER_CARD'
|
|
450
|
+
| 'SUGGESTED_QUERY_ANSWER_CARD'
|
|
451
|
+
| 'PERSON_ANSWER_CARD'
|
|
452
|
+
| 'RELATED_PEOPLE_ANSWER_CARD'
|
|
453
|
+
| 'PERSON_KNOWLEDGE_CARD'
|
|
454
|
+
| 'PEOPLE_SEARCH_PROMOTION_CARD';
|
|
371
455
|
/** Conflicting events card. */
|
|
372
456
|
conflictingMeetingsCard?: EnterpriseTopazSidekickConflictingEventsCardProto;
|
|
373
457
|
/** Answer card for documents that are applicable to the current query. */
|
|
@@ -411,11 +495,17 @@ declare namespace gapi.client {
|
|
|
411
495
|
}
|
|
412
496
|
interface EnterpriseTopazSidekickCardMetadata {
|
|
413
497
|
/** Declares a preference for how this card should be packed in MSCR. All cards in a response must correspond to a single category. As a result, cards may be dropped from the response if this field is set. Any card that does not match the category of the card with the highest priority in the response will be dropped. */
|
|
414
|
-
cardCategory?:
|
|
498
|
+
cardCategory?: 'DEFAULT' | 'ANSWER' | 'KNOWLEDGE' | 'HOMEPAGE';
|
|
415
499
|
/** An ID to identify the card and match actions to it. Be thoughtful of new card IDs since actions will be associated to that ID. E.g., if two card IDs collide, the system will think that the actions have been applied to the same card. Similarly, if EAS can return multiple cards of the same type (e.g., Meetings), ensure that the card_id identifies a given instance of the card so that, e.g., dismissals only affect the dismissed card as opposed to affecting all meeting cards. */
|
|
416
500
|
cardId?: string;
|
|
417
501
|
/** Chronology. */
|
|
418
|
-
chronology?:
|
|
502
|
+
chronology?:
|
|
503
|
+
| 'UNKNOWN'
|
|
504
|
+
| 'PAST'
|
|
505
|
+
| 'RECENTLY_PAST'
|
|
506
|
+
| 'PRESENT'
|
|
507
|
+
| 'NEAR_FUTURE'
|
|
508
|
+
| 'FUTURE';
|
|
419
509
|
/** Debug info (only reported if request's debug_level > 0). */
|
|
420
510
|
debugInfo?: string;
|
|
421
511
|
/** Information about the NLP done to get the card. */
|
|
@@ -423,7 +513,7 @@ declare namespace gapi.client {
|
|
|
423
513
|
/** Ranking params. */
|
|
424
514
|
rankingParams?: EnterpriseTopazSidekickRankingParams;
|
|
425
515
|
/** Render mode. */
|
|
426
|
-
renderMode?:
|
|
516
|
+
renderMode?: 'UNKNOWN_RENDER' | 'COLLAPSED' | 'EXPANDED';
|
|
427
517
|
}
|
|
428
518
|
interface EnterpriseTopazSidekickCommonDebugInfo {
|
|
429
519
|
/** Debug message. */
|
|
@@ -431,7 +521,7 @@ declare namespace gapi.client {
|
|
|
431
521
|
}
|
|
432
522
|
interface EnterpriseTopazSidekickCommonDocument {
|
|
433
523
|
/** Access type, i.e., whether the user has access to the document or not. */
|
|
434
|
-
accessType?:
|
|
524
|
+
accessType?: 'UNKNOWN_ACCESS' | 'ALLOWED' | 'NOT_ALLOWED';
|
|
435
525
|
/** Information for debugging. */
|
|
436
526
|
debugInfo?: EnterpriseTopazSidekickCommonDebugInfo;
|
|
437
527
|
/** Document id. */
|
|
@@ -445,9 +535,27 @@ declare namespace gapi.client {
|
|
|
445
535
|
/** MIME type */
|
|
446
536
|
mimeType?: string;
|
|
447
537
|
/** Document provenance. */
|
|
448
|
-
provenance?:
|
|
538
|
+
provenance?:
|
|
539
|
+
| 'UNKNOWN_PROVENANCE'
|
|
540
|
+
| 'CALENDAR_DESCRIPTION'
|
|
541
|
+
| 'CALENDAR_ATTACHMENT'
|
|
542
|
+
| 'MINED'
|
|
543
|
+
| 'CALENDAR_ASSIST_ATTACHMENT';
|
|
449
544
|
/** Justification of why this document is being returned. */
|
|
450
|
-
reason?:
|
|
545
|
+
reason?:
|
|
546
|
+
| 'UNKNOWN'
|
|
547
|
+
| 'TRENDING_IN_COLLABORATORS'
|
|
548
|
+
| 'TRENDING_IN_DOMAIN'
|
|
549
|
+
| 'FREQUENTLY_VIEWED'
|
|
550
|
+
| 'FREQUENTLY_EDITED'
|
|
551
|
+
| 'NEW_UPDATES'
|
|
552
|
+
| 'NEW_COMMENTS'
|
|
553
|
+
| 'EVENT_DESCRIPTION'
|
|
554
|
+
| 'EVENT_ATTACHMENT'
|
|
555
|
+
| 'EVENT_METADATA_ATTACHMENT'
|
|
556
|
+
| 'MINED_DOCUMENT'
|
|
557
|
+
| 'NEW_MENTIONS'
|
|
558
|
+
| 'NEW_SHARES';
|
|
451
559
|
/** A sampling of the text from the document. */
|
|
452
560
|
snippet?: string;
|
|
453
561
|
/** Thumbnail URL. */
|
|
@@ -455,7 +563,36 @@ declare namespace gapi.client {
|
|
|
455
563
|
/** Title of the document. */
|
|
456
564
|
title?: string;
|
|
457
565
|
/** Type of the document. */
|
|
458
|
-
type?:
|
|
566
|
+
type?:
|
|
567
|
+
| 'UNKNOWN'
|
|
568
|
+
| 'DOCUMENT'
|
|
569
|
+
| 'PRESENTATION'
|
|
570
|
+
| 'SPREADSHEET'
|
|
571
|
+
| 'PDF'
|
|
572
|
+
| 'IMAGE'
|
|
573
|
+
| 'BINARY_BLOB'
|
|
574
|
+
| 'FUSION_TABLE'
|
|
575
|
+
| 'FOLDER'
|
|
576
|
+
| 'DRAWING'
|
|
577
|
+
| 'VIDEO'
|
|
578
|
+
| 'FORM'
|
|
579
|
+
| 'LINK_URL'
|
|
580
|
+
| 'LINK_GO'
|
|
581
|
+
| 'LINK_GOO_GL'
|
|
582
|
+
| 'LINK_BIT_LY'
|
|
583
|
+
| 'LINK_GMAIL'
|
|
584
|
+
| 'LINK_MAILTO'
|
|
585
|
+
| 'VIDEO_YOUTUBE'
|
|
586
|
+
| 'VIDEO_LIVE'
|
|
587
|
+
| 'GROUPS'
|
|
588
|
+
| 'NEWS'
|
|
589
|
+
| 'SITES'
|
|
590
|
+
| 'HANGOUT'
|
|
591
|
+
| 'AUDIO'
|
|
592
|
+
| 'MS_WORD'
|
|
593
|
+
| 'MS_POWERPOINT'
|
|
594
|
+
| 'MS_EXCEL'
|
|
595
|
+
| 'MS_OUTLOOK';
|
|
459
596
|
/** Absolute URL of the document. */
|
|
460
597
|
url?: string;
|
|
461
598
|
}
|
|
@@ -477,13 +614,33 @@ declare namespace gapi.client {
|
|
|
477
614
|
/** The owner of the document. */
|
|
478
615
|
owner?: EnterpriseTopazSidekickCommonPerson;
|
|
479
616
|
/** ACL scope of the document which identifies the sharing status of the doc (e.g., limited, shared with link, team drive, ...). */
|
|
480
|
-
scope?:
|
|
617
|
+
scope?:
|
|
618
|
+
| 'UNKNOWN_DOCUMENT_SCOPE'
|
|
619
|
+
| 'LIMITED'
|
|
620
|
+
| 'DASHER_DOMAIN_WITH_LINK'
|
|
621
|
+
| 'DASHER_DOMAIN'
|
|
622
|
+
| 'PUBLIC_WITH_LINK'
|
|
623
|
+
| 'PUBLIC'
|
|
624
|
+
| 'TEAM_DRIVE';
|
|
481
625
|
}
|
|
482
626
|
interface EnterpriseTopazSidekickCommonDocumentJustification {
|
|
483
627
|
/** A locale aware message that explains why this document was selected. */
|
|
484
628
|
justification?: string;
|
|
485
629
|
/** Reason on why the document is selected. Populate for trending documents. */
|
|
486
|
-
reason?:
|
|
630
|
+
reason?:
|
|
631
|
+
| 'UNKNOWN'
|
|
632
|
+
| 'TRENDING_IN_COLLABORATORS'
|
|
633
|
+
| 'TRENDING_IN_DOMAIN'
|
|
634
|
+
| 'FREQUENTLY_VIEWED'
|
|
635
|
+
| 'FREQUENTLY_EDITED'
|
|
636
|
+
| 'NEW_UPDATES'
|
|
637
|
+
| 'NEW_COMMENTS'
|
|
638
|
+
| 'EVENT_DESCRIPTION'
|
|
639
|
+
| 'EVENT_ATTACHMENT'
|
|
640
|
+
| 'EVENT_METADATA_ATTACHMENT'
|
|
641
|
+
| 'MINED_DOCUMENT'
|
|
642
|
+
| 'NEW_MENTIONS'
|
|
643
|
+
| 'NEW_SHARES';
|
|
487
644
|
}
|
|
488
645
|
interface EnterpriseTopazSidekickCommonPerson {
|
|
489
646
|
/** The birthday. */
|
|
@@ -531,7 +688,7 @@ declare namespace gapi.client {
|
|
|
531
688
|
}
|
|
532
689
|
interface EnterpriseTopazSidekickDocumentGroup {
|
|
533
690
|
/** Document group type */
|
|
534
|
-
groupType?:
|
|
691
|
+
groupType?: 'UNKNOWN_TYPE' | 'ALL';
|
|
535
692
|
/** The list of corresponding documents. */
|
|
536
693
|
personalizedDocument?: EnterpriseTopazSidekickCommonDocument[];
|
|
537
694
|
}
|
|
@@ -539,14 +696,30 @@ declare namespace gapi.client {
|
|
|
539
696
|
documents?: EnterpriseTopazSidekickDocumentPerCategoryListDocumentPerCategoryListEntry[];
|
|
540
697
|
/** Localized message explaining how the documents were derived (e.g. from the last 30 days activity). This field is optional. */
|
|
541
698
|
helpMessage?: string;
|
|
542
|
-
listType?:
|
|
699
|
+
listType?:
|
|
700
|
+
| 'UNKNOWN_LIST_TYPE'
|
|
701
|
+
| 'MENTIONS'
|
|
702
|
+
| 'SHARES'
|
|
703
|
+
| 'NEEDS_ATTENTION'
|
|
704
|
+
| 'VIEWS'
|
|
705
|
+
| 'EDITS';
|
|
543
706
|
/** Description of the types of documents present in the list. */
|
|
544
707
|
listTypeDescription?: string;
|
|
545
708
|
/** Response message in case no documents are present in the card. */
|
|
546
709
|
responseMessage?: string;
|
|
547
710
|
}
|
|
548
711
|
interface EnterpriseTopazSidekickDocumentPerCategoryListDocumentPerCategoryListEntry {
|
|
549
|
-
category?:
|
|
712
|
+
category?:
|
|
713
|
+
| 'UNKNOWN_DOCUMENT'
|
|
714
|
+
| 'ACTIONABLE'
|
|
715
|
+
| 'VIEWED'
|
|
716
|
+
| 'REPLIED'
|
|
717
|
+
| 'MENTION_VIEWED'
|
|
718
|
+
| 'MENTION_REPLIED'
|
|
719
|
+
| 'MENTION_NOT_VIEWED'
|
|
720
|
+
| 'SHARED_AND_VIEWED'
|
|
721
|
+
| 'SHARED_NOT_VIEWED'
|
|
722
|
+
| 'EDITED';
|
|
550
723
|
document?: EnterpriseTopazSidekickCommonDocument;
|
|
551
724
|
/** Reason this document was selected. */
|
|
552
725
|
rationale?: string;
|
|
@@ -598,7 +771,7 @@ declare namespace gapi.client {
|
|
|
598
771
|
/** The event to request meeting notes creation */
|
|
599
772
|
event?: EnterpriseTopazSidekickAgendaEntry;
|
|
600
773
|
/** The reason why create-meeting-notes failed. */
|
|
601
|
-
reason?:
|
|
774
|
+
reason?: 'NONE' | 'NOT_OWNER' | 'UNKNOWN';
|
|
602
775
|
}
|
|
603
776
|
interface EnterpriseTopazSidekickMeetingNotesCardProto {
|
|
604
777
|
/** The event to request meeting notes creation. */
|
|
@@ -612,7 +785,7 @@ declare namespace gapi.client {
|
|
|
612
785
|
}
|
|
613
786
|
interface EnterpriseTopazSidekickMeetingNotesCardRequest {
|
|
614
787
|
/** Who are the meeting notes created for. */
|
|
615
|
-
canCreateFor?:
|
|
788
|
+
canCreateFor?: 'UNKNOWN' | 'MYSELF' | 'ALL_ATTENDEES'[];
|
|
616
789
|
/** The error and reason if known error occured. */
|
|
617
790
|
error?: EnterpriseTopazSidekickMeetingNotesCardError;
|
|
618
791
|
/** The event to request meeting notes creation */
|
|
@@ -648,7 +821,11 @@ declare namespace gapi.client {
|
|
|
648
821
|
/** The header to display for the card. */
|
|
649
822
|
header?: EnterpriseTopazSidekickPeopleAnswerPeopleAnswerCardHeader;
|
|
650
823
|
/** The response status. */
|
|
651
|
-
responseStatus?:
|
|
824
|
+
responseStatus?:
|
|
825
|
+
| 'UNKNOWN'
|
|
826
|
+
| 'SUCCESS'
|
|
827
|
+
| 'MISSING_PERSON'
|
|
828
|
+
| 'MISSING_DATA';
|
|
652
829
|
/** Localized user friendly message to display to the user in the case of missing data or an error. */
|
|
653
830
|
statusMessage?: string;
|
|
654
831
|
/** The profile of the person that was the subject of the query. */
|
|
@@ -662,9 +839,13 @@ declare namespace gapi.client {
|
|
|
662
839
|
/** A list of people that are related to the query subject. */
|
|
663
840
|
relatedPeople?: EnterpriseTopazSidekickCommonPerson[];
|
|
664
841
|
/** Defines the type of relation the list of people have with the subject of the card. */
|
|
665
|
-
relationType?:
|
|
842
|
+
relationType?: 'UNKNOWN' | 'DIRECT_REPORTS' | 'MANAGER' | 'PEERS';
|
|
666
843
|
/** The response status. */
|
|
667
|
-
responseStatus?:
|
|
844
|
+
responseStatus?:
|
|
845
|
+
| 'UNKNOWN'
|
|
846
|
+
| 'SUCCESS'
|
|
847
|
+
| 'MISSING_PERSON'
|
|
848
|
+
| 'MISSING_DATA';
|
|
668
849
|
/** Localized user friendly message to display to the user in the case of missing data or an error. */
|
|
669
850
|
statusMessage?: string;
|
|
670
851
|
/** The profile of the person that was the subject of the query. */
|
|
@@ -676,9 +857,9 @@ declare namespace gapi.client {
|
|
|
676
857
|
}
|
|
677
858
|
interface EnterpriseTopazSidekickPerson {
|
|
678
859
|
/** The level of affinity this person has with the requesting user. */
|
|
679
|
-
affinityLevel?:
|
|
860
|
+
affinityLevel?: 'UNKNOWN' | 'LOW' | 'MEDIUM' | 'HIGH';
|
|
680
861
|
/** Attendance status of the person when included in a meeting event. */
|
|
681
|
-
attendingStatus?:
|
|
862
|
+
attendingStatus?: 'AWAITING' | 'YES' | 'NO' | 'MAYBE';
|
|
682
863
|
/** Email. */
|
|
683
864
|
email?: string;
|
|
684
865
|
/** Gaia id. */
|
|
@@ -705,13 +886,19 @@ declare namespace gapi.client {
|
|
|
705
886
|
/** Related people. */
|
|
706
887
|
relatedPerson?: EnterpriseTopazSidekickCommonPerson[];
|
|
707
888
|
/** Relation type. */
|
|
708
|
-
relation?:
|
|
889
|
+
relation?: 'UNKNOWN' | 'MANAGER' | 'DIRECT_REPORT';
|
|
709
890
|
}
|
|
710
891
|
interface EnterpriseTopazSidekickRankingParams {
|
|
711
892
|
/** The end-time that this object will expect to occur. If the type is marked as FIXED, then this end-time will persist after bidding. If the type is marked as FLEXIBLE, this field is NOT expected to be filled and will be filled in after it has won a bid. Expected to be set when type is set to FIXED. */
|
|
712
893
|
endTimeMs?: string;
|
|
713
894
|
/** The priority to determine between objects that have the same start_time_ms The lower-value of priority == ranked higher. Max-priority = 0. Expected to be set for all types. */
|
|
714
|
-
priority?:
|
|
895
|
+
priority?:
|
|
896
|
+
| 'UNKNOWN'
|
|
897
|
+
| 'CRITICAL'
|
|
898
|
+
| 'IMPORTANT'
|
|
899
|
+
| 'HIGH'
|
|
900
|
+
| 'NORMAL'
|
|
901
|
+
| 'BEST_EFFORT';
|
|
715
902
|
/** The score of the card to be used to break priority-ties */
|
|
716
903
|
score?: number;
|
|
717
904
|
/** The span that this card will take in the stream Expected to be set when type is set to FLEXIBLE. */
|
|
@@ -719,7 +906,7 @@ declare namespace gapi.client {
|
|
|
719
906
|
/** The start-time that this object will bid-for If the type is marked as FIXED, then this start-time will persist after bidding. If the type is marked as FLEXIBLE, then it will occur at the given time or sometime after the requested time. Expected to be set for all types. */
|
|
720
907
|
startTimeMs?: string;
|
|
721
908
|
/** The packing type of this object. */
|
|
722
|
-
type?:
|
|
909
|
+
type?: 'FIXED' | 'FLEXIBLE';
|
|
723
910
|
}
|
|
724
911
|
interface EnterpriseTopazSidekickRecentDocumentsCardProto {
|
|
725
912
|
document?: EnterpriseTopazSidekickCommonDocument[];
|
|
@@ -760,7 +947,7 @@ declare namespace gapi.client {
|
|
|
760
947
|
/** If set, describes how the enum should be used as a search operator. */
|
|
761
948
|
operatorOptions?: EnumOperatorOptions;
|
|
762
949
|
/** Used to specify the ordered ranking for the enumeration that determines how the integer values provided in the possible EnumValuePairs are used to rank results. If specified, integer values must be provided for all possible EnumValuePair values given for this property. Can only be used if isRepeatable is false. */
|
|
763
|
-
orderedRanking?:
|
|
950
|
+
orderedRanking?: 'NO_ORDER' | 'ASCENDING' | 'DESCENDING';
|
|
764
951
|
/** The list of possible values for the enumeration property. All EnumValuePairs must provide a string value. If you specify an integer value for one EnumValuePair, then all possible EnumValuePairs must provide an integer value. Both the string value and integer value must be unique over all possible values. Once set, possible values cannot be removed or modified. If you supply an ordered ranking and think you might insert additional enum values in the future, leave gaps in the initial integer values to allow adding a value in between previously registered values. The maximum number of elements is 100. */
|
|
765
952
|
possibleValues?: EnumValuePair[];
|
|
766
953
|
}
|
|
@@ -910,7 +1097,7 @@ declare namespace gapi.client {
|
|
|
910
1097
|
/** The name of the item. Format: datasources/{source_id}/items/{item_id} */
|
|
911
1098
|
item?: Item;
|
|
912
1099
|
/** Required. The RequestMode for this request. */
|
|
913
|
-
mode?:
|
|
1100
|
+
mode?: 'UNSPECIFIED' | 'SYNCHRONOUS' | 'ASYNCHRONOUS';
|
|
914
1101
|
}
|
|
915
1102
|
interface InitializeCustomerRequest {}
|
|
916
1103
|
interface IntegerFacetingOptions {
|
|
@@ -935,7 +1122,7 @@ declare namespace gapi.client {
|
|
|
935
1122
|
/** If set, describes how the integer should be used as a search operator. */
|
|
936
1123
|
operatorOptions?: IntegerOperatorOptions;
|
|
937
1124
|
/** Used to specify the ordered ranking for the integer. Can only be used if isRepeatable is false. */
|
|
938
|
-
orderedRanking?:
|
|
1125
|
+
orderedRanking?: 'NO_ORDER' | 'ASCENDING' | 'DESCENDING';
|
|
939
1126
|
}
|
|
940
1127
|
interface IntegerValues {
|
|
941
1128
|
values?: string[];
|
|
@@ -945,7 +1132,7 @@ declare namespace gapi.client {
|
|
|
945
1132
|
interactionTime?: string;
|
|
946
1133
|
/** The user that acted on the item. */
|
|
947
1134
|
principal?: Principal;
|
|
948
|
-
type?:
|
|
1135
|
+
type?: 'UNSPECIFIED' | 'VIEW' | 'EDIT';
|
|
949
1136
|
}
|
|
950
1137
|
interface Item {
|
|
951
1138
|
/** Access control list for this item. */
|
|
@@ -953,7 +1140,11 @@ declare namespace gapi.client {
|
|
|
953
1140
|
/** Item content to be indexed and made text searchable. */
|
|
954
1141
|
content?: ItemContent;
|
|
955
1142
|
/** The type for this item. */
|
|
956
|
-
itemType?:
|
|
1143
|
+
itemType?:
|
|
1144
|
+
| 'UNSPECIFIED'
|
|
1145
|
+
| 'CONTENT_ITEM'
|
|
1146
|
+
| 'CONTAINER_ITEM'
|
|
1147
|
+
| 'VIRTUAL_CONTAINER_ITEM';
|
|
957
1148
|
/** The metadata information. */
|
|
958
1149
|
metadata?: ItemMetadata;
|
|
959
1150
|
/** The name of the Item. Format: datasources/{source_id}/items/{item_id} This is a required field. The maximum length is 1536 characters. */
|
|
@@ -971,7 +1162,11 @@ declare namespace gapi.client {
|
|
|
971
1162
|
}
|
|
972
1163
|
interface ItemAcl {
|
|
973
1164
|
/** Sets the type of access rules to apply when an item inherits its ACL from a parent. This should always be set in tandem with the inheritAclFrom field. Also, when the inheritAclFrom field is set, this field should be set to a valid AclInheritanceType. */
|
|
974
|
-
aclInheritanceType?:
|
|
1165
|
+
aclInheritanceType?:
|
|
1166
|
+
| 'NOT_APPLICABLE'
|
|
1167
|
+
| 'CHILD_OVERRIDE'
|
|
1168
|
+
| 'PARENT_OVERRIDE'
|
|
1169
|
+
| 'BOTH_PERMIT';
|
|
975
1170
|
/** List of principals who are explicitly denied access to the item in search results. While principals are denied access by default, use denied readers to handle exceptions and override the list allowed readers. The maximum number of elements is 100. */
|
|
976
1171
|
deniedReaders?: Principal[];
|
|
977
1172
|
/** The name of the item to inherit the Access Permission List (ACL) from. Note: ACL inheritance *only* provides access permissions to child items and does not define structural relationships, nor does it provide convenient ways to delete large groups of items. Deleting an ACL parent from the index only alters the access permissions of child items that reference the parent in the inheritAclFrom field. The item is still in the index, but may not visible in search results. By contrast, deletion of a container item also deletes all items that reference the container via the containerName field. The maximum length for this field is 1536 characters. */
|
|
@@ -984,7 +1179,7 @@ declare namespace gapi.client {
|
|
|
984
1179
|
interface ItemContent {
|
|
985
1180
|
/** Upload reference ID of a previously uploaded content via write method. */
|
|
986
1181
|
contentDataRef?: UploadItemRef;
|
|
987
|
-
contentFormat?:
|
|
1182
|
+
contentFormat?: 'UNSPECIFIED' | 'HTML' | 'TEXT' | 'RAW';
|
|
988
1183
|
/** Hashing info calculated and provided by the API client for content. Can be used with the items.push method to calculate modified state. The maximum length is 2048 characters. */
|
|
989
1184
|
hash?: string;
|
|
990
1185
|
/** Content that is supplied inlined within the update method. The maximum length is 102400 bytes (100 KiB). */
|
|
@@ -996,7 +1191,12 @@ declare namespace gapi.client {
|
|
|
996
1191
|
/** Number of items matching the status code for which billing is done. This excludes virtual container items from the total count. This count would not be applicable for items with ERROR or NEW_ITEM status code. */
|
|
997
1192
|
indexedItemsCount?: string;
|
|
998
1193
|
/** Status of the items. */
|
|
999
|
-
statusCode?:
|
|
1194
|
+
statusCode?:
|
|
1195
|
+
| 'CODE_UNSPECIFIED'
|
|
1196
|
+
| 'ERROR'
|
|
1197
|
+
| 'MODIFIED'
|
|
1198
|
+
| 'NEW_ITEM'
|
|
1199
|
+
| 'ACCEPTED';
|
|
1000
1200
|
}
|
|
1001
1201
|
interface ItemMetadata {
|
|
1002
1202
|
/** The name of the container for this item. Deletion of the container item leads to automatic deletion of this item. Note: ACLs are not inherited from a container item. To provide ACL inheritance for an item, use the inheritAclFrom field. The maximum length is 1536 characters. */
|
|
@@ -1028,7 +1228,12 @@ declare namespace gapi.client {
|
|
|
1028
1228
|
}
|
|
1029
1229
|
interface ItemStatus {
|
|
1030
1230
|
/** Status code. */
|
|
1031
|
-
code?:
|
|
1231
|
+
code?:
|
|
1232
|
+
| 'CODE_UNSPECIFIED'
|
|
1233
|
+
| 'ERROR'
|
|
1234
|
+
| 'MODIFIED'
|
|
1235
|
+
| 'NEW_ITEM'
|
|
1236
|
+
| 'ACCEPTED';
|
|
1032
1237
|
/** Error details in case the item is in ERROR state. */
|
|
1033
1238
|
processingErrors?: ProcessingError[];
|
|
1034
1239
|
/** Repository error reported by connector. */
|
|
@@ -1217,7 +1422,11 @@ declare namespace gapi.client {
|
|
|
1217
1422
|
admins?: PersonCore[];
|
|
1218
1423
|
/** People the profile owner is an admin to. Note that not all fields of these PersonCores will be set, in particular, relationships will be empty. */
|
|
1219
1424
|
adminTo?: PersonCore[];
|
|
1220
|
-
availabilityStatus?:
|
|
1425
|
+
availabilityStatus?:
|
|
1426
|
+
| 'UNKNOWN'
|
|
1427
|
+
| 'OUT_OF_OFFICE'
|
|
1428
|
+
| 'OUTSIDE_WORKING_HOURS'
|
|
1429
|
+
| 'AVAILABLE';
|
|
1221
1430
|
/** Person birthday. */
|
|
1222
1431
|
birthday?: Date;
|
|
1223
1432
|
/** The URL to open the profile owner's primary calendar. */
|
|
@@ -1282,7 +1491,7 @@ declare namespace gapi.client {
|
|
|
1282
1491
|
interface PhoneNumber {
|
|
1283
1492
|
/** The phone number of the person. */
|
|
1284
1493
|
phoneNumber?: string;
|
|
1285
|
-
type?:
|
|
1494
|
+
type?: 'OTHER' | 'MOBILE' | 'OFFICE';
|
|
1286
1495
|
}
|
|
1287
1496
|
interface Photo {
|
|
1288
1497
|
/** The URL of the photo. */
|
|
@@ -1298,7 +1507,12 @@ declare namespace gapi.client {
|
|
|
1298
1507
|
/** Queue name to fetch items from. If unspecified, PollItems will fetch from 'default' queue. The maximum length is 100 characters. */
|
|
1299
1508
|
queue?: string;
|
|
1300
1509
|
/** Limit the items polled to the ones with these statuses. */
|
|
1301
|
-
statusCodes?:
|
|
1510
|
+
statusCodes?:
|
|
1511
|
+
| 'CODE_UNSPECIFIED'
|
|
1512
|
+
| 'ERROR'
|
|
1513
|
+
| 'MODIFIED'
|
|
1514
|
+
| 'NEW_ITEM'
|
|
1515
|
+
| 'ACCEPTED'[];
|
|
1302
1516
|
}
|
|
1303
1517
|
interface PollItemsResponse {
|
|
1304
1518
|
/** Set of items from the queue available for connector to process. These items have the following subset of fields populated: version metadata.hash structured_data.hash content.hash payload status queue */
|
|
@@ -1314,7 +1528,12 @@ declare namespace gapi.client {
|
|
|
1314
1528
|
}
|
|
1315
1529
|
interface ProcessingError {
|
|
1316
1530
|
/** Error code indicating the nature of the error. */
|
|
1317
|
-
code?:
|
|
1531
|
+
code?:
|
|
1532
|
+
| 'PROCESSING_ERROR_CODE_UNSPECIFIED'
|
|
1533
|
+
| 'MALFORMED_REQUEST'
|
|
1534
|
+
| 'UNSUPPORTED_CONTENT_FORMAT'
|
|
1535
|
+
| 'INDIRECT_BROKEN_ACL'
|
|
1536
|
+
| 'ACL_CYCLE';
|
|
1318
1537
|
/** The description of the error. */
|
|
1319
1538
|
errorMessage?: string;
|
|
1320
1539
|
/** In case the item fields are invalid, this field contains the details about the validation errors. */
|
|
@@ -1365,7 +1584,12 @@ declare namespace gapi.client {
|
|
|
1365
1584
|
/** Structured data hash of the item according to the repository. If specified, this is used to determine how to modify this item's status. Setting this field and the type field results in argument error. The maximum length is 2048 characters. */
|
|
1366
1585
|
structuredDataHash?: string;
|
|
1367
1586
|
/** The type of the push operation that defines the push behavior. */
|
|
1368
|
-
type?:
|
|
1587
|
+
type?:
|
|
1588
|
+
| 'UNSPECIFIED'
|
|
1589
|
+
| 'MODIFIED'
|
|
1590
|
+
| 'NOT_MODIFIED'
|
|
1591
|
+
| 'REPOSITORY_ERROR'
|
|
1592
|
+
| 'REQUEUE';
|
|
1369
1593
|
}
|
|
1370
1594
|
interface PushItemRequest {
|
|
1371
1595
|
/** The name of connector making this call. Format: datasources/{source_id}/connectors/{ID} */
|
|
@@ -1385,7 +1609,7 @@ declare namespace gapi.client {
|
|
|
1385
1609
|
statusCode?: number;
|
|
1386
1610
|
}
|
|
1387
1611
|
interface QueryInterpretation {
|
|
1388
|
-
interpretationType?:
|
|
1612
|
+
interpretationType?: 'NONE' | 'BLEND' | 'REPLACE';
|
|
1389
1613
|
/** The interpretation of the query used in search. For example, queries with natural language intent like "email from john" will be interpreted as "from:john source:mail". This field will not be filled when the reason is NOT_ENOUGH_RESULTS_FOUND_FOR_USER_QUERY. */
|
|
1390
1614
|
interpretedQuery?: string;
|
|
1391
1615
|
/** The actual number of results returned by the interpreted query. */
|
|
@@ -1393,7 +1617,10 @@ declare namespace gapi.client {
|
|
|
1393
1617
|
/** The estimated number of results returned by the interpreted query. */
|
|
1394
1618
|
interpretedQueryEstimatedResultCount?: string;
|
|
1395
1619
|
/** The reason for interpretation of the query. This field will not be UNSPECIFIED if the interpretation type is not NONE. */
|
|
1396
|
-
reason?:
|
|
1620
|
+
reason?:
|
|
1621
|
+
| 'UNSPECIFIED'
|
|
1622
|
+
| 'QUERY_HAS_NATURAL_LANGUAGE_INTENT'
|
|
1623
|
+
| 'NOT_ENOUGH_RESULTS_FOUND_FOR_USER_QUERY';
|
|
1397
1624
|
}
|
|
1398
1625
|
interface QueryInterpretationConfig {
|
|
1399
1626
|
/** Set this flag to disable supplemental results retrieval, setting a flag here will not retrieve supplemental results for queries associated with a given search application. If this flag is set to True, it will take precedence over the option set at Query level. For the default value of False, query level flag will set the correct interpretation for supplemental results. */
|
|
@@ -1437,7 +1664,16 @@ declare namespace gapi.client {
|
|
|
1437
1664
|
/** The name of the operator. */
|
|
1438
1665
|
operatorName?: string;
|
|
1439
1666
|
/** The type of the operator. */
|
|
1440
|
-
type?:
|
|
1667
|
+
type?:
|
|
1668
|
+
| 'UNKNOWN'
|
|
1669
|
+
| 'INTEGER'
|
|
1670
|
+
| 'DOUBLE'
|
|
1671
|
+
| 'TIMESTAMP'
|
|
1672
|
+
| 'BOOLEAN'
|
|
1673
|
+
| 'ENUM'
|
|
1674
|
+
| 'DATE'
|
|
1675
|
+
| 'TEXT'
|
|
1676
|
+
| 'HTML';
|
|
1441
1677
|
}
|
|
1442
1678
|
interface QuerySource {
|
|
1443
1679
|
/** Display name of the data source. */
|
|
@@ -1449,7 +1685,17 @@ declare namespace gapi.client {
|
|
|
1449
1685
|
/** The name of the source */
|
|
1450
1686
|
source?: Source;
|
|
1451
1687
|
}
|
|
1452
|
-
interface QuerySuggestion {
|
|
1688
|
+
interface QuerySuggestion {
|
|
1689
|
+
/** Last query time of the suggestion for query history suggestions. */
|
|
1690
|
+
lastQueryTime?: string;
|
|
1691
|
+
/** Source corpus of the suggestion. */
|
|
1692
|
+
sourceCorpus?:
|
|
1693
|
+
| 'SOURCE_CORPUS_UNSPECIFIED'
|
|
1694
|
+
| 'GMAIL'
|
|
1695
|
+
| 'DRIVE'
|
|
1696
|
+
| 'CHAT'
|
|
1697
|
+
| 'CALENDAR';
|
|
1698
|
+
}
|
|
1453
1699
|
interface RemoveActivityRequest {
|
|
1454
1700
|
/** Request options, such as the search application and clientId. */
|
|
1455
1701
|
requestOptions?: RequestOptions;
|
|
@@ -1463,9 +1709,21 @@ declare namespace gapi.client {
|
|
|
1463
1709
|
/** Error codes. Matches the definition of HTTP status codes. */
|
|
1464
1710
|
httpStatusCode?: number;
|
|
1465
1711
|
/** The type of error. */
|
|
1466
|
-
type?:
|
|
1712
|
+
type?:
|
|
1713
|
+
| 'UNKNOWN'
|
|
1714
|
+
| 'NETWORK_ERROR'
|
|
1715
|
+
| 'DNS_ERROR'
|
|
1716
|
+
| 'CONNECTION_ERROR'
|
|
1717
|
+
| 'AUTHENTICATION_ERROR'
|
|
1718
|
+
| 'AUTHORIZATION_ERROR'
|
|
1719
|
+
| 'SERVER_ERROR'
|
|
1720
|
+
| 'QUOTA_EXCEEDED'
|
|
1721
|
+
| 'SERVICE_UNAVAILABLE'
|
|
1722
|
+
| 'CLIENT_ERROR';
|
|
1467
1723
|
}
|
|
1468
1724
|
interface RequestOptions {
|
|
1725
|
+
/** The BCP-47 language code, such as "pt" or "en". It represents the user's preferred Display Language. */
|
|
1726
|
+
clientDisplayLanguageCode?: string;
|
|
1469
1727
|
/** Debug options of the request */
|
|
1470
1728
|
debugOptions?: DebugOptions;
|
|
1471
1729
|
/** The BCP-47 language code, such as "en-US" or "sr-Latn". For more information, see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier. For translations. Set this field using the language set in browser or for the page. In the event that the user's language preference is known, set this field to the known user language. When specified, the documents in search results are biased towards the specified language. The Suggest API uses this field as a hint to make better third-party autocomplete predictions. */
|
|
@@ -1519,7 +1777,7 @@ declare namespace gapi.client {
|
|
|
1519
1777
|
}
|
|
1520
1778
|
interface RetrievalImportance {
|
|
1521
1779
|
/** Indicates the ranking importance given to property when it is matched during retrieval. Once set, the token importance of a property cannot be changed. */
|
|
1522
|
-
importance?:
|
|
1780
|
+
importance?: 'DEFAULT' | 'HIGHEST' | 'HIGH' | 'LOW' | 'NONE';
|
|
1523
1781
|
}
|
|
1524
1782
|
interface SafeHtmlProto {
|
|
1525
1783
|
/** IMPORTANT: Never set or read this field, even from tests, it is private. See documentation at the top of .proto file for programming language packages with which to create or read this message. */
|
|
@@ -1670,13 +1928,22 @@ declare namespace gapi.client {
|
|
|
1670
1928
|
/** The name of the operator corresponding to the field to sort on. The corresponding property must be marked as sortable. */
|
|
1671
1929
|
operatorName?: string;
|
|
1672
1930
|
/** Ascending is the default sort order */
|
|
1673
|
-
sortOrder?:
|
|
1931
|
+
sortOrder?: 'ASCENDING' | 'DESCENDING';
|
|
1674
1932
|
}
|
|
1675
1933
|
interface Source {
|
|
1676
1934
|
/** Source name for content indexed by the Indexing API. */
|
|
1677
1935
|
name?: string;
|
|
1678
1936
|
/** Predefined content source for Google Apps. */
|
|
1679
|
-
predefinedSource?:
|
|
1937
|
+
predefinedSource?:
|
|
1938
|
+
| 'NONE'
|
|
1939
|
+
| 'QUERY_HISTORY'
|
|
1940
|
+
| 'PERSON'
|
|
1941
|
+
| 'GOOGLE_DRIVE'
|
|
1942
|
+
| 'GOOGLE_GMAIL'
|
|
1943
|
+
| 'GOOGLE_SITES'
|
|
1944
|
+
| 'GOOGLE_GROUPS'
|
|
1945
|
+
| 'GOOGLE_CALENDAR'
|
|
1946
|
+
| 'GOOGLE_KEEP';
|
|
1680
1947
|
}
|
|
1681
1948
|
interface SourceConfig {
|
|
1682
1949
|
/** The crowding configuration for the source. */
|
|
@@ -1704,7 +1971,7 @@ declare namespace gapi.client {
|
|
|
1704
1971
|
}
|
|
1705
1972
|
interface SourceScoringConfig {
|
|
1706
1973
|
/** Importance of the source. */
|
|
1707
|
-
sourceImportance?:
|
|
1974
|
+
sourceImportance?: 'DEFAULT' | 'LOW' | 'HIGH';
|
|
1708
1975
|
}
|
|
1709
1976
|
interface SpellResult {
|
|
1710
1977
|
/** The suggested spelling of the query. */
|
|
@@ -1712,7 +1979,10 @@ declare namespace gapi.client {
|
|
|
1712
1979
|
/** The sanitized HTML representing the spell corrected query that can be used in the UI. This usually has language-specific tags to mark up parts of the query that are spell checked. */
|
|
1713
1980
|
suggestedQueryHtml?: SafeHtmlProto;
|
|
1714
1981
|
/** Suggestion triggered for the current query. */
|
|
1715
|
-
suggestionType?:
|
|
1982
|
+
suggestionType?:
|
|
1983
|
+
| 'SUGGESTION_TYPE_UNSPECIFIED'
|
|
1984
|
+
| 'NON_EMPTY_RESULTS_SPELL_SUGGESTION'
|
|
1985
|
+
| 'ZERO_RESULTS_FULL_PAGE_REPLACEMENT';
|
|
1716
1986
|
}
|
|
1717
1987
|
interface StartUploadItemRequest {
|
|
1718
1988
|
/** The name of connector making this call. Format: datasources/{source_id}/connectors/{ID} */
|
|
@@ -1724,7 +1994,7 @@ declare namespace gapi.client {
|
|
|
1724
1994
|
/** The status code, which should be an enum value of google.rpc.Code. */
|
|
1725
1995
|
code?: number;
|
|
1726
1996
|
/** A list of messages that carry the error details. There is a common set of message types for APIs to use. */
|
|
1727
|
-
details?:
|
|
1997
|
+
details?: {[P in string]: any}[];
|
|
1728
1998
|
/** 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 client. */
|
|
1729
1999
|
message?: string;
|
|
1730
2000
|
}
|
|
@@ -1752,7 +2022,7 @@ declare namespace gapi.client {
|
|
|
1752
2022
|
/** This is present when the suggestion indicates a person. It contains more information about the person - like their email ID, name etc. */
|
|
1753
2023
|
peopleSuggestion?: PeopleSuggestion;
|
|
1754
2024
|
/** This field will be present if the suggested query is a word/phrase completion. */
|
|
1755
|
-
querySuggestion?:
|
|
2025
|
+
querySuggestion?: QuerySuggestion;
|
|
1756
2026
|
/** The source of the suggestion. */
|
|
1757
2027
|
source?: Source;
|
|
1758
2028
|
/** The suggested query that will be used for search, when the user clicks on the suggestion */
|
|
@@ -1807,7 +2077,13 @@ declare namespace gapi.client {
|
|
|
1807
2077
|
/** The resource name for an external user. */
|
|
1808
2078
|
externalIdentity?: Principal;
|
|
1809
2079
|
/** The resolution status for the external identity. */
|
|
1810
|
-
resolutionStatusCode?:
|
|
2080
|
+
resolutionStatusCode?:
|
|
2081
|
+
| 'CODE_UNSPECIFIED'
|
|
2082
|
+
| 'NOT_FOUND'
|
|
2083
|
+
| 'IDENTITY_SOURCE_NOT_FOUND'
|
|
2084
|
+
| 'IDENTITY_SOURCE_MISCONFIGURED'
|
|
2085
|
+
| 'TOO_MANY_MAPPINGS_FOUND'
|
|
2086
|
+
| 'INTERNAL_ERROR';
|
|
1811
2087
|
}
|
|
1812
2088
|
interface UnreserveItemsRequest {
|
|
1813
2089
|
/** The name of connector making this call. Format: datasources/{source_id}/connectors/{ID} */
|
|
@@ -1862,11 +2138,11 @@ declare namespace gapi.client {
|
|
|
1862
2138
|
/** List all unmapped identities for a specific item. **Note:** This API requires an admin account to execute. */
|
|
1863
2139
|
list(request?: {
|
|
1864
2140
|
/** V1 error format. */
|
|
1865
|
-
'$.xgafv'?:
|
|
2141
|
+
'$.xgafv'?: '1' | '2';
|
|
1866
2142
|
/** OAuth access token. */
|
|
1867
2143
|
access_token?: string;
|
|
1868
2144
|
/** Data format for response. */
|
|
1869
|
-
alt?:
|
|
2145
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1870
2146
|
/** JSONP */
|
|
1871
2147
|
callback?: string;
|
|
1872
2148
|
/** If you are asked by Google to help with debugging, set this field. Otherwise, ignore this field. */
|
|
@@ -1897,11 +2173,11 @@ declare namespace gapi.client {
|
|
|
1897
2173
|
/** Checks whether an item is accessible by specified principal. Principal must be a user; groups and domain values aren't supported. **Note:** This API requires an admin account to execute. */
|
|
1898
2174
|
checkAccess(request: {
|
|
1899
2175
|
/** V1 error format. */
|
|
1900
|
-
'$.xgafv'?:
|
|
2176
|
+
'$.xgafv'?: '1' | '2';
|
|
1901
2177
|
/** OAuth access token. */
|
|
1902
2178
|
access_token?: string;
|
|
1903
2179
|
/** Data format for response. */
|
|
1904
|
-
alt?:
|
|
2180
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1905
2181
|
/** JSONP */
|
|
1906
2182
|
callback?: string;
|
|
1907
2183
|
/** If you are asked by Google to help with debugging, set this field. Otherwise, ignore this field. */
|
|
@@ -1928,11 +2204,11 @@ declare namespace gapi.client {
|
|
|
1928
2204
|
checkAccess(
|
|
1929
2205
|
request: {
|
|
1930
2206
|
/** V1 error format. */
|
|
1931
|
-
'$.xgafv'?:
|
|
2207
|
+
'$.xgafv'?: '1' | '2';
|
|
1932
2208
|
/** OAuth access token. */
|
|
1933
2209
|
access_token?: string;
|
|
1934
2210
|
/** Data format for response. */
|
|
1935
|
-
alt?:
|
|
2211
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1936
2212
|
/** JSONP */
|
|
1937
2213
|
callback?: string;
|
|
1938
2214
|
/** If you are asked by Google to help with debugging, set this field. Otherwise, ignore this field. */
|
|
@@ -1959,11 +2235,11 @@ declare namespace gapi.client {
|
|
|
1959
2235
|
/** Fetches the item whose viewUrl exactly matches that of the URL provided in the request. **Note:** This API requires an admin account to execute. */
|
|
1960
2236
|
searchByViewUrl(request: {
|
|
1961
2237
|
/** V1 error format. */
|
|
1962
|
-
'$.xgafv'?:
|
|
2238
|
+
'$.xgafv'?: '1' | '2';
|
|
1963
2239
|
/** OAuth access token. */
|
|
1964
2240
|
access_token?: string;
|
|
1965
2241
|
/** Data format for response. */
|
|
1966
|
-
alt?:
|
|
2242
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1967
2243
|
/** JSONP */
|
|
1968
2244
|
callback?: string;
|
|
1969
2245
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1988,11 +2264,11 @@ declare namespace gapi.client {
|
|
|
1988
2264
|
searchByViewUrl(
|
|
1989
2265
|
request: {
|
|
1990
2266
|
/** V1 error format. */
|
|
1991
|
-
'$.xgafv'?:
|
|
2267
|
+
'$.xgafv'?: '1' | '2';
|
|
1992
2268
|
/** OAuth access token. */
|
|
1993
2269
|
access_token?: string;
|
|
1994
2270
|
/** Data format for response. */
|
|
1995
|
-
alt?:
|
|
2271
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1996
2272
|
/** JSONP */
|
|
1997
2273
|
callback?: string;
|
|
1998
2274
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2023,11 +2299,11 @@ declare namespace gapi.client {
|
|
|
2023
2299
|
/** Lists names of items associated with an unmapped identity. **Note:** This API requires an admin account to execute. */
|
|
2024
2300
|
listForunmappedidentity(request?: {
|
|
2025
2301
|
/** V1 error format. */
|
|
2026
|
-
'$.xgafv'?:
|
|
2302
|
+
'$.xgafv'?: '1' | '2';
|
|
2027
2303
|
/** OAuth access token. */
|
|
2028
2304
|
access_token?: string;
|
|
2029
2305
|
/** Data format for response. */
|
|
2030
|
-
alt?:
|
|
2306
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2031
2307
|
/** JSONP */
|
|
2032
2308
|
callback?: string;
|
|
2033
2309
|
/** If you are asked by Google to help with debugging, set this field. Otherwise, ignore this field. */
|
|
@@ -2060,11 +2336,11 @@ declare namespace gapi.client {
|
|
|
2060
2336
|
/** Lists unmapped user identities for an identity source. **Note:** This API requires an admin account to execute. */
|
|
2061
2337
|
list(request?: {
|
|
2062
2338
|
/** V1 error format. */
|
|
2063
|
-
'$.xgafv'?:
|
|
2339
|
+
'$.xgafv'?: '1' | '2';
|
|
2064
2340
|
/** OAuth access token. */
|
|
2065
2341
|
access_token?: string;
|
|
2066
2342
|
/** Data format for response. */
|
|
2067
|
-
alt?:
|
|
2343
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2068
2344
|
/** JSONP */
|
|
2069
2345
|
callback?: string;
|
|
2070
2346
|
/** If you are asked by Google to help with debugging, set this field. Otherwise, ignore this field. */
|
|
@@ -2086,7 +2362,13 @@ declare namespace gapi.client {
|
|
|
2086
2362
|
/** 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. */
|
|
2087
2363
|
quotaUser?: string;
|
|
2088
2364
|
/** Limit users selection to this status. */
|
|
2089
|
-
resolutionStatusCode?:
|
|
2365
|
+
resolutionStatusCode?:
|
|
2366
|
+
| 'CODE_UNSPECIFIED'
|
|
2367
|
+
| 'NOT_FOUND'
|
|
2368
|
+
| 'IDENTITY_SOURCE_NOT_FOUND'
|
|
2369
|
+
| 'IDENTITY_SOURCE_MISCONFIGURED'
|
|
2370
|
+
| 'TOO_MANY_MAPPINGS_FOUND'
|
|
2371
|
+
| 'INTERNAL_ERROR';
|
|
2090
2372
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2091
2373
|
upload_protocol?: string;
|
|
2092
2374
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
@@ -2105,11 +2387,11 @@ declare namespace gapi.client {
|
|
|
2105
2387
|
/** Deletes Item resource for the specified resource name. This API requires an admin or service account to execute. The service account used is the one whitelisted in the corresponding data source. */
|
|
2106
2388
|
delete(request?: {
|
|
2107
2389
|
/** V1 error format. */
|
|
2108
|
-
'$.xgafv'?:
|
|
2390
|
+
'$.xgafv'?: '1' | '2';
|
|
2109
2391
|
/** OAuth access token. */
|
|
2110
2392
|
access_token?: string;
|
|
2111
2393
|
/** Data format for response. */
|
|
2112
|
-
alt?:
|
|
2394
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2113
2395
|
/** JSONP */
|
|
2114
2396
|
callback?: string;
|
|
2115
2397
|
/** The name of connector making this call. Format: datasources/{source_id}/connectors/{ID} */
|
|
@@ -2121,7 +2403,7 @@ declare namespace gapi.client {
|
|
|
2121
2403
|
/** 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. */
|
|
2122
2404
|
key?: string;
|
|
2123
2405
|
/** Required. The RequestMode for this request. */
|
|
2124
|
-
mode?:
|
|
2406
|
+
mode?: 'UNSPECIFIED' | 'SYNCHRONOUS' | 'ASYNCHRONOUS';
|
|
2125
2407
|
/** Required. The name of the item to delete. Format: datasources/{source_id}/items/{item_id} */
|
|
2126
2408
|
name: string;
|
|
2127
2409
|
/** OAuth 2.0 token for the current user. */
|
|
@@ -2140,11 +2422,11 @@ declare namespace gapi.client {
|
|
|
2140
2422
|
/** Deletes all items in a queue. This method is useful for deleting stale items. This API requires an admin or service account to execute. The service account used is the one whitelisted in the corresponding data source. */
|
|
2141
2423
|
deleteQueueItems(request: {
|
|
2142
2424
|
/** V1 error format. */
|
|
2143
|
-
'$.xgafv'?:
|
|
2425
|
+
'$.xgafv'?: '1' | '2';
|
|
2144
2426
|
/** OAuth access token. */
|
|
2145
2427
|
access_token?: string;
|
|
2146
2428
|
/** Data format for response. */
|
|
2147
|
-
alt?:
|
|
2429
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2148
2430
|
/** JSONP */
|
|
2149
2431
|
callback?: string;
|
|
2150
2432
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2169,11 +2451,11 @@ declare namespace gapi.client {
|
|
|
2169
2451
|
deleteQueueItems(
|
|
2170
2452
|
request: {
|
|
2171
2453
|
/** V1 error format. */
|
|
2172
|
-
'$.xgafv'?:
|
|
2454
|
+
'$.xgafv'?: '1' | '2';
|
|
2173
2455
|
/** OAuth access token. */
|
|
2174
2456
|
access_token?: string;
|
|
2175
2457
|
/** Data format for response. */
|
|
2176
|
-
alt?:
|
|
2458
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2177
2459
|
/** JSONP */
|
|
2178
2460
|
callback?: string;
|
|
2179
2461
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2198,11 +2480,11 @@ declare namespace gapi.client {
|
|
|
2198
2480
|
/** Gets Item resource by item name. This API requires an admin or service account to execute. The service account used is the one whitelisted in the corresponding data source. */
|
|
2199
2481
|
get(request?: {
|
|
2200
2482
|
/** V1 error format. */
|
|
2201
|
-
'$.xgafv'?:
|
|
2483
|
+
'$.xgafv'?: '1' | '2';
|
|
2202
2484
|
/** OAuth access token. */
|
|
2203
2485
|
access_token?: string;
|
|
2204
2486
|
/** Data format for response. */
|
|
2205
|
-
alt?:
|
|
2487
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2206
2488
|
/** JSONP */
|
|
2207
2489
|
callback?: string;
|
|
2208
2490
|
/** The name of connector making this call. Format: datasources/{source_id}/connectors/{ID} */
|
|
@@ -2229,11 +2511,11 @@ declare namespace gapi.client {
|
|
|
2229
2511
|
/** Updates Item ACL, metadata, and content. It will insert the Item if it does not exist. This method does not support partial updates. Fields with no provided values are cleared out in the Cloud Search index. This API requires an admin or service account to execute. The service account used is the one whitelisted in the corresponding data source. */
|
|
2230
2512
|
index(request: {
|
|
2231
2513
|
/** V1 error format. */
|
|
2232
|
-
'$.xgafv'?:
|
|
2514
|
+
'$.xgafv'?: '1' | '2';
|
|
2233
2515
|
/** OAuth access token. */
|
|
2234
2516
|
access_token?: string;
|
|
2235
2517
|
/** Data format for response. */
|
|
2236
|
-
alt?:
|
|
2518
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2237
2519
|
/** JSONP */
|
|
2238
2520
|
callback?: string;
|
|
2239
2521
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2258,11 +2540,11 @@ declare namespace gapi.client {
|
|
|
2258
2540
|
index(
|
|
2259
2541
|
request: {
|
|
2260
2542
|
/** V1 error format. */
|
|
2261
|
-
'$.xgafv'?:
|
|
2543
|
+
'$.xgafv'?: '1' | '2';
|
|
2262
2544
|
/** OAuth access token. */
|
|
2263
2545
|
access_token?: string;
|
|
2264
2546
|
/** Data format for response. */
|
|
2265
|
-
alt?:
|
|
2547
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2266
2548
|
/** JSONP */
|
|
2267
2549
|
callback?: string;
|
|
2268
2550
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2287,11 +2569,11 @@ declare namespace gapi.client {
|
|
|
2287
2569
|
/** Lists all or a subset of Item resources. This API requires an admin or service account to execute. The service account used is the one whitelisted in the corresponding data source. */
|
|
2288
2570
|
list(request?: {
|
|
2289
2571
|
/** V1 error format. */
|
|
2290
|
-
'$.xgafv'?:
|
|
2572
|
+
'$.xgafv'?: '1' | '2';
|
|
2291
2573
|
/** OAuth access token. */
|
|
2292
2574
|
access_token?: string;
|
|
2293
2575
|
/** Data format for response. */
|
|
2294
|
-
alt?:
|
|
2576
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2295
2577
|
/** When set to true, the indexing system only populates the following fields: name, version, queue. metadata.hash, metadata.title, metadata.sourceRepositoryURL, metadata.objectType, metadata.createTime, metadata.updateTime, metadata.contentLanguage, metadata.mimeType, structured_data.hash, content.hash, itemType, itemStatus.code, itemStatus.processingError.code, itemStatus.repositoryError.type, If this value is false, then all the fields are populated in Item. */
|
|
2296
2578
|
brief?: boolean;
|
|
2297
2579
|
/** JSONP */
|
|
@@ -2324,11 +2606,11 @@ declare namespace gapi.client {
|
|
|
2324
2606
|
/** Polls for unreserved items from the indexing queue and marks a set as reserved, starting with items that have the oldest timestamp from the highest priority ItemStatus. The priority order is as follows: ERROR MODIFIED NEW_ITEM ACCEPTED Reserving items ensures that polling from other threads cannot create overlapping sets. After handling the reserved items, the client should put items back into the unreserved state, either by calling index, or by calling push with the type REQUEUE. Items automatically become available (unreserved) after 4 hours even if no update or push method is called. This API requires an admin or service account to execute. The service account used is the one whitelisted in the corresponding data source. */
|
|
2325
2607
|
poll(request: {
|
|
2326
2608
|
/** V1 error format. */
|
|
2327
|
-
'$.xgafv'?:
|
|
2609
|
+
'$.xgafv'?: '1' | '2';
|
|
2328
2610
|
/** OAuth access token. */
|
|
2329
2611
|
access_token?: string;
|
|
2330
2612
|
/** Data format for response. */
|
|
2331
|
-
alt?:
|
|
2613
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2332
2614
|
/** JSONP */
|
|
2333
2615
|
callback?: string;
|
|
2334
2616
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2353,11 +2635,11 @@ declare namespace gapi.client {
|
|
|
2353
2635
|
poll(
|
|
2354
2636
|
request: {
|
|
2355
2637
|
/** V1 error format. */
|
|
2356
|
-
'$.xgafv'?:
|
|
2638
|
+
'$.xgafv'?: '1' | '2';
|
|
2357
2639
|
/** OAuth access token. */
|
|
2358
2640
|
access_token?: string;
|
|
2359
2641
|
/** Data format for response. */
|
|
2360
|
-
alt?:
|
|
2642
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2361
2643
|
/** JSONP */
|
|
2362
2644
|
callback?: string;
|
|
2363
2645
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2382,11 +2664,11 @@ declare namespace gapi.client {
|
|
|
2382
2664
|
/** Pushes an item onto a queue for later polling and updating. This API requires an admin or service account to execute. The service account used is the one whitelisted in the corresponding data source. */
|
|
2383
2665
|
push(request: {
|
|
2384
2666
|
/** V1 error format. */
|
|
2385
|
-
'$.xgafv'?:
|
|
2667
|
+
'$.xgafv'?: '1' | '2';
|
|
2386
2668
|
/** OAuth access token. */
|
|
2387
2669
|
access_token?: string;
|
|
2388
2670
|
/** Data format for response. */
|
|
2389
|
-
alt?:
|
|
2671
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2390
2672
|
/** JSONP */
|
|
2391
2673
|
callback?: string;
|
|
2392
2674
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2411,11 +2693,11 @@ declare namespace gapi.client {
|
|
|
2411
2693
|
push(
|
|
2412
2694
|
request: {
|
|
2413
2695
|
/** V1 error format. */
|
|
2414
|
-
'$.xgafv'?:
|
|
2696
|
+
'$.xgafv'?: '1' | '2';
|
|
2415
2697
|
/** OAuth access token. */
|
|
2416
2698
|
access_token?: string;
|
|
2417
2699
|
/** Data format for response. */
|
|
2418
|
-
alt?:
|
|
2700
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2419
2701
|
/** JSONP */
|
|
2420
2702
|
callback?: string;
|
|
2421
2703
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2440,11 +2722,11 @@ declare namespace gapi.client {
|
|
|
2440
2722
|
/** Unreserves all items from a queue, making them all eligible to be polled. This method is useful for resetting the indexing queue after a connector has been restarted. This API requires an admin or service account to execute. The service account used is the one whitelisted in the corresponding data source. */
|
|
2441
2723
|
unreserve(request: {
|
|
2442
2724
|
/** V1 error format. */
|
|
2443
|
-
'$.xgafv'?:
|
|
2725
|
+
'$.xgafv'?: '1' | '2';
|
|
2444
2726
|
/** OAuth access token. */
|
|
2445
2727
|
access_token?: string;
|
|
2446
2728
|
/** Data format for response. */
|
|
2447
|
-
alt?:
|
|
2729
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2448
2730
|
/** JSONP */
|
|
2449
2731
|
callback?: string;
|
|
2450
2732
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2469,11 +2751,11 @@ declare namespace gapi.client {
|
|
|
2469
2751
|
unreserve(
|
|
2470
2752
|
request: {
|
|
2471
2753
|
/** V1 error format. */
|
|
2472
|
-
'$.xgafv'?:
|
|
2754
|
+
'$.xgafv'?: '1' | '2';
|
|
2473
2755
|
/** OAuth access token. */
|
|
2474
2756
|
access_token?: string;
|
|
2475
2757
|
/** Data format for response. */
|
|
2476
|
-
alt?:
|
|
2758
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2477
2759
|
/** JSONP */
|
|
2478
2760
|
callback?: string;
|
|
2479
2761
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2498,11 +2780,11 @@ declare namespace gapi.client {
|
|
|
2498
2780
|
/** Creates an upload session for uploading item content. For items smaller than 100 KB, it's easier to embed the content inline within an index request. This API requires an admin or service account to execute. The service account used is the one whitelisted in the corresponding data source. */
|
|
2499
2781
|
upload(request: {
|
|
2500
2782
|
/** V1 error format. */
|
|
2501
|
-
'$.xgafv'?:
|
|
2783
|
+
'$.xgafv'?: '1' | '2';
|
|
2502
2784
|
/** OAuth access token. */
|
|
2503
2785
|
access_token?: string;
|
|
2504
2786
|
/** Data format for response. */
|
|
2505
|
-
alt?:
|
|
2787
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2506
2788
|
/** JSONP */
|
|
2507
2789
|
callback?: string;
|
|
2508
2790
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2527,11 +2809,11 @@ declare namespace gapi.client {
|
|
|
2527
2809
|
upload(
|
|
2528
2810
|
request: {
|
|
2529
2811
|
/** V1 error format. */
|
|
2530
|
-
'$.xgafv'?:
|
|
2812
|
+
'$.xgafv'?: '1' | '2';
|
|
2531
2813
|
/** OAuth access token. */
|
|
2532
2814
|
access_token?: string;
|
|
2533
2815
|
/** Data format for response. */
|
|
2534
|
-
alt?:
|
|
2816
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2535
2817
|
/** JSONP */
|
|
2536
2818
|
callback?: string;
|
|
2537
2819
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2558,11 +2840,11 @@ declare namespace gapi.client {
|
|
|
2558
2840
|
/** Deletes the schema of a data source. **Note:** This API requires an admin or service account to execute. */
|
|
2559
2841
|
deleteSchema(request?: {
|
|
2560
2842
|
/** V1 error format. */
|
|
2561
|
-
'$.xgafv'?:
|
|
2843
|
+
'$.xgafv'?: '1' | '2';
|
|
2562
2844
|
/** OAuth access token. */
|
|
2563
2845
|
access_token?: string;
|
|
2564
2846
|
/** Data format for response. */
|
|
2565
|
-
alt?:
|
|
2847
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2566
2848
|
/** JSONP */
|
|
2567
2849
|
callback?: string;
|
|
2568
2850
|
/** If you are asked by Google to help with debugging, set this field. Otherwise, ignore this field. */
|
|
@@ -2587,11 +2869,11 @@ declare namespace gapi.client {
|
|
|
2587
2869
|
/** Gets the schema of a data source. **Note:** This API requires an admin or service account to execute. */
|
|
2588
2870
|
getSchema(request?: {
|
|
2589
2871
|
/** V1 error format. */
|
|
2590
|
-
'$.xgafv'?:
|
|
2872
|
+
'$.xgafv'?: '1' | '2';
|
|
2591
2873
|
/** OAuth access token. */
|
|
2592
2874
|
access_token?: string;
|
|
2593
2875
|
/** Data format for response. */
|
|
2594
|
-
alt?:
|
|
2876
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2595
2877
|
/** JSONP */
|
|
2596
2878
|
callback?: string;
|
|
2597
2879
|
/** If you are asked by Google to help with debugging, set this field. Otherwise, ignore this field. */
|
|
@@ -2616,11 +2898,11 @@ declare namespace gapi.client {
|
|
|
2616
2898
|
/** Updates the schema of a data source. This method does not perform incremental updates to the schema. Instead, this method updates the schema by overwriting the entire schema. **Note:** This API requires an admin or service account to execute. */
|
|
2617
2899
|
updateSchema(request: {
|
|
2618
2900
|
/** V1 error format. */
|
|
2619
|
-
'$.xgafv'?:
|
|
2901
|
+
'$.xgafv'?: '1' | '2';
|
|
2620
2902
|
/** OAuth access token. */
|
|
2621
2903
|
access_token?: string;
|
|
2622
2904
|
/** Data format for response. */
|
|
2623
|
-
alt?:
|
|
2905
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2624
2906
|
/** JSONP */
|
|
2625
2907
|
callback?: string;
|
|
2626
2908
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2645,11 +2927,11 @@ declare namespace gapi.client {
|
|
|
2645
2927
|
updateSchema(
|
|
2646
2928
|
request: {
|
|
2647
2929
|
/** V1 error format. */
|
|
2648
|
-
'$.xgafv'?:
|
|
2930
|
+
'$.xgafv'?: '1' | '2';
|
|
2649
2931
|
/** OAuth access token. */
|
|
2650
2932
|
access_token?: string;
|
|
2651
2933
|
/** Data format for response. */
|
|
2652
|
-
alt?:
|
|
2934
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2653
2935
|
/** JSONP */
|
|
2654
2936
|
callback?: string;
|
|
2655
2937
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2680,11 +2962,11 @@ declare namespace gapi.client {
|
|
|
2680
2962
|
/** Uploads media for indexing. The upload endpoint supports direct and resumable upload protocols and is intended for large items that can not be [inlined during index requests](https://developers.google.com/workspace/cloud-search/docs/reference/rest/v1/indexing.datasources.items#itemcontent). To index large content: 1. Call indexing.datasources.items.upload with the item name to begin an upload session and retrieve the UploadItemRef. 1. Call media.upload to upload the content, as a streaming request, using the same resource name from the UploadItemRef from step 1. 1. Call indexing.datasources.items.index to index the item. Populate the [ItemContent](/cloud-search/docs/reference/rest/v1/indexing.datasources.items#ItemContent) with the UploadItemRef from step 1. For additional information, see [Create a content connector using the REST API](https://developers.google.com/workspace/cloud-search/docs/guides/content-connector#rest). **Note:** This API requires a service account to execute. */
|
|
2681
2963
|
upload(request: {
|
|
2682
2964
|
/** V1 error format. */
|
|
2683
|
-
'$.xgafv'?:
|
|
2965
|
+
'$.xgafv'?: '1' | '2';
|
|
2684
2966
|
/** OAuth access token. */
|
|
2685
2967
|
access_token?: string;
|
|
2686
2968
|
/** Data format for response. */
|
|
2687
|
-
alt?:
|
|
2969
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2688
2970
|
/** JSONP */
|
|
2689
2971
|
callback?: string;
|
|
2690
2972
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2709,11 +2991,11 @@ declare namespace gapi.client {
|
|
|
2709
2991
|
upload(
|
|
2710
2992
|
request: {
|
|
2711
2993
|
/** V1 error format. */
|
|
2712
|
-
'$.xgafv'?:
|
|
2994
|
+
'$.xgafv'?: '1' | '2';
|
|
2713
2995
|
/** OAuth access token. */
|
|
2714
2996
|
access_token?: string;
|
|
2715
2997
|
/** Data format for response. */
|
|
2716
|
-
alt?:
|
|
2998
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2717
2999
|
/** JSONP */
|
|
2718
3000
|
callback?: string;
|
|
2719
3001
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2740,11 +3022,11 @@ declare namespace gapi.client {
|
|
|
2740
3022
|
/** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
|
|
2741
3023
|
list(request?: {
|
|
2742
3024
|
/** V1 error format. */
|
|
2743
|
-
'$.xgafv'?:
|
|
3025
|
+
'$.xgafv'?: '1' | '2';
|
|
2744
3026
|
/** OAuth access token. */
|
|
2745
3027
|
access_token?: string;
|
|
2746
3028
|
/** Data format for response. */
|
|
2747
|
-
alt?:
|
|
3029
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2748
3030
|
/** JSONP */
|
|
2749
3031
|
callback?: string;
|
|
2750
3032
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2777,11 +3059,11 @@ declare namespace gapi.client {
|
|
|
2777
3059
|
/** 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. */
|
|
2778
3060
|
get(request?: {
|
|
2779
3061
|
/** V1 error format. */
|
|
2780
|
-
'$.xgafv'?:
|
|
3062
|
+
'$.xgafv'?: '1' | '2';
|
|
2781
3063
|
/** OAuth access token. */
|
|
2782
3064
|
access_token?: string;
|
|
2783
3065
|
/** Data format for response. */
|
|
2784
|
-
alt?:
|
|
3066
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2785
3067
|
/** JSONP */
|
|
2786
3068
|
callback?: string;
|
|
2787
3069
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2807,11 +3089,11 @@ declare namespace gapi.client {
|
|
|
2807
3089
|
/** Returns list of sources that user can use for Search and Suggest APIs. **Note:** This API requires a standard end user account to execute. A service account can't perform Query API requests directly; to use a service account to perform queries, set up [Google Workspace domain-wide delegation of authority](https://developers.google.com/workspace/cloud-search/docs/guides/delegation/). */
|
|
2808
3090
|
list(request?: {
|
|
2809
3091
|
/** V1 error format. */
|
|
2810
|
-
'$.xgafv'?:
|
|
3092
|
+
'$.xgafv'?: '1' | '2';
|
|
2811
3093
|
/** OAuth access token. */
|
|
2812
3094
|
access_token?: string;
|
|
2813
3095
|
/** Data format for response. */
|
|
2814
|
-
alt?:
|
|
3096
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2815
3097
|
/** JSONP */
|
|
2816
3098
|
callback?: string;
|
|
2817
3099
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2826,6 +3108,8 @@ declare namespace gapi.client {
|
|
|
2826
3108
|
prettyPrint?: boolean;
|
|
2827
3109
|
/** 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. */
|
|
2828
3110
|
quotaUser?: string;
|
|
3111
|
+
/** The BCP-47 language code, such as "pt" or "en". It represents the user's preferred Display Language. */
|
|
3112
|
+
'requestOptions.clientDisplayLanguageCode'?: string;
|
|
2829
3113
|
/** If you are asked by Google to help with debugging, set this field. Otherwise, ignore this field. */
|
|
2830
3114
|
'requestOptions.debugOptions.enableDebugging'?: boolean;
|
|
2831
3115
|
/** The BCP-47 language code, such as "en-US" or "sr-Latn". For more information, see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier. For translations. Set this field using the language set in browser or for the page. In the event that the user's language preference is known, set this field to the known user language. When specified, the documents in search results are biased towards the specified language. The Suggest API uses this field as a hint to make better third-party autocomplete predictions. */
|
|
@@ -2844,11 +3128,11 @@ declare namespace gapi.client {
|
|
|
2844
3128
|
/** Provides functionality to remove logged activity for a user. Currently to be used only for Chat 1p clients **Note:** This API requires a standard end user account to execute. A service account can't perform Remove Activity requests directly; to use a service account to perform queries, set up [Google Workspace domain-wide delegation of authority](https://developers.google.com/workspace/cloud-search/docs/guides/delegation/). */
|
|
2845
3129
|
removeActivity(request: {
|
|
2846
3130
|
/** V1 error format. */
|
|
2847
|
-
'$.xgafv'?:
|
|
3131
|
+
'$.xgafv'?: '1' | '2';
|
|
2848
3132
|
/** OAuth access token. */
|
|
2849
3133
|
access_token?: string;
|
|
2850
3134
|
/** Data format for response. */
|
|
2851
|
-
alt?:
|
|
3135
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2852
3136
|
/** JSONP */
|
|
2853
3137
|
callback?: string;
|
|
2854
3138
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2871,11 +3155,11 @@ declare namespace gapi.client {
|
|
|
2871
3155
|
removeActivity(
|
|
2872
3156
|
request: {
|
|
2873
3157
|
/** V1 error format. */
|
|
2874
|
-
'$.xgafv'?:
|
|
3158
|
+
'$.xgafv'?: '1' | '2';
|
|
2875
3159
|
/** OAuth access token. */
|
|
2876
3160
|
access_token?: string;
|
|
2877
3161
|
/** Data format for response. */
|
|
2878
|
-
alt?:
|
|
3162
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2879
3163
|
/** JSONP */
|
|
2880
3164
|
callback?: string;
|
|
2881
3165
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2898,11 +3182,11 @@ declare namespace gapi.client {
|
|
|
2898
3182
|
/** The Cloud Search Query API provides the search method, which returns the most relevant results from a user query. The results can come from Google Workspace apps, such as Gmail or Google Drive, or they can come from data that you have indexed from a third party. **Note:** This API requires a standard end user account to execute. A service account can't perform Query API requests directly; to use a service account to perform queries, set up [Google Workspace domain-wide delegation of authority](https://developers.google.com/workspace/cloud-search/docs/guides/delegation/). */
|
|
2899
3183
|
search(request: {
|
|
2900
3184
|
/** V1 error format. */
|
|
2901
|
-
'$.xgafv'?:
|
|
3185
|
+
'$.xgafv'?: '1' | '2';
|
|
2902
3186
|
/** OAuth access token. */
|
|
2903
3187
|
access_token?: string;
|
|
2904
3188
|
/** Data format for response. */
|
|
2905
|
-
alt?:
|
|
3189
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2906
3190
|
/** JSONP */
|
|
2907
3191
|
callback?: string;
|
|
2908
3192
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2925,11 +3209,11 @@ declare namespace gapi.client {
|
|
|
2925
3209
|
search(
|
|
2926
3210
|
request: {
|
|
2927
3211
|
/** V1 error format. */
|
|
2928
|
-
'$.xgafv'?:
|
|
3212
|
+
'$.xgafv'?: '1' | '2';
|
|
2929
3213
|
/** OAuth access token. */
|
|
2930
3214
|
access_token?: string;
|
|
2931
3215
|
/** Data format for response. */
|
|
2932
|
-
alt?:
|
|
3216
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2933
3217
|
/** JSONP */
|
|
2934
3218
|
callback?: string;
|
|
2935
3219
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2952,11 +3236,11 @@ declare namespace gapi.client {
|
|
|
2952
3236
|
/** Provides suggestions for autocompleting the query. **Note:** This API requires a standard end user account to execute. A service account can't perform Query API requests directly; to use a service account to perform queries, set up [Google Workspace domain-wide delegation of authority](https://developers.google.com/workspace/cloud-search/docs/guides/delegation/). */
|
|
2953
3237
|
suggest(request: {
|
|
2954
3238
|
/** V1 error format. */
|
|
2955
|
-
'$.xgafv'?:
|
|
3239
|
+
'$.xgafv'?: '1' | '2';
|
|
2956
3240
|
/** OAuth access token. */
|
|
2957
3241
|
access_token?: string;
|
|
2958
3242
|
/** Data format for response. */
|
|
2959
|
-
alt?:
|
|
3243
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2960
3244
|
/** JSONP */
|
|
2961
3245
|
callback?: string;
|
|
2962
3246
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2979,11 +3263,11 @@ declare namespace gapi.client {
|
|
|
2979
3263
|
suggest(
|
|
2980
3264
|
request: {
|
|
2981
3265
|
/** V1 error format. */
|
|
2982
|
-
'$.xgafv'?:
|
|
3266
|
+
'$.xgafv'?: '1' | '2';
|
|
2983
3267
|
/** OAuth access token. */
|
|
2984
3268
|
access_token?: string;
|
|
2985
3269
|
/** Data format for response. */
|
|
2986
|
-
alt?:
|
|
3270
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2987
3271
|
/** JSONP */
|
|
2988
3272
|
callback?: string;
|
|
2989
3273
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3009,11 +3293,11 @@ declare namespace gapi.client {
|
|
|
3009
3293
|
/** Creates a datasource. **Note:** This API requires an admin account to execute. */
|
|
3010
3294
|
create(request: {
|
|
3011
3295
|
/** V1 error format. */
|
|
3012
|
-
'$.xgafv'?:
|
|
3296
|
+
'$.xgafv'?: '1' | '2';
|
|
3013
3297
|
/** OAuth access token. */
|
|
3014
3298
|
access_token?: string;
|
|
3015
3299
|
/** Data format for response. */
|
|
3016
|
-
alt?:
|
|
3300
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3017
3301
|
/** JSONP */
|
|
3018
3302
|
callback?: string;
|
|
3019
3303
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3036,11 +3320,11 @@ declare namespace gapi.client {
|
|
|
3036
3320
|
create(
|
|
3037
3321
|
request: {
|
|
3038
3322
|
/** V1 error format. */
|
|
3039
|
-
'$.xgafv'?:
|
|
3323
|
+
'$.xgafv'?: '1' | '2';
|
|
3040
3324
|
/** OAuth access token. */
|
|
3041
3325
|
access_token?: string;
|
|
3042
3326
|
/** Data format for response. */
|
|
3043
|
-
alt?:
|
|
3327
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3044
3328
|
/** JSONP */
|
|
3045
3329
|
callback?: string;
|
|
3046
3330
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3063,11 +3347,11 @@ declare namespace gapi.client {
|
|
|
3063
3347
|
/** Deletes a datasource. **Note:** This API requires an admin account to execute. */
|
|
3064
3348
|
delete(request?: {
|
|
3065
3349
|
/** V1 error format. */
|
|
3066
|
-
'$.xgafv'?:
|
|
3350
|
+
'$.xgafv'?: '1' | '2';
|
|
3067
3351
|
/** OAuth access token. */
|
|
3068
3352
|
access_token?: string;
|
|
3069
3353
|
/** Data format for response. */
|
|
3070
|
-
alt?:
|
|
3354
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3071
3355
|
/** JSONP */
|
|
3072
3356
|
callback?: string;
|
|
3073
3357
|
/** If you are asked by Google to help with debugging, set this field. Otherwise, ignore this field. */
|
|
@@ -3092,11 +3376,11 @@ declare namespace gapi.client {
|
|
|
3092
3376
|
/** Gets a datasource. **Note:** This API requires an admin account to execute. */
|
|
3093
3377
|
get(request?: {
|
|
3094
3378
|
/** V1 error format. */
|
|
3095
|
-
'$.xgafv'?:
|
|
3379
|
+
'$.xgafv'?: '1' | '2';
|
|
3096
3380
|
/** OAuth access token. */
|
|
3097
3381
|
access_token?: string;
|
|
3098
3382
|
/** Data format for response. */
|
|
3099
|
-
alt?:
|
|
3383
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3100
3384
|
/** JSONP */
|
|
3101
3385
|
callback?: string;
|
|
3102
3386
|
/** If you are asked by Google to help with debugging, set this field. Otherwise, ignore this field. */
|
|
@@ -3121,11 +3405,11 @@ declare namespace gapi.client {
|
|
|
3121
3405
|
/** Lists datasources. **Note:** This API requires an admin account to execute. */
|
|
3122
3406
|
list(request?: {
|
|
3123
3407
|
/** V1 error format. */
|
|
3124
|
-
'$.xgafv'?:
|
|
3408
|
+
'$.xgafv'?: '1' | '2';
|
|
3125
3409
|
/** OAuth access token. */
|
|
3126
3410
|
access_token?: string;
|
|
3127
3411
|
/** Data format for response. */
|
|
3128
|
-
alt?:
|
|
3412
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3129
3413
|
/** JSONP */
|
|
3130
3414
|
callback?: string;
|
|
3131
3415
|
/** If you are asked by Google to help with debugging, set this field. Otherwise, ignore this field. */
|
|
@@ -3152,11 +3436,11 @@ declare namespace gapi.client {
|
|
|
3152
3436
|
/** Updates a datasource. **Note:** This API requires an admin account to execute. */
|
|
3153
3437
|
patch(request: {
|
|
3154
3438
|
/** V1 error format. */
|
|
3155
|
-
'$.xgafv'?:
|
|
3439
|
+
'$.xgafv'?: '1' | '2';
|
|
3156
3440
|
/** OAuth access token. */
|
|
3157
3441
|
access_token?: string;
|
|
3158
3442
|
/** Data format for response. */
|
|
3159
|
-
alt?:
|
|
3443
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3160
3444
|
/** JSONP */
|
|
3161
3445
|
callback?: string;
|
|
3162
3446
|
/** If you are asked by Google to help with debugging, set this field. Otherwise, ignore this field. */
|
|
@@ -3185,11 +3469,11 @@ declare namespace gapi.client {
|
|
|
3185
3469
|
patch(
|
|
3186
3470
|
request: {
|
|
3187
3471
|
/** V1 error format. */
|
|
3188
|
-
'$.xgafv'?:
|
|
3472
|
+
'$.xgafv'?: '1' | '2';
|
|
3189
3473
|
/** OAuth access token. */
|
|
3190
3474
|
access_token?: string;
|
|
3191
3475
|
/** Data format for response. */
|
|
3192
|
-
alt?:
|
|
3476
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3193
3477
|
/** JSONP */
|
|
3194
3478
|
callback?: string;
|
|
3195
3479
|
/** If you are asked by Google to help with debugging, set this field. Otherwise, ignore this field. */
|
|
@@ -3218,11 +3502,11 @@ declare namespace gapi.client {
|
|
|
3218
3502
|
/** Updates a datasource. **Note:** This API requires an admin account to execute. */
|
|
3219
3503
|
update(request: {
|
|
3220
3504
|
/** V1 error format. */
|
|
3221
|
-
'$.xgafv'?:
|
|
3505
|
+
'$.xgafv'?: '1' | '2';
|
|
3222
3506
|
/** OAuth access token. */
|
|
3223
3507
|
access_token?: string;
|
|
3224
3508
|
/** Data format for response. */
|
|
3225
|
-
alt?:
|
|
3509
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3226
3510
|
/** JSONP */
|
|
3227
3511
|
callback?: string;
|
|
3228
3512
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3247,11 +3531,11 @@ declare namespace gapi.client {
|
|
|
3247
3531
|
update(
|
|
3248
3532
|
request: {
|
|
3249
3533
|
/** V1 error format. */
|
|
3250
|
-
'$.xgafv'?:
|
|
3534
|
+
'$.xgafv'?: '1' | '2';
|
|
3251
3535
|
/** OAuth access token. */
|
|
3252
3536
|
access_token?: string;
|
|
3253
3537
|
/** Data format for response. */
|
|
3254
|
-
alt?:
|
|
3538
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3255
3539
|
/** JSONP */
|
|
3256
3540
|
callback?: string;
|
|
3257
3541
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3278,11 +3562,11 @@ declare namespace gapi.client {
|
|
|
3278
3562
|
/** Creates a search application. **Note:** This API requires an admin account to execute. */
|
|
3279
3563
|
create(request: {
|
|
3280
3564
|
/** V1 error format. */
|
|
3281
|
-
'$.xgafv'?:
|
|
3565
|
+
'$.xgafv'?: '1' | '2';
|
|
3282
3566
|
/** OAuth access token. */
|
|
3283
3567
|
access_token?: string;
|
|
3284
3568
|
/** Data format for response. */
|
|
3285
|
-
alt?:
|
|
3569
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3286
3570
|
/** JSONP */
|
|
3287
3571
|
callback?: string;
|
|
3288
3572
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3305,11 +3589,11 @@ declare namespace gapi.client {
|
|
|
3305
3589
|
create(
|
|
3306
3590
|
request: {
|
|
3307
3591
|
/** V1 error format. */
|
|
3308
|
-
'$.xgafv'?:
|
|
3592
|
+
'$.xgafv'?: '1' | '2';
|
|
3309
3593
|
/** OAuth access token. */
|
|
3310
3594
|
access_token?: string;
|
|
3311
3595
|
/** Data format for response. */
|
|
3312
|
-
alt?:
|
|
3596
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3313
3597
|
/** JSONP */
|
|
3314
3598
|
callback?: string;
|
|
3315
3599
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3332,11 +3616,11 @@ declare namespace gapi.client {
|
|
|
3332
3616
|
/** Deletes a search application. **Note:** This API requires an admin account to execute. */
|
|
3333
3617
|
delete(request?: {
|
|
3334
3618
|
/** V1 error format. */
|
|
3335
|
-
'$.xgafv'?:
|
|
3619
|
+
'$.xgafv'?: '1' | '2';
|
|
3336
3620
|
/** OAuth access token. */
|
|
3337
3621
|
access_token?: string;
|
|
3338
3622
|
/** Data format for response. */
|
|
3339
|
-
alt?:
|
|
3623
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3340
3624
|
/** JSONP */
|
|
3341
3625
|
callback?: string;
|
|
3342
3626
|
/** If you are asked by Google to help with debugging, set this field. Otherwise, ignore this field. */
|
|
@@ -3361,11 +3645,11 @@ declare namespace gapi.client {
|
|
|
3361
3645
|
/** Gets the specified search application. **Note:** This API requires an admin account to execute. */
|
|
3362
3646
|
get(request?: {
|
|
3363
3647
|
/** V1 error format. */
|
|
3364
|
-
'$.xgafv'?:
|
|
3648
|
+
'$.xgafv'?: '1' | '2';
|
|
3365
3649
|
/** OAuth access token. */
|
|
3366
3650
|
access_token?: string;
|
|
3367
3651
|
/** Data format for response. */
|
|
3368
|
-
alt?:
|
|
3652
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3369
3653
|
/** JSONP */
|
|
3370
3654
|
callback?: string;
|
|
3371
3655
|
/** If you are asked by Google to help with debugging, set this field. Otherwise, ignore this field. */
|
|
@@ -3390,11 +3674,11 @@ declare namespace gapi.client {
|
|
|
3390
3674
|
/** Lists all search applications. **Note:** This API requires an admin account to execute. */
|
|
3391
3675
|
list(request?: {
|
|
3392
3676
|
/** V1 error format. */
|
|
3393
|
-
'$.xgafv'?:
|
|
3677
|
+
'$.xgafv'?: '1' | '2';
|
|
3394
3678
|
/** OAuth access token. */
|
|
3395
3679
|
access_token?: string;
|
|
3396
3680
|
/** Data format for response. */
|
|
3397
|
-
alt?:
|
|
3681
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3398
3682
|
/** JSONP */
|
|
3399
3683
|
callback?: string;
|
|
3400
3684
|
/** If you are asked by Google to help with debugging, set this field. Otherwise, ignore this field. */
|
|
@@ -3421,11 +3705,11 @@ declare namespace gapi.client {
|
|
|
3421
3705
|
/** Updates a search application. **Note:** This API requires an admin account to execute. */
|
|
3422
3706
|
patch(request: {
|
|
3423
3707
|
/** V1 error format. */
|
|
3424
|
-
'$.xgafv'?:
|
|
3708
|
+
'$.xgafv'?: '1' | '2';
|
|
3425
3709
|
/** OAuth access token. */
|
|
3426
3710
|
access_token?: string;
|
|
3427
3711
|
/** Data format for response. */
|
|
3428
|
-
alt?:
|
|
3712
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3429
3713
|
/** JSONP */
|
|
3430
3714
|
callback?: string;
|
|
3431
3715
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3452,11 +3736,11 @@ declare namespace gapi.client {
|
|
|
3452
3736
|
patch(
|
|
3453
3737
|
request: {
|
|
3454
3738
|
/** V1 error format. */
|
|
3455
|
-
'$.xgafv'?:
|
|
3739
|
+
'$.xgafv'?: '1' | '2';
|
|
3456
3740
|
/** OAuth access token. */
|
|
3457
3741
|
access_token?: string;
|
|
3458
3742
|
/** Data format for response. */
|
|
3459
|
-
alt?:
|
|
3743
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3460
3744
|
/** JSONP */
|
|
3461
3745
|
callback?: string;
|
|
3462
3746
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3483,11 +3767,11 @@ declare namespace gapi.client {
|
|
|
3483
3767
|
/** Resets a search application to default settings. This will return an empty response. **Note:** This API requires an admin account to execute. */
|
|
3484
3768
|
reset(request: {
|
|
3485
3769
|
/** V1 error format. */
|
|
3486
|
-
'$.xgafv'?:
|
|
3770
|
+
'$.xgafv'?: '1' | '2';
|
|
3487
3771
|
/** OAuth access token. */
|
|
3488
3772
|
access_token?: string;
|
|
3489
3773
|
/** Data format for response. */
|
|
3490
|
-
alt?:
|
|
3774
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3491
3775
|
/** JSONP */
|
|
3492
3776
|
callback?: string;
|
|
3493
3777
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3512,11 +3796,11 @@ declare namespace gapi.client {
|
|
|
3512
3796
|
reset(
|
|
3513
3797
|
request: {
|
|
3514
3798
|
/** V1 error format. */
|
|
3515
|
-
'$.xgafv'?:
|
|
3799
|
+
'$.xgafv'?: '1' | '2';
|
|
3516
3800
|
/** OAuth access token. */
|
|
3517
3801
|
access_token?: string;
|
|
3518
3802
|
/** Data format for response. */
|
|
3519
|
-
alt?:
|
|
3803
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3520
3804
|
/** JSONP */
|
|
3521
3805
|
callback?: string;
|
|
3522
3806
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3541,11 +3825,11 @@ declare namespace gapi.client {
|
|
|
3541
3825
|
/** Updates a search application. **Note:** This API requires an admin account to execute. */
|
|
3542
3826
|
update(request: {
|
|
3543
3827
|
/** V1 error format. */
|
|
3544
|
-
'$.xgafv'?:
|
|
3828
|
+
'$.xgafv'?: '1' | '2';
|
|
3545
3829
|
/** OAuth access token. */
|
|
3546
3830
|
access_token?: string;
|
|
3547
3831
|
/** Data format for response. */
|
|
3548
|
-
alt?:
|
|
3832
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3549
3833
|
/** JSONP */
|
|
3550
3834
|
callback?: string;
|
|
3551
3835
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3572,11 +3856,11 @@ declare namespace gapi.client {
|
|
|
3572
3856
|
update(
|
|
3573
3857
|
request: {
|
|
3574
3858
|
/** V1 error format. */
|
|
3575
|
-
'$.xgafv'?:
|
|
3859
|
+
'$.xgafv'?: '1' | '2';
|
|
3576
3860
|
/** OAuth access token. */
|
|
3577
3861
|
access_token?: string;
|
|
3578
3862
|
/** Data format for response. */
|
|
3579
|
-
alt?:
|
|
3863
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3580
3864
|
/** JSONP */
|
|
3581
3865
|
callback?: string;
|
|
3582
3866
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3605,11 +3889,11 @@ declare namespace gapi.client {
|
|
|
3605
3889
|
/** Get customer settings. **Note:** This API requires an admin account to execute. */
|
|
3606
3890
|
getCustomer(request?: {
|
|
3607
3891
|
/** V1 error format. */
|
|
3608
|
-
'$.xgafv'?:
|
|
3892
|
+
'$.xgafv'?: '1' | '2';
|
|
3609
3893
|
/** OAuth access token. */
|
|
3610
3894
|
access_token?: string;
|
|
3611
3895
|
/** Data format for response. */
|
|
3612
|
-
alt?:
|
|
3896
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3613
3897
|
/** JSONP */
|
|
3614
3898
|
callback?: string;
|
|
3615
3899
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3630,11 +3914,11 @@ declare namespace gapi.client {
|
|
|
3630
3914
|
/** Update customer settings. **Note:** This API requires an admin account to execute. */
|
|
3631
3915
|
updateCustomer(request: {
|
|
3632
3916
|
/** V1 error format. */
|
|
3633
|
-
'$.xgafv'?:
|
|
3917
|
+
'$.xgafv'?: '1' | '2';
|
|
3634
3918
|
/** OAuth access token. */
|
|
3635
3919
|
access_token?: string;
|
|
3636
3920
|
/** Data format for response. */
|
|
3637
|
-
alt?:
|
|
3921
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3638
3922
|
/** JSONP */
|
|
3639
3923
|
callback?: string;
|
|
3640
3924
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3659,11 +3943,11 @@ declare namespace gapi.client {
|
|
|
3659
3943
|
updateCustomer(
|
|
3660
3944
|
request: {
|
|
3661
3945
|
/** V1 error format. */
|
|
3662
|
-
'$.xgafv'?:
|
|
3946
|
+
'$.xgafv'?: '1' | '2';
|
|
3663
3947
|
/** OAuth access token. */
|
|
3664
3948
|
access_token?: string;
|
|
3665
3949
|
/** Data format for response. */
|
|
3666
|
-
alt?:
|
|
3950
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3667
3951
|
/** JSONP */
|
|
3668
3952
|
callback?: string;
|
|
3669
3953
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3692,11 +3976,11 @@ declare namespace gapi.client {
|
|
|
3692
3976
|
/** Gets indexed item statistics for a single data source. **Note:** This API requires a standard end user account to execute. */
|
|
3693
3977
|
get(request?: {
|
|
3694
3978
|
/** V1 error format. */
|
|
3695
|
-
'$.xgafv'?:
|
|
3979
|
+
'$.xgafv'?: '1' | '2';
|
|
3696
3980
|
/** OAuth access token. */
|
|
3697
3981
|
access_token?: string;
|
|
3698
3982
|
/** Data format for response. */
|
|
3699
|
-
alt?:
|
|
3983
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3700
3984
|
/** JSONP */
|
|
3701
3985
|
callback?: string;
|
|
3702
3986
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3736,11 +4020,11 @@ declare namespace gapi.client {
|
|
|
3736
4020
|
/** Get the query statistics for search application. **Note:** This API requires a standard end user account to execute. */
|
|
3737
4021
|
get(request?: {
|
|
3738
4022
|
/** V1 error format. */
|
|
3739
|
-
'$.xgafv'?:
|
|
4023
|
+
'$.xgafv'?: '1' | '2';
|
|
3740
4024
|
/** OAuth access token. */
|
|
3741
4025
|
access_token?: string;
|
|
3742
4026
|
/** Data format for response. */
|
|
3743
|
-
alt?:
|
|
4027
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3744
4028
|
/** JSONP */
|
|
3745
4029
|
callback?: string;
|
|
3746
4030
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3780,11 +4064,11 @@ declare namespace gapi.client {
|
|
|
3780
4064
|
/** Get the # of search sessions, % of successful sessions with a click query statistics for search application. **Note:** This API requires a standard end user account to execute. */
|
|
3781
4065
|
get(request?: {
|
|
3782
4066
|
/** V1 error format. */
|
|
3783
|
-
'$.xgafv'?:
|
|
4067
|
+
'$.xgafv'?: '1' | '2';
|
|
3784
4068
|
/** OAuth access token. */
|
|
3785
4069
|
access_token?: string;
|
|
3786
4070
|
/** Data format for response. */
|
|
3787
|
-
alt?:
|
|
4071
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3788
4072
|
/** JSONP */
|
|
3789
4073
|
callback?: string;
|
|
3790
4074
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3824,11 +4108,11 @@ declare namespace gapi.client {
|
|
|
3824
4108
|
/** Get the users statistics for search application. **Note:** This API requires a standard end user account to execute. */
|
|
3825
4109
|
get(request?: {
|
|
3826
4110
|
/** V1 error format. */
|
|
3827
|
-
'$.xgafv'?:
|
|
4111
|
+
'$.xgafv'?: '1' | '2';
|
|
3828
4112
|
/** OAuth access token. */
|
|
3829
4113
|
access_token?: string;
|
|
3830
4114
|
/** Data format for response. */
|
|
3831
|
-
alt?:
|
|
4115
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3832
4116
|
/** JSONP */
|
|
3833
4117
|
callback?: string;
|
|
3834
4118
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3868,11 +4152,11 @@ declare namespace gapi.client {
|
|
|
3868
4152
|
/** Gets indexed item statistics aggreggated across all data sources. This API only returns statistics for previous dates; it doesn't return statistics for the current day. **Note:** This API requires a standard end user account to execute. */
|
|
3869
4153
|
getIndex(request?: {
|
|
3870
4154
|
/** V1 error format. */
|
|
3871
|
-
'$.xgafv'?:
|
|
4155
|
+
'$.xgafv'?: '1' | '2';
|
|
3872
4156
|
/** OAuth access token. */
|
|
3873
4157
|
access_token?: string;
|
|
3874
4158
|
/** Data format for response. */
|
|
3875
|
-
alt?:
|
|
4159
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3876
4160
|
/** JSONP */
|
|
3877
4161
|
callback?: string;
|
|
3878
4162
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3905,11 +4189,11 @@ declare namespace gapi.client {
|
|
|
3905
4189
|
/** Get the query statistics for customer. **Note:** This API requires a standard end user account to execute. */
|
|
3906
4190
|
getQuery(request?: {
|
|
3907
4191
|
/** V1 error format. */
|
|
3908
|
-
'$.xgafv'?:
|
|
4192
|
+
'$.xgafv'?: '1' | '2';
|
|
3909
4193
|
/** OAuth access token. */
|
|
3910
4194
|
access_token?: string;
|
|
3911
4195
|
/** Data format for response. */
|
|
3912
|
-
alt?:
|
|
4196
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3913
4197
|
/** JSONP */
|
|
3914
4198
|
callback?: string;
|
|
3915
4199
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3942,11 +4226,11 @@ declare namespace gapi.client {
|
|
|
3942
4226
|
/** Get search application stats for customer. **Note:** This API requires a standard end user account to execute. */
|
|
3943
4227
|
getSearchapplication(request?: {
|
|
3944
4228
|
/** V1 error format. */
|
|
3945
|
-
'$.xgafv'?:
|
|
4229
|
+
'$.xgafv'?: '1' | '2';
|
|
3946
4230
|
/** OAuth access token. */
|
|
3947
4231
|
access_token?: string;
|
|
3948
4232
|
/** Data format for response. */
|
|
3949
|
-
alt?:
|
|
4233
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3950
4234
|
/** JSONP */
|
|
3951
4235
|
callback?: string;
|
|
3952
4236
|
/** Day of month. Must be from 1 to 31 and valid for the year and month. */
|
|
@@ -3979,11 +4263,11 @@ declare namespace gapi.client {
|
|
|
3979
4263
|
/** Get the # of search sessions, % of successful sessions with a click query statistics for customer. **Note:** This API requires a standard end user account to execute. */
|
|
3980
4264
|
getSession(request?: {
|
|
3981
4265
|
/** V1 error format. */
|
|
3982
|
-
'$.xgafv'?:
|
|
4266
|
+
'$.xgafv'?: '1' | '2';
|
|
3983
4267
|
/** OAuth access token. */
|
|
3984
4268
|
access_token?: string;
|
|
3985
4269
|
/** Data format for response. */
|
|
3986
|
-
alt?:
|
|
4270
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3987
4271
|
/** JSONP */
|
|
3988
4272
|
callback?: string;
|
|
3989
4273
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -4016,11 +4300,11 @@ declare namespace gapi.client {
|
|
|
4016
4300
|
/** Get the users statistics for customer. **Note:** This API requires a standard end user account to execute. */
|
|
4017
4301
|
getUser(request?: {
|
|
4018
4302
|
/** V1 error format. */
|
|
4019
|
-
'$.xgafv'?:
|
|
4303
|
+
'$.xgafv'?: '1' | '2';
|
|
4020
4304
|
/** OAuth access token. */
|
|
4021
4305
|
access_token?: string;
|
|
4022
4306
|
/** Data format for response. */
|
|
4023
|
-
alt?:
|
|
4307
|
+
alt?: 'json' | 'media' | 'proto';
|
|
4024
4308
|
/** JSONP */
|
|
4025
4309
|
callback?: string;
|
|
4026
4310
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -4059,11 +4343,11 @@ declare namespace gapi.client {
|
|
|
4059
4343
|
/** Enables `third party` support in Google Cloud Search. **Note:** This API requires an admin account to execute. */
|
|
4060
4344
|
initializeCustomer(request: {
|
|
4061
4345
|
/** V1 error format. */
|
|
4062
|
-
'$.xgafv'?:
|
|
4346
|
+
'$.xgafv'?: '1' | '2';
|
|
4063
4347
|
/** OAuth access token. */
|
|
4064
4348
|
access_token?: string;
|
|
4065
4349
|
/** Data format for response. */
|
|
4066
|
-
alt?:
|
|
4350
|
+
alt?: 'json' | 'media' | 'proto';
|
|
4067
4351
|
/** JSONP */
|
|
4068
4352
|
callback?: string;
|
|
4069
4353
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -4086,11 +4370,11 @@ declare namespace gapi.client {
|
|
|
4086
4370
|
initializeCustomer(
|
|
4087
4371
|
request: {
|
|
4088
4372
|
/** V1 error format. */
|
|
4089
|
-
'$.xgafv'?:
|
|
4373
|
+
'$.xgafv'?: '1' | '2';
|
|
4090
4374
|
/** OAuth access token. */
|
|
4091
4375
|
access_token?: string;
|
|
4092
4376
|
/** Data format for response. */
|
|
4093
|
-
alt?:
|
|
4377
|
+
alt?: 'json' | 'media' | 'proto';
|
|
4094
4378
|
/** JSONP */
|
|
4095
4379
|
callback?: string;
|
|
4096
4380
|
/** Selector specifying which fields to include in a partial response. */
|