@maxim_mazurok/gapi.client.cloudsearch-v1 0.0.20220927 → 0.0.20221108
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 +716 -41
- package/package.json +1 -1
- package/tests.ts +26 -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: 20221108
|
|
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;
|
|
@@ -1064,6 +1137,24 @@ declare namespace gapi.client {
|
|
|
1064
1137
|
/** The height of image url as fetched by fife. This field is asynchronously filled. */
|
|
1065
1138
|
slackDataImageUrlHeight?: number;
|
|
1066
1139
|
}
|
|
1140
|
+
interface Attribute {
|
|
1141
|
+
/** The name of the attribute. Required - If a write is attempted with an empty string, the server will return an error. */
|
|
1142
|
+
name?: string;
|
|
1143
|
+
value?: CaribouAttributeValue;
|
|
1144
|
+
}
|
|
1145
|
+
interface AttributeRemoved {
|
|
1146
|
+
attributeId?: string;
|
|
1147
|
+
messageKeys?: MultiKey[];
|
|
1148
|
+
}
|
|
1149
|
+
interface Attributes {
|
|
1150
|
+
attribute?: Attribute[];
|
|
1151
|
+
}
|
|
1152
|
+
interface AttributeSet {
|
|
1153
|
+
attributeId?: string;
|
|
1154
|
+
/** The serialized attribute_value as persisted in the storage layer. The application is responsible for deserializing it to an Attribute.Value if appropriate. */
|
|
1155
|
+
attributeValue?: string;
|
|
1156
|
+
messageKeys?: MultiKey[];
|
|
1157
|
+
}
|
|
1067
1158
|
interface AuditLoggingSettings {
|
|
1068
1159
|
/** Indicates whether audit logging is on/off for admin activity read APIs i.e. Get/List DataSources, Get/List SearchApplications etc. */
|
|
1069
1160
|
logAdminReadActions?: boolean;
|
|
@@ -1192,6 +1283,14 @@ declare namespace gapi.client {
|
|
|
1192
1283
|
imageButton?: ImageButton;
|
|
1193
1284
|
textButton?: TextButton;
|
|
1194
1285
|
}
|
|
1286
|
+
interface CalendarClientActionMarkup {
|
|
1287
|
+
/** An action that adds attachments to the Google Calendar event. */
|
|
1288
|
+
addAttachmentsActionMarkup?: AppsExtensionsMarkupCalendarClientActionMarkupAddAttachmentsActionMarkup;
|
|
1289
|
+
/** An action that adds attendees to the Google Calendar event. */
|
|
1290
|
+
editAttendeesActionMarkup?: AppsExtensionsMarkupCalendarClientActionMarkupEditAttendeesActionMarkup;
|
|
1291
|
+
/** An action that adds conference data to the Google Calendar event. */
|
|
1292
|
+
editConferenceDataActionMarkup?: AppsExtensionsMarkupCalendarClientActionMarkupEditConferenceDataActionMarkup;
|
|
1293
|
+
}
|
|
1195
1294
|
interface CallInfo {
|
|
1196
1295
|
/** Abuse reporting configuration for the ongoing conference. */
|
|
1197
1296
|
abuseReportingConfig?: AbuseReportingConfig;
|
|
@@ -1214,8 +1313,6 @@ declare namespace gapi.client {
|
|
|
1214
1313
|
* this field is empty. For recurring events, it refers to the recurring instance associated with the current call, as determined by the server.
|
|
1215
1314
|
*/
|
|
1216
1315
|
calendarEventId?: string;
|
|
1217
|
-
/** Configuration for the chat for this conference. */
|
|
1218
|
-
chatConfig?: ChatConfig;
|
|
1219
1316
|
/**
|
|
1220
1317
|
* The current co-activity session, or unset if there is none in progress. A co-activity session can be initiated by devices in JOINED state . Initiator of the co-activity is expected
|
|
1221
1318
|
* to populate this field to start the session. Once clients detect that the co-activity has finished, any JOINED device can clear this field to end the co-activity session. In the
|
|
@@ -1236,7 +1333,7 @@ declare namespace gapi.client {
|
|
|
1236
1333
|
/**
|
|
1237
1334
|
* Output only. Information about the media backend for the currently ongoing conference in the meeting space. The media backend information will only be filled in for clients that are
|
|
1238
1335
|
* supposed to present the information. The information should be displayed in a debug panel and is only intended for internal debugging purposes. If the string is empty nothing should
|
|
1239
|
-
* be displayed about the media backend.
|
|
1336
|
+
* be displayed about the media backend. Deprecated because media backend is always MEDIA_ROUTER since Dec 2018.
|
|
1240
1337
|
*/
|
|
1241
1338
|
mediaBackendInfo?: string;
|
|
1242
1339
|
/**
|
|
@@ -1275,6 +1372,10 @@ declare namespace gapi.client {
|
|
|
1275
1372
|
interface CallSettings {
|
|
1276
1373
|
/** Indicates whether the access lock is currently on or off. */
|
|
1277
1374
|
accessLock?: boolean;
|
|
1375
|
+
/** The current access type of the conference. */
|
|
1376
|
+
accessType?: string;
|
|
1377
|
+
/** Whether users can join this conference before a host (Host or Cohost). */
|
|
1378
|
+
allowJoiningBeforeHost?: boolean;
|
|
1278
1379
|
/** Indicates whether the attendance report is currently enabled or disabled. */
|
|
1279
1380
|
attendanceReportEnabled?: boolean;
|
|
1280
1381
|
/** Indicates whether the audio lock is currently on or off. */
|
|
@@ -1283,7 +1384,7 @@ declare namespace gapi.client {
|
|
|
1283
1384
|
chatLock?: boolean;
|
|
1284
1385
|
/** Whether Client-side Encryption is enabled for this conference. */
|
|
1285
1386
|
cseEnabled?: boolean;
|
|
1286
|
-
/** Indicates whether
|
|
1387
|
+
/** Indicates whether moderation is currently on or off. */
|
|
1287
1388
|
moderationEnabled?: boolean;
|
|
1288
1389
|
/** Indicates whether the present lock is currently on or off. */
|
|
1289
1390
|
presentLock?: boolean;
|
|
@@ -1332,11 +1433,21 @@ declare namespace gapi.client {
|
|
|
1332
1433
|
*/
|
|
1333
1434
|
title?: string;
|
|
1334
1435
|
}
|
|
1335
|
-
interface
|
|
1336
|
-
/**
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
|
|
1436
|
+
interface CaribouAttributeValue {
|
|
1437
|
+
/** Tags 1 through 15 are reserved for the most commonly used fields. */
|
|
1438
|
+
booleanValue?: boolean;
|
|
1439
|
+
intValue?: number;
|
|
1440
|
+
longValue?: string;
|
|
1441
|
+
/**
|
|
1442
|
+
* Generally, applications should avoid storing raw bytes and instead store structured data as protocol buffer extensions. This both reduces the amount of ad-hoc attribute parsing code
|
|
1443
|
+
* as well as eliminates an intermediate copy of the data when deserializing the value. The rawByteValue field is mainly provided for compatibility with attributes stored before the
|
|
1444
|
+
* introduction of the Attribute.Value.
|
|
1445
|
+
*/
|
|
1446
|
+
rawByteValue?: string;
|
|
1447
|
+
stringValue?: string;
|
|
1448
|
+
}
|
|
1449
|
+
// tslint:disable-next-line:no-empty-interface
|
|
1450
|
+
interface ChatClientActionMarkup {
|
|
1340
1451
|
}
|
|
1341
1452
|
interface ChatConserverDynamitePlaceholderMetadata {
|
|
1342
1453
|
attachmentMetadata?: ChatConserverDynamitePlaceholderMetadataAttachmentMetadata;
|
|
@@ -1428,10 +1539,32 @@ declare namespace gapi.client {
|
|
|
1428
1539
|
*/
|
|
1429
1540
|
requiredConsistencyTimestampUsec?: string;
|
|
1430
1541
|
}
|
|
1542
|
+
interface ClientContext {
|
|
1543
|
+
/**
|
|
1544
|
+
* The client operation to which this history record belongs. The notion of a client operation is provided to keep track of client operations which might span multiple transactions in
|
|
1545
|
+
* the lower level.
|
|
1546
|
+
*/
|
|
1547
|
+
clientOperationId?: string;
|
|
1548
|
+
/** E.g. "pinto", "imap", "bigtop", "upload" */
|
|
1549
|
+
clientType?: string;
|
|
1550
|
+
/** Contains information about the session which created this history record. This will be empty if the history record was generated by an internal request. */
|
|
1551
|
+
sessionContext?: SessionContext;
|
|
1552
|
+
/** Textual representation of the user's IP address, if available. */
|
|
1553
|
+
userIp?: string;
|
|
1554
|
+
}
|
|
1431
1555
|
interface CloudPrincipalProto {
|
|
1432
1556
|
/** Format: "{identity-pool}:{subject}#" Details: go/cloud-principal-identifiers */
|
|
1433
1557
|
id?: string;
|
|
1434
1558
|
}
|
|
1559
|
+
interface ClusterInfo {
|
|
1560
|
+
/**
|
|
1561
|
+
* IDs of the highest priority clusters to which the thread belongs to. If this field is not present, the thread does not belong to any cluster and would be shown in the inbox,
|
|
1562
|
+
* unclustered.
|
|
1563
|
+
*/
|
|
1564
|
+
clusterId?: string[];
|
|
1565
|
+
/** If the thread belongs to a grouped cluster and all of those clusters are throttled, then this field is set to true. */
|
|
1566
|
+
throttled?: boolean;
|
|
1567
|
+
}
|
|
1435
1568
|
interface CoActivity {
|
|
1436
1569
|
/** The title of the activity in this co-activity session. For example, this might be the title of the video being co-watched, or the name of the round of a game being co-played. */
|
|
1437
1570
|
activityTitle?: string;
|
|
@@ -1582,6 +1715,12 @@ declare namespace gapi.client {
|
|
|
1582
1715
|
/** The count of unique active users in the past thirty days */
|
|
1583
1716
|
thirtyDaysActiveUsersCount?: string;
|
|
1584
1717
|
}
|
|
1718
|
+
interface CustomFunctionReturnValueMarkup {
|
|
1719
|
+
/** The error message to show to the user if something went wrong. */
|
|
1720
|
+
errorMessage?: string;
|
|
1721
|
+
/** The value that resulted from running the custom function. */
|
|
1722
|
+
value?: any;
|
|
1723
|
+
}
|
|
1585
1724
|
interface DataLossPreventionMetadata {
|
|
1586
1725
|
/** The DLP scan summary that should only be set after the message is scanned in the Chat backend. */
|
|
1587
1726
|
dlpScanSummary?: DlpScanSummary;
|
|
@@ -1783,6 +1922,9 @@ declare namespace gapi.client {
|
|
|
1783
1922
|
interface DoubleValues {
|
|
1784
1923
|
values?: number[];
|
|
1785
1924
|
}
|
|
1925
|
+
interface DriveClientActionMarkup {
|
|
1926
|
+
requestFileScope?: RequestFileScope;
|
|
1927
|
+
}
|
|
1786
1928
|
interface DriveFollowUpRestrict {
|
|
1787
1929
|
type?: string;
|
|
1788
1930
|
}
|
|
@@ -1880,6 +2022,9 @@ declare namespace gapi.client {
|
|
|
1880
2022
|
// tslint:disable-next-line:no-empty-interface
|
|
1881
2023
|
interface EditMetadata {
|
|
1882
2024
|
}
|
|
2025
|
+
interface EditorClientActionMarkup {
|
|
2026
|
+
requestFileScopeForActiveDocument?: any;
|
|
2027
|
+
}
|
|
1883
2028
|
interface EmailAddress {
|
|
1884
2029
|
/** If the value of type is custom, this property contains the custom type string. */
|
|
1885
2030
|
customType?: string;
|
|
@@ -1991,6 +2136,8 @@ declare namespace gapi.client {
|
|
|
1991
2136
|
* always returned.
|
|
1992
2137
|
*/
|
|
1993
2138
|
count?: number;
|
|
2139
|
+
/** Filter to be passed in the search request if the corresponding bucket is selected. */
|
|
2140
|
+
filter?: Filter;
|
|
1994
2141
|
/**
|
|
1995
2142
|
* Percent of results that match the bucket value. The returned value is between (0-100], and is rounded down to an integer if fractional. If the value is not explicitly returned, it
|
|
1996
2143
|
* represents a percentage value that rounds to 0. Percentages are returned for all searches, but are an estimate. Because percentages are always returned, you should render
|
|
@@ -2000,6 +2147,11 @@ declare namespace gapi.client {
|
|
|
2000
2147
|
value?: Value;
|
|
2001
2148
|
}
|
|
2002
2149
|
interface FacetOptions {
|
|
2150
|
+
/**
|
|
2151
|
+
* If set, describes integer faceting options for the given integer property. The corresponding integer property in the schema should be marked isFacetable. The number of buckets
|
|
2152
|
+
* returned would be minimum of this and num_facet_buckets.
|
|
2153
|
+
*/
|
|
2154
|
+
integerFacetingOptions?: IntegerFacetingOptions;
|
|
2003
2155
|
/** Maximum number of facet buckets that should be returned for this facet. Defaults to 10. Maximum value is 100. */
|
|
2004
2156
|
numFacetBuckets?: number;
|
|
2005
2157
|
/** If object_type is set, only those objects of that type will be used to compute facets. If empty, then all objects will be used to compute facets. */
|
|
@@ -2029,6 +2181,12 @@ declare namespace gapi.client {
|
|
|
2029
2181
|
compositeFilter?: CompositeFilter;
|
|
2030
2182
|
valueFilter?: ValueFilter;
|
|
2031
2183
|
}
|
|
2184
|
+
// tslint:disable-next-line:no-empty-interface
|
|
2185
|
+
interface FilterCreated {
|
|
2186
|
+
}
|
|
2187
|
+
// tslint:disable-next-line:no-empty-interface
|
|
2188
|
+
interface FilterDeleted {
|
|
2189
|
+
}
|
|
2032
2190
|
interface FilterOptions {
|
|
2033
2191
|
/** Generic filter to restrict the search, such as `lang:en`, `site:xyz`. */
|
|
2034
2192
|
filter?: Filter;
|
|
@@ -2038,11 +2196,26 @@ declare namespace gapi.client {
|
|
|
2038
2196
|
*/
|
|
2039
2197
|
objectType?: string;
|
|
2040
2198
|
}
|
|
2199
|
+
interface FilterUpdate {
|
|
2200
|
+
filterCreated?: any;
|
|
2201
|
+
filterDeleted?: any;
|
|
2202
|
+
filterId?: string;
|
|
2203
|
+
}
|
|
2041
2204
|
interface FixedFooter {
|
|
2042
2205
|
buttons?: Button[];
|
|
2043
2206
|
primaryButton?: TextButton;
|
|
2044
2207
|
secondaryButton?: TextButton;
|
|
2045
2208
|
}
|
|
2209
|
+
interface Folder {
|
|
2210
|
+
/** Folder mapping id. */
|
|
2211
|
+
id?: string;
|
|
2212
|
+
/** One for each copy of the message in the IMAP folder. */
|
|
2213
|
+
message?: ImapsyncFolderAttributeFolderMessage[];
|
|
2214
|
+
}
|
|
2215
|
+
interface FolderAttribute {
|
|
2216
|
+
/** List of all IMAP folders where the message presents. */
|
|
2217
|
+
folder?: Folder[];
|
|
2218
|
+
}
|
|
2046
2219
|
interface FormAction {
|
|
2047
2220
|
/** Apps script function that should be invoked in the developer's apps script when the containing element is clicked/activated. */
|
|
2048
2221
|
actionMethodName?: string;
|
|
@@ -2090,6 +2263,68 @@ declare namespace gapi.client {
|
|
|
2090
2263
|
*/
|
|
2091
2264
|
freshnessProperty?: string;
|
|
2092
2265
|
}
|
|
2266
|
+
interface FuseboxItem {
|
|
2267
|
+
attributes?: Attributes;
|
|
2268
|
+
/** The creation time of the Item in micro seconds. */
|
|
2269
|
+
creationTimeMicroseconds?: string;
|
|
2270
|
+
history?: History;
|
|
2271
|
+
/** The key is used to refer to an item. Note that every field of the MultiKey is unique to the Item, and thus the Item can be looked up by any of the fields. */
|
|
2272
|
+
itemKey?: MultiKey;
|
|
2273
|
+
labels?: Labels;
|
|
2274
|
+
/** The modification time of the Item in micro seconds. Modifications to the message include label addition, deletion, etc. */
|
|
2275
|
+
lastModificationTimeUs?: string;
|
|
2276
|
+
/** go/lockpicker Locker counterpart of references. */
|
|
2277
|
+
lockerReferences?: References;
|
|
2278
|
+
matchInfo?: MatchInfo;
|
|
2279
|
+
/** Type-specific data are represented as extensions to the ItemParts message. */
|
|
2280
|
+
parts?: any;
|
|
2281
|
+
/**
|
|
2282
|
+
* The read timestamp at which this item was read. This is a temporary field used to check if two items streamed during dual reading were read at the same timestamp. This will be
|
|
2283
|
+
* populated by Fusebox RPCs. "DO NOT USE UNLESS YOU TALK TO FUSEBOX TEAM (gmail-fusebox@)".
|
|
2284
|
+
*/
|
|
2285
|
+
readTs?: string;
|
|
2286
|
+
/** References to attachments, video attachments in Youtube and Hangout messages. */
|
|
2287
|
+
references?: References;
|
|
2288
|
+
/** The snippet is a brief bit of text describing this item. */
|
|
2289
|
+
snippet?: string;
|
|
2290
|
+
/** The key of the Thread with which this Item is associated. */
|
|
2291
|
+
threadKey?: MultiKey;
|
|
2292
|
+
/** A base64 encoded and encrypted string generated from the Gaia Id and the thread id. Used to generate the permalink for this thread, exposed from Gmail API. */
|
|
2293
|
+
threadLocator?: string;
|
|
2294
|
+
triggers?: Triggers;
|
|
2295
|
+
/** The latest history operation id that resulted in a mutation of the item. */
|
|
2296
|
+
version?: string;
|
|
2297
|
+
}
|
|
2298
|
+
interface FuseboxItemThreadMatchInfo {
|
|
2299
|
+
/**
|
|
2300
|
+
* If SearchQuery.Options.Clustering is present, the query will be treated as a cluster query, and this field may be populated with the cluster ID of the cluster to which this thread
|
|
2301
|
+
* belongs, if any. The cluster ID will be a label on the message.
|
|
2302
|
+
*/
|
|
2303
|
+
clusterId?: string;
|
|
2304
|
+
/**
|
|
2305
|
+
* The server id of the last item that matched the query. This is always set, regardless of the compute_matching_items_per_thread option. This is the value by which search results are
|
|
2306
|
+
* sorted, in descending (i.e. newest first) order.
|
|
2307
|
+
*/
|
|
2308
|
+
lastMatchingItemId?: string;
|
|
2309
|
+
/**
|
|
2310
|
+
* The MultiKey of the last item that matched the query. This is always set, regardless of the compute_matching_items_per_thread option. This is the value by which search results are
|
|
2311
|
+
* sorted, in descending (i.e. newest first) order.
|
|
2312
|
+
*/
|
|
2313
|
+
lastMatchingItemKey?: MultiKey;
|
|
2314
|
+
/**
|
|
2315
|
+
* If SearchQuery.Options.compute_matching_items_per_thread, this field will contain the keys of all items that matched the query, in ascending order. Note that this option requires
|
|
2316
|
+
* extra computation.
|
|
2317
|
+
*/
|
|
2318
|
+
matchingItemKey?: MultiKey[];
|
|
2319
|
+
/**
|
|
2320
|
+
* The rank of this ItemThread in the result set of the query. This rank may be used to sort ItemThreads in proper order. Ranks are specific to a query, and stable for a given query at
|
|
2321
|
+
* a specific time.
|
|
2322
|
+
*/
|
|
2323
|
+
rank?: Rank;
|
|
2324
|
+
}
|
|
2325
|
+
interface FuseboxPrefUpdatePreState {
|
|
2326
|
+
value?: string;
|
|
2327
|
+
}
|
|
2093
2328
|
interface GaiaGroupProto {
|
|
2094
2329
|
groupId?: string;
|
|
2095
2330
|
}
|
|
@@ -2150,9 +2385,11 @@ declare namespace gapi.client {
|
|
|
2150
2385
|
interface GetSearchApplicationUserStatsResponse {
|
|
2151
2386
|
stats?: SearchApplicationUserStats[];
|
|
2152
2387
|
}
|
|
2153
|
-
interface
|
|
2154
|
-
|
|
2155
|
-
|
|
2388
|
+
interface GmailClientActionMarkup {
|
|
2389
|
+
addonComposeUiActionMarkup?: AddonComposeUiActionMarkup;
|
|
2390
|
+
openCreatedDraftActionMarkup?: OpenCreatedDraftActionMarkup;
|
|
2391
|
+
taskAction?: TaskActionMarkup;
|
|
2392
|
+
updateDraftActionMarkup?: UpdateDraftActionMarkup;
|
|
2156
2393
|
}
|
|
2157
2394
|
interface GoogleChatV1ContextualAddOnMarkup {
|
|
2158
2395
|
/** A list of cards. A card must contain a header and at least 1 section. */
|
|
@@ -2402,6 +2639,38 @@ declare namespace gapi.client {
|
|
|
2402
2639
|
interface HashtagData {
|
|
2403
2640
|
searchText?: string;
|
|
2404
2641
|
}
|
|
2642
|
+
interface History {
|
|
2643
|
+
record?: HistoryRecord[];
|
|
2644
|
+
}
|
|
2645
|
+
interface HistoryRecord {
|
|
2646
|
+
/** This will almost always be set, but there are corner cases in which the information is not available, and thus applications must handle its absence appropriately. */
|
|
2647
|
+
clientContext?: ClientContext;
|
|
2648
|
+
filterUpdate?: FilterUpdate;
|
|
2649
|
+
imapUpdate?: ImapUpdate;
|
|
2650
|
+
labelUpdate?: LabelUpdate;
|
|
2651
|
+
prefUpdate?: PrefUpdate;
|
|
2652
|
+
/** Each HistoryRecord has a unique id. Ids are monotonically increasing, and not necessarily contiguous. */
|
|
2653
|
+
recordId?: string;
|
|
2654
|
+
threadUpdate?: ThreadUpdate;
|
|
2655
|
+
/** This will almost always be set, but there are corner cases in which the information is not available, and thus applications must handle its absence appropriately. */
|
|
2656
|
+
transactionContext?: TransactionContext;
|
|
2657
|
+
txnDebugInfo?: any;
|
|
2658
|
+
type?: string;
|
|
2659
|
+
}
|
|
2660
|
+
interface HostAppActionMarkup {
|
|
2661
|
+
/** Actions handled by Calendar. */
|
|
2662
|
+
calendarAction?: CalendarClientActionMarkup;
|
|
2663
|
+
/** Actions handled by Chat. */
|
|
2664
|
+
chatAction?: any;
|
|
2665
|
+
/** Actions handled by Drive. */
|
|
2666
|
+
driveAction?: DriveClientActionMarkup;
|
|
2667
|
+
/** Actions handled by Docs, Sheets, or Slides. */
|
|
2668
|
+
editorAction?: EditorClientActionMarkup;
|
|
2669
|
+
/** Actions handled by Gmail. */
|
|
2670
|
+
gmailAction?: GmailClientActionMarkup;
|
|
2671
|
+
/** Actions handled by Sheets. */
|
|
2672
|
+
sheetsAction?: SheetsClientActionMarkup;
|
|
2673
|
+
}
|
|
2405
2674
|
interface HostProto {
|
|
2406
2675
|
/** Lower-case, fully qualified hostname. */
|
|
2407
2676
|
hostName?: string;
|
|
@@ -2487,6 +2756,45 @@ declare namespace gapi.client {
|
|
|
2487
2756
|
onClick?: OnClick;
|
|
2488
2757
|
text?: string;
|
|
2489
2758
|
}
|
|
2759
|
+
interface ImapSessionContext {
|
|
2760
|
+
app?: string;
|
|
2761
|
+
/** User agent information */
|
|
2762
|
+
deviceType?: string;
|
|
2763
|
+
/**
|
|
2764
|
+
* As agreed with Bond team, this holds the fingerprint of any "aguid" or "guid" provided by the ID command. The fingerprint should be calculated by fingerprint2011. Note that not all
|
|
2765
|
+
* clients will provide aguid or guid through ID command.
|
|
2766
|
+
*/
|
|
2767
|
+
guidFingerprint?: string;
|
|
2768
|
+
os?: string;
|
|
2769
|
+
osVersion?: OsVersion;
|
|
2770
|
+
possiblyTrimmedModel?: PossiblyTrimmedModel;
|
|
2771
|
+
}
|
|
2772
|
+
interface ImapSyncDelete {
|
|
2773
|
+
/** Contains the value of //imapsync/folder attribute of deleted message. */
|
|
2774
|
+
mappings?: FolderAttribute;
|
|
2775
|
+
msgId?: string;
|
|
2776
|
+
}
|
|
2777
|
+
interface ImapsyncFolderAttributeFolderMessage {
|
|
2778
|
+
/** Flags of the message. Represents unseen and flagged state. */
|
|
2779
|
+
flags?: ImapsyncFolderAttributeFolderMessageFlags;
|
|
2780
|
+
/** UID of the message. */
|
|
2781
|
+
uid?: string;
|
|
2782
|
+
}
|
|
2783
|
+
interface ImapsyncFolderAttributeFolderMessageFlags {
|
|
2784
|
+
/** Flagged state of the message. */
|
|
2785
|
+
flagged?: boolean;
|
|
2786
|
+
/** Seen state of the message. */
|
|
2787
|
+
seen?: boolean;
|
|
2788
|
+
}
|
|
2789
|
+
interface ImapUidsReassign {
|
|
2790
|
+
/** Label */
|
|
2791
|
+
labelId?: string;
|
|
2792
|
+
/** The message Ids */
|
|
2793
|
+
messageId?: string[];
|
|
2794
|
+
}
|
|
2795
|
+
interface ImapUpdate {
|
|
2796
|
+
imapUidsReassign?: ImapUidsReassign;
|
|
2797
|
+
}
|
|
2490
2798
|
interface IncomingWebhookChangedMetadata {
|
|
2491
2799
|
/** The webhook name at the time of the change. Used in Spanner storage, BE API responses and FE API responses. */
|
|
2492
2800
|
incomingWebhookName?: string;
|
|
@@ -2522,6 +2830,20 @@ declare namespace gapi.client {
|
|
|
2522
2830
|
// tslint:disable-next-line:no-empty-interface
|
|
2523
2831
|
interface InitializeCustomerRequest {
|
|
2524
2832
|
}
|
|
2833
|
+
interface InsertContent {
|
|
2834
|
+
/** The content to be inserted. */
|
|
2835
|
+
content?: string;
|
|
2836
|
+
/** The type of inserted content. */
|
|
2837
|
+
contentType?: string;
|
|
2838
|
+
mimeType?: string;
|
|
2839
|
+
}
|
|
2840
|
+
interface IntegerFacetingOptions {
|
|
2841
|
+
/**
|
|
2842
|
+
* Buckets for given integer values should be in strictly ascending order. For example, if values supplied are (1,5,10,100), the following facet buckets will be formed {<1, [1,5),
|
|
2843
|
+
* [5-10), [10-100), >=100}.
|
|
2844
|
+
*/
|
|
2845
|
+
integerBuckets?: string[];
|
|
2846
|
+
}
|
|
2525
2847
|
interface IntegerOperatorOptions {
|
|
2526
2848
|
/**
|
|
2527
2849
|
* 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
|
|
@@ -2544,6 +2866,8 @@ declare namespace gapi.client {
|
|
|
2544
2866
|
operatorName?: string;
|
|
2545
2867
|
}
|
|
2546
2868
|
interface IntegerPropertyOptions {
|
|
2869
|
+
/** If set, describes integer faceting options for the given integer property. The corresponding integer property should be marked isFacetable. */
|
|
2870
|
+
integerFacetingOptions?: IntegerFacetingOptions;
|
|
2547
2871
|
/**
|
|
2548
2872
|
* The maximum value of the property. The minimum and maximum values for the property are used to rank results according to the ordered ranking. Indexing requests with values greater
|
|
2549
2873
|
* than the maximum are accepted and ranked with the same weight as items indexed with the maximum value.
|
|
@@ -2713,6 +3037,9 @@ declare namespace gapi.client {
|
|
|
2713
3037
|
/** The time when the item was last modified in the source repository. */
|
|
2714
3038
|
updateTime?: string;
|
|
2715
3039
|
}
|
|
3040
|
+
// tslint:disable-next-line:no-empty-interface
|
|
3041
|
+
interface ItemParts {
|
|
3042
|
+
}
|
|
2716
3043
|
interface ItemStatus {
|
|
2717
3044
|
/** Status code. */
|
|
2718
3045
|
code?: string;
|
|
@@ -2727,6 +3054,40 @@ declare namespace gapi.client {
|
|
|
2727
3054
|
/** The structured data object that should conform to a registered object definition in the schema for the data source. */
|
|
2728
3055
|
object?: StructuredDataObject;
|
|
2729
3056
|
}
|
|
3057
|
+
interface ItemThread {
|
|
3058
|
+
clusterInfo?: ClusterInfo;
|
|
3059
|
+
/**
|
|
3060
|
+
* The Items in the ItemThread. In the context of a search, the list of Items may be a subset of those that logically belong to the ItemThread. The details of which items are included
|
|
3061
|
+
* are available in the ItemThreadView returned in the overall rpc response.
|
|
3062
|
+
*/
|
|
3063
|
+
item?: FuseboxItem[];
|
|
3064
|
+
/**
|
|
3065
|
+
* The server id of the last item returned in the ItemThread. This can be deduced from the [item] list but is provided for convenience. When manually constructing an ItemThreadViewSpec
|
|
3066
|
+
* to perform operations on the ItemThread, this value can be used as the [high_item_id_watermark].
|
|
3067
|
+
*/
|
|
3068
|
+
lastItemId?: string;
|
|
3069
|
+
matchInfo?: FuseboxItemThreadMatchInfo;
|
|
3070
|
+
/** A snippet summarizing the thread. This field is only populated for searches. */
|
|
3071
|
+
snippet?: string;
|
|
3072
|
+
/**
|
|
3073
|
+
* The MultiKey that identifies this thread. This value never changes, i.e. remains constant across modifications to the thread, including addition, relabeling, or deletion of
|
|
3074
|
+
* contained Items. As such, the thread key may not necessarily correspond to the key of an contained Item. Legacy note: The "server_id" of the thread key is equivalent to the notion
|
|
3075
|
+
* of the "original thread id" in the CSS API.
|
|
3076
|
+
*/
|
|
3077
|
+
threadKey?: MultiKey;
|
|
3078
|
+
/** A base64 encoded and encrypted string generated from the Gaia Id and the thread id. Used to generate the permalink for this thread, exposed from Gmail API. */
|
|
3079
|
+
threadLocator?: string;
|
|
3080
|
+
/** Next available id : 10 */
|
|
3081
|
+
topicState?: TopicState;
|
|
3082
|
+
/** The latest history operation id that resulted in a mutation of any item in the thread. */
|
|
3083
|
+
version?: string;
|
|
3084
|
+
}
|
|
3085
|
+
interface JobsettedServerSpec {
|
|
3086
|
+
/** E.g. "gateway", "stubby" etc. Leave unset to use the default unnamed port. */
|
|
3087
|
+
portName?: string;
|
|
3088
|
+
/** E.g. "satellite-server", "bigtop-sync", etc. */
|
|
3089
|
+
serverName?: string;
|
|
3090
|
+
}
|
|
2730
3091
|
interface KeyValue {
|
|
2731
3092
|
/** Formatted text supported. */
|
|
2732
3093
|
bottomLabel?: string;
|
|
@@ -2748,6 +3109,45 @@ declare namespace gapi.client {
|
|
|
2748
3109
|
/** Formatted text supported. */
|
|
2749
3110
|
topLabel?: string;
|
|
2750
3111
|
}
|
|
3112
|
+
interface LabelAdded {
|
|
3113
|
+
labelId?: string;
|
|
3114
|
+
labelName?: string;
|
|
3115
|
+
messageKeys?: MultiKey[];
|
|
3116
|
+
syncId?: number;
|
|
3117
|
+
}
|
|
3118
|
+
// tslint:disable-next-line:no-empty-interface
|
|
3119
|
+
interface LabelCreated {
|
|
3120
|
+
}
|
|
3121
|
+
// tslint:disable-next-line:no-empty-interface
|
|
3122
|
+
interface LabelDeleted {
|
|
3123
|
+
}
|
|
3124
|
+
interface LabelRemoved {
|
|
3125
|
+
labelId?: string;
|
|
3126
|
+
labelName?: string;
|
|
3127
|
+
messageKeys?: MultiKey[];
|
|
3128
|
+
syncId?: number;
|
|
3129
|
+
}
|
|
3130
|
+
interface LabelRenamed {
|
|
3131
|
+
oldCanonicalName?: string;
|
|
3132
|
+
}
|
|
3133
|
+
interface Labels {
|
|
3134
|
+
/** The display name of the labels. This is populated (instead of the id) when the request fetch_spec has LABEL_DISPLAY_NAMES. */
|
|
3135
|
+
displayName?: string[];
|
|
3136
|
+
/** The ids of the labels attached to the Item, e.g. "^i", "^x_1" */
|
|
3137
|
+
id?: string[];
|
|
3138
|
+
}
|
|
3139
|
+
interface LabelUpdate {
|
|
3140
|
+
canonicalName?: string;
|
|
3141
|
+
labelCreated?: any;
|
|
3142
|
+
labelDeleted?: any;
|
|
3143
|
+
labelId?: string;
|
|
3144
|
+
labelRenamed?: LabelRenamed;
|
|
3145
|
+
labelUpdated?: any;
|
|
3146
|
+
syncId?: number;
|
|
3147
|
+
}
|
|
3148
|
+
// tslint:disable-next-line:no-empty-interface
|
|
3149
|
+
interface LabelUpdated {
|
|
3150
|
+
}
|
|
2751
3151
|
interface LanguageConfig {
|
|
2752
3152
|
/** The spoken language(s) in BCP47 language code. */
|
|
2753
3153
|
spokenLanguages?: string[];
|
|
@@ -2835,6 +3235,10 @@ declare namespace gapi.client {
|
|
|
2835
3235
|
nextPageToken?: string;
|
|
2836
3236
|
unmappedIdentities?: UnmappedIdentity[];
|
|
2837
3237
|
}
|
|
3238
|
+
interface MatchInfo {
|
|
3239
|
+
/** Reference keys for image attachments that matches search query. */
|
|
3240
|
+
matchingImageReferenceKey?: string[];
|
|
3241
|
+
}
|
|
2838
3242
|
interface MatchRange {
|
|
2839
3243
|
/** End of the match in the snippet. */
|
|
2840
3244
|
end?: number;
|
|
@@ -2921,6 +3325,8 @@ declare namespace gapi.client {
|
|
|
2921
3325
|
initiator?: UserId;
|
|
2922
3326
|
/** Complete member profiles, when ListTopicsRequest FetchOptions.USER is set. Otherwise, only the id will be filled in. */
|
|
2923
3327
|
initiatorProfile?: User;
|
|
3328
|
+
/** The type of the user who initiated this membership change. */
|
|
3329
|
+
initiatorType?: string;
|
|
2924
3330
|
type?: string;
|
|
2925
3331
|
}
|
|
2926
3332
|
interface MembershipChangeEvent {
|
|
@@ -3055,10 +3461,22 @@ declare namespace gapi.client {
|
|
|
3055
3461
|
*/
|
|
3056
3462
|
uploadMetadata?: UploadMetadata[];
|
|
3057
3463
|
}
|
|
3464
|
+
interface MessageAdded {
|
|
3465
|
+
attributeIds?: string[];
|
|
3466
|
+
labelIds?: string[];
|
|
3467
|
+
messageKey?: MultiKey;
|
|
3468
|
+
/** Note that there can be fewer sync ids than label ids. */
|
|
3469
|
+
syncIds?: number[];
|
|
3470
|
+
}
|
|
3058
3471
|
interface MessageAttributes {
|
|
3059
3472
|
/** If true: message is a tombstone in the client. Default false. */
|
|
3060
3473
|
isTombstone?: boolean;
|
|
3061
3474
|
}
|
|
3475
|
+
interface MessageDeleted {
|
|
3476
|
+
/** Value of coproc's message delete history record extension that exports /imapsync/folder attribute of deleted messages which have ^is label. */
|
|
3477
|
+
imapSyncMappings?: ImapSyncDelete[];
|
|
3478
|
+
messageKeys?: MultiKey[];
|
|
3479
|
+
}
|
|
3062
3480
|
interface MessageId {
|
|
3063
3481
|
/** Opaque, server-assigned ID of the Message. While this ID is guaranteed to be unique within the Space, it's not guaranteed to be globally unique. */
|
|
3064
3482
|
messageId?: string;
|
|
@@ -3078,6 +3496,9 @@ declare namespace gapi.client {
|
|
|
3078
3496
|
interface MessageProps {
|
|
3079
3497
|
babelProps?: BabelMessageProps;
|
|
3080
3498
|
}
|
|
3499
|
+
// tslint:disable-next-line:no-empty-interface
|
|
3500
|
+
interface MessageSet {
|
|
3501
|
+
}
|
|
3081
3502
|
interface Metadata {
|
|
3082
3503
|
/** The creation time for this document or object in the search result. */
|
|
3083
3504
|
createTime?: string;
|
|
@@ -3105,6 +3526,12 @@ declare namespace gapi.client {
|
|
|
3105
3526
|
/** The list of displayed properties for the metaline. The maximum number of properties is 5. */
|
|
3106
3527
|
properties?: DisplayedProperty[];
|
|
3107
3528
|
}
|
|
3529
|
+
interface MultiKey {
|
|
3530
|
+
/** A client-assigned string based key. */
|
|
3531
|
+
clientAssignedPermId?: string;
|
|
3532
|
+
/** A server-assigned ID. This ID must be used only by Gmail and is constructed using millesecond ts << 20 + randomness. The ID affects the sort order of the index. */
|
|
3533
|
+
serverId?: string;
|
|
3534
|
+
}
|
|
3108
3535
|
interface Name {
|
|
3109
3536
|
/** The read-only display name formatted according to the locale specified by the viewer's account or the `Accept-Language` HTTP header. */
|
|
3110
3537
|
displayName?: string;
|
|
@@ -3187,6 +3614,19 @@ declare namespace gapi.client {
|
|
|
3187
3614
|
*/
|
|
3188
3615
|
openLinkAction?: FormAction;
|
|
3189
3616
|
}
|
|
3617
|
+
interface OpenCreatedDraftActionMarkup {
|
|
3618
|
+
/** The ID of the newly created draft in the form "r123". */
|
|
3619
|
+
draftId?: string;
|
|
3620
|
+
/** The server storage ID in hex format, for example,"15e9fa622ce1029d". */
|
|
3621
|
+
draftStorageId?: string;
|
|
3622
|
+
/** The ID of the thread containing the newly created draft, for example, "15e9fa622ce1029d". */
|
|
3623
|
+
draftThreadId?: string;
|
|
3624
|
+
/**
|
|
3625
|
+
* 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
|
|
3626
|
+
* instead.
|
|
3627
|
+
*/
|
|
3628
|
+
draftThreadServerPermId?: string;
|
|
3629
|
+
}
|
|
3190
3630
|
interface OpenLink {
|
|
3191
3631
|
/** Next available ID: 5 */
|
|
3192
3632
|
loadIndicator?: string;
|
|
@@ -3216,6 +3656,11 @@ declare namespace gapi.client {
|
|
|
3216
3656
|
*/
|
|
3217
3657
|
response?: { [P in string]: any };
|
|
3218
3658
|
}
|
|
3659
|
+
interface OsVersion {
|
|
3660
|
+
majorVersion?: number;
|
|
3661
|
+
minorVersion?: number;
|
|
3662
|
+
tertiaryVersion?: number;
|
|
3663
|
+
}
|
|
3219
3664
|
interface OtrChatMessageEvent {
|
|
3220
3665
|
expirationTimestampUsec?: string;
|
|
3221
3666
|
kansasRowId?: string;
|
|
@@ -3315,9 +3760,26 @@ declare namespace gapi.client {
|
|
|
3315
3760
|
*/
|
|
3316
3761
|
items?: Item[];
|
|
3317
3762
|
}
|
|
3763
|
+
interface PossiblyTrimmedModel {
|
|
3764
|
+
isTrimmed?: boolean;
|
|
3765
|
+
model?: string;
|
|
3766
|
+
}
|
|
3318
3767
|
interface PostiniUserProto {
|
|
3319
3768
|
postiniUserId?: string;
|
|
3320
3769
|
}
|
|
3770
|
+
// tslint:disable-next-line:no-empty-interface
|
|
3771
|
+
interface PrefDeleted {
|
|
3772
|
+
}
|
|
3773
|
+
interface PrefUpdate {
|
|
3774
|
+
/** Name of the affected preference. */
|
|
3775
|
+
name?: string;
|
|
3776
|
+
prefDeleted?: any;
|
|
3777
|
+
prefWritten?: PrefWritten;
|
|
3778
|
+
preState?: FuseboxPrefUpdatePreState;
|
|
3779
|
+
}
|
|
3780
|
+
interface PrefWritten {
|
|
3781
|
+
value?: string;
|
|
3782
|
+
}
|
|
3321
3783
|
interface Presenter {
|
|
3322
3784
|
/** The device resource name of the device which requested the current presenter to be set. This field can not be modified by clients. */
|
|
3323
3785
|
byDeviceId?: string;
|
|
@@ -3326,6 +3788,13 @@ declare namespace gapi.client {
|
|
|
3326
3788
|
/** The device resource name of the currently presenting device. */
|
|
3327
3789
|
presenterDeviceId?: string;
|
|
3328
3790
|
}
|
|
3791
|
+
interface PreState {
|
|
3792
|
+
labelIds?: string[];
|
|
3793
|
+
messageKey?: MultiKey;
|
|
3794
|
+
/** Note that there can be fewer sync ids than label ids. */
|
|
3795
|
+
syncIds?: number[];
|
|
3796
|
+
threadKey?: MultiKey;
|
|
3797
|
+
}
|
|
3329
3798
|
interface Principal {
|
|
3330
3799
|
/** This principal is a group identified using an external identity. The name field must specify the group resource name with this format: identitysources/{source_id}/groups/{ID} */
|
|
3331
3800
|
groupResourceName?: string;
|
|
@@ -3644,6 +4113,15 @@ declare namespace gapi.client {
|
|
|
3644
4113
|
/** Output only. Upload metadata of the quoted message. */
|
|
3645
4114
|
uploadMetadata?: UploadMetadata[];
|
|
3646
4115
|
}
|
|
4116
|
+
interface Rank {
|
|
4117
|
+
/**
|
|
4118
|
+
* The primary rank is the most significant rank member. This rank element should always be present. Items with higher primary rank are always considered of higher rank than those of
|
|
4119
|
+
* lower primary rank.
|
|
4120
|
+
*/
|
|
4121
|
+
primary?: string;
|
|
4122
|
+
/** The secondary rank may be used to rank items of identical primary rank. This rank element should always be present. */
|
|
4123
|
+
secondary?: string;
|
|
4124
|
+
}
|
|
3647
4125
|
interface RbacRoleProto {
|
|
3648
4126
|
name?: string;
|
|
3649
4127
|
objectId?: string;
|
|
@@ -3664,6 +4142,9 @@ declare namespace gapi.client {
|
|
|
3664
4142
|
/** The new read receipts state. */
|
|
3665
4143
|
readReceiptsEnabled?: boolean;
|
|
3666
4144
|
}
|
|
4145
|
+
interface Recipient {
|
|
4146
|
+
email?: string;
|
|
4147
|
+
}
|
|
3667
4148
|
interface RecordingEvent {
|
|
3668
4149
|
/** 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
4150
|
deviceId?: string;
|
|
@@ -3698,6 +4179,19 @@ declare namespace gapi.client {
|
|
|
3698
4179
|
/** Recording session's state information. */
|
|
3699
4180
|
sessionStateInfo?: SessionStateInfo;
|
|
3700
4181
|
}
|
|
4182
|
+
interface Reference {
|
|
4183
|
+
blobId?: string;
|
|
4184
|
+
contentType?: string;
|
|
4185
|
+
hash?: string;
|
|
4186
|
+
/** LINT.IfChange */
|
|
4187
|
+
key?: string;
|
|
4188
|
+
/** LINT.ThenChange(//depot/google3/storage/slice/production/gmail/ user_data_tables.pi) */
|
|
4189
|
+
name?: string;
|
|
4190
|
+
size?: string;
|
|
4191
|
+
}
|
|
4192
|
+
interface References {
|
|
4193
|
+
references?: Reference[];
|
|
4194
|
+
}
|
|
3701
4195
|
interface RenameEvent {
|
|
3702
4196
|
newName?: string;
|
|
3703
4197
|
originalName?: string;
|
|
@@ -3710,6 +4204,12 @@ declare namespace gapi.client {
|
|
|
3710
4204
|
/** The type of error. */
|
|
3711
4205
|
type?: string;
|
|
3712
4206
|
}
|
|
4207
|
+
interface RequestFileScope {
|
|
4208
|
+
itemId?: string;
|
|
4209
|
+
}
|
|
4210
|
+
// tslint:disable-next-line:no-empty-interface
|
|
4211
|
+
interface RequestFileScopeForActiveDocument {
|
|
4212
|
+
}
|
|
3713
4213
|
interface RequestOptions {
|
|
3714
4214
|
/** Debug options of the request */
|
|
3715
4215
|
debugOptions?: DebugOptions;
|
|
@@ -3743,8 +4243,6 @@ declare namespace gapi.client {
|
|
|
3743
4243
|
roleId?: number;
|
|
3744
4244
|
}
|
|
3745
4245
|
interface ResponseDebugInfo {
|
|
3746
|
-
/** Experiments enabled in QAPI. */
|
|
3747
|
-
enabledExperiments?: number[];
|
|
3748
4246
|
/** General debug info formatted for display. */
|
|
3749
4247
|
formattedDebugInfo?: string;
|
|
3750
4248
|
}
|
|
@@ -3807,6 +4305,8 @@ declare namespace gapi.client {
|
|
|
3807
4305
|
interface Roster {
|
|
3808
4306
|
avatarUrl?: string;
|
|
3809
4307
|
id?: RosterId;
|
|
4308
|
+
/** Whether caller has visibility into members of the roster. */
|
|
4309
|
+
isMembershipVisibleToCaller?: boolean;
|
|
3810
4310
|
membershipCount?: number;
|
|
3811
4311
|
name?: string;
|
|
3812
4312
|
/** Roster gaia key, usually an email address. Set in looking up rosters response. */
|
|
@@ -3820,6 +4320,15 @@ declare namespace gapi.client {
|
|
|
3820
4320
|
/** Opaque, server-assigned ID of the Roster. */
|
|
3821
4321
|
id?: string;
|
|
3822
4322
|
}
|
|
4323
|
+
interface RpcOptions {
|
|
4324
|
+
/**
|
|
4325
|
+
* The RPC's request extensions (i.e. RPC::request_extensions(), a.k.a. the Stubby side channel) will be merged with the specified [request_extensions]. When Triggers are batched, the
|
|
4326
|
+
* RPC's request extensions will be merged with all of the [request_extensions] of the Triggers in the batch. Note that merging of request extensions follows standard protocol buffer
|
|
4327
|
+
* semantics; values of singular fields override previous values, and values of repeated fields are appended (In the case of Triggers, Triggers with later fire times will be merged
|
|
4328
|
+
* after Triggers with earlier fire times in the same batch). It is not advised to specify extensions with repeated fields on batchable Triggers.
|
|
4329
|
+
*/
|
|
4330
|
+
requestExtensions?: any;
|
|
4331
|
+
}
|
|
3823
4332
|
interface SafeUrlProto {
|
|
3824
4333
|
/**
|
|
3825
4334
|
* 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
|
|
@@ -4017,6 +4526,20 @@ declare namespace gapi.client {
|
|
|
4017
4526
|
/** The value associated with this item which will be sent back to app scripts. Client should use as a form input value. */
|
|
4018
4527
|
value?: string;
|
|
4019
4528
|
}
|
|
4529
|
+
interface SessionContext {
|
|
4530
|
+
/** Time at which this activity's session was authenticated, in seconds since the epoch. */
|
|
4531
|
+
authTime?: string;
|
|
4532
|
+
/** Gaia ID of the authenticated user when delegate access is active. In such sessions the main gaia ID is that of the delegator, i.e. the account being accessed. */
|
|
4533
|
+
delegateUserId?: string;
|
|
4534
|
+
/** Device User Session ID, see go/dusi. */
|
|
4535
|
+
dusi?: string;
|
|
4536
|
+
/** Imap session context for Bond/Gmail integration */
|
|
4537
|
+
imapSessionContext?: ImapSessionContext;
|
|
4538
|
+
/** OAuth login ID. */
|
|
4539
|
+
oauthLoginId?: number;
|
|
4540
|
+
/** The devconsole project ID of the developer who authenticated with OAuth. */
|
|
4541
|
+
oauthProjectId?: string;
|
|
4542
|
+
}
|
|
4020
4543
|
interface SessionEvent {
|
|
4021
4544
|
/** The initiator of the latest event of the streaming session. It will be set for all user events (`type` is 100-199) and unset for all server events(`type` is 200-299). */
|
|
4022
4545
|
deviceId?: string;
|
|
@@ -4041,11 +4564,15 @@ declare namespace gapi.client {
|
|
|
4041
4564
|
sessionStopReason?: string;
|
|
4042
4565
|
}
|
|
4043
4566
|
interface Settings {
|
|
4044
|
-
/** The access lock of the meeting space that lets
|
|
4567
|
+
/** The access lock of the meeting space that lets hosts control who can join the meeting. */
|
|
4045
4568
|
accessLock?: boolean;
|
|
4569
|
+
/** The access type of the meeting space. */
|
|
4570
|
+
accessType?: string;
|
|
4571
|
+
/** Whether users can join before host in the conferences of this meeting space. */
|
|
4572
|
+
allowJoiningBeforeHost?: boolean;
|
|
4046
4573
|
/** Whether attendance report is enabled for the meeting space. */
|
|
4047
4574
|
attendanceReportEnabled?: boolean;
|
|
4048
|
-
/** The chat lock of the meeting space that lets owner control whether the participants can send chat messages.
|
|
4575
|
+
/** The chat lock of the meeting space that lets owner control whether the participants can send chat messages. */
|
|
4049
4576
|
chatLock?: boolean;
|
|
4050
4577
|
/** Whether meeting artifacts will be shared with cohosts. */
|
|
4051
4578
|
cohostArtifactSharingEnabled?: boolean;
|
|
@@ -4055,9 +4582,9 @@ declare namespace gapi.client {
|
|
|
4055
4582
|
defaultAsViewer?: boolean;
|
|
4056
4583
|
/** Indicates whether the meeting space is moderated. */
|
|
4057
4584
|
moderationEnabled?: boolean;
|
|
4058
|
-
/** The present lock of the meeting space that lets owner control whether the participants can present their screen.
|
|
4585
|
+
/** The present lock of the meeting space that lets owner control whether the participants can present their screen. */
|
|
4059
4586
|
presentLock?: boolean;
|
|
4060
|
-
/** The reactions lock of the meeting space that lets owner control whether the participants can send reactions.
|
|
4587
|
+
/** The reactions lock of the meeting space that lets owner control whether the participants can send reactions. */
|
|
4061
4588
|
reactionsLock?: boolean;
|
|
4062
4589
|
}
|
|
4063
4590
|
interface ShareScope {
|
|
@@ -4066,6 +4593,9 @@ declare namespace gapi.client {
|
|
|
4066
4593
|
/** The scope to which the content was shared. */
|
|
4067
4594
|
scope?: string;
|
|
4068
4595
|
}
|
|
4596
|
+
interface SheetsClientActionMarkup {
|
|
4597
|
+
customFunctionReturnValueMarkup?: CustomFunctionReturnValueMarkup;
|
|
4598
|
+
}
|
|
4069
4599
|
interface SigningKeyPossessorProto {
|
|
4070
4600
|
/** This value must be from the KeyMetadata.Type enum in keymaster.proto. */
|
|
4071
4601
|
keymasterKeyType?: number;
|
|
@@ -4291,6 +4821,9 @@ declare namespace gapi.client {
|
|
|
4291
4821
|
/** The value is what is passed back in apps script callback. */
|
|
4292
4822
|
value?: string;
|
|
4293
4823
|
}
|
|
4824
|
+
interface TaskActionMarkup {
|
|
4825
|
+
reloadTasks?: boolean;
|
|
4826
|
+
}
|
|
4294
4827
|
interface TextButton {
|
|
4295
4828
|
/** The alternative text used for accessibility Next field number: 7. */
|
|
4296
4829
|
altText?: string;
|
|
@@ -4356,6 +4889,35 @@ declare namespace gapi.client {
|
|
|
4356
4889
|
/** The maximum allowable length for text values is 2048 characters. */
|
|
4357
4890
|
values?: string[];
|
|
4358
4891
|
}
|
|
4892
|
+
interface ThreadKeySet {
|
|
4893
|
+
/** Messages on which the thread_key was changed. */
|
|
4894
|
+
messageKeys?: MultiKey[];
|
|
4895
|
+
/** The new thread_key for this thread */
|
|
4896
|
+
newThreadKey?: MultiKey;
|
|
4897
|
+
}
|
|
4898
|
+
interface ThreadUpdate {
|
|
4899
|
+
attributeRemoved?: AttributeRemoved;
|
|
4900
|
+
attributeSet?: AttributeSet;
|
|
4901
|
+
labelAdded?: LabelAdded;
|
|
4902
|
+
labelRemoved?: LabelRemoved;
|
|
4903
|
+
/** Indicates the record id of the last operation that modified this thread. */
|
|
4904
|
+
lastHistoryRecordId?: string;
|
|
4905
|
+
messageAdded?: MessageAdded;
|
|
4906
|
+
messageDeleted?: MessageDeleted;
|
|
4907
|
+
/**
|
|
4908
|
+
* The first non-empty thread-key on any message in the thread (including deleted messages). This field has been introduced to maintain backward compatibility for clients that are not
|
|
4909
|
+
* subthread aware.
|
|
4910
|
+
*/
|
|
4911
|
+
originalThreadKey?: MultiKey;
|
|
4912
|
+
/** The PreStates of all messages before the transaction. These are suppressed if the client requested that prestates not be included in the output of the GetHistoryRequest. */
|
|
4913
|
+
preState?: PreState[];
|
|
4914
|
+
/** Affected thread */
|
|
4915
|
+
threadKey?: MultiKey;
|
|
4916
|
+
threadKeySet?: ThreadKeySet;
|
|
4917
|
+
/** Thread PLID */
|
|
4918
|
+
threadLocator?: string;
|
|
4919
|
+
topicStateUpdate?: TopicStateUpdate;
|
|
4920
|
+
}
|
|
4359
4921
|
interface TimestampOperatorOptions {
|
|
4360
4922
|
/**
|
|
4361
4923
|
* Indicates the operator name required in the query in order to isolate the timestamp property using the greater-than operator. For example, if greaterThanOperatorName is
|
|
@@ -4403,6 +4965,29 @@ declare namespace gapi.client {
|
|
|
4403
4965
|
*/
|
|
4404
4966
|
topicId?: string;
|
|
4405
4967
|
}
|
|
4968
|
+
interface TopicState {
|
|
4969
|
+
/**
|
|
4970
|
+
* Map of label => count of topic constituent messages with label These only contain counts of labels that are relevant for topic normalization/denormalization. Eg. If a topic thread
|
|
4971
|
+
* has 5 constituents, 4 of which are in inbox, this will contain ^i => 4. Some labels of interest are archive, inbox, trash, spam, etc.
|
|
4972
|
+
*/
|
|
4973
|
+
labelIdMessageCount?: { [P in string]: number };
|
|
4974
|
+
/** Number of constituents for this entity. */
|
|
4975
|
+
numConstituents?: number;
|
|
4976
|
+
}
|
|
4977
|
+
interface TopicStateUpdate {
|
|
4978
|
+
topicState?: TopicState;
|
|
4979
|
+
}
|
|
4980
|
+
interface TransactionContext {
|
|
4981
|
+
/** The last HistoryRecord of the transaction. Note that this may correspond to a record that is filtered by Tingle (and thus not returned to the client). See http://b/9513464. */
|
|
4982
|
+
endingRecordId?: string;
|
|
4983
|
+
/** The first HistoryRecord of the transaction. Note that this may be a record of type INTERNAL. */
|
|
4984
|
+
startingRecordId?: string;
|
|
4985
|
+
/** The microsecond timestamp of the transaction. */
|
|
4986
|
+
writeTimestampUs?: string;
|
|
4987
|
+
}
|
|
4988
|
+
// tslint:disable-next-line:no-empty-interface
|
|
4989
|
+
interface TransactionDebugInfo {
|
|
4990
|
+
}
|
|
4406
4991
|
interface TranscriptionSessionInfo {
|
|
4407
4992
|
/** Transcription session's state information. */
|
|
4408
4993
|
sessionStateInfo?: SessionStateInfo;
|
|
@@ -4412,6 +4997,58 @@ declare namespace gapi.client {
|
|
|
4412
4997
|
// tslint:disable-next-line:no-empty-interface
|
|
4413
4998
|
interface TransientData {
|
|
4414
4999
|
}
|
|
5000
|
+
interface Trigger {
|
|
5001
|
+
/**
|
|
5002
|
+
* Each dispatcher should use an enum to for the actions that it supports. If a dispatcher has only one action, this does not need to be set. (It can be expanded later, defining the
|
|
5003
|
+
* default behaviour as type 0.) For purposes such as batching, the type of a trigger is (dispatcher, action_type).
|
|
5004
|
+
*/
|
|
5005
|
+
actionType?: number;
|
|
5006
|
+
/**
|
|
5007
|
+
* Maximum possible delay in micros that can be tolerated so triggers can be batched, which makes processing more efficient compared to firing triggers individually. Note that the
|
|
5008
|
+
* actual fire time will be somewhere in the timerange interval [fire_time_us, fire_time_us + batch_time_us).
|
|
5009
|
+
*/
|
|
5010
|
+
batchTimeUs?: string;
|
|
5011
|
+
/** Which server should interpret action_type. */
|
|
5012
|
+
dispatcher?: string;
|
|
5013
|
+
/** Must be set for DISPATCHER_STUBBY_DISPATCHER. */
|
|
5014
|
+
dispatchId?: number;
|
|
5015
|
+
/** Earliest time to fire at in microseconds. The actual time that the trigger will fire will be in the timerange: [fire_time_us, fire_time_us + batch_time_us). */
|
|
5016
|
+
fireTimeUs?: string;
|
|
5017
|
+
/** Must be set for DISPATCHER_JOBSETTED_PRIMARY. */
|
|
5018
|
+
jobsettedServerSpec?: JobsettedServerSpec;
|
|
5019
|
+
/** The trigger key, if applicable. */
|
|
5020
|
+
key?: string;
|
|
5021
|
+
rpcOptions?: RpcOptions;
|
|
5022
|
+
/**
|
|
5023
|
+
* The slice_fire_time_us is automatically computed and stored as part of the trigger write. It represents the exact fire time at which the trigger will be queued to fire and will
|
|
5024
|
+
* satisfy fire_time_us < slice_fire_time_us <= fire_time_us + batch_time_us Triggers have an index row in the slice trigger index with the row prefix matching this time. Note that
|
|
5025
|
+
* this field is internal to gmail_cp and is ignored if set by external clients when adding / updating triggers.
|
|
5026
|
+
*/
|
|
5027
|
+
sliceFireTimeUs?: string;
|
|
5028
|
+
/** Trigger action to perform. This should always be set. */
|
|
5029
|
+
triggerAction?: TriggerAction;
|
|
5030
|
+
/** The TriggerKey will uniquely determine a trigger within a given context. A context is a single message for message triggers or a single account for account triggers. */
|
|
5031
|
+
triggerKey?: TriggerKey;
|
|
5032
|
+
}
|
|
5033
|
+
interface TriggerAction {
|
|
5034
|
+
action?: string;
|
|
5035
|
+
/** Clients should use extensions on the Trigger message instead. */
|
|
5036
|
+
data?: string;
|
|
5037
|
+
dataInt?: string;
|
|
5038
|
+
}
|
|
5039
|
+
interface TriggerKey {
|
|
5040
|
+
/** Identifier to distinguish multiple Triggers of the same type (per message or per account). */
|
|
5041
|
+
instanceId?: string;
|
|
5042
|
+
/**
|
|
5043
|
+
* A non-empty string that identifies the type of Trigger. Triggers of the same type may be batched together. The universe of values for the type field should be finite as it is used
|
|
5044
|
+
* as a stats key.
|
|
5045
|
+
*/
|
|
5046
|
+
type?: string;
|
|
5047
|
+
}
|
|
5048
|
+
interface Triggers {
|
|
5049
|
+
/** A list of triggers. */
|
|
5050
|
+
triggers?: Trigger[];
|
|
5051
|
+
}
|
|
4415
5052
|
interface TrustedResourceUrlProto {
|
|
4416
5053
|
/**
|
|
4417
5054
|
* 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
|
|
@@ -4449,17 +5086,40 @@ declare namespace gapi.client {
|
|
|
4449
5086
|
/** The name of a queue to unreserve items from. */
|
|
4450
5087
|
queue?: string;
|
|
4451
5088
|
}
|
|
5089
|
+
interface UpdateBccRecipients {
|
|
5090
|
+
bccRecipients?: Recipient[];
|
|
5091
|
+
}
|
|
5092
|
+
interface UpdateBody {
|
|
5093
|
+
/** 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. */
|
|
5094
|
+
insertContents?: InsertContent[];
|
|
5095
|
+
type?: string;
|
|
5096
|
+
}
|
|
5097
|
+
interface UpdateCcRecipients {
|
|
5098
|
+
ccRecipients?: Recipient[];
|
|
5099
|
+
}
|
|
4452
5100
|
interface UpdateDataSourceRequest {
|
|
4453
5101
|
/** Common debug options. */
|
|
4454
5102
|
debugOptions?: DebugOptions;
|
|
4455
5103
|
source?: DataSource;
|
|
4456
5104
|
/**
|
|
4457
|
-
*
|
|
4458
|
-
*
|
|
4459
|
-
*
|
|
5105
|
+
* 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
|
|
5106
|
+
* 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
|
|
5107
|
+
* `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
5108
|
*/
|
|
4461
5109
|
updateMask?: string;
|
|
4462
5110
|
}
|
|
5111
|
+
interface UpdateDraftActionMarkup {
|
|
5112
|
+
/** If set, replaces the existing Bcc recipients of the draft the user is currently editing. */
|
|
5113
|
+
updateBccRecipients?: UpdateBccRecipients;
|
|
5114
|
+
/** A field that contains a series of update actions to perform on the draft body that the user is currently editing. */
|
|
5115
|
+
updateBody?: UpdateBody;
|
|
5116
|
+
/** If set, replaces the existing Cc recipients of the draft the user is currently editing. */
|
|
5117
|
+
updateCcRecipients?: UpdateCcRecipients;
|
|
5118
|
+
/** If set, replaces the existing subject of the draft the user is currently editing. */
|
|
5119
|
+
updateSubject?: UpdateSubject;
|
|
5120
|
+
/** If set, replaces the existing To recipients of the draft the user is currently editing. */
|
|
5121
|
+
updateToRecipients?: UpdateToRecipients;
|
|
5122
|
+
}
|
|
4463
5123
|
interface UpdateSchemaRequest {
|
|
4464
5124
|
/** Common debug options. */
|
|
4465
5125
|
debugOptions?: DebugOptions;
|
|
@@ -4468,6 +5128,12 @@ declare namespace gapi.client {
|
|
|
4468
5128
|
/** If true, the schema will be checked for validity, but will not be registered with the data source, even if valid. */
|
|
4469
5129
|
validateOnly?: boolean;
|
|
4470
5130
|
}
|
|
5131
|
+
interface UpdateSubject {
|
|
5132
|
+
subject?: string;
|
|
5133
|
+
}
|
|
5134
|
+
interface UpdateToRecipients {
|
|
5135
|
+
toRecipients?: Recipient[];
|
|
5136
|
+
}
|
|
4471
5137
|
interface UploadItemRef {
|
|
4472
5138
|
/** The name of the content reference. The maximum length is 2048 characters. */
|
|
4473
5139
|
name?: string;
|
|
@@ -4495,6 +5161,8 @@ declare namespace gapi.client {
|
|
|
4495
5161
|
contentType?: string;
|
|
4496
5162
|
/** The metrics metadata of the Data Loss Prevention attachment scan. */
|
|
4497
5163
|
dlpMetricsMetadata?: AppsDynamiteSharedDlpMetricsMetadata;
|
|
5164
|
+
/** The timestamp of the most recent virus scan completed (in microseconds). */
|
|
5165
|
+
latestVirusScanTimestamp?: string;
|
|
4498
5166
|
/** A copy of the LocalId in Annotation. This field is supposed to be filled by server only. */
|
|
4499
5167
|
localId?: string;
|
|
4500
5168
|
/** Original dimension of the content. Only set for image attachments. */
|
|
@@ -4521,6 +5189,8 @@ declare namespace gapi.client {
|
|
|
4521
5189
|
intImageHeight?: number;
|
|
4522
5190
|
/** Dimensions of the image: width. */
|
|
4523
5191
|
intImageWidth?: number;
|
|
5192
|
+
/** NEXT TAG : 18 */
|
|
5193
|
+
linkType?: string;
|
|
4524
5194
|
/**
|
|
4525
5195
|
* 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
5196
|
* 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 +5206,6 @@ declare namespace gapi.client {
|
|
|
4536
5206
|
title?: string;
|
|
4537
5207
|
/** The original URL. */
|
|
4538
5208
|
url?: SafeUrlProto;
|
|
4539
|
-
/** NEXT TAG : 17 */
|
|
4540
5209
|
urlSource?: string;
|
|
4541
5210
|
}
|
|
4542
5211
|
interface User {
|
|
@@ -6091,9 +6760,10 @@ declare namespace gapi.client {
|
|
|
6091
6760
|
/** 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
6761
|
quotaUser?: string;
|
|
6093
6762
|
/**
|
|
6094
|
-
*
|
|
6095
|
-
*
|
|
6096
|
-
*
|
|
6763
|
+
* 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
|
|
6764
|
+
* 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
|
|
6765
|
+
* 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
|
|
6766
|
+
* updated.
|
|
6097
6767
|
*/
|
|
6098
6768
|
updateMask?: string;
|
|
6099
6769
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
@@ -6127,9 +6797,10 @@ declare namespace gapi.client {
|
|
|
6127
6797
|
/** 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
6798
|
quotaUser?: string;
|
|
6129
6799
|
/**
|
|
6130
|
-
*
|
|
6131
|
-
*
|
|
6132
|
-
*
|
|
6800
|
+
* 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
|
|
6801
|
+
* 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
|
|
6802
|
+
* 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
|
|
6803
|
+
* updated.
|
|
6133
6804
|
*/
|
|
6134
6805
|
updateMask?: string;
|
|
6135
6806
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
@@ -6360,9 +7031,10 @@ declare namespace gapi.client {
|
|
|
6360
7031
|
/** 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
7032
|
quotaUser?: string;
|
|
6362
7033
|
/**
|
|
6363
|
-
*
|
|
6364
|
-
*
|
|
6365
|
-
*
|
|
7034
|
+
* Only applies to [`settings.searchapplications.patch`](https://developers.google.com/cloud-search/docs/reference/rest/v1/settings.searchapplications/patch). Update mask to
|
|
7035
|
+
* 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
|
|
7036
|
+
* 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
|
|
7037
|
+
* `update_mask` is not present or empty or has the value `*`, then all fields are updated.
|
|
6366
7038
|
*/
|
|
6367
7039
|
updateMask?: string;
|
|
6368
7040
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
@@ -6394,9 +7066,10 @@ declare namespace gapi.client {
|
|
|
6394
7066
|
/** 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
7067
|
quotaUser?: string;
|
|
6396
7068
|
/**
|
|
6397
|
-
*
|
|
6398
|
-
*
|
|
6399
|
-
*
|
|
7069
|
+
* Only applies to [`settings.searchapplications.patch`](https://developers.google.com/cloud-search/docs/reference/rest/v1/settings.searchapplications/patch). Update mask to
|
|
7070
|
+
* 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
|
|
7071
|
+
* 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
|
|
7072
|
+
* `update_mask` is not present or empty or has the value `*`, then all fields are updated.
|
|
6400
7073
|
*/
|
|
6401
7074
|
updateMask?: string;
|
|
6402
7075
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
@@ -6484,9 +7157,10 @@ declare namespace gapi.client {
|
|
|
6484
7157
|
/** 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
7158
|
quotaUser?: string;
|
|
6486
7159
|
/**
|
|
6487
|
-
*
|
|
6488
|
-
*
|
|
6489
|
-
*
|
|
7160
|
+
* Only applies to [`settings.searchapplications.patch`](https://developers.google.com/cloud-search/docs/reference/rest/v1/settings.searchapplications/patch). Update mask to
|
|
7161
|
+
* 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
|
|
7162
|
+
* 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
|
|
7163
|
+
* `update_mask` is not present or empty or has the value `*`, then all fields are updated.
|
|
6490
7164
|
*/
|
|
6491
7165
|
updateMask?: string;
|
|
6492
7166
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
@@ -6518,9 +7192,10 @@ declare namespace gapi.client {
|
|
|
6518
7192
|
/** 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
7193
|
quotaUser?: string;
|
|
6520
7194
|
/**
|
|
6521
|
-
*
|
|
6522
|
-
*
|
|
6523
|
-
*
|
|
7195
|
+
* Only applies to [`settings.searchapplications.patch`](https://developers.google.com/cloud-search/docs/reference/rest/v1/settings.searchapplications/patch). Update mask to
|
|
7196
|
+
* 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
|
|
7197
|
+
* 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
|
|
7198
|
+
* `update_mask` is not present or empty or has the value `*`, then all fields are updated.
|
|
6524
7199
|
*/
|
|
6525
7200
|
updateMask?: string;
|
|
6526
7201
|
/** 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: 20221108
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|
|
@@ -183,6 +183,11 @@ gapi.load('client', async () => {
|
|
|
183
183
|
},
|
|
184
184
|
},
|
|
185
185
|
integerPropertyOptions: {
|
|
186
|
+
integerFacetingOptions: {
|
|
187
|
+
integerBuckets: [
|
|
188
|
+
"Test string"
|
|
189
|
+
],
|
|
190
|
+
},
|
|
186
191
|
maximumValue: "Test string",
|
|
187
192
|
minimumValue: "Test string",
|
|
188
193
|
operatorOptions: {
|
|
@@ -601,6 +606,11 @@ gapi.load('client', async () => {
|
|
|
601
606
|
],
|
|
602
607
|
facetOptions: [
|
|
603
608
|
{
|
|
609
|
+
integerFacetingOptions: {
|
|
610
|
+
integerBuckets: [
|
|
611
|
+
"Test string"
|
|
612
|
+
],
|
|
613
|
+
},
|
|
604
614
|
numFacetBuckets: 42,
|
|
605
615
|
objectType: "Test string",
|
|
606
616
|
operatorName: "Test string",
|
|
@@ -841,6 +851,11 @@ gapi.load('client', async () => {
|
|
|
841
851
|
],
|
|
842
852
|
defaultFacetOptions: [
|
|
843
853
|
{
|
|
854
|
+
integerFacetingOptions: {
|
|
855
|
+
integerBuckets: [
|
|
856
|
+
"Test string"
|
|
857
|
+
],
|
|
858
|
+
},
|
|
844
859
|
numFacetBuckets: 42,
|
|
845
860
|
objectType: "Test string",
|
|
846
861
|
operatorName: "Test string",
|
|
@@ -939,6 +954,11 @@ gapi.load('client', async () => {
|
|
|
939
954
|
],
|
|
940
955
|
defaultFacetOptions: [
|
|
941
956
|
{
|
|
957
|
+
integerFacetingOptions: {
|
|
958
|
+
integerBuckets: [
|
|
959
|
+
"Test string"
|
|
960
|
+
],
|
|
961
|
+
},
|
|
942
962
|
numFacetBuckets: 42,
|
|
943
963
|
objectType: "Test string",
|
|
944
964
|
operatorName: "Test string",
|
|
@@ -1029,6 +1049,11 @@ gapi.load('client', async () => {
|
|
|
1029
1049
|
],
|
|
1030
1050
|
defaultFacetOptions: [
|
|
1031
1051
|
{
|
|
1052
|
+
integerFacetingOptions: {
|
|
1053
|
+
integerBuckets: [
|
|
1054
|
+
"Test string"
|
|
1055
|
+
],
|
|
1056
|
+
},
|
|
1032
1057
|
numFacetBuckets: 42,
|
|
1033
1058
|
objectType: "Test string",
|
|
1034
1059
|
operatorName: "Test string",
|