@maxim_mazurok/gapi.client.cloudsearch-v1 0.2.20260107 → 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.
Files changed (3) hide show
  1. package/index.d.ts +477 -269
  2. package/package.json +1 -1
  3. package/readme.md +0 -5
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: 20260107
12
+ // Revision: 20260114
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?: string;
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?: string;
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?: string[];
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?: string[];
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?: string[];
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. */
@@ -202,14 +219,6 @@ declare namespace gapi.client {
202
219
  /** If you are asked by Google to help with debugging, set this field. Otherwise, ignore this field. */
203
220
  enableDebugging?: boolean;
204
221
  }
205
- interface DebugResponse {
206
- /** Serialized string of GenericSearchRequest. */
207
- gsrRequest?: string;
208
- /** Serialized string of GenericSearchResponse. */
209
- gsrResponse?: string;
210
- /** Search response. */
211
- searchResponse?: SearchResponse;
212
- }
213
222
  interface DeleteQueueItemsRequest {
214
223
  /** The name of connector making this call. Format: datasources/{source_id}/connectors/{ID} */
215
224
  connectorName?: string;
@@ -234,16 +243,37 @@ declare namespace gapi.client {
234
243
  values?: number[];
235
244
  }
236
245
  interface DriveFollowUpRestrict {
237
- type?: string;
246
+ type?: 'UNSPECIFIED' | 'FOLLOWUP_SUGGESTIONS' | 'FOLLOWUP_ACTION_ITEMS';
238
247
  }
239
248
  interface DriveLocationRestrict {
240
- type?: string;
249
+ type?: 'UNSPECIFIED' | 'TRASHED' | 'STARRED';
241
250
  }
242
251
  interface DriveMimeTypeRestrict {
243
- type?: string;
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';
244
268
  }
245
269
  interface DriveTimeSpanRestrict {
246
- type?: string;
270
+ type?:
271
+ | 'UNSPECIFIED'
272
+ | 'TODAY'
273
+ | 'YESTERDAY'
274
+ | 'LAST_7_DAYS'
275
+ | 'LAST_30_DAYS'
276
+ | 'LAST_90_DAYS';
247
277
  }
248
278
  interface EmailAddress {
249
279
  /** If the value of type is custom, this property contains the custom type string. */
@@ -267,17 +297,24 @@ declare namespace gapi.client {
267
297
  phoneNumber?: string;
268
298
  /** Phone number URL */
269
299
  phoneUrl?: SafeUrlProto;
270
- type?: string;
300
+ type?: 'UNKNOWN' | 'MOBILE' | 'OFFICE' | 'OTHER';
271
301
  }
272
302
  interface EnterpriseTopazSidekickAgendaEntry {
273
303
  /** URL of the agenda item. */
274
304
  agendaItemUrl?: string;
275
305
  /** The chronology from the present. */
276
- chronology?: string;
306
+ chronology?:
307
+ | 'STALE'
308
+ | 'ALL_DAY'
309
+ | 'PAST'
310
+ | 'RECENTLY_PAST'
311
+ | 'PRESENT'
312
+ | 'NEAR_FUTURE'
313
+ | 'FUTURE';
277
314
  /** Person who created the event. */
278
315
  creator?: EnterpriseTopazSidekickPerson;
279
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. */
280
- currentUserAttendingStatus?: string;
317
+ currentUserAttendingStatus?: 'AWAITING' | 'YES' | 'NO' | 'MAYBE';
281
318
  /** Description of the agenda item (i.e., typically, summary in calendar event). */
282
319
  description?: string;
283
320
  /** Items related to the current AgendaEntry. E.g., related drive/mail/groups documents. */
@@ -338,7 +375,7 @@ declare namespace gapi.client {
338
375
  /** Localized free text that describes the dates represented by the card. Currently, the card will only represent a single day. */
339
376
  date?: string;
340
377
  /** Represents restrictions applied to the events requested in the user's query. */
341
- eventsRestrict?: string;
378
+ eventsRestrict?: 'NONE' | 'NEXT_MEETING';
342
379
  }
343
380
  interface EnterpriseTopazSidekickAgendaItem {
344
381
  conflictedGroup?: EnterpriseTopazSidekickConflictingEventsCardProto;
@@ -349,7 +386,15 @@ declare namespace gapi.client {
349
386
  /** Answers that have a corresponding label. */
350
387
  labeledAnswer?: EnterpriseTopazSidekickAnswerAnswerListLabeledAnswer[];
351
388
  /** Answer type. */
352
- type?: string;
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';
353
398
  }
354
399
  interface EnterpriseTopazSidekickAnswerAnswerListLabeledAnswer {
355
400
  /** The free text answer. */
@@ -363,7 +408,7 @@ declare namespace gapi.client {
363
408
  }
364
409
  interface EnterpriseTopazSidekickAnswerSuggestedQueryCategory {
365
410
  /** The query list category. */
366
- category?: string;
411
+ category?: 'UNKNOWN' | 'CALENDAR' | 'DOCUMENT' | 'PEOPLE';
367
412
  /** Whether this category is enabled. */
368
413
  isEnabled?: boolean;
369
414
  /** List of suggested queries to show the user. */
@@ -375,7 +420,38 @@ declare namespace gapi.client {
375
420
  /** Card metadata such as chronology and render mode of the card. */
376
421
  cardMetadata?: EnterpriseTopazSidekickCardMetadata;
377
422
  /** Card type. */
378
- cardType?: string;
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';
379
455
  /** Conflicting events card. */
380
456
  conflictingMeetingsCard?: EnterpriseTopazSidekickConflictingEventsCardProto;
381
457
  /** Answer card for documents that are applicable to the current query. */
@@ -419,11 +495,17 @@ declare namespace gapi.client {
419
495
  }
420
496
  interface EnterpriseTopazSidekickCardMetadata {
421
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. */
422
- cardCategory?: string;
498
+ cardCategory?: 'DEFAULT' | 'ANSWER' | 'KNOWLEDGE' | 'HOMEPAGE';
423
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. */
424
500
  cardId?: string;
425
501
  /** Chronology. */
426
- chronology?: string;
502
+ chronology?:
503
+ | 'UNKNOWN'
504
+ | 'PAST'
505
+ | 'RECENTLY_PAST'
506
+ | 'PRESENT'
507
+ | 'NEAR_FUTURE'
508
+ | 'FUTURE';
427
509
  /** Debug info (only reported if request's debug_level > 0). */
428
510
  debugInfo?: string;
429
511
  /** Information about the NLP done to get the card. */
@@ -431,7 +513,7 @@ declare namespace gapi.client {
431
513
  /** Ranking params. */
432
514
  rankingParams?: EnterpriseTopazSidekickRankingParams;
433
515
  /** Render mode. */
434
- renderMode?: string;
516
+ renderMode?: 'UNKNOWN_RENDER' | 'COLLAPSED' | 'EXPANDED';
435
517
  }
436
518
  interface EnterpriseTopazSidekickCommonDebugInfo {
437
519
  /** Debug message. */
@@ -439,7 +521,7 @@ declare namespace gapi.client {
439
521
  }
440
522
  interface EnterpriseTopazSidekickCommonDocument {
441
523
  /** Access type, i.e., whether the user has access to the document or not. */
442
- accessType?: string;
524
+ accessType?: 'UNKNOWN_ACCESS' | 'ALLOWED' | 'NOT_ALLOWED';
443
525
  /** Information for debugging. */
444
526
  debugInfo?: EnterpriseTopazSidekickCommonDebugInfo;
445
527
  /** Document id. */
@@ -453,9 +535,27 @@ declare namespace gapi.client {
453
535
  /** MIME type */
454
536
  mimeType?: string;
455
537
  /** Document provenance. */
456
- provenance?: string;
538
+ provenance?:
539
+ | 'UNKNOWN_PROVENANCE'
540
+ | 'CALENDAR_DESCRIPTION'
541
+ | 'CALENDAR_ATTACHMENT'
542
+ | 'MINED'
543
+ | 'CALENDAR_ASSIST_ATTACHMENT';
457
544
  /** Justification of why this document is being returned. */
458
- reason?: string;
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';
459
559
  /** A sampling of the text from the document. */
460
560
  snippet?: string;
461
561
  /** Thumbnail URL. */
@@ -463,7 +563,36 @@ declare namespace gapi.client {
463
563
  /** Title of the document. */
464
564
  title?: string;
465
565
  /** Type of the document. */
466
- type?: string;
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';
467
596
  /** Absolute URL of the document. */
468
597
  url?: string;
469
598
  }
@@ -485,13 +614,33 @@ declare namespace gapi.client {
485
614
  /** The owner of the document. */
486
615
  owner?: EnterpriseTopazSidekickCommonPerson;
487
616
  /** ACL scope of the document which identifies the sharing status of the doc (e.g., limited, shared with link, team drive, ...). */
488
- scope?: string;
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';
489
625
  }
490
626
  interface EnterpriseTopazSidekickCommonDocumentJustification {
491
627
  /** A locale aware message that explains why this document was selected. */
492
628
  justification?: string;
493
629
  /** Reason on why the document is selected. Populate for trending documents. */
494
- reason?: string;
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';
495
644
  }
496
645
  interface EnterpriseTopazSidekickCommonPerson {
497
646
  /** The birthday. */
@@ -539,7 +688,7 @@ declare namespace gapi.client {
539
688
  }
540
689
  interface EnterpriseTopazSidekickDocumentGroup {
541
690
  /** Document group type */
542
- groupType?: string;
691
+ groupType?: 'UNKNOWN_TYPE' | 'ALL';
543
692
  /** The list of corresponding documents. */
544
693
  personalizedDocument?: EnterpriseTopazSidekickCommonDocument[];
545
694
  }
@@ -547,14 +696,30 @@ declare namespace gapi.client {
547
696
  documents?: EnterpriseTopazSidekickDocumentPerCategoryListDocumentPerCategoryListEntry[];
548
697
  /** Localized message explaining how the documents were derived (e.g. from the last 30 days activity). This field is optional. */
549
698
  helpMessage?: string;
550
- listType?: string;
699
+ listType?:
700
+ | 'UNKNOWN_LIST_TYPE'
701
+ | 'MENTIONS'
702
+ | 'SHARES'
703
+ | 'NEEDS_ATTENTION'
704
+ | 'VIEWS'
705
+ | 'EDITS';
551
706
  /** Description of the types of documents present in the list. */
552
707
  listTypeDescription?: string;
553
708
  /** Response message in case no documents are present in the card. */
554
709
  responseMessage?: string;
555
710
  }
556
711
  interface EnterpriseTopazSidekickDocumentPerCategoryListDocumentPerCategoryListEntry {
557
- category?: string;
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';
558
723
  document?: EnterpriseTopazSidekickCommonDocument;
559
724
  /** Reason this document was selected. */
560
725
  rationale?: string;
@@ -606,7 +771,7 @@ declare namespace gapi.client {
606
771
  /** The event to request meeting notes creation */
607
772
  event?: EnterpriseTopazSidekickAgendaEntry;
608
773
  /** The reason why create-meeting-notes failed. */
609
- reason?: string;
774
+ reason?: 'NONE' | 'NOT_OWNER' | 'UNKNOWN';
610
775
  }
611
776
  interface EnterpriseTopazSidekickMeetingNotesCardProto {
612
777
  /** The event to request meeting notes creation. */
@@ -620,7 +785,7 @@ declare namespace gapi.client {
620
785
  }
621
786
  interface EnterpriseTopazSidekickMeetingNotesCardRequest {
622
787
  /** Who are the meeting notes created for. */
623
- canCreateFor?: string[];
788
+ canCreateFor?: 'UNKNOWN' | 'MYSELF' | 'ALL_ATTENDEES'[];
624
789
  /** The error and reason if known error occured. */
625
790
  error?: EnterpriseTopazSidekickMeetingNotesCardError;
626
791
  /** The event to request meeting notes creation */
@@ -656,7 +821,11 @@ declare namespace gapi.client {
656
821
  /** The header to display for the card. */
657
822
  header?: EnterpriseTopazSidekickPeopleAnswerPeopleAnswerCardHeader;
658
823
  /** The response status. */
659
- responseStatus?: string;
824
+ responseStatus?:
825
+ | 'UNKNOWN'
826
+ | 'SUCCESS'
827
+ | 'MISSING_PERSON'
828
+ | 'MISSING_DATA';
660
829
  /** Localized user friendly message to display to the user in the case of missing data or an error. */
661
830
  statusMessage?: string;
662
831
  /** The profile of the person that was the subject of the query. */
@@ -670,9 +839,13 @@ declare namespace gapi.client {
670
839
  /** A list of people that are related to the query subject. */
671
840
  relatedPeople?: EnterpriseTopazSidekickCommonPerson[];
672
841
  /** Defines the type of relation the list of people have with the subject of the card. */
673
- relationType?: string;
842
+ relationType?: 'UNKNOWN' | 'DIRECT_REPORTS' | 'MANAGER' | 'PEERS';
674
843
  /** The response status. */
675
- responseStatus?: string;
844
+ responseStatus?:
845
+ | 'UNKNOWN'
846
+ | 'SUCCESS'
847
+ | 'MISSING_PERSON'
848
+ | 'MISSING_DATA';
676
849
  /** Localized user friendly message to display to the user in the case of missing data or an error. */
677
850
  statusMessage?: string;
678
851
  /** The profile of the person that was the subject of the query. */
@@ -684,9 +857,9 @@ declare namespace gapi.client {
684
857
  }
685
858
  interface EnterpriseTopazSidekickPerson {
686
859
  /** The level of affinity this person has with the requesting user. */
687
- affinityLevel?: string;
860
+ affinityLevel?: 'UNKNOWN' | 'LOW' | 'MEDIUM' | 'HIGH';
688
861
  /** Attendance status of the person when included in a meeting event. */
689
- attendingStatus?: string;
862
+ attendingStatus?: 'AWAITING' | 'YES' | 'NO' | 'MAYBE';
690
863
  /** Email. */
691
864
  email?: string;
692
865
  /** Gaia id. */
@@ -713,13 +886,19 @@ declare namespace gapi.client {
713
886
  /** Related people. */
714
887
  relatedPerson?: EnterpriseTopazSidekickCommonPerson[];
715
888
  /** Relation type. */
716
- relation?: string;
889
+ relation?: 'UNKNOWN' | 'MANAGER' | 'DIRECT_REPORT';
717
890
  }
718
891
  interface EnterpriseTopazSidekickRankingParams {
719
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. */
720
893
  endTimeMs?: string;
721
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. */
722
- priority?: string;
895
+ priority?:
896
+ | 'UNKNOWN'
897
+ | 'CRITICAL'
898
+ | 'IMPORTANT'
899
+ | 'HIGH'
900
+ | 'NORMAL'
901
+ | 'BEST_EFFORT';
723
902
  /** The score of the card to be used to break priority-ties */
724
903
  score?: number;
725
904
  /** The span that this card will take in the stream Expected to be set when type is set to FLEXIBLE. */
@@ -727,7 +906,7 @@ declare namespace gapi.client {
727
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. */
728
907
  startTimeMs?: string;
729
908
  /** The packing type of this object. */
730
- type?: string;
909
+ type?: 'FIXED' | 'FLEXIBLE';
731
910
  }
732
911
  interface EnterpriseTopazSidekickRecentDocumentsCardProto {
733
912
  document?: EnterpriseTopazSidekickCommonDocument[];
@@ -768,7 +947,7 @@ declare namespace gapi.client {
768
947
  /** If set, describes how the enum should be used as a search operator. */
769
948
  operatorOptions?: EnumOperatorOptions;
770
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. */
771
- orderedRanking?: string;
950
+ orderedRanking?: 'NO_ORDER' | 'ASCENDING' | 'DESCENDING';
772
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. */
773
952
  possibleValues?: EnumValuePair[];
774
953
  }
@@ -918,7 +1097,7 @@ declare namespace gapi.client {
918
1097
  /** The name of the item. Format: datasources/{source_id}/items/{item_id} */
919
1098
  item?: Item;
920
1099
  /** Required. The RequestMode for this request. */
921
- mode?: string;
1100
+ mode?: 'UNSPECIFIED' | 'SYNCHRONOUS' | 'ASYNCHRONOUS';
922
1101
  }
923
1102
  interface InitializeCustomerRequest {}
924
1103
  interface IntegerFacetingOptions {
@@ -943,7 +1122,7 @@ declare namespace gapi.client {
943
1122
  /** If set, describes how the integer should be used as a search operator. */
944
1123
  operatorOptions?: IntegerOperatorOptions;
945
1124
  /** Used to specify the ordered ranking for the integer. Can only be used if isRepeatable is false. */
946
- orderedRanking?: string;
1125
+ orderedRanking?: 'NO_ORDER' | 'ASCENDING' | 'DESCENDING';
947
1126
  }
948
1127
  interface IntegerValues {
949
1128
  values?: string[];
@@ -953,7 +1132,7 @@ declare namespace gapi.client {
953
1132
  interactionTime?: string;
954
1133
  /** The user that acted on the item. */
955
1134
  principal?: Principal;
956
- type?: string;
1135
+ type?: 'UNSPECIFIED' | 'VIEW' | 'EDIT';
957
1136
  }
958
1137
  interface Item {
959
1138
  /** Access control list for this item. */
@@ -961,7 +1140,11 @@ declare namespace gapi.client {
961
1140
  /** Item content to be indexed and made text searchable. */
962
1141
  content?: ItemContent;
963
1142
  /** The type for this item. */
964
- itemType?: string;
1143
+ itemType?:
1144
+ | 'UNSPECIFIED'
1145
+ | 'CONTENT_ITEM'
1146
+ | 'CONTAINER_ITEM'
1147
+ | 'VIRTUAL_CONTAINER_ITEM';
965
1148
  /** The metadata information. */
966
1149
  metadata?: ItemMetadata;
967
1150
  /** The name of the Item. Format: datasources/{source_id}/items/{item_id} This is a required field. The maximum length is 1536 characters. */
@@ -979,7 +1162,11 @@ declare namespace gapi.client {
979
1162
  }
980
1163
  interface ItemAcl {
981
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. */
982
- aclInheritanceType?: string;
1165
+ aclInheritanceType?:
1166
+ | 'NOT_APPLICABLE'
1167
+ | 'CHILD_OVERRIDE'
1168
+ | 'PARENT_OVERRIDE'
1169
+ | 'BOTH_PERMIT';
983
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. */
984
1171
  deniedReaders?: Principal[];
985
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. */
@@ -992,7 +1179,7 @@ declare namespace gapi.client {
992
1179
  interface ItemContent {
993
1180
  /** Upload reference ID of a previously uploaded content via write method. */
994
1181
  contentDataRef?: UploadItemRef;
995
- contentFormat?: string;
1182
+ contentFormat?: 'UNSPECIFIED' | 'HTML' | 'TEXT' | 'RAW';
996
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. */
997
1184
  hash?: string;
998
1185
  /** Content that is supplied inlined within the update method. The maximum length is 102400 bytes (100 KiB). */
@@ -1004,7 +1191,12 @@ declare namespace gapi.client {
1004
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. */
1005
1192
  indexedItemsCount?: string;
1006
1193
  /** Status of the items. */
1007
- statusCode?: string;
1194
+ statusCode?:
1195
+ | 'CODE_UNSPECIFIED'
1196
+ | 'ERROR'
1197
+ | 'MODIFIED'
1198
+ | 'NEW_ITEM'
1199
+ | 'ACCEPTED';
1008
1200
  }
1009
1201
  interface ItemMetadata {
1010
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. */
@@ -1036,7 +1228,12 @@ declare namespace gapi.client {
1036
1228
  }
1037
1229
  interface ItemStatus {
1038
1230
  /** Status code. */
1039
- code?: string;
1231
+ code?:
1232
+ | 'CODE_UNSPECIFIED'
1233
+ | 'ERROR'
1234
+ | 'MODIFIED'
1235
+ | 'NEW_ITEM'
1236
+ | 'ACCEPTED';
1040
1237
  /** Error details in case the item is in ERROR state. */
1041
1238
  processingErrors?: ProcessingError[];
1042
1239
  /** Repository error reported by connector. */
@@ -1225,7 +1422,11 @@ declare namespace gapi.client {
1225
1422
  admins?: PersonCore[];
1226
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. */
1227
1424
  adminTo?: PersonCore[];
1228
- availabilityStatus?: string;
1425
+ availabilityStatus?:
1426
+ | 'UNKNOWN'
1427
+ | 'OUT_OF_OFFICE'
1428
+ | 'OUTSIDE_WORKING_HOURS'
1429
+ | 'AVAILABLE';
1229
1430
  /** Person birthday. */
1230
1431
  birthday?: Date;
1231
1432
  /** The URL to open the profile owner's primary calendar. */
@@ -1290,7 +1491,7 @@ declare namespace gapi.client {
1290
1491
  interface PhoneNumber {
1291
1492
  /** The phone number of the person. */
1292
1493
  phoneNumber?: string;
1293
- type?: string;
1494
+ type?: 'OTHER' | 'MOBILE' | 'OFFICE';
1294
1495
  }
1295
1496
  interface Photo {
1296
1497
  /** The URL of the photo. */
@@ -1306,7 +1507,12 @@ declare namespace gapi.client {
1306
1507
  /** Queue name to fetch items from. If unspecified, PollItems will fetch from 'default' queue. The maximum length is 100 characters. */
1307
1508
  queue?: string;
1308
1509
  /** Limit the items polled to the ones with these statuses. */
1309
- statusCodes?: string[];
1510
+ statusCodes?:
1511
+ | 'CODE_UNSPECIFIED'
1512
+ | 'ERROR'
1513
+ | 'MODIFIED'
1514
+ | 'NEW_ITEM'
1515
+ | 'ACCEPTED'[];
1310
1516
  }
1311
1517
  interface PollItemsResponse {
1312
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 */
@@ -1322,7 +1528,12 @@ declare namespace gapi.client {
1322
1528
  }
1323
1529
  interface ProcessingError {
1324
1530
  /** Error code indicating the nature of the error. */
1325
- code?: string;
1531
+ code?:
1532
+ | 'PROCESSING_ERROR_CODE_UNSPECIFIED'
1533
+ | 'MALFORMED_REQUEST'
1534
+ | 'UNSUPPORTED_CONTENT_FORMAT'
1535
+ | 'INDIRECT_BROKEN_ACL'
1536
+ | 'ACL_CYCLE';
1326
1537
  /** The description of the error. */
1327
1538
  errorMessage?: string;
1328
1539
  /** In case the item fields are invalid, this field contains the details about the validation errors. */
@@ -1373,7 +1584,12 @@ declare namespace gapi.client {
1373
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. */
1374
1585
  structuredDataHash?: string;
1375
1586
  /** The type of the push operation that defines the push behavior. */
1376
- type?: string;
1587
+ type?:
1588
+ | 'UNSPECIFIED'
1589
+ | 'MODIFIED'
1590
+ | 'NOT_MODIFIED'
1591
+ | 'REPOSITORY_ERROR'
1592
+ | 'REQUEUE';
1377
1593
  }
1378
1594
  interface PushItemRequest {
1379
1595
  /** The name of connector making this call. Format: datasources/{source_id}/connectors/{ID} */
@@ -1393,7 +1609,7 @@ declare namespace gapi.client {
1393
1609
  statusCode?: number;
1394
1610
  }
1395
1611
  interface QueryInterpretation {
1396
- interpretationType?: string;
1612
+ interpretationType?: 'NONE' | 'BLEND' | 'REPLACE';
1397
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. */
1398
1614
  interpretedQuery?: string;
1399
1615
  /** The actual number of results returned by the interpreted query. */
@@ -1401,7 +1617,10 @@ declare namespace gapi.client {
1401
1617
  /** The estimated number of results returned by the interpreted query. */
1402
1618
  interpretedQueryEstimatedResultCount?: string;
1403
1619
  /** The reason for interpretation of the query. This field will not be UNSPECIFIED if the interpretation type is not NONE. */
1404
- reason?: string;
1620
+ reason?:
1621
+ | 'UNSPECIFIED'
1622
+ | 'QUERY_HAS_NATURAL_LANGUAGE_INTENT'
1623
+ | 'NOT_ENOUGH_RESULTS_FOUND_FOR_USER_QUERY';
1405
1624
  }
1406
1625
  interface QueryInterpretationConfig {
1407
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. */
@@ -1445,7 +1664,16 @@ declare namespace gapi.client {
1445
1664
  /** The name of the operator. */
1446
1665
  operatorName?: string;
1447
1666
  /** The type of the operator. */
1448
- type?: string;
1667
+ type?:
1668
+ | 'UNKNOWN'
1669
+ | 'INTEGER'
1670
+ | 'DOUBLE'
1671
+ | 'TIMESTAMP'
1672
+ | 'BOOLEAN'
1673
+ | 'ENUM'
1674
+ | 'DATE'
1675
+ | 'TEXT'
1676
+ | 'HTML';
1449
1677
  }
1450
1678
  interface QuerySource {
1451
1679
  /** Display name of the data source. */
@@ -1471,7 +1699,17 @@ declare namespace gapi.client {
1471
1699
  /** Error codes. Matches the definition of HTTP status codes. */
1472
1700
  httpStatusCode?: number;
1473
1701
  /** The type of error. */
1474
- type?: string;
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';
1475
1713
  }
1476
1714
  interface RequestOptions {
1477
1715
  /** Debug options of the request */
@@ -1527,7 +1765,7 @@ declare namespace gapi.client {
1527
1765
  }
1528
1766
  interface RetrievalImportance {
1529
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. */
1530
- importance?: string;
1768
+ importance?: 'DEFAULT' | 'HIGHEST' | 'HIGH' | 'LOW' | 'NONE';
1531
1769
  }
1532
1770
  interface SafeHtmlProto {
1533
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. */
@@ -1678,13 +1916,22 @@ declare namespace gapi.client {
1678
1916
  /** The name of the operator corresponding to the field to sort on. The corresponding property must be marked as sortable. */
1679
1917
  operatorName?: string;
1680
1918
  /** Ascending is the default sort order */
1681
- sortOrder?: string;
1919
+ sortOrder?: 'ASCENDING' | 'DESCENDING';
1682
1920
  }
1683
1921
  interface Source {
1684
1922
  /** Source name for content indexed by the Indexing API. */
1685
1923
  name?: string;
1686
1924
  /** Predefined content source for Google Apps. */
1687
- predefinedSource?: string;
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';
1688
1935
  }
1689
1936
  interface SourceConfig {
1690
1937
  /** The crowding configuration for the source. */
@@ -1712,7 +1959,7 @@ declare namespace gapi.client {
1712
1959
  }
1713
1960
  interface SourceScoringConfig {
1714
1961
  /** Importance of the source. */
1715
- sourceImportance?: string;
1962
+ sourceImportance?: 'DEFAULT' | 'LOW' | 'HIGH';
1716
1963
  }
1717
1964
  interface SpellResult {
1718
1965
  /** The suggested spelling of the query. */
@@ -1720,7 +1967,10 @@ declare namespace gapi.client {
1720
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. */
1721
1968
  suggestedQueryHtml?: SafeHtmlProto;
1722
1969
  /** Suggestion triggered for the current query. */
1723
- suggestionType?: string;
1970
+ suggestionType?:
1971
+ | 'SUGGESTION_TYPE_UNSPECIFIED'
1972
+ | 'NON_EMPTY_RESULTS_SPELL_SUGGESTION'
1973
+ | 'ZERO_RESULTS_FULL_PAGE_REPLACEMENT';
1724
1974
  }
1725
1975
  interface StartUploadItemRequest {
1726
1976
  /** The name of connector making this call. Format: datasources/{source_id}/connectors/{ID} */
@@ -1815,7 +2065,13 @@ declare namespace gapi.client {
1815
2065
  /** The resource name for an external user. */
1816
2066
  externalIdentity?: Principal;
1817
2067
  /** The resolution status for the external identity. */
1818
- resolutionStatusCode?: string;
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';
1819
2075
  }
1820
2076
  interface UnreserveItemsRequest {
1821
2077
  /** The name of connector making this call. Format: datasources/{source_id}/connectors/{ID} */
@@ -1870,11 +2126,11 @@ declare namespace gapi.client {
1870
2126
  /** List all unmapped identities for a specific item. **Note:** This API requires an admin account to execute. */
1871
2127
  list(request?: {
1872
2128
  /** V1 error format. */
1873
- '$.xgafv'?: string;
2129
+ '$.xgafv'?: '1' | '2';
1874
2130
  /** OAuth access token. */
1875
2131
  access_token?: string;
1876
2132
  /** Data format for response. */
1877
- alt?: string;
2133
+ alt?: 'json' | 'media' | 'proto';
1878
2134
  /** JSONP */
1879
2135
  callback?: string;
1880
2136
  /** If you are asked by Google to help with debugging, set this field. Otherwise, ignore this field. */
@@ -1905,11 +2161,11 @@ declare namespace gapi.client {
1905
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. */
1906
2162
  checkAccess(request: {
1907
2163
  /** V1 error format. */
1908
- '$.xgafv'?: string;
2164
+ '$.xgafv'?: '1' | '2';
1909
2165
  /** OAuth access token. */
1910
2166
  access_token?: string;
1911
2167
  /** Data format for response. */
1912
- alt?: string;
2168
+ alt?: 'json' | 'media' | 'proto';
1913
2169
  /** JSONP */
1914
2170
  callback?: string;
1915
2171
  /** If you are asked by Google to help with debugging, set this field. Otherwise, ignore this field. */
@@ -1936,11 +2192,11 @@ declare namespace gapi.client {
1936
2192
  checkAccess(
1937
2193
  request: {
1938
2194
  /** V1 error format. */
1939
- '$.xgafv'?: string;
2195
+ '$.xgafv'?: '1' | '2';
1940
2196
  /** OAuth access token. */
1941
2197
  access_token?: string;
1942
2198
  /** Data format for response. */
1943
- alt?: string;
2199
+ alt?: 'json' | 'media' | 'proto';
1944
2200
  /** JSONP */
1945
2201
  callback?: string;
1946
2202
  /** If you are asked by Google to help with debugging, set this field. Otherwise, ignore this field. */
@@ -1967,11 +2223,11 @@ declare namespace gapi.client {
1967
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. */
1968
2224
  searchByViewUrl(request: {
1969
2225
  /** V1 error format. */
1970
- '$.xgafv'?: string;
2226
+ '$.xgafv'?: '1' | '2';
1971
2227
  /** OAuth access token. */
1972
2228
  access_token?: string;
1973
2229
  /** Data format for response. */
1974
- alt?: string;
2230
+ alt?: 'json' | 'media' | 'proto';
1975
2231
  /** JSONP */
1976
2232
  callback?: string;
1977
2233
  /** Selector specifying which fields to include in a partial response. */
@@ -1996,11 +2252,11 @@ declare namespace gapi.client {
1996
2252
  searchByViewUrl(
1997
2253
  request: {
1998
2254
  /** V1 error format. */
1999
- '$.xgafv'?: string;
2255
+ '$.xgafv'?: '1' | '2';
2000
2256
  /** OAuth access token. */
2001
2257
  access_token?: string;
2002
2258
  /** Data format for response. */
2003
- alt?: string;
2259
+ alt?: 'json' | 'media' | 'proto';
2004
2260
  /** JSONP */
2005
2261
  callback?: string;
2006
2262
  /** Selector specifying which fields to include in a partial response. */
@@ -2031,11 +2287,11 @@ declare namespace gapi.client {
2031
2287
  /** Lists names of items associated with an unmapped identity. **Note:** This API requires an admin account to execute. */
2032
2288
  listForunmappedidentity(request?: {
2033
2289
  /** V1 error format. */
2034
- '$.xgafv'?: string;
2290
+ '$.xgafv'?: '1' | '2';
2035
2291
  /** OAuth access token. */
2036
2292
  access_token?: string;
2037
2293
  /** Data format for response. */
2038
- alt?: string;
2294
+ alt?: 'json' | 'media' | 'proto';
2039
2295
  /** JSONP */
2040
2296
  callback?: string;
2041
2297
  /** If you are asked by Google to help with debugging, set this field. Otherwise, ignore this field. */
@@ -2068,11 +2324,11 @@ declare namespace gapi.client {
2068
2324
  /** Lists unmapped user identities for an identity source. **Note:** This API requires an admin account to execute. */
2069
2325
  list(request?: {
2070
2326
  /** V1 error format. */
2071
- '$.xgafv'?: string;
2327
+ '$.xgafv'?: '1' | '2';
2072
2328
  /** OAuth access token. */
2073
2329
  access_token?: string;
2074
2330
  /** Data format for response. */
2075
- alt?: string;
2331
+ alt?: 'json' | 'media' | 'proto';
2076
2332
  /** JSONP */
2077
2333
  callback?: string;
2078
2334
  /** If you are asked by Google to help with debugging, set this field. Otherwise, ignore this field. */
@@ -2094,7 +2350,13 @@ declare namespace gapi.client {
2094
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. */
2095
2351
  quotaUser?: string;
2096
2352
  /** Limit users selection to this status. */
2097
- resolutionStatusCode?: string;
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';
2098
2360
  /** Upload protocol for media (e.g. "raw", "multipart"). */
2099
2361
  upload_protocol?: string;
2100
2362
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
@@ -2113,11 +2375,11 @@ declare namespace gapi.client {
2113
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. */
2114
2376
  delete(request?: {
2115
2377
  /** V1 error format. */
2116
- '$.xgafv'?: string;
2378
+ '$.xgafv'?: '1' | '2';
2117
2379
  /** OAuth access token. */
2118
2380
  access_token?: string;
2119
2381
  /** Data format for response. */
2120
- alt?: string;
2382
+ alt?: 'json' | 'media' | 'proto';
2121
2383
  /** JSONP */
2122
2384
  callback?: string;
2123
2385
  /** The name of connector making this call. Format: datasources/{source_id}/connectors/{ID} */
@@ -2129,7 +2391,7 @@ declare namespace gapi.client {
2129
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. */
2130
2392
  key?: string;
2131
2393
  /** Required. The RequestMode for this request. */
2132
- mode?: string;
2394
+ mode?: 'UNSPECIFIED' | 'SYNCHRONOUS' | 'ASYNCHRONOUS';
2133
2395
  /** Required. The name of the item to delete. Format: datasources/{source_id}/items/{item_id} */
2134
2396
  name: string;
2135
2397
  /** OAuth 2.0 token for the current user. */
@@ -2148,11 +2410,11 @@ declare namespace gapi.client {
2148
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. */
2149
2411
  deleteQueueItems(request: {
2150
2412
  /** V1 error format. */
2151
- '$.xgafv'?: string;
2413
+ '$.xgafv'?: '1' | '2';
2152
2414
  /** OAuth access token. */
2153
2415
  access_token?: string;
2154
2416
  /** Data format for response. */
2155
- alt?: string;
2417
+ alt?: 'json' | 'media' | 'proto';
2156
2418
  /** JSONP */
2157
2419
  callback?: string;
2158
2420
  /** Selector specifying which fields to include in a partial response. */
@@ -2177,11 +2439,11 @@ declare namespace gapi.client {
2177
2439
  deleteQueueItems(
2178
2440
  request: {
2179
2441
  /** V1 error format. */
2180
- '$.xgafv'?: string;
2442
+ '$.xgafv'?: '1' | '2';
2181
2443
  /** OAuth access token. */
2182
2444
  access_token?: string;
2183
2445
  /** Data format for response. */
2184
- alt?: string;
2446
+ alt?: 'json' | 'media' | 'proto';
2185
2447
  /** JSONP */
2186
2448
  callback?: string;
2187
2449
  /** Selector specifying which fields to include in a partial response. */
@@ -2206,11 +2468,11 @@ declare namespace gapi.client {
2206
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. */
2207
2469
  get(request?: {
2208
2470
  /** V1 error format. */
2209
- '$.xgafv'?: string;
2471
+ '$.xgafv'?: '1' | '2';
2210
2472
  /** OAuth access token. */
2211
2473
  access_token?: string;
2212
2474
  /** Data format for response. */
2213
- alt?: string;
2475
+ alt?: 'json' | 'media' | 'proto';
2214
2476
  /** JSONP */
2215
2477
  callback?: string;
2216
2478
  /** The name of connector making this call. Format: datasources/{source_id}/connectors/{ID} */
@@ -2237,11 +2499,11 @@ declare namespace gapi.client {
2237
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. */
2238
2500
  index(request: {
2239
2501
  /** V1 error format. */
2240
- '$.xgafv'?: string;
2502
+ '$.xgafv'?: '1' | '2';
2241
2503
  /** OAuth access token. */
2242
2504
  access_token?: string;
2243
2505
  /** Data format for response. */
2244
- alt?: string;
2506
+ alt?: 'json' | 'media' | 'proto';
2245
2507
  /** JSONP */
2246
2508
  callback?: string;
2247
2509
  /** Selector specifying which fields to include in a partial response. */
@@ -2266,11 +2528,11 @@ declare namespace gapi.client {
2266
2528
  index(
2267
2529
  request: {
2268
2530
  /** V1 error format. */
2269
- '$.xgafv'?: string;
2531
+ '$.xgafv'?: '1' | '2';
2270
2532
  /** OAuth access token. */
2271
2533
  access_token?: string;
2272
2534
  /** Data format for response. */
2273
- alt?: string;
2535
+ alt?: 'json' | 'media' | 'proto';
2274
2536
  /** JSONP */
2275
2537
  callback?: string;
2276
2538
  /** Selector specifying which fields to include in a partial response. */
@@ -2295,11 +2557,11 @@ declare namespace gapi.client {
2295
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. */
2296
2558
  list(request?: {
2297
2559
  /** V1 error format. */
2298
- '$.xgafv'?: string;
2560
+ '$.xgafv'?: '1' | '2';
2299
2561
  /** OAuth access token. */
2300
2562
  access_token?: string;
2301
2563
  /** Data format for response. */
2302
- alt?: string;
2564
+ alt?: 'json' | 'media' | 'proto';
2303
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. */
2304
2566
  brief?: boolean;
2305
2567
  /** JSONP */
@@ -2332,11 +2594,11 @@ declare namespace gapi.client {
2332
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. */
2333
2595
  poll(request: {
2334
2596
  /** V1 error format. */
2335
- '$.xgafv'?: string;
2597
+ '$.xgafv'?: '1' | '2';
2336
2598
  /** OAuth access token. */
2337
2599
  access_token?: string;
2338
2600
  /** Data format for response. */
2339
- alt?: string;
2601
+ alt?: 'json' | 'media' | 'proto';
2340
2602
  /** JSONP */
2341
2603
  callback?: string;
2342
2604
  /** Selector specifying which fields to include in a partial response. */
@@ -2361,11 +2623,11 @@ declare namespace gapi.client {
2361
2623
  poll(
2362
2624
  request: {
2363
2625
  /** V1 error format. */
2364
- '$.xgafv'?: string;
2626
+ '$.xgafv'?: '1' | '2';
2365
2627
  /** OAuth access token. */
2366
2628
  access_token?: string;
2367
2629
  /** Data format for response. */
2368
- alt?: string;
2630
+ alt?: 'json' | 'media' | 'proto';
2369
2631
  /** JSONP */
2370
2632
  callback?: string;
2371
2633
  /** Selector specifying which fields to include in a partial response. */
@@ -2390,11 +2652,11 @@ declare namespace gapi.client {
2390
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. */
2391
2653
  push(request: {
2392
2654
  /** V1 error format. */
2393
- '$.xgafv'?: string;
2655
+ '$.xgafv'?: '1' | '2';
2394
2656
  /** OAuth access token. */
2395
2657
  access_token?: string;
2396
2658
  /** Data format for response. */
2397
- alt?: string;
2659
+ alt?: 'json' | 'media' | 'proto';
2398
2660
  /** JSONP */
2399
2661
  callback?: string;
2400
2662
  /** Selector specifying which fields to include in a partial response. */
@@ -2419,11 +2681,11 @@ declare namespace gapi.client {
2419
2681
  push(
2420
2682
  request: {
2421
2683
  /** V1 error format. */
2422
- '$.xgafv'?: string;
2684
+ '$.xgafv'?: '1' | '2';
2423
2685
  /** OAuth access token. */
2424
2686
  access_token?: string;
2425
2687
  /** Data format for response. */
2426
- alt?: string;
2688
+ alt?: 'json' | 'media' | 'proto';
2427
2689
  /** JSONP */
2428
2690
  callback?: string;
2429
2691
  /** Selector specifying which fields to include in a partial response. */
@@ -2448,11 +2710,11 @@ declare namespace gapi.client {
2448
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. */
2449
2711
  unreserve(request: {
2450
2712
  /** V1 error format. */
2451
- '$.xgafv'?: string;
2713
+ '$.xgafv'?: '1' | '2';
2452
2714
  /** OAuth access token. */
2453
2715
  access_token?: string;
2454
2716
  /** Data format for response. */
2455
- alt?: string;
2717
+ alt?: 'json' | 'media' | 'proto';
2456
2718
  /** JSONP */
2457
2719
  callback?: string;
2458
2720
  /** Selector specifying which fields to include in a partial response. */
@@ -2477,11 +2739,11 @@ declare namespace gapi.client {
2477
2739
  unreserve(
2478
2740
  request: {
2479
2741
  /** V1 error format. */
2480
- '$.xgafv'?: string;
2742
+ '$.xgafv'?: '1' | '2';
2481
2743
  /** OAuth access token. */
2482
2744
  access_token?: string;
2483
2745
  /** Data format for response. */
2484
- alt?: string;
2746
+ alt?: 'json' | 'media' | 'proto';
2485
2747
  /** JSONP */
2486
2748
  callback?: string;
2487
2749
  /** Selector specifying which fields to include in a partial response. */
@@ -2506,11 +2768,11 @@ declare namespace gapi.client {
2506
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. */
2507
2769
  upload(request: {
2508
2770
  /** V1 error format. */
2509
- '$.xgafv'?: string;
2771
+ '$.xgafv'?: '1' | '2';
2510
2772
  /** OAuth access token. */
2511
2773
  access_token?: string;
2512
2774
  /** Data format for response. */
2513
- alt?: string;
2775
+ alt?: 'json' | 'media' | 'proto';
2514
2776
  /** JSONP */
2515
2777
  callback?: string;
2516
2778
  /** Selector specifying which fields to include in a partial response. */
@@ -2535,11 +2797,11 @@ declare namespace gapi.client {
2535
2797
  upload(
2536
2798
  request: {
2537
2799
  /** V1 error format. */
2538
- '$.xgafv'?: string;
2800
+ '$.xgafv'?: '1' | '2';
2539
2801
  /** OAuth access token. */
2540
2802
  access_token?: string;
2541
2803
  /** Data format for response. */
2542
- alt?: string;
2804
+ alt?: 'json' | 'media' | 'proto';
2543
2805
  /** JSONP */
2544
2806
  callback?: string;
2545
2807
  /** Selector specifying which fields to include in a partial response. */
@@ -2566,11 +2828,11 @@ declare namespace gapi.client {
2566
2828
  /** Deletes the schema of a data source. **Note:** This API requires an admin or service account to execute. */
2567
2829
  deleteSchema(request?: {
2568
2830
  /** V1 error format. */
2569
- '$.xgafv'?: string;
2831
+ '$.xgafv'?: '1' | '2';
2570
2832
  /** OAuth access token. */
2571
2833
  access_token?: string;
2572
2834
  /** Data format for response. */
2573
- alt?: string;
2835
+ alt?: 'json' | 'media' | 'proto';
2574
2836
  /** JSONP */
2575
2837
  callback?: string;
2576
2838
  /** If you are asked by Google to help with debugging, set this field. Otherwise, ignore this field. */
@@ -2595,11 +2857,11 @@ declare namespace gapi.client {
2595
2857
  /** Gets the schema of a data source. **Note:** This API requires an admin or service account to execute. */
2596
2858
  getSchema(request?: {
2597
2859
  /** V1 error format. */
2598
- '$.xgafv'?: string;
2860
+ '$.xgafv'?: '1' | '2';
2599
2861
  /** OAuth access token. */
2600
2862
  access_token?: string;
2601
2863
  /** Data format for response. */
2602
- alt?: string;
2864
+ alt?: 'json' | 'media' | 'proto';
2603
2865
  /** JSONP */
2604
2866
  callback?: string;
2605
2867
  /** If you are asked by Google to help with debugging, set this field. Otherwise, ignore this field. */
@@ -2624,11 +2886,11 @@ declare namespace gapi.client {
2624
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. */
2625
2887
  updateSchema(request: {
2626
2888
  /** V1 error format. */
2627
- '$.xgafv'?: string;
2889
+ '$.xgafv'?: '1' | '2';
2628
2890
  /** OAuth access token. */
2629
2891
  access_token?: string;
2630
2892
  /** Data format for response. */
2631
- alt?: string;
2893
+ alt?: 'json' | 'media' | 'proto';
2632
2894
  /** JSONP */
2633
2895
  callback?: string;
2634
2896
  /** Selector specifying which fields to include in a partial response. */
@@ -2653,11 +2915,11 @@ declare namespace gapi.client {
2653
2915
  updateSchema(
2654
2916
  request: {
2655
2917
  /** V1 error format. */
2656
- '$.xgafv'?: string;
2918
+ '$.xgafv'?: '1' | '2';
2657
2919
  /** OAuth access token. */
2658
2920
  access_token?: string;
2659
2921
  /** Data format for response. */
2660
- alt?: string;
2922
+ alt?: 'json' | 'media' | 'proto';
2661
2923
  /** JSONP */
2662
2924
  callback?: string;
2663
2925
  /** Selector specifying which fields to include in a partial response. */
@@ -2688,11 +2950,11 @@ declare namespace gapi.client {
2688
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. */
2689
2951
  upload(request: {
2690
2952
  /** V1 error format. */
2691
- '$.xgafv'?: string;
2953
+ '$.xgafv'?: '1' | '2';
2692
2954
  /** OAuth access token. */
2693
2955
  access_token?: string;
2694
2956
  /** Data format for response. */
2695
- alt?: string;
2957
+ alt?: 'json' | 'media' | 'proto';
2696
2958
  /** JSONP */
2697
2959
  callback?: string;
2698
2960
  /** Selector specifying which fields to include in a partial response. */
@@ -2717,11 +2979,11 @@ declare namespace gapi.client {
2717
2979
  upload(
2718
2980
  request: {
2719
2981
  /** V1 error format. */
2720
- '$.xgafv'?: string;
2982
+ '$.xgafv'?: '1' | '2';
2721
2983
  /** OAuth access token. */
2722
2984
  access_token?: string;
2723
2985
  /** Data format for response. */
2724
- alt?: string;
2986
+ alt?: 'json' | 'media' | 'proto';
2725
2987
  /** JSONP */
2726
2988
  callback?: string;
2727
2989
  /** Selector specifying which fields to include in a partial response. */
@@ -2748,11 +3010,11 @@ declare namespace gapi.client {
2748
3010
  /** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
2749
3011
  list(request?: {
2750
3012
  /** V1 error format. */
2751
- '$.xgafv'?: string;
3013
+ '$.xgafv'?: '1' | '2';
2752
3014
  /** OAuth access token. */
2753
3015
  access_token?: string;
2754
3016
  /** Data format for response. */
2755
- alt?: string;
3017
+ alt?: 'json' | 'media' | 'proto';
2756
3018
  /** JSONP */
2757
3019
  callback?: string;
2758
3020
  /** Selector specifying which fields to include in a partial response. */
@@ -2785,11 +3047,11 @@ declare namespace gapi.client {
2785
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. */
2786
3048
  get(request?: {
2787
3049
  /** V1 error format. */
2788
- '$.xgafv'?: string;
3050
+ '$.xgafv'?: '1' | '2';
2789
3051
  /** OAuth access token. */
2790
3052
  access_token?: string;
2791
3053
  /** Data format for response. */
2792
- alt?: string;
3054
+ alt?: 'json' | 'media' | 'proto';
2793
3055
  /** JSONP */
2794
3056
  callback?: string;
2795
3057
  /** Selector specifying which fields to include in a partial response. */
@@ -2815,11 +3077,11 @@ declare namespace gapi.client {
2815
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/). */
2816
3078
  list(request?: {
2817
3079
  /** V1 error format. */
2818
- '$.xgafv'?: string;
3080
+ '$.xgafv'?: '1' | '2';
2819
3081
  /** OAuth access token. */
2820
3082
  access_token?: string;
2821
3083
  /** Data format for response. */
2822
- alt?: string;
3084
+ alt?: 'json' | 'media' | 'proto';
2823
3085
  /** JSONP */
2824
3086
  callback?: string;
2825
3087
  /** Selector specifying which fields to include in a partial response. */
@@ -2849,68 +3111,14 @@ declare namespace gapi.client {
2849
3111
  }): Request<ListQuerySourcesResponse>;
2850
3112
  }
2851
3113
  interface QueryResource {
2852
- /** Returns Debug information for Cloud Search Query API provides the search method. **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/). */
2853
- debugSearch(request: {
2854
- /** V1 error format. */
2855
- '$.xgafv'?: string;
2856
- /** OAuth access token. */
2857
- access_token?: string;
2858
- /** Data format for response. */
2859
- alt?: string;
2860
- /** JSONP */
2861
- callback?: string;
2862
- /** Selector specifying which fields to include in a partial response. */
2863
- fields?: string;
2864
- /** 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. */
2865
- key?: string;
2866
- /** OAuth 2.0 token for the current user. */
2867
- oauth_token?: string;
2868
- /** Returns response with indentations and line breaks. */
2869
- prettyPrint?: boolean;
2870
- /** 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. */
2871
- quotaUser?: string;
2872
- /** Upload protocol for media (e.g. "raw", "multipart"). */
2873
- upload_protocol?: string;
2874
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2875
- uploadType?: string;
2876
- /** Request body */
2877
- resource: SearchRequest;
2878
- }): Request<DebugResponse>;
2879
- debugSearch(
2880
- request: {
2881
- /** V1 error format. */
2882
- '$.xgafv'?: string;
2883
- /** OAuth access token. */
2884
- access_token?: string;
2885
- /** Data format for response. */
2886
- alt?: string;
2887
- /** JSONP */
2888
- callback?: string;
2889
- /** Selector specifying which fields to include in a partial response. */
2890
- fields?: string;
2891
- /** 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. */
2892
- key?: string;
2893
- /** OAuth 2.0 token for the current user. */
2894
- oauth_token?: string;
2895
- /** Returns response with indentations and line breaks. */
2896
- prettyPrint?: boolean;
2897
- /** 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. */
2898
- quotaUser?: string;
2899
- /** Upload protocol for media (e.g. "raw", "multipart"). */
2900
- upload_protocol?: string;
2901
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2902
- uploadType?: string;
2903
- },
2904
- body: SearchRequest,
2905
- ): Request<DebugResponse>;
2906
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/). */
2907
3115
  removeActivity(request: {
2908
3116
  /** V1 error format. */
2909
- '$.xgafv'?: string;
3117
+ '$.xgafv'?: '1' | '2';
2910
3118
  /** OAuth access token. */
2911
3119
  access_token?: string;
2912
3120
  /** Data format for response. */
2913
- alt?: string;
3121
+ alt?: 'json' | 'media' | 'proto';
2914
3122
  /** JSONP */
2915
3123
  callback?: string;
2916
3124
  /** Selector specifying which fields to include in a partial response. */
@@ -2933,11 +3141,11 @@ declare namespace gapi.client {
2933
3141
  removeActivity(
2934
3142
  request: {
2935
3143
  /** V1 error format. */
2936
- '$.xgafv'?: string;
3144
+ '$.xgafv'?: '1' | '2';
2937
3145
  /** OAuth access token. */
2938
3146
  access_token?: string;
2939
3147
  /** Data format for response. */
2940
- alt?: string;
3148
+ alt?: 'json' | 'media' | 'proto';
2941
3149
  /** JSONP */
2942
3150
  callback?: string;
2943
3151
  /** Selector specifying which fields to include in a partial response. */
@@ -2960,11 +3168,11 @@ declare namespace gapi.client {
2960
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/). */
2961
3169
  search(request: {
2962
3170
  /** V1 error format. */
2963
- '$.xgafv'?: string;
3171
+ '$.xgafv'?: '1' | '2';
2964
3172
  /** OAuth access token. */
2965
3173
  access_token?: string;
2966
3174
  /** Data format for response. */
2967
- alt?: string;
3175
+ alt?: 'json' | 'media' | 'proto';
2968
3176
  /** JSONP */
2969
3177
  callback?: string;
2970
3178
  /** Selector specifying which fields to include in a partial response. */
@@ -2987,11 +3195,11 @@ declare namespace gapi.client {
2987
3195
  search(
2988
3196
  request: {
2989
3197
  /** V1 error format. */
2990
- '$.xgafv'?: string;
3198
+ '$.xgafv'?: '1' | '2';
2991
3199
  /** OAuth access token. */
2992
3200
  access_token?: string;
2993
3201
  /** Data format for response. */
2994
- alt?: string;
3202
+ alt?: 'json' | 'media' | 'proto';
2995
3203
  /** JSONP */
2996
3204
  callback?: string;
2997
3205
  /** Selector specifying which fields to include in a partial response. */
@@ -3014,11 +3222,11 @@ declare namespace gapi.client {
3014
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/). */
3015
3223
  suggest(request: {
3016
3224
  /** V1 error format. */
3017
- '$.xgafv'?: string;
3225
+ '$.xgafv'?: '1' | '2';
3018
3226
  /** OAuth access token. */
3019
3227
  access_token?: string;
3020
3228
  /** Data format for response. */
3021
- alt?: string;
3229
+ alt?: 'json' | 'media' | 'proto';
3022
3230
  /** JSONP */
3023
3231
  callback?: string;
3024
3232
  /** Selector specifying which fields to include in a partial response. */
@@ -3041,11 +3249,11 @@ declare namespace gapi.client {
3041
3249
  suggest(
3042
3250
  request: {
3043
3251
  /** V1 error format. */
3044
- '$.xgafv'?: string;
3252
+ '$.xgafv'?: '1' | '2';
3045
3253
  /** OAuth access token. */
3046
3254
  access_token?: string;
3047
3255
  /** Data format for response. */
3048
- alt?: string;
3256
+ alt?: 'json' | 'media' | 'proto';
3049
3257
  /** JSONP */
3050
3258
  callback?: string;
3051
3259
  /** Selector specifying which fields to include in a partial response. */
@@ -3071,11 +3279,11 @@ declare namespace gapi.client {
3071
3279
  /** Creates a datasource. **Note:** This API requires an admin account to execute. */
3072
3280
  create(request: {
3073
3281
  /** V1 error format. */
3074
- '$.xgafv'?: string;
3282
+ '$.xgafv'?: '1' | '2';
3075
3283
  /** OAuth access token. */
3076
3284
  access_token?: string;
3077
3285
  /** Data format for response. */
3078
- alt?: string;
3286
+ alt?: 'json' | 'media' | 'proto';
3079
3287
  /** JSONP */
3080
3288
  callback?: string;
3081
3289
  /** Selector specifying which fields to include in a partial response. */
@@ -3098,11 +3306,11 @@ declare namespace gapi.client {
3098
3306
  create(
3099
3307
  request: {
3100
3308
  /** V1 error format. */
3101
- '$.xgafv'?: string;
3309
+ '$.xgafv'?: '1' | '2';
3102
3310
  /** OAuth access token. */
3103
3311
  access_token?: string;
3104
3312
  /** Data format for response. */
3105
- alt?: string;
3313
+ alt?: 'json' | 'media' | 'proto';
3106
3314
  /** JSONP */
3107
3315
  callback?: string;
3108
3316
  /** Selector specifying which fields to include in a partial response. */
@@ -3125,11 +3333,11 @@ declare namespace gapi.client {
3125
3333
  /** Deletes a datasource. **Note:** This API requires an admin account to execute. */
3126
3334
  delete(request?: {
3127
3335
  /** V1 error format. */
3128
- '$.xgafv'?: string;
3336
+ '$.xgafv'?: '1' | '2';
3129
3337
  /** OAuth access token. */
3130
3338
  access_token?: string;
3131
3339
  /** Data format for response. */
3132
- alt?: string;
3340
+ alt?: 'json' | 'media' | 'proto';
3133
3341
  /** JSONP */
3134
3342
  callback?: string;
3135
3343
  /** If you are asked by Google to help with debugging, set this field. Otherwise, ignore this field. */
@@ -3154,11 +3362,11 @@ declare namespace gapi.client {
3154
3362
  /** Gets a datasource. **Note:** This API requires an admin account to execute. */
3155
3363
  get(request?: {
3156
3364
  /** V1 error format. */
3157
- '$.xgafv'?: string;
3365
+ '$.xgafv'?: '1' | '2';
3158
3366
  /** OAuth access token. */
3159
3367
  access_token?: string;
3160
3368
  /** Data format for response. */
3161
- alt?: string;
3369
+ alt?: 'json' | 'media' | 'proto';
3162
3370
  /** JSONP */
3163
3371
  callback?: string;
3164
3372
  /** If you are asked by Google to help with debugging, set this field. Otherwise, ignore this field. */
@@ -3183,11 +3391,11 @@ declare namespace gapi.client {
3183
3391
  /** Lists datasources. **Note:** This API requires an admin account to execute. */
3184
3392
  list(request?: {
3185
3393
  /** V1 error format. */
3186
- '$.xgafv'?: string;
3394
+ '$.xgafv'?: '1' | '2';
3187
3395
  /** OAuth access token. */
3188
3396
  access_token?: string;
3189
3397
  /** Data format for response. */
3190
- alt?: string;
3398
+ alt?: 'json' | 'media' | 'proto';
3191
3399
  /** JSONP */
3192
3400
  callback?: string;
3193
3401
  /** If you are asked by Google to help with debugging, set this field. Otherwise, ignore this field. */
@@ -3214,11 +3422,11 @@ declare namespace gapi.client {
3214
3422
  /** Updates a datasource. **Note:** This API requires an admin account to execute. */
3215
3423
  patch(request: {
3216
3424
  /** V1 error format. */
3217
- '$.xgafv'?: string;
3425
+ '$.xgafv'?: '1' | '2';
3218
3426
  /** OAuth access token. */
3219
3427
  access_token?: string;
3220
3428
  /** Data format for response. */
3221
- alt?: string;
3429
+ alt?: 'json' | 'media' | 'proto';
3222
3430
  /** JSONP */
3223
3431
  callback?: string;
3224
3432
  /** If you are asked by Google to help with debugging, set this field. Otherwise, ignore this field. */
@@ -3247,11 +3455,11 @@ declare namespace gapi.client {
3247
3455
  patch(
3248
3456
  request: {
3249
3457
  /** V1 error format. */
3250
- '$.xgafv'?: string;
3458
+ '$.xgafv'?: '1' | '2';
3251
3459
  /** OAuth access token. */
3252
3460
  access_token?: string;
3253
3461
  /** Data format for response. */
3254
- alt?: string;
3462
+ alt?: 'json' | 'media' | 'proto';
3255
3463
  /** JSONP */
3256
3464
  callback?: string;
3257
3465
  /** If you are asked by Google to help with debugging, set this field. Otherwise, ignore this field. */
@@ -3280,11 +3488,11 @@ declare namespace gapi.client {
3280
3488
  /** Updates a datasource. **Note:** This API requires an admin account to execute. */
3281
3489
  update(request: {
3282
3490
  /** V1 error format. */
3283
- '$.xgafv'?: string;
3491
+ '$.xgafv'?: '1' | '2';
3284
3492
  /** OAuth access token. */
3285
3493
  access_token?: string;
3286
3494
  /** Data format for response. */
3287
- alt?: string;
3495
+ alt?: 'json' | 'media' | 'proto';
3288
3496
  /** JSONP */
3289
3497
  callback?: string;
3290
3498
  /** Selector specifying which fields to include in a partial response. */
@@ -3309,11 +3517,11 @@ declare namespace gapi.client {
3309
3517
  update(
3310
3518
  request: {
3311
3519
  /** V1 error format. */
3312
- '$.xgafv'?: string;
3520
+ '$.xgafv'?: '1' | '2';
3313
3521
  /** OAuth access token. */
3314
3522
  access_token?: string;
3315
3523
  /** Data format for response. */
3316
- alt?: string;
3524
+ alt?: 'json' | 'media' | 'proto';
3317
3525
  /** JSONP */
3318
3526
  callback?: string;
3319
3527
  /** Selector specifying which fields to include in a partial response. */
@@ -3340,11 +3548,11 @@ declare namespace gapi.client {
3340
3548
  /** Creates a search application. **Note:** This API requires an admin account to execute. */
3341
3549
  create(request: {
3342
3550
  /** V1 error format. */
3343
- '$.xgafv'?: string;
3551
+ '$.xgafv'?: '1' | '2';
3344
3552
  /** OAuth access token. */
3345
3553
  access_token?: string;
3346
3554
  /** Data format for response. */
3347
- alt?: string;
3555
+ alt?: 'json' | 'media' | 'proto';
3348
3556
  /** JSONP */
3349
3557
  callback?: string;
3350
3558
  /** Selector specifying which fields to include in a partial response. */
@@ -3367,11 +3575,11 @@ declare namespace gapi.client {
3367
3575
  create(
3368
3576
  request: {
3369
3577
  /** V1 error format. */
3370
- '$.xgafv'?: string;
3578
+ '$.xgafv'?: '1' | '2';
3371
3579
  /** OAuth access token. */
3372
3580
  access_token?: string;
3373
3581
  /** Data format for response. */
3374
- alt?: string;
3582
+ alt?: 'json' | 'media' | 'proto';
3375
3583
  /** JSONP */
3376
3584
  callback?: string;
3377
3585
  /** Selector specifying which fields to include in a partial response. */
@@ -3394,11 +3602,11 @@ declare namespace gapi.client {
3394
3602
  /** Deletes a search application. **Note:** This API requires an admin account to execute. */
3395
3603
  delete(request?: {
3396
3604
  /** V1 error format. */
3397
- '$.xgafv'?: string;
3605
+ '$.xgafv'?: '1' | '2';
3398
3606
  /** OAuth access token. */
3399
3607
  access_token?: string;
3400
3608
  /** Data format for response. */
3401
- alt?: string;
3609
+ alt?: 'json' | 'media' | 'proto';
3402
3610
  /** JSONP */
3403
3611
  callback?: string;
3404
3612
  /** If you are asked by Google to help with debugging, set this field. Otherwise, ignore this field. */
@@ -3423,11 +3631,11 @@ declare namespace gapi.client {
3423
3631
  /** Gets the specified search application. **Note:** This API requires an admin account to execute. */
3424
3632
  get(request?: {
3425
3633
  /** V1 error format. */
3426
- '$.xgafv'?: string;
3634
+ '$.xgafv'?: '1' | '2';
3427
3635
  /** OAuth access token. */
3428
3636
  access_token?: string;
3429
3637
  /** Data format for response. */
3430
- alt?: string;
3638
+ alt?: 'json' | 'media' | 'proto';
3431
3639
  /** JSONP */
3432
3640
  callback?: string;
3433
3641
  /** If you are asked by Google to help with debugging, set this field. Otherwise, ignore this field. */
@@ -3452,11 +3660,11 @@ declare namespace gapi.client {
3452
3660
  /** Lists all search applications. **Note:** This API requires an admin account to execute. */
3453
3661
  list(request?: {
3454
3662
  /** V1 error format. */
3455
- '$.xgafv'?: string;
3663
+ '$.xgafv'?: '1' | '2';
3456
3664
  /** OAuth access token. */
3457
3665
  access_token?: string;
3458
3666
  /** Data format for response. */
3459
- alt?: string;
3667
+ alt?: 'json' | 'media' | 'proto';
3460
3668
  /** JSONP */
3461
3669
  callback?: string;
3462
3670
  /** If you are asked by Google to help with debugging, set this field. Otherwise, ignore this field. */
@@ -3483,11 +3691,11 @@ declare namespace gapi.client {
3483
3691
  /** Updates a search application. **Note:** This API requires an admin account to execute. */
3484
3692
  patch(request: {
3485
3693
  /** V1 error format. */
3486
- '$.xgafv'?: string;
3694
+ '$.xgafv'?: '1' | '2';
3487
3695
  /** OAuth access token. */
3488
3696
  access_token?: string;
3489
3697
  /** Data format for response. */
3490
- alt?: string;
3698
+ alt?: 'json' | 'media' | 'proto';
3491
3699
  /** JSONP */
3492
3700
  callback?: string;
3493
3701
  /** Selector specifying which fields to include in a partial response. */
@@ -3514,11 +3722,11 @@ declare namespace gapi.client {
3514
3722
  patch(
3515
3723
  request: {
3516
3724
  /** V1 error format. */
3517
- '$.xgafv'?: string;
3725
+ '$.xgafv'?: '1' | '2';
3518
3726
  /** OAuth access token. */
3519
3727
  access_token?: string;
3520
3728
  /** Data format for response. */
3521
- alt?: string;
3729
+ alt?: 'json' | 'media' | 'proto';
3522
3730
  /** JSONP */
3523
3731
  callback?: string;
3524
3732
  /** Selector specifying which fields to include in a partial response. */
@@ -3545,11 +3753,11 @@ declare namespace gapi.client {
3545
3753
  /** Resets a search application to default settings. This will return an empty response. **Note:** This API requires an admin account to execute. */
3546
3754
  reset(request: {
3547
3755
  /** V1 error format. */
3548
- '$.xgafv'?: string;
3756
+ '$.xgafv'?: '1' | '2';
3549
3757
  /** OAuth access token. */
3550
3758
  access_token?: string;
3551
3759
  /** Data format for response. */
3552
- alt?: string;
3760
+ alt?: 'json' | 'media' | 'proto';
3553
3761
  /** JSONP */
3554
3762
  callback?: string;
3555
3763
  /** Selector specifying which fields to include in a partial response. */
@@ -3574,11 +3782,11 @@ declare namespace gapi.client {
3574
3782
  reset(
3575
3783
  request: {
3576
3784
  /** V1 error format. */
3577
- '$.xgafv'?: string;
3785
+ '$.xgafv'?: '1' | '2';
3578
3786
  /** OAuth access token. */
3579
3787
  access_token?: string;
3580
3788
  /** Data format for response. */
3581
- alt?: string;
3789
+ alt?: 'json' | 'media' | 'proto';
3582
3790
  /** JSONP */
3583
3791
  callback?: string;
3584
3792
  /** Selector specifying which fields to include in a partial response. */
@@ -3603,11 +3811,11 @@ declare namespace gapi.client {
3603
3811
  /** Updates a search application. **Note:** This API requires an admin account to execute. */
3604
3812
  update(request: {
3605
3813
  /** V1 error format. */
3606
- '$.xgafv'?: string;
3814
+ '$.xgafv'?: '1' | '2';
3607
3815
  /** OAuth access token. */
3608
3816
  access_token?: string;
3609
3817
  /** Data format for response. */
3610
- alt?: string;
3818
+ alt?: 'json' | 'media' | 'proto';
3611
3819
  /** JSONP */
3612
3820
  callback?: string;
3613
3821
  /** Selector specifying which fields to include in a partial response. */
@@ -3634,11 +3842,11 @@ declare namespace gapi.client {
3634
3842
  update(
3635
3843
  request: {
3636
3844
  /** V1 error format. */
3637
- '$.xgafv'?: string;
3845
+ '$.xgafv'?: '1' | '2';
3638
3846
  /** OAuth access token. */
3639
3847
  access_token?: string;
3640
3848
  /** Data format for response. */
3641
- alt?: string;
3849
+ alt?: 'json' | 'media' | 'proto';
3642
3850
  /** JSONP */
3643
3851
  callback?: string;
3644
3852
  /** Selector specifying which fields to include in a partial response. */
@@ -3667,11 +3875,11 @@ declare namespace gapi.client {
3667
3875
  /** Get customer settings. **Note:** This API requires an admin account to execute. */
3668
3876
  getCustomer(request?: {
3669
3877
  /** V1 error format. */
3670
- '$.xgafv'?: string;
3878
+ '$.xgafv'?: '1' | '2';
3671
3879
  /** OAuth access token. */
3672
3880
  access_token?: string;
3673
3881
  /** Data format for response. */
3674
- alt?: string;
3882
+ alt?: 'json' | 'media' | 'proto';
3675
3883
  /** JSONP */
3676
3884
  callback?: string;
3677
3885
  /** Selector specifying which fields to include in a partial response. */
@@ -3692,11 +3900,11 @@ declare namespace gapi.client {
3692
3900
  /** Update customer settings. **Note:** This API requires an admin account to execute. */
3693
3901
  updateCustomer(request: {
3694
3902
  /** V1 error format. */
3695
- '$.xgafv'?: string;
3903
+ '$.xgafv'?: '1' | '2';
3696
3904
  /** OAuth access token. */
3697
3905
  access_token?: string;
3698
3906
  /** Data format for response. */
3699
- alt?: string;
3907
+ alt?: 'json' | 'media' | 'proto';
3700
3908
  /** JSONP */
3701
3909
  callback?: string;
3702
3910
  /** Selector specifying which fields to include in a partial response. */
@@ -3721,11 +3929,11 @@ declare namespace gapi.client {
3721
3929
  updateCustomer(
3722
3930
  request: {
3723
3931
  /** V1 error format. */
3724
- '$.xgafv'?: string;
3932
+ '$.xgafv'?: '1' | '2';
3725
3933
  /** OAuth access token. */
3726
3934
  access_token?: string;
3727
3935
  /** Data format for response. */
3728
- alt?: string;
3936
+ alt?: 'json' | 'media' | 'proto';
3729
3937
  /** JSONP */
3730
3938
  callback?: string;
3731
3939
  /** Selector specifying which fields to include in a partial response. */
@@ -3754,11 +3962,11 @@ declare namespace gapi.client {
3754
3962
  /** Gets indexed item statistics for a single data source. **Note:** This API requires a standard end user account to execute. */
3755
3963
  get(request?: {
3756
3964
  /** V1 error format. */
3757
- '$.xgafv'?: string;
3965
+ '$.xgafv'?: '1' | '2';
3758
3966
  /** OAuth access token. */
3759
3967
  access_token?: string;
3760
3968
  /** Data format for response. */
3761
- alt?: string;
3969
+ alt?: 'json' | 'media' | 'proto';
3762
3970
  /** JSONP */
3763
3971
  callback?: string;
3764
3972
  /** Selector specifying which fields to include in a partial response. */
@@ -3798,11 +4006,11 @@ declare namespace gapi.client {
3798
4006
  /** Get the query statistics for search application. **Note:** This API requires a standard end user account to execute. */
3799
4007
  get(request?: {
3800
4008
  /** V1 error format. */
3801
- '$.xgafv'?: string;
4009
+ '$.xgafv'?: '1' | '2';
3802
4010
  /** OAuth access token. */
3803
4011
  access_token?: string;
3804
4012
  /** Data format for response. */
3805
- alt?: string;
4013
+ alt?: 'json' | 'media' | 'proto';
3806
4014
  /** JSONP */
3807
4015
  callback?: string;
3808
4016
  /** Selector specifying which fields to include in a partial response. */
@@ -3842,11 +4050,11 @@ declare namespace gapi.client {
3842
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. */
3843
4051
  get(request?: {
3844
4052
  /** V1 error format. */
3845
- '$.xgafv'?: string;
4053
+ '$.xgafv'?: '1' | '2';
3846
4054
  /** OAuth access token. */
3847
4055
  access_token?: string;
3848
4056
  /** Data format for response. */
3849
- alt?: string;
4057
+ alt?: 'json' | 'media' | 'proto';
3850
4058
  /** JSONP */
3851
4059
  callback?: string;
3852
4060
  /** Selector specifying which fields to include in a partial response. */
@@ -3886,11 +4094,11 @@ declare namespace gapi.client {
3886
4094
  /** Get the users statistics for search application. **Note:** This API requires a standard end user account to execute. */
3887
4095
  get(request?: {
3888
4096
  /** V1 error format. */
3889
- '$.xgafv'?: string;
4097
+ '$.xgafv'?: '1' | '2';
3890
4098
  /** OAuth access token. */
3891
4099
  access_token?: string;
3892
4100
  /** Data format for response. */
3893
- alt?: string;
4101
+ alt?: 'json' | 'media' | 'proto';
3894
4102
  /** JSONP */
3895
4103
  callback?: string;
3896
4104
  /** Selector specifying which fields to include in a partial response. */
@@ -3930,11 +4138,11 @@ declare namespace gapi.client {
3930
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. */
3931
4139
  getIndex(request?: {
3932
4140
  /** V1 error format. */
3933
- '$.xgafv'?: string;
4141
+ '$.xgafv'?: '1' | '2';
3934
4142
  /** OAuth access token. */
3935
4143
  access_token?: string;
3936
4144
  /** Data format for response. */
3937
- alt?: string;
4145
+ alt?: 'json' | 'media' | 'proto';
3938
4146
  /** JSONP */
3939
4147
  callback?: string;
3940
4148
  /** Selector specifying which fields to include in a partial response. */
@@ -3967,11 +4175,11 @@ declare namespace gapi.client {
3967
4175
  /** Get the query statistics for customer. **Note:** This API requires a standard end user account to execute. */
3968
4176
  getQuery(request?: {
3969
4177
  /** V1 error format. */
3970
- '$.xgafv'?: string;
4178
+ '$.xgafv'?: '1' | '2';
3971
4179
  /** OAuth access token. */
3972
4180
  access_token?: string;
3973
4181
  /** Data format for response. */
3974
- alt?: string;
4182
+ alt?: 'json' | 'media' | 'proto';
3975
4183
  /** JSONP */
3976
4184
  callback?: string;
3977
4185
  /** Selector specifying which fields to include in a partial response. */
@@ -4004,11 +4212,11 @@ declare namespace gapi.client {
4004
4212
  /** Get search application stats for customer. **Note:** This API requires a standard end user account to execute. */
4005
4213
  getSearchapplication(request?: {
4006
4214
  /** V1 error format. */
4007
- '$.xgafv'?: string;
4215
+ '$.xgafv'?: '1' | '2';
4008
4216
  /** OAuth access token. */
4009
4217
  access_token?: string;
4010
4218
  /** Data format for response. */
4011
- alt?: string;
4219
+ alt?: 'json' | 'media' | 'proto';
4012
4220
  /** JSONP */
4013
4221
  callback?: string;
4014
4222
  /** Day of month. Must be from 1 to 31 and valid for the year and month. */
@@ -4041,11 +4249,11 @@ declare namespace gapi.client {
4041
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. */
4042
4250
  getSession(request?: {
4043
4251
  /** V1 error format. */
4044
- '$.xgafv'?: string;
4252
+ '$.xgafv'?: '1' | '2';
4045
4253
  /** OAuth access token. */
4046
4254
  access_token?: string;
4047
4255
  /** Data format for response. */
4048
- alt?: string;
4256
+ alt?: 'json' | 'media' | 'proto';
4049
4257
  /** JSONP */
4050
4258
  callback?: string;
4051
4259
  /** Selector specifying which fields to include in a partial response. */
@@ -4078,11 +4286,11 @@ declare namespace gapi.client {
4078
4286
  /** Get the users statistics for customer. **Note:** This API requires a standard end user account to execute. */
4079
4287
  getUser(request?: {
4080
4288
  /** V1 error format. */
4081
- '$.xgafv'?: string;
4289
+ '$.xgafv'?: '1' | '2';
4082
4290
  /** OAuth access token. */
4083
4291
  access_token?: string;
4084
4292
  /** Data format for response. */
4085
- alt?: string;
4293
+ alt?: 'json' | 'media' | 'proto';
4086
4294
  /** JSONP */
4087
4295
  callback?: string;
4088
4296
  /** Selector specifying which fields to include in a partial response. */
@@ -4121,11 +4329,11 @@ declare namespace gapi.client {
4121
4329
  /** Enables `third party` support in Google Cloud Search. **Note:** This API requires an admin account to execute. */
4122
4330
  initializeCustomer(request: {
4123
4331
  /** V1 error format. */
4124
- '$.xgafv'?: string;
4332
+ '$.xgafv'?: '1' | '2';
4125
4333
  /** OAuth access token. */
4126
4334
  access_token?: string;
4127
4335
  /** Data format for response. */
4128
- alt?: string;
4336
+ alt?: 'json' | 'media' | 'proto';
4129
4337
  /** JSONP */
4130
4338
  callback?: string;
4131
4339
  /** Selector specifying which fields to include in a partial response. */
@@ -4148,11 +4356,11 @@ declare namespace gapi.client {
4148
4356
  initializeCustomer(
4149
4357
  request: {
4150
4358
  /** V1 error format. */
4151
- '$.xgafv'?: string;
4359
+ '$.xgafv'?: '1' | '2';
4152
4360
  /** OAuth access token. */
4153
4361
  access_token?: string;
4154
4362
  /** Data format for response. */
4155
- alt?: string;
4363
+ alt?: 'json' | 'media' | 'proto';
4156
4364
  /** JSONP */
4157
4365
  callback?: string;
4158
4366
  /** Selector specifying which fields to include in a partial response. */