@maxim_mazurok/gapi.client.discoveryengine-v1alpha 0.0.20241220 → 0.0.20250114

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 +317 -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: 20241220
12
+ // Revision: 20250114
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -158,7 +158,12 @@ declare namespace gapi.client {
158
158
  /** Human-readable name of a function or method—for example, `google.cloud.discoveryengine.v1alpha.RecommendationService.Recommend`. */
159
159
  functionName?: string;
160
160
  }
161
- interface GoogleCloudDiscoveryengineV1AdvancedSiteSearchConfig {}
161
+ interface GoogleCloudDiscoveryengineV1AdvancedSiteSearchConfig {
162
+ /** If set true, automatic refresh is disabled for the DataStore. */
163
+ disableAutomaticRefresh?: boolean;
164
+ /** If set true, initial indexing is disabled for the DataStore. */
165
+ disableInitialIndex?: boolean;
166
+ }
162
167
  interface GoogleCloudDiscoveryengineV1alphaAclConfig {
163
168
  /** Identity provider config. */
164
169
  idpConfig?: GoogleCloudDiscoveryengineV1alphaIdpConfig;
@@ -166,7 +171,7 @@ declare namespace gapi.client {
166
171
  name?: string;
167
172
  }
168
173
  interface GoogleCloudDiscoveryengineV1alphaActionConfig {
169
- /** Required. Params needed to support actions in the format of (Key, Value) pairs. Required parameters for sources that support OAUTH, i.e. `gmail`, `google_calendar`, `jira`, `workday`, `salesforce`, `confluence`: * Key: `client_id` * Value: type STRING. The client id for the service provider to identify your application. * Key: `client_secret` * Value:type STRING. The client secret generated by the application's authorization server. */
174
+ /** Required. Params needed to support actions in the format of (Key, Value) pairs. Required parameters for sources that support OAUTH, i.e. `gmail`, `google_calendar`, `jira`, `workday`, `salesforce`, `confluence`: * Key: `client_id` * Value: type STRING. The client ID for the service provider to identify your application. * Key: `client_secret` * Value:type STRING. The client secret generated by the application's authorization server. */
170
175
  actionParams?: {[P in string]: any};
171
176
  /** Output only. The connector contains the necessary parameters and is configured to support actions. */
172
177
  isActionConfigured?: boolean;
@@ -286,6 +291,8 @@ declare namespace gapi.client {
286
291
  references?: GoogleCloudDiscoveryengineV1alphaAnswerReference[];
287
292
  /** Suggested related questions. */
288
293
  relatedQuestions?: string[];
294
+ /** Optional. Safety ratings. */
295
+ safetyRatings?: GoogleCloudDiscoveryengineV1alphaSafetyRating[];
289
296
  /** The state of the answer generation. */
290
297
  state?: string;
291
298
  /** Answer generation steps. */
@@ -400,6 +407,14 @@ declare namespace gapi.client {
400
407
  interface GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestSafetySpec {
401
408
  /** Enable the safety filtering on the answer response. It is false by default. */
402
409
  enable?: boolean;
410
+ /** Optional. Safety settings. This settings are effective only when the safety_spec.enable is true. */
411
+ safetySettings?: GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestSafetySpecSafetySetting[];
412
+ }
413
+ interface GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestSafetySpecSafetySetting {
414
+ /** Required. Harm category. */
415
+ category?: string;
416
+ /** Required. The harm block threshold. */
417
+ threshold?: string;
403
418
  }
404
419
  interface GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestSearchSpec {
405
420
  /** Search parameters. */
@@ -835,7 +850,7 @@ declare namespace gapi.client {
835
850
  interface GoogleCloudDiscoveryengineV1alphaCollection {
836
851
  /** Output only. Timestamp the Collection was created at. */
837
852
  createTime?: string;
838
- /** Output only. The data connector, if present, manages the connection for data stores in the Collection. To set up the connector, use DataConnectorService.SetUpDataConnector method, which creates a new Collection while setting up the DataConnector singleton resource. Setting up connector on an existing Collection is not supported. This output only field contains a subset of the DataConnector fields, including `name`, `data_source`, `entities.entity_name` and `entities.data_store`. To get more details about a data connector, use the DataConnector.GetDataConnector method. */
853
+ /** Output only. The data connector, if present, manages the connection for data stores in the Collection. To set up the connector, use DataConnectorService.SetUpDataConnector method, which creates a new Collection while setting up the DataConnector singleton resource. Setting up connector on an existing Collection is not supported. This output only field contains a subset of the DataConnector fields, including `name`, `data_source`, `entities.entity_name` and `entities.data_store`. To get more details about a data connector, use the DataConnectorService.GetDataConnector method. */
839
854
  dataConnector?: GoogleCloudDiscoveryengineV1alphaDataConnector;
840
855
  /** Required. The Collection display name. This field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned. */
841
856
  displayName?: string;
@@ -963,12 +978,14 @@ declare namespace gapi.client {
963
978
  useCases?: string[];
964
979
  }
965
980
  interface GoogleCloudDiscoveryengineV1alphaControlBoostAction {
966
- /** Required. Strength of the boost, which should be in [-1, 1]. Negative boost means demotion. Default is 0.0 (No-op). */
981
+ /** Strength of the boost, which should be in [-1, 1]. Negative boost means demotion. Default is 0.0 (No-op). */
967
982
  boost?: number;
968
983
  /** Required. Specifies which data store's documents can be boosted by this control. Full data store name e.g. projects/123/locations/global/collections/default_collection/dataStores/default_data_store */
969
984
  dataStore?: string;
970
985
  /** Required. Specifies which products to apply the boost to. If no filter is provided all products will be boosted (No-op). Syntax documentation: https://cloud.google.com/retail/docs/filter-and-order Maximum length is 5000 characters. Otherwise an INVALID ARGUMENT error is thrown. */
971
986
  filter?: string;
987
+ /** Optional. Strength of the boost, which should be in [-1, 1]. Negative boost means demotion. Default is 0.0 (No-op). */
988
+ fixedBoost?: number;
972
989
  }
973
990
  interface GoogleCloudDiscoveryengineV1alphaControlFilterAction {
974
991
  /** Required. Specifies which data store's documents can be filtered by this control. Full data store name e.g. projects/123/locations/global/collections/default_collection/dataStores/default_data_store */
@@ -1146,7 +1163,7 @@ declare namespace gapi.client {
1146
1163
  name?: string;
1147
1164
  /** The UTC time when the next data sync is expected to start for the Data Connector. Customers are only able to specify the hour and minute to schedule the data sync. This is utilized when the data connector has a refresh interval greater than 1 day. */
1148
1165
  nextSyncTime?: GoogleTypeDateTime;
1149
- /** Required. Params needed to access the source in the format of (Key, Value) pairs. Required parameters for all data sources: * Key: `instance_uri` * Value: type STRING. The uri to access the data source. Required parameters for sources that support OAUTH, i.e. `salesforce`: * Key: `client_id` * Value: type STRING. The client id for the third party service provider to identify your application. * Key: `client_secret` * Value:type STRING. The client secret generated by the third party authorization server. * Key: `access_token` * Value: type STRING. OAuth token for UCS to access to the protected resource. * Key: `refresh_token` * Value: type STRING. OAuth refresh token for UCS to obtain a new access token without user interaction. Required parameters for sources that support basic API token auth, i.e. `jira`, `confluence`: * Key: `user_account` * Value: type STRING. The username or email with the source. * Key: `api_token` * Value: type STRING. The API token generated for the source account, that is used for authenticating anywhere where you would have used a password. Example: ```json { "instance_uri": "https://xxx.atlassian.net", "user_account": "xxxx.xxx@xxx.com", "api_token": "test-token" } ``` Optional parameter to specify the authorization type to use for multiple authorization types support: * Key: `auth_type` * Value: type STRING. The authorization type for the data source. Supported values: `BASIC_AUTH`, `OAUTH`, `OAUTH_ACCESS_TOKEN`, `OAUTH_TWO_LEGGED`, `OAUTH_JWT_BEARER`, `OAUTH_PASSWORD_GRANT`, `JWT`, `API_TOKEN`, `FEDERATED_CREDENTIAL`. */
1166
+ /** Required. Params needed to access the source in the format of (Key, Value) pairs. Required parameters for all data sources: * Key: `instance_uri` * Value: type STRING. The uri to access the data source. Required parameters for sources that support OAUTH, i.e. `salesforce`: * Key: `client_id` * Value: type STRING. The client ID for the third party service provider to identify your application. * Key: `client_secret` * Value:type STRING. The client secret generated by the third party authorization server. * Key: `access_token` * Value: type STRING. OAuth token for UCS to access to the protected resource. * Key: `refresh_token` * Value: type STRING. OAuth refresh token for UCS to obtain a new access token without user interaction. Required parameters for sources that support basic API token auth, i.e. `jira`, `confluence`: * Key: `user_account` * Value: type STRING. The username or email with the source. * Key: `api_token` * Value: type STRING. The API token generated for the source account, that is used for authenticating anywhere where you would have used a password. Example: ```json { "instance_uri": "https://xxx.atlassian.net", "user_account": "xxxx.xxx@xxx.com", "api_token": "test-token" } ``` Optional parameter to specify the authorization type to use for multiple authorization types support: * Key: `auth_type` * Value: type STRING. The authorization type for the data source. Supported values: `BASIC_AUTH`, `OAUTH`, `OAUTH_ACCESS_TOKEN`, `OAUTH_TWO_LEGGED`, `OAUTH_JWT_BEARER`, `OAUTH_PASSWORD_GRANT`, `JWT`, `API_TOKEN`, `FEDERATED_CREDENTIAL`. */
1150
1167
  params?: {[P in string]: any};
1151
1168
  /** Output only. The tenant project ID associated with private connectivity connectors. This project must be allowlisted by in order for the connector to function. */
1152
1169
  privateConnectivityProjectId?: string;
@@ -1170,7 +1187,7 @@ declare namespace gapi.client {
1170
1187
  entityName?: string;
1171
1188
  /** Attributes for indexing. Key: Field name. Value: The key property to map a field to, such as `title`, and `description`. Supported key properties: * `title`: The title for data record. This would be displayed on search results. * `description`: The description for data record. This would be displayed on search results. */
1172
1189
  keyPropertyMappings?: {[P in string]: string};
1173
- /** The parameters for the entity to facilitate data ingestion. E.g. for BQ connectors: * Key: `document_id_column` * Value: type STRING. The value of the column id. */
1190
+ /** The parameters for the entity to facilitate data ingestion. E.g. for BigQuery connectors: * Key: `document_id_column` * Value: type STRING. The value of the column ID. */
1174
1191
  params?: {[P in string]: any};
1175
1192
  }
1176
1193
  interface GoogleCloudDiscoveryengineV1alphaDataStore {
@@ -1257,6 +1274,12 @@ declare namespace gapi.client {
1257
1274
  /** Operation last update time. If the operation is done, this is also the finish time. */
1258
1275
  updateTime?: string;
1259
1276
  }
1277
+ interface GoogleCloudDiscoveryengineV1alphaDeleteIdentityMappingStoreMetadata {
1278
+ /** Operation create time. */
1279
+ createTime?: string;
1280
+ /** Operation last update time. If the operation is done, this is also the finish time. */
1281
+ updateTime?: string;
1282
+ }
1260
1283
  interface GoogleCloudDiscoveryengineV1alphaDeleteSchemaMetadata {
1261
1284
  /** Operation create time. */
1262
1285
  createTime?: string;
@@ -1308,7 +1331,7 @@ declare namespace gapi.client {
1308
1331
  content?: GoogleCloudDiscoveryengineV1alphaDocumentContent;
1309
1332
  /** Output only. This field is OUTPUT_ONLY. It contains derived data that are not in the original input document. */
1310
1333
  derivedStructData?: {[P in string]: any};
1311
- /** 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. */
1334
+ /** Immutable. The identifier of the document. Id should conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) standard with a length limit of 128 characters. */
1312
1335
  id?: string;
1313
1336
  /** Output only. The index status of the document. * If document is indexed successfully, the index_time field is populated. * Otherwise, if document is not indexed due to errors, the error_samples field is populated. * Otherwise, if document's index is in progress, the pending_message field is populated. */
1314
1337
  indexStatus?: GoogleCloudDiscoveryengineV1alphaDocumentIndexStatus;
@@ -1815,6 +1838,8 @@ declare namespace gapi.client {
1815
1838
  maxRelatedQuestions?: number;
1816
1839
  }
1817
1840
  interface GoogleCloudDiscoveryengineV1alphaIdentityScheduleConfig {
1841
+ /** Optional. The UTC time when the next data sync is expected to start for the Data Connector. Customers are only able to specify the hour and minute to schedule the data sync. This is utilized when the data connector has a refresh interval greater than 1 day. */
1842
+ nextSyncTime?: GoogleTypeDateTime;
1818
1843
  /** Optional. The refresh interval to sync the Access Control List information for the documents ingested by this connector. If not set, the access control list will be refreshed at the default interval of 30 minutes. The identity refresh interval can be at least 30 minutes and at most 7 days. */
1819
1844
  refreshInterval?: string;
1820
1845
  }
@@ -1887,6 +1912,8 @@ declare namespace gapi.client {
1887
1912
  fhirStoreSource?: GoogleCloudDiscoveryengineV1alphaFhirStoreSource;
1888
1913
  /** Firestore input source. */
1889
1914
  firestoreSource?: GoogleCloudDiscoveryengineV1alphaFirestoreSource;
1915
+ /** Optional. Whether to force refresh the unstructured content of the documents. If set to `true`, the content part of the documents will be refreshed regardless of the update status of the referencing content. */
1916
+ forceRefreshContent?: boolean;
1890
1917
  /** Cloud Storage location for the input content. */
1891
1918
  gcsSource?: GoogleCloudDiscoveryengineV1alphaGcsSource;
1892
1919
  /** The field indicates the ID field or column to be used as unique IDs of the documents. For GcsSource it is the key of the JSON field. For instance, `my_id` for JSON `{"my_id": "some_uuid"}`. For others, it may be the column name of the table where the unique ids are stored. The values of the JSON field or the table column are used as the Document.ids. The JSON field or the table column must be of string type, and the values must be set as valid strings conform to [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 auto_generate_ids is unset or set as `false`. Otherwise, an INVALID_ARGUMENT error is thrown. If it is unset, a default value `_id` is used when importing from the allowed data sources. Supported data sources: * GcsSource. GcsSource.data_schema must be `custom` or `csv`. Otherwise, an INVALID_ARGUMENT error is thrown. * BigQuerySource. BigQuerySource.data_schema must be `custom` or `csv`. Otherwise, an INVALID_ARGUMENT error is thrown. * SpannerSource. * CloudSqlSource. * FirestoreSource. * BigtableSource. */
@@ -2081,7 +2108,7 @@ declare namespace gapi.client {
2081
2108
  nextPageToken?: string;
2082
2109
  }
2083
2110
  interface GoogleCloudDiscoveryengineV1alphaListEvaluationResultsResponse {
2084
- /** The EvaluationResults. */
2111
+ /** The evaluation results for the SampleQuerys. */
2085
2112
  evaluationResults?: GoogleCloudDiscoveryengineV1alphaListEvaluationResultsResponseEvaluationResult[];
2086
2113
  /** A token that can be sent as ListEvaluationResultsRequest.page_token to retrieve the next page. If this field is omitted, there are no subsequent pages. */
2087
2114
  nextPageToken?: string;
@@ -2158,6 +2185,10 @@ declare namespace gapi.client {
2158
2185
  /** Mode of Natural Language Query Understanding. If this field is unset, the behavior defaults to NaturalLanguageQueryUnderstandingConfig.Mode.DISABLED. */
2159
2186
  mode?: string;
2160
2187
  }
2188
+ interface GoogleCloudDiscoveryengineV1alphaObtainCrawlRateRequest {
2189
+ /** Required. The scope of the crawl rate that the user wants to monitor. Currently, only domain and host name are supported. A domain name example: `example.com`. A host name example: `www.example.com`. Please do not include `/` in the domain or host name. */
2190
+ crawlRateScope?: string;
2191
+ }
2161
2192
  interface GoogleCloudDiscoveryengineV1alphaObtainCrawlRateResponse {
2162
2193
  /** The historical dedicated crawl rate timeseries data, used for monitoring. */
2163
2194
  dedicatedCrawlRateTimeSeries?: GoogleCloudDiscoveryengineV1alphaDedicatedCrawlRateTimeSeries;
@@ -2435,7 +2466,7 @@ declare namespace gapi.client {
2435
2466
  validUrisCount?: number;
2436
2467
  }
2437
2468
  interface GoogleCloudDiscoveryengineV1alphaRecrawlUrisRequest {
2438
- /** Optional. Full resource name of the SiteCredential, such as `projects/*‍/locations/*‍/collections/*‍/dataStores/*‍/siteSearchEngine/siteCredentials/*`. Only set to crawl private URIs. */
2469
+ /** Optional. Full resource name of the `SiteCredential`, such as `projects/*‍/locations/*‍/collections/*‍/dataStores/*‍/siteSearchEngine/siteCredentials/*`. Only set to crawl private URIs. */
2439
2470
  siteCredential?: string;
2440
2471
  /** Required. List of URIs to crawl. At most 10K URIs are supported, otherwise an INVALID_ARGUMENT error is thrown. Each URI should match at least one TargetSite in `site_search_engine`. */
2441
2472
  uris?: string[];
@@ -2458,6 +2489,22 @@ declare namespace gapi.client {
2458
2489
  /** Reason why the URI was not crawled. */
2459
2490
  errorMessage?: string;
2460
2491
  }
2492
+ interface GoogleCloudDiscoveryengineV1alphaRemoveDedicatedCrawlRateMetadata {
2493
+ /** Operation create time. */
2494
+ createTime?: string;
2495
+ /** Operation last update time. If the operation is done, this is also the finish time. */
2496
+ updateTime?: string;
2497
+ }
2498
+ interface GoogleCloudDiscoveryengineV1alphaRemoveDedicatedCrawlRateRequest {
2499
+ /** Required. The scope of the crawl rate change. Currently, only domain and host name are supported. A domain name example: `example.com`. A host name example: `www.example.com`. Please do not include `/` in the domain or host name. */
2500
+ crawlRateScope?: string;
2501
+ }
2502
+ interface GoogleCloudDiscoveryengineV1alphaRemoveDedicatedCrawlRateResponse {
2503
+ /** Errors from service when handling the request. */
2504
+ error?: GoogleRpcStatus;
2505
+ /** Output only. The state of the response. */
2506
+ state?: string;
2507
+ }
2461
2508
  interface GoogleCloudDiscoveryengineV1alphaReply {
2462
2509
  /** References in the reply. */
2463
2510
  references?: GoogleCloudDiscoveryengineV1alphaReplyReference[];
@@ -2537,6 +2584,20 @@ declare namespace gapi.client {
2537
2584
  variableId?: string;
2538
2585
  }
2539
2586
  interface GoogleCloudDiscoveryengineV1alphaResumeEngineRequest {}
2587
+ interface GoogleCloudDiscoveryengineV1alphaSafetyRating {
2588
+ /** Output only. Indicates whether the content was filtered out because of this rating. */
2589
+ blocked?: boolean;
2590
+ /** Output only. Harm category. */
2591
+ category?: string;
2592
+ /** Output only. Harm probability levels in the content. */
2593
+ probability?: string;
2594
+ /** Output only. Harm probability score. */
2595
+ probabilityScore?: number;
2596
+ /** Output only. Harm severity levels in the content. */
2597
+ severity?: string;
2598
+ /** Output only. Harm severity score. */
2599
+ severityScore?: number;
2600
+ }
2540
2601
  interface GoogleCloudDiscoveryengineV1alphaSampleQuery {
2541
2602
  /** Output only. Timestamp the SampleQuery was created at. */
2542
2603
  createTime?: string;
@@ -2812,7 +2873,7 @@ declare namespace gapi.client {
2812
2873
  imageBytes?: string;
2813
2874
  }
2814
2875
  interface GoogleCloudDiscoveryengineV1alphaSearchRequestNaturalLanguageQueryUnderstandingSpec {
2815
- /** The condition under which filter extraction should occur. Default to Condition.DISABLED. */
2876
+ /** The condition under which filter extraction should occur. Server behavior defaults to `DISABLED`. */
2816
2877
  filterExtractionCondition?: string;
2817
2878
  /** Field names used for location-based filtering, where geolocation filters are detected in natural language search queries. Only valid when the FilterExtractionCondition is set to `ENABLED`. If this field is set, it overrides the field names set in ServingConfig.geo_search_query_detection_field_names. */
2818
2879
  geoSearchQueryDetectionFieldNames?: string[];
@@ -2869,6 +2930,8 @@ declare namespace gapi.client {
2869
2930
  searchLinkPromotions?: GoogleCloudDiscoveryengineV1alphaSearchLinkPromotion[];
2870
2931
  /** Session information. Only set if SearchRequest.session is provided. See its description for more details. */
2871
2932
  sessionInfo?: GoogleCloudDiscoveryengineV1alphaSearchResponseSessionInfo;
2933
+ /** Corrected query with low confidence, AKA did you mean query. Compared with corrected_query, this field is set when SpellCorrector returned a response, but FPR(full page replacement) is not triggered because the corrction is of low confidence(eg, reversed because there are matches of the original query in document corpus). */
2934
+ suggestedQuery?: string;
2872
2935
  /** A summary as part of the search results. This field is only returned if SearchRequest.ContentSearchSpec.summary_spec is set. */
2873
2936
  summary?: GoogleCloudDiscoveryengineV1alphaSearchResponseSummary;
2874
2937
  /** The estimated total count of matched items irrespective of pagination. The count of results returned by pagination may be less than the total_size that matches. */
@@ -2913,9 +2976,15 @@ declare namespace gapi.client {
2913
2976
  extractedFilters?: string;
2914
2977
  /** Rewritten input query minus the extracted filters. */
2915
2978
  rewrittenQuery?: string;
2979
+ /** Optional. The SQL request that was generated from the natural language query understanding phase. */
2980
+ sqlRequest?: GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfoSqlRequest;
2916
2981
  /** The filters that were extracted from the input query represented in a structured form. */
2917
2982
  structuredExtractedFilter?: GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilter;
2918
2983
  }
2984
+ interface GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfoSqlRequest {
2985
+ /** Optional. The SQL query in text format. */
2986
+ sqlQuery?: string;
2987
+ }
2919
2988
  interface GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilter {
2920
2989
  /** The expression denoting the filter that was extracted from the input query in a structured form. It can be a simple expression denoting a single string, numerical or geolocation constraint or a compound expression which is a combination of multiple expressions connected using logical (OR and AND) operators. */
2921
2990
  expression?: GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterExpression;
@@ -3091,7 +3160,7 @@ declare namespace gapi.client {
3091
3160
  personalizationSpec?: GoogleCloudDiscoveryengineV1alphaSearchRequestPersonalizationSpec;
3092
3161
  /** Condition promote specifications. Maximum number of specifications is 100. */
3093
3162
  promoteControlIds?: string[];
3094
- /** The ranking expression controls the customized ranking on retrieval documents. To leverage this, document embedding is required. The ranking expression setting in ServingConfig applies to all search requests served by the serving config. However, if SearchRequest.ranking_expression is specified, it overrides the ServingConfig ranking expression. The ranking expression is 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)`. */
3163
+ /** The ranking expression controls the customized ranking on retrieval documents. To leverage this, document embedding is required. The ranking expression setting in ServingConfig applies to all search requests served by the serving config. However, if `SearchRequest.ranking_expression` is specified, it overrides the ServingConfig ranking expression. The ranking expression is 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)`. */
3095
3164
  rankingExpression?: string;
3096
3165
  /** IDs of the redirect controls. Only the first triggered redirect action is applied, even if multiple apply. Maximum number of specifications is 100. Can only be set if SolutionType is SOLUTION_TYPE_SEARCH. */
3097
3166
  redirectControlIds?: string[];
@@ -3146,6 +3215,28 @@ declare namespace gapi.client {
3146
3215
  /** The user query. */
3147
3216
  query?: GoogleCloudDiscoveryengineV1alphaQuery;
3148
3217
  }
3218
+ interface GoogleCloudDiscoveryengineV1alphaSetDedicatedCrawlRateMetadata {
3219
+ /** Operation create time. */
3220
+ createTime?: string;
3221
+ /** Operation last update time. If the operation is done, this is also the finish time. */
3222
+ updateTime?: string;
3223
+ }
3224
+ interface GoogleCloudDiscoveryengineV1alphaSetDedicatedCrawlRateRequest {
3225
+ /** Optional. The crawl QPS set by the user. It is not guaranteed that Vertex crawl bot will crawl at this QPS. If the crawl rate is too high, the real QPS may be lower than the value set by the user to avoid overloading the user's website. */
3226
+ crawlRate?: number;
3227
+ /** Required. The scope of the crawl rate that the user wants to config. Currently, only domain and host name are supported. A domain name example: `example.com`. A host name example: `www.example.com`. Please do not include `/` in the domain or host name. */
3228
+ crawlRateScope?: string;
3229
+ /** Optional. Whether it's the crawl rate of user-triggered or auto-refresh. */
3230
+ crawlType?: string;
3231
+ /** Optional. Whether the rate is explicitly set by users, or set by vertex AI. */
3232
+ mode?: string;
3233
+ }
3234
+ interface GoogleCloudDiscoveryengineV1alphaSetDedicatedCrawlRateResponse {
3235
+ /** Errors from service when handling the request. */
3236
+ error?: GoogleRpcStatus;
3237
+ /** Output only. The state of the response. */
3238
+ state?: string;
3239
+ }
3149
3240
  interface GoogleCloudDiscoveryengineV1alphaSetUpDataConnectorMetadata {}
3150
3241
  interface GoogleCloudDiscoveryengineV1alphaSetUpDataConnectorRequest {
3151
3242
  /** Required. The display name of the Collection. Should be human readable, used to display collections in the Console Dashboard. UTF-8 encoded string with limit of 1024 characters. */
@@ -3207,7 +3298,9 @@ declare namespace gapi.client {
3207
3298
  interface GoogleCloudDiscoveryengineV1alphaStartConnectorRunRequest {
3208
3299
  /** Specifies which Third Party Connector entities should be synced. If not specified, all entities will be synced. */
3209
3300
  entities?: string[];
3210
- /** The FHIR resource types to import. The resource types should be a subset of all supported FHIR resource types http://shortn/_J8ymdyOokT. Default to all supported FHIR resource types if empty. */
3301
+ /** Optional. Whether to force refresh the unstructured content of the documents. If set to `true`, the content part of the documents will be refreshed regardless of the update status of the referencing content. */
3302
+ forceRefreshContent?: boolean;
3303
+ /** The FHIR resource types to import. The resource types should be a subset of all [supported FHIR resource types](https://cloud.google.com/generative-ai-app-builder/docs/fhir-schema-reference#resource-level-specification). Default to all supported FHIR resource types if empty. */
3211
3304
  healthcareFhirResourceTypes?: string[];
3212
3305
  /** If true, trigger Identity sync. */
3213
3306
  syncIdentity?: boolean;
@@ -3221,7 +3314,7 @@ declare namespace gapi.client {
3221
3314
  matchOperator?: string;
3222
3315
  }
3223
3316
  interface GoogleCloudDiscoveryengineV1alphaTargetSite {
3224
- /** 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 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 pattern to be used by the search engine. */
3317
+ /** Immutable. 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 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 pattern to be used by the search engine. */
3225
3318
  exactMatch?: boolean;
3226
3319
  /** Output only. Failure reason. */
3227
3320
  failureReason?: GoogleCloudDiscoveryengineV1alphaTargetSiteFailureReason;
@@ -3418,7 +3511,12 @@ declare namespace gapi.client {
3418
3511
  /** TargetSites created. */
3419
3512
  targetSites?: GoogleCloudDiscoveryengineV1TargetSite[];
3420
3513
  }
3421
- interface GoogleCloudDiscoveryengineV1betaAdvancedSiteSearchConfig {}
3514
+ interface GoogleCloudDiscoveryengineV1betaAdvancedSiteSearchConfig {
3515
+ /** If set true, automatic refresh is disabled for the DataStore. */
3516
+ disableAutomaticRefresh?: boolean;
3517
+ /** If set true, initial indexing is disabled for the DataStore. */
3518
+ disableInitialIndex?: boolean;
3519
+ }
3422
3520
  interface GoogleCloudDiscoveryengineV1betaBatchCreateTargetSiteMetadata {
3423
3521
  /** Operation create time. */
3424
3522
  createTime?: string;
@@ -3490,12 +3588,14 @@ declare namespace gapi.client {
3490
3588
  useCases?: string[];
3491
3589
  }
3492
3590
  interface GoogleCloudDiscoveryengineV1betaControlBoostAction {
3493
- /** Required. Strength of the boost, which should be in [-1, 1]. Negative boost means demotion. Default is 0.0 (No-op). */
3591
+ /** Strength of the boost, which should be in [-1, 1]. Negative boost means demotion. Default is 0.0 (No-op). */
3494
3592
  boost?: number;
3495
3593
  /** Required. Specifies which data store's documents can be boosted by this control. Full data store name e.g. projects/123/locations/global/collections/default_collection/dataStores/default_data_store */
3496
3594
  dataStore?: string;
3497
3595
  /** Required. Specifies which products to apply the boost to. If no filter is provided all products will be boosted (No-op). Syntax documentation: https://cloud.google.com/retail/docs/filter-and-order Maximum length is 5000 characters. Otherwise an INVALID ARGUMENT error is thrown. */
3498
3596
  filter?: string;
3597
+ /** Optional. Strength of the boost, which should be in [-1, 1]. Negative boost means demotion. Default is 0.0 (No-op). */
3598
+ fixedBoost?: number;
3499
3599
  }
3500
3600
  interface GoogleCloudDiscoveryengineV1betaControlFilterAction {
3501
3601
  /** Required. Specifies which data store's documents can be filtered by this control. Full data store name e.g. projects/123/locations/global/collections/default_collection/dataStores/default_data_store */
@@ -3550,7 +3650,7 @@ declare namespace gapi.client {
3550
3650
  }
3551
3651
  interface GoogleCloudDiscoveryengineV1betaDataStore {
3552
3652
  /** Optional. Configuration for advanced site search. */
3553
- advancedSiteSearchConfig?: any;
3653
+ advancedSiteSearchConfig?: GoogleCloudDiscoveryengineV1betaAdvancedSiteSearchConfig;
3554
3654
  /** Output only. Data size estimation for billing. */
3555
3655
  billingEstimation?: GoogleCloudDiscoveryengineV1betaDataStoreBillingEstimation;
3556
3656
  /** Output only. CMEK-related information for the DataStore. */
@@ -3616,6 +3716,12 @@ declare namespace gapi.client {
3616
3716
  /** Operation last update time. If the operation is done, this is also the finish time. */
3617
3717
  updateTime?: string;
3618
3718
  }
3719
+ interface GoogleCloudDiscoveryengineV1betaDeleteIdentityMappingStoreMetadata {
3720
+ /** Operation create time. */
3721
+ createTime?: string;
3722
+ /** Operation last update time. If the operation is done, this is also the finish time. */
3723
+ updateTime?: string;
3724
+ }
3619
3725
  interface GoogleCloudDiscoveryengineV1betaDeleteSchemaMetadata {
3620
3726
  /** Operation create time. */
3621
3727
  createTime?: string;
@@ -4200,7 +4306,7 @@ declare namespace gapi.client {
4200
4306
  imageBytes?: string;
4201
4307
  }
4202
4308
  interface GoogleCloudDiscoveryengineV1betaSearchRequestNaturalLanguageQueryUnderstandingSpec {
4203
- /** The condition under which filter extraction should occur. Default to Condition.DISABLED. */
4309
+ /** The condition under which filter extraction should occur. Server behavior defaults to `DISABLED`. */
4204
4310
  filterExtractionCondition?: string;
4205
4311
  /** Field names used for location-based filtering, where geolocation filters are detected in natural language search queries. Only valid when the FilterExtractionCondition is set to `ENABLED`. If this field is set, it overrides the field names set in ServingConfig.geo_search_query_detection_field_names. */
4206
4312
  geoSearchQueryDetectionFieldNames?: string[];
@@ -4248,7 +4354,7 @@ declare namespace gapi.client {
4248
4354
  verifyTime?: string;
4249
4355
  }
4250
4356
  interface GoogleCloudDiscoveryengineV1betaTargetSite {
4251
- /** 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 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 pattern to be used by the search engine. */
4357
+ /** Immutable. 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 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 pattern to be used by the search engine. */
4252
4358
  exactMatch?: boolean;
4253
4359
  /** Output only. Failure reason. */
4254
4360
  failureReason?: GoogleCloudDiscoveryengineV1betaTargetSiteFailureReason;
@@ -4389,12 +4495,14 @@ declare namespace gapi.client {
4389
4495
  useCases?: string[];
4390
4496
  }
4391
4497
  interface GoogleCloudDiscoveryengineV1ControlBoostAction {
4392
- /** Required. Strength of the boost, which should be in [-1, 1]. Negative boost means demotion. Default is 0.0 (No-op). */
4498
+ /** Strength of the boost, which should be in [-1, 1]. Negative boost means demotion. Default is 0.0 (No-op). */
4393
4499
  boost?: number;
4394
4500
  /** Required. Specifies which data store's documents can be boosted by this control. Full data store name e.g. projects/123/locations/global/collections/default_collection/dataStores/default_data_store */
4395
4501
  dataStore?: string;
4396
4502
  /** Required. Specifies which products to apply the boost to. If no filter is provided all products will be boosted (No-op). Syntax documentation: https://cloud.google.com/retail/docs/filter-and-order Maximum length is 5000 characters. Otherwise an INVALID ARGUMENT error is thrown. */
4397
4503
  filter?: string;
4504
+ /** Optional. Strength of the boost, which should be in [-1, 1]. Negative boost means demotion. Default is 0.0 (No-op). */
4505
+ fixedBoost?: number;
4398
4506
  }
4399
4507
  interface GoogleCloudDiscoveryengineV1ControlFilterAction {
4400
4508
  /** Required. Specifies which data store's documents can be filtered by this control. Full data store name e.g. projects/123/locations/global/collections/default_collection/dataStores/default_data_store */
@@ -4442,7 +4550,7 @@ declare namespace gapi.client {
4442
4550
  }
4443
4551
  interface GoogleCloudDiscoveryengineV1DataStore {
4444
4552
  /** Optional. Configuration for advanced site search. */
4445
- advancedSiteSearchConfig?: any;
4553
+ advancedSiteSearchConfig?: GoogleCloudDiscoveryengineV1AdvancedSiteSearchConfig;
4446
4554
  /** Output only. Data size estimation for billing. */
4447
4555
  billingEstimation?: GoogleCloudDiscoveryengineV1DataStoreBillingEstimation;
4448
4556
  /** Output only. CMEK-related information for the DataStore. */
@@ -4504,6 +4612,12 @@ declare namespace gapi.client {
4504
4612
  /** Operation last update time. If the operation is done, this is also the finish time. */
4505
4613
  updateTime?: string;
4506
4614
  }
4615
+ interface GoogleCloudDiscoveryengineV1DeleteIdentityMappingStoreMetadata {
4616
+ /** Operation create time. */
4617
+ createTime?: string;
4618
+ /** Operation last update time. If the operation is done, this is also the finish time. */
4619
+ updateTime?: string;
4620
+ }
4507
4621
  interface GoogleCloudDiscoveryengineV1DeleteSchemaMetadata {
4508
4622
  /** Operation create time. */
4509
4623
  createTime?: string;
@@ -4878,7 +4992,7 @@ declare namespace gapi.client {
4878
4992
  onewaySynonymsControlIds?: string[];
4879
4993
  /** Condition promote specifications. Maximum number of specifications is 100. */
4880
4994
  promoteControlIds?: string[];
4881
- /** The ranking expression controls the customized ranking on retrieval documents. To leverage this, document embedding is required. The ranking expression setting in ServingConfig applies to all search requests served by the serving config. However, if SearchRequest.ranking_expression is specified, it overrides the ServingConfig ranking expression. The ranking expression is 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)`. */
4995
+ /** The ranking expression controls the customized ranking on retrieval documents. To leverage this, document embedding is required. The ranking expression setting in ServingConfig applies to all search requests served by the serving config. However, if `SearchRequest.ranking_expression` is specified, it overrides the ServingConfig ranking expression. The ranking expression is 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)`. */
4882
4996
  rankingExpression?: string;
4883
4997
  /** IDs of the redirect controls. Only the first triggered redirect action is applied, even if multiple apply. Maximum number of specifications is 100. Can only be set if SolutionType is SOLUTION_TYPE_SEARCH. */
4884
4998
  redirectControlIds?: string[];
@@ -4918,7 +5032,7 @@ declare namespace gapi.client {
4918
5032
  verifyTime?: string;
4919
5033
  }
4920
5034
  interface GoogleCloudDiscoveryengineV1TargetSite {
4921
- /** 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 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 pattern to be used by the search engine. */
5035
+ /** Immutable. 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 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 pattern to be used by the search engine. */
4922
5036
  exactMatch?: boolean;
4923
5037
  /** Output only. Failure reason. */
4924
5038
  failureReason?: GoogleCloudDiscoveryengineV1TargetSiteFailureReason;
@@ -5453,7 +5567,7 @@ declare namespace gapi.client {
5453
5567
  alt?: string;
5454
5568
  /** JSONP */
5455
5569
  callback?: string;
5456
- /** Required. The ID to use for the Document, which becomes the final component of the Document.name. If the caller does not have permission to create the Document, regardless of whether or not it exists, a `PERMISSION_DENIED` error is returned. This field must be unique among all Documents with the same parent. Otherwise, an `ALREADY_EXISTS` error is returned. This field must conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) standard with a length limit of 63 characters. Otherwise, an `INVALID_ARGUMENT` error is returned. */
5570
+ /** Required. The ID to use for the Document, which becomes the final component of the Document.name. If the caller does not have permission to create the Document, regardless of whether or not it exists, a `PERMISSION_DENIED` error is returned. This field must be unique among all Documents with the same parent. Otherwise, an `ALREADY_EXISTS` error is returned. This field must conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) standard with a length limit of 128 characters. Otherwise, an `INVALID_ARGUMENT` error is returned. */
5457
5571
  documentId?: string;
5458
5572
  /** Selector specifying which fields to include in a partial response. */
5459
5573
  fields?: string;
@@ -5484,7 +5598,7 @@ declare namespace gapi.client {
5484
5598
  alt?: string;
5485
5599
  /** JSONP */
5486
5600
  callback?: string;
5487
- /** Required. The ID to use for the Document, which becomes the final component of the Document.name. If the caller does not have permission to create the Document, regardless of whether or not it exists, a `PERMISSION_DENIED` error is returned. This field must be unique among all Documents with the same parent. Otherwise, an `ALREADY_EXISTS` error is returned. This field must conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) standard with a length limit of 63 characters. Otherwise, an `INVALID_ARGUMENT` error is returned. */
5601
+ /** Required. The ID to use for the Document, which becomes the final component of the Document.name. If the caller does not have permission to create the Document, regardless of whether or not it exists, a `PERMISSION_DENIED` error is returned. This field must be unique among all Documents with the same parent. Otherwise, an `ALREADY_EXISTS` error is returned. This field must conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) standard with a length limit of 128 characters. Otherwise, an `INVALID_ARGUMENT` error is returned. */
5488
5602
  documentId?: string;
5489
5603
  /** Selector specifying which fields to include in a partial response. */
5490
5604
  fields?: string;
@@ -11343,7 +11457,7 @@ declare namespace gapi.client {
11343
11457
  alt?: string;
11344
11458
  /** JSONP */
11345
11459
  callback?: string;
11346
- /** Required. The ID to use for the Document, which becomes the final component of the Document.name. If the caller does not have permission to create the Document, regardless of whether or not it exists, a `PERMISSION_DENIED` error is returned. This field must be unique among all Documents with the same parent. Otherwise, an `ALREADY_EXISTS` error is returned. This field must conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) standard with a length limit of 63 characters. Otherwise, an `INVALID_ARGUMENT` error is returned. */
11460
+ /** Required. The ID to use for the Document, which becomes the final component of the Document.name. If the caller does not have permission to create the Document, regardless of whether or not it exists, a `PERMISSION_DENIED` error is returned. This field must be unique among all Documents with the same parent. Otherwise, an `ALREADY_EXISTS` error is returned. This field must conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) standard with a length limit of 128 characters. Otherwise, an `INVALID_ARGUMENT` error is returned. */
11347
11461
  documentId?: string;
11348
11462
  /** Selector specifying which fields to include in a partial response. */
11349
11463
  fields?: string;
@@ -11374,7 +11488,7 @@ declare namespace gapi.client {
11374
11488
  alt?: string;
11375
11489
  /** JSONP */
11376
11490
  callback?: string;
11377
- /** Required. The ID to use for the Document, which becomes the final component of the Document.name. If the caller does not have permission to create the Document, regardless of whether or not it exists, a `PERMISSION_DENIED` error is returned. This field must be unique among all Documents with the same parent. Otherwise, an `ALREADY_EXISTS` error is returned. This field must conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) standard with a length limit of 63 characters. Otherwise, an `INVALID_ARGUMENT` error is returned. */
11491
+ /** Required. The ID to use for the Document, which becomes the final component of the Document.name. If the caller does not have permission to create the Document, regardless of whether or not it exists, a `PERMISSION_DENIED` error is returned. This field must be unique among all Documents with the same parent. Otherwise, an `ALREADY_EXISTS` error is returned. This field must conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) standard with a length limit of 128 characters. Otherwise, an `INVALID_ARGUMENT` error is returned. */
11378
11492
  documentId?: string;
11379
11493
  /** Selector specifying which fields to include in a partial response. */
11380
11494
  fields?: string;
@@ -14938,7 +15052,7 @@ declare namespace gapi.client {
14938
15052
  alt?: string;
14939
15053
  /** JSONP */
14940
15054
  callback?: string;
14941
- /** Required. The evaluation resource name, such as `projects/{project}/locations/{location}/evaluations/{evaluation}`. If the caller does not have permission to list EvaluationResult under this evaluation, regardless of whether or not this evaluation set exists, a `PERMISSION_DENIED` error is returned. */
15055
+ /** Required. The evaluation resource name, such as `projects/{project}/locations/{location}/evaluations/{evaluation}`. If the caller does not have permission to list ListEvaluationResultsResponse.EvaluationResult under this evaluation, regardless of whether or not this evaluation set exists, a `PERMISSION_DENIED` error is returned. */
14942
15056
  evaluation: string;
14943
15057
  /** Selector specifying which fields to include in a partial response. */
14944
15058
  fields?: string;
@@ -14946,7 +15060,7 @@ declare namespace gapi.client {
14946
15060
  key?: string;
14947
15061
  /** OAuth 2.0 token for the current user. */
14948
15062
  oauth_token?: string;
14949
- /** Maximum number of EvaluationResult to return. If unspecified, defaults to 100. The maximum allowed value is 1000. Values above 1000 will be coerced to 1000. If this field is negative, an `INVALID_ARGUMENT` error is returned. */
15063
+ /** Maximum number of ListEvaluationResultsResponse.EvaluationResult to return. If unspecified, defaults to 100. The maximum allowed value is 1000. Values above 1000 will be coerced to 1000. If this field is negative, an `INVALID_ARGUMENT` error is returned. */
14950
15064
  pageSize?: number;
14951
15065
  /** A page token ListEvaluationResultsResponse.next_page_token, received from a previous EvaluationService.ListEvaluationResults call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to EvaluationService.ListEvaluationResults must match the call that provided the page token. Otherwise, an `INVALID_ARGUMENT` error is returned. */
14952
15066
  pageToken?: string;
@@ -16170,6 +16284,180 @@ declare namespace gapi.client {
16170
16284
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
16171
16285
  uploadType?: string;
16172
16286
  }): Request<GoogleCloudDiscoveryengineV1alphaCmekConfig>;
16287
+ /** Obtains the time series data of organic or dedicated crawl rate for monitoring. When dedicated crawl rate is not set, it will return vertex AI's organic crawl rate time series. Organic crawl means Google automatically crawl the internet at its own convenience. When dedicated crawl rate is set, it will return vertex AI's dedicated crawl rate time series. */
16288
+ obtainCrawlRate(request: {
16289
+ /** V1 error format. */
16290
+ '$.xgafv'?: string;
16291
+ /** OAuth access token. */
16292
+ access_token?: string;
16293
+ /** Data format for response. */
16294
+ alt?: string;
16295
+ /** JSONP */
16296
+ callback?: string;
16297
+ /** Selector specifying which fields to include in a partial response. */
16298
+ fields?: string;
16299
+ /** 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. */
16300
+ key?: string;
16301
+ /** Required. The location resource where crawl rate management will be performed. Format: `projects/{project}/locations/{location}` */
16302
+ location: string;
16303
+ /** OAuth 2.0 token for the current user. */
16304
+ oauth_token?: string;
16305
+ /** Returns response with indentations and line breaks. */
16306
+ prettyPrint?: boolean;
16307
+ /** 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. */
16308
+ quotaUser?: string;
16309
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
16310
+ upload_protocol?: string;
16311
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
16312
+ uploadType?: string;
16313
+ /** Request body */
16314
+ resource: GoogleCloudDiscoveryengineV1alphaObtainCrawlRateRequest;
16315
+ }): Request<GoogleCloudDiscoveryengineV1alphaObtainCrawlRateResponse>;
16316
+ obtainCrawlRate(
16317
+ request: {
16318
+ /** V1 error format. */
16319
+ '$.xgafv'?: string;
16320
+ /** OAuth access token. */
16321
+ access_token?: string;
16322
+ /** Data format for response. */
16323
+ alt?: string;
16324
+ /** JSONP */
16325
+ callback?: string;
16326
+ /** Selector specifying which fields to include in a partial response. */
16327
+ fields?: string;
16328
+ /** 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. */
16329
+ key?: string;
16330
+ /** Required. The location resource where crawl rate management will be performed. Format: `projects/{project}/locations/{location}` */
16331
+ location: string;
16332
+ /** OAuth 2.0 token for the current user. */
16333
+ oauth_token?: string;
16334
+ /** Returns response with indentations and line breaks. */
16335
+ prettyPrint?: boolean;
16336
+ /** 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. */
16337
+ quotaUser?: string;
16338
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
16339
+ upload_protocol?: string;
16340
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
16341
+ uploadType?: string;
16342
+ },
16343
+ body: GoogleCloudDiscoveryengineV1alphaObtainCrawlRateRequest
16344
+ ): Request<GoogleCloudDiscoveryengineV1alphaObtainCrawlRateResponse>;
16345
+ /** Removes the dedicated crawl rate for a craw_rate_scope. If the dedicated crawl rate was set, this will disable vertex AI's crawl bot from using the dedicated crawl rate for crawling. If the dedicated crawl rate was not set, this is a no-op. */
16346
+ removeDedicatedCrawlRate(request: {
16347
+ /** V1 error format. */
16348
+ '$.xgafv'?: string;
16349
+ /** OAuth access token. */
16350
+ access_token?: string;
16351
+ /** Data format for response. */
16352
+ alt?: string;
16353
+ /** JSONP */
16354
+ callback?: string;
16355
+ /** Selector specifying which fields to include in a partial response. */
16356
+ fields?: string;
16357
+ /** 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. */
16358
+ key?: string;
16359
+ /** Required. The location resource where crawl rate management will be performed. Format: `projects/{project}/locations/{location}` */
16360
+ location: string;
16361
+ /** OAuth 2.0 token for the current user. */
16362
+ oauth_token?: string;
16363
+ /** Returns response with indentations and line breaks. */
16364
+ prettyPrint?: boolean;
16365
+ /** 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. */
16366
+ quotaUser?: string;
16367
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
16368
+ upload_protocol?: string;
16369
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
16370
+ uploadType?: string;
16371
+ /** Request body */
16372
+ resource: GoogleCloudDiscoveryengineV1alphaRemoveDedicatedCrawlRateRequest;
16373
+ }): Request<GoogleLongrunningOperation>;
16374
+ removeDedicatedCrawlRate(
16375
+ request: {
16376
+ /** V1 error format. */
16377
+ '$.xgafv'?: string;
16378
+ /** OAuth access token. */
16379
+ access_token?: string;
16380
+ /** Data format for response. */
16381
+ alt?: string;
16382
+ /** JSONP */
16383
+ callback?: string;
16384
+ /** Selector specifying which fields to include in a partial response. */
16385
+ fields?: string;
16386
+ /** 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. */
16387
+ key?: string;
16388
+ /** Required. The location resource where crawl rate management will be performed. Format: `projects/{project}/locations/{location}` */
16389
+ location: string;
16390
+ /** OAuth 2.0 token for the current user. */
16391
+ oauth_token?: string;
16392
+ /** Returns response with indentations and line breaks. */
16393
+ prettyPrint?: boolean;
16394
+ /** 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. */
16395
+ quotaUser?: string;
16396
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
16397
+ upload_protocol?: string;
16398
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
16399
+ uploadType?: string;
16400
+ },
16401
+ body: GoogleCloudDiscoveryengineV1alphaRemoveDedicatedCrawlRateRequest
16402
+ ): Request<GoogleLongrunningOperation>;
16403
+ /** Sets the dedicated crawl rate for a crawl_rate_scope. If the dedicated crawl rate was not set, this will enable vertex AI's crawl bot to use the new dedicated crawl rate for crawling. If the dedicated crawl rate was set, vertex AI's crawl bot will try to update the rate to the new value. If the new value is too high, the crawl bot may crawl at a lower rate to avoid overloading the user's website. */
16404
+ setDedicatedCrawlRate(request: {
16405
+ /** V1 error format. */
16406
+ '$.xgafv'?: string;
16407
+ /** OAuth access token. */
16408
+ access_token?: string;
16409
+ /** Data format for response. */
16410
+ alt?: string;
16411
+ /** JSONP */
16412
+ callback?: string;
16413
+ /** Selector specifying which fields to include in a partial response. */
16414
+ fields?: string;
16415
+ /** 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. */
16416
+ key?: string;
16417
+ /** Required. The location resource where crawl rate management will be performed. Format: `projects/{project}/locations/{location}` */
16418
+ location: string;
16419
+ /** OAuth 2.0 token for the current user. */
16420
+ oauth_token?: string;
16421
+ /** Returns response with indentations and line breaks. */
16422
+ prettyPrint?: boolean;
16423
+ /** 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. */
16424
+ quotaUser?: string;
16425
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
16426
+ upload_protocol?: string;
16427
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
16428
+ uploadType?: string;
16429
+ /** Request body */
16430
+ resource: GoogleCloudDiscoveryengineV1alphaSetDedicatedCrawlRateRequest;
16431
+ }): Request<GoogleLongrunningOperation>;
16432
+ setDedicatedCrawlRate(
16433
+ request: {
16434
+ /** V1 error format. */
16435
+ '$.xgafv'?: string;
16436
+ /** OAuth access token. */
16437
+ access_token?: string;
16438
+ /** Data format for response. */
16439
+ alt?: string;
16440
+ /** JSONP */
16441
+ callback?: string;
16442
+ /** Selector specifying which fields to include in a partial response. */
16443
+ fields?: string;
16444
+ /** 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. */
16445
+ key?: string;
16446
+ /** Required. The location resource where crawl rate management will be performed. Format: `projects/{project}/locations/{location}` */
16447
+ location: string;
16448
+ /** OAuth 2.0 token for the current user. */
16449
+ oauth_token?: string;
16450
+ /** Returns response with indentations and line breaks. */
16451
+ prettyPrint?: boolean;
16452
+ /** 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. */
16453
+ quotaUser?: string;
16454
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
16455
+ upload_protocol?: string;
16456
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
16457
+ uploadType?: string;
16458
+ },
16459
+ body: GoogleCloudDiscoveryengineV1alphaSetDedicatedCrawlRateRequest
16460
+ ): Request<GoogleLongrunningOperation>;
16173
16461
  /** Creates a Collection and sets up the DataConnector for it. To stop a DataConnector after setup, use the CollectionService.DeleteCollection method. */
16174
16462
  setUpDataConnector(request: {
16175
16463
  /** V1 error format. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.discoveryengine-v1alpha",
3
- "version": "0.0.20241220",
3
+ "version": "0.0.20250114",
4
4
  "description": "TypeScript typings for Discovery Engine API v1alpha",
5
5
  "repository": {
6
6
  "type": "git",