@maxim_mazurok/gapi.client.cloudsearch-v1 0.0.20220927 → 0.0.20221018
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 +227 -30
- package/package.json +1 -1
- package/tests.ts +1 -1
package/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
10
10
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
11
11
|
// Generated from: https://cloudsearch.googleapis.com/$discovery/rest?version=v1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20221018
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -70,6 +70,9 @@ declare namespace gapi.client {
|
|
|
70
70
|
key?: string;
|
|
71
71
|
value?: string;
|
|
72
72
|
}
|
|
73
|
+
interface AddonComposeUiActionMarkup {
|
|
74
|
+
type?: string;
|
|
75
|
+
}
|
|
73
76
|
interface AffectedMembership {
|
|
74
77
|
affectedMember?: MemberId;
|
|
75
78
|
priorMembershipRole?: string;
|
|
@@ -711,6 +714,8 @@ declare namespace gapi.client {
|
|
|
711
714
|
interface AppsDynamiteSharedOnClick {
|
|
712
715
|
/** If specified, an action is triggered by this onClick. */
|
|
713
716
|
action?: AppsDynamiteSharedAction;
|
|
717
|
+
/** Triggers host app action on click directly without invoking form actions. This is currently not available to end-users and is used internal only. */
|
|
718
|
+
hostAppAction?: HostAppActionMarkup;
|
|
714
719
|
/**
|
|
715
720
|
* An add-on triggers this action when the action needs to open a link. This differs from the open_link above in that this needs to talk to server to get the link. Thus some
|
|
716
721
|
* preparation work is required for web client to do before the open link action response comes back.
|
|
@@ -1048,6 +1053,74 @@ declare namespace gapi.client {
|
|
|
1048
1053
|
/** The text value of the field. */
|
|
1049
1054
|
value?: string;
|
|
1050
1055
|
}
|
|
1056
|
+
interface AppsExtensionsMarkupCalendarClientActionMarkupAddAttachmentsActionMarkup {
|
|
1057
|
+
addonAttachments?: AppsExtensionsMarkupCalendarClientActionMarkupAddAttachmentsActionMarkupAddonAttachment[];
|
|
1058
|
+
}
|
|
1059
|
+
interface AppsExtensionsMarkupCalendarClientActionMarkupAddAttachmentsActionMarkupAddonAttachment {
|
|
1060
|
+
/** Link to the resource's icon. */
|
|
1061
|
+
iconUrl?: string;
|
|
1062
|
+
/** MIME type of the content in resource_url. */
|
|
1063
|
+
mimeType?: string;
|
|
1064
|
+
resourceUrl?: string;
|
|
1065
|
+
/** Title of the attachment. */
|
|
1066
|
+
title?: string;
|
|
1067
|
+
}
|
|
1068
|
+
interface AppsExtensionsMarkupCalendarClientActionMarkupConferenceDataMarkup {
|
|
1069
|
+
/** Unique identifier for this conference data. Maximum 512 characters long. */
|
|
1070
|
+
conferenceId?: string;
|
|
1071
|
+
/** An identifier of the conferencing solution. Must match a value from the deployment's `calendar.conferenceSolution.id` field. */
|
|
1072
|
+
conferenceSolutionId?: string;
|
|
1073
|
+
/** Entry points to the conference. Maximum 300 entry points are allowed. */
|
|
1074
|
+
entryPoints?: AppsExtensionsMarkupCalendarClientActionMarkupConferenceDataMarkupEntryPointMarkup[];
|
|
1075
|
+
/** If set, it means an error occurred during conference creation. */
|
|
1076
|
+
error?: AppsExtensionsMarkupCalendarClientActionMarkupConferenceDataMarkupError;
|
|
1077
|
+
/** Additional notes (such as instructions from the administrator, legal notices) to display to the user. Can contain HTML. Max length 2048 characters. */
|
|
1078
|
+
note?: string;
|
|
1079
|
+
/** Additional add-on parameters. Maximum 300 parameters are allowed. */
|
|
1080
|
+
parameters?: AppsExtensionsMarkupCalendarClientActionMarkupConferenceDataMarkupParameter[];
|
|
1081
|
+
}
|
|
1082
|
+
interface AppsExtensionsMarkupCalendarClientActionMarkupConferenceDataMarkupEntryPointMarkup {
|
|
1083
|
+
/** An access code for accessing the conference. Maximum 128 characters long. */
|
|
1084
|
+
accessCode?: string;
|
|
1085
|
+
/** Features of the entry point, such as being toll or toll-free. One entry point can have multiple features. */
|
|
1086
|
+
features?: string[];
|
|
1087
|
+
/** The label of the entry point to display to the user. Maximum 512 characters long. */
|
|
1088
|
+
label?: string;
|
|
1089
|
+
/** A meeting code for accessing the conference. Maximum 128 characters long. */
|
|
1090
|
+
meetingCode?: string;
|
|
1091
|
+
/** A passcode for accessing the conference. Maximum 128 characters long. */
|
|
1092
|
+
passcode?: string;
|
|
1093
|
+
/** A password for accessing the conference. Maximum 128 characters long. */
|
|
1094
|
+
password?: string;
|
|
1095
|
+
/** A PIN for accessing the conference. Maximum 128 characters long. */
|
|
1096
|
+
pin?: string;
|
|
1097
|
+
/** The CLDR/ISO 3166 region code for the country associated with this entry point. Applicable only to `Type.PHONE`. */
|
|
1098
|
+
regionCode?: string;
|
|
1099
|
+
/** The type of the entry point. Required. */
|
|
1100
|
+
type?: string;
|
|
1101
|
+
/** A URI for joining the conference. Supports tel: and http(s): and should be at most 1300 characters long. Required. */
|
|
1102
|
+
uri?: string;
|
|
1103
|
+
}
|
|
1104
|
+
interface AppsExtensionsMarkupCalendarClientActionMarkupConferenceDataMarkupError {
|
|
1105
|
+
/** If the error type is `AUTHENTICATION`, the add-on can provide a URL allowing users to log in. Maximum 1300 characters long. */
|
|
1106
|
+
authenticationUrl?: string;
|
|
1107
|
+
/** The type of error. Required. */
|
|
1108
|
+
type?: string;
|
|
1109
|
+
}
|
|
1110
|
+
interface AppsExtensionsMarkupCalendarClientActionMarkupConferenceDataMarkupParameter {
|
|
1111
|
+
/** The key of the parameter. Maximum 50 characters long. Required. */
|
|
1112
|
+
key?: string;
|
|
1113
|
+
/** The value of the parameter. Maximum 1024 characters long. Required. */
|
|
1114
|
+
value?: string;
|
|
1115
|
+
}
|
|
1116
|
+
interface AppsExtensionsMarkupCalendarClientActionMarkupEditAttendeesActionMarkup {
|
|
1117
|
+
/** A list of attendees to add to the Google Calendar event. */
|
|
1118
|
+
addAttendeeEmails?: string[];
|
|
1119
|
+
}
|
|
1120
|
+
interface AppsExtensionsMarkupCalendarClientActionMarkupEditConferenceDataActionMarkup {
|
|
1121
|
+
/** The conference data to add to the Google Calendar event. */
|
|
1122
|
+
conferenceData?: AppsExtensionsMarkupCalendarClientActionMarkupConferenceDataMarkup;
|
|
1123
|
+
}
|
|
1051
1124
|
interface Attachment {
|
|
1052
1125
|
/** Revised version of Gmail AddOn attachment approved by API design review. */
|
|
1053
1126
|
addOnData?: GoogleChatV1ContextualAddOnMarkup;
|
|
@@ -1192,6 +1265,14 @@ declare namespace gapi.client {
|
|
|
1192
1265
|
imageButton?: ImageButton;
|
|
1193
1266
|
textButton?: TextButton;
|
|
1194
1267
|
}
|
|
1268
|
+
interface CalendarClientActionMarkup {
|
|
1269
|
+
/** An action that adds attachments to the Google Calendar event. */
|
|
1270
|
+
addAttachmentsActionMarkup?: AppsExtensionsMarkupCalendarClientActionMarkupAddAttachmentsActionMarkup;
|
|
1271
|
+
/** An action that adds attendees to the Google Calendar event. */
|
|
1272
|
+
editAttendeesActionMarkup?: AppsExtensionsMarkupCalendarClientActionMarkupEditAttendeesActionMarkup;
|
|
1273
|
+
/** An action that adds conference data to the Google Calendar event. */
|
|
1274
|
+
editConferenceDataActionMarkup?: AppsExtensionsMarkupCalendarClientActionMarkupEditConferenceDataActionMarkup;
|
|
1275
|
+
}
|
|
1195
1276
|
interface CallInfo {
|
|
1196
1277
|
/** Abuse reporting configuration for the ongoing conference. */
|
|
1197
1278
|
abuseReportingConfig?: AbuseReportingConfig;
|
|
@@ -1275,6 +1356,10 @@ declare namespace gapi.client {
|
|
|
1275
1356
|
interface CallSettings {
|
|
1276
1357
|
/** Indicates whether the access lock is currently on or off. */
|
|
1277
1358
|
accessLock?: boolean;
|
|
1359
|
+
/** The current access type of the conference. */
|
|
1360
|
+
accessType?: string;
|
|
1361
|
+
/** Whether users can join this conference before a host (Host or Cohost). */
|
|
1362
|
+
allowJoiningBeforeHost?: boolean;
|
|
1278
1363
|
/** Indicates whether the attendance report is currently enabled or disabled. */
|
|
1279
1364
|
attendanceReportEnabled?: boolean;
|
|
1280
1365
|
/** Indicates whether the audio lock is currently on or off. */
|
|
@@ -1283,7 +1368,7 @@ declare namespace gapi.client {
|
|
|
1283
1368
|
chatLock?: boolean;
|
|
1284
1369
|
/** Whether Client-side Encryption is enabled for this conference. */
|
|
1285
1370
|
cseEnabled?: boolean;
|
|
1286
|
-
/** Indicates whether
|
|
1371
|
+
/** Indicates whether moderation is currently on or off. */
|
|
1287
1372
|
moderationEnabled?: boolean;
|
|
1288
1373
|
/** Indicates whether the present lock is currently on or off. */
|
|
1289
1374
|
presentLock?: boolean;
|
|
@@ -1332,6 +1417,9 @@ declare namespace gapi.client {
|
|
|
1332
1417
|
*/
|
|
1333
1418
|
title?: string;
|
|
1334
1419
|
}
|
|
1420
|
+
// tslint:disable-next-line:no-empty-interface
|
|
1421
|
+
interface ChatClientActionMarkup {
|
|
1422
|
+
}
|
|
1335
1423
|
interface ChatConfig {
|
|
1336
1424
|
/** The Type of chat this Conference is currently using. */
|
|
1337
1425
|
chatType?: string;
|
|
@@ -1582,6 +1670,12 @@ declare namespace gapi.client {
|
|
|
1582
1670
|
/** The count of unique active users in the past thirty days */
|
|
1583
1671
|
thirtyDaysActiveUsersCount?: string;
|
|
1584
1672
|
}
|
|
1673
|
+
interface CustomFunctionReturnValueMarkup {
|
|
1674
|
+
/** The error message to show to the user if something went wrong. */
|
|
1675
|
+
errorMessage?: string;
|
|
1676
|
+
/** The value that resulted from running the custom function. */
|
|
1677
|
+
value?: any;
|
|
1678
|
+
}
|
|
1585
1679
|
interface DataLossPreventionMetadata {
|
|
1586
1680
|
/** The DLP scan summary that should only be set after the message is scanned in the Chat backend. */
|
|
1587
1681
|
dlpScanSummary?: DlpScanSummary;
|
|
@@ -1783,6 +1877,9 @@ declare namespace gapi.client {
|
|
|
1783
1877
|
interface DoubleValues {
|
|
1784
1878
|
values?: number[];
|
|
1785
1879
|
}
|
|
1880
|
+
interface DriveClientActionMarkup {
|
|
1881
|
+
requestFileScope?: RequestFileScope;
|
|
1882
|
+
}
|
|
1786
1883
|
interface DriveFollowUpRestrict {
|
|
1787
1884
|
type?: string;
|
|
1788
1885
|
}
|
|
@@ -1880,6 +1977,9 @@ declare namespace gapi.client {
|
|
|
1880
1977
|
// tslint:disable-next-line:no-empty-interface
|
|
1881
1978
|
interface EditMetadata {
|
|
1882
1979
|
}
|
|
1980
|
+
interface EditorClientActionMarkup {
|
|
1981
|
+
requestFileScopeForActiveDocument?: any;
|
|
1982
|
+
}
|
|
1883
1983
|
interface EmailAddress {
|
|
1884
1984
|
/** If the value of type is custom, this property contains the custom type string. */
|
|
1885
1985
|
customType?: string;
|
|
@@ -2150,6 +2250,12 @@ declare namespace gapi.client {
|
|
|
2150
2250
|
interface GetSearchApplicationUserStatsResponse {
|
|
2151
2251
|
stats?: SearchApplicationUserStats[];
|
|
2152
2252
|
}
|
|
2253
|
+
interface GmailClientActionMarkup {
|
|
2254
|
+
addonComposeUiActionMarkup?: AddonComposeUiActionMarkup;
|
|
2255
|
+
openCreatedDraftActionMarkup?: OpenCreatedDraftActionMarkup;
|
|
2256
|
+
taskAction?: TaskActionMarkup;
|
|
2257
|
+
updateDraftActionMarkup?: UpdateDraftActionMarkup;
|
|
2258
|
+
}
|
|
2153
2259
|
interface GoogleChatConfig {
|
|
2154
2260
|
/** ID of the Chat group. */
|
|
2155
2261
|
chatGroupId?: string;
|
|
@@ -2402,6 +2508,20 @@ declare namespace gapi.client {
|
|
|
2402
2508
|
interface HashtagData {
|
|
2403
2509
|
searchText?: string;
|
|
2404
2510
|
}
|
|
2511
|
+
interface HostAppActionMarkup {
|
|
2512
|
+
/** Actions handled by Calendar. */
|
|
2513
|
+
calendarAction?: CalendarClientActionMarkup;
|
|
2514
|
+
/** Actions handled by Chat. */
|
|
2515
|
+
chatAction?: any;
|
|
2516
|
+
/** Actions handled by Drive. */
|
|
2517
|
+
driveAction?: DriveClientActionMarkup;
|
|
2518
|
+
/** Actions handled by Docs, Sheets, or Slides. */
|
|
2519
|
+
editorAction?: EditorClientActionMarkup;
|
|
2520
|
+
/** Actions handled by Gmail. */
|
|
2521
|
+
gmailAction?: GmailClientActionMarkup;
|
|
2522
|
+
/** Actions handled by Sheets. */
|
|
2523
|
+
sheetsAction?: SheetsClientActionMarkup;
|
|
2524
|
+
}
|
|
2405
2525
|
interface HostProto {
|
|
2406
2526
|
/** Lower-case, fully qualified hostname. */
|
|
2407
2527
|
hostName?: string;
|
|
@@ -2522,6 +2642,13 @@ declare namespace gapi.client {
|
|
|
2522
2642
|
// tslint:disable-next-line:no-empty-interface
|
|
2523
2643
|
interface InitializeCustomerRequest {
|
|
2524
2644
|
}
|
|
2645
|
+
interface InsertContent {
|
|
2646
|
+
/** The content to be inserted. */
|
|
2647
|
+
content?: string;
|
|
2648
|
+
/** The type of inserted content. */
|
|
2649
|
+
contentType?: string;
|
|
2650
|
+
mimeType?: string;
|
|
2651
|
+
}
|
|
2525
2652
|
interface IntegerOperatorOptions {
|
|
2526
2653
|
/**
|
|
2527
2654
|
* Indicates the operator name required in the query in order to isolate the integer property using the greater-than operator. For example, if greaterThanOperatorName is
|
|
@@ -2921,6 +3048,8 @@ declare namespace gapi.client {
|
|
|
2921
3048
|
initiator?: UserId;
|
|
2922
3049
|
/** Complete member profiles, when ListTopicsRequest FetchOptions.USER is set. Otherwise, only the id will be filled in. */
|
|
2923
3050
|
initiatorProfile?: User;
|
|
3051
|
+
/** The type of the user who initiated this membership change. */
|
|
3052
|
+
initiatorType?: string;
|
|
2924
3053
|
type?: string;
|
|
2925
3054
|
}
|
|
2926
3055
|
interface MembershipChangeEvent {
|
|
@@ -3187,6 +3316,19 @@ declare namespace gapi.client {
|
|
|
3187
3316
|
*/
|
|
3188
3317
|
openLinkAction?: FormAction;
|
|
3189
3318
|
}
|
|
3319
|
+
interface OpenCreatedDraftActionMarkup {
|
|
3320
|
+
/** The ID of the newly created draft in the form "r123". */
|
|
3321
|
+
draftId?: string;
|
|
3322
|
+
/** The server storage ID in hex format, for example,"15e9fa622ce1029d". */
|
|
3323
|
+
draftStorageId?: string;
|
|
3324
|
+
/** The ID of the thread containing the newly created draft, for example, "15e9fa622ce1029d". */
|
|
3325
|
+
draftThreadId?: string;
|
|
3326
|
+
/**
|
|
3327
|
+
* The server permanent ID for the draft's thread. This field isn't set anywhere, and it's ignored when processing OpenCreatedDraftActionMarkup. Supply and use draftThreadStorageId
|
|
3328
|
+
* instead.
|
|
3329
|
+
*/
|
|
3330
|
+
draftThreadServerPermId?: string;
|
|
3331
|
+
}
|
|
3190
3332
|
interface OpenLink {
|
|
3191
3333
|
/** Next available ID: 5 */
|
|
3192
3334
|
loadIndicator?: string;
|
|
@@ -3664,6 +3806,9 @@ declare namespace gapi.client {
|
|
|
3664
3806
|
/** The new read receipts state. */
|
|
3665
3807
|
readReceiptsEnabled?: boolean;
|
|
3666
3808
|
}
|
|
3809
|
+
interface Recipient {
|
|
3810
|
+
email?: string;
|
|
3811
|
+
}
|
|
3667
3812
|
interface RecordingEvent {
|
|
3668
3813
|
/** The initiator of the latest event of the recording. It will be set for all user events (`type` is 100-199) and unset for all server events (`type` is 200-299). */
|
|
3669
3814
|
deviceId?: string;
|
|
@@ -3710,6 +3855,12 @@ declare namespace gapi.client {
|
|
|
3710
3855
|
/** The type of error. */
|
|
3711
3856
|
type?: string;
|
|
3712
3857
|
}
|
|
3858
|
+
interface RequestFileScope {
|
|
3859
|
+
itemId?: string;
|
|
3860
|
+
}
|
|
3861
|
+
// tslint:disable-next-line:no-empty-interface
|
|
3862
|
+
interface RequestFileScopeForActiveDocument {
|
|
3863
|
+
}
|
|
3713
3864
|
interface RequestOptions {
|
|
3714
3865
|
/** Debug options of the request */
|
|
3715
3866
|
debugOptions?: DebugOptions;
|
|
@@ -3743,8 +3894,6 @@ declare namespace gapi.client {
|
|
|
3743
3894
|
roleId?: number;
|
|
3744
3895
|
}
|
|
3745
3896
|
interface ResponseDebugInfo {
|
|
3746
|
-
/** Experiments enabled in QAPI. */
|
|
3747
|
-
enabledExperiments?: number[];
|
|
3748
3897
|
/** General debug info formatted for display. */
|
|
3749
3898
|
formattedDebugInfo?: string;
|
|
3750
3899
|
}
|
|
@@ -3807,6 +3956,8 @@ declare namespace gapi.client {
|
|
|
3807
3956
|
interface Roster {
|
|
3808
3957
|
avatarUrl?: string;
|
|
3809
3958
|
id?: RosterId;
|
|
3959
|
+
/** Whether caller has visibility into members of the roster. */
|
|
3960
|
+
isMembershipVisibleToCaller?: boolean;
|
|
3810
3961
|
membershipCount?: number;
|
|
3811
3962
|
name?: string;
|
|
3812
3963
|
/** Roster gaia key, usually an email address. Set in looking up rosters response. */
|
|
@@ -4041,11 +4192,15 @@ declare namespace gapi.client {
|
|
|
4041
4192
|
sessionStopReason?: string;
|
|
4042
4193
|
}
|
|
4043
4194
|
interface Settings {
|
|
4044
|
-
/** The access lock of the meeting space that lets
|
|
4195
|
+
/** The access lock of the meeting space that lets hosts control who can join the meeting. */
|
|
4045
4196
|
accessLock?: boolean;
|
|
4197
|
+
/** The access type of the meeting space. */
|
|
4198
|
+
accessType?: string;
|
|
4199
|
+
/** Whether users can join before host in the conferences of this meeting space. */
|
|
4200
|
+
allowJoiningBeforeHost?: boolean;
|
|
4046
4201
|
/** Whether attendance report is enabled for the meeting space. */
|
|
4047
4202
|
attendanceReportEnabled?: boolean;
|
|
4048
|
-
/** The chat lock of the meeting space that lets owner control whether the participants can send chat messages.
|
|
4203
|
+
/** The chat lock of the meeting space that lets owner control whether the participants can send chat messages. */
|
|
4049
4204
|
chatLock?: boolean;
|
|
4050
4205
|
/** Whether meeting artifacts will be shared with cohosts. */
|
|
4051
4206
|
cohostArtifactSharingEnabled?: boolean;
|
|
@@ -4055,9 +4210,9 @@ declare namespace gapi.client {
|
|
|
4055
4210
|
defaultAsViewer?: boolean;
|
|
4056
4211
|
/** Indicates whether the meeting space is moderated. */
|
|
4057
4212
|
moderationEnabled?: boolean;
|
|
4058
|
-
/** The present lock of the meeting space that lets owner control whether the participants can present their screen.
|
|
4213
|
+
/** The present lock of the meeting space that lets owner control whether the participants can present their screen. */
|
|
4059
4214
|
presentLock?: boolean;
|
|
4060
|
-
/** The reactions lock of the meeting space that lets owner control whether the participants can send reactions.
|
|
4215
|
+
/** The reactions lock of the meeting space that lets owner control whether the participants can send reactions. */
|
|
4061
4216
|
reactionsLock?: boolean;
|
|
4062
4217
|
}
|
|
4063
4218
|
interface ShareScope {
|
|
@@ -4066,6 +4221,9 @@ declare namespace gapi.client {
|
|
|
4066
4221
|
/** The scope to which the content was shared. */
|
|
4067
4222
|
scope?: string;
|
|
4068
4223
|
}
|
|
4224
|
+
interface SheetsClientActionMarkup {
|
|
4225
|
+
customFunctionReturnValueMarkup?: CustomFunctionReturnValueMarkup;
|
|
4226
|
+
}
|
|
4069
4227
|
interface SigningKeyPossessorProto {
|
|
4070
4228
|
/** This value must be from the KeyMetadata.Type enum in keymaster.proto. */
|
|
4071
4229
|
keymasterKeyType?: number;
|
|
@@ -4291,6 +4449,9 @@ declare namespace gapi.client {
|
|
|
4291
4449
|
/** The value is what is passed back in apps script callback. */
|
|
4292
4450
|
value?: string;
|
|
4293
4451
|
}
|
|
4452
|
+
interface TaskActionMarkup {
|
|
4453
|
+
reloadTasks?: boolean;
|
|
4454
|
+
}
|
|
4294
4455
|
interface TextButton {
|
|
4295
4456
|
/** The alternative text used for accessibility Next field number: 7. */
|
|
4296
4457
|
altText?: string;
|
|
@@ -4449,17 +4610,40 @@ declare namespace gapi.client {
|
|
|
4449
4610
|
/** The name of a queue to unreserve items from. */
|
|
4450
4611
|
queue?: string;
|
|
4451
4612
|
}
|
|
4613
|
+
interface UpdateBccRecipients {
|
|
4614
|
+
bccRecipients?: Recipient[];
|
|
4615
|
+
}
|
|
4616
|
+
interface UpdateBody {
|
|
4617
|
+
/** A repeated field that contains a series of content to insert into the draft that the user is currently editing. The content can contain HTML content or plain text content. */
|
|
4618
|
+
insertContents?: InsertContent[];
|
|
4619
|
+
type?: string;
|
|
4620
|
+
}
|
|
4621
|
+
interface UpdateCcRecipients {
|
|
4622
|
+
ccRecipients?: Recipient[];
|
|
4623
|
+
}
|
|
4452
4624
|
interface UpdateDataSourceRequest {
|
|
4453
4625
|
/** Common debug options. */
|
|
4454
4626
|
debugOptions?: DebugOptions;
|
|
4455
4627
|
source?: DataSource;
|
|
4456
4628
|
/**
|
|
4457
|
-
*
|
|
4458
|
-
*
|
|
4459
|
-
*
|
|
4629
|
+
* Only applies to [`settings.datasources.patch`](https://developers.google.com/cloud-search/docs/reference/rest/v1/settings.datasources/patch). Update mask to control which fields to
|
|
4630
|
+
* update. Example field paths: `name`, `displayName`. * If `update_mask` is non-empty, then only the fields specified in the `update_mask` are updated. * If you specify a field in the
|
|
4631
|
+
* `update_mask`, but don't specify its value in the source, that field is cleared. * If the `update_mask` is not present or empty or has the value `*`, then all fields are updated.
|
|
4460
4632
|
*/
|
|
4461
4633
|
updateMask?: string;
|
|
4462
4634
|
}
|
|
4635
|
+
interface UpdateDraftActionMarkup {
|
|
4636
|
+
/** If set, replaces the existing Bcc recipients of the draft the user is currently editing. */
|
|
4637
|
+
updateBccRecipients?: UpdateBccRecipients;
|
|
4638
|
+
/** A field that contains a series of update actions to perform on the draft body that the user is currently editing. */
|
|
4639
|
+
updateBody?: UpdateBody;
|
|
4640
|
+
/** If set, replaces the existing Cc recipients of the draft the user is currently editing. */
|
|
4641
|
+
updateCcRecipients?: UpdateCcRecipients;
|
|
4642
|
+
/** If set, replaces the existing subject of the draft the user is currently editing. */
|
|
4643
|
+
updateSubject?: UpdateSubject;
|
|
4644
|
+
/** If set, replaces the existing To recipients of the draft the user is currently editing. */
|
|
4645
|
+
updateToRecipients?: UpdateToRecipients;
|
|
4646
|
+
}
|
|
4463
4647
|
interface UpdateSchemaRequest {
|
|
4464
4648
|
/** Common debug options. */
|
|
4465
4649
|
debugOptions?: DebugOptions;
|
|
@@ -4468,6 +4652,12 @@ declare namespace gapi.client {
|
|
|
4468
4652
|
/** If true, the schema will be checked for validity, but will not be registered with the data source, even if valid. */
|
|
4469
4653
|
validateOnly?: boolean;
|
|
4470
4654
|
}
|
|
4655
|
+
interface UpdateSubject {
|
|
4656
|
+
subject?: string;
|
|
4657
|
+
}
|
|
4658
|
+
interface UpdateToRecipients {
|
|
4659
|
+
toRecipients?: Recipient[];
|
|
4660
|
+
}
|
|
4471
4661
|
interface UploadItemRef {
|
|
4472
4662
|
/** The name of the content reference. The maximum length is 2048 characters. */
|
|
4473
4663
|
name?: string;
|
|
@@ -4521,6 +4711,8 @@ declare namespace gapi.client {
|
|
|
4521
4711
|
intImageHeight?: number;
|
|
4522
4712
|
/** Dimensions of the image: width. */
|
|
4523
4713
|
intImageWidth?: number;
|
|
4714
|
+
/** NEXT TAG : 18 */
|
|
4715
|
+
linkType?: string;
|
|
4524
4716
|
/**
|
|
4525
4717
|
* Mime type of the content (Currently mapped from Page Render Service ItemType) Note that this is not necessarily the mime type of the http resource. For example a text/html from
|
|
4526
4718
|
* youtube or vimeo may actually be classified as a video type. Then we shall mark it as video/* since we don't know exactly what type of video it is.
|
|
@@ -4536,7 +4728,6 @@ declare namespace gapi.client {
|
|
|
4536
4728
|
title?: string;
|
|
4537
4729
|
/** The original URL. */
|
|
4538
4730
|
url?: SafeUrlProto;
|
|
4539
|
-
/** NEXT TAG : 17 */
|
|
4540
4731
|
urlSource?: string;
|
|
4541
4732
|
}
|
|
4542
4733
|
interface User {
|
|
@@ -6091,9 +6282,10 @@ declare namespace gapi.client {
|
|
|
6091
6282
|
/** 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. */
|
|
6092
6283
|
quotaUser?: string;
|
|
6093
6284
|
/**
|
|
6094
|
-
*
|
|
6095
|
-
*
|
|
6096
|
-
*
|
|
6285
|
+
* Only applies to [`settings.datasources.patch`](https://developers.google.com/cloud-search/docs/reference/rest/v1/settings.datasources/patch). Update mask to control which fields
|
|
6286
|
+
* to update. Example field paths: `name`, `displayName`. * If `update_mask` is non-empty, then only the fields specified in the `update_mask` are updated. * If you specify a field
|
|
6287
|
+
* in the `update_mask`, but don't specify its value in the source, that field is cleared. * If the `update_mask` is not present or empty or has the value `*`, then all fields are
|
|
6288
|
+
* updated.
|
|
6097
6289
|
*/
|
|
6098
6290
|
updateMask?: string;
|
|
6099
6291
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
@@ -6127,9 +6319,10 @@ declare namespace gapi.client {
|
|
|
6127
6319
|
/** 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. */
|
|
6128
6320
|
quotaUser?: string;
|
|
6129
6321
|
/**
|
|
6130
|
-
*
|
|
6131
|
-
*
|
|
6132
|
-
*
|
|
6322
|
+
* Only applies to [`settings.datasources.patch`](https://developers.google.com/cloud-search/docs/reference/rest/v1/settings.datasources/patch). Update mask to control which fields
|
|
6323
|
+
* to update. Example field paths: `name`, `displayName`. * If `update_mask` is non-empty, then only the fields specified in the `update_mask` are updated. * If you specify a field
|
|
6324
|
+
* in the `update_mask`, but don't specify its value in the source, that field is cleared. * If the `update_mask` is not present or empty or has the value `*`, then all fields are
|
|
6325
|
+
* updated.
|
|
6133
6326
|
*/
|
|
6134
6327
|
updateMask?: string;
|
|
6135
6328
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
@@ -6360,9 +6553,10 @@ declare namespace gapi.client {
|
|
|
6360
6553
|
/** 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. */
|
|
6361
6554
|
quotaUser?: string;
|
|
6362
6555
|
/**
|
|
6363
|
-
*
|
|
6364
|
-
*
|
|
6365
|
-
*
|
|
6556
|
+
* Only applies to [`settings.searchapplications.patch`](https://developers.google.com/cloud-search/docs/reference/rest/v1/settings.searchapplications/patch). Update mask to
|
|
6557
|
+
* control which fields to update. Example field paths: `search_application.name`, `search_application.displayName`. * If `update_mask` is non-empty, then only the fields specified
|
|
6558
|
+
* in the `update_mask` are updated. * If you specify a field in the `update_mask`, but don't specify its value in the `search_application`, then that field is cleared. * If the
|
|
6559
|
+
* `update_mask` is not present or empty or has the value `*`, then all fields are updated.
|
|
6366
6560
|
*/
|
|
6367
6561
|
updateMask?: string;
|
|
6368
6562
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
@@ -6394,9 +6588,10 @@ declare namespace gapi.client {
|
|
|
6394
6588
|
/** 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. */
|
|
6395
6589
|
quotaUser?: string;
|
|
6396
6590
|
/**
|
|
6397
|
-
*
|
|
6398
|
-
*
|
|
6399
|
-
*
|
|
6591
|
+
* Only applies to [`settings.searchapplications.patch`](https://developers.google.com/cloud-search/docs/reference/rest/v1/settings.searchapplications/patch). Update mask to
|
|
6592
|
+
* control which fields to update. Example field paths: `search_application.name`, `search_application.displayName`. * If `update_mask` is non-empty, then only the fields specified
|
|
6593
|
+
* in the `update_mask` are updated. * If you specify a field in the `update_mask`, but don't specify its value in the `search_application`, then that field is cleared. * If the
|
|
6594
|
+
* `update_mask` is not present or empty or has the value `*`, then all fields are updated.
|
|
6400
6595
|
*/
|
|
6401
6596
|
updateMask?: string;
|
|
6402
6597
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
@@ -6484,9 +6679,10 @@ declare namespace gapi.client {
|
|
|
6484
6679
|
/** 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. */
|
|
6485
6680
|
quotaUser?: string;
|
|
6486
6681
|
/**
|
|
6487
|
-
*
|
|
6488
|
-
*
|
|
6489
|
-
*
|
|
6682
|
+
* Only applies to [`settings.searchapplications.patch`](https://developers.google.com/cloud-search/docs/reference/rest/v1/settings.searchapplications/patch). Update mask to
|
|
6683
|
+
* control which fields to update. Example field paths: `search_application.name`, `search_application.displayName`. * If `update_mask` is non-empty, then only the fields specified
|
|
6684
|
+
* in the `update_mask` are updated. * If you specify a field in the `update_mask`, but don't specify its value in the `search_application`, then that field is cleared. * If the
|
|
6685
|
+
* `update_mask` is not present or empty or has the value `*`, then all fields are updated.
|
|
6490
6686
|
*/
|
|
6491
6687
|
updateMask?: string;
|
|
6492
6688
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
@@ -6518,9 +6714,10 @@ declare namespace gapi.client {
|
|
|
6518
6714
|
/** 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. */
|
|
6519
6715
|
quotaUser?: string;
|
|
6520
6716
|
/**
|
|
6521
|
-
*
|
|
6522
|
-
*
|
|
6523
|
-
*
|
|
6717
|
+
* Only applies to [`settings.searchapplications.patch`](https://developers.google.com/cloud-search/docs/reference/rest/v1/settings.searchapplications/patch). Update mask to
|
|
6718
|
+
* control which fields to update. Example field paths: `search_application.name`, `search_application.displayName`. * If `update_mask` is non-empty, then only the fields specified
|
|
6719
|
+
* in the `update_mask` are updated. * If you specify a field in the `update_mask`, but don't specify its value in the `search_application`, then that field is cleared. * If the
|
|
6720
|
+
* `update_mask` is not present or empty or has the value `*`, then all fields are updated.
|
|
6524
6721
|
*/
|
|
6525
6722
|
updateMask?: string;
|
|
6526
6723
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
package/package.json
CHANGED
package/tests.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
4
4
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
5
5
|
|
|
6
|
-
// Revision:
|
|
6
|
+
// Revision: 20221018
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|