@maxim_mazurok/gapi.client.cloudsearch-v1 0.0.20230221 → 0.0.20230307

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 +31 -12
  2. package/package.json +1 -1
  3. package/tests.ts +2 -7
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: 20230221
12
+ // Revision: 20230307
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -825,6 +825,11 @@ declare namespace gapi.client {
825
825
  imageType?: string;
826
826
  /** The icon specified by the string name of a list of known icons */
827
827
  knownIcon?: string;
828
+ /**
829
+ * Display one of the [Google Material Icons](https://fonts.google.com/icons). For example, to display a [check box
830
+ * icon](https://fonts.google.com/icons?selected=Material%20Symbols%20Outlined%3Acheck_box%3AFILL%400%3Bwght%40400%3BGRAD%400%3Bopsz%4048), use "material_icon": { "name": "check_box" }
831
+ */
832
+ materialIcon?: AppsDynamiteStorageMaterialIcon;
828
833
  }
829
834
  interface AppsDynamiteStorageImage {
830
835
  /** The alternative text of this image, used for accessibility. */
@@ -849,6 +854,26 @@ declare namespace gapi.client {
849
854
  /** The crop type. */
850
855
  type?: string;
851
856
  }
857
+ interface AppsDynamiteStorageMaterialIcon {
858
+ /** Whether it renders a filled icon. Default value is false. See Customization in [Google Font Icon](https://fonts.google.com/icons) for details. */
859
+ fill?: boolean;
860
+ /**
861
+ * Weight and grade affect a symbol’s thickness. Adjustments to grade are more granular than adjustments to weight and have a small impact on the size of the symbol. Choose from {-25,
862
+ * 0, 200}. If absent, default value is 0. If any other value is specified, a broken image icon will be displayed. See Customization in [Google Font
863
+ * Icon](https://fonts.google.com/icons) for details.
864
+ */
865
+ grade?: number;
866
+ /**
867
+ * The icon name defined in the [Google Material Icon](https://fonts.google.com/icons) in snake_case. e.g. "check_box". Any invalid name will be trimmed as empty string result in the
868
+ * icon falied to render.
869
+ */
870
+ name?: string;
871
+ /**
872
+ * The stroke weight of the icon. Choose from {100, 200, 300, 400, 500, 600, 700}. If absent, default value is 400. If any other value is specified, a broken image icon will be
873
+ * displayed. See Customization in [Google Font Icon](https://fonts.google.com/icons) for details.
874
+ */
875
+ weight?: number;
876
+ }
852
877
  interface AppsDynamiteStorageOnClick {
853
878
  /** If specified, an action is triggered by this onClick. */
854
879
  action?: AppsDynamiteStorageAction;
@@ -1911,7 +1936,7 @@ declare namespace gapi.client {
1911
1936
  /**
1912
1937
  * Indicates that was no attempt to scan a message or attachment because it was not applicable in the given context (e.g. atomic mutuate). If this is true, scan_outcome should not be
1913
1938
  * set. This flag is used to identify messages that DLP did not attempt to scan for monitoring scan coverage. Contents that DLP attempted to scan but skipped can be identified by
1914
- * DlpScanOutcome.SCAN_SKIPPED_* reasons.
1939
+ * DlpScanOutcome.SCAN_SKIPPED_* reasons. DEPRECATED: The prober can determine this from the context.
1915
1940
  */
1916
1941
  scanNotApplicableForContext?: boolean;
1917
1942
  /** The outcome of a DLP Scan. If this is set, scan_not_applicable_for_context should not be true. */
@@ -2024,6 +2049,7 @@ declare namespace gapi.client {
2024
2049
  commonCountToMembershipCountRatio?: number;
2025
2050
  creatorGaiaId?: string;
2026
2051
  creatorInSearcherContactList?: boolean;
2052
+ crowdingMultiplier?: number;
2027
2053
  dasContactCount?: string;
2028
2054
  finalScore?: number;
2029
2055
  freshnessScore?: number;
@@ -3424,11 +3450,9 @@ declare namespace gapi.client {
3424
3450
  /** Time when the Message was per-user deleted by the message requester in microseconds. This field is set to nonzero value only for Message per-user deleted by the requester. */
3425
3451
  deleteTimeForRequester?: string;
3426
3452
  /**
3427
- * Data Loss Prevention scan information for this message. Messages are evaluated in the backend on create message/topic and edit message actions. DEPRECATED: use dlp_scan_summary
3428
- * instead.
3453
+ * Data Loss Prevention scan information for this message. Messages are evaluated in the backend on create message/topic and edit message actions. DEPRECATED: Use DATA_LOSS_PREVENTION
3454
+ * Annotation.
3429
3455
  */
3430
- dlpScanOutcome?: string;
3431
- /** Data Loss Prevention scan information for this message. Messages are evaluated in the backend on create message/topic and edit message actions. */
3432
3456
  dlpScanSummary?: DlpScanSummary;
3433
3457
  /** Indicates who can edit the message. This field is set on the read path (e.g. ListTopics) but doesn’t have any effect on the write path (e.g. CreateMessageRequest). */
3434
3458
  editableBy?: string;
@@ -6440,12 +6464,7 @@ declare namespace gapi.client {
6440
6464
  body: Media): Request<Media>;
6441
6465
  }
6442
6466
  interface LroResource {
6443
- /**
6444
- * Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name` binding allows API services
6445
- * to override the binding to use different resource name schemes, such as `users/*‍/operations`. To override the binding, API services can add a binding such as
6446
- * `"/v1/{name=users/*}/operations"` to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must
6447
- * ensure the name binding is the parent resource, without the operations collection id.
6448
- */
6467
+ /** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
6449
6468
  list(request?: {
6450
6469
  /** V1 error format. */
6451
6470
  "$.xgafv"?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.cloudsearch-v1",
3
- "version": "0.0.20230221",
3
+ "version": "0.0.20230307",
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: 20230221
6
+ // Revision: 20230307
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */
@@ -542,12 +542,7 @@ gapi.load('client', async () => {
542
542
  await gapi.client.cloudsearch.operations.get({
543
543
  name: "Test string",
544
544
  });
545
- /**
546
- * Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name` binding allows API services to
547
- * override the binding to use different resource name schemes, such as `users/*‍/operations`. To override the binding, API services can add a binding such as
548
- * `"/v1/{name=users/*}/operations"` to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must
549
- * ensure the name binding is the parent resource, without the operations collection id.
550
- */
545
+ /** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
551
546
  await gapi.client.cloudsearch.operations.lro.list({
552
547
  filter: "Test string",
553
548
  name: "Test string",