@maxim_mazurok/gapi.client.discoveryengine-v1beta 0.0.20230620 → 0.0.20230629

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 +52 -50
  2. package/package.json +1 -1
  3. package/tests.ts +3 -3
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://discoveryengine.googleapis.com/$discovery/rest?version=v1beta
12
- // Revision: 20230620
12
+ // Revision: 20230629
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -133,7 +133,7 @@ declare namespace gapi.client {
133
133
  }
134
134
  interface GoogleCloudDiscoveryengineV1alphaImportErrorConfig {
135
135
  /**
136
- * Cloud Storage prefix for import errors. This must be an empty, existing Cloud Storage directory. Import errors will be written to sharded files in this directory, one per line, as a
136
+ * Cloud Storage prefix for import errors. This must be an empty, existing Cloud Storage directory. Import errors are written to sharded files in this directory, one per line, as a
137
137
  * JSON-encoded `google.rpc.Status` message.
138
138
  */
139
139
  gcsPrefix?:
@@ -224,9 +224,9 @@ declare namespace gapi.client {
224
224
  }
225
225
  interface GoogleCloudDiscoveryengineV1alphaTargetSite {
226
226
  /**
227
- * Input only. If set to false, an uri_pattern will be generated to include all pages whose address contains the provided_uri_pattern. If set to true, an uri_pattern will be generated
228
- * to try to be an exact match of the provided_uri_pattern or just the specific page if the provided_uri_pattern is a specific one. provided_uri_pattern will always be normalized to
229
- * generate the uri pattern to be used by the search engine.
227
+ * Input only. If set to false, a uri_pattern is generated to include all pages whose address contains the provided_uri_pattern. If set to true, an uri_pattern is generated to try to
228
+ * be an exact match of the provided_uri_pattern or just the specific page if the provided_uri_pattern is a specific one. provided_uri_pattern is always normalized to generate the URI
229
+ * pattern to be used by the search engine.
230
230
  */
231
231
  exactMatch?:
232
232
  boolean;
@@ -239,7 +239,7 @@ declare namespace gapi.client {
239
239
  */
240
240
  name?:
241
241
  string;
242
- /** Required. Input only. The user provided uri pattern from which the `generated_uri_pattern` is generated. */
242
+ /** Required. Input only. The user provided URI pattern from which the `generated_uri_pattern` is generated. */
243
243
  providedUriPattern?:
244
244
  string;
245
245
  /** The type of the target site, e.g. whether the site is to be included or excluded. */
@@ -253,7 +253,7 @@ declare namespace gapi.client {
253
253
  /**
254
254
  * The schema to use when parsing the data from the source. Supported values for user event imports: * `user_event` (default): One UserEvent per row. Supported values for document
255
255
  * imports: * `document` (default): One Document format per row. Each document must have a valid Document.id and one of Document.json_data or Document.struct_data. * `custom`: One
256
- * custom data per row in arbitrary format that conforms the defined Schema of the data store. This can only be used by the GENERIC Data Store vertical.
256
+ * custom data per row in arbitrary format that conforms to the defined Schema of the data store. This can only be used by Gen App Builder.
257
257
  */
258
258
  dataSchema?:
259
259
  string;
@@ -277,10 +277,10 @@ declare namespace gapi.client {
277
277
  string;
278
278
  }
279
279
  interface GoogleCloudDiscoveryengineV1betaCompletionInfo {
280
- /** End user selected CompleteQueryResponse.CompletionResult.suggestion position, starting from 0. */
280
+ /** End user selected CompleteQueryResponse.QuerySuggestion.suggestion position, starting from 0. */
281
281
  selectedPosition?:
282
282
  number;
283
- /** End user selected CompleteQueryResponse.CompletionResult.suggestion. */
283
+ /** End user selected CompleteQueryResponse.QuerySuggestion.suggestion. */
284
284
  selectedSuggestion?:
285
285
  string;
286
286
  }
@@ -302,7 +302,7 @@ declare namespace gapi.client {
302
302
  /** Immutable. The identifier of the document. Id should conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) standard with a length limit of 63 characters. */
303
303
  id?:
304
304
  string;
305
- /** The JSON string representation of the document. It should conform to the registered Schema.schema or an `INVALID_ARGUMENT` error is thrown. */
305
+ /** The JSON string representation of the document. It should conform to the registered Schema or an `INVALID_ARGUMENT` error is thrown. */
306
306
  jsonData?:
307
307
  string;
308
308
  /**
@@ -321,7 +321,7 @@ declare namespace gapi.client {
321
321
  /** The identifier of the schema located in the same data store. */
322
322
  schemaId?:
323
323
  string;
324
- /** The structured JSON data for the document. It should conform to the registered Schema.schema or an `INVALID_ARGUMENT` error is thrown. */
324
+ /** The structured JSON data for the document. It should conform to the registered Schema or an `INVALID_ARGUMENT` error is thrown. */
325
325
  structData?:
326
326
  { [P in string]: any };
327
327
  }
@@ -344,17 +344,17 @@ declare namespace gapi.client {
344
344
  */
345
345
  quantity?:
346
346
  number;
347
- /** The Document url - only allowed for DataStores with content_config PUBLIC_WEBSITE. */
347
+ /** The Document URI - only allowed for website data stores. */
348
348
  uri?:
349
349
  string;
350
350
  }
351
351
  interface GoogleCloudDiscoveryengineV1betaGcsSource {
352
352
  /**
353
353
  * The schema to use when parsing the data from the source. Supported values for document imports: * `document` (default): One JSON Document per line. Each document must have a valid
354
- * Document.id. * `content`: Unstructured data (e.g. PDF, HTML). Each file matched by `input_uris` will become a document, with the ID set to the first 128 bits of SHA256(URI) encoded
355
- * as a hex string. * `custom`: One custom data JSON per row in arbitrary format that conforms the defined Schema of the data store. This can only be used by the GENERIC Data Store
356
- * vertical. * `csv`: A CSV file with header conforming the defined Schema of the data store. Each entry after the header will be imported as a Document. This can only be used by the
357
- * GENERIC Data Store vertical. Supported values for user even imports: * `user_event` (default): One JSON UserEvent per line.
354
+ * Document.id. * `content`: Unstructured data (e.g. PDF, HTML). Each file matched by `input_uris` becomes a document, with the ID set to the first 128 bits of SHA256(URI) encoded as a
355
+ * hex string. * `custom`: One custom data JSON per row in arbitrary format that conforms to the defined Schema of the data store. This can only be used by Gen App Builder. * `csv`: A
356
+ * CSV file with header conforming to the defined Schema of the data store. Each entry after the header is imported as a Document. This can only be used by Gen App Builder. Supported
357
+ * values for user even imports: * `user_event` (default): One JSON UserEvent per line.
358
358
  */
359
359
  dataSchema?:
360
360
  string;
@@ -384,7 +384,7 @@ declare namespace gapi.client {
384
384
  /**
385
385
  * Whether to automatically generate IDs for the documents if absent. If set to `true`, Document.ids are automatically generated based on the hash of the payload, where IDs may not be
386
386
  * consistent during multiple imports. In which case ReconciliationMode.FULL is highly recommended to avoid duplicate contents. If unset or set to `false`, Document.ids have to be
387
- * specified using id_field, otherwises, documents without IDs will fail to be imported. Only set this field when using GcsSource or BigQuerySource, and when GcsSource.data_schema or
387
+ * specified using id_field, otherwise, documents without IDs fail to be imported. Only set this field when using GcsSource or BigQuerySource, and when GcsSource.data_schema or
388
388
  * BigQuerySource.data_schema is `custom` or `csv`. Otherwise, an INVALID_ARGUMENT error is thrown.
389
389
  */
390
390
  autoGenerateIds?:
@@ -400,9 +400,9 @@ declare namespace gapi.client {
400
400
  GoogleCloudDiscoveryengineV1betaGcsSource;
401
401
  /**
402
402
  * The field in the Cloud Storage and BigQuery sources that indicates the unique IDs of the documents. For GcsSource it is the key of the JSON field. For instance, `my_id` for JSON
403
- * `{"my_id": "some_uuid"}`. For BigQuerySource it is the column name of the BigQuery table where the unique ids are stored. The values of the JSON field or the BigQuery column will be
403
+ * `{"my_id": "some_uuid"}`. For BigQuerySource it is the column name of the BigQuery table where the unique ids are stored. The values of the JSON field or the BigQuery column are
404
404
  * used as the Document.ids. The JSON field or the BigQuery column must be of string type, and the values must be set as valid strings conform to
405
- * [RFC-1034](https://tools.ietf.org/html/rfc1034) with 1-63 characters. Otherwise, documents without valid IDs will fail to be imported. Only set this field when using GcsSource or
405
+ * [RFC-1034](https://tools.ietf.org/html/rfc1034) with 1-63 characters. Otherwise, documents without valid IDs fail to be imported. Only set this field when using GcsSource or
406
406
  * BigQuerySource, and when GcsSource.data_schema or BigQuerySource.data_schema is `custom`. And only set this field when auto_generate_ids is unset or set as `false`. Otherwise, an
407
407
  * INVALID_ARGUMENT error is thrown. If it is unset, a default value `_id` is used when importing from the allowed data sources.
408
408
  */
@@ -430,7 +430,7 @@ declare namespace gapi.client {
430
430
  }
431
431
  interface GoogleCloudDiscoveryengineV1betaImportErrorConfig {
432
432
  /**
433
- * Cloud Storage prefix for import errors. This must be an empty, existing Cloud Storage directory. Import errors will be written to sharded files in this directory, one per line, as a
433
+ * Cloud Storage prefix for import errors. This must be an empty, existing Cloud Storage directory. Import errors are written to sharded files in this directory, one per line, as a
434
434
  * JSON-encoded `google.rpc.Status` message.
435
435
  */
436
436
  gcsPrefix?:
@@ -509,14 +509,14 @@ declare namespace gapi.client {
509
509
  /**
510
510
  * The most specific category associated with a category page. To represent full path of category, use '>' sign to separate different hierarchies. If '>' is part of the category name,
511
511
  * please replace it with other character(s). Category pages include special pages such as sales or promotions. For instance, a special sale page may have the category hierarchy:
512
- * "pageCategory" : "Sales > 2017 Black Friday Deals". Required for `view-category-page` events. Other event types should not set this field. Otherwise, an INVALID_ARGUMENT error is
513
- * returned.
512
+ * `"pageCategory" : "Sales > 2017 Black Friday Deals"`. Required for `view-category-page` events. Other event types should not set this field. Otherwise, an `INVALID_ARGUMENT` error
513
+ * is returned.
514
514
  */
515
515
  pageCategory?:
516
516
  string;
517
517
  /**
518
518
  * A unique ID of a web page view. This should be kept the same for all user events triggered from the same pageview. For example, an item detail page view could trigger multiple
519
- * events as the user is browsing the page. The `pageViewId` property should be kept the same for all these events so that they can be grouped together properly. When using the client
519
+ * events as the user is browsing the page. The `pageview_id` property should be kept the same for all these events so that they can be grouped together properly. When using the client
520
520
  * side event reporting with JavaScript pixel and Google Tag Manager, this value is filled in automatically.
521
521
  */
522
522
  pageviewId?:
@@ -669,22 +669,22 @@ declare namespace gapi.client {
669
669
  interface GoogleCloudDiscoveryengineV1betaSearchInfo {
670
670
  /**
671
671
  * An integer that specifies the current offset for pagination (the 0-indexed starting location, amongst the products deemed by the API as relevant). See SearchRequest.offset for
672
- * definition. If this field is negative, an INVALID_ARGUMENT is returned. This can only be set for `search` events. Other event types should not set this field. Otherwise, an
673
- * INVALID_ARGUMENT error is returned.
672
+ * definition. If this field is negative, an `INVALID_ARGUMENT` is returned. This can only be set for `search` events. Other event types should not set this field. Otherwise, an
673
+ * `INVALID_ARGUMENT` error is returned.
674
674
  */
675
675
  offset?:
676
676
  number;
677
677
  /**
678
678
  * The order in which products are returned, if applicable. See SearchRequest.order_by for definition and syntax. The value must be a UTF-8 encoded string with a length limit of 1,000
679
- * characters. Otherwise, an INVALID_ARGUMENT error is returned. This can only be set for `search` events. Other event types should not set this field. Otherwise, an INVALID_ARGUMENT
680
- * error is returned.
679
+ * characters. Otherwise, an `INVALID_ARGUMENT` error is returned. This can only be set for `search` events. Other event types should not set this field. Otherwise, an
680
+ * `INVALID_ARGUMENT` error is returned.
681
681
  */
682
682
  orderBy?:
683
683
  string;
684
684
  /**
685
- * The user's search query. See SearchRequest.query for definition. The value must be a UTF-8 encoded string with a length limit of 5,000 characters. Otherwise, an INVALID_ARGUMENT
685
+ * The user's search query. See SearchRequest.query for definition. The value must be a UTF-8 encoded string with a length limit of 5,000 characters. Otherwise, an `INVALID_ARGUMENT`
686
686
  * error is returned. At least one of search_query or PageInfo.page_category is required for `search` events. Other event types should not set this field. Otherwise, an
687
- * INVALID_ARGUMENT error is returned.
687
+ * `INVALID_ARGUMENT` error is returned.
688
688
  */
689
689
  searchQuery?:
690
690
  string;
@@ -723,22 +723,25 @@ declare namespace gapi.client {
723
723
  * consistent between imported events and events provided with prediction requests. This lets the Discovery Engine API use those custom attributes when training models and serving
724
724
  * predictions, which helps improve recommendation quality. This field needs to pass all below criteria, otherwise an `INVALID_ARGUMENT` error is returned: * The key must be a UTF-8
725
725
  * encoded string with a length limit of 5,000 characters. * For text attributes, at most 400 values are allowed. Empty values are not allowed. Each value must be a UTF-8 encoded
726
- * string with a length limit of 256 characters. * For number attributes, at most 400 values are allowed. For product recommendations, an example of extra user information is `
727
- * traffic_channel`, which is how a user arrives at the site. Users can arrive at the site by coming to the site directly, coming through Google search, or in other ways.
726
+ * string with a length limit of 256 characters. * For number attributes, at most 400 values are allowed. For product recommendations, an example of extra user information is
727
+ * `traffic_channel`, which is how a user arrives at the site. Users can arrive at the site by coming to the site directly, coming through Google search, or in other ways.
728
728
  */
729
729
  attributes?:
730
730
  { [P in string]: GoogleCloudDiscoveryengineV1betaCustomAttribute };
731
731
  /**
732
732
  * Token to attribute an API response to user action(s) to trigger the event. Highly recommended for user events that are the result of RecommendationService.Recommend. This field
733
- * enables accurate attribution of recommendation model performance. The value must be one of: * PredictResponse.attribution_token for events that are the result of
734
- * RecommendationService.Recommend. * SearchResponse.attribution_token for events that are the result of SearchService.Search. * CompleteQueryResponse.attribution_token for events that
735
- * are the result of CompletionService.CompleteQuery. This token enables us to accurately attribute page view or conversion completion back to the event and the particular predict
736
- * response containing this clicked/purchased product. If user clicks on product K in the recommendation results, pass PredictResponse.attribution_token as a URL parameter to product
737
- * K's page. When recording events on product K's page, log the PredictResponse.attribution_token to this field.
733
+ * enables accurate attribution of recommendation model performance. The value must be one of: * RecommendResponse.attribution_token for events that are the result of
734
+ * RecommendationService.Recommend. * SearchResponse.attribution_token for events that are the result of SearchService.Search. This token enables us to accurately attribute page view
735
+ * or conversion completion back to the event and the particular predict response containing this clicked/purchased product. If user clicks on product K in the recommendation results,
736
+ * pass RecommendResponse.attribution_token as a URL parameter to product K's page. When recording events on product K's page, log the RecommendResponse.attribution_token to this
737
+ * field.
738
738
  */
739
739
  attributionToken?:
740
740
  string;
741
- /** CompleteQuery API details related to the event. This field should be set for `search` event when autocomplete function is enabled and the user clicks a suggestion for search. */
741
+ /**
742
+ * CompletionService.CompleteQuery details related to the event. This field should be set for `search` event when autocomplete function is enabled and the user clicks a suggestion for
743
+ * search.
744
+ */
742
745
  completionInfo?:
743
746
  GoogleCloudDiscoveryengineV1betaCompletionInfo;
744
747
  /**
@@ -770,7 +773,7 @@ declare namespace gapi.client {
770
773
  * The filter syntax consists of an expression language for constructing a predicate from one or more fields of the documents being filtered. One example is for `search` events, the
771
774
  * associated SearchRequest may contain a filter expression in SearchRequest.filter conforming to https://google.aip.dev/160#filtering. Similarly, for `view-item-list` events that are
772
775
  * generated from a RecommendationService.RecommendRequest, this field may be populated directly from RecommendationService.RecommendRequest.filter conforming to
773
- * https://google.aip.dev/160#filtering. The value must be a UTF-8 encoded string with a length limit of 1,000 characters. Otherwise, an INVALID_ARGUMENT error is returned.
776
+ * https://google.aip.dev/160#filtering. The value must be a UTF-8 encoded string with a length limit of 1,000 characters. Otherwise, an `INVALID_ARGUMENT` error is returned.
774
777
  */
775
778
  filter?:
776
779
  string;
@@ -786,7 +789,7 @@ declare namespace gapi.client {
786
789
  /** The promotion IDs if this is an event associated with promotions. Currently, this field is restricted to at most one ID. */
787
790
  promotionIds?:
788
791
  string[];
789
- /** Search API details related to the event. This field should be set for `search` event. */
792
+ /** SearchService.Search details related to the event. This field should be set for `search` event. */
790
793
  searchInfo?:
791
794
  GoogleCloudDiscoveryengineV1betaSearchInfo;
792
795
  /**
@@ -812,7 +815,7 @@ declare namespace gapi.client {
812
815
  * Required. A unique identifier for tracking visitors. For example, this could be implemented with an HTTP cookie, which should be able to uniquely identify a visitor on a single
813
816
  * device. This unique identifier should not change if the visitor log in/out of the website. Do not set the field to the same fixed ID for different users. This mixes the event
814
817
  * history of those users together, which results in degraded model quality. The field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an
815
- * INVALID_ARGUMENT error is returned. The field should not contain PII or user-data. We recommend to use Google Analytics [Client
818
+ * `INVALID_ARGUMENT` error is returned. The field should not contain PII or user-data. We recommend to use Google Analytics [Client
816
819
  * ID](https://developers.google.com/analytics/devguides/collection/analyticsjs/field-reference#clientId) for this field.
817
820
  */
818
821
  userPseudoId?:
@@ -820,9 +823,8 @@ declare namespace gapi.client {
820
823
  }
821
824
  interface GoogleCloudDiscoveryengineV1betaUserInfo {
822
825
  /**
823
- * User agent as included in the HTTP header. Required for getting SearchResponse.sponsored_results. The field must be a UTF-8 encoded string with a length limit of 1,000 characters.
824
- * Otherwise, an `INVALID_ARGUMENT` error is returned. This should not be set when using the client side event reporting with GTM or JavaScript tag in UserEventService.CollectUserEvent
825
- * or if UserEvent.direct_user_request is set.
826
+ * User agent as included in the HTTP header. The field must be a UTF-8 encoded string with a length limit of 1,000 characters. Otherwise, an `INVALID_ARGUMENT` error is returned. This
827
+ * should not be set when using the client side event reporting with GTM or JavaScript tag in UserEventService.CollectUserEvent or if UserEvent.direct_user_request is set.
826
828
  */
827
829
  userAgent?:
828
830
  string;
@@ -858,7 +860,7 @@ declare namespace gapi.client {
858
860
  }
859
861
  interface GoogleCloudDiscoveryengineV1ImportErrorConfig {
860
862
  /**
861
- * Cloud Storage prefix for import errors. This must be an empty, existing Cloud Storage directory. Import errors will be written to sharded files in this directory, one per line, as a
863
+ * Cloud Storage prefix for import errors. This must be an empty, existing Cloud Storage directory. Import errors are written to sharded files in this directory, one per line, as a
862
864
  * JSON-encoded `google.rpc.Status` message.
863
865
  */
864
866
  gcsPrefix?:
@@ -1302,7 +1304,7 @@ declare namespace gapi.client {
1302
1304
  string;
1303
1305
  /**
1304
1306
  * Required. The parent branch resource name, such as `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}`. Use
1305
- * `default_branch` as the branch ID, to list documents under the default branch. If the caller does not have permission to list Documentss under this branch, regardless of whether
1307
+ * `default_branch` as the branch ID, to list documents under the default branch. If the caller does not have permission to list Documents under this branch, regardless of whether
1306
1308
  * or not this branch exists, a `PERMISSION_DENIED` error is returned.
1307
1309
  */
1308
1310
  parent:
@@ -1962,7 +1964,7 @@ declare namespace gapi.client {
1962
1964
  }
1963
1965
  interface UserEventsResource {
1964
1966
  /**
1965
- * Writes a single user event from the browser. This uses a GET request to due to browser restriction of POST-ing to a 3rd party domain. This method is used only by the Discovery
1967
+ * Writes a single user event from the browser. This uses a GET request to due to browser restriction of POST-ing to a third-party domain. This method is used only by the Discovery
1966
1968
  * Engine API JavaScript pixel and Google Tag Manager. Users should not call this method directly.
1967
1969
  */
1968
1970
  collect(request?: {
@@ -2007,7 +2009,7 @@ declare namespace gapi.client {
2007
2009
  string;
2008
2010
  /**
2009
2011
  * The URL including cgi-parameters but excluding the hash fragment with a length limit of 5,000 characters. This is often more useful than the referer URL, because many browsers
2010
- * only send the domain for 3rd party requests.
2012
+ * only send the domain for third-party requests.
2011
2013
  */
2012
2014
  uri?:
2013
2015
  string;
@@ -2696,7 +2698,7 @@ declare namespace gapi.client {
2696
2698
  string;
2697
2699
  /**
2698
2700
  * Required. The parent branch resource name, such as `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}`. Use
2699
- * `default_branch` as the branch ID, to list documents under the default branch. If the caller does not have permission to list Documentss under this branch, regardless of whether
2701
+ * `default_branch` as the branch ID, to list documents under the default branch. If the caller does not have permission to list Documents under this branch, regardless of whether
2700
2702
  * or not this branch exists, a `PERMISSION_DENIED` error is returned.
2701
2703
  */
2702
2704
  parent:
@@ -3263,7 +3265,7 @@ declare namespace gapi.client {
3263
3265
  }
3264
3266
  interface UserEventsResource {
3265
3267
  /**
3266
- * Writes a single user event from the browser. This uses a GET request to due to browser restriction of POST-ing to a 3rd party domain. This method is used only by the Discovery
3268
+ * Writes a single user event from the browser. This uses a GET request to due to browser restriction of POST-ing to a third-party domain. This method is used only by the Discovery
3267
3269
  * Engine API JavaScript pixel and Google Tag Manager. Users should not call this method directly.
3268
3270
  */
3269
3271
  collect(request?: {
@@ -3308,7 +3310,7 @@ declare namespace gapi.client {
3308
3310
  string;
3309
3311
  /**
3310
3312
  * The URL including cgi-parameters but excluding the hash fragment with a length limit of 5,000 characters. This is often more useful than the referer URL, because many browsers
3311
- * only send the domain for 3rd party requests.
3313
+ * only send the domain for third-party requests.
3312
3314
  */
3313
3315
  uri?:
3314
3316
  string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.discoveryengine-v1beta",
3
- "version": "0.0.20230620",
3
+ "version": "0.0.20230629",
4
4
  "description": "TypeScript typings for Discovery Engine API v1beta",
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: 20230620
6
+ // Revision: 20230629
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */
@@ -260,7 +260,7 @@ gapi.load('client', async () => {
260
260
  validateOnly: true,
261
261
  });
262
262
  /**
263
- * Writes a single user event from the browser. This uses a GET request to due to browser restriction of POST-ing to a 3rd party domain. This method is used only by the Discovery Engine
263
+ * Writes a single user event from the browser. This uses a GET request to due to browser restriction of POST-ing to a third-party domain. This method is used only by the Discovery Engine
264
264
  * API JavaScript pixel and Google Tag Manager. Users should not call this method directly.
265
265
  */
266
266
  await gapi.client.discoveryengine.projects.locations.collections.dataStores.userEvents.collect({
@@ -693,7 +693,7 @@ gapi.load('client', async () => {
693
693
  validateOnly: true,
694
694
  });
695
695
  /**
696
- * Writes a single user event from the browser. This uses a GET request to due to browser restriction of POST-ing to a 3rd party domain. This method is used only by the Discovery Engine
696
+ * Writes a single user event from the browser. This uses a GET request to due to browser restriction of POST-ing to a third-party domain. This method is used only by the Discovery Engine
697
697
  * API JavaScript pixel and Google Tag Manager. Users should not call this method directly.
698
698
  */
699
699
  await gapi.client.discoveryengine.projects.locations.dataStores.userEvents.collect({