@maxim_mazurok/gapi.client.cloudsearch-v1 0.0.20221018 → 0.0.20221122
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 +497 -21
- 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: 20221122
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -1137,6 +1137,24 @@ declare namespace gapi.client {
|
|
|
1137
1137
|
/** The height of image url as fetched by fife. This field is asynchronously filled. */
|
|
1138
1138
|
slackDataImageUrlHeight?: number;
|
|
1139
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
|
+
}
|
|
1140
1158
|
interface AuditLoggingSettings {
|
|
1141
1159
|
/** Indicates whether audit logging is on/off for admin activity read APIs i.e. Get/List DataSources, Get/List SearchApplications etc. */
|
|
1142
1160
|
logAdminReadActions?: boolean;
|
|
@@ -1295,8 +1313,6 @@ declare namespace gapi.client {
|
|
|
1295
1313
|
* this field is empty. For recurring events, it refers to the recurring instance associated with the current call, as determined by the server.
|
|
1296
1314
|
*/
|
|
1297
1315
|
calendarEventId?: string;
|
|
1298
|
-
/** Configuration for the chat for this conference. */
|
|
1299
|
-
chatConfig?: ChatConfig;
|
|
1300
1316
|
/**
|
|
1301
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
|
|
1302
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
|
|
@@ -1314,12 +1330,6 @@ declare namespace gapi.client {
|
|
|
1314
1330
|
* and not changed during the lifetime of the conference. But there are some cases where it may change, so clients should be aware that the information may be stale.
|
|
1315
1331
|
*/
|
|
1316
1332
|
maxJoinedDevices?: number;
|
|
1317
|
-
/**
|
|
1318
|
-
* 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
|
|
1319
|
-
* 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
|
|
1320
|
-
* be displayed about the media backend.
|
|
1321
|
-
*/
|
|
1322
|
-
mediaBackendInfo?: string;
|
|
1323
1333
|
/**
|
|
1324
1334
|
* Output only. The name or description of the organization or domain that the organizer belongs to. The expected use of this in clients is to present messages like "John Doe (outside
|
|
1325
1335
|
* of Google.com) is trying to join this call", where "Google.com" is the organization name. The field will be empty if the organization name could not be determined, possibly because
|
|
@@ -1417,15 +1427,22 @@ declare namespace gapi.client {
|
|
|
1417
1427
|
*/
|
|
1418
1428
|
title?: string;
|
|
1419
1429
|
}
|
|
1430
|
+
interface CaribouAttributeValue {
|
|
1431
|
+
/** Tags 1 through 15 are reserved for the most commonly used fields. */
|
|
1432
|
+
booleanValue?: boolean;
|
|
1433
|
+
intValue?: number;
|
|
1434
|
+
longValue?: string;
|
|
1435
|
+
/**
|
|
1436
|
+
* 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
|
|
1437
|
+
* 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
|
|
1438
|
+
* introduction of the Attribute.Value.
|
|
1439
|
+
*/
|
|
1440
|
+
rawByteValue?: string;
|
|
1441
|
+
stringValue?: string;
|
|
1442
|
+
}
|
|
1420
1443
|
// tslint:disable-next-line:no-empty-interface
|
|
1421
1444
|
interface ChatClientActionMarkup {
|
|
1422
1445
|
}
|
|
1423
|
-
interface ChatConfig {
|
|
1424
|
-
/** The Type of chat this Conference is currently using. */
|
|
1425
|
-
chatType?: string;
|
|
1426
|
-
/** The configuration of Google Chat when selected. */
|
|
1427
|
-
googleChatConfig?: GoogleChatConfig;
|
|
1428
|
-
}
|
|
1429
1446
|
interface ChatConserverDynamitePlaceholderMetadata {
|
|
1430
1447
|
attachmentMetadata?: ChatConserverDynamitePlaceholderMetadataAttachmentMetadata;
|
|
1431
1448
|
botMessageMetadata?: any;
|
|
@@ -1516,10 +1533,32 @@ declare namespace gapi.client {
|
|
|
1516
1533
|
*/
|
|
1517
1534
|
requiredConsistencyTimestampUsec?: string;
|
|
1518
1535
|
}
|
|
1536
|
+
interface ClientContext {
|
|
1537
|
+
/**
|
|
1538
|
+
* 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
|
|
1539
|
+
* the lower level.
|
|
1540
|
+
*/
|
|
1541
|
+
clientOperationId?: string;
|
|
1542
|
+
/** E.g. "pinto", "imap", "bigtop", "upload" */
|
|
1543
|
+
clientType?: string;
|
|
1544
|
+
/** Contains information about the session which created this history record. This will be empty if the history record was generated by an internal request. */
|
|
1545
|
+
sessionContext?: SessionContext;
|
|
1546
|
+
/** Textual representation of the user's IP address, if available. */
|
|
1547
|
+
userIp?: string;
|
|
1548
|
+
}
|
|
1519
1549
|
interface CloudPrincipalProto {
|
|
1520
1550
|
/** Format: "{identity-pool}:{subject}#" Details: go/cloud-principal-identifiers */
|
|
1521
1551
|
id?: string;
|
|
1522
1552
|
}
|
|
1553
|
+
interface ClusterInfo {
|
|
1554
|
+
/**
|
|
1555
|
+
* 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,
|
|
1556
|
+
* unclustered.
|
|
1557
|
+
*/
|
|
1558
|
+
clusterId?: string[];
|
|
1559
|
+
/** If the thread belongs to a grouped cluster and all of those clusters are throttled, then this field is set to true. */
|
|
1560
|
+
throttled?: boolean;
|
|
1561
|
+
}
|
|
1523
1562
|
interface CoActivity {
|
|
1524
1563
|
/** 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. */
|
|
1525
1564
|
activityTitle?: string;
|
|
@@ -1956,6 +1995,10 @@ declare namespace gapi.client {
|
|
|
1956
1995
|
interface DriveTimeSpanRestrict {
|
|
1957
1996
|
type?: string;
|
|
1958
1997
|
}
|
|
1998
|
+
interface DynamiteMessagesScoringInfo {
|
|
1999
|
+
messageAgeInDays?: number;
|
|
2000
|
+
topicalityScore?: number;
|
|
2001
|
+
}
|
|
1959
2002
|
interface DynamiteSpacesScoringInfo {
|
|
1960
2003
|
affinityScore?: number;
|
|
1961
2004
|
commonContactCountAffinityScore?: number;
|
|
@@ -2091,6 +2134,8 @@ declare namespace gapi.client {
|
|
|
2091
2134
|
* always returned.
|
|
2092
2135
|
*/
|
|
2093
2136
|
count?: number;
|
|
2137
|
+
/** Filter to be passed in the search request if the corresponding bucket is selected. */
|
|
2138
|
+
filter?: Filter;
|
|
2094
2139
|
/**
|
|
2095
2140
|
* 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
|
|
2096
2141
|
* 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
|
|
@@ -2100,6 +2145,11 @@ declare namespace gapi.client {
|
|
|
2100
2145
|
value?: Value;
|
|
2101
2146
|
}
|
|
2102
2147
|
interface FacetOptions {
|
|
2148
|
+
/**
|
|
2149
|
+
* 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
|
|
2150
|
+
* returned would be minimum of this and num_facet_buckets.
|
|
2151
|
+
*/
|
|
2152
|
+
integerFacetingOptions?: IntegerFacetingOptions;
|
|
2103
2153
|
/** Maximum number of facet buckets that should be returned for this facet. Defaults to 10. Maximum value is 100. */
|
|
2104
2154
|
numFacetBuckets?: number;
|
|
2105
2155
|
/** 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. */
|
|
@@ -2129,6 +2179,12 @@ declare namespace gapi.client {
|
|
|
2129
2179
|
compositeFilter?: CompositeFilter;
|
|
2130
2180
|
valueFilter?: ValueFilter;
|
|
2131
2181
|
}
|
|
2182
|
+
// tslint:disable-next-line:no-empty-interface
|
|
2183
|
+
interface FilterCreated {
|
|
2184
|
+
}
|
|
2185
|
+
// tslint:disable-next-line:no-empty-interface
|
|
2186
|
+
interface FilterDeleted {
|
|
2187
|
+
}
|
|
2132
2188
|
interface FilterOptions {
|
|
2133
2189
|
/** Generic filter to restrict the search, such as `lang:en`, `site:xyz`. */
|
|
2134
2190
|
filter?: Filter;
|
|
@@ -2138,11 +2194,26 @@ declare namespace gapi.client {
|
|
|
2138
2194
|
*/
|
|
2139
2195
|
objectType?: string;
|
|
2140
2196
|
}
|
|
2197
|
+
interface FilterUpdate {
|
|
2198
|
+
filterCreated?: any;
|
|
2199
|
+
filterDeleted?: any;
|
|
2200
|
+
filterId?: string;
|
|
2201
|
+
}
|
|
2141
2202
|
interface FixedFooter {
|
|
2142
2203
|
buttons?: Button[];
|
|
2143
2204
|
primaryButton?: TextButton;
|
|
2144
2205
|
secondaryButton?: TextButton;
|
|
2145
2206
|
}
|
|
2207
|
+
interface Folder {
|
|
2208
|
+
/** Folder mapping id. */
|
|
2209
|
+
id?: string;
|
|
2210
|
+
/** One for each copy of the message in the IMAP folder. */
|
|
2211
|
+
message?: ImapsyncFolderAttributeFolderMessage[];
|
|
2212
|
+
}
|
|
2213
|
+
interface FolderAttribute {
|
|
2214
|
+
/** List of all IMAP folders where the message presents. */
|
|
2215
|
+
folder?: Folder[];
|
|
2216
|
+
}
|
|
2146
2217
|
interface FormAction {
|
|
2147
2218
|
/** Apps script function that should be invoked in the developer's apps script when the containing element is clicked/activated. */
|
|
2148
2219
|
actionMethodName?: string;
|
|
@@ -2190,6 +2261,68 @@ declare namespace gapi.client {
|
|
|
2190
2261
|
*/
|
|
2191
2262
|
freshnessProperty?: string;
|
|
2192
2263
|
}
|
|
2264
|
+
interface FuseboxItem {
|
|
2265
|
+
attributes?: Attributes;
|
|
2266
|
+
/** The creation time of the Item in micro seconds. */
|
|
2267
|
+
creationTimeMicroseconds?: string;
|
|
2268
|
+
history?: History;
|
|
2269
|
+
/** 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. */
|
|
2270
|
+
itemKey?: MultiKey;
|
|
2271
|
+
labels?: Labels;
|
|
2272
|
+
/** The modification time of the Item in micro seconds. Modifications to the message include label addition, deletion, etc. */
|
|
2273
|
+
lastModificationTimeUs?: string;
|
|
2274
|
+
/** go/lockpicker Locker counterpart of references. */
|
|
2275
|
+
lockerReferences?: References;
|
|
2276
|
+
matchInfo?: MatchInfo;
|
|
2277
|
+
/** Type-specific data are represented as extensions to the ItemParts message. */
|
|
2278
|
+
parts?: any;
|
|
2279
|
+
/**
|
|
2280
|
+
* 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
|
|
2281
|
+
* populated by Fusebox RPCs. "DO NOT USE UNLESS YOU TALK TO FUSEBOX TEAM (gmail-fusebox@)".
|
|
2282
|
+
*/
|
|
2283
|
+
readTs?: string;
|
|
2284
|
+
/** References to attachments, video attachments in Youtube and Hangout messages. */
|
|
2285
|
+
references?: References;
|
|
2286
|
+
/** The snippet is a brief bit of text describing this item. */
|
|
2287
|
+
snippet?: string;
|
|
2288
|
+
/** The key of the Thread with which this Item is associated. */
|
|
2289
|
+
threadKey?: MultiKey;
|
|
2290
|
+
/** 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. */
|
|
2291
|
+
threadLocator?: string;
|
|
2292
|
+
triggers?: Triggers;
|
|
2293
|
+
/** The latest history operation id that resulted in a mutation of the item. */
|
|
2294
|
+
version?: string;
|
|
2295
|
+
}
|
|
2296
|
+
interface FuseboxItemThreadMatchInfo {
|
|
2297
|
+
/**
|
|
2298
|
+
* 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
|
|
2299
|
+
* belongs, if any. The cluster ID will be a label on the message.
|
|
2300
|
+
*/
|
|
2301
|
+
clusterId?: string;
|
|
2302
|
+
/**
|
|
2303
|
+
* 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
|
|
2304
|
+
* sorted, in descending (i.e. newest first) order.
|
|
2305
|
+
*/
|
|
2306
|
+
lastMatchingItemId?: string;
|
|
2307
|
+
/**
|
|
2308
|
+
* 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
|
|
2309
|
+
* sorted, in descending (i.e. newest first) order.
|
|
2310
|
+
*/
|
|
2311
|
+
lastMatchingItemKey?: MultiKey;
|
|
2312
|
+
/**
|
|
2313
|
+
* 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
|
|
2314
|
+
* extra computation.
|
|
2315
|
+
*/
|
|
2316
|
+
matchingItemKey?: MultiKey[];
|
|
2317
|
+
/**
|
|
2318
|
+
* 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
|
|
2319
|
+
* a specific time.
|
|
2320
|
+
*/
|
|
2321
|
+
rank?: Rank;
|
|
2322
|
+
}
|
|
2323
|
+
interface FuseboxPrefUpdatePreState {
|
|
2324
|
+
value?: string;
|
|
2325
|
+
}
|
|
2193
2326
|
interface GaiaGroupProto {
|
|
2194
2327
|
groupId?: string;
|
|
2195
2328
|
}
|
|
@@ -2256,10 +2389,6 @@ declare namespace gapi.client {
|
|
|
2256
2389
|
taskAction?: TaskActionMarkup;
|
|
2257
2390
|
updateDraftActionMarkup?: UpdateDraftActionMarkup;
|
|
2258
2391
|
}
|
|
2259
|
-
interface GoogleChatConfig {
|
|
2260
|
-
/** ID of the Chat group. */
|
|
2261
|
-
chatGroupId?: string;
|
|
2262
|
-
}
|
|
2263
2392
|
interface GoogleChatV1ContextualAddOnMarkup {
|
|
2264
2393
|
/** A list of cards. A card must contain a header and at least 1 section. */
|
|
2265
2394
|
cards?: GoogleChatV1ContextualAddOnMarkupCard[];
|
|
@@ -2508,6 +2637,24 @@ declare namespace gapi.client {
|
|
|
2508
2637
|
interface HashtagData {
|
|
2509
2638
|
searchText?: string;
|
|
2510
2639
|
}
|
|
2640
|
+
interface History {
|
|
2641
|
+
record?: HistoryRecord[];
|
|
2642
|
+
}
|
|
2643
|
+
interface HistoryRecord {
|
|
2644
|
+
/** 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. */
|
|
2645
|
+
clientContext?: ClientContext;
|
|
2646
|
+
filterUpdate?: FilterUpdate;
|
|
2647
|
+
imapUpdate?: ImapUpdate;
|
|
2648
|
+
labelUpdate?: LabelUpdate;
|
|
2649
|
+
prefUpdate?: PrefUpdate;
|
|
2650
|
+
/** Each HistoryRecord has a unique id. Ids are monotonically increasing, and not necessarily contiguous. */
|
|
2651
|
+
recordId?: string;
|
|
2652
|
+
threadUpdate?: ThreadUpdate;
|
|
2653
|
+
/** 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. */
|
|
2654
|
+
transactionContext?: TransactionContext;
|
|
2655
|
+
txnDebugInfo?: any;
|
|
2656
|
+
type?: string;
|
|
2657
|
+
}
|
|
2511
2658
|
interface HostAppActionMarkup {
|
|
2512
2659
|
/** Actions handled by Calendar. */
|
|
2513
2660
|
calendarAction?: CalendarClientActionMarkup;
|
|
@@ -2607,6 +2754,45 @@ declare namespace gapi.client {
|
|
|
2607
2754
|
onClick?: OnClick;
|
|
2608
2755
|
text?: string;
|
|
2609
2756
|
}
|
|
2757
|
+
interface ImapSessionContext {
|
|
2758
|
+
app?: string;
|
|
2759
|
+
/** User agent information */
|
|
2760
|
+
deviceType?: string;
|
|
2761
|
+
/**
|
|
2762
|
+
* 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
|
|
2763
|
+
* clients will provide aguid or guid through ID command.
|
|
2764
|
+
*/
|
|
2765
|
+
guidFingerprint?: string;
|
|
2766
|
+
os?: string;
|
|
2767
|
+
osVersion?: OsVersion;
|
|
2768
|
+
possiblyTrimmedModel?: PossiblyTrimmedModel;
|
|
2769
|
+
}
|
|
2770
|
+
interface ImapSyncDelete {
|
|
2771
|
+
/** Contains the value of //imapsync/folder attribute of deleted message. */
|
|
2772
|
+
mappings?: FolderAttribute;
|
|
2773
|
+
msgId?: string;
|
|
2774
|
+
}
|
|
2775
|
+
interface ImapsyncFolderAttributeFolderMessage {
|
|
2776
|
+
/** Flags of the message. Represents unseen and flagged state. */
|
|
2777
|
+
flags?: ImapsyncFolderAttributeFolderMessageFlags;
|
|
2778
|
+
/** UID of the message. */
|
|
2779
|
+
uid?: string;
|
|
2780
|
+
}
|
|
2781
|
+
interface ImapsyncFolderAttributeFolderMessageFlags {
|
|
2782
|
+
/** Flagged state of the message. */
|
|
2783
|
+
flagged?: boolean;
|
|
2784
|
+
/** Seen state of the message. */
|
|
2785
|
+
seen?: boolean;
|
|
2786
|
+
}
|
|
2787
|
+
interface ImapUidsReassign {
|
|
2788
|
+
/** Label */
|
|
2789
|
+
labelId?: string;
|
|
2790
|
+
/** The message Ids */
|
|
2791
|
+
messageId?: string[];
|
|
2792
|
+
}
|
|
2793
|
+
interface ImapUpdate {
|
|
2794
|
+
imapUidsReassign?: ImapUidsReassign;
|
|
2795
|
+
}
|
|
2610
2796
|
interface IncomingWebhookChangedMetadata {
|
|
2611
2797
|
/** The webhook name at the time of the change. Used in Spanner storage, BE API responses and FE API responses. */
|
|
2612
2798
|
incomingWebhookName?: string;
|
|
@@ -2649,6 +2835,13 @@ declare namespace gapi.client {
|
|
|
2649
2835
|
contentType?: string;
|
|
2650
2836
|
mimeType?: string;
|
|
2651
2837
|
}
|
|
2838
|
+
interface IntegerFacetingOptions {
|
|
2839
|
+
/**
|
|
2840
|
+
* 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),
|
|
2841
|
+
* [5-10), [10-100), >=100}.
|
|
2842
|
+
*/
|
|
2843
|
+
integerBuckets?: string[];
|
|
2844
|
+
}
|
|
2652
2845
|
interface IntegerOperatorOptions {
|
|
2653
2846
|
/**
|
|
2654
2847
|
* 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
|
|
@@ -2671,6 +2864,8 @@ declare namespace gapi.client {
|
|
|
2671
2864
|
operatorName?: string;
|
|
2672
2865
|
}
|
|
2673
2866
|
interface IntegerPropertyOptions {
|
|
2867
|
+
/** If set, describes integer faceting options for the given integer property. The corresponding integer property should be marked isFacetable. */
|
|
2868
|
+
integerFacetingOptions?: IntegerFacetingOptions;
|
|
2674
2869
|
/**
|
|
2675
2870
|
* 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
|
|
2676
2871
|
* than the maximum are accepted and ranked with the same weight as items indexed with the maximum value.
|
|
@@ -2840,6 +3035,9 @@ declare namespace gapi.client {
|
|
|
2840
3035
|
/** The time when the item was last modified in the source repository. */
|
|
2841
3036
|
updateTime?: string;
|
|
2842
3037
|
}
|
|
3038
|
+
// tslint:disable-next-line:no-empty-interface
|
|
3039
|
+
interface ItemParts {
|
|
3040
|
+
}
|
|
2843
3041
|
interface ItemStatus {
|
|
2844
3042
|
/** Status code. */
|
|
2845
3043
|
code?: string;
|
|
@@ -2854,6 +3052,40 @@ declare namespace gapi.client {
|
|
|
2854
3052
|
/** The structured data object that should conform to a registered object definition in the schema for the data source. */
|
|
2855
3053
|
object?: StructuredDataObject;
|
|
2856
3054
|
}
|
|
3055
|
+
interface ItemThread {
|
|
3056
|
+
clusterInfo?: ClusterInfo;
|
|
3057
|
+
/**
|
|
3058
|
+
* 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
|
|
3059
|
+
* are available in the ItemThreadView returned in the overall rpc response.
|
|
3060
|
+
*/
|
|
3061
|
+
item?: FuseboxItem[];
|
|
3062
|
+
/**
|
|
3063
|
+
* 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
|
|
3064
|
+
* to perform operations on the ItemThread, this value can be used as the [high_item_id_watermark].
|
|
3065
|
+
*/
|
|
3066
|
+
lastItemId?: string;
|
|
3067
|
+
matchInfo?: FuseboxItemThreadMatchInfo;
|
|
3068
|
+
/** A snippet summarizing the thread. This field is only populated for searches. */
|
|
3069
|
+
snippet?: string;
|
|
3070
|
+
/**
|
|
3071
|
+
* 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
|
|
3072
|
+
* 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
|
|
3073
|
+
* of the "original thread id" in the CSS API.
|
|
3074
|
+
*/
|
|
3075
|
+
threadKey?: MultiKey;
|
|
3076
|
+
/** 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. */
|
|
3077
|
+
threadLocator?: string;
|
|
3078
|
+
/** Next available id : 10 */
|
|
3079
|
+
topicState?: TopicState;
|
|
3080
|
+
/** The latest history operation id that resulted in a mutation of any item in the thread. */
|
|
3081
|
+
version?: string;
|
|
3082
|
+
}
|
|
3083
|
+
interface JobsettedServerSpec {
|
|
3084
|
+
/** E.g. "gateway", "stubby" etc. Leave unset to use the default unnamed port. */
|
|
3085
|
+
portName?: string;
|
|
3086
|
+
/** E.g. "satellite-server", "bigtop-sync", etc. */
|
|
3087
|
+
serverName?: string;
|
|
3088
|
+
}
|
|
2857
3089
|
interface KeyValue {
|
|
2858
3090
|
/** Formatted text supported. */
|
|
2859
3091
|
bottomLabel?: string;
|
|
@@ -2875,6 +3107,45 @@ declare namespace gapi.client {
|
|
|
2875
3107
|
/** Formatted text supported. */
|
|
2876
3108
|
topLabel?: string;
|
|
2877
3109
|
}
|
|
3110
|
+
interface LabelAdded {
|
|
3111
|
+
labelId?: string;
|
|
3112
|
+
labelName?: string;
|
|
3113
|
+
messageKeys?: MultiKey[];
|
|
3114
|
+
syncId?: number;
|
|
3115
|
+
}
|
|
3116
|
+
// tslint:disable-next-line:no-empty-interface
|
|
3117
|
+
interface LabelCreated {
|
|
3118
|
+
}
|
|
3119
|
+
// tslint:disable-next-line:no-empty-interface
|
|
3120
|
+
interface LabelDeleted {
|
|
3121
|
+
}
|
|
3122
|
+
interface LabelRemoved {
|
|
3123
|
+
labelId?: string;
|
|
3124
|
+
labelName?: string;
|
|
3125
|
+
messageKeys?: MultiKey[];
|
|
3126
|
+
syncId?: number;
|
|
3127
|
+
}
|
|
3128
|
+
interface LabelRenamed {
|
|
3129
|
+
oldCanonicalName?: string;
|
|
3130
|
+
}
|
|
3131
|
+
interface Labels {
|
|
3132
|
+
/** The display name of the labels. This is populated (instead of the id) when the request fetch_spec has LABEL_DISPLAY_NAMES. */
|
|
3133
|
+
displayName?: string[];
|
|
3134
|
+
/** The ids of the labels attached to the Item, e.g. "^i", "^x_1" */
|
|
3135
|
+
id?: string[];
|
|
3136
|
+
}
|
|
3137
|
+
interface LabelUpdate {
|
|
3138
|
+
canonicalName?: string;
|
|
3139
|
+
labelCreated?: any;
|
|
3140
|
+
labelDeleted?: any;
|
|
3141
|
+
labelId?: string;
|
|
3142
|
+
labelRenamed?: LabelRenamed;
|
|
3143
|
+
labelUpdated?: any;
|
|
3144
|
+
syncId?: number;
|
|
3145
|
+
}
|
|
3146
|
+
// tslint:disable-next-line:no-empty-interface
|
|
3147
|
+
interface LabelUpdated {
|
|
3148
|
+
}
|
|
2878
3149
|
interface LanguageConfig {
|
|
2879
3150
|
/** The spoken language(s) in BCP47 language code. */
|
|
2880
3151
|
spokenLanguages?: string[];
|
|
@@ -2962,6 +3233,10 @@ declare namespace gapi.client {
|
|
|
2962
3233
|
nextPageToken?: string;
|
|
2963
3234
|
unmappedIdentities?: UnmappedIdentity[];
|
|
2964
3235
|
}
|
|
3236
|
+
interface MatchInfo {
|
|
3237
|
+
/** Reference keys for image attachments that matches search query. */
|
|
3238
|
+
matchingImageReferenceKey?: string[];
|
|
3239
|
+
}
|
|
2965
3240
|
interface MatchRange {
|
|
2966
3241
|
/** End of the match in the snippet. */
|
|
2967
3242
|
end?: number;
|
|
@@ -3184,10 +3459,22 @@ declare namespace gapi.client {
|
|
|
3184
3459
|
*/
|
|
3185
3460
|
uploadMetadata?: UploadMetadata[];
|
|
3186
3461
|
}
|
|
3462
|
+
interface MessageAdded {
|
|
3463
|
+
attributeIds?: string[];
|
|
3464
|
+
labelIds?: string[];
|
|
3465
|
+
messageKey?: MultiKey;
|
|
3466
|
+
/** Note that there can be fewer sync ids than label ids. */
|
|
3467
|
+
syncIds?: number[];
|
|
3468
|
+
}
|
|
3187
3469
|
interface MessageAttributes {
|
|
3188
3470
|
/** If true: message is a tombstone in the client. Default false. */
|
|
3189
3471
|
isTombstone?: boolean;
|
|
3190
3472
|
}
|
|
3473
|
+
interface MessageDeleted {
|
|
3474
|
+
/** Value of coproc's message delete history record extension that exports /imapsync/folder attribute of deleted messages which have ^is label. */
|
|
3475
|
+
imapSyncMappings?: ImapSyncDelete[];
|
|
3476
|
+
messageKeys?: MultiKey[];
|
|
3477
|
+
}
|
|
3191
3478
|
interface MessageId {
|
|
3192
3479
|
/** 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. */
|
|
3193
3480
|
messageId?: string;
|
|
@@ -3207,6 +3494,9 @@ declare namespace gapi.client {
|
|
|
3207
3494
|
interface MessageProps {
|
|
3208
3495
|
babelProps?: BabelMessageProps;
|
|
3209
3496
|
}
|
|
3497
|
+
// tslint:disable-next-line:no-empty-interface
|
|
3498
|
+
interface MessageSet {
|
|
3499
|
+
}
|
|
3210
3500
|
interface Metadata {
|
|
3211
3501
|
/** The creation time for this document or object in the search result. */
|
|
3212
3502
|
createTime?: string;
|
|
@@ -3234,6 +3524,12 @@ declare namespace gapi.client {
|
|
|
3234
3524
|
/** The list of displayed properties for the metaline. The maximum number of properties is 5. */
|
|
3235
3525
|
properties?: DisplayedProperty[];
|
|
3236
3526
|
}
|
|
3527
|
+
interface MultiKey {
|
|
3528
|
+
/** A client-assigned string based key. */
|
|
3529
|
+
clientAssignedPermId?: string;
|
|
3530
|
+
/** 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. */
|
|
3531
|
+
serverId?: string;
|
|
3532
|
+
}
|
|
3237
3533
|
interface Name {
|
|
3238
3534
|
/** The read-only display name formatted according to the locale specified by the viewer's account or the `Accept-Language` HTTP header. */
|
|
3239
3535
|
displayName?: string;
|
|
@@ -3358,6 +3654,11 @@ declare namespace gapi.client {
|
|
|
3358
3654
|
*/
|
|
3359
3655
|
response?: { [P in string]: any };
|
|
3360
3656
|
}
|
|
3657
|
+
interface OsVersion {
|
|
3658
|
+
majorVersion?: number;
|
|
3659
|
+
minorVersion?: number;
|
|
3660
|
+
tertiaryVersion?: number;
|
|
3661
|
+
}
|
|
3361
3662
|
interface OtrChatMessageEvent {
|
|
3362
3663
|
expirationTimestampUsec?: string;
|
|
3363
3664
|
kansasRowId?: string;
|
|
@@ -3457,9 +3758,26 @@ declare namespace gapi.client {
|
|
|
3457
3758
|
*/
|
|
3458
3759
|
items?: Item[];
|
|
3459
3760
|
}
|
|
3761
|
+
interface PossiblyTrimmedModel {
|
|
3762
|
+
isTrimmed?: boolean;
|
|
3763
|
+
model?: string;
|
|
3764
|
+
}
|
|
3460
3765
|
interface PostiniUserProto {
|
|
3461
3766
|
postiniUserId?: string;
|
|
3462
3767
|
}
|
|
3768
|
+
// tslint:disable-next-line:no-empty-interface
|
|
3769
|
+
interface PrefDeleted {
|
|
3770
|
+
}
|
|
3771
|
+
interface PrefUpdate {
|
|
3772
|
+
/** Name of the affected preference. */
|
|
3773
|
+
name?: string;
|
|
3774
|
+
prefDeleted?: any;
|
|
3775
|
+
prefWritten?: PrefWritten;
|
|
3776
|
+
preState?: FuseboxPrefUpdatePreState;
|
|
3777
|
+
}
|
|
3778
|
+
interface PrefWritten {
|
|
3779
|
+
value?: string;
|
|
3780
|
+
}
|
|
3463
3781
|
interface Presenter {
|
|
3464
3782
|
/** The device resource name of the device which requested the current presenter to be set. This field can not be modified by clients. */
|
|
3465
3783
|
byDeviceId?: string;
|
|
@@ -3468,6 +3786,13 @@ declare namespace gapi.client {
|
|
|
3468
3786
|
/** The device resource name of the currently presenting device. */
|
|
3469
3787
|
presenterDeviceId?: string;
|
|
3470
3788
|
}
|
|
3789
|
+
interface PreState {
|
|
3790
|
+
labelIds?: string[];
|
|
3791
|
+
messageKey?: MultiKey;
|
|
3792
|
+
/** Note that there can be fewer sync ids than label ids. */
|
|
3793
|
+
syncIds?: number[];
|
|
3794
|
+
threadKey?: MultiKey;
|
|
3795
|
+
}
|
|
3471
3796
|
interface Principal {
|
|
3472
3797
|
/** 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} */
|
|
3473
3798
|
groupResourceName?: string;
|
|
@@ -3786,6 +4111,15 @@ declare namespace gapi.client {
|
|
|
3786
4111
|
/** Output only. Upload metadata of the quoted message. */
|
|
3787
4112
|
uploadMetadata?: UploadMetadata[];
|
|
3788
4113
|
}
|
|
4114
|
+
interface Rank {
|
|
4115
|
+
/**
|
|
4116
|
+
* 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
|
|
4117
|
+
* lower primary rank.
|
|
4118
|
+
*/
|
|
4119
|
+
primary?: string;
|
|
4120
|
+
/** The secondary rank may be used to rank items of identical primary rank. This rank element should always be present. */
|
|
4121
|
+
secondary?: string;
|
|
4122
|
+
}
|
|
3789
4123
|
interface RbacRoleProto {
|
|
3790
4124
|
name?: string;
|
|
3791
4125
|
objectId?: string;
|
|
@@ -3843,6 +4177,19 @@ declare namespace gapi.client {
|
|
|
3843
4177
|
/** Recording session's state information. */
|
|
3844
4178
|
sessionStateInfo?: SessionStateInfo;
|
|
3845
4179
|
}
|
|
4180
|
+
interface Reference {
|
|
4181
|
+
blobId?: string;
|
|
4182
|
+
contentType?: string;
|
|
4183
|
+
hash?: string;
|
|
4184
|
+
/** LINT.IfChange */
|
|
4185
|
+
key?: string;
|
|
4186
|
+
/** LINT.ThenChange(//depot/google3/storage/slice/production/gmail/ user_data_tables.pi) */
|
|
4187
|
+
name?: string;
|
|
4188
|
+
size?: string;
|
|
4189
|
+
}
|
|
4190
|
+
interface References {
|
|
4191
|
+
references?: Reference[];
|
|
4192
|
+
}
|
|
3846
4193
|
interface RenameEvent {
|
|
3847
4194
|
newName?: string;
|
|
3848
4195
|
originalName?: string;
|
|
@@ -3971,6 +4318,15 @@ declare namespace gapi.client {
|
|
|
3971
4318
|
/** Opaque, server-assigned ID of the Roster. */
|
|
3972
4319
|
id?: string;
|
|
3973
4320
|
}
|
|
4321
|
+
interface RpcOptions {
|
|
4322
|
+
/**
|
|
4323
|
+
* 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
|
|
4324
|
+
* 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
|
|
4325
|
+
* 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
|
|
4326
|
+
* after Triggers with earlier fire times in the same batch). It is not advised to specify extensions with repeated fields on batchable Triggers.
|
|
4327
|
+
*/
|
|
4328
|
+
requestExtensions?: any;
|
|
4329
|
+
}
|
|
3974
4330
|
interface SafeUrlProto {
|
|
3975
4331
|
/**
|
|
3976
4332
|
* 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
|
|
@@ -4168,6 +4524,20 @@ declare namespace gapi.client {
|
|
|
4168
4524
|
/** The value associated with this item which will be sent back to app scripts. Client should use as a form input value. */
|
|
4169
4525
|
value?: string;
|
|
4170
4526
|
}
|
|
4527
|
+
interface SessionContext {
|
|
4528
|
+
/** Time at which this activity's session was authenticated, in seconds since the epoch. */
|
|
4529
|
+
authTime?: string;
|
|
4530
|
+
/** 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. */
|
|
4531
|
+
delegateUserId?: string;
|
|
4532
|
+
/** Device User Session ID, see go/dusi. */
|
|
4533
|
+
dusi?: string;
|
|
4534
|
+
/** Imap session context for Bond/Gmail integration */
|
|
4535
|
+
imapSessionContext?: ImapSessionContext;
|
|
4536
|
+
/** OAuth login ID. */
|
|
4537
|
+
oauthLoginId?: number;
|
|
4538
|
+
/** The devconsole project ID of the developer who authenticated with OAuth. */
|
|
4539
|
+
oauthProjectId?: string;
|
|
4540
|
+
}
|
|
4171
4541
|
interface SessionEvent {
|
|
4172
4542
|
/** 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). */
|
|
4173
4543
|
deviceId?: string;
|
|
@@ -4431,6 +4801,8 @@ declare namespace gapi.client {
|
|
|
4431
4801
|
adminConfigUrl?: string;
|
|
4432
4802
|
/** Link to the deletion policy webpage for the bot. Configured by Pantheon, may be empty. */
|
|
4433
4803
|
deletionPolicyUrl?: string;
|
|
4804
|
+
/** Link to GWM page of the app. May be empty. */
|
|
4805
|
+
gwmUrl?: string;
|
|
4434
4806
|
/** Link to the privacy policy webpage for the bot. May be empty. */
|
|
4435
4807
|
privacyPolicyUrl?: string;
|
|
4436
4808
|
/** Link to the setup webpage for the bot. Configured by Pantheon, may be empty. */
|
|
@@ -4517,6 +4889,35 @@ declare namespace gapi.client {
|
|
|
4517
4889
|
/** The maximum allowable length for text values is 2048 characters. */
|
|
4518
4890
|
values?: string[];
|
|
4519
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
|
+
}
|
|
4520
4921
|
interface TimestampOperatorOptions {
|
|
4521
4922
|
/**
|
|
4522
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
|
|
@@ -4564,6 +4965,29 @@ declare namespace gapi.client {
|
|
|
4564
4965
|
*/
|
|
4565
4966
|
topicId?: string;
|
|
4566
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
|
+
}
|
|
4567
4991
|
interface TranscriptionSessionInfo {
|
|
4568
4992
|
/** Transcription session's state information. */
|
|
4569
4993
|
sessionStateInfo?: SessionStateInfo;
|
|
@@ -4573,6 +4997,58 @@ declare namespace gapi.client {
|
|
|
4573
4997
|
// tslint:disable-next-line:no-empty-interface
|
|
4574
4998
|
interface TransientData {
|
|
4575
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
|
+
}
|
|
4576
5052
|
interface TrustedResourceUrlProto {
|
|
4577
5053
|
/**
|
|
4578
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
|
|
@@ -4685,6 +5161,8 @@ declare namespace gapi.client {
|
|
|
4685
5161
|
contentType?: string;
|
|
4686
5162
|
/** The metrics metadata of the Data Loss Prevention attachment scan. */
|
|
4687
5163
|
dlpMetricsMetadata?: AppsDynamiteSharedDlpMetricsMetadata;
|
|
5164
|
+
/** The timestamp of the most recent virus scan completed (in microseconds). */
|
|
5165
|
+
latestVirusScanTimestamp?: string;
|
|
4688
5166
|
/** A copy of the LocalId in Annotation. This field is supposed to be filled by server only. */
|
|
4689
5167
|
localId?: string;
|
|
4690
5168
|
/** Original dimension of the content. Only set for image attachments. */
|
|
@@ -4711,8 +5189,6 @@ declare namespace gapi.client {
|
|
|
4711
5189
|
intImageHeight?: number;
|
|
4712
5190
|
/** Dimensions of the image: width. */
|
|
4713
5191
|
intImageWidth?: number;
|
|
4714
|
-
/** NEXT TAG : 18 */
|
|
4715
|
-
linkType?: string;
|
|
4716
5192
|
/**
|
|
4717
5193
|
* 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
|
|
4718
5194
|
* 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.
|
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: 20221122
|
|
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",
|