@maxim_mazurok/gapi.client.discoveryengine-v1alpha 0.0.20230620 → 0.0.20230623

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=v1alpha
12
- // Revision: 20230620
12
+ // Revision: 20230623
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -113,7 +113,7 @@ declare namespace gapi.client {
113
113
  /**
114
114
  * 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
115
115
  * 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
116
- * 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.
116
+ * custom data per row in arbitrary format that conforms to the defined Schema of the data store. This can only be used by the GENERIC Data Store vertical.
117
117
  */
118
118
  dataSchema?:
119
119
  string;
@@ -137,10 +137,10 @@ declare namespace gapi.client {
137
137
  string;
138
138
  }
139
139
  interface GoogleCloudDiscoveryengineV1alphaCompletionInfo {
140
- /** End user selected CompleteQueryResponse.CompletionResult.suggestion position, starting from 0. */
140
+ /** End user selected CompleteQueryResponse.QuerySuggestion.suggestion position, starting from 0. */
141
141
  selectedPosition?:
142
142
  number;
143
- /** End user selected CompleteQueryResponse.CompletionResult.suggestion. */
143
+ /** End user selected CompleteQueryResponse.QuerySuggestion.suggestion. */
144
144
  selectedSuggestion?:
145
145
  string;
146
146
  }
@@ -162,7 +162,7 @@ declare namespace gapi.client {
162
162
  /** 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. */
163
163
  id?:
164
164
  string;
165
- /** The JSON string representation of the document. It should conform to the registered Schema.schema or an `INVALID_ARGUMENT` error is thrown. */
165
+ /** The JSON string representation of the document. It should conform to the registered Schema or an `INVALID_ARGUMENT` error is thrown. */
166
166
  jsonData?:
167
167
  string;
168
168
  /**
@@ -181,7 +181,7 @@ declare namespace gapi.client {
181
181
  /** The identifier of the schema located in the same data store. */
182
182
  schemaId?:
183
183
  string;
184
- /** The structured JSON data for the document. It should conform to the registered Schema.schema or an `INVALID_ARGUMENT` error is thrown. */
184
+ /** The structured JSON data for the document. It should conform to the registered Schema or an `INVALID_ARGUMENT` error is thrown. */
185
185
  structData?:
186
186
  { [P in string]: any };
187
187
  }
@@ -204,17 +204,17 @@ declare namespace gapi.client {
204
204
  */
205
205
  quantity?:
206
206
  number;
207
- /** The Document url - only allowed for DataStores with content_config PUBLIC_WEBSITE. */
207
+ /** The Document URI - only allowed for website data stores. */
208
208
  uri?:
209
209
  string;
210
210
  }
211
211
  interface GoogleCloudDiscoveryengineV1alphaGcsSource {
212
212
  /**
213
213
  * 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
214
- * 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
215
- * 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
216
- * 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
217
- * GENERIC Data Store vertical. Supported values for user even imports: * `user_event` (default): One JSON UserEvent per line.
214
+ * 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
215
+ * 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
216
+ * 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
217
+ * values for user even imports: * `user_event` (default): One JSON UserEvent per line.
218
218
  */
219
219
  dataSchema?:
220
220
  string;
@@ -244,7 +244,7 @@ declare namespace gapi.client {
244
244
  /**
245
245
  * 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
246
246
  * 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
247
- * 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
247
+ * 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
248
248
  * BigQuerySource.data_schema is `custom` or `csv`. Otherwise, an INVALID_ARGUMENT error is thrown.
249
249
  */
250
250
  autoGenerateIds?:
@@ -260,9 +260,9 @@ declare namespace gapi.client {
260
260
  GoogleCloudDiscoveryengineV1alphaGcsSource;
261
261
  /**
262
262
  * 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
263
- * `{"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
263
+ * `{"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
264
264
  * 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
265
- * [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
265
+ * [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
266
266
  * 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
267
267
  * INVALID_ARGUMENT error is thrown. If it is unset, a default value `_id` is used when importing from the allowed data sources.
268
268
  */
@@ -290,7 +290,7 @@ declare namespace gapi.client {
290
290
  }
291
291
  interface GoogleCloudDiscoveryengineV1alphaImportErrorConfig {
292
292
  /**
293
- * 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
293
+ * 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
294
294
  * JSON-encoded `google.rpc.Status` message.
295
295
  */
296
296
  gcsPrefix?:
@@ -369,14 +369,14 @@ declare namespace gapi.client {
369
369
  /**
370
370
  * 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,
371
371
  * 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:
372
- * "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
373
- * returned.
372
+ * `"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
373
+ * is returned.
374
374
  */
375
375
  pageCategory?:
376
376
  string;
377
377
  /**
378
378
  * 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
379
- * 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
379
+ * 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
380
380
  * side event reporting with JavaScript pixel and Google Tag Manager, this value is filled in automatically.
381
381
  */
382
382
  pageviewId?:
@@ -565,31 +565,31 @@ declare namespace gapi.client {
565
565
  interface GoogleCloudDiscoveryengineV1alphaSearchInfo {
566
566
  /**
567
567
  * 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
568
- * 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
569
- * INVALID_ARGUMENT error is returned.
568
+ * 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
569
+ * `INVALID_ARGUMENT` error is returned.
570
570
  */
571
571
  offset?:
572
572
  number;
573
573
  /**
574
574
  * 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
575
- * 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
576
- * error is returned.
575
+ * 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
576
+ * `INVALID_ARGUMENT` error is returned.
577
577
  */
578
578
  orderBy?:
579
579
  string;
580
580
  /**
581
- * 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
581
+ * 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`
582
582
  * 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
583
- * INVALID_ARGUMENT error is returned.
583
+ * `INVALID_ARGUMENT` error is returned.
584
584
  */
585
585
  searchQuery?:
586
586
  string;
587
587
  }
588
588
  interface GoogleCloudDiscoveryengineV1alphaTargetSite {
589
589
  /**
590
- * 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
591
- * 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
592
- * generate the uri pattern to be used by the search engine.
590
+ * 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
591
+ * 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
592
+ * pattern to be used by the search engine.
593
593
  */
594
594
  exactMatch?:
595
595
  boolean;
@@ -602,7 +602,7 @@ declare namespace gapi.client {
602
602
  */
603
603
  name?:
604
604
  string;
605
- /** Required. Input only. The user provided uri pattern from which the `generated_uri_pattern` is generated. */
605
+ /** Required. Input only. The user provided URI pattern from which the `generated_uri_pattern` is generated. */
606
606
  providedUriPattern?:
607
607
  string;
608
608
  /** The type of the target site, e.g. whether the site is to be included or excluded. */
@@ -646,22 +646,25 @@ declare namespace gapi.client {
646
646
  * 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
647
647
  * 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
648
648
  * 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
649
- * 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 `
650
- * 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.
649
+ * 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
650
+ * `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.
651
651
  */
652
652
  attributes?:
653
653
  { [P in string]: GoogleCloudDiscoveryengineV1alphaCustomAttribute };
654
654
  /**
655
655
  * 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
656
- * enables accurate attribution of recommendation model performance. The value must be one of: * PredictResponse.attribution_token for events that are the result of
657
- * RecommendationService.Recommend. * SearchResponse.attribution_token for events that are the result of SearchService.Search. * CompleteQueryResponse.attribution_token for events that
658
- * 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
659
- * 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
660
- * K's page. When recording events on product K's page, log the PredictResponse.attribution_token to this field.
656
+ * enables accurate attribution of recommendation model performance. The value must be one of: * RecommendResponse.attribution_token for events that are the result of
657
+ * RecommendationService.Recommend. * SearchResponse.attribution_token for events that are the result of SearchService.Search. This token enables us to accurately attribute page view
658
+ * 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,
659
+ * 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
660
+ * field.
661
661
  */
662
662
  attributionToken?:
663
663
  string;
664
- /** 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. */
664
+ /**
665
+ * 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
666
+ * search.
667
+ */
665
668
  completionInfo?:
666
669
  GoogleCloudDiscoveryengineV1alphaCompletionInfo;
667
670
  /**
@@ -693,7 +696,7 @@ declare namespace gapi.client {
693
696
  * 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
694
697
  * 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
695
698
  * generated from a RecommendationService.RecommendRequest, this field may be populated directly from RecommendationService.RecommendRequest.filter conforming to
696
- * 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.
699
+ * 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.
697
700
  */
698
701
  filter?:
699
702
  string;
@@ -709,7 +712,7 @@ declare namespace gapi.client {
709
712
  /** The promotion IDs if this is an event associated with promotions. Currently, this field is restricted to at most one ID. */
710
713
  promotionIds?:
711
714
  string[];
712
- /** Search API details related to the event. This field should be set for `search` event. */
715
+ /** SearchService.Search details related to the event. This field should be set for `search` event. */
713
716
  searchInfo?:
714
717
  GoogleCloudDiscoveryengineV1alphaSearchInfo;
715
718
  /**
@@ -735,7 +738,7 @@ declare namespace gapi.client {
735
738
  * 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
736
739
  * 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
737
740
  * 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
738
- * INVALID_ARGUMENT error is returned. The field should not contain PII or user-data. We recommend to use Google Analytics [Client
741
+ * `INVALID_ARGUMENT` error is returned. The field should not contain PII or user-data. We recommend to use Google Analytics [Client
739
742
  * ID](https://developers.google.com/analytics/devguides/collection/analyticsjs/field-reference#clientId) for this field.
740
743
  */
741
744
  userPseudoId?:
@@ -743,9 +746,8 @@ declare namespace gapi.client {
743
746
  }
744
747
  interface GoogleCloudDiscoveryengineV1alphaUserInfo {
745
748
  /**
746
- * 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.
747
- * 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
748
- * or if UserEvent.direct_user_request is set.
749
+ * 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
750
+ * 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.
749
751
  */
750
752
  userAgent?:
751
753
  string;
@@ -781,7 +783,7 @@ declare namespace gapi.client {
781
783
  }
782
784
  interface GoogleCloudDiscoveryengineV1betaImportErrorConfig {
783
785
  /**
784
- * 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
786
+ * 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
785
787
  * JSON-encoded `google.rpc.Status` message.
786
788
  */
787
789
  gcsPrefix?:
@@ -875,7 +877,7 @@ declare namespace gapi.client {
875
877
  }
876
878
  interface GoogleCloudDiscoveryengineV1ImportErrorConfig {
877
879
  /**
878
- * 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
880
+ * 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
879
881
  * JSON-encoded `google.rpc.Status` message.
880
882
  */
881
883
  gcsPrefix?:
@@ -1319,7 +1321,7 @@ declare namespace gapi.client {
1319
1321
  string;
1320
1322
  /**
1321
1323
  * Required. The parent branch resource name, such as `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}`. Use
1322
- * `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
1324
+ * `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
1323
1325
  * or not this branch exists, a `PERMISSION_DENIED` error is returned.
1324
1326
  */
1325
1327
  parent:
@@ -1979,7 +1981,7 @@ declare namespace gapi.client {
1979
1981
  }
1980
1982
  interface UserEventsResource {
1981
1983
  /**
1982
- * 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
1984
+ * 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
1983
1985
  * Engine API JavaScript pixel and Google Tag Manager. Users should not call this method directly.
1984
1986
  */
1985
1987
  collect(request?: {
@@ -2024,7 +2026,7 @@ declare namespace gapi.client {
2024
2026
  string;
2025
2027
  /**
2026
2028
  * 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
2027
- * only send the domain for 3rd party requests.
2029
+ * only send the domain for third-party requests.
2028
2030
  */
2029
2031
  uri?:
2030
2032
  string;
@@ -2803,7 +2805,7 @@ declare namespace gapi.client {
2803
2805
  string;
2804
2806
  /**
2805
2807
  * Required. The parent branch resource name, such as `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}`. Use
2806
- * `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
2808
+ * `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
2807
2809
  * or not this branch exists, a `PERMISSION_DENIED` error is returned.
2808
2810
  */
2809
2811
  parent:
@@ -3370,7 +3372,7 @@ declare namespace gapi.client {
3370
3372
  }
3371
3373
  interface UserEventsResource {
3372
3374
  /**
3373
- * 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
3375
+ * 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
3374
3376
  * Engine API JavaScript pixel and Google Tag Manager. Users should not call this method directly.
3375
3377
  */
3376
3378
  collect(request?: {
@@ -3415,7 +3417,7 @@ declare namespace gapi.client {
3415
3417
  string;
3416
3418
  /**
3417
3419
  * 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
3418
- * only send the domain for 3rd party requests.
3420
+ * only send the domain for third-party requests.
3419
3421
  */
3420
3422
  uri?:
3421
3423
  string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.discoveryengine-v1alpha",
3
- "version": "0.0.20230620",
3
+ "version": "0.0.20230623",
4
4
  "description": "TypeScript typings for Discovery Engine API v1alpha",
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: 20230623
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({
@@ -703,7 +703,7 @@ gapi.load('client', async () => {
703
703
  validateOnly: true,
704
704
  });
705
705
  /**
706
- * 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
706
+ * 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
707
707
  * API JavaScript pixel and Google Tag Manager. Users should not call this method directly.
708
708
  */
709
709
  await gapi.client.discoveryengine.projects.locations.dataStores.userEvents.collect({