@maxim_mazurok/gapi.client.cloudsearch-v1 0.2.20260114 → 0.3.20260114
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 +476 -206
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -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. */
|
|
@@ -1463,7 +1699,17 @@ declare namespace gapi.client {
|
|
|
1463
1699
|
/** Error codes. Matches the definition of HTTP status codes. */
|
|
1464
1700
|
httpStatusCode?: number;
|
|
1465
1701
|
/** The type of error. */
|
|
1466
|
-
type?:
|
|
1702
|
+
type?:
|
|
1703
|
+
| 'UNKNOWN'
|
|
1704
|
+
| 'NETWORK_ERROR'
|
|
1705
|
+
| 'DNS_ERROR'
|
|
1706
|
+
| 'CONNECTION_ERROR'
|
|
1707
|
+
| 'AUTHENTICATION_ERROR'
|
|
1708
|
+
| 'AUTHORIZATION_ERROR'
|
|
1709
|
+
| 'SERVER_ERROR'
|
|
1710
|
+
| 'QUOTA_EXCEEDED'
|
|
1711
|
+
| 'SERVICE_UNAVAILABLE'
|
|
1712
|
+
| 'CLIENT_ERROR';
|
|
1467
1713
|
}
|
|
1468
1714
|
interface RequestOptions {
|
|
1469
1715
|
/** Debug options of the request */
|
|
@@ -1519,7 +1765,7 @@ declare namespace gapi.client {
|
|
|
1519
1765
|
}
|
|
1520
1766
|
interface RetrievalImportance {
|
|
1521
1767
|
/** 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?:
|
|
1768
|
+
importance?: 'DEFAULT' | 'HIGHEST' | 'HIGH' | 'LOW' | 'NONE';
|
|
1523
1769
|
}
|
|
1524
1770
|
interface SafeHtmlProto {
|
|
1525
1771
|
/** 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 +1916,22 @@ declare namespace gapi.client {
|
|
|
1670
1916
|
/** The name of the operator corresponding to the field to sort on. The corresponding property must be marked as sortable. */
|
|
1671
1917
|
operatorName?: string;
|
|
1672
1918
|
/** Ascending is the default sort order */
|
|
1673
|
-
sortOrder?:
|
|
1919
|
+
sortOrder?: 'ASCENDING' | 'DESCENDING';
|
|
1674
1920
|
}
|
|
1675
1921
|
interface Source {
|
|
1676
1922
|
/** Source name for content indexed by the Indexing API. */
|
|
1677
1923
|
name?: string;
|
|
1678
1924
|
/** Predefined content source for Google Apps. */
|
|
1679
|
-
predefinedSource?:
|
|
1925
|
+
predefinedSource?:
|
|
1926
|
+
| 'NONE'
|
|
1927
|
+
| 'QUERY_HISTORY'
|
|
1928
|
+
| 'PERSON'
|
|
1929
|
+
| 'GOOGLE_DRIVE'
|
|
1930
|
+
| 'GOOGLE_GMAIL'
|
|
1931
|
+
| 'GOOGLE_SITES'
|
|
1932
|
+
| 'GOOGLE_GROUPS'
|
|
1933
|
+
| 'GOOGLE_CALENDAR'
|
|
1934
|
+
| 'GOOGLE_KEEP';
|
|
1680
1935
|
}
|
|
1681
1936
|
interface SourceConfig {
|
|
1682
1937
|
/** The crowding configuration for the source. */
|
|
@@ -1704,7 +1959,7 @@ declare namespace gapi.client {
|
|
|
1704
1959
|
}
|
|
1705
1960
|
interface SourceScoringConfig {
|
|
1706
1961
|
/** Importance of the source. */
|
|
1707
|
-
sourceImportance?:
|
|
1962
|
+
sourceImportance?: 'DEFAULT' | 'LOW' | 'HIGH';
|
|
1708
1963
|
}
|
|
1709
1964
|
interface SpellResult {
|
|
1710
1965
|
/** The suggested spelling of the query. */
|
|
@@ -1712,7 +1967,10 @@ declare namespace gapi.client {
|
|
|
1712
1967
|
/** 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
1968
|
suggestedQueryHtml?: SafeHtmlProto;
|
|
1714
1969
|
/** Suggestion triggered for the current query. */
|
|
1715
|
-
suggestionType?:
|
|
1970
|
+
suggestionType?:
|
|
1971
|
+
| 'SUGGESTION_TYPE_UNSPECIFIED'
|
|
1972
|
+
| 'NON_EMPTY_RESULTS_SPELL_SUGGESTION'
|
|
1973
|
+
| 'ZERO_RESULTS_FULL_PAGE_REPLACEMENT';
|
|
1716
1974
|
}
|
|
1717
1975
|
interface StartUploadItemRequest {
|
|
1718
1976
|
/** The name of connector making this call. Format: datasources/{source_id}/connectors/{ID} */
|
|
@@ -1807,7 +2065,13 @@ declare namespace gapi.client {
|
|
|
1807
2065
|
/** The resource name for an external user. */
|
|
1808
2066
|
externalIdentity?: Principal;
|
|
1809
2067
|
/** The resolution status for the external identity. */
|
|
1810
|
-
resolutionStatusCode?:
|
|
2068
|
+
resolutionStatusCode?:
|
|
2069
|
+
| 'CODE_UNSPECIFIED'
|
|
2070
|
+
| 'NOT_FOUND'
|
|
2071
|
+
| 'IDENTITY_SOURCE_NOT_FOUND'
|
|
2072
|
+
| 'IDENTITY_SOURCE_MISCONFIGURED'
|
|
2073
|
+
| 'TOO_MANY_MAPPINGS_FOUND'
|
|
2074
|
+
| 'INTERNAL_ERROR';
|
|
1811
2075
|
}
|
|
1812
2076
|
interface UnreserveItemsRequest {
|
|
1813
2077
|
/** The name of connector making this call. Format: datasources/{source_id}/connectors/{ID} */
|
|
@@ -1862,11 +2126,11 @@ declare namespace gapi.client {
|
|
|
1862
2126
|
/** List all unmapped identities for a specific item. **Note:** This API requires an admin account to execute. */
|
|
1863
2127
|
list(request?: {
|
|
1864
2128
|
/** V1 error format. */
|
|
1865
|
-
'$.xgafv'?:
|
|
2129
|
+
'$.xgafv'?: '1' | '2';
|
|
1866
2130
|
/** OAuth access token. */
|
|
1867
2131
|
access_token?: string;
|
|
1868
2132
|
/** Data format for response. */
|
|
1869
|
-
alt?:
|
|
2133
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1870
2134
|
/** JSONP */
|
|
1871
2135
|
callback?: string;
|
|
1872
2136
|
/** If you are asked by Google to help with debugging, set this field. Otherwise, ignore this field. */
|
|
@@ -1897,11 +2161,11 @@ declare namespace gapi.client {
|
|
|
1897
2161
|
/** 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
2162
|
checkAccess(request: {
|
|
1899
2163
|
/** V1 error format. */
|
|
1900
|
-
'$.xgafv'?:
|
|
2164
|
+
'$.xgafv'?: '1' | '2';
|
|
1901
2165
|
/** OAuth access token. */
|
|
1902
2166
|
access_token?: string;
|
|
1903
2167
|
/** Data format for response. */
|
|
1904
|
-
alt?:
|
|
2168
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1905
2169
|
/** JSONP */
|
|
1906
2170
|
callback?: string;
|
|
1907
2171
|
/** If you are asked by Google to help with debugging, set this field. Otherwise, ignore this field. */
|
|
@@ -1928,11 +2192,11 @@ declare namespace gapi.client {
|
|
|
1928
2192
|
checkAccess(
|
|
1929
2193
|
request: {
|
|
1930
2194
|
/** V1 error format. */
|
|
1931
|
-
'$.xgafv'?:
|
|
2195
|
+
'$.xgafv'?: '1' | '2';
|
|
1932
2196
|
/** OAuth access token. */
|
|
1933
2197
|
access_token?: string;
|
|
1934
2198
|
/** Data format for response. */
|
|
1935
|
-
alt?:
|
|
2199
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1936
2200
|
/** JSONP */
|
|
1937
2201
|
callback?: string;
|
|
1938
2202
|
/** If you are asked by Google to help with debugging, set this field. Otherwise, ignore this field. */
|
|
@@ -1959,11 +2223,11 @@ declare namespace gapi.client {
|
|
|
1959
2223
|
/** 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
2224
|
searchByViewUrl(request: {
|
|
1961
2225
|
/** V1 error format. */
|
|
1962
|
-
'$.xgafv'?:
|
|
2226
|
+
'$.xgafv'?: '1' | '2';
|
|
1963
2227
|
/** OAuth access token. */
|
|
1964
2228
|
access_token?: string;
|
|
1965
2229
|
/** Data format for response. */
|
|
1966
|
-
alt?:
|
|
2230
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1967
2231
|
/** JSONP */
|
|
1968
2232
|
callback?: string;
|
|
1969
2233
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1988,11 +2252,11 @@ declare namespace gapi.client {
|
|
|
1988
2252
|
searchByViewUrl(
|
|
1989
2253
|
request: {
|
|
1990
2254
|
/** V1 error format. */
|
|
1991
|
-
'$.xgafv'?:
|
|
2255
|
+
'$.xgafv'?: '1' | '2';
|
|
1992
2256
|
/** OAuth access token. */
|
|
1993
2257
|
access_token?: string;
|
|
1994
2258
|
/** Data format for response. */
|
|
1995
|
-
alt?:
|
|
2259
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1996
2260
|
/** JSONP */
|
|
1997
2261
|
callback?: string;
|
|
1998
2262
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2023,11 +2287,11 @@ declare namespace gapi.client {
|
|
|
2023
2287
|
/** Lists names of items associated with an unmapped identity. **Note:** This API requires an admin account to execute. */
|
|
2024
2288
|
listForunmappedidentity(request?: {
|
|
2025
2289
|
/** V1 error format. */
|
|
2026
|
-
'$.xgafv'?:
|
|
2290
|
+
'$.xgafv'?: '1' | '2';
|
|
2027
2291
|
/** OAuth access token. */
|
|
2028
2292
|
access_token?: string;
|
|
2029
2293
|
/** Data format for response. */
|
|
2030
|
-
alt?:
|
|
2294
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2031
2295
|
/** JSONP */
|
|
2032
2296
|
callback?: string;
|
|
2033
2297
|
/** If you are asked by Google to help with debugging, set this field. Otherwise, ignore this field. */
|
|
@@ -2060,11 +2324,11 @@ declare namespace gapi.client {
|
|
|
2060
2324
|
/** Lists unmapped user identities for an identity source. **Note:** This API requires an admin account to execute. */
|
|
2061
2325
|
list(request?: {
|
|
2062
2326
|
/** V1 error format. */
|
|
2063
|
-
'$.xgafv'?:
|
|
2327
|
+
'$.xgafv'?: '1' | '2';
|
|
2064
2328
|
/** OAuth access token. */
|
|
2065
2329
|
access_token?: string;
|
|
2066
2330
|
/** Data format for response. */
|
|
2067
|
-
alt?:
|
|
2331
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2068
2332
|
/** JSONP */
|
|
2069
2333
|
callback?: string;
|
|
2070
2334
|
/** If you are asked by Google to help with debugging, set this field. Otherwise, ignore this field. */
|
|
@@ -2086,7 +2350,13 @@ declare namespace gapi.client {
|
|
|
2086
2350
|
/** 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
2351
|
quotaUser?: string;
|
|
2088
2352
|
/** Limit users selection to this status. */
|
|
2089
|
-
resolutionStatusCode?:
|
|
2353
|
+
resolutionStatusCode?:
|
|
2354
|
+
| 'CODE_UNSPECIFIED'
|
|
2355
|
+
| 'NOT_FOUND'
|
|
2356
|
+
| 'IDENTITY_SOURCE_NOT_FOUND'
|
|
2357
|
+
| 'IDENTITY_SOURCE_MISCONFIGURED'
|
|
2358
|
+
| 'TOO_MANY_MAPPINGS_FOUND'
|
|
2359
|
+
| 'INTERNAL_ERROR';
|
|
2090
2360
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2091
2361
|
upload_protocol?: string;
|
|
2092
2362
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
@@ -2105,11 +2375,11 @@ declare namespace gapi.client {
|
|
|
2105
2375
|
/** 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
2376
|
delete(request?: {
|
|
2107
2377
|
/** V1 error format. */
|
|
2108
|
-
'$.xgafv'?:
|
|
2378
|
+
'$.xgafv'?: '1' | '2';
|
|
2109
2379
|
/** OAuth access token. */
|
|
2110
2380
|
access_token?: string;
|
|
2111
2381
|
/** Data format for response. */
|
|
2112
|
-
alt?:
|
|
2382
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2113
2383
|
/** JSONP */
|
|
2114
2384
|
callback?: string;
|
|
2115
2385
|
/** The name of connector making this call. Format: datasources/{source_id}/connectors/{ID} */
|
|
@@ -2121,7 +2391,7 @@ declare namespace gapi.client {
|
|
|
2121
2391
|
/** 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
2392
|
key?: string;
|
|
2123
2393
|
/** Required. The RequestMode for this request. */
|
|
2124
|
-
mode?:
|
|
2394
|
+
mode?: 'UNSPECIFIED' | 'SYNCHRONOUS' | 'ASYNCHRONOUS';
|
|
2125
2395
|
/** Required. The name of the item to delete. Format: datasources/{source_id}/items/{item_id} */
|
|
2126
2396
|
name: string;
|
|
2127
2397
|
/** OAuth 2.0 token for the current user. */
|
|
@@ -2140,11 +2410,11 @@ declare namespace gapi.client {
|
|
|
2140
2410
|
/** 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
2411
|
deleteQueueItems(request: {
|
|
2142
2412
|
/** V1 error format. */
|
|
2143
|
-
'$.xgafv'?:
|
|
2413
|
+
'$.xgafv'?: '1' | '2';
|
|
2144
2414
|
/** OAuth access token. */
|
|
2145
2415
|
access_token?: string;
|
|
2146
2416
|
/** Data format for response. */
|
|
2147
|
-
alt?:
|
|
2417
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2148
2418
|
/** JSONP */
|
|
2149
2419
|
callback?: string;
|
|
2150
2420
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2169,11 +2439,11 @@ declare namespace gapi.client {
|
|
|
2169
2439
|
deleteQueueItems(
|
|
2170
2440
|
request: {
|
|
2171
2441
|
/** V1 error format. */
|
|
2172
|
-
'$.xgafv'?:
|
|
2442
|
+
'$.xgafv'?: '1' | '2';
|
|
2173
2443
|
/** OAuth access token. */
|
|
2174
2444
|
access_token?: string;
|
|
2175
2445
|
/** Data format for response. */
|
|
2176
|
-
alt?:
|
|
2446
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2177
2447
|
/** JSONP */
|
|
2178
2448
|
callback?: string;
|
|
2179
2449
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2198,11 +2468,11 @@ declare namespace gapi.client {
|
|
|
2198
2468
|
/** 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
2469
|
get(request?: {
|
|
2200
2470
|
/** V1 error format. */
|
|
2201
|
-
'$.xgafv'?:
|
|
2471
|
+
'$.xgafv'?: '1' | '2';
|
|
2202
2472
|
/** OAuth access token. */
|
|
2203
2473
|
access_token?: string;
|
|
2204
2474
|
/** Data format for response. */
|
|
2205
|
-
alt?:
|
|
2475
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2206
2476
|
/** JSONP */
|
|
2207
2477
|
callback?: string;
|
|
2208
2478
|
/** The name of connector making this call. Format: datasources/{source_id}/connectors/{ID} */
|
|
@@ -2229,11 +2499,11 @@ declare namespace gapi.client {
|
|
|
2229
2499
|
/** 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
2500
|
index(request: {
|
|
2231
2501
|
/** V1 error format. */
|
|
2232
|
-
'$.xgafv'?:
|
|
2502
|
+
'$.xgafv'?: '1' | '2';
|
|
2233
2503
|
/** OAuth access token. */
|
|
2234
2504
|
access_token?: string;
|
|
2235
2505
|
/** Data format for response. */
|
|
2236
|
-
alt?:
|
|
2506
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2237
2507
|
/** JSONP */
|
|
2238
2508
|
callback?: string;
|
|
2239
2509
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2258,11 +2528,11 @@ declare namespace gapi.client {
|
|
|
2258
2528
|
index(
|
|
2259
2529
|
request: {
|
|
2260
2530
|
/** V1 error format. */
|
|
2261
|
-
'$.xgafv'?:
|
|
2531
|
+
'$.xgafv'?: '1' | '2';
|
|
2262
2532
|
/** OAuth access token. */
|
|
2263
2533
|
access_token?: string;
|
|
2264
2534
|
/** Data format for response. */
|
|
2265
|
-
alt?:
|
|
2535
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2266
2536
|
/** JSONP */
|
|
2267
2537
|
callback?: string;
|
|
2268
2538
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2287,11 +2557,11 @@ declare namespace gapi.client {
|
|
|
2287
2557
|
/** 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
2558
|
list(request?: {
|
|
2289
2559
|
/** V1 error format. */
|
|
2290
|
-
'$.xgafv'?:
|
|
2560
|
+
'$.xgafv'?: '1' | '2';
|
|
2291
2561
|
/** OAuth access token. */
|
|
2292
2562
|
access_token?: string;
|
|
2293
2563
|
/** Data format for response. */
|
|
2294
|
-
alt?:
|
|
2564
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2295
2565
|
/** 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
2566
|
brief?: boolean;
|
|
2297
2567
|
/** JSONP */
|
|
@@ -2324,11 +2594,11 @@ declare namespace gapi.client {
|
|
|
2324
2594
|
/** 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
2595
|
poll(request: {
|
|
2326
2596
|
/** V1 error format. */
|
|
2327
|
-
'$.xgafv'?:
|
|
2597
|
+
'$.xgafv'?: '1' | '2';
|
|
2328
2598
|
/** OAuth access token. */
|
|
2329
2599
|
access_token?: string;
|
|
2330
2600
|
/** Data format for response. */
|
|
2331
|
-
alt?:
|
|
2601
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2332
2602
|
/** JSONP */
|
|
2333
2603
|
callback?: string;
|
|
2334
2604
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2353,11 +2623,11 @@ declare namespace gapi.client {
|
|
|
2353
2623
|
poll(
|
|
2354
2624
|
request: {
|
|
2355
2625
|
/** V1 error format. */
|
|
2356
|
-
'$.xgafv'?:
|
|
2626
|
+
'$.xgafv'?: '1' | '2';
|
|
2357
2627
|
/** OAuth access token. */
|
|
2358
2628
|
access_token?: string;
|
|
2359
2629
|
/** Data format for response. */
|
|
2360
|
-
alt?:
|
|
2630
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2361
2631
|
/** JSONP */
|
|
2362
2632
|
callback?: string;
|
|
2363
2633
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2382,11 +2652,11 @@ declare namespace gapi.client {
|
|
|
2382
2652
|
/** 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
2653
|
push(request: {
|
|
2384
2654
|
/** V1 error format. */
|
|
2385
|
-
'$.xgafv'?:
|
|
2655
|
+
'$.xgafv'?: '1' | '2';
|
|
2386
2656
|
/** OAuth access token. */
|
|
2387
2657
|
access_token?: string;
|
|
2388
2658
|
/** Data format for response. */
|
|
2389
|
-
alt?:
|
|
2659
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2390
2660
|
/** JSONP */
|
|
2391
2661
|
callback?: string;
|
|
2392
2662
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2411,11 +2681,11 @@ declare namespace gapi.client {
|
|
|
2411
2681
|
push(
|
|
2412
2682
|
request: {
|
|
2413
2683
|
/** V1 error format. */
|
|
2414
|
-
'$.xgafv'?:
|
|
2684
|
+
'$.xgafv'?: '1' | '2';
|
|
2415
2685
|
/** OAuth access token. */
|
|
2416
2686
|
access_token?: string;
|
|
2417
2687
|
/** Data format for response. */
|
|
2418
|
-
alt?:
|
|
2688
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2419
2689
|
/** JSONP */
|
|
2420
2690
|
callback?: string;
|
|
2421
2691
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2440,11 +2710,11 @@ declare namespace gapi.client {
|
|
|
2440
2710
|
/** 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
2711
|
unreserve(request: {
|
|
2442
2712
|
/** V1 error format. */
|
|
2443
|
-
'$.xgafv'?:
|
|
2713
|
+
'$.xgafv'?: '1' | '2';
|
|
2444
2714
|
/** OAuth access token. */
|
|
2445
2715
|
access_token?: string;
|
|
2446
2716
|
/** Data format for response. */
|
|
2447
|
-
alt?:
|
|
2717
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2448
2718
|
/** JSONP */
|
|
2449
2719
|
callback?: string;
|
|
2450
2720
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2469,11 +2739,11 @@ declare namespace gapi.client {
|
|
|
2469
2739
|
unreserve(
|
|
2470
2740
|
request: {
|
|
2471
2741
|
/** V1 error format. */
|
|
2472
|
-
'$.xgafv'?:
|
|
2742
|
+
'$.xgafv'?: '1' | '2';
|
|
2473
2743
|
/** OAuth access token. */
|
|
2474
2744
|
access_token?: string;
|
|
2475
2745
|
/** Data format for response. */
|
|
2476
|
-
alt?:
|
|
2746
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2477
2747
|
/** JSONP */
|
|
2478
2748
|
callback?: string;
|
|
2479
2749
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2498,11 +2768,11 @@ declare namespace gapi.client {
|
|
|
2498
2768
|
/** 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
2769
|
upload(request: {
|
|
2500
2770
|
/** V1 error format. */
|
|
2501
|
-
'$.xgafv'?:
|
|
2771
|
+
'$.xgafv'?: '1' | '2';
|
|
2502
2772
|
/** OAuth access token. */
|
|
2503
2773
|
access_token?: string;
|
|
2504
2774
|
/** Data format for response. */
|
|
2505
|
-
alt?:
|
|
2775
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2506
2776
|
/** JSONP */
|
|
2507
2777
|
callback?: string;
|
|
2508
2778
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2527,11 +2797,11 @@ declare namespace gapi.client {
|
|
|
2527
2797
|
upload(
|
|
2528
2798
|
request: {
|
|
2529
2799
|
/** V1 error format. */
|
|
2530
|
-
'$.xgafv'?:
|
|
2800
|
+
'$.xgafv'?: '1' | '2';
|
|
2531
2801
|
/** OAuth access token. */
|
|
2532
2802
|
access_token?: string;
|
|
2533
2803
|
/** Data format for response. */
|
|
2534
|
-
alt?:
|
|
2804
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2535
2805
|
/** JSONP */
|
|
2536
2806
|
callback?: string;
|
|
2537
2807
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2558,11 +2828,11 @@ declare namespace gapi.client {
|
|
|
2558
2828
|
/** Deletes the schema of a data source. **Note:** This API requires an admin or service account to execute. */
|
|
2559
2829
|
deleteSchema(request?: {
|
|
2560
2830
|
/** V1 error format. */
|
|
2561
|
-
'$.xgafv'?:
|
|
2831
|
+
'$.xgafv'?: '1' | '2';
|
|
2562
2832
|
/** OAuth access token. */
|
|
2563
2833
|
access_token?: string;
|
|
2564
2834
|
/** Data format for response. */
|
|
2565
|
-
alt?:
|
|
2835
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2566
2836
|
/** JSONP */
|
|
2567
2837
|
callback?: string;
|
|
2568
2838
|
/** If you are asked by Google to help with debugging, set this field. Otherwise, ignore this field. */
|
|
@@ -2587,11 +2857,11 @@ declare namespace gapi.client {
|
|
|
2587
2857
|
/** Gets the schema of a data source. **Note:** This API requires an admin or service account to execute. */
|
|
2588
2858
|
getSchema(request?: {
|
|
2589
2859
|
/** V1 error format. */
|
|
2590
|
-
'$.xgafv'?:
|
|
2860
|
+
'$.xgafv'?: '1' | '2';
|
|
2591
2861
|
/** OAuth access token. */
|
|
2592
2862
|
access_token?: string;
|
|
2593
2863
|
/** Data format for response. */
|
|
2594
|
-
alt?:
|
|
2864
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2595
2865
|
/** JSONP */
|
|
2596
2866
|
callback?: string;
|
|
2597
2867
|
/** If you are asked by Google to help with debugging, set this field. Otherwise, ignore this field. */
|
|
@@ -2616,11 +2886,11 @@ declare namespace gapi.client {
|
|
|
2616
2886
|
/** 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
2887
|
updateSchema(request: {
|
|
2618
2888
|
/** V1 error format. */
|
|
2619
|
-
'$.xgafv'?:
|
|
2889
|
+
'$.xgafv'?: '1' | '2';
|
|
2620
2890
|
/** OAuth access token. */
|
|
2621
2891
|
access_token?: string;
|
|
2622
2892
|
/** Data format for response. */
|
|
2623
|
-
alt?:
|
|
2893
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2624
2894
|
/** JSONP */
|
|
2625
2895
|
callback?: string;
|
|
2626
2896
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2645,11 +2915,11 @@ declare namespace gapi.client {
|
|
|
2645
2915
|
updateSchema(
|
|
2646
2916
|
request: {
|
|
2647
2917
|
/** V1 error format. */
|
|
2648
|
-
'$.xgafv'?:
|
|
2918
|
+
'$.xgafv'?: '1' | '2';
|
|
2649
2919
|
/** OAuth access token. */
|
|
2650
2920
|
access_token?: string;
|
|
2651
2921
|
/** Data format for response. */
|
|
2652
|
-
alt?:
|
|
2922
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2653
2923
|
/** JSONP */
|
|
2654
2924
|
callback?: string;
|
|
2655
2925
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2680,11 +2950,11 @@ declare namespace gapi.client {
|
|
|
2680
2950
|
/** 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
2951
|
upload(request: {
|
|
2682
2952
|
/** V1 error format. */
|
|
2683
|
-
'$.xgafv'?:
|
|
2953
|
+
'$.xgafv'?: '1' | '2';
|
|
2684
2954
|
/** OAuth access token. */
|
|
2685
2955
|
access_token?: string;
|
|
2686
2956
|
/** Data format for response. */
|
|
2687
|
-
alt?:
|
|
2957
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2688
2958
|
/** JSONP */
|
|
2689
2959
|
callback?: string;
|
|
2690
2960
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2709,11 +2979,11 @@ declare namespace gapi.client {
|
|
|
2709
2979
|
upload(
|
|
2710
2980
|
request: {
|
|
2711
2981
|
/** V1 error format. */
|
|
2712
|
-
'$.xgafv'?:
|
|
2982
|
+
'$.xgafv'?: '1' | '2';
|
|
2713
2983
|
/** OAuth access token. */
|
|
2714
2984
|
access_token?: string;
|
|
2715
2985
|
/** Data format for response. */
|
|
2716
|
-
alt?:
|
|
2986
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2717
2987
|
/** JSONP */
|
|
2718
2988
|
callback?: string;
|
|
2719
2989
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2740,11 +3010,11 @@ declare namespace gapi.client {
|
|
|
2740
3010
|
/** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
|
|
2741
3011
|
list(request?: {
|
|
2742
3012
|
/** V1 error format. */
|
|
2743
|
-
'$.xgafv'?:
|
|
3013
|
+
'$.xgafv'?: '1' | '2';
|
|
2744
3014
|
/** OAuth access token. */
|
|
2745
3015
|
access_token?: string;
|
|
2746
3016
|
/** Data format for response. */
|
|
2747
|
-
alt?:
|
|
3017
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2748
3018
|
/** JSONP */
|
|
2749
3019
|
callback?: string;
|
|
2750
3020
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2777,11 +3047,11 @@ declare namespace gapi.client {
|
|
|
2777
3047
|
/** 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
3048
|
get(request?: {
|
|
2779
3049
|
/** V1 error format. */
|
|
2780
|
-
'$.xgafv'?:
|
|
3050
|
+
'$.xgafv'?: '1' | '2';
|
|
2781
3051
|
/** OAuth access token. */
|
|
2782
3052
|
access_token?: string;
|
|
2783
3053
|
/** Data format for response. */
|
|
2784
|
-
alt?:
|
|
3054
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2785
3055
|
/** JSONP */
|
|
2786
3056
|
callback?: string;
|
|
2787
3057
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2807,11 +3077,11 @@ declare namespace gapi.client {
|
|
|
2807
3077
|
/** 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
3078
|
list(request?: {
|
|
2809
3079
|
/** V1 error format. */
|
|
2810
|
-
'$.xgafv'?:
|
|
3080
|
+
'$.xgafv'?: '1' | '2';
|
|
2811
3081
|
/** OAuth access token. */
|
|
2812
3082
|
access_token?: string;
|
|
2813
3083
|
/** Data format for response. */
|
|
2814
|
-
alt?:
|
|
3084
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2815
3085
|
/** JSONP */
|
|
2816
3086
|
callback?: string;
|
|
2817
3087
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2844,11 +3114,11 @@ declare namespace gapi.client {
|
|
|
2844
3114
|
/** 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
3115
|
removeActivity(request: {
|
|
2846
3116
|
/** V1 error format. */
|
|
2847
|
-
'$.xgafv'?:
|
|
3117
|
+
'$.xgafv'?: '1' | '2';
|
|
2848
3118
|
/** OAuth access token. */
|
|
2849
3119
|
access_token?: string;
|
|
2850
3120
|
/** Data format for response. */
|
|
2851
|
-
alt?:
|
|
3121
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2852
3122
|
/** JSONP */
|
|
2853
3123
|
callback?: string;
|
|
2854
3124
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2871,11 +3141,11 @@ declare namespace gapi.client {
|
|
|
2871
3141
|
removeActivity(
|
|
2872
3142
|
request: {
|
|
2873
3143
|
/** V1 error format. */
|
|
2874
|
-
'$.xgafv'?:
|
|
3144
|
+
'$.xgafv'?: '1' | '2';
|
|
2875
3145
|
/** OAuth access token. */
|
|
2876
3146
|
access_token?: string;
|
|
2877
3147
|
/** Data format for response. */
|
|
2878
|
-
alt?:
|
|
3148
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2879
3149
|
/** JSONP */
|
|
2880
3150
|
callback?: string;
|
|
2881
3151
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2898,11 +3168,11 @@ declare namespace gapi.client {
|
|
|
2898
3168
|
/** 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
3169
|
search(request: {
|
|
2900
3170
|
/** V1 error format. */
|
|
2901
|
-
'$.xgafv'?:
|
|
3171
|
+
'$.xgafv'?: '1' | '2';
|
|
2902
3172
|
/** OAuth access token. */
|
|
2903
3173
|
access_token?: string;
|
|
2904
3174
|
/** Data format for response. */
|
|
2905
|
-
alt?:
|
|
3175
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2906
3176
|
/** JSONP */
|
|
2907
3177
|
callback?: string;
|
|
2908
3178
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2925,11 +3195,11 @@ declare namespace gapi.client {
|
|
|
2925
3195
|
search(
|
|
2926
3196
|
request: {
|
|
2927
3197
|
/** V1 error format. */
|
|
2928
|
-
'$.xgafv'?:
|
|
3198
|
+
'$.xgafv'?: '1' | '2';
|
|
2929
3199
|
/** OAuth access token. */
|
|
2930
3200
|
access_token?: string;
|
|
2931
3201
|
/** Data format for response. */
|
|
2932
|
-
alt?:
|
|
3202
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2933
3203
|
/** JSONP */
|
|
2934
3204
|
callback?: string;
|
|
2935
3205
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2952,11 +3222,11 @@ declare namespace gapi.client {
|
|
|
2952
3222
|
/** 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
3223
|
suggest(request: {
|
|
2954
3224
|
/** V1 error format. */
|
|
2955
|
-
'$.xgafv'?:
|
|
3225
|
+
'$.xgafv'?: '1' | '2';
|
|
2956
3226
|
/** OAuth access token. */
|
|
2957
3227
|
access_token?: string;
|
|
2958
3228
|
/** Data format for response. */
|
|
2959
|
-
alt?:
|
|
3229
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2960
3230
|
/** JSONP */
|
|
2961
3231
|
callback?: string;
|
|
2962
3232
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2979,11 +3249,11 @@ declare namespace gapi.client {
|
|
|
2979
3249
|
suggest(
|
|
2980
3250
|
request: {
|
|
2981
3251
|
/** V1 error format. */
|
|
2982
|
-
'$.xgafv'?:
|
|
3252
|
+
'$.xgafv'?: '1' | '2';
|
|
2983
3253
|
/** OAuth access token. */
|
|
2984
3254
|
access_token?: string;
|
|
2985
3255
|
/** Data format for response. */
|
|
2986
|
-
alt?:
|
|
3256
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2987
3257
|
/** JSONP */
|
|
2988
3258
|
callback?: string;
|
|
2989
3259
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3009,11 +3279,11 @@ declare namespace gapi.client {
|
|
|
3009
3279
|
/** Creates a datasource. **Note:** This API requires an admin account to execute. */
|
|
3010
3280
|
create(request: {
|
|
3011
3281
|
/** V1 error format. */
|
|
3012
|
-
'$.xgafv'?:
|
|
3282
|
+
'$.xgafv'?: '1' | '2';
|
|
3013
3283
|
/** OAuth access token. */
|
|
3014
3284
|
access_token?: string;
|
|
3015
3285
|
/** Data format for response. */
|
|
3016
|
-
alt?:
|
|
3286
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3017
3287
|
/** JSONP */
|
|
3018
3288
|
callback?: string;
|
|
3019
3289
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3036,11 +3306,11 @@ declare namespace gapi.client {
|
|
|
3036
3306
|
create(
|
|
3037
3307
|
request: {
|
|
3038
3308
|
/** V1 error format. */
|
|
3039
|
-
'$.xgafv'?:
|
|
3309
|
+
'$.xgafv'?: '1' | '2';
|
|
3040
3310
|
/** OAuth access token. */
|
|
3041
3311
|
access_token?: string;
|
|
3042
3312
|
/** Data format for response. */
|
|
3043
|
-
alt?:
|
|
3313
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3044
3314
|
/** JSONP */
|
|
3045
3315
|
callback?: string;
|
|
3046
3316
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3063,11 +3333,11 @@ declare namespace gapi.client {
|
|
|
3063
3333
|
/** Deletes a datasource. **Note:** This API requires an admin account to execute. */
|
|
3064
3334
|
delete(request?: {
|
|
3065
3335
|
/** V1 error format. */
|
|
3066
|
-
'$.xgafv'?:
|
|
3336
|
+
'$.xgafv'?: '1' | '2';
|
|
3067
3337
|
/** OAuth access token. */
|
|
3068
3338
|
access_token?: string;
|
|
3069
3339
|
/** Data format for response. */
|
|
3070
|
-
alt?:
|
|
3340
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3071
3341
|
/** JSONP */
|
|
3072
3342
|
callback?: string;
|
|
3073
3343
|
/** If you are asked by Google to help with debugging, set this field. Otherwise, ignore this field. */
|
|
@@ -3092,11 +3362,11 @@ declare namespace gapi.client {
|
|
|
3092
3362
|
/** Gets a datasource. **Note:** This API requires an admin account to execute. */
|
|
3093
3363
|
get(request?: {
|
|
3094
3364
|
/** V1 error format. */
|
|
3095
|
-
'$.xgafv'?:
|
|
3365
|
+
'$.xgafv'?: '1' | '2';
|
|
3096
3366
|
/** OAuth access token. */
|
|
3097
3367
|
access_token?: string;
|
|
3098
3368
|
/** Data format for response. */
|
|
3099
|
-
alt?:
|
|
3369
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3100
3370
|
/** JSONP */
|
|
3101
3371
|
callback?: string;
|
|
3102
3372
|
/** If you are asked by Google to help with debugging, set this field. Otherwise, ignore this field. */
|
|
@@ -3121,11 +3391,11 @@ declare namespace gapi.client {
|
|
|
3121
3391
|
/** Lists datasources. **Note:** This API requires an admin account to execute. */
|
|
3122
3392
|
list(request?: {
|
|
3123
3393
|
/** V1 error format. */
|
|
3124
|
-
'$.xgafv'?:
|
|
3394
|
+
'$.xgafv'?: '1' | '2';
|
|
3125
3395
|
/** OAuth access token. */
|
|
3126
3396
|
access_token?: string;
|
|
3127
3397
|
/** Data format for response. */
|
|
3128
|
-
alt?:
|
|
3398
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3129
3399
|
/** JSONP */
|
|
3130
3400
|
callback?: string;
|
|
3131
3401
|
/** If you are asked by Google to help with debugging, set this field. Otherwise, ignore this field. */
|
|
@@ -3152,11 +3422,11 @@ declare namespace gapi.client {
|
|
|
3152
3422
|
/** Updates a datasource. **Note:** This API requires an admin account to execute. */
|
|
3153
3423
|
patch(request: {
|
|
3154
3424
|
/** V1 error format. */
|
|
3155
|
-
'$.xgafv'?:
|
|
3425
|
+
'$.xgafv'?: '1' | '2';
|
|
3156
3426
|
/** OAuth access token. */
|
|
3157
3427
|
access_token?: string;
|
|
3158
3428
|
/** Data format for response. */
|
|
3159
|
-
alt?:
|
|
3429
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3160
3430
|
/** JSONP */
|
|
3161
3431
|
callback?: string;
|
|
3162
3432
|
/** If you are asked by Google to help with debugging, set this field. Otherwise, ignore this field. */
|
|
@@ -3185,11 +3455,11 @@ declare namespace gapi.client {
|
|
|
3185
3455
|
patch(
|
|
3186
3456
|
request: {
|
|
3187
3457
|
/** V1 error format. */
|
|
3188
|
-
'$.xgafv'?:
|
|
3458
|
+
'$.xgafv'?: '1' | '2';
|
|
3189
3459
|
/** OAuth access token. */
|
|
3190
3460
|
access_token?: string;
|
|
3191
3461
|
/** Data format for response. */
|
|
3192
|
-
alt?:
|
|
3462
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3193
3463
|
/** JSONP */
|
|
3194
3464
|
callback?: string;
|
|
3195
3465
|
/** If you are asked by Google to help with debugging, set this field. Otherwise, ignore this field. */
|
|
@@ -3218,11 +3488,11 @@ declare namespace gapi.client {
|
|
|
3218
3488
|
/** Updates a datasource. **Note:** This API requires an admin account to execute. */
|
|
3219
3489
|
update(request: {
|
|
3220
3490
|
/** V1 error format. */
|
|
3221
|
-
'$.xgafv'?:
|
|
3491
|
+
'$.xgafv'?: '1' | '2';
|
|
3222
3492
|
/** OAuth access token. */
|
|
3223
3493
|
access_token?: string;
|
|
3224
3494
|
/** Data format for response. */
|
|
3225
|
-
alt?:
|
|
3495
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3226
3496
|
/** JSONP */
|
|
3227
3497
|
callback?: string;
|
|
3228
3498
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3247,11 +3517,11 @@ declare namespace gapi.client {
|
|
|
3247
3517
|
update(
|
|
3248
3518
|
request: {
|
|
3249
3519
|
/** V1 error format. */
|
|
3250
|
-
'$.xgafv'?:
|
|
3520
|
+
'$.xgafv'?: '1' | '2';
|
|
3251
3521
|
/** OAuth access token. */
|
|
3252
3522
|
access_token?: string;
|
|
3253
3523
|
/** Data format for response. */
|
|
3254
|
-
alt?:
|
|
3524
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3255
3525
|
/** JSONP */
|
|
3256
3526
|
callback?: string;
|
|
3257
3527
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3278,11 +3548,11 @@ declare namespace gapi.client {
|
|
|
3278
3548
|
/** Creates a search application. **Note:** This API requires an admin account to execute. */
|
|
3279
3549
|
create(request: {
|
|
3280
3550
|
/** V1 error format. */
|
|
3281
|
-
'$.xgafv'?:
|
|
3551
|
+
'$.xgafv'?: '1' | '2';
|
|
3282
3552
|
/** OAuth access token. */
|
|
3283
3553
|
access_token?: string;
|
|
3284
3554
|
/** Data format for response. */
|
|
3285
|
-
alt?:
|
|
3555
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3286
3556
|
/** JSONP */
|
|
3287
3557
|
callback?: string;
|
|
3288
3558
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3305,11 +3575,11 @@ declare namespace gapi.client {
|
|
|
3305
3575
|
create(
|
|
3306
3576
|
request: {
|
|
3307
3577
|
/** V1 error format. */
|
|
3308
|
-
'$.xgafv'?:
|
|
3578
|
+
'$.xgafv'?: '1' | '2';
|
|
3309
3579
|
/** OAuth access token. */
|
|
3310
3580
|
access_token?: string;
|
|
3311
3581
|
/** Data format for response. */
|
|
3312
|
-
alt?:
|
|
3582
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3313
3583
|
/** JSONP */
|
|
3314
3584
|
callback?: string;
|
|
3315
3585
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3332,11 +3602,11 @@ declare namespace gapi.client {
|
|
|
3332
3602
|
/** Deletes a search application. **Note:** This API requires an admin account to execute. */
|
|
3333
3603
|
delete(request?: {
|
|
3334
3604
|
/** V1 error format. */
|
|
3335
|
-
'$.xgafv'?:
|
|
3605
|
+
'$.xgafv'?: '1' | '2';
|
|
3336
3606
|
/** OAuth access token. */
|
|
3337
3607
|
access_token?: string;
|
|
3338
3608
|
/** Data format for response. */
|
|
3339
|
-
alt?:
|
|
3609
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3340
3610
|
/** JSONP */
|
|
3341
3611
|
callback?: string;
|
|
3342
3612
|
/** If you are asked by Google to help with debugging, set this field. Otherwise, ignore this field. */
|
|
@@ -3361,11 +3631,11 @@ declare namespace gapi.client {
|
|
|
3361
3631
|
/** Gets the specified search application. **Note:** This API requires an admin account to execute. */
|
|
3362
3632
|
get(request?: {
|
|
3363
3633
|
/** V1 error format. */
|
|
3364
|
-
'$.xgafv'?:
|
|
3634
|
+
'$.xgafv'?: '1' | '2';
|
|
3365
3635
|
/** OAuth access token. */
|
|
3366
3636
|
access_token?: string;
|
|
3367
3637
|
/** Data format for response. */
|
|
3368
|
-
alt?:
|
|
3638
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3369
3639
|
/** JSONP */
|
|
3370
3640
|
callback?: string;
|
|
3371
3641
|
/** If you are asked by Google to help with debugging, set this field. Otherwise, ignore this field. */
|
|
@@ -3390,11 +3660,11 @@ declare namespace gapi.client {
|
|
|
3390
3660
|
/** Lists all search applications. **Note:** This API requires an admin account to execute. */
|
|
3391
3661
|
list(request?: {
|
|
3392
3662
|
/** V1 error format. */
|
|
3393
|
-
'$.xgafv'?:
|
|
3663
|
+
'$.xgafv'?: '1' | '2';
|
|
3394
3664
|
/** OAuth access token. */
|
|
3395
3665
|
access_token?: string;
|
|
3396
3666
|
/** Data format for response. */
|
|
3397
|
-
alt?:
|
|
3667
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3398
3668
|
/** JSONP */
|
|
3399
3669
|
callback?: string;
|
|
3400
3670
|
/** If you are asked by Google to help with debugging, set this field. Otherwise, ignore this field. */
|
|
@@ -3421,11 +3691,11 @@ declare namespace gapi.client {
|
|
|
3421
3691
|
/** Updates a search application. **Note:** This API requires an admin account to execute. */
|
|
3422
3692
|
patch(request: {
|
|
3423
3693
|
/** V1 error format. */
|
|
3424
|
-
'$.xgafv'?:
|
|
3694
|
+
'$.xgafv'?: '1' | '2';
|
|
3425
3695
|
/** OAuth access token. */
|
|
3426
3696
|
access_token?: string;
|
|
3427
3697
|
/** Data format for response. */
|
|
3428
|
-
alt?:
|
|
3698
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3429
3699
|
/** JSONP */
|
|
3430
3700
|
callback?: string;
|
|
3431
3701
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3452,11 +3722,11 @@ declare namespace gapi.client {
|
|
|
3452
3722
|
patch(
|
|
3453
3723
|
request: {
|
|
3454
3724
|
/** V1 error format. */
|
|
3455
|
-
'$.xgafv'?:
|
|
3725
|
+
'$.xgafv'?: '1' | '2';
|
|
3456
3726
|
/** OAuth access token. */
|
|
3457
3727
|
access_token?: string;
|
|
3458
3728
|
/** Data format for response. */
|
|
3459
|
-
alt?:
|
|
3729
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3460
3730
|
/** JSONP */
|
|
3461
3731
|
callback?: string;
|
|
3462
3732
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3483,11 +3753,11 @@ declare namespace gapi.client {
|
|
|
3483
3753
|
/** Resets a search application to default settings. This will return an empty response. **Note:** This API requires an admin account to execute. */
|
|
3484
3754
|
reset(request: {
|
|
3485
3755
|
/** V1 error format. */
|
|
3486
|
-
'$.xgafv'?:
|
|
3756
|
+
'$.xgafv'?: '1' | '2';
|
|
3487
3757
|
/** OAuth access token. */
|
|
3488
3758
|
access_token?: string;
|
|
3489
3759
|
/** Data format for response. */
|
|
3490
|
-
alt?:
|
|
3760
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3491
3761
|
/** JSONP */
|
|
3492
3762
|
callback?: string;
|
|
3493
3763
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3512,11 +3782,11 @@ declare namespace gapi.client {
|
|
|
3512
3782
|
reset(
|
|
3513
3783
|
request: {
|
|
3514
3784
|
/** V1 error format. */
|
|
3515
|
-
'$.xgafv'?:
|
|
3785
|
+
'$.xgafv'?: '1' | '2';
|
|
3516
3786
|
/** OAuth access token. */
|
|
3517
3787
|
access_token?: string;
|
|
3518
3788
|
/** Data format for response. */
|
|
3519
|
-
alt?:
|
|
3789
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3520
3790
|
/** JSONP */
|
|
3521
3791
|
callback?: string;
|
|
3522
3792
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3541,11 +3811,11 @@ declare namespace gapi.client {
|
|
|
3541
3811
|
/** Updates a search application. **Note:** This API requires an admin account to execute. */
|
|
3542
3812
|
update(request: {
|
|
3543
3813
|
/** V1 error format. */
|
|
3544
|
-
'$.xgafv'?:
|
|
3814
|
+
'$.xgafv'?: '1' | '2';
|
|
3545
3815
|
/** OAuth access token. */
|
|
3546
3816
|
access_token?: string;
|
|
3547
3817
|
/** Data format for response. */
|
|
3548
|
-
alt?:
|
|
3818
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3549
3819
|
/** JSONP */
|
|
3550
3820
|
callback?: string;
|
|
3551
3821
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3572,11 +3842,11 @@ declare namespace gapi.client {
|
|
|
3572
3842
|
update(
|
|
3573
3843
|
request: {
|
|
3574
3844
|
/** V1 error format. */
|
|
3575
|
-
'$.xgafv'?:
|
|
3845
|
+
'$.xgafv'?: '1' | '2';
|
|
3576
3846
|
/** OAuth access token. */
|
|
3577
3847
|
access_token?: string;
|
|
3578
3848
|
/** Data format for response. */
|
|
3579
|
-
alt?:
|
|
3849
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3580
3850
|
/** JSONP */
|
|
3581
3851
|
callback?: string;
|
|
3582
3852
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3605,11 +3875,11 @@ declare namespace gapi.client {
|
|
|
3605
3875
|
/** Get customer settings. **Note:** This API requires an admin account to execute. */
|
|
3606
3876
|
getCustomer(request?: {
|
|
3607
3877
|
/** V1 error format. */
|
|
3608
|
-
'$.xgafv'?:
|
|
3878
|
+
'$.xgafv'?: '1' | '2';
|
|
3609
3879
|
/** OAuth access token. */
|
|
3610
3880
|
access_token?: string;
|
|
3611
3881
|
/** Data format for response. */
|
|
3612
|
-
alt?:
|
|
3882
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3613
3883
|
/** JSONP */
|
|
3614
3884
|
callback?: string;
|
|
3615
3885
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3630,11 +3900,11 @@ declare namespace gapi.client {
|
|
|
3630
3900
|
/** Update customer settings. **Note:** This API requires an admin account to execute. */
|
|
3631
3901
|
updateCustomer(request: {
|
|
3632
3902
|
/** V1 error format. */
|
|
3633
|
-
'$.xgafv'?:
|
|
3903
|
+
'$.xgafv'?: '1' | '2';
|
|
3634
3904
|
/** OAuth access token. */
|
|
3635
3905
|
access_token?: string;
|
|
3636
3906
|
/** Data format for response. */
|
|
3637
|
-
alt?:
|
|
3907
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3638
3908
|
/** JSONP */
|
|
3639
3909
|
callback?: string;
|
|
3640
3910
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3659,11 +3929,11 @@ declare namespace gapi.client {
|
|
|
3659
3929
|
updateCustomer(
|
|
3660
3930
|
request: {
|
|
3661
3931
|
/** V1 error format. */
|
|
3662
|
-
'$.xgafv'?:
|
|
3932
|
+
'$.xgafv'?: '1' | '2';
|
|
3663
3933
|
/** OAuth access token. */
|
|
3664
3934
|
access_token?: string;
|
|
3665
3935
|
/** Data format for response. */
|
|
3666
|
-
alt?:
|
|
3936
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3667
3937
|
/** JSONP */
|
|
3668
3938
|
callback?: string;
|
|
3669
3939
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3692,11 +3962,11 @@ declare namespace gapi.client {
|
|
|
3692
3962
|
/** Gets indexed item statistics for a single data source. **Note:** This API requires a standard end user account to execute. */
|
|
3693
3963
|
get(request?: {
|
|
3694
3964
|
/** V1 error format. */
|
|
3695
|
-
'$.xgafv'?:
|
|
3965
|
+
'$.xgafv'?: '1' | '2';
|
|
3696
3966
|
/** OAuth access token. */
|
|
3697
3967
|
access_token?: string;
|
|
3698
3968
|
/** Data format for response. */
|
|
3699
|
-
alt?:
|
|
3969
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3700
3970
|
/** JSONP */
|
|
3701
3971
|
callback?: string;
|
|
3702
3972
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3736,11 +4006,11 @@ declare namespace gapi.client {
|
|
|
3736
4006
|
/** Get the query statistics for search application. **Note:** This API requires a standard end user account to execute. */
|
|
3737
4007
|
get(request?: {
|
|
3738
4008
|
/** V1 error format. */
|
|
3739
|
-
'$.xgafv'?:
|
|
4009
|
+
'$.xgafv'?: '1' | '2';
|
|
3740
4010
|
/** OAuth access token. */
|
|
3741
4011
|
access_token?: string;
|
|
3742
4012
|
/** Data format for response. */
|
|
3743
|
-
alt?:
|
|
4013
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3744
4014
|
/** JSONP */
|
|
3745
4015
|
callback?: string;
|
|
3746
4016
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3780,11 +4050,11 @@ declare namespace gapi.client {
|
|
|
3780
4050
|
/** 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
4051
|
get(request?: {
|
|
3782
4052
|
/** V1 error format. */
|
|
3783
|
-
'$.xgafv'?:
|
|
4053
|
+
'$.xgafv'?: '1' | '2';
|
|
3784
4054
|
/** OAuth access token. */
|
|
3785
4055
|
access_token?: string;
|
|
3786
4056
|
/** Data format for response. */
|
|
3787
|
-
alt?:
|
|
4057
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3788
4058
|
/** JSONP */
|
|
3789
4059
|
callback?: string;
|
|
3790
4060
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3824,11 +4094,11 @@ declare namespace gapi.client {
|
|
|
3824
4094
|
/** Get the users statistics for search application. **Note:** This API requires a standard end user account to execute. */
|
|
3825
4095
|
get(request?: {
|
|
3826
4096
|
/** V1 error format. */
|
|
3827
|
-
'$.xgafv'?:
|
|
4097
|
+
'$.xgafv'?: '1' | '2';
|
|
3828
4098
|
/** OAuth access token. */
|
|
3829
4099
|
access_token?: string;
|
|
3830
4100
|
/** Data format for response. */
|
|
3831
|
-
alt?:
|
|
4101
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3832
4102
|
/** JSONP */
|
|
3833
4103
|
callback?: string;
|
|
3834
4104
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3868,11 +4138,11 @@ declare namespace gapi.client {
|
|
|
3868
4138
|
/** 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
4139
|
getIndex(request?: {
|
|
3870
4140
|
/** V1 error format. */
|
|
3871
|
-
'$.xgafv'?:
|
|
4141
|
+
'$.xgafv'?: '1' | '2';
|
|
3872
4142
|
/** OAuth access token. */
|
|
3873
4143
|
access_token?: string;
|
|
3874
4144
|
/** Data format for response. */
|
|
3875
|
-
alt?:
|
|
4145
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3876
4146
|
/** JSONP */
|
|
3877
4147
|
callback?: string;
|
|
3878
4148
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3905,11 +4175,11 @@ declare namespace gapi.client {
|
|
|
3905
4175
|
/** Get the query statistics for customer. **Note:** This API requires a standard end user account to execute. */
|
|
3906
4176
|
getQuery(request?: {
|
|
3907
4177
|
/** V1 error format. */
|
|
3908
|
-
'$.xgafv'?:
|
|
4178
|
+
'$.xgafv'?: '1' | '2';
|
|
3909
4179
|
/** OAuth access token. */
|
|
3910
4180
|
access_token?: string;
|
|
3911
4181
|
/** Data format for response. */
|
|
3912
|
-
alt?:
|
|
4182
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3913
4183
|
/** JSONP */
|
|
3914
4184
|
callback?: string;
|
|
3915
4185
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3942,11 +4212,11 @@ declare namespace gapi.client {
|
|
|
3942
4212
|
/** Get search application stats for customer. **Note:** This API requires a standard end user account to execute. */
|
|
3943
4213
|
getSearchapplication(request?: {
|
|
3944
4214
|
/** V1 error format. */
|
|
3945
|
-
'$.xgafv'?:
|
|
4215
|
+
'$.xgafv'?: '1' | '2';
|
|
3946
4216
|
/** OAuth access token. */
|
|
3947
4217
|
access_token?: string;
|
|
3948
4218
|
/** Data format for response. */
|
|
3949
|
-
alt?:
|
|
4219
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3950
4220
|
/** JSONP */
|
|
3951
4221
|
callback?: string;
|
|
3952
4222
|
/** Day of month. Must be from 1 to 31 and valid for the year and month. */
|
|
@@ -3979,11 +4249,11 @@ declare namespace gapi.client {
|
|
|
3979
4249
|
/** 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
4250
|
getSession(request?: {
|
|
3981
4251
|
/** V1 error format. */
|
|
3982
|
-
'$.xgafv'?:
|
|
4252
|
+
'$.xgafv'?: '1' | '2';
|
|
3983
4253
|
/** OAuth access token. */
|
|
3984
4254
|
access_token?: string;
|
|
3985
4255
|
/** Data format for response. */
|
|
3986
|
-
alt?:
|
|
4256
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3987
4257
|
/** JSONP */
|
|
3988
4258
|
callback?: string;
|
|
3989
4259
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -4016,11 +4286,11 @@ declare namespace gapi.client {
|
|
|
4016
4286
|
/** Get the users statistics for customer. **Note:** This API requires a standard end user account to execute. */
|
|
4017
4287
|
getUser(request?: {
|
|
4018
4288
|
/** V1 error format. */
|
|
4019
|
-
'$.xgafv'?:
|
|
4289
|
+
'$.xgafv'?: '1' | '2';
|
|
4020
4290
|
/** OAuth access token. */
|
|
4021
4291
|
access_token?: string;
|
|
4022
4292
|
/** Data format for response. */
|
|
4023
|
-
alt?:
|
|
4293
|
+
alt?: 'json' | 'media' | 'proto';
|
|
4024
4294
|
/** JSONP */
|
|
4025
4295
|
callback?: string;
|
|
4026
4296
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -4059,11 +4329,11 @@ declare namespace gapi.client {
|
|
|
4059
4329
|
/** Enables `third party` support in Google Cloud Search. **Note:** This API requires an admin account to execute. */
|
|
4060
4330
|
initializeCustomer(request: {
|
|
4061
4331
|
/** V1 error format. */
|
|
4062
|
-
'$.xgafv'?:
|
|
4332
|
+
'$.xgafv'?: '1' | '2';
|
|
4063
4333
|
/** OAuth access token. */
|
|
4064
4334
|
access_token?: string;
|
|
4065
4335
|
/** Data format for response. */
|
|
4066
|
-
alt?:
|
|
4336
|
+
alt?: 'json' | 'media' | 'proto';
|
|
4067
4337
|
/** JSONP */
|
|
4068
4338
|
callback?: string;
|
|
4069
4339
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -4086,11 +4356,11 @@ declare namespace gapi.client {
|
|
|
4086
4356
|
initializeCustomer(
|
|
4087
4357
|
request: {
|
|
4088
4358
|
/** V1 error format. */
|
|
4089
|
-
'$.xgafv'?:
|
|
4359
|
+
'$.xgafv'?: '1' | '2';
|
|
4090
4360
|
/** OAuth access token. */
|
|
4091
4361
|
access_token?: string;
|
|
4092
4362
|
/** Data format for response. */
|
|
4093
|
-
alt?:
|
|
4363
|
+
alt?: 'json' | 'media' | 'proto';
|
|
4094
4364
|
/** JSONP */
|
|
4095
4365
|
callback?: string;
|
|
4096
4366
|
/** Selector specifying which fields to include in a partial response. */
|