@googleapis/discoveryengine 29.0.0 → 30.0.0

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.
package/v1beta.ts CHANGED
@@ -2041,6 +2041,10 @@ export namespace discoveryengine_v1beta {
2041
2041
  * Optional. The modes enabled for this connector. Default state is CONNECTOR_MODE_UNSPECIFIED.
2042
2042
  */
2043
2043
  connectorModes?: string[] | null;
2044
+ /**
2045
+ * Optional. If set, this value instead of `data_source` is used to fetch the corresponding connector source.
2046
+ */
2047
+ connectorSourceId?: string | null;
2044
2048
  /**
2045
2049
  * Output only. The type of connector. Each source can only map to one type. For example, salesforce, confluence and jira have THIRD_PARTY connector type. It is not mutable once set by system.
2046
2050
  */
@@ -2971,7 +2975,7 @@ export namespace discoveryengine_v1beta {
2971
2975
  */
2972
2976
  displayName?: string | null;
2973
2977
  /**
2974
- * Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `disable-mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `disable-canvas-workspace` * `disable-skills`
2978
+ * Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `disable-mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `disable-canvas-workspace` * `disable-skills` * `enable-end-user-sharing-with-groups`
2975
2979
  */
2976
2980
  features?: {[key: string]: string} | null;
2977
2981
  /**
@@ -3391,7 +3395,7 @@ export namespace discoveryengine_v1beta {
3391
3395
  */
3392
3396
  schemaOrgPaths?: string[] | null;
3393
3397
  /**
3394
- * Optional. Specifies the importance of the field when `searchable_option` is `SEARCHABLE_ENABLED`. If `searchable_option` is `SEARCHABLE_DISABLED`, this field is ignored. If `searchable_option` is `SEARCHABLE_ENABLED` and this is `SEARCHABLE_FIELD_IMPORTANCE_UNSPECIFIED`, it behaves as `DEFAULT_IMPORTANCE`.
3398
+ * Optional. Specifies the importance of the field when `searchable_option` is `SEARCHABLE_ENABLED`. If `searchable_option` is `SEARCHABLE_DISABLED`, this field is ignored. If `searchable_option` is `SEARCHABLE_ENABLED` and this is `SEARCHABLE_FIELD_IMPORTANCE_UNSPECIFIED`, it behaves as `DEFAULT_IMPORTANCE`. For more information, see [Weight searchable fields](https://cloud.google.com/generative-ai-app-builder/docs/configure-field-settings#weight-search).
3395
3399
  */
3396
3400
  searchableFieldImportance?: string | null;
3397
3401
  /**
@@ -3798,7 +3802,7 @@ export namespace discoveryengine_v1beta {
3798
3802
  */
3799
3803
  filter?: string | null;
3800
3804
  /**
3801
- * A comma-separated list of fields to order by, sorted in ascending order. Use "desc" after a field name for descending. Supported fields: * `update_time` * `create_time` * `session_name` * `is_pinned` Example: * `update_time desc` * `create_time` * `is_pinned desc,update_time desc`: list sessions by is_pinned first, then by update_time.
3805
+ * A comma-separated list of fields to order by, sorted in ascending order. Use "desc" after a field name for descending. Supported fields: * `update_time` * `create_time` * `session_name` * `is_pinned` * `display_name` Example: * `update_time desc` * `create_time` * `is_pinned desc,update_time desc`: list sessions by is_pinned first, then by update_time.
3802
3806
  */
3803
3807
  orderBy?: string | null;
3804
3808
  /**
@@ -4230,6 +4234,10 @@ export namespace discoveryengine_v1beta {
4230
4234
  * Defines a user inputed query.
4231
4235
  */
4232
4236
  export interface Schema$GoogleCloudDiscoveryengineV1alphaQuery {
4237
+ /**
4238
+ * Output only. The time at which the server accepted this query.
4239
+ */
4240
+ createTime?: string | null;
4233
4241
  /**
4234
4242
  * Query content parts.
4235
4243
  */
@@ -4699,7 +4707,7 @@ export namespace discoveryengine_v1beta {
4699
4707
  */
4700
4708
  queryExpansionSpec?: Schema$GoogleCloudDiscoveryengineV1alphaSearchRequestQueryExpansionSpec;
4701
4709
  /**
4702
- * Optional. The ranking expression controls the customized ranking on retrieval documents. This overrides ServingConfig.ranking_expression. The syntax and supported features depend on the `ranking_expression_backend` value. If `ranking_expression_backend` is not provided, it defaults to `RANK_BY_EMBEDDING`. If ranking_expression_backend is not provided or set to `RANK_BY_EMBEDDING`, it should be a single function or multiple functions that are joined by "+". * ranking_expression = function, { " + ", function \}; Supported functions: * double * relevance_score * double * dotProduct(embedding_field_path) Function variables: * `relevance_score`: pre-defined keywords, used for measure relevance between query and document. * `embedding_field_path`: the document embedding field used with query embedding vector. * `dotProduct`: embedding function between `embedding_field_path` and query embedding vector. Example ranking expression: If document has an embedding field doc_embedding, the ranking expression could be `0.5 * relevance_score + 0.3 * dotProduct(doc_embedding)`. If ranking_expression_backend is set to `RANK_BY_FORMULA`, the following expression types (and combinations of those chained using + or * operators) are supported: * `double` * `signal` * `log(signal)` * `exp(signal)` * `rr(signal, double \> 0)` -- reciprocal rank transformation with second argument being a denominator constant. * `is_nan(signal)` -- returns 0 if signal is NaN, 1 otherwise. * `fill_nan(signal1, signal2 | double)` -- if signal1 is NaN, returns signal2 | double, else returns signal1. Here are a few examples of ranking formulas that use the supported ranking expression types: - `0.2 * semantic_similarity_score + 0.8 * log(keyword_similarity_score)` -- mostly rank by the logarithm of `keyword_similarity_score` with slight `semantic_smilarity_score` adjustment. - `0.2 * exp(fill_nan(semantic_similarity_score, 0)) + 0.3 * is_nan(keyword_similarity_score)` -- rank by the exponent of `semantic_similarity_score` filling the value with 0 if it's NaN, also add constant 0.3 adjustment to the final score if `semantic_similarity_score` is NaN. - `0.2 * rr(semantic_similarity_score, 16) + 0.8 * rr(keyword_similarity_score, 16)` -- mostly rank by the reciprocal rank of `keyword_similarity_score` with slight adjustment of reciprocal rank of `semantic_smilarity_score`. The following signals are supported: * `semantic_similarity_score`: semantic similarity adjustment that is calculated using the embeddings generated by a proprietary Google model. This score determines how semantically similar a search query is to a document. * `keyword_similarity_score`: keyword match adjustment uses the Best Match 25 (BM25) ranking function. This score is calculated using a probabilistic model to estimate the probability that a document is relevant to a given query. * `relevance_score`: semantic relevance adjustment that uses a proprietary Google model to determine the meaning and intent behind a user's query in context with the content in the documents. * `pctr_rank`: predicted conversion rate adjustment as a rank use predicted Click-through rate (pCTR) to gauge the relevance and attractiveness of a search result from a user's perspective. A higher pCTR suggests that the result is more likely to satisfy the user's query and intent, making it a valuable signal for ranking. * `freshness_rank`: freshness adjustment as a rank * `document_age`: The time in hours elapsed since the document was last updated, a floating-point number (e.g., 0.25 means 15 minutes). * `topicality_rank`: topicality adjustment as a rank. Uses proprietary Google model to determine the keyword-based overlap between the query and the document. * `base_rank`: the default rank of the result
4710
+ * Optional. The ranking expression controls the customized ranking on retrieval documents. This overrides ServingConfig.ranking_expression. The syntax and supported features depend on the `ranking_expression_backend` value. If `ranking_expression_backend` is not provided, it defaults to `RANK_BY_EMBEDDING`. If ranking_expression_backend is not provided or set to `RANK_BY_EMBEDDING`, it should be a single function or multiple functions that are joined by "+". * ranking_expression = function, { " + ", function \}; Supported functions: * double * relevance_score * double * dotProduct(embedding_field_path) Function variables: * `relevance_score`: pre-defined keywords, used for measure relevance between query and document. * `embedding_field_path`: the document embedding field used with query embedding vector. * `dotProduct`: embedding function between `embedding_field_path` and query embedding vector. Example ranking expression: If document has an embedding field doc_embedding, the ranking expression could be `0.5 * relevance_score + 0.3 * dotProduct(doc_embedding)`. If ranking_expression_backend is set to `RANK_BY_FORMULA`, the following expression types (and combinations of those chained using + or * operators) are supported: * `double` * `signal` * `log(signal)` * `exp(signal)` * `rr(signal, double \> 0)` -- reciprocal rank transformation with second argument being a denominator constant. * `is_nan(signal)` -- returns 0 if signal is NaN, 1 otherwise. * `fill_nan(signal1, signal2 | double)` -- if signal1 is NaN, returns signal2 | double, else returns signal1. Here are a few examples of ranking formulas that use the supported ranking expression types: - `0.2 * semantic_similarity_score + 0.8 * log(keyword_similarity_score)` -- mostly rank by the logarithm of `keyword_similarity_score` with slight `semantic_smilarity_score` adjustment. - `0.2 * exp(fill_nan(semantic_similarity_score, 0)) + 0.3 * is_nan(keyword_similarity_score)` -- rank by the exponent of `semantic_similarity_score` filling the value with 0 if it's NaN, also add constant 0.3 adjustment to the final score if `semantic_similarity_score` is NaN. - `0.2 * rr(semantic_similarity_score, 16) + 0.8 * rr(keyword_similarity_score, 16)` -- mostly rank by the reciprocal rank of `keyword_similarity_score` with slight adjustment of reciprocal rank of `semantic_smilarity_score`. The following signals are supported: * `semantic_similarity_score`: semantic similarity adjustment that is calculated using the embeddings generated by a proprietary Google model. This score determines how semantically similar a search query is to a document. * `keyword_similarity_score`: keyword match adjustment uses the Best Match 25 (BM25) ranking function. This score is calculated using a probabilistic model to estimate the probability that a document is relevant to a given query. * `relevance_score`: semantic relevance adjustment that uses a proprietary Google model to determine the meaning and intent behind a user's query in context with the content in the documents. * `pctr_rank`: predicted conversion rate adjustment as a rank use predicted Click-through rate (pCTR) to gauge the relevance and attractiveness of a search result from a user's perspective. A higher pCTR suggests that the result is more likely to satisfy the user's query and intent, making it a valuable signal for ranking. * `freshness_rank`: freshness adjustment as a rank * `document_age`: The time in hours elapsed since the document was last updated, a floating-point number (e.g., 0.25 means 15 minutes). * `topicality_rank`: topicality adjustment as a rank. Uses proprietary Google model to determine the keyword-based overlap between the query and the document. * `base_rank`: the default rank of the result * `media_actor_match`: whether the media actor matches the query * `media_director_match`: whether the media director matches the query * `media_genre_match`: whether the media genre matches the query * `media_language_match`: whether the media language matches the query * `media_title_match`: whether the media title matches the query * `media_prefix_similarity_rank`: prefix similarity rank for media results * `media_semantic_similarity_rank`: semantic similarity rank for media results
4703
4711
  */
4704
4712
  rankingExpression?: string | null;
4705
4713
  /**
@@ -5278,6 +5286,10 @@ export namespace discoveryengine_v1beta {
5278
5286
  * Immutable. Fully qualified name `projects/{project\}/locations/global/collections/{collection\}/engines/{engine\}/sessions/x`
5279
5287
  */
5280
5288
  name?: string | null;
5289
+ /**
5290
+ * Output only. Full resource name of an in-progress AsyncAssist operation for this session, e.g. `projects/x/locations/x/collections/x/engines/x/sessions/x/operations/x`. Set when the operation starts and cleared when it finishes.
5291
+ */
5292
+ pendingAsyncAssistOperationId?: string | null;
5281
5293
  /**
5282
5294
  * Output only. The time the session started.
5283
5295
  */
@@ -5678,7 +5690,7 @@ export namespace discoveryengine_v1beta {
5678
5690
  */
5679
5691
  export interface Schema$GoogleCloudDiscoveryengineV1alphaWorkspaceConfig {
5680
5692
  /**
5681
- * Obfuscated Dasher customer ID.
5693
+ * Output only. Obfuscated Dasher customer ID. Derived by the server from the project's GCP organization at data store creation time; any value supplied in the request payload is ignored.
5682
5694
  */
5683
5695
  dasherCustomerId?: string | null;
5684
5696
  /**
@@ -9396,7 +9408,7 @@ export namespace discoveryengine_v1beta {
9396
9408
  */
9397
9409
  displayName?: string | null;
9398
9410
  /**
9399
- * Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `disable-mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `disable-canvas-workspace` * `disable-skills`
9411
+ * Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `disable-mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `disable-canvas-workspace` * `disable-skills` * `enable-end-user-sharing-with-groups`
9400
9412
  */
9401
9413
  features?: {[key: string]: string} | null;
9402
9414
  /**
@@ -10594,6 +10606,19 @@ export namespace discoveryengine_v1beta {
10594
10606
  */
10595
10607
  nextPageToken?: string | null;
10596
10608
  }
10609
+ /**
10610
+ * Response message for LicenseConfigService.ListLicenseConfigs method.
10611
+ */
10612
+ export interface Schema$GoogleCloudDiscoveryengineV1betaListLicenseConfigsResponse {
10613
+ /**
10614
+ * All the customer's LicenseConfigs.
10615
+ */
10616
+ licenseConfigs?: Schema$GoogleCloudDiscoveryengineV1betaLicenseConfig[];
10617
+ /**
10618
+ * Not supported.
10619
+ */
10620
+ nextPageToken?: string | null;
10621
+ }
10597
10622
  /**
10598
10623
  * Response message for UserLicenseService.ListLicenseConfigsUsageStats method.
10599
10624
  */
@@ -11780,7 +11805,7 @@ export namespace discoveryengine_v1beta {
11780
11805
  */
11781
11806
  queryExpansionSpec?: Schema$GoogleCloudDiscoveryengineV1betaSearchRequestQueryExpansionSpec;
11782
11807
  /**
11783
- * Optional. The ranking expression controls the customized ranking on retrieval documents. This overrides ServingConfig.ranking_expression. The syntax and supported features depend on the `ranking_expression_backend` value. If `ranking_expression_backend` is not provided, it defaults to `RANK_BY_EMBEDDING`. If ranking_expression_backend is not provided or set to `RANK_BY_EMBEDDING`, it should be a single function or multiple functions that are joined by "+". * ranking_expression = function, { " + ", function \}; Supported functions: * double * relevance_score * double * dotProduct(embedding_field_path) Function variables: * `relevance_score`: pre-defined keywords, used for measure relevance between query and document. * `embedding_field_path`: the document embedding field used with query embedding vector. * `dotProduct`: embedding function between `embedding_field_path` and query embedding vector. Example ranking expression: If document has an embedding field doc_embedding, the ranking expression could be `0.5 * relevance_score + 0.3 * dotProduct(doc_embedding)`. If ranking_expression_backend is set to `RANK_BY_FORMULA`, the following expression types (and combinations of those chained using + or * operators) are supported: * `double` * `signal` * `log(signal)` * `exp(signal)` * `rr(signal, double \> 0)` -- reciprocal rank transformation with second argument being a denominator constant. * `is_nan(signal)` -- returns 0 if signal is NaN, 1 otherwise. * `fill_nan(signal1, signal2 | double)` -- if signal1 is NaN, returns signal2 | double, else returns signal1. Here are a few examples of ranking formulas that use the supported ranking expression types: - `0.2 * semantic_similarity_score + 0.8 * log(keyword_similarity_score)` -- mostly rank by the logarithm of `keyword_similarity_score` with slight `semantic_smilarity_score` adjustment. - `0.2 * exp(fill_nan(semantic_similarity_score, 0)) + 0.3 * is_nan(keyword_similarity_score)` -- rank by the exponent of `semantic_similarity_score` filling the value with 0 if it's NaN, also add constant 0.3 adjustment to the final score if `semantic_similarity_score` is NaN. - `0.2 * rr(semantic_similarity_score, 16) + 0.8 * rr(keyword_similarity_score, 16)` -- mostly rank by the reciprocal rank of `keyword_similarity_score` with slight adjustment of reciprocal rank of `semantic_smilarity_score`. The following signals are supported: * `semantic_similarity_score`: semantic similarity adjustment that is calculated using the embeddings generated by a proprietary Google model. This score determines how semantically similar a search query is to a document. * `keyword_similarity_score`: keyword match adjustment uses the Best Match 25 (BM25) ranking function. This score is calculated using a probabilistic model to estimate the probability that a document is relevant to a given query. * `relevance_score`: semantic relevance adjustment that uses a proprietary Google model to determine the meaning and intent behind a user's query in context with the content in the documents. * `pctr_rank`: predicted conversion rate adjustment as a rank use predicted Click-through rate (pCTR) to gauge the relevance and attractiveness of a search result from a user's perspective. A higher pCTR suggests that the result is more likely to satisfy the user's query and intent, making it a valuable signal for ranking. * `freshness_rank`: freshness adjustment as a rank * `document_age`: The time in hours elapsed since the document was last updated, a floating-point number (e.g., 0.25 means 15 minutes). * `topicality_rank`: topicality adjustment as a rank. Uses proprietary Google model to determine the keyword-based overlap between the query and the document. * `base_rank`: the default rank of the result
11808
+ * Optional. The ranking expression controls the customized ranking on retrieval documents. This overrides ServingConfig.ranking_expression. The syntax and supported features depend on the `ranking_expression_backend` value. If `ranking_expression_backend` is not provided, it defaults to `RANK_BY_EMBEDDING`. If ranking_expression_backend is not provided or set to `RANK_BY_EMBEDDING`, it should be a single function or multiple functions that are joined by "+". * ranking_expression = function, { " + ", function \}; Supported functions: * double * relevance_score * double * dotProduct(embedding_field_path) Function variables: * `relevance_score`: pre-defined keywords, used for measure relevance between query and document. * `embedding_field_path`: the document embedding field used with query embedding vector. * `dotProduct`: embedding function between `embedding_field_path` and query embedding vector. Example ranking expression: If document has an embedding field doc_embedding, the ranking expression could be `0.5 * relevance_score + 0.3 * dotProduct(doc_embedding)`. If ranking_expression_backend is set to `RANK_BY_FORMULA`, the following expression types (and combinations of those chained using + or * operators) are supported: * `double` * `signal` * `log(signal)` * `exp(signal)` * `rr(signal, double \> 0)` -- reciprocal rank transformation with second argument being a denominator constant. * `is_nan(signal)` -- returns 0 if signal is NaN, 1 otherwise. * `fill_nan(signal1, signal2 | double)` -- if signal1 is NaN, returns signal2 | double, else returns signal1. Here are a few examples of ranking formulas that use the supported ranking expression types: - `0.2 * semantic_similarity_score + 0.8 * log(keyword_similarity_score)` -- mostly rank by the logarithm of `keyword_similarity_score` with slight `semantic_smilarity_score` adjustment. - `0.2 * exp(fill_nan(semantic_similarity_score, 0)) + 0.3 * is_nan(keyword_similarity_score)` -- rank by the exponent of `semantic_similarity_score` filling the value with 0 if it's NaN, also add constant 0.3 adjustment to the final score if `semantic_similarity_score` is NaN. - `0.2 * rr(semantic_similarity_score, 16) + 0.8 * rr(keyword_similarity_score, 16)` -- mostly rank by the reciprocal rank of `keyword_similarity_score` with slight adjustment of reciprocal rank of `semantic_smilarity_score`. The following signals are supported: * `semantic_similarity_score`: semantic similarity adjustment that is calculated using the embeddings generated by a proprietary Google model. This score determines how semantically similar a search query is to a document. * `keyword_similarity_score`: keyword match adjustment uses the Best Match 25 (BM25) ranking function. This score is calculated using a probabilistic model to estimate the probability that a document is relevant to a given query. * `relevance_score`: semantic relevance adjustment that uses a proprietary Google model to determine the meaning and intent behind a user's query in context with the content in the documents. * `pctr_rank`: predicted conversion rate adjustment as a rank use predicted Click-through rate (pCTR) to gauge the relevance and attractiveness of a search result from a user's perspective. A higher pCTR suggests that the result is more likely to satisfy the user's query and intent, making it a valuable signal for ranking. * `freshness_rank`: freshness adjustment as a rank * `document_age`: The time in hours elapsed since the document was last updated, a floating-point number (e.g., 0.25 means 15 minutes). * `topicality_rank`: topicality adjustment as a rank. Uses proprietary Google model to determine the keyword-based overlap between the query and the document. * `base_rank`: the default rank of the result * `media_actor_match`: whether the media actor matches the query * `media_director_match`: whether the media director matches the query * `media_genre_match`: whether the media genre matches the query * `media_language_match`: whether the media language matches the query * `media_title_match`: whether the media title matches the query * `media_prefix_similarity_rank`: prefix similarity rank for media results * `media_semantic_similarity_rank`: semantic similarity rank for media results
11784
11809
  */
11785
11810
  rankingExpression?: string | null;
11786
11811
  /**
@@ -13043,6 +13068,10 @@ export namespace discoveryengine_v1beta {
13043
13068
  * Immutable. Fully qualified name `projects/{project\}/locations/global/collections/{collection\}/engines/{engine\}/sessions/x`
13044
13069
  */
13045
13070
  name?: string | null;
13071
+ /**
13072
+ * Output only. Full resource name of an in-progress AsyncAssist operation for this session, e.g. `projects/x/locations/x/collections/x/engines/x/sessions/x/operations/x`. Set when the operation starts and cleared when it finishes.
13073
+ */
13074
+ pendingAsyncAssistOperationId?: string | null;
13046
13075
  /**
13047
13076
  * Output only. The time the session started.
13048
13077
  */
@@ -13305,11 +13334,28 @@ export namespace discoveryengine_v1beta {
13305
13334
  * The tool names of the tools that were invoked.
13306
13335
  */
13307
13336
  invocationTools?: string[] | null;
13337
+ /**
13338
+ * The skills executed during the turn.
13339
+ */
13340
+ invokedSkills?: Schema$GoogleCloudDiscoveryengineV1betaStreamAssistResponseInvokedSkill[];
13308
13341
  /**
13309
13342
  * Session information. Only included in the final StreamAssistResponse of the response stream.
13310
13343
  */
13311
13344
  sessionInfo?: Schema$GoogleCloudDiscoveryengineV1betaStreamAssistResponseSessionInfo;
13312
13345
  }
13346
+ /**
13347
+ * Represents a skill used during the assist call.
13348
+ */
13349
+ export interface Schema$GoogleCloudDiscoveryengineV1betaStreamAssistResponseInvokedSkill {
13350
+ /**
13351
+ * The display name of the skill.
13352
+ */
13353
+ displayName?: string | null;
13354
+ /**
13355
+ * The resource name of the skill.
13356
+ */
13357
+ name?: string | null;
13358
+ }
13313
13359
  /**
13314
13360
  * Information about the session.
13315
13361
  */
@@ -13756,7 +13802,7 @@ export namespace discoveryengine_v1beta {
13756
13802
  */
13757
13803
  export interface Schema$GoogleCloudDiscoveryengineV1betaWorkspaceConfig {
13758
13804
  /**
13759
- * Obfuscated Dasher customer ID.
13805
+ * Output only. Obfuscated Dasher customer ID. Derived by the server from the project's GCP organization at data store creation time; any value supplied in the request payload is ignored.
13760
13806
  */
13761
13807
  dasherCustomerId?: string | null;
13762
13808
  /**
@@ -14135,6 +14181,10 @@ export namespace discoveryengine_v1beta {
14135
14181
  * Optional. The modes enabled for this connector. Default state is CONNECTOR_MODE_UNSPECIFIED.
14136
14182
  */
14137
14183
  connectorModes?: string[] | null;
14184
+ /**
14185
+ * Optional. If set, this value instead of `data_source` is used to fetch the corresponding connector source.
14186
+ */
14187
+ connectorSourceId?: string | null;
14138
14188
  /**
14139
14189
  * Output only. The type of connector. Each source can only map to one type. For example, salesforce, confluence and jira have THIRD_PARTY connector type. It is not mutable once set by system.
14140
14190
  */
@@ -14966,7 +15016,7 @@ export namespace discoveryengine_v1beta {
14966
15016
  */
14967
15017
  displayName?: string | null;
14968
15018
  /**
14969
- * Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `disable-mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `disable-canvas-workspace` * `disable-skills`
15019
+ * Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `disable-mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `disable-canvas-workspace` * `disable-skills` * `enable-end-user-sharing-with-groups`
14970
15020
  */
14971
15021
  features?: {[key: string]: string} | null;
14972
15022
  /**
@@ -16323,7 +16373,7 @@ export namespace discoveryengine_v1beta {
16323
16373
  */
16324
16374
  export interface Schema$GoogleCloudDiscoveryengineV1WorkspaceConfig {
16325
16375
  /**
16326
- * Obfuscated Dasher customer ID.
16376
+ * Output only. Obfuscated Dasher customer ID. Derived by the server from the project's GCP organization at data store creation time; any value supplied in the request payload is ignored.
16327
16377
  */
16328
16378
  dasherCustomerId?: string | null;
16329
16379
  /**
@@ -29717,6 +29767,7 @@ export namespace discoveryengine_v1beta {
29717
29767
  * // "isPinned": false,
29718
29768
  * // "labels": [],
29719
29769
  * // "name": "my_name",
29770
+ * // "pendingAsyncAssistOperationId": "my_pendingAsyncAssistOperationId",
29720
29771
  * // "startTime": "my_startTime",
29721
29772
  * // "state": "my_state",
29722
29773
  * // "turns": [],
@@ -29734,6 +29785,7 @@ export namespace discoveryengine_v1beta {
29734
29785
  * // "isPinned": false,
29735
29786
  * // "labels": [],
29736
29787
  * // "name": "my_name",
29788
+ * // "pendingAsyncAssistOperationId": "my_pendingAsyncAssistOperationId",
29737
29789
  * // "startTime": "my_startTime",
29738
29790
  * // "state": "my_state",
29739
29791
  * // "turns": [],
@@ -30043,6 +30095,7 @@ export namespace discoveryengine_v1beta {
30043
30095
  * // "isPinned": false,
30044
30096
  * // "labels": [],
30045
30097
  * // "name": "my_name",
30098
+ * // "pendingAsyncAssistOperationId": "my_pendingAsyncAssistOperationId",
30046
30099
  * // "startTime": "my_startTime",
30047
30100
  * // "state": "my_state",
30048
30101
  * // "turns": [],
@@ -30194,7 +30247,7 @@ export namespace discoveryengine_v1beta {
30194
30247
  * {
30195
30248
  * // A comma-separated list of fields to filter by, in EBNF grammar. The supported fields are: * `user_pseudo_id` * `state` * `display_name` * `starred` * `is_pinned` * `labels` * `create_time` * `update_time` * `collaborative_project` Examples: * `user_pseudo_id = some_id` * `display_name = "some_name"` * `starred = true` * `is_pinned=true AND (NOT labels:hidden)` * `create_time \> "1970-01-01T12:00:00Z"` * `collaborative_project = "projects/123/locations/global/collections/default_collection/engines/" "default_engine/collaborative_projects/cp1"`
30196
30249
  * filter: 'placeholder-value',
30197
- * // A comma-separated list of fields to order by, sorted in ascending order. Use "desc" after a field name for descending. Supported fields: * `update_time` * `create_time` * `session_name` * `is_pinned` Example: * `update_time desc` * `create_time` * `is_pinned desc,update_time desc`: list sessions by is_pinned first, then by update_time.
30250
+ * // A comma-separated list of fields to order by, sorted in ascending order. Use "desc" after a field name for descending. Supported fields: * `update_time` * `create_time` * `session_name` * `is_pinned` * `display_name` Example: * `update_time desc` * `create_time` * `is_pinned desc,update_time desc`: list sessions by is_pinned first, then by update_time.
30198
30251
  * orderBy: 'placeholder-value',
30199
30252
  * // Maximum number of results to return. If unspecified, defaults to 50. Max allowed value is 1000.
30200
30253
  * pageSize: 'placeholder-value',
@@ -30373,6 +30426,7 @@ export namespace discoveryengine_v1beta {
30373
30426
  * // "isPinned": false,
30374
30427
  * // "labels": [],
30375
30428
  * // "name": "my_name",
30429
+ * // "pendingAsyncAssistOperationId": "my_pendingAsyncAssistOperationId",
30376
30430
  * // "startTime": "my_startTime",
30377
30431
  * // "state": "my_state",
30378
30432
  * // "turns": [],
@@ -30390,6 +30444,7 @@ export namespace discoveryengine_v1beta {
30390
30444
  * // "isPinned": false,
30391
30445
  * // "labels": [],
30392
30446
  * // "name": "my_name",
30447
+ * // "pendingAsyncAssistOperationId": "my_pendingAsyncAssistOperationId",
30393
30448
  * // "startTime": "my_startTime",
30394
30449
  * // "state": "my_state",
30395
30450
  * // "turns": [],
@@ -30539,7 +30594,7 @@ export namespace discoveryengine_v1beta {
30539
30594
  */
30540
30595
  filter?: string;
30541
30596
  /**
30542
- * A comma-separated list of fields to order by, sorted in ascending order. Use "desc" after a field name for descending. Supported fields: * `update_time` * `create_time` * `session_name` * `is_pinned` Example: * `update_time desc` * `create_time` * `is_pinned desc,update_time desc`: list sessions by is_pinned first, then by update_time.
30597
+ * A comma-separated list of fields to order by, sorted in ascending order. Use "desc" after a field name for descending. Supported fields: * `update_time` * `create_time` * `session_name` * `is_pinned` * `display_name` Example: * `update_time desc` * `create_time` * `is_pinned desc,update_time desc`: list sessions by is_pinned first, then by update_time.
30543
30598
  */
30544
30599
  orderBy?: string;
30545
30600
  /**
@@ -36462,7 +36517,7 @@ export namespace discoveryengine_v1beta {
36462
36517
  }
36463
36518
 
36464
36519
  /**
36465
- * Sets the IAM access control policy for an Engine. A `NOT_FOUND` error is returned if the resource does not exist. **Important:** When setting a policy directly on an Engine resource, the only recommended roles in the bindings are: `roles/discoveryengine.user` and `roles/discoveryengine.agentspaceUser`. Attempting to grant any other role will result in a warning in logging.
36520
+ * Sets the IAM access control policy for an Engine. A `NOT_FOUND` error is returned if the resource does not exist. **Important:** When setting a policy directly on an Engine resource, the only recommended roles in the bindings are: `roles/discoveryengine.admin`, `roles/discoveryengine.agentspaceAdmin`, `roles/discoveryengine.user`, `roles/discoveryengine.agentspaceUser`, `roles/discoveryengine.viewer`, `roles/discoveryengine.agentspaceViewer`. Attempting to grant any other role will result in a warning in logging.
36466
36521
  * @example
36467
36522
  * ```js
36468
36523
  * // Before running the sample:
@@ -37801,6 +37856,7 @@ export namespace discoveryengine_v1beta {
37801
37856
  * // "answer": {},
37802
37857
  * // "assistToken": "my_assistToken",
37803
37858
  * // "invocationTools": [],
37859
+ * // "invokedSkills": [],
37804
37860
  * // "sessionInfo": {}
37805
37861
  * // }
37806
37862
  * }
@@ -42905,6 +42961,7 @@ export namespace discoveryengine_v1beta {
42905
42961
  * // "isPinned": false,
42906
42962
  * // "labels": [],
42907
42963
  * // "name": "my_name",
42964
+ * // "pendingAsyncAssistOperationId": "my_pendingAsyncAssistOperationId",
42908
42965
  * // "startTime": "my_startTime",
42909
42966
  * // "state": "my_state",
42910
42967
  * // "turns": [],
@@ -42922,6 +42979,7 @@ export namespace discoveryengine_v1beta {
42922
42979
  * // "isPinned": false,
42923
42980
  * // "labels": [],
42924
42981
  * // "name": "my_name",
42982
+ * // "pendingAsyncAssistOperationId": "my_pendingAsyncAssistOperationId",
42925
42983
  * // "startTime": "my_startTime",
42926
42984
  * // "state": "my_state",
42927
42985
  * // "turns": [],
@@ -43229,6 +43287,7 @@ export namespace discoveryengine_v1beta {
43229
43287
  * // "isPinned": false,
43230
43288
  * // "labels": [],
43231
43289
  * // "name": "my_name",
43290
+ * // "pendingAsyncAssistOperationId": "my_pendingAsyncAssistOperationId",
43232
43291
  * // "startTime": "my_startTime",
43233
43292
  * // "state": "my_state",
43234
43293
  * // "turns": [],
@@ -43379,7 +43438,7 @@ export namespace discoveryengine_v1beta {
43379
43438
  * await discoveryengine.projects.locations.collections.engines.sessions.list({
43380
43439
  * // A comma-separated list of fields to filter by, in EBNF grammar. The supported fields are: * `user_pseudo_id` * `state` * `display_name` * `starred` * `is_pinned` * `labels` * `create_time` * `update_time` * `collaborative_project` Examples: * `user_pseudo_id = some_id` * `display_name = "some_name"` * `starred = true` * `is_pinned=true AND (NOT labels:hidden)` * `create_time \> "1970-01-01T12:00:00Z"` * `collaborative_project = "projects/123/locations/global/collections/default_collection/engines/" "default_engine/collaborative_projects/cp1"`
43381
43440
  * filter: 'placeholder-value',
43382
- * // A comma-separated list of fields to order by, sorted in ascending order. Use "desc" after a field name for descending. Supported fields: * `update_time` * `create_time` * `session_name` * `is_pinned` Example: * `update_time desc` * `create_time` * `is_pinned desc,update_time desc`: list sessions by is_pinned first, then by update_time.
43441
+ * // A comma-separated list of fields to order by, sorted in ascending order. Use "desc" after a field name for descending. Supported fields: * `update_time` * `create_time` * `session_name` * `is_pinned` * `display_name` Example: * `update_time desc` * `create_time` * `is_pinned desc,update_time desc`: list sessions by is_pinned first, then by update_time.
43383
43442
  * orderBy: 'placeholder-value',
43384
43443
  * // Maximum number of results to return. If unspecified, defaults to 50. Max allowed value is 1000.
43385
43444
  * pageSize: 'placeholder-value',
@@ -43557,6 +43616,7 @@ export namespace discoveryengine_v1beta {
43557
43616
  * // "isPinned": false,
43558
43617
  * // "labels": [],
43559
43618
  * // "name": "my_name",
43619
+ * // "pendingAsyncAssistOperationId": "my_pendingAsyncAssistOperationId",
43560
43620
  * // "startTime": "my_startTime",
43561
43621
  * // "state": "my_state",
43562
43622
  * // "turns": [],
@@ -43574,6 +43634,7 @@ export namespace discoveryengine_v1beta {
43574
43634
  * // "isPinned": false,
43575
43635
  * // "labels": [],
43576
43636
  * // "name": "my_name",
43637
+ * // "pendingAsyncAssistOperationId": "my_pendingAsyncAssistOperationId",
43577
43638
  * // "startTime": "my_startTime",
43578
43639
  * // "state": "my_state",
43579
43640
  * // "turns": [],
@@ -43723,7 +43784,7 @@ export namespace discoveryengine_v1beta {
43723
43784
  */
43724
43785
  filter?: string;
43725
43786
  /**
43726
- * A comma-separated list of fields to order by, sorted in ascending order. Use "desc" after a field name for descending. Supported fields: * `update_time` * `create_time` * `session_name` * `is_pinned` Example: * `update_time desc` * `create_time` * `is_pinned desc,update_time desc`: list sessions by is_pinned first, then by update_time.
43787
+ * A comma-separated list of fields to order by, sorted in ascending order. Use "desc" after a field name for descending. Supported fields: * `update_time` * `create_time` * `session_name` * `is_pinned` * `display_name` Example: * `update_time desc` * `create_time` * `is_pinned desc,update_time desc`: list sessions by is_pinned first, then by update_time.
43727
43788
  */
43728
43789
  orderBy?: string;
43729
43790
  /**
@@ -53718,6 +53779,7 @@ export namespace discoveryengine_v1beta {
53718
53779
  * // "isPinned": false,
53719
53780
  * // "labels": [],
53720
53781
  * // "name": "my_name",
53782
+ * // "pendingAsyncAssistOperationId": "my_pendingAsyncAssistOperationId",
53721
53783
  * // "startTime": "my_startTime",
53722
53784
  * // "state": "my_state",
53723
53785
  * // "turns": [],
@@ -53734,6 +53796,7 @@ export namespace discoveryengine_v1beta {
53734
53796
  * // "isPinned": false,
53735
53797
  * // "labels": [],
53736
53798
  * // "name": "my_name",
53799
+ * // "pendingAsyncAssistOperationId": "my_pendingAsyncAssistOperationId",
53737
53800
  * // "startTime": "my_startTime",
53738
53801
  * // "state": "my_state",
53739
53802
  * // "turns": [],
@@ -54038,6 +54101,7 @@ export namespace discoveryengine_v1beta {
54038
54101
  * // "isPinned": false,
54039
54102
  * // "labels": [],
54040
54103
  * // "name": "my_name",
54104
+ * // "pendingAsyncAssistOperationId": "my_pendingAsyncAssistOperationId",
54041
54105
  * // "startTime": "my_startTime",
54042
54106
  * // "state": "my_state",
54043
54107
  * // "turns": [],
@@ -54188,7 +54252,7 @@ export namespace discoveryengine_v1beta {
54188
54252
  * {
54189
54253
  * // A comma-separated list of fields to filter by, in EBNF grammar. The supported fields are: * `user_pseudo_id` * `state` * `display_name` * `starred` * `is_pinned` * `labels` * `create_time` * `update_time` * `collaborative_project` Examples: * `user_pseudo_id = some_id` * `display_name = "some_name"` * `starred = true` * `is_pinned=true AND (NOT labels:hidden)` * `create_time \> "1970-01-01T12:00:00Z"` * `collaborative_project = "projects/123/locations/global/collections/default_collection/engines/" "default_engine/collaborative_projects/cp1"`
54190
54254
  * filter: 'placeholder-value',
54191
- * // A comma-separated list of fields to order by, sorted in ascending order. Use "desc" after a field name for descending. Supported fields: * `update_time` * `create_time` * `session_name` * `is_pinned` Example: * `update_time desc` * `create_time` * `is_pinned desc,update_time desc`: list sessions by is_pinned first, then by update_time.
54255
+ * // A comma-separated list of fields to order by, sorted in ascending order. Use "desc" after a field name for descending. Supported fields: * `update_time` * `create_time` * `session_name` * `is_pinned` * `display_name` Example: * `update_time desc` * `create_time` * `is_pinned desc,update_time desc`: list sessions by is_pinned first, then by update_time.
54192
54256
  * orderBy: 'placeholder-value',
54193
54257
  * // Maximum number of results to return. If unspecified, defaults to 50. Max allowed value is 1000.
54194
54258
  * pageSize: 'placeholder-value',
@@ -54366,6 +54430,7 @@ export namespace discoveryengine_v1beta {
54366
54430
  * // "isPinned": false,
54367
54431
  * // "labels": [],
54368
54432
  * // "name": "my_name",
54433
+ * // "pendingAsyncAssistOperationId": "my_pendingAsyncAssistOperationId",
54369
54434
  * // "startTime": "my_startTime",
54370
54435
  * // "state": "my_state",
54371
54436
  * // "turns": [],
@@ -54382,6 +54447,7 @@ export namespace discoveryengine_v1beta {
54382
54447
  * // "isPinned": false,
54383
54448
  * // "labels": [],
54384
54449
  * // "name": "my_name",
54450
+ * // "pendingAsyncAssistOperationId": "my_pendingAsyncAssistOperationId",
54385
54451
  * // "startTime": "my_startTime",
54386
54452
  * // "state": "my_state",
54387
54453
  * // "turns": [],
@@ -54531,7 +54597,7 @@ export namespace discoveryengine_v1beta {
54531
54597
  */
54532
54598
  filter?: string;
54533
54599
  /**
54534
- * A comma-separated list of fields to order by, sorted in ascending order. Use "desc" after a field name for descending. Supported fields: * `update_time` * `create_time` * `session_name` * `is_pinned` Example: * `update_time desc` * `create_time` * `is_pinned desc,update_time desc`: list sessions by is_pinned first, then by update_time.
54600
+ * A comma-separated list of fields to order by, sorted in ascending order. Use "desc" after a field name for descending. Supported fields: * `update_time` * `create_time` * `session_name` * `is_pinned` * `display_name` Example: * `update_time desc` * `create_time` * `is_pinned desc,update_time desc`: list sessions by is_pinned first, then by update_time.
54535
54601
  */
54536
54602
  orderBy?: string;
54537
54603
  /**
@@ -60907,6 +60973,165 @@ export namespace discoveryengine_v1beta {
60907
60973
  }
60908
60974
  }
60909
60975
 
60976
+ /**
60977
+ * Lists all the LicenseConfigs associated with the project.
60978
+ * @example
60979
+ * ```js
60980
+ * // Before running the sample:
60981
+ * // - Enable the API at:
60982
+ * // https://console.developers.google.com/apis/api/discoveryengine.googleapis.com
60983
+ * // - Login into gcloud by running:
60984
+ * // ```sh
60985
+ * // $ gcloud auth application-default login
60986
+ * // ```
60987
+ * // - Install the npm module by running:
60988
+ * // ```sh
60989
+ * // $ npm install googleapis
60990
+ * // ```
60991
+ *
60992
+ * const {google} = require('googleapis');
60993
+ * const discoveryengine = google.discoveryengine('v1beta');
60994
+ *
60995
+ * async function main() {
60996
+ * const auth = new google.auth.GoogleAuth({
60997
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
60998
+ * scopes: [
60999
+ * 'https://www.googleapis.com/auth/cloud-platform',
61000
+ * 'https://www.googleapis.com/auth/discoveryengine.readwrite',
61001
+ * 'https://www.googleapis.com/auth/discoveryengine.serving.readwrite',
61002
+ * ],
61003
+ * });
61004
+ *
61005
+ * // Acquire an auth client, and bind it to all future calls
61006
+ * const authClient = await auth.getClient();
61007
+ * google.options({auth: authClient});
61008
+ *
61009
+ * // Do the magic
61010
+ * const res = await discoveryengine.projects.locations.licenseConfigs.list({
61011
+ * // Optional. The filter to apply to the list results. The supported fields are: * `subscription_tier` * `state` Examples: * `subscription_tier=SUBSCRIPTION_TIER_SEARCH,state=ACTIVE` - Lists all active search license configs. * `state=ACTIVE` - Lists all active license configs. The filter string should be a comma-separated list of field=value pairs.
61012
+ * filter: 'placeholder-value',
61013
+ * // Optional. Not supported.
61014
+ * pageSize: 'placeholder-value',
61015
+ * // Optional. Not supported.
61016
+ * pageToken: 'placeholder-value',
61017
+ * // Required. The parent branch resource name, such as `projects/{project\}/locations/{location\}`.
61018
+ * parent: 'projects/my-project/locations/my-location',
61019
+ * });
61020
+ * console.log(res.data);
61021
+ *
61022
+ * // Example response
61023
+ * // {
61024
+ * // "licenseConfigs": [],
61025
+ * // "nextPageToken": "my_nextPageToken"
61026
+ * // }
61027
+ * }
61028
+ *
61029
+ * main().catch(e => {
61030
+ * console.error(e);
61031
+ * throw e;
61032
+ * });
61033
+ *
61034
+ * ```
61035
+ *
61036
+ * @param params - Parameters for request
61037
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
61038
+ * @param callback - Optional callback that handles the response.
61039
+ * @returns A promise if used with async/await, or void if used with a callback.
61040
+ */
61041
+ list(
61042
+ params: Params$Resource$Projects$Locations$Licenseconfigs$List,
61043
+ options: StreamMethodOptions
61044
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
61045
+ list(
61046
+ params?: Params$Resource$Projects$Locations$Licenseconfigs$List,
61047
+ options?: MethodOptions
61048
+ ): Promise<
61049
+ GaxiosResponseWithHTTP2<Schema$GoogleCloudDiscoveryengineV1betaListLicenseConfigsResponse>
61050
+ >;
61051
+ list(
61052
+ params: Params$Resource$Projects$Locations$Licenseconfigs$List,
61053
+ options: StreamMethodOptions | BodyResponseCallback<Readable>,
61054
+ callback: BodyResponseCallback<Readable>
61055
+ ): void;
61056
+ list(
61057
+ params: Params$Resource$Projects$Locations$Licenseconfigs$List,
61058
+ options:
61059
+ | MethodOptions
61060
+ | BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1betaListLicenseConfigsResponse>,
61061
+ callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1betaListLicenseConfigsResponse>
61062
+ ): void;
61063
+ list(
61064
+ params: Params$Resource$Projects$Locations$Licenseconfigs$List,
61065
+ callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1betaListLicenseConfigsResponse>
61066
+ ): void;
61067
+ list(
61068
+ callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1betaListLicenseConfigsResponse>
61069
+ ): void;
61070
+ list(
61071
+ paramsOrCallback?:
61072
+ | Params$Resource$Projects$Locations$Licenseconfigs$List
61073
+ | BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1betaListLicenseConfigsResponse>
61074
+ | BodyResponseCallback<Readable>,
61075
+ optionsOrCallback?:
61076
+ | MethodOptions
61077
+ | StreamMethodOptions
61078
+ | BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1betaListLicenseConfigsResponse>
61079
+ | BodyResponseCallback<Readable>,
61080
+ callback?:
61081
+ | BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1betaListLicenseConfigsResponse>
61082
+ | BodyResponseCallback<Readable>
61083
+ ):
61084
+ | void
61085
+ | Promise<
61086
+ GaxiosResponseWithHTTP2<Schema$GoogleCloudDiscoveryengineV1betaListLicenseConfigsResponse>
61087
+ >
61088
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
61089
+ let params = (paramsOrCallback ||
61090
+ {}) as Params$Resource$Projects$Locations$Licenseconfigs$List;
61091
+ let options = (optionsOrCallback || {}) as MethodOptions;
61092
+
61093
+ if (typeof paramsOrCallback === 'function') {
61094
+ callback = paramsOrCallback;
61095
+ params = {} as Params$Resource$Projects$Locations$Licenseconfigs$List;
61096
+ options = {};
61097
+ }
61098
+
61099
+ if (typeof optionsOrCallback === 'function') {
61100
+ callback = optionsOrCallback;
61101
+ options = {};
61102
+ }
61103
+
61104
+ const rootUrl =
61105
+ options.rootUrl || 'https://discoveryengine.googleapis.com/';
61106
+ const parameters = {
61107
+ options: Object.assign(
61108
+ {
61109
+ url: (rootUrl + '/v1beta/{+parent}/licenseConfigs').replace(
61110
+ /([^:]\/)\/+/g,
61111
+ '$1'
61112
+ ),
61113
+ method: 'GET',
61114
+ apiVersion: '',
61115
+ },
61116
+ options
61117
+ ),
61118
+ params,
61119
+ requiredParams: ['parent'],
61120
+ pathParams: ['parent'],
61121
+ context: this.context,
61122
+ };
61123
+ if (callback) {
61124
+ createAPIRequest<Schema$GoogleCloudDiscoveryengineV1betaListLicenseConfigsResponse>(
61125
+ parameters,
61126
+ callback as BodyResponseCallback<unknown>
61127
+ );
61128
+ } else {
61129
+ return createAPIRequest<Schema$GoogleCloudDiscoveryengineV1betaListLicenseConfigsResponse>(
61130
+ parameters
61131
+ );
61132
+ }
61133
+ }
61134
+
60910
61135
  /**
60911
61136
  * Updates the LicenseConfig
60912
61137
  * @example
@@ -61110,6 +61335,24 @@ export namespace discoveryengine_v1beta {
61110
61335
  */
61111
61336
  name?: string;
61112
61337
  }
61338
+ export interface Params$Resource$Projects$Locations$Licenseconfigs$List extends StandardParameters {
61339
+ /**
61340
+ * Optional. The filter to apply to the list results. The supported fields are: * `subscription_tier` * `state` Examples: * `subscription_tier=SUBSCRIPTION_TIER_SEARCH,state=ACTIVE` - Lists all active search license configs. * `state=ACTIVE` - Lists all active license configs. The filter string should be a comma-separated list of field=value pairs.
61341
+ */
61342
+ filter?: string;
61343
+ /**
61344
+ * Optional. Not supported.
61345
+ */
61346
+ pageSize?: number;
61347
+ /**
61348
+ * Optional. Not supported.
61349
+ */
61350
+ pageToken?: string;
61351
+ /**
61352
+ * Required. The parent branch resource name, such as `projects/{project\}/locations/{location\}`.
61353
+ */
61354
+ parent?: string;
61355
+ }
61113
61356
  export interface Params$Resource$Projects$Locations$Licenseconfigs$Patch extends StandardParameters {
61114
61357
  /**
61115
61358
  * Immutable. Identifier. The fully qualified resource name of the license config. Format: `projects/{project\}/locations/{location\}/licenseConfigs/{license_config\}`