@maxim_mazurok/gapi.client.discoveryengine-v1alpha 0.0.20240715 → 0.0.20240729

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 (2) hide show
  1. package/index.d.ts +55 -29
  2. package/package.json +1 -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://discoveryengine.googleapis.com/$discovery/rest?version=v1alpha
12
- // Revision: 20240715
12
+ // Revision: 20240729
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -363,6 +363,8 @@ declare namespace gapi.client {
363
363
  interface GoogleCloudDiscoveryengineV1alphaAnswerReference {
364
364
  /** Chunk information. */
365
365
  chunkInfo?: GoogleCloudDiscoveryengineV1alphaAnswerReferenceChunkInfo;
366
+ /** Structured document information. */
367
+ structuredDocumentInfo?: GoogleCloudDiscoveryengineV1alphaAnswerReferenceStructuredDocumentInfo;
366
368
  /** Unstructured document information. */
367
369
  unstructuredDocumentInfo?: GoogleCloudDiscoveryengineV1alphaAnswerReferenceUnstructuredDocumentInfo;
368
370
  }
@@ -373,7 +375,7 @@ declare namespace gapi.client {
373
375
  content?: string;
374
376
  /** Document metadata. */
375
377
  documentMetadata?: GoogleCloudDiscoveryengineV1alphaAnswerReferenceChunkInfoDocumentMetadata;
376
- /** Relevance score. */
378
+ /** The relevance of the chunk for a given query. Values range from 0.0 (completely irrelevant) to 1.0 (completely relevant). This value is for informational purpose only. It may change for the same query and chunk at any time due to a model retraining or change in implementation. */
377
379
  relevanceScore?: number;
378
380
  }
379
381
  interface GoogleCloudDiscoveryengineV1alphaAnswerReferenceChunkInfoDocumentMetadata {
@@ -388,6 +390,12 @@ declare namespace gapi.client {
388
390
  /** URI for the document. */
389
391
  uri?: string;
390
392
  }
393
+ interface GoogleCloudDiscoveryengineV1alphaAnswerReferenceStructuredDocumentInfo {
394
+ /** Document resource name. */
395
+ document?: string;
396
+ /** Structured search data. */
397
+ structData?: {[P in string]: any};
398
+ }
391
399
  interface GoogleCloudDiscoveryengineV1alphaAnswerReferenceUnstructuredDocumentInfo {
392
400
  /** List of cited chunk contents derived from document content. */
393
401
  chunkContents?: GoogleCloudDiscoveryengineV1alphaAnswerReferenceUnstructuredDocumentInfoChunkContent[];
@@ -405,6 +413,8 @@ declare namespace gapi.client {
405
413
  content?: string;
406
414
  /** Page identifier. */
407
415
  pageIdentifier?: string;
416
+ /** The relevance of the chunk for a given query. Values range from 0.0 (completely irrelevant) to 1.0 (completely relevant). This value is for informational purpose only. It may change for the same query and chunk at any time due to a model retraining or change in implementation. */
417
+ relevanceScore?: number;
408
418
  }
409
419
  interface GoogleCloudDiscoveryengineV1alphaAnswerStep {
410
420
  /** Actions. */
@@ -445,7 +455,7 @@ declare namespace gapi.client {
445
455
  chunk?: string;
446
456
  /** Chunk textual content. */
447
457
  content?: string;
448
- /** Relevance score. */
458
+ /** The relevance of the chunk for a given query. Values range from 0.0 (completely irrelevant) to 1.0 (completely relevant). This value is for informational purpose only. It may change for the same query and chunk at any time due to a model retraining or change in implementation. */
449
459
  relevanceScore?: number;
450
460
  }
451
461
  interface GoogleCloudDiscoveryengineV1alphaAnswerStepActionObservationSearchResultSnippetInfo {
@@ -935,6 +945,8 @@ declare namespace gapi.client {
935
945
  readers?: GoogleCloudDiscoveryengineV1alphaDocumentAclInfoAccessRestriction[];
936
946
  }
937
947
  interface GoogleCloudDiscoveryengineV1alphaDocumentAclInfoAccessRestriction {
948
+ /** All users within the Identity Provider. */
949
+ idpWide?: boolean;
938
950
  /** List of principals. */
939
951
  principals?: GoogleCloudDiscoveryengineV1alphaPrincipal[];
940
952
  }
@@ -1144,7 +1156,7 @@ declare namespace gapi.client {
1144
1156
  errorSamples?: GoogleRpcStatus[];
1145
1157
  /** Required. The specification of the evaluation. */
1146
1158
  evaluationSpec?: GoogleCloudDiscoveryengineV1alphaEvaluationEvaluationSpec;
1147
- /** Immutable. The full resource name of the Evaluation, in the format of `projects/{project}/locations/{location}/evaluations/{evaluation}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters. */
1159
+ /** Identifier. The full resource name of the Evaluation, in the format of `projects/{project}/locations/{location}/evaluations/{evaluation}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters. */
1148
1160
  name?: string;
1149
1161
  /** Output only. The metrics produced by the evaluation, averaged across all SampleQuerys in the SampleQuerySet. Only populated when the evaluation's state is SUCCEEDED. */
1150
1162
  qualityMetrics?: GoogleCloudDiscoveryengineV1alphaQualityMetrics;
@@ -1168,8 +1180,6 @@ declare namespace gapi.client {
1168
1180
  updateTime?: string;
1169
1181
  }
1170
1182
  interface GoogleCloudDiscoveryengineV1alphaExportUserEventsResponse {
1171
- /** Output result indicating where the data were exported to. */
1172
- outputResult?: GoogleCloudDiscoveryengineV1alphaOutputResult;
1173
1183
  /** The status of the export operation. */
1174
1184
  status?: GoogleRpcStatus;
1175
1185
  }
@@ -1563,16 +1573,6 @@ declare namespace gapi.client {
1563
1573
  /** Media progress should be computed using only the media_progress_duration relative to the media total length. This value must be between `[0, 1.0]` inclusive. If this is not a playback or the progress cannot be computed (e.g. ongoing livestream), this field should be unset. */
1564
1574
  mediaProgressPercentage?: number;
1565
1575
  }
1566
- interface GoogleCloudDiscoveryengineV1alphaOutputResult {
1567
- /** The BigQuery location where the result is stored. */
1568
- bigqueryResult?: GoogleCloudDiscoveryengineV1alphaOutputResultBigQueryOutputResult;
1569
- }
1570
- interface GoogleCloudDiscoveryengineV1alphaOutputResultBigQueryOutputResult {
1571
- /** The ID of a BigQuery Dataset. */
1572
- datasetId?: string;
1573
- /** The ID of a BigQuery Table. */
1574
- tableId?: string;
1575
- }
1576
1576
  interface GoogleCloudDiscoveryengineV1alphaPageInfo {
1577
1577
  /** 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, 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: `"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 returned. */
1578
1578
  pageCategory?: string;
@@ -1671,6 +1671,12 @@ declare namespace gapi.client {
1671
1671
  force?: boolean;
1672
1672
  /** Cloud Storage location for the input content. Supported `data_schema`: * `document_id`: One valid Document.id per line. */
1673
1673
  gcsSource?: GoogleCloudDiscoveryengineV1alphaGcsSource;
1674
+ /** Inline source for the input content for purge. */
1675
+ inlineSource?: GoogleCloudDiscoveryengineV1alphaPurgeDocumentsRequestInlineSource;
1676
+ }
1677
+ interface GoogleCloudDiscoveryengineV1alphaPurgeDocumentsRequestInlineSource {
1678
+ /** Required. A list of full resource name of documents to purge. In the format `projects/*‍/locations/*‍/collections/*‍/dataStores/*‍/branches/*‍/documents/*`. Recommended max of 100 items. */
1679
+ documents?: string[];
1674
1680
  }
1675
1681
  interface GoogleCloudDiscoveryengineV1alphaPurgeDocumentsResponse {
1676
1682
  /** The total count of documents purged as a result of the operation. */
@@ -1917,7 +1923,7 @@ declare namespace gapi.client {
1917
1923
  interface GoogleCloudDiscoveryengineV1alphaSampleQuery {
1918
1924
  /** Output only. Timestamp the SampleQuery was created at. */
1919
1925
  createTime?: string;
1920
- /** Immutable. The full resource name of the sample query, in the format of `projects/{project}/locations/{location}/sampleQuerySets/{sampleQuerySet}/sampleQueries/{sampleQuery}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters. */
1926
+ /** Identifier. The full resource name of the sample query, in the format of `projects/{project}/locations/{location}/sampleQuerySets/{sample_query_set}/sampleQueries/{sample_query}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters. */
1921
1927
  name?: string;
1922
1928
  /** The query entry. */
1923
1929
  queryEntry?: GoogleCloudDiscoveryengineV1alphaSampleQueryQueryEntry;
@@ -1943,7 +1949,7 @@ declare namespace gapi.client {
1943
1949
  description?: string;
1944
1950
  /** Required. The sample query set display name. This field must be a UTF-8 encoded string with a length limit of 128 characters. */
1945
1951
  displayName?: string;
1946
- /** Immutable. The full resource name of the SampleQuerySet, in the format of `projects/{project}/locations/{location}/sampleQuerySets/{sampleQuerySet}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters. */
1952
+ /** Identifier. The full resource name of the SampleQuerySet, in the format of `projects/{project}/locations/{location}/sampleQuerySets/{sample_query_set}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters. */
1947
1953
  name?: string;
1948
1954
  }
1949
1955
  interface GoogleCloudDiscoveryengineV1alphaSchema {
@@ -1991,7 +1997,7 @@ declare namespace gapi.client {
1991
1997
  naturalLanguageQueryUnderstandingSpec?: GoogleCloudDiscoveryengineV1alphaSearchRequestNaturalLanguageQueryUnderstandingSpec;
1992
1998
  /** A 0-indexed integer that specifies the current offset (that is, starting result location, amongst the Documents deemed by the API as relevant) in search results. This field is only considered if page_token is unset. If this field is negative, an `INVALID_ARGUMENT` is returned. */
1993
1999
  offset?: number;
1994
- /** The order in which documents are returned. Documents can be ordered by a field in an Document object. Leave it unset if ordered by relevance. `order_by` expression is case-sensitive. For more information on ordering for retail search, see [Ordering](https://cloud.google.com/retail/docs/filter-and-order#order) If this field is unrecognizable, an `INVALID_ARGUMENT` is returned. */
2000
+ /** The order in which documents are returned. Documents can be ordered by a field in an Document object. Leave it unset if ordered by relevance. `order_by` expression is case-sensitive. For more information on ordering the website search results, see [Order web search results](https://cloud.google.com/generative-ai-app-builder/docs/order-web-search-results). For more information on ordering the healthcare search results, see [Order healthcare search results](https://cloud.google.com/generative-ai-app-builder/docs/order-hc-results). If this field is unrecognizable, an `INVALID_ARGUMENT` is returned. */
1995
2001
  orderBy?: string;
1996
2002
  /** Maximum number of Documents to return. The maximum allowed value depends on the data type. Values above the maximum value are coerced to the maximum value. * Websites with basic indexing: Default `10`, Maximum `25`. * Websites with advanced indexing: Default `25`, Maximum `50`. * Other: Default `50`, Maximum `100`. If this field is negative, an `INVALID_ARGUMENT` is returned. */
1997
2003
  pageSize?: number;
@@ -2097,6 +2103,8 @@ declare namespace gapi.client {
2097
2103
  interface GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpec {
2098
2104
  /** Specifies whether to filter out adversarial queries. The default value is `false`. Google employs search-query classification to detect adversarial queries. No summary is returned if the search query is classified as an adversarial query. For example, a user might ask a question regarding negative comments about the company or submit a query designed to generate unsafe, policy-violating output. If this field is set to `true`, we skip generating summaries for adversarial queries and return fallback messages instead. */
2099
2105
  ignoreAdversarialQuery?: boolean;
2106
+ /** Specifies whether to filter out queries that have low relevance. The default value is `false`. If this field is set to `false`, all search results are used regardless of relevance to generate answers. If set to `true`, only queries with high relevance search results will generate answers. */
2107
+ ignoreLowRelevantContent?: boolean;
2100
2108
  /** Specifies whether to filter out queries that are not summary-seeking. The default value is `false`. Google employs search-query classification to detect summary-seeking queries. No summary is returned if the search query is classified as a non-summary seeking query. For example, `why is the sky blue` and `Who is the best soccer player in the world?` are summary-seeking queries, but `SFO airport` and `world cup 2026` are not. They are most likely navigational queries. If this field is set to `true`, we skip generating summaries for non-summary seeking queries and return fallback messages instead. */
2101
2109
  ignoreNonSummarySeekingQuery?: boolean;
2102
2110
  /** Specifies whether to include citations in the summary. The default value is `false`. When this field is set to `true`, summaries include in-line citation numbers. Example summary including citations: BigQuery is Google Cloud's fully managed and completely serverless enterprise data warehouse [1]. BigQuery supports all data types, works across clouds, and has built-in machine learning and business intelligence, all within a unified platform [2, 3]. The citation numbers refer to the returned search results and are 1-indexed. For example, [1] means that the sentence is attributed to the first search result. [2, 3] means that the sentence is attributed to both the second and third search results. */
@@ -2206,6 +2214,8 @@ declare namespace gapi.client {
2206
2214
  naturalLanguageQueryUnderstandingInfo?: GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfo;
2207
2215
  /** A token that can be sent as SearchRequest.page_token to retrieve the next page. If this field is omitted, there are no subsequent pages. */
2208
2216
  nextPageToken?: string;
2217
+ /** A list of One Box results. There can be multiple One Box results of different types. */
2218
+ oneBoxResults?: GoogleCloudDiscoveryengineV1alphaSearchResponseOneBoxResult[];
2209
2219
  /** Query expansion information for the returned results. */
2210
2220
  queryExpansionInfo?: GoogleCloudDiscoveryengineV1alphaSearchResponseQueryExpansionInfo;
2211
2221
  /** The URI of a customer-defined redirect page. If redirect action is triggered, no search is performed, and only redirect_uri and attribution_token are set in the response. */
@@ -2307,6 +2317,12 @@ declare namespace gapi.client {
2307
2317
  /** Values of the string field. The record will only be returned if the field value matches one of the values specified here. */
2308
2318
  values?: string[];
2309
2319
  }
2320
+ interface GoogleCloudDiscoveryengineV1alphaSearchResponseOneBoxResult {
2321
+ /** The type of One Box result. */
2322
+ oneBoxType?: string;
2323
+ /** The search results for this One Box. */
2324
+ searchResults?: GoogleCloudDiscoveryengineV1alphaSearchResponseSearchResult[];
2325
+ }
2310
2326
  interface GoogleCloudDiscoveryengineV1alphaSearchResponseQueryExpansionInfo {
2311
2327
  /** Bool describing whether query expansion has occurred. */
2312
2328
  expandedQuery?: boolean;
@@ -2950,7 +2966,7 @@ declare namespace gapi.client {
2950
2966
  errorSamples?: GoogleRpcStatus[];
2951
2967
  /** Required. The specification of the evaluation. */
2952
2968
  evaluationSpec?: GoogleCloudDiscoveryengineV1betaEvaluationEvaluationSpec;
2953
- /** Immutable. The full resource name of the Evaluation, in the format of `projects/{project}/locations/{location}/evaluations/{evaluation}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters. */
2969
+ /** Identifier. The full resource name of the Evaluation, in the format of `projects/{project}/locations/{location}/evaluations/{evaluation}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters. */
2954
2970
  name?: string;
2955
2971
  /** Output only. The metrics produced by the evaluation, averaged across all SampleQuerys in the SampleQuerySet. Only populated when the evaluation's state is SUCCEEDED. */
2956
2972
  qualityMetrics?: GoogleCloudDiscoveryengineV1betaQualityMetrics;
@@ -3191,7 +3207,7 @@ declare namespace gapi.client {
3191
3207
  naturalLanguageQueryUnderstandingSpec?: GoogleCloudDiscoveryengineV1betaSearchRequestNaturalLanguageQueryUnderstandingSpec;
3192
3208
  /** A 0-indexed integer that specifies the current offset (that is, starting result location, amongst the Documents deemed by the API as relevant) in search results. This field is only considered if page_token is unset. If this field is negative, an `INVALID_ARGUMENT` is returned. */
3193
3209
  offset?: number;
3194
- /** The order in which documents are returned. Documents can be ordered by a field in an Document object. Leave it unset if ordered by relevance. `order_by` expression is case-sensitive. For more information on ordering for retail search, see [Ordering](https://cloud.google.com/retail/docs/filter-and-order#order) If this field is unrecognizable, an `INVALID_ARGUMENT` is returned. */
3210
+ /** The order in which documents are returned. Documents can be ordered by a field in an Document object. Leave it unset if ordered by relevance. `order_by` expression is case-sensitive. For more information on ordering the website search results, see [Order web search results](https://cloud.google.com/generative-ai-app-builder/docs/order-web-search-results). For more information on ordering the healthcare search results, see [Order healthcare search results](https://cloud.google.com/generative-ai-app-builder/docs/order-hc-results). If this field is unrecognizable, an `INVALID_ARGUMENT` is returned. */
3195
3211
  orderBy?: string;
3196
3212
  /** Maximum number of Documents to return. The maximum allowed value depends on the data type. Values above the maximum value are coerced to the maximum value. * Websites with basic indexing: Default `10`, Maximum `25`. * Websites with advanced indexing: Default `25`, Maximum `50`. * Other: Default `50`, Maximum `100`. If this field is negative, an `INVALID_ARGUMENT` is returned. */
3197
3213
  pageSize?: number;
@@ -3295,6 +3311,8 @@ declare namespace gapi.client {
3295
3311
  interface GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpec {
3296
3312
  /** Specifies whether to filter out adversarial queries. The default value is `false`. Google employs search-query classification to detect adversarial queries. No summary is returned if the search query is classified as an adversarial query. For example, a user might ask a question regarding negative comments about the company or submit a query designed to generate unsafe, policy-violating output. If this field is set to `true`, we skip generating summaries for adversarial queries and return fallback messages instead. */
3297
3313
  ignoreAdversarialQuery?: boolean;
3314
+ /** Specifies whether to filter out queries that have low relevance. The default value is `false`. If this field is set to `false`, all search results are used regardless of relevance to generate answers. If set to `true`, only queries with high relevance search results will generate answers. */
3315
+ ignoreLowRelevantContent?: boolean;
3298
3316
  /** Specifies whether to filter out queries that are not summary-seeking. The default value is `false`. Google employs search-query classification to detect summary-seeking queries. No summary is returned if the search query is classified as a non-summary seeking query. For example, `why is the sky blue` and `Who is the best soccer player in the world?` are summary-seeking queries, but `SFO airport` and `world cup 2026` are not. They are most likely navigational queries. If this field is set to `true`, we skip generating summaries for non-summary seeking queries and return fallback messages instead. */
3299
3317
  ignoreNonSummarySeekingQuery?: boolean;
3300
3318
  /** Specifies whether to include citations in the summary. The default value is `false`. When this field is set to `true`, summaries include in-line citation numbers. Example summary including citations: BigQuery is Google Cloud's fully managed and completely serverless enterprise data warehouse [1]. BigQuery supports all data types, works across clouds, and has built-in machine learning and business intelligence, all within a unified platform [2, 3]. The citation numbers refer to the returned search results and are 1-indexed. For example, [1] means that the sentence is attributed to the first search result. [2, 3] means that the sentence is attributed to both the second and third search results. */
@@ -7264,6 +7282,8 @@ declare namespace gapi.client {
7264
7282
  prettyPrint?: boolean;
7265
7283
  /** 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. */
7266
7284
  quotaUser?: string;
7285
+ /** A boolean flag indicating whether to skip the default schema creation for the data store. Only enable this flag if you are certain that the default schema is incompatible with your use case. If set to true, you must manually create a schema for the data store before any documents can be ingested. This flag cannot be specified if `data_store.starting_schema` is specified. */
7286
+ skipDefaultSchemaCreation?: boolean;
7267
7287
  /** Upload protocol for media (e.g. "raw", "multipart"). */
7268
7288
  upload_protocol?: string;
7269
7289
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
@@ -7297,6 +7317,8 @@ declare namespace gapi.client {
7297
7317
  prettyPrint?: boolean;
7298
7318
  /** 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. */
7299
7319
  quotaUser?: string;
7320
+ /** A boolean flag indicating whether to skip the default schema creation for the data store. Only enable this flag if you are certain that the default schema is incompatible with your use case. If set to true, you must manually create a schema for the data store before any documents can be ingested. This flag cannot be specified if `data_store.starting_schema` is specified. */
7321
+ skipDefaultSchemaCreation?: boolean;
7300
7322
  /** Upload protocol for media (e.g. "raw", "multipart"). */
7301
7323
  upload_protocol?: string;
7302
7324
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
@@ -12035,6 +12057,8 @@ declare namespace gapi.client {
12035
12057
  prettyPrint?: boolean;
12036
12058
  /** 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. */
12037
12059
  quotaUser?: string;
12060
+ /** A boolean flag indicating whether to skip the default schema creation for the data store. Only enable this flag if you are certain that the default schema is incompatible with your use case. If set to true, you must manually create a schema for the data store before any documents can be ingested. This flag cannot be specified if `data_store.starting_schema` is specified. */
12061
+ skipDefaultSchemaCreation?: boolean;
12038
12062
  /** Upload protocol for media (e.g. "raw", "multipart"). */
12039
12063
  upload_protocol?: string;
12040
12064
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
@@ -12068,6 +12092,8 @@ declare namespace gapi.client {
12068
12092
  prettyPrint?: boolean;
12069
12093
  /** 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. */
12070
12094
  quotaUser?: string;
12095
+ /** A boolean flag indicating whether to skip the default schema creation for the data store. Only enable this flag if you are certain that the default schema is incompatible with your use case. If set to true, you must manually create a schema for the data store before any documents can be ingested. This flag cannot be specified if `data_store.starting_schema` is specified. */
12096
+ skipDefaultSchemaCreation?: boolean;
12071
12097
  /** Upload protocol for media (e.g. "raw", "multipart"). */
12072
12098
  upload_protocol?: string;
12073
12099
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
@@ -12945,7 +12971,7 @@ declare namespace gapi.client {
12945
12971
  fields?: string;
12946
12972
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
12947
12973
  key?: string;
12948
- /** Required. Full resource name of SampleQuery, such as `projects/{project}/locations/{location}/sampleQuerySets/{sampleQuerySet}/sampleQueries/{sampleQuery}`. If the caller does not have permission to delete the SampleQuery, regardless of whether or not it exists, a `PERMISSION_DENIED` error is returned. If the SampleQuery to delete does not exist, a `NOT_FOUND` error is returned. */
12974
+ /** Required. Full resource name of SampleQuery, such as `projects/{project}/locations/{location}/sampleQuerySets/{sample_query_set}/sampleQueries/{sample_query}`. If the caller does not have permission to delete the SampleQuery, regardless of whether or not it exists, a `PERMISSION_DENIED` error is returned. If the SampleQuery to delete does not exist, a `NOT_FOUND` error is returned. */
12949
12975
  name: string;
12950
12976
  /** OAuth 2.0 token for the current user. */
12951
12977
  oauth_token?: string;
@@ -12972,7 +12998,7 @@ declare namespace gapi.client {
12972
12998
  fields?: string;
12973
12999
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
12974
13000
  key?: string;
12975
- /** Required. Full resource name of SampleQuery, such as `projects/{project}/locations/{location}/sampleQuerySets/{sampleQuerySet}/sampleQueries/{sampleQuery}`. If the caller does not have permission to access the SampleQuery, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. If the requested SampleQuery does not exist, a NOT_FOUND error is returned. */
13001
+ /** Required. Full resource name of SampleQuery, such as `projects/{project}/locations/{location}/sampleQuerySets/{sample_query_set}/sampleQueries/{sample_query}`. If the caller does not have permission to access the SampleQuery, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. If the requested SampleQuery does not exist, a NOT_FOUND error is returned. */
12976
13002
  name: string;
12977
13003
  /** OAuth 2.0 token for the current user. */
12978
13004
  oauth_token?: string;
@@ -13088,7 +13114,7 @@ declare namespace gapi.client {
13088
13114
  fields?: string;
13089
13115
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
13090
13116
  key?: string;
13091
- /** Immutable. The full resource name of the sample query, in the format of `projects/{project}/locations/{location}/sampleQuerySets/{sampleQuerySet}/sampleQueries/{sampleQuery}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters. */
13117
+ /** Identifier. The full resource name of the sample query, in the format of `projects/{project}/locations/{location}/sampleQuerySets/{sample_query_set}/sampleQueries/{sample_query}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters. */
13092
13118
  name: string;
13093
13119
  /** OAuth 2.0 token for the current user. */
13094
13120
  oauth_token?: string;
@@ -13119,7 +13145,7 @@ declare namespace gapi.client {
13119
13145
  fields?: string;
13120
13146
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
13121
13147
  key?: string;
13122
- /** Immutable. The full resource name of the sample query, in the format of `projects/{project}/locations/{location}/sampleQuerySets/{sampleQuerySet}/sampleQueries/{sampleQuery}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters. */
13148
+ /** Identifier. The full resource name of the sample query, in the format of `projects/{project}/locations/{location}/sampleQuerySets/{sample_query_set}/sampleQueries/{sample_query}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters. */
13123
13149
  name: string;
13124
13150
  /** OAuth 2.0 token for the current user. */
13125
13151
  oauth_token?: string;
@@ -13214,7 +13240,7 @@ declare namespace gapi.client {
13214
13240
  fields?: string;
13215
13241
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
13216
13242
  key?: string;
13217
- /** Required. Full resource name of SampleQuerySet, such as `projects/{project}/locations/{location}/sampleQuerySets/{sampleQuerySet}`. If the caller does not have permission to delete the SampleQuerySet, regardless of whether or not it exists, a `PERMISSION_DENIED` error is returned. If the SampleQuerySet to delete does not exist, a `NOT_FOUND` error is returned. */
13243
+ /** Required. Full resource name of SampleQuerySet, such as `projects/{project}/locations/{location}/sampleQuerySets/{sample_query_set}`. If the caller does not have permission to delete the SampleQuerySet, regardless of whether or not it exists, a `PERMISSION_DENIED` error is returned. If the SampleQuerySet to delete does not exist, a `NOT_FOUND` error is returned. */
13218
13244
  name: string;
13219
13245
  /** OAuth 2.0 token for the current user. */
13220
13246
  oauth_token?: string;
@@ -13241,7 +13267,7 @@ declare namespace gapi.client {
13241
13267
  fields?: string;
13242
13268
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
13243
13269
  key?: string;
13244
- /** Required. Full resource name of SampleQuerySet, such as `projects/{project}/locations/{location}/sampleQuerySets/{sampleQuerySet}`. If the caller does not have permission to access the SampleQuerySet, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. If the requested SampleQuerySet does not exist, a NOT_FOUND error is returned. */
13270
+ /** Required. Full resource name of SampleQuerySet, such as `projects/{project}/locations/{location}/sampleQuerySets/{sample_query_set}`. If the caller does not have permission to access the SampleQuerySet, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. If the requested SampleQuerySet does not exist, a NOT_FOUND error is returned. */
13245
13271
  name: string;
13246
13272
  /** OAuth 2.0 token for the current user. */
13247
13273
  oauth_token?: string;
@@ -13299,7 +13325,7 @@ declare namespace gapi.client {
13299
13325
  fields?: string;
13300
13326
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
13301
13327
  key?: string;
13302
- /** Immutable. The full resource name of the SampleQuerySet, in the format of `projects/{project}/locations/{location}/sampleQuerySets/{sampleQuerySet}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters. */
13328
+ /** Identifier. The full resource name of the SampleQuerySet, in the format of `projects/{project}/locations/{location}/sampleQuerySets/{sample_query_set}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters. */
13303
13329
  name: string;
13304
13330
  /** OAuth 2.0 token for the current user. */
13305
13331
  oauth_token?: string;
@@ -13330,7 +13356,7 @@ declare namespace gapi.client {
13330
13356
  fields?: string;
13331
13357
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
13332
13358
  key?: string;
13333
- /** Immutable. The full resource name of the SampleQuerySet, in the format of `projects/{project}/locations/{location}/sampleQuerySets/{sampleQuerySet}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters. */
13359
+ /** Identifier. The full resource name of the SampleQuerySet, in the format of `projects/{project}/locations/{location}/sampleQuerySets/{sample_query_set}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters. */
13334
13360
  name: string;
13335
13361
  /** OAuth 2.0 token for the current user. */
13336
13362
  oauth_token?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.discoveryengine-v1alpha",
3
- "version": "0.0.20240715",
3
+ "version": "0.0.20240729",
4
4
  "description": "TypeScript typings for Discovery Engine API v1alpha",
5
5
  "repository": {
6
6
  "type": "git",