@maxim_mazurok/gapi.client.cloudsearch-v1 0.0.20220920 → 0.0.20221018

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/index.d.ts +262 -20
  2. package/package.json +1 -1
  3. package/tests.ts +5 -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: 20220920
12
+ // Revision: 20221018
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -70,6 +70,9 @@ declare namespace gapi.client {
70
70
  key?: string;
71
71
  value?: string;
72
72
  }
73
+ interface AddonComposeUiActionMarkup {
74
+ type?: string;
75
+ }
73
76
  interface AffectedMembership {
74
77
  affectedMember?: MemberId;
75
78
  priorMembershipRole?: string;
@@ -711,6 +714,8 @@ declare namespace gapi.client {
711
714
  interface AppsDynamiteSharedOnClick {
712
715
  /** If specified, an action is triggered by this onClick. */
713
716
  action?: AppsDynamiteSharedAction;
717
+ /** Triggers host app action on click directly without invoking form actions. This is currently not available to end-users and is used internal only. */
718
+ hostAppAction?: HostAppActionMarkup;
714
719
  /**
715
720
  * An add-on triggers this action when the action needs to open a link. This differs from the open_link above in that this needs to talk to server to get the link. Thus some
716
721
  * preparation work is required for web client to do before the open link action response comes back.
@@ -1048,6 +1053,74 @@ declare namespace gapi.client {
1048
1053
  /** The text value of the field. */
1049
1054
  value?: string;
1050
1055
  }
1056
+ interface AppsExtensionsMarkupCalendarClientActionMarkupAddAttachmentsActionMarkup {
1057
+ addonAttachments?: AppsExtensionsMarkupCalendarClientActionMarkupAddAttachmentsActionMarkupAddonAttachment[];
1058
+ }
1059
+ interface AppsExtensionsMarkupCalendarClientActionMarkupAddAttachmentsActionMarkupAddonAttachment {
1060
+ /** Link to the resource's icon. */
1061
+ iconUrl?: string;
1062
+ /** MIME type of the content in resource_url. */
1063
+ mimeType?: string;
1064
+ resourceUrl?: string;
1065
+ /** Title of the attachment. */
1066
+ title?: string;
1067
+ }
1068
+ interface AppsExtensionsMarkupCalendarClientActionMarkupConferenceDataMarkup {
1069
+ /** Unique identifier for this conference data. Maximum 512 characters long. */
1070
+ conferenceId?: string;
1071
+ /** An identifier of the conferencing solution. Must match a value from the deployment's `calendar.conferenceSolution.id` field. */
1072
+ conferenceSolutionId?: string;
1073
+ /** Entry points to the conference. Maximum 300 entry points are allowed. */
1074
+ entryPoints?: AppsExtensionsMarkupCalendarClientActionMarkupConferenceDataMarkupEntryPointMarkup[];
1075
+ /** If set, it means an error occurred during conference creation. */
1076
+ error?: AppsExtensionsMarkupCalendarClientActionMarkupConferenceDataMarkupError;
1077
+ /** Additional notes (such as instructions from the administrator, legal notices) to display to the user. Can contain HTML. Max length 2048 characters. */
1078
+ note?: string;
1079
+ /** Additional add-on parameters. Maximum 300 parameters are allowed. */
1080
+ parameters?: AppsExtensionsMarkupCalendarClientActionMarkupConferenceDataMarkupParameter[];
1081
+ }
1082
+ interface AppsExtensionsMarkupCalendarClientActionMarkupConferenceDataMarkupEntryPointMarkup {
1083
+ /** An access code for accessing the conference. Maximum 128 characters long. */
1084
+ accessCode?: string;
1085
+ /** Features of the entry point, such as being toll or toll-free. One entry point can have multiple features. */
1086
+ features?: string[];
1087
+ /** The label of the entry point to display to the user. Maximum 512 characters long. */
1088
+ label?: string;
1089
+ /** A meeting code for accessing the conference. Maximum 128 characters long. */
1090
+ meetingCode?: string;
1091
+ /** A passcode for accessing the conference. Maximum 128 characters long. */
1092
+ passcode?: string;
1093
+ /** A password for accessing the conference. Maximum 128 characters long. */
1094
+ password?: string;
1095
+ /** A PIN for accessing the conference. Maximum 128 characters long. */
1096
+ pin?: string;
1097
+ /** The CLDR/ISO 3166 region code for the country associated with this entry point. Applicable only to `Type.PHONE`. */
1098
+ regionCode?: string;
1099
+ /** The type of the entry point. Required. */
1100
+ type?: string;
1101
+ /** A URI for joining the conference. Supports tel: and http(s): and should be at most 1300 characters long. Required. */
1102
+ uri?: string;
1103
+ }
1104
+ interface AppsExtensionsMarkupCalendarClientActionMarkupConferenceDataMarkupError {
1105
+ /** If the error type is `AUTHENTICATION`, the add-on can provide a URL allowing users to log in. Maximum 1300 characters long. */
1106
+ authenticationUrl?: string;
1107
+ /** The type of error. Required. */
1108
+ type?: string;
1109
+ }
1110
+ interface AppsExtensionsMarkupCalendarClientActionMarkupConferenceDataMarkupParameter {
1111
+ /** The key of the parameter. Maximum 50 characters long. Required. */
1112
+ key?: string;
1113
+ /** The value of the parameter. Maximum 1024 characters long. Required. */
1114
+ value?: string;
1115
+ }
1116
+ interface AppsExtensionsMarkupCalendarClientActionMarkupEditAttendeesActionMarkup {
1117
+ /** A list of attendees to add to the Google Calendar event. */
1118
+ addAttendeeEmails?: string[];
1119
+ }
1120
+ interface AppsExtensionsMarkupCalendarClientActionMarkupEditConferenceDataActionMarkup {
1121
+ /** The conference data to add to the Google Calendar event. */
1122
+ conferenceData?: AppsExtensionsMarkupCalendarClientActionMarkupConferenceDataMarkup;
1123
+ }
1051
1124
  interface Attachment {
1052
1125
  /** Revised version of Gmail AddOn attachment approved by API design review. */
1053
1126
  addOnData?: GoogleChatV1ContextualAddOnMarkup;
@@ -1192,6 +1265,14 @@ declare namespace gapi.client {
1192
1265
  imageButton?: ImageButton;
1193
1266
  textButton?: TextButton;
1194
1267
  }
1268
+ interface CalendarClientActionMarkup {
1269
+ /** An action that adds attachments to the Google Calendar event. */
1270
+ addAttachmentsActionMarkup?: AppsExtensionsMarkupCalendarClientActionMarkupAddAttachmentsActionMarkup;
1271
+ /** An action that adds attendees to the Google Calendar event. */
1272
+ editAttendeesActionMarkup?: AppsExtensionsMarkupCalendarClientActionMarkupEditAttendeesActionMarkup;
1273
+ /** An action that adds conference data to the Google Calendar event. */
1274
+ editConferenceDataActionMarkup?: AppsExtensionsMarkupCalendarClientActionMarkupEditConferenceDataActionMarkup;
1275
+ }
1195
1276
  interface CallInfo {
1196
1277
  /** Abuse reporting configuration for the ongoing conference. */
1197
1278
  abuseReportingConfig?: AbuseReportingConfig;
@@ -1275,6 +1356,10 @@ declare namespace gapi.client {
1275
1356
  interface CallSettings {
1276
1357
  /** Indicates whether the access lock is currently on or off. */
1277
1358
  accessLock?: boolean;
1359
+ /** The current access type of the conference. */
1360
+ accessType?: string;
1361
+ /** Whether users can join this conference before a host (Host or Cohost). */
1362
+ allowJoiningBeforeHost?: boolean;
1278
1363
  /** Indicates whether the attendance report is currently enabled or disabled. */
1279
1364
  attendanceReportEnabled?: boolean;
1280
1365
  /** Indicates whether the audio lock is currently on or off. */
@@ -1283,15 +1368,10 @@ declare namespace gapi.client {
1283
1368
  chatLock?: boolean;
1284
1369
  /** Whether Client-side Encryption is enabled for this conference. */
1285
1370
  cseEnabled?: boolean;
1286
- /** Indicates whether the current call is moderated. */
1371
+ /** Indicates whether moderation is currently on or off. */
1287
1372
  moderationEnabled?: boolean;
1288
1373
  /** Indicates whether the present lock is currently on or off. */
1289
1374
  presentLock?: boolean;
1290
- /**
1291
- * Indicates whether project Dino is currently on or off. WARNING: This is currently an experimental field. It should not be used without getting an explicit review and approval from
1292
- * the Meet team.
1293
- */
1294
- projectDinoEnabled?: boolean;
1295
1375
  /** Indicates whether the reactions lock is currently on or off. */
1296
1376
  reactionsLock?: boolean;
1297
1377
  /** Indicates whether the video lock is currently on or off. */
@@ -1337,6 +1417,9 @@ declare namespace gapi.client {
1337
1417
  */
1338
1418
  title?: string;
1339
1419
  }
1420
+ // tslint:disable-next-line:no-empty-interface
1421
+ interface ChatClientActionMarkup {
1422
+ }
1340
1423
  interface ChatConfig {
1341
1424
  /** The Type of chat this Conference is currently using. */
1342
1425
  chatType?: string;
@@ -1587,6 +1670,12 @@ declare namespace gapi.client {
1587
1670
  /** The count of unique active users in the past thirty days */
1588
1671
  thirtyDaysActiveUsersCount?: string;
1589
1672
  }
1673
+ interface CustomFunctionReturnValueMarkup {
1674
+ /** The error message to show to the user if something went wrong. */
1675
+ errorMessage?: string;
1676
+ /** The value that resulted from running the custom function. */
1677
+ value?: any;
1678
+ }
1590
1679
  interface DataLossPreventionMetadata {
1591
1680
  /** The DLP scan summary that should only be set after the message is scanned in the Chat backend. */
1592
1681
  dlpScanSummary?: DlpScanSummary;
@@ -1788,6 +1877,9 @@ declare namespace gapi.client {
1788
1877
  interface DoubleValues {
1789
1878
  values?: number[];
1790
1879
  }
1880
+ interface DriveClientActionMarkup {
1881
+ requestFileScope?: RequestFileScope;
1882
+ }
1791
1883
  interface DriveFollowUpRestrict {
1792
1884
  type?: string;
1793
1885
  }
@@ -1885,6 +1977,9 @@ declare namespace gapi.client {
1885
1977
  // tslint:disable-next-line:no-empty-interface
1886
1978
  interface EditMetadata {
1887
1979
  }
1980
+ interface EditorClientActionMarkup {
1981
+ requestFileScopeForActiveDocument?: any;
1982
+ }
1888
1983
  interface EmailAddress {
1889
1984
  /** If the value of type is custom, this property contains the custom type string. */
1890
1985
  customType?: string;
@@ -2155,6 +2250,12 @@ declare namespace gapi.client {
2155
2250
  interface GetSearchApplicationUserStatsResponse {
2156
2251
  stats?: SearchApplicationUserStats[];
2157
2252
  }
2253
+ interface GmailClientActionMarkup {
2254
+ addonComposeUiActionMarkup?: AddonComposeUiActionMarkup;
2255
+ openCreatedDraftActionMarkup?: OpenCreatedDraftActionMarkup;
2256
+ taskAction?: TaskActionMarkup;
2257
+ updateDraftActionMarkup?: UpdateDraftActionMarkup;
2258
+ }
2158
2259
  interface GoogleChatConfig {
2159
2260
  /** ID of the Chat group. */
2160
2261
  chatGroupId?: string;
@@ -2407,6 +2508,20 @@ declare namespace gapi.client {
2407
2508
  interface HashtagData {
2408
2509
  searchText?: string;
2409
2510
  }
2511
+ interface HostAppActionMarkup {
2512
+ /** Actions handled by Calendar. */
2513
+ calendarAction?: CalendarClientActionMarkup;
2514
+ /** Actions handled by Chat. */
2515
+ chatAction?: any;
2516
+ /** Actions handled by Drive. */
2517
+ driveAction?: DriveClientActionMarkup;
2518
+ /** Actions handled by Docs, Sheets, or Slides. */
2519
+ editorAction?: EditorClientActionMarkup;
2520
+ /** Actions handled by Gmail. */
2521
+ gmailAction?: GmailClientActionMarkup;
2522
+ /** Actions handled by Sheets. */
2523
+ sheetsAction?: SheetsClientActionMarkup;
2524
+ }
2410
2525
  interface HostProto {
2411
2526
  /** Lower-case, fully qualified hostname. */
2412
2527
  hostName?: string;
@@ -2527,6 +2642,13 @@ declare namespace gapi.client {
2527
2642
  // tslint:disable-next-line:no-empty-interface
2528
2643
  interface InitializeCustomerRequest {
2529
2644
  }
2645
+ interface InsertContent {
2646
+ /** The content to be inserted. */
2647
+ content?: string;
2648
+ /** The type of inserted content. */
2649
+ contentType?: string;
2650
+ mimeType?: string;
2651
+ }
2530
2652
  interface IntegerOperatorOptions {
2531
2653
  /**
2532
2654
  * Indicates the operator name required in the query in order to isolate the integer property using the greater-than operator. For example, if greaterThanOperatorName is
@@ -2926,6 +3048,8 @@ declare namespace gapi.client {
2926
3048
  initiator?: UserId;
2927
3049
  /** Complete member profiles, when ListTopicsRequest FetchOptions.USER is set. Otherwise, only the id will be filled in. */
2928
3050
  initiatorProfile?: User;
3051
+ /** The type of the user who initiated this membership change. */
3052
+ initiatorType?: string;
2929
3053
  type?: string;
2930
3054
  }
2931
3055
  interface MembershipChangeEvent {
@@ -3192,6 +3316,19 @@ declare namespace gapi.client {
3192
3316
  */
3193
3317
  openLinkAction?: FormAction;
3194
3318
  }
3319
+ interface OpenCreatedDraftActionMarkup {
3320
+ /** The ID of the newly created draft in the form "r123". */
3321
+ draftId?: string;
3322
+ /** The server storage ID in hex format, for example,"15e9fa622ce1029d". */
3323
+ draftStorageId?: string;
3324
+ /** The ID of the thread containing the newly created draft, for example, "15e9fa622ce1029d". */
3325
+ draftThreadId?: string;
3326
+ /**
3327
+ * The server permanent ID for the draft's thread. This field isn't set anywhere, and it's ignored when processing OpenCreatedDraftActionMarkup. Supply and use draftThreadStorageId
3328
+ * instead.
3329
+ */
3330
+ draftThreadServerPermId?: string;
3331
+ }
3195
3332
  interface OpenLink {
3196
3333
  /** Next available ID: 5 */
3197
3334
  loadIndicator?: string;
@@ -3622,8 +3759,12 @@ declare namespace gapi.client {
3622
3759
  appProfile?: AppsDynamiteSharedAppProfile;
3623
3760
  /** Output only. The bot attachment state of the quoted message. Used by clients to display a bot attachment indicator in the UI. */
3624
3761
  botAttachmentState?: string;
3762
+ /** Output only. Time when the quoted message was posted in microseconds. */
3763
+ createTimeMicros?: string;
3625
3764
  /** Output only. ID of the User who posted the quoted message. This includes information to identify if the quoted message was posted by an App on behalf of a user. */
3626
3765
  creatorId?: UserId;
3766
+ /** Output only. Time when the quoted message was last edited by a user at the time when quoting action happens. Time is in microseconds. */
3767
+ lastEditTimeMicros?: string;
3627
3768
  /**
3628
3769
  * The `last_update_time` of the original message when the client initiated the quote creation. This is derived from the request payload passed from clients. Used to fetch the quoted
3629
3770
  * message contents at a specific time on the read path. This field is populated from storage directly.
@@ -3637,7 +3778,12 @@ declare namespace gapi.client {
3637
3778
  retentionSettings?: AppsDynamiteSharedRetentionSettings;
3638
3779
  /** Output only. Snapshot of the text body of the quoted message. */
3639
3780
  textBody?: string;
3640
- /** Output only. Upload metadata of the quoted message. NEXT TAG: 11 */
3781
+ /**
3782
+ * Output only. ID of the User who last updated (created/edited/deleted) the quoted message at the time when quoting action happens. This includes information to identify if the quoted
3783
+ * message was posted by an App on behalf of a user.
3784
+ */
3785
+ updaterId?: UserId;
3786
+ /** Output only. Upload metadata of the quoted message. */
3641
3787
  uploadMetadata?: UploadMetadata[];
3642
3788
  }
3643
3789
  interface RbacRoleProto {
@@ -3660,6 +3806,9 @@ declare namespace gapi.client {
3660
3806
  /** The new read receipts state. */
3661
3807
  readReceiptsEnabled?: boolean;
3662
3808
  }
3809
+ interface Recipient {
3810
+ email?: string;
3811
+ }
3663
3812
  interface RecordingEvent {
3664
3813
  /** The initiator of the latest event of the recording. It will be set for all user events (`type` is 100-199) and unset for all server events (`type` is 200-299). */
3665
3814
  deviceId?: string;
@@ -3706,6 +3855,12 @@ declare namespace gapi.client {
3706
3855
  /** The type of error. */
3707
3856
  type?: string;
3708
3857
  }
3858
+ interface RequestFileScope {
3859
+ itemId?: string;
3860
+ }
3861
+ // tslint:disable-next-line:no-empty-interface
3862
+ interface RequestFileScopeForActiveDocument {
3863
+ }
3709
3864
  interface RequestOptions {
3710
3865
  /** Debug options of the request */
3711
3866
  debugOptions?: DebugOptions;
@@ -3739,8 +3894,6 @@ declare namespace gapi.client {
3739
3894
  roleId?: number;
3740
3895
  }
3741
3896
  interface ResponseDebugInfo {
3742
- /** Experiments enabled in QAPI. */
3743
- enabledExperiments?: number[];
3744
3897
  /** General debug info formatted for display. */
3745
3898
  formattedDebugInfo?: string;
3746
3899
  }
@@ -3803,6 +3956,8 @@ declare namespace gapi.client {
3803
3956
  interface Roster {
3804
3957
  avatarUrl?: string;
3805
3958
  id?: RosterId;
3959
+ /** Whether caller has visibility into members of the roster. */
3960
+ isMembershipVisibleToCaller?: boolean;
3806
3961
  membershipCount?: number;
3807
3962
  name?: string;
3808
3963
  /** Roster gaia key, usually an email address. Set in looking up rosters response. */
@@ -4037,11 +4192,15 @@ declare namespace gapi.client {
4037
4192
  sessionStopReason?: string;
4038
4193
  }
4039
4194
  interface Settings {
4040
- /** The access lock of the meeting space that lets owner control who can join the meeting. True if the access lock feature is enabled for the meeting space. */
4195
+ /** The access lock of the meeting space that lets hosts control who can join the meeting. */
4041
4196
  accessLock?: boolean;
4197
+ /** The access type of the meeting space. */
4198
+ accessType?: string;
4199
+ /** Whether users can join before host in the conferences of this meeting space. */
4200
+ allowJoiningBeforeHost?: boolean;
4042
4201
  /** Whether attendance report is enabled for the meeting space. */
4043
4202
  attendanceReportEnabled?: boolean;
4044
- /** The chat lock of the meeting space that lets owner control whether the participants can send chat messages. True if the chat lock feature is enabled for the meeting space. */
4203
+ /** The chat lock of the meeting space that lets owner control whether the participants can send chat messages. */
4045
4204
  chatLock?: boolean;
4046
4205
  /** Whether meeting artifacts will be shared with cohosts. */
4047
4206
  cohostArtifactSharingEnabled?: boolean;
@@ -4051,9 +4210,9 @@ declare namespace gapi.client {
4051
4210
  defaultAsViewer?: boolean;
4052
4211
  /** Indicates whether the meeting space is moderated. */
4053
4212
  moderationEnabled?: boolean;
4054
- /** The present lock of the meeting space that lets owner control whether the participants can present their screen. True if the present lock feature is enabled for the meeting space. */
4213
+ /** The present lock of the meeting space that lets owner control whether the participants can present their screen. */
4055
4214
  presentLock?: boolean;
4056
- /** The reactions lock of the meeting space that lets owner control whether the participants can send reactions. True if the reactions lock feature is enabled for the meeting space. */
4215
+ /** The reactions lock of the meeting space that lets owner control whether the participants can send reactions. */
4057
4216
  reactionsLock?: boolean;
4058
4217
  }
4059
4218
  interface ShareScope {
@@ -4062,6 +4221,9 @@ declare namespace gapi.client {
4062
4221
  /** The scope to which the content was shared. */
4063
4222
  scope?: string;
4064
4223
  }
4224
+ interface SheetsClientActionMarkup {
4225
+ customFunctionReturnValueMarkup?: CustomFunctionReturnValueMarkup;
4226
+ }
4065
4227
  interface SigningKeyPossessorProto {
4066
4228
  /** This value must be from the KeyMetadata.Type enum in keymaster.proto. */
4067
4229
  keymasterKeyType?: number;
@@ -4287,6 +4449,9 @@ declare namespace gapi.client {
4287
4449
  /** The value is what is passed back in apps script callback. */
4288
4450
  value?: string;
4289
4451
  }
4452
+ interface TaskActionMarkup {
4453
+ reloadTasks?: boolean;
4454
+ }
4290
4455
  interface TextButton {
4291
4456
  /** The alternative text used for accessibility Next field number: 7. */
4292
4457
  altText?: string;
@@ -4445,10 +4610,39 @@ declare namespace gapi.client {
4445
4610
  /** The name of a queue to unreserve items from. */
4446
4611
  queue?: string;
4447
4612
  }
4613
+ interface UpdateBccRecipients {
4614
+ bccRecipients?: Recipient[];
4615
+ }
4616
+ interface UpdateBody {
4617
+ /** A repeated field that contains a series of content to insert into the draft that the user is currently editing. The content can contain HTML content or plain text content. */
4618
+ insertContents?: InsertContent[];
4619
+ type?: string;
4620
+ }
4621
+ interface UpdateCcRecipients {
4622
+ ccRecipients?: Recipient[];
4623
+ }
4448
4624
  interface UpdateDataSourceRequest {
4449
4625
  /** Common debug options. */
4450
4626
  debugOptions?: DebugOptions;
4451
4627
  source?: DataSource;
4628
+ /**
4629
+ * Only applies to [`settings.datasources.patch`](https://developers.google.com/cloud-search/docs/reference/rest/v1/settings.datasources/patch). Update mask to control which fields to
4630
+ * update. Example field paths: `name`, `displayName`. * If `update_mask` is non-empty, then only the fields specified in the `update_mask` are updated. * If you specify a field in the
4631
+ * `update_mask`, but don't specify its value in the source, that field is cleared. * If the `update_mask` is not present or empty or has the value `*`, then all fields are updated.
4632
+ */
4633
+ updateMask?: string;
4634
+ }
4635
+ interface UpdateDraftActionMarkup {
4636
+ /** If set, replaces the existing Bcc recipients of the draft the user is currently editing. */
4637
+ updateBccRecipients?: UpdateBccRecipients;
4638
+ /** A field that contains a series of update actions to perform on the draft body that the user is currently editing. */
4639
+ updateBody?: UpdateBody;
4640
+ /** If set, replaces the existing Cc recipients of the draft the user is currently editing. */
4641
+ updateCcRecipients?: UpdateCcRecipients;
4642
+ /** If set, replaces the existing subject of the draft the user is currently editing. */
4643
+ updateSubject?: UpdateSubject;
4644
+ /** If set, replaces the existing To recipients of the draft the user is currently editing. */
4645
+ updateToRecipients?: UpdateToRecipients;
4452
4646
  }
4453
4647
  interface UpdateSchemaRequest {
4454
4648
  /** Common debug options. */
@@ -4458,6 +4652,12 @@ declare namespace gapi.client {
4458
4652
  /** If true, the schema will be checked for validity, but will not be registered with the data source, even if valid. */
4459
4653
  validateOnly?: boolean;
4460
4654
  }
4655
+ interface UpdateSubject {
4656
+ subject?: string;
4657
+ }
4658
+ interface UpdateToRecipients {
4659
+ toRecipients?: Recipient[];
4660
+ }
4461
4661
  interface UploadItemRef {
4462
4662
  /** The name of the content reference. The maximum length is 2048 characters. */
4463
4663
  name?: string;
@@ -4511,6 +4711,8 @@ declare namespace gapi.client {
4511
4711
  intImageHeight?: number;
4512
4712
  /** Dimensions of the image: width. */
4513
4713
  intImageWidth?: number;
4714
+ /** NEXT TAG : 18 */
4715
+ linkType?: string;
4514
4716
  /**
4515
4717
  * Mime type of the content (Currently mapped from Page Render Service ItemType) Note that this is not necessarily the mime type of the http resource. For example a text/html from
4516
4718
  * youtube or vimeo may actually be classified as a video type. Then we shall mark it as video/* since we don't know exactly what type of video it is.
@@ -4526,7 +4728,6 @@ declare namespace gapi.client {
4526
4728
  title?: string;
4527
4729
  /** The original URL. */
4528
4730
  url?: SafeUrlProto;
4529
- /** NEXT TAG : 17 */
4530
4731
  urlSource?: string;
4531
4732
  }
4532
4733
  interface User {
@@ -4590,8 +4791,7 @@ declare namespace gapi.client {
4590
4791
  interface UserInfo {
4591
4792
  /**
4592
4793
  * Avatar url of the user who triggered the Drive Notification email. This field will be populated if we can extract such information from the Drive Notification email. This should
4593
- * only be used to fetch user avatars when updater_to_show_email is not populated. This field is not set for non-Drive Notification items. This is not the actual sender of the email,
4594
- * as the sender is always comments-noreply@docs.google.com.
4794
+ * only be used to fetch user avatars when updater_to_show_email is not populated. This field is not set for non-Drive Notification items.
4595
4795
  */
4596
4796
  driveNotificationAvatarUrl?: string;
4597
4797
  /** Describes how updater_count_to_show should be used. */
@@ -4608,9 +4808,9 @@ declare namespace gapi.client {
4608
4808
  updaterToShowGaiaId?: string;
4609
4809
  /**
4610
4810
  * The display name of the updater for clients to show used for Gmail items. For non-Drive Notification items, this field will always be populated. If the display name cannot be found
4611
- * for the user, the fallback string will be the email address. For Drive Notification items, this is the email of the user who triggered the Drive notification email. This field will
4612
- * be populated if we can extract such information from the Drive Notification email. This is not the actual sender of the email, as the sender is always
4613
- * comments-noreply@docs.google.com.
4811
+ * for the user, the fallback string will be the email address. For Drive Notification items, this is the name of the user who triggered the Drive notification email. This field will
4812
+ * be populated if we can extract such information from the Drive Notification email. If the name cannot be extracted, then the email will be the fallback string, which is used as the
4813
+ * display name text in the UI when needed. This is not the actual sender of the email, as the sender is always comments-noreply@docs.google.com.
4614
4814
  */
4615
4815
  updaterToShowName?: string;
4616
4816
  /** The updater for clients to show used for Dynamite Chat items. */
@@ -6081,6 +6281,13 @@ declare namespace gapi.client {
6081
6281
  prettyPrint?: boolean;
6082
6282
  /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
6083
6283
  quotaUser?: string;
6284
+ /**
6285
+ * Only applies to [`settings.datasources.patch`](https://developers.google.com/cloud-search/docs/reference/rest/v1/settings.datasources/patch). Update mask to control which fields
6286
+ * to update. Example field paths: `name`, `displayName`. * If `update_mask` is non-empty, then only the fields specified in the `update_mask` are updated. * If you specify a field
6287
+ * in the `update_mask`, but don't specify its value in the source, that field is cleared. * If the `update_mask` is not present or empty or has the value `*`, then all fields are
6288
+ * updated.
6289
+ */
6290
+ updateMask?: string;
6084
6291
  /** Upload protocol for media (e.g. "raw", "multipart"). */
6085
6292
  upload_protocol?: string;
6086
6293
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
@@ -6111,6 +6318,13 @@ declare namespace gapi.client {
6111
6318
  prettyPrint?: boolean;
6112
6319
  /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
6113
6320
  quotaUser?: string;
6321
+ /**
6322
+ * Only applies to [`settings.datasources.patch`](https://developers.google.com/cloud-search/docs/reference/rest/v1/settings.datasources/patch). Update mask to control which fields
6323
+ * to update. Example field paths: `name`, `displayName`. * If `update_mask` is non-empty, then only the fields specified in the `update_mask` are updated. * If you specify a field
6324
+ * in the `update_mask`, but don't specify its value in the source, that field is cleared. * If the `update_mask` is not present or empty or has the value `*`, then all fields are
6325
+ * updated.
6326
+ */
6327
+ updateMask?: string;
6114
6328
  /** Upload protocol for media (e.g. "raw", "multipart"). */
6115
6329
  upload_protocol?: string;
6116
6330
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
@@ -6338,6 +6552,13 @@ declare namespace gapi.client {
6338
6552
  prettyPrint?: boolean;
6339
6553
  /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
6340
6554
  quotaUser?: string;
6555
+ /**
6556
+ * Only applies to [`settings.searchapplications.patch`](https://developers.google.com/cloud-search/docs/reference/rest/v1/settings.searchapplications/patch). Update mask to
6557
+ * control which fields to update. Example field paths: `search_application.name`, `search_application.displayName`. * If `update_mask` is non-empty, then only the fields specified
6558
+ * in the `update_mask` are updated. * If you specify a field in the `update_mask`, but don't specify its value in the `search_application`, then that field is cleared. * If the
6559
+ * `update_mask` is not present or empty or has the value `*`, then all fields are updated.
6560
+ */
6561
+ updateMask?: string;
6341
6562
  /** Upload protocol for media (e.g. "raw", "multipart"). */
6342
6563
  upload_protocol?: string;
6343
6564
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
@@ -6366,6 +6587,13 @@ declare namespace gapi.client {
6366
6587
  prettyPrint?: boolean;
6367
6588
  /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
6368
6589
  quotaUser?: string;
6590
+ /**
6591
+ * Only applies to [`settings.searchapplications.patch`](https://developers.google.com/cloud-search/docs/reference/rest/v1/settings.searchapplications/patch). Update mask to
6592
+ * control which fields to update. Example field paths: `search_application.name`, `search_application.displayName`. * If `update_mask` is non-empty, then only the fields specified
6593
+ * in the `update_mask` are updated. * If you specify a field in the `update_mask`, but don't specify its value in the `search_application`, then that field is cleared. * If the
6594
+ * `update_mask` is not present or empty or has the value `*`, then all fields are updated.
6595
+ */
6596
+ updateMask?: string;
6369
6597
  /** Upload protocol for media (e.g. "raw", "multipart"). */
6370
6598
  upload_protocol?: string;
6371
6599
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
@@ -6450,6 +6678,13 @@ declare namespace gapi.client {
6450
6678
  prettyPrint?: boolean;
6451
6679
  /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
6452
6680
  quotaUser?: string;
6681
+ /**
6682
+ * Only applies to [`settings.searchapplications.patch`](https://developers.google.com/cloud-search/docs/reference/rest/v1/settings.searchapplications/patch). Update mask to
6683
+ * control which fields to update. Example field paths: `search_application.name`, `search_application.displayName`. * If `update_mask` is non-empty, then only the fields specified
6684
+ * in the `update_mask` are updated. * If you specify a field in the `update_mask`, but don't specify its value in the `search_application`, then that field is cleared. * If the
6685
+ * `update_mask` is not present or empty or has the value `*`, then all fields are updated.
6686
+ */
6687
+ updateMask?: string;
6453
6688
  /** Upload protocol for media (e.g. "raw", "multipart"). */
6454
6689
  upload_protocol?: string;
6455
6690
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
@@ -6478,6 +6713,13 @@ declare namespace gapi.client {
6478
6713
  prettyPrint?: boolean;
6479
6714
  /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
6480
6715
  quotaUser?: string;
6716
+ /**
6717
+ * Only applies to [`settings.searchapplications.patch`](https://developers.google.com/cloud-search/docs/reference/rest/v1/settings.searchapplications/patch). Update mask to
6718
+ * control which fields to update. Example field paths: `search_application.name`, `search_application.displayName`. * If `update_mask` is non-empty, then only the fields specified
6719
+ * in the `update_mask` are updated. * If you specify a field in the `update_mask`, but don't specify its value in the `search_application`, then that field is cleared. * If the
6720
+ * `update_mask` is not present or empty or has the value `*`, then all fields are updated.
6721
+ */
6722
+ updateMask?: string;
6481
6723
  /** Upload protocol for media (e.g. "raw", "multipart"). */
6482
6724
  upload_protocol?: string;
6483
6725
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.cloudsearch-v1",
3
- "version": "0.0.20220920",
3
+ "version": "0.0.20221018",
4
4
  "description": "TypeScript typings for Cloud Search API v1",
5
5
  "license": "MIT",
6
6
  "author": {
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: 20220920
6
+ // Revision: 20221018
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */
@@ -750,6 +750,7 @@ gapi.load('client', async () => {
750
750
  await gapi.client.cloudsearch.settings.datasources.patch({
751
751
  "debugOptions.enableDebugging": true,
752
752
  name: "Test string",
753
+ updateMask: "Test string",
753
754
  }, {
754
755
  disableModifications: true,
755
756
  disableServing: true,
@@ -799,6 +800,7 @@ gapi.load('client', async () => {
799
800
  returnThumbnailUrls: true,
800
801
  shortName: "Test string",
801
802
  },
803
+ updateMask: "Test string",
802
804
  });
803
805
  /** Creates a search application. **Note:** This API requires an admin account to execute. */
804
806
  await gapi.client.cloudsearch.settings.searchapplications.create({
@@ -899,6 +901,7 @@ gapi.load('client', async () => {
899
901
  /** Updates a search application. **Note:** This API requires an admin account to execute. */
900
902
  await gapi.client.cloudsearch.settings.searchapplications.patch({
901
903
  name: "Test string",
904
+ updateMask: "Test string",
902
905
  }, {
903
906
  dataSourceRestrictions: [
904
907
  {
@@ -988,6 +991,7 @@ gapi.load('client', async () => {
988
991
  /** Updates a search application. **Note:** This API requires an admin account to execute. */
989
992
  await gapi.client.cloudsearch.settings.searchapplications.update({
990
993
  name: "Test string",
994
+ updateMask: "Test string",
991
995
  }, {
992
996
  dataSourceRestrictions: [
993
997
  {