@maxim_mazurok/gapi.client.discoveryengine-v1beta 0.0.20241020 → 0.0.20241030

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 +873 -31
  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=v1beta
12
- // Revision: 20241020
12
+ // Revision: 20241030
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -28,6 +28,64 @@ declare namespace gapi.client {
28
28
  ): void;
29
29
 
30
30
  namespace discoveryengine {
31
+ interface GoogleApiDistribution {
32
+ /** The number of values in each bucket of the histogram, as described in `bucket_options`. If the distribution does not have a histogram, then omit this field. If there is a histogram, then the sum of the values in `bucket_counts` must equal the value in the `count` field of the distribution. If present, `bucket_counts` should contain N values, where N is the number of buckets specified in `bucket_options`. If you supply fewer than N values, the remaining values are assumed to be 0. The order of the values in `bucket_counts` follows the bucket numbering schemes described for the three bucket types. The first value must be the count for the underflow bucket (number 0). The next N-2 values are the counts for the finite buckets (number 1 through N-2). The N'th value in `bucket_counts` is the count for the overflow bucket (number N-1). */
33
+ bucketCounts?: string[];
34
+ /** Defines the histogram bucket boundaries. If the distribution does not contain a histogram, then omit this field. */
35
+ bucketOptions?: GoogleApiDistributionBucketOptions;
36
+ /** The number of values in the population. Must be non-negative. This value must equal the sum of the values in `bucket_counts` if a histogram is provided. */
37
+ count?: string;
38
+ /** Must be in increasing order of `value` field. */
39
+ exemplars?: GoogleApiDistributionExemplar[];
40
+ /** The arithmetic mean of the values in the population. If `count` is zero then this field must be zero. */
41
+ mean?: number;
42
+ /** If specified, contains the range of the population values. The field must not be present if the `count` is zero. */
43
+ range?: GoogleApiDistributionRange;
44
+ /** The sum of squared deviations from the mean of the values in the population. For values x_i this is: Sum[i=1..n]((x_i - mean)^2) Knuth, "The Art of Computer Programming", Vol. 2, page 232, 3rd edition describes Welford's method for accumulating this sum in one pass. If `count` is zero then this field must be zero. */
45
+ sumOfSquaredDeviation?: number;
46
+ }
47
+ interface GoogleApiDistributionBucketOptions {
48
+ /** The explicit buckets. */
49
+ explicitBuckets?: GoogleApiDistributionBucketOptionsExplicit;
50
+ /** The exponential buckets. */
51
+ exponentialBuckets?: GoogleApiDistributionBucketOptionsExponential;
52
+ /** The linear bucket. */
53
+ linearBuckets?: GoogleApiDistributionBucketOptionsLinear;
54
+ }
55
+ interface GoogleApiDistributionBucketOptionsExplicit {
56
+ /** The values must be monotonically increasing. */
57
+ bounds?: number[];
58
+ }
59
+ interface GoogleApiDistributionBucketOptionsExponential {
60
+ /** Must be greater than 1. */
61
+ growthFactor?: number;
62
+ /** Must be greater than 0. */
63
+ numFiniteBuckets?: number;
64
+ /** Must be greater than 0. */
65
+ scale?: number;
66
+ }
67
+ interface GoogleApiDistributionBucketOptionsLinear {
68
+ /** Must be greater than 0. */
69
+ numFiniteBuckets?: number;
70
+ /** Lower bound of the first bucket. */
71
+ offset?: number;
72
+ /** Must be greater than 0. */
73
+ width?: number;
74
+ }
75
+ interface GoogleApiDistributionExemplar {
76
+ /** Contextual information about the example value. Examples are: Trace: type.googleapis.com/google.monitoring.v3.SpanContext Literal string: type.googleapis.com/google.protobuf.StringValue Labels dropped during aggregation: type.googleapis.com/google.monitoring.v3.DroppedLabels There may be only a single attachment of any given message type in a single exemplar, and this is enforced by the system. */
77
+ attachments?: Array<{[P in string]: any}>;
78
+ /** The observation (sampling) time of the above value. */
79
+ timestamp?: string;
80
+ /** Value of the exemplar point. This value determines to which bucket the exemplar belongs. */
81
+ value?: number;
82
+ }
83
+ interface GoogleApiDistributionRange {
84
+ /** The maximum of the population values. */
85
+ max?: number;
86
+ /** The minimum of the population values. */
87
+ min?: number;
88
+ }
31
89
  interface GoogleApiHttpBody {
32
90
  /** The HTTP Content-Type header value specifying the content type of the body. */
33
91
  contentType?: string;
@@ -36,6 +94,24 @@ declare namespace gapi.client {
36
94
  /** Application specific response metadata. Must be set in the first response for streaming APIs. */
37
95
  extensions?: Array<{[P in string]: any}>;
38
96
  }
97
+ interface GoogleApiMetric {
98
+ /** The set of label values that uniquely identify this metric. All labels listed in the `MetricDescriptor` must be assigned values. */
99
+ labels?: {[P in string]: string};
100
+ /** An existing metric type, see google.api.MetricDescriptor. For example, `custom.googleapis.com/invoice/paid/amount`. */
101
+ type?: string;
102
+ }
103
+ interface GoogleApiMonitoredResource {
104
+ /** Required. Values for all of the labels listed in the associated monitored resource descriptor. For example, Compute Engine VM instances use the labels `"project_id"`, `"instance_id"`, and `"zone"`. */
105
+ labels?: {[P in string]: string};
106
+ /** Required. The monitored resource type. This field must match the `type` field of a MonitoredResourceDescriptor object. For example, the type of a Compute Engine VM instance is `gce_instance`. Some descriptors include the service name in the type; for example, the type of a Datastream stream is `datastream.googleapis.com/Stream`. */
107
+ type?: string;
108
+ }
109
+ interface GoogleApiMonitoredResourceMetadata {
110
+ /** Output only. Values for predefined system metadata labels. System labels are a kind of metadata extracted by Google, including "machine_image", "vpc", "subnet_id", "security_group", "name", etc. System label values can be only strings, Boolean values, or a list of strings. For example: { "name": "my-test-instance", "security_group": ["a", "b", "c"], "spot_instance": false } */
111
+ systemLabels?: {[P in string]: any};
112
+ /** Output only. A map of user-defined metadata labels. */
113
+ userLabels?: {[P in string]: string};
114
+ }
39
115
  interface GoogleCloudDiscoveryengineLoggingErrorContext {
40
116
  /** The HTTP request which was processed when the error was triggered. */
41
117
  httpRequest?: GoogleCloudDiscoveryengineLoggingHttpRequestContext;
@@ -337,6 +413,10 @@ declare namespace gapi.client {
337
413
  /** Defines a set of synonyms. Can specify up to 100 synonyms. Must specify at least 2 synonyms. Otherwise an INVALID ARGUMENT error is thrown. */
338
414
  synonyms?: string[];
339
415
  }
416
+ interface GoogleCloudDiscoveryengineV1alphaCrawlRateTimeSeries {
417
+ /** The QPS of the crawl rate. */
418
+ qpsTimeSeries?: GoogleMonitoringV3TimeSeries;
419
+ }
340
420
  interface GoogleCloudDiscoveryengineV1alphaCreateDataStoreMetadata {
341
421
  /** Operation create time. */
342
422
  createTime?: string;
@@ -356,6 +436,12 @@ declare namespace gapi.client {
356
436
  /** Operation last update time. If the operation is done, this is also the finish time. */
357
437
  updateTime?: string;
358
438
  }
439
+ interface GoogleCloudDiscoveryengineV1alphaCreateSitemapMetadata {
440
+ /** Operation create time. */
441
+ createTime?: string;
442
+ /** Operation last update time. If the operation is done, this is also the finish time. */
443
+ updateTime?: string;
444
+ }
359
445
  interface GoogleCloudDiscoveryengineV1alphaCreateTargetSiteMetadata {
360
446
  /** Operation create time. */
361
447
  createTime?: string;
@@ -442,6 +528,12 @@ declare namespace gapi.client {
442
528
  /** If set true, the DataStore will not be available for serving search requests. */
443
529
  disabledForServing?: boolean;
444
530
  }
531
+ interface GoogleCloudDiscoveryengineV1alphaDedicatedCrawlRateTimeSeries {
532
+ /** Vertex AI's dedicated crawl rate time series of auto-refresh, which is the crawl rate of Google-CloudVertexBot when dedicate crawl is set, and the crawl rate is for best effort use cases like refreshing urls periodically. */
533
+ autoRefreshCrawlRate?: GoogleCloudDiscoveryengineV1alphaCrawlRateTimeSeries;
534
+ /** Vertex AI's dedicated crawl rate time series of user triggered crawl, which is the crawl rate of Google-CloudVertexBot when dedicate crawl is set, and user triggered crawl rate is for deterministic use cases like crawling urls or sitemaps specified by users. */
535
+ userTriggeredCrawlRate?: GoogleCloudDiscoveryengineV1alphaCrawlRateTimeSeries;
536
+ }
445
537
  interface GoogleCloudDiscoveryengineV1alphaDeleteDataStoreMetadata {
446
538
  /** Operation create time. */
447
539
  createTime?: string;
@@ -460,6 +552,12 @@ declare namespace gapi.client {
460
552
  /** Operation last update time. If the operation is done, this is also the finish time. */
461
553
  updateTime?: string;
462
554
  }
555
+ interface GoogleCloudDiscoveryengineV1alphaDeleteSitemapMetadata {
556
+ /** Operation create time. */
557
+ createTime?: string;
558
+ /** Operation last update time. If the operation is done, this is also the finish time. */
559
+ updateTime?: string;
560
+ }
463
561
  interface GoogleCloudDiscoveryengineV1alphaDeleteTargetSiteMetadata {
464
562
  /** Operation create time. */
465
563
  createTime?: string;
@@ -645,6 +743,14 @@ declare namespace gapi.client {
645
743
  /** Required. The full resource name of the SampleQuerySet used for the evaluation, in the format of `projects/{project}/locations/{location}/sampleQuerySets/{sampleQuerySet}`. */
646
744
  sampleQuerySet?: string;
647
745
  }
746
+ interface GoogleCloudDiscoveryengineV1alphaFetchSitemapsResponse {
747
+ /** List of Sitemaps fetched. */
748
+ sitemapsMetadata?: GoogleCloudDiscoveryengineV1alphaFetchSitemapsResponseSitemapMetadata[];
749
+ }
750
+ interface GoogleCloudDiscoveryengineV1alphaFetchSitemapsResponseSitemapMetadata {
751
+ /** The Sitemap. */
752
+ sitemap?: GoogleCloudDiscoveryengineV1alphaSitemap;
753
+ }
648
754
  interface GoogleCloudDiscoveryengineV1alphaFieldConfig {
649
755
  /** If this field is set, only the corresponding source will be indexed for this field. Otherwise, the values from different sources are merged. Assuming a page with `` in meta tag, and `` in page map: if this enum is set to METATAGS, we will only index ``; if this enum is not set, we will merge them and index ``. */
650
756
  advancedSiteSearchDataSources?: string[];
@@ -803,6 +909,22 @@ declare namespace gapi.client {
803
909
  /** Mode of Natural Language Query Understanding. If this field is unset, the behavior defaults to NaturalLanguageQueryUnderstandingConfig.Mode.DISABLED. */
804
910
  mode?: string;
805
911
  }
912
+ interface GoogleCloudDiscoveryengineV1alphaObtainCrawlRateResponse {
913
+ /** The historical dedicated crawl rate timeseries data, used for monitoring. */
914
+ dedicatedCrawlRateTimeSeries?: GoogleCloudDiscoveryengineV1alphaDedicatedCrawlRateTimeSeries;
915
+ /** Errors from service when handling the request. */
916
+ error?: GoogleRpcStatus;
917
+ /** The historical organic crawl rate timeseries data, used for monitoring. */
918
+ organicCrawlRateTimeSeries?: GoogleCloudDiscoveryengineV1alphaOrganicCrawlRateTimeSeries;
919
+ /** Output only. The state of the response. */
920
+ state?: string;
921
+ }
922
+ interface GoogleCloudDiscoveryengineV1alphaOrganicCrawlRateTimeSeries {
923
+ /** Google's organic crawl rate time series, which is the sum of all googlebots' crawl rate. Please refer to https://developers.google.com/search/docs/crawling-indexing/overview-google-crawlers for more details about googlebots. */
924
+ googleOrganicCrawlRate?: GoogleCloudDiscoveryengineV1alphaCrawlRateTimeSeries;
925
+ /** Vertex AI's organic crawl rate time series, which is the crawl rate of Google-CloudVertexBot when dedicate crawl is not set. Please refer to https://developers.google.com/search/docs/crawling-indexing/google-common-crawlers#google-cloudvertexbot for more details about Google-CloudVertexBot. */
926
+ vertexAiOrganicCrawlRate?: GoogleCloudDiscoveryengineV1alphaCrawlRateTimeSeries;
927
+ }
806
928
  interface GoogleCloudDiscoveryengineV1alphaProject {
807
929
  /** Output only. The timestamp when this project is created. */
808
930
  createTime?: string;
@@ -1229,6 +1351,14 @@ declare namespace gapi.client {
1229
1351
  updateTime?: string;
1230
1352
  }
1231
1353
  interface GoogleCloudDiscoveryengineV1alphaSetUriPatternDocumentDataResponse {}
1354
+ interface GoogleCloudDiscoveryengineV1alphaSitemap {
1355
+ /** Output only. The sitemap's creation time. */
1356
+ createTime?: string;
1357
+ /** Output only. The fully qualified resource name of the sitemap. `projects/*‍/locations/*‍/collections/*‍/dataStores/*‍/siteSearchEngine/sitemaps/*` The `sitemap_id` suffix is system-generated. */
1358
+ name?: string;
1359
+ /** Public URI for the sitemap, e.g. `www.example.com/sitemap.xml`. */
1360
+ uri?: string;
1361
+ }
1232
1362
  interface GoogleCloudDiscoveryengineV1alphaSiteVerificationInfo {
1233
1363
  /** Site verification state indicating the ownership and validity. */
1234
1364
  siteVerificationState?: string;
@@ -1332,6 +1462,78 @@ declare namespace gapi.client {
1332
1462
  /** TargetSites created. */
1333
1463
  targetSites?: GoogleCloudDiscoveryengineV1TargetSite[];
1334
1464
  }
1465
+ interface GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryRequest {
1466
+ /** Optional. Specification to boost suggestions matching the condition. */
1467
+ boostSpec?: GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryRequestBoostSpec;
1468
+ /** Indicates if tail suggestions should be returned if there are no suggestions that match the full query. Even if set to true, if there are suggestions that match the full query, those are returned and no tail suggestions are returned. */
1469
+ includeTailSuggestions?: boolean;
1470
+ /** Required. The typeahead input used to fetch suggestions. Maximum length is 128 characters. The query can not be empty for most of the suggestion types. If it is empty, an `INVALID_ARGUMENT` error is returned. The exception is when the suggestion_types contains only the type `RECENT_SEARCH`, the query can be an empty string. The is called "zero prefix" feature, which returns user's recently searched queries given the empty query. */
1471
+ query?: string;
1472
+ /** Specifies the autocomplete data model. This overrides any model specified in the Configuration > Autocomplete section of the Cloud console. Currently supported values: * `document` - Using suggestions generated from user-imported documents. * `search-history` - Using suggestions generated from the past history of SearchService.Search API calls. Do not use it when there is no traffic for Search API. * `user-event` - Using suggestions generated from user-imported search events. * `document-completable` - Using suggestions taken directly from user-imported document fields marked as completable. Default values: * `document` is the default model for regular dataStores. * `search-history` is the default model for site search dataStores. */
1473
+ queryModel?: string;
1474
+ /** Optional. Suggestion types to return. If empty or unspecified, query suggestions are returned. Only one suggestion type is supported at the moment. */
1475
+ suggestionTypes?: string[];
1476
+ /** Optional. Information about the end user. This should be the same identifier information as UserEvent.user_info and SearchRequest.user_info. */
1477
+ userInfo?: GoogleCloudDiscoveryengineV1betaUserInfo;
1478
+ /** A unique identifier for tracking visitors. For example, this could be implemented with an HTTP cookie, which should be able to uniquely identify a visitor on a single device. This unique identifier should not change if the visitor logs in or out of the website. This field should NOT have a fixed value such as `unknown_visitor`. This should be the same identifier as UserEvent.user_pseudo_id and SearchRequest.user_pseudo_id. The field must be a UTF-8 encoded string with a length limit of 128 */
1479
+ userPseudoId?: string;
1480
+ }
1481
+ interface GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryRequestBoostSpec {
1482
+ /** Condition boost specifications. If a suggestion matches multiple conditions in the specifictions, boost values from these specifications are all applied and combined in a non-linear way. Maximum number of specifications is 20. Note: Currently only support language condition boost. */
1483
+ conditionBoostSpecs?: GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryRequestBoostSpecConditionBoostSpec[];
1484
+ }
1485
+ interface GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryRequestBoostSpecConditionBoostSpec {
1486
+ /** Strength of the boost, which should be in [-1, 1]. Negative boost means demotion. Default is 0.0. Setting to 1.0 gives the suggestions a big promotion. However, it does not necessarily mean that the top result will be a boosted suggestion. Setting to -1.0 gives the suggestions a big demotion. However, other suggestions that are relevant might still be shown. Setting to 0.0 means no boost applied. The boosting condition is ignored. */
1487
+ boost?: number;
1488
+ /** An expression which specifies a boost condition. The syntax is the same as [filter expression syntax](https://cloud.google.com/generative-ai-app-builder/docs/filter-search-metadata#filter-expression-syntax). Currently, the only supported condition is a list of BCP-47 lang codes. Example: * To boost suggestions in languages `en` or `fr`: `(lang_code: ANY("en", "fr"))` */
1489
+ condition?: string;
1490
+ }
1491
+ interface GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryResponse {
1492
+ /** Results of the matched content suggestions. The result list is ordered and the first result is the top suggestion. */
1493
+ contentSuggestions?: GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryResponseContentSuggestion[];
1494
+ /** Results of the matched people suggestions. The result list is ordered and the first result is the top suggestion. */
1495
+ peopleSuggestions?: GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryResponsePersonSuggestion[];
1496
+ /** Results of the matched query suggestions. The result list is ordered and the first result is a top suggestion. */
1497
+ querySuggestions?: GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryResponseQuerySuggestion[];
1498
+ /** Results of the matched "recent search" suggestions. The result list is ordered and the first result is the top suggestion. */
1499
+ recentSearchSuggestions?: GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryResponseRecentSearchSuggestion[];
1500
+ /** True if the returned suggestions are all tail suggestions. For tail matching to be triggered, include_tail_suggestions in the request must be true and there must be no suggestions that match the full query. */
1501
+ tailMatchTriggered?: boolean;
1502
+ }
1503
+ interface GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryResponseContentSuggestion {
1504
+ /** The type of the content suggestion. */
1505
+ contentType?: string;
1506
+ /** The name of the dataStore that this suggestion belongs to. */
1507
+ dataStore?: string;
1508
+ /** The document data snippet in the suggestion. Only a subset of fields will be populated. */
1509
+ document?: GoogleCloudDiscoveryengineV1betaDocument;
1510
+ /** The suggestion for the query. */
1511
+ suggestion?: string;
1512
+ }
1513
+ interface GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryResponsePersonSuggestion {
1514
+ /** The name of the dataStore that this suggestion belongs to. */
1515
+ dataStore?: string;
1516
+ /** The document data snippet in the suggestion. Only a subset of fields is populated. */
1517
+ document?: GoogleCloudDiscoveryengineV1betaDocument;
1518
+ /** The type of the person. */
1519
+ personType?: string;
1520
+ /** The suggestion for the query. */
1521
+ suggestion?: string;
1522
+ }
1523
+ interface GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryResponseQuerySuggestion {
1524
+ /** The unique document field paths that serve as the source of this suggestion if it was generated from completable fields. This field is only populated for the document-completable model. */
1525
+ completableFieldPaths?: string[];
1526
+ /** The name of the dataStore that this suggestion belongs to. */
1527
+ dataStore?: string[];
1528
+ /** The suggestion for the query. */
1529
+ suggestion?: string;
1530
+ }
1531
+ interface GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryResponseRecentSearchSuggestion {
1532
+ /** The time when this recent rearch happened. */
1533
+ recentSearchTime?: string;
1534
+ /** The suggestion for the query. */
1535
+ suggestion?: string;
1536
+ }
1335
1537
  interface GoogleCloudDiscoveryengineV1betaAdvancedSiteSearchConfig {}
1336
1538
  interface GoogleCloudDiscoveryengineV1betaAlloyDbSource {
1337
1539
  /** Required. The AlloyDB cluster to copy the data from with a length limit of 256 characters. */
@@ -1388,6 +1590,8 @@ declare namespace gapi.client {
1388
1590
  answerGenerationSpec?: GoogleCloudDiscoveryengineV1betaAnswerQueryRequestAnswerGenerationSpec;
1389
1591
  /** Deprecated: This field is deprecated. Streaming Answer API will be supported. Asynchronous mode control. If enabled, the response will be returned with answer/session resource name without final answer. The API users need to do the polling to get the latest status of answer/session by calling ConversationalSearchService.GetAnswer or ConversationalSearchService.GetSession method. */
1390
1592
  asynchronousMode?: boolean;
1593
+ /** Optional. Grounding specification. */
1594
+ groundingSpec?: GoogleCloudDiscoveryengineV1betaAnswerQueryRequestGroundingSpec;
1391
1595
  /** Required. Current user query. */
1392
1596
  query?: GoogleCloudDiscoveryengineV1betaQuery;
1393
1597
  /** Query understanding specification. */
@@ -1431,6 +1635,12 @@ declare namespace gapi.client {
1431
1635
  /** Customized preamble. */
1432
1636
  preamble?: string;
1433
1637
  }
1638
+ interface GoogleCloudDiscoveryengineV1betaAnswerQueryRequestGroundingSpec {
1639
+ /** Optional. Specifies whether to enable the filtering based on grounding score and at what level. */
1640
+ filteringLevel?: string;
1641
+ /** Optional. Specifies whether to include grounding_supports in the answer. The default value is `false`. When this field is set to `true`, returned answer will have `grounding_score` and will contain GroundingSupports for each claim. */
1642
+ includeGroundingSupports?: boolean;
1643
+ }
1434
1644
  interface GoogleCloudDiscoveryengineV1betaAnswerQueryRequestQueryUnderstandingSpec {
1435
1645
  /** Query classification specification. */
1436
1646
  queryClassificationSpec?: GoogleCloudDiscoveryengineV1betaAnswerQueryRequestQueryUnderstandingSpecQueryClassificationSpec;
@@ -2025,6 +2235,12 @@ declare namespace gapi.client {
2025
2235
  /** Operation last update time. If the operation is done, this is also the finish time. */
2026
2236
  updateTime?: string;
2027
2237
  }
2238
+ interface GoogleCloudDiscoveryengineV1betaCreateSitemapMetadata {
2239
+ /** Operation create time. */
2240
+ createTime?: string;
2241
+ /** Operation last update time. If the operation is done, this is also the finish time. */
2242
+ updateTime?: string;
2243
+ }
2028
2244
  interface GoogleCloudDiscoveryengineV1betaCreateTargetSiteMetadata {
2029
2245
  /** Operation create time. */
2030
2246
  createTime?: string;
@@ -2133,6 +2349,12 @@ declare namespace gapi.client {
2133
2349
  /** Operation last update time. If the operation is done, this is also the finish time. */
2134
2350
  updateTime?: string;
2135
2351
  }
2352
+ interface GoogleCloudDiscoveryengineV1betaDeleteSitemapMetadata {
2353
+ /** Operation create time. */
2354
+ createTime?: string;
2355
+ /** Operation last update time. If the operation is done, this is also the finish time. */
2356
+ updateTime?: string;
2357
+ }
2136
2358
  interface GoogleCloudDiscoveryengineV1betaDeleteTargetSiteMetadata {
2137
2359
  /** Operation create time. */
2138
2360
  createTime?: string;
@@ -2343,6 +2565,14 @@ declare namespace gapi.client {
2343
2565
  /** The total number of items matching the request. This will always be populated in the response. */
2344
2566
  totalSize?: number;
2345
2567
  }
2568
+ interface GoogleCloudDiscoveryengineV1betaFetchSitemapsResponse {
2569
+ /** List of Sitemaps fetched. */
2570
+ sitemapsMetadata?: GoogleCloudDiscoveryengineV1betaFetchSitemapsResponseSitemapMetadata[];
2571
+ }
2572
+ interface GoogleCloudDiscoveryengineV1betaFetchSitemapsResponseSitemapMetadata {
2573
+ /** The Sitemap. */
2574
+ sitemap?: GoogleCloudDiscoveryengineV1betaSitemap;
2575
+ }
2346
2576
  interface GoogleCloudDiscoveryengineV1betaFhirStoreSource {
2347
2577
  /** Required. The full resource name of the FHIR store to import data from, in the format of `projects/{project}/locations/{location}/datasets/{dataset}/fhirStores/{fhir_store}`. */
2348
2578
  fhirStore?: string;
@@ -3467,6 +3697,14 @@ declare namespace gapi.client {
3467
3697
  /** The user query. */
3468
3698
  query?: GoogleCloudDiscoveryengineV1betaQuery;
3469
3699
  }
3700
+ interface GoogleCloudDiscoveryengineV1betaSitemap {
3701
+ /** Output only. The sitemap's creation time. */
3702
+ createTime?: string;
3703
+ /** Output only. The fully qualified resource name of the sitemap. `projects/*‍/locations/*‍/collections/*‍/dataStores/*‍/siteSearchEngine/sitemaps/*` The `sitemap_id` suffix is system-generated. */
3704
+ name?: string;
3705
+ /** Public URI for the sitemap, e.g. `www.example.com/sitemap.xml`. */
3706
+ uri?: string;
3707
+ }
3470
3708
  interface GoogleCloudDiscoveryengineV1betaSiteSearchEngine {
3471
3709
  /** The fully qualified resource name of the site search engine. Format: `projects/*‍/locations/*‍/dataStores/*‍/siteSearchEngine` */
3472
3710
  name?: string;
@@ -3620,7 +3858,7 @@ declare namespace gapi.client {
3620
3858
  engine?: string;
3621
3859
  /** Only required for UserEventService.ImportUserEvents method. Timestamp of when the user event happened. */
3622
3860
  eventTime?: string;
3623
- /** Required. User event type. Allowed values are: Generic values: * `search`: Search for Documents. * `view-item`: Detailed page view of a Document. * `view-item-list`: View of a panel or ordered list of Documents. * `view-home-page`: View of the home page. * `view-category-page`: View of a category page, e.g. Home > Men > Jeans Retail-related values: * `add-to-cart`: Add an item(s) to cart, e.g. in Retail online shopping * `purchase`: Purchase an item(s) Media-related values: * `media-play`: Start/resume watching a video, playing a song, etc. * `media-complete`: Finished or stopped midway through a video, song, etc. */
3861
+ /** Required. User event type. Allowed values are: Generic values: * `search`: Search for Documents. * `view-item`: Detailed page view of a Document. * `view-item-list`: View of a panel or ordered list of Documents. * `view-home-page`: View of the home page. * `view-category-page`: View of a category page, e.g. Home > Men > Jeans * `add-feedback`: Add a user feedback. Retail-related values: * `add-to-cart`: Add an item(s) to cart, e.g. in Retail online shopping * `purchase`: Purchase an item(s) Media-related values: * `media-play`: Start/resume watching a video, playing a song, etc. * `media-complete`: Finished or stopped midway through a video, song, etc. */
3624
3862
  eventType?: string;
3625
3863
  /** The filter syntax consists of an expression language for constructing a predicate from one or more fields of the documents being filtered. One example is for `search` events, the associated SearchRequest may contain a filter expression in SearchRequest.filter conforming to https://google.aip.dev/160#filtering. Similarly, for `view-item-list` events that are generated from a RecommendRequest, this field may be populated directly from RecommendRequest.filter conforming to https://google.aip.dev/160#filtering. The value must be a UTF-8 encoded string with a length limit of 1,000 characters. Otherwise, an `INVALID_ARGUMENT` error is returned. */
3626
3864
  filter?: string;
@@ -4193,6 +4431,48 @@ declare namespace gapi.client {
4193
4431
  /** The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`. */
4194
4432
  response?: {[P in string]: any};
4195
4433
  }
4434
+ interface GoogleMonitoringV3Point {
4435
+ /** The time interval to which the data point applies. For `GAUGE` metrics, the start time is optional, but if it is supplied, it must equal the end time. For `DELTA` metrics, the start and end time should specify a non-zero interval, with subsequent points specifying contiguous and non-overlapping intervals. For `CUMULATIVE` metrics, the start and end time should specify a non-zero interval, with subsequent points specifying the same start time and increasing end times, until an event resets the cumulative value to zero and sets a new start time for the following points. */
4436
+ interval?: GoogleMonitoringV3TimeInterval;
4437
+ /** The value of the data point. */
4438
+ value?: GoogleMonitoringV3TypedValue;
4439
+ }
4440
+ interface GoogleMonitoringV3TimeInterval {
4441
+ /** Required. The end of the time interval. */
4442
+ endTime?: string;
4443
+ /** Optional. The beginning of the time interval. The default value for the start time is the end time. The start time must not be later than the end time. */
4444
+ startTime?: string;
4445
+ }
4446
+ interface GoogleMonitoringV3TimeSeries {
4447
+ /** Input only. A detailed description of the time series that will be associated with the google.api.MetricDescriptor for the metric. Once set, this field cannot be changed through CreateTimeSeries. */
4448
+ description?: string;
4449
+ /** Output only. The associated monitored resource metadata. When reading a time series, this field will include metadata labels that are explicitly named in the reduction. When creating a time series, this field is ignored. */
4450
+ metadata?: GoogleApiMonitoredResourceMetadata;
4451
+ /** The associated metric. A fully-specified metric used to identify the time series. */
4452
+ metric?: GoogleApiMetric;
4453
+ /** The metric kind of the time series. When listing time series, this metric kind might be different from the metric kind of the associated metric if this time series is an alignment or reduction of other time series. When creating a time series, this field is optional. If present, it must be the same as the metric kind of the associated metric. If the associated metric's descriptor must be auto-created, then this field specifies the metric kind of the new descriptor and must be either `GAUGE` (the default) or `CUMULATIVE`. */
4454
+ metricKind?: string;
4455
+ /** The data points of this time series. When listing time series, points are returned in reverse time order. When creating a time series, this field must contain exactly one point and the point's type must be the same as the value type of the associated metric. If the associated metric's descriptor must be auto-created, then the value type of the descriptor is determined by the point's type, which must be `BOOL`, `INT64`, `DOUBLE`, or `DISTRIBUTION`. */
4456
+ points?: GoogleMonitoringV3Point[];
4457
+ /** The associated monitored resource. Custom metrics can use only certain monitored resource types in their time series data. For more information, see [Monitored resources for custom metrics](https://cloud.google.com/monitoring/custom-metrics/creating-metrics#custom-metric-resources). */
4458
+ resource?: GoogleApiMonitoredResource;
4459
+ /** The units in which the metric value is reported. It is only applicable if the `value_type` is `INT64`, `DOUBLE`, or `DISTRIBUTION`. The `unit` defines the representation of the stored metric values. This field can only be changed through CreateTimeSeries when it is empty. */
4460
+ unit?: string;
4461
+ /** The value type of the time series. When listing time series, this value type might be different from the value type of the associated metric if this time series is an alignment or reduction of other time series. When creating a time series, this field is optional. If present, it must be the same as the type of the data in the `points` field. */
4462
+ valueType?: string;
4463
+ }
4464
+ interface GoogleMonitoringV3TypedValue {
4465
+ /** A Boolean value: `true` or `false`. */
4466
+ boolValue?: boolean;
4467
+ /** A distribution value. */
4468
+ distributionValue?: GoogleApiDistribution;
4469
+ /** A 64-bit double-precision floating-point number. Its magnitude is approximately ±10±300 and it has 16 significant digits of precision. */
4470
+ doubleValue?: number;
4471
+ /** A 64-bit integer. Its range is approximately ±9.2x1018. */
4472
+ int64Value?: string;
4473
+ /** A variable-length string value. */
4474
+ stringValue?: string;
4475
+ }
4196
4476
  interface GoogleProtobufEmpty {}
4197
4477
  interface GoogleRpcStatus {
4198
4478
  /** The status code, which should be an enum value of google.rpc.Code. */
@@ -4761,6 +5041,66 @@ declare namespace gapi.client {
4761
5041
  documents: DocumentsResource;
4762
5042
  operations: OperationsResource;
4763
5043
  }
5044
+ interface CompletionConfigResource {
5045
+ /** Completes the user input with advanced keyword suggestions. */
5046
+ completeQuery(request: {
5047
+ /** V1 error format. */
5048
+ '$.xgafv'?: string;
5049
+ /** OAuth access token. */
5050
+ access_token?: string;
5051
+ /** Data format for response. */
5052
+ alt?: string;
5053
+ /** JSONP */
5054
+ callback?: string;
5055
+ /** Required. The completion_config of the parent dataStore or engine resource name for which the completion is performed, such as `projects/*‍/locations/global/collections/default_collection/dataStores/*‍/completionConfig` `projects/*‍/locations/global/collections/default_collection/engines/*‍/completionConfig`. */
5056
+ completionConfig: string;
5057
+ /** Selector specifying which fields to include in a partial response. */
5058
+ fields?: string;
5059
+ /** 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. */
5060
+ key?: string;
5061
+ /** OAuth 2.0 token for the current user. */
5062
+ oauth_token?: string;
5063
+ /** Returns response with indentations and line breaks. */
5064
+ prettyPrint?: boolean;
5065
+ /** 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. */
5066
+ quotaUser?: string;
5067
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
5068
+ upload_protocol?: string;
5069
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5070
+ uploadType?: string;
5071
+ /** Request body */
5072
+ resource: GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryRequest;
5073
+ }): Request<GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryResponse>;
5074
+ completeQuery(
5075
+ request: {
5076
+ /** V1 error format. */
5077
+ '$.xgafv'?: string;
5078
+ /** OAuth access token. */
5079
+ access_token?: string;
5080
+ /** Data format for response. */
5081
+ alt?: string;
5082
+ /** JSONP */
5083
+ callback?: string;
5084
+ /** Required. The completion_config of the parent dataStore or engine resource name for which the completion is performed, such as `projects/*‍/locations/global/collections/default_collection/dataStores/*‍/completionConfig` `projects/*‍/locations/global/collections/default_collection/engines/*‍/completionConfig`. */
5085
+ completionConfig: string;
5086
+ /** Selector specifying which fields to include in a partial response. */
5087
+ fields?: string;
5088
+ /** 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. */
5089
+ key?: string;
5090
+ /** OAuth 2.0 token for the current user. */
5091
+ oauth_token?: string;
5092
+ /** Returns response with indentations and line breaks. */
5093
+ prettyPrint?: boolean;
5094
+ /** 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. */
5095
+ quotaUser?: string;
5096
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
5097
+ upload_protocol?: string;
5098
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5099
+ uploadType?: string;
5100
+ },
5101
+ body: GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryRequest
5102
+ ): Request<GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryResponse>;
5103
+ }
4764
5104
  interface CompletionSuggestionsResource {
4765
5105
  /** Imports CompletionSuggestions for a DataStore. */
4766
5106
  import(request: {
@@ -6086,6 +6426,64 @@ declare namespace gapi.client {
6086
6426
  },
6087
6427
  body: GoogleCloudDiscoveryengineV1betaSearchRequest
6088
6428
  ): Request<GoogleCloudDiscoveryengineV1betaSearchResponse>;
6429
+ /** Performs a search. Similar to the SearchService.Search method, but a lite version that allows API key for authentication, where OAuth and IAM checks are not required. Only public website search is supported by this method. If data stores and engines not associated with public website search are specified, a `FAILED_PRECONDITION` error is returned. This method can be used for easy onboarding without having to implement an authentication backend. However, it is strongly recommended to use SearchService.Search instead with required OAuth and IAM checks to provide better data security. */
6430
+ searchLite(request: {
6431
+ /** V1 error format. */
6432
+ '$.xgafv'?: string;
6433
+ /** OAuth access token. */
6434
+ access_token?: string;
6435
+ /** Data format for response. */
6436
+ alt?: string;
6437
+ /** JSONP */
6438
+ callback?: string;
6439
+ /** Selector specifying which fields to include in a partial response. */
6440
+ fields?: string;
6441
+ /** 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. */
6442
+ key?: string;
6443
+ /** OAuth 2.0 token for the current user. */
6444
+ oauth_token?: string;
6445
+ /** Returns response with indentations and line breaks. */
6446
+ prettyPrint?: boolean;
6447
+ /** 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. */
6448
+ quotaUser?: string;
6449
+ /** Required. The resource name of the Search serving config, such as `projects/*‍/locations/global/collections/default_collection/engines/*‍/servingConfigs/default_serving_config`, or `projects/*‍/locations/global/collections/default_collection/dataStores/default_data_store/servingConfigs/default_serving_config`. This field is used to identify the serving configuration name, set of models used to make the search. */
6450
+ servingConfig: string;
6451
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
6452
+ upload_protocol?: string;
6453
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6454
+ uploadType?: string;
6455
+ /** Request body */
6456
+ resource: GoogleCloudDiscoveryengineV1betaSearchRequest;
6457
+ }): Request<GoogleCloudDiscoveryengineV1betaSearchResponse>;
6458
+ searchLite(
6459
+ request: {
6460
+ /** V1 error format. */
6461
+ '$.xgafv'?: string;
6462
+ /** OAuth access token. */
6463
+ access_token?: string;
6464
+ /** Data format for response. */
6465
+ alt?: string;
6466
+ /** JSONP */
6467
+ callback?: string;
6468
+ /** Selector specifying which fields to include in a partial response. */
6469
+ fields?: string;
6470
+ /** 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. */
6471
+ key?: string;
6472
+ /** OAuth 2.0 token for the current user. */
6473
+ oauth_token?: string;
6474
+ /** Returns response with indentations and line breaks. */
6475
+ prettyPrint?: boolean;
6476
+ /** 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. */
6477
+ quotaUser?: string;
6478
+ /** Required. The resource name of the Search serving config, such as `projects/*‍/locations/global/collections/default_collection/engines/*‍/servingConfigs/default_serving_config`, or `projects/*‍/locations/global/collections/default_collection/dataStores/default_data_store/servingConfigs/default_serving_config`. This field is used to identify the serving configuration name, set of models used to make the search. */
6479
+ servingConfig: string;
6480
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
6481
+ upload_protocol?: string;
6482
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6483
+ uploadType?: string;
6484
+ },
6485
+ body: GoogleCloudDiscoveryengineV1betaSearchRequest
6486
+ ): Request<GoogleCloudDiscoveryengineV1betaSearchResponse>;
6089
6487
  }
6090
6488
  interface AnswersResource {
6091
6489
  /** Gets a Answer. */
@@ -6390,9 +6788,9 @@ declare namespace gapi.client {
6390
6788
  uploadType?: string;
6391
6789
  }): Request<GoogleLongrunningListOperationsResponse>;
6392
6790
  }
6393
- interface OperationsResource {
6394
- /** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */
6395
- get(request?: {
6791
+ interface SitemapsResource {
6792
+ /** Creates a Sitemap. */
6793
+ create(request: {
6396
6794
  /** V1 error format. */
6397
6795
  '$.xgafv'?: string;
6398
6796
  /** OAuth access token. */
@@ -6405,10 +6803,10 @@ declare namespace gapi.client {
6405
6803
  fields?: string;
6406
6804
  /** 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. */
6407
6805
  key?: string;
6408
- /** The name of the operation resource. */
6409
- name: string;
6410
6806
  /** OAuth 2.0 token for the current user. */
6411
6807
  oauth_token?: string;
6808
+ /** Required. Parent resource name of the SiteSearchEngine, such as `projects/*‍/locations/*‍/collections/*‍/dataStores/*‍/siteSearchEngine`. */
6809
+ parent: string;
6412
6810
  /** Returns response with indentations and line breaks. */
6413
6811
  prettyPrint?: boolean;
6414
6812
  /** 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. */
@@ -6417,9 +6815,40 @@ declare namespace gapi.client {
6417
6815
  upload_protocol?: string;
6418
6816
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6419
6817
  uploadType?: string;
6818
+ /** Request body */
6819
+ resource: GoogleCloudDiscoveryengineV1betaSitemap;
6420
6820
  }): Request<GoogleLongrunningOperation>;
6421
- /** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
6422
- list(request?: {
6821
+ create(
6822
+ request: {
6823
+ /** V1 error format. */
6824
+ '$.xgafv'?: string;
6825
+ /** OAuth access token. */
6826
+ access_token?: string;
6827
+ /** Data format for response. */
6828
+ alt?: string;
6829
+ /** JSONP */
6830
+ callback?: string;
6831
+ /** Selector specifying which fields to include in a partial response. */
6832
+ fields?: string;
6833
+ /** 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. */
6834
+ key?: string;
6835
+ /** OAuth 2.0 token for the current user. */
6836
+ oauth_token?: string;
6837
+ /** Required. Parent resource name of the SiteSearchEngine, such as `projects/*‍/locations/*‍/collections/*‍/dataStores/*‍/siteSearchEngine`. */
6838
+ parent: string;
6839
+ /** Returns response with indentations and line breaks. */
6840
+ prettyPrint?: boolean;
6841
+ /** 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. */
6842
+ quotaUser?: string;
6843
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
6844
+ upload_protocol?: string;
6845
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6846
+ uploadType?: string;
6847
+ },
6848
+ body: GoogleCloudDiscoveryengineV1betaSitemap
6849
+ ): Request<GoogleLongrunningOperation>;
6850
+ /** Deletes a Sitemap. */
6851
+ delete(request?: {
6423
6852
  /** V1 error format. */
6424
6853
  '$.xgafv'?: string;
6425
6854
  /** OAuth access token. */
@@ -6430,18 +6859,12 @@ declare namespace gapi.client {
6430
6859
  callback?: string;
6431
6860
  /** Selector specifying which fields to include in a partial response. */
6432
6861
  fields?: string;
6433
- /** The standard list filter. */
6434
- filter?: string;
6435
6862
  /** 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. */
6436
6863
  key?: string;
6437
- /** The name of the operation's parent resource. */
6864
+ /** Required. Full resource name of Sitemap, such as `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}`. If the caller does not have permission to access the Sitemap, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. If the requested Sitemap does not exist, a NOT_FOUND error is returned. */
6438
6865
  name: string;
6439
6866
  /** OAuth 2.0 token for the current user. */
6440
6867
  oauth_token?: string;
6441
- /** The standard list page size. */
6442
- pageSize?: number;
6443
- /** The standard list page token. */
6444
- pageToken?: string;
6445
6868
  /** Returns response with indentations and line breaks. */
6446
6869
  prettyPrint?: boolean;
6447
6870
  /** 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. */
@@ -6450,11 +6873,11 @@ declare namespace gapi.client {
6450
6873
  upload_protocol?: string;
6451
6874
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6452
6875
  uploadType?: string;
6453
- }): Request<GoogleLongrunningListOperationsResponse>;
6876
+ }): Request<GoogleLongrunningOperation>;
6454
6877
  }
6455
- interface TargetSitesResource {
6456
- /** Creates TargetSite in a batch. */
6457
- batchCreate(request: {
6878
+ interface OperationsResource {
6879
+ /** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */
6880
+ get(request?: {
6458
6881
  /** V1 error format. */
6459
6882
  '$.xgafv'?: string;
6460
6883
  /** OAuth access token. */
@@ -6467,10 +6890,10 @@ declare namespace gapi.client {
6467
6890
  fields?: string;
6468
6891
  /** 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. */
6469
6892
  key?: string;
6893
+ /** The name of the operation resource. */
6894
+ name: string;
6470
6895
  /** OAuth 2.0 token for the current user. */
6471
6896
  oauth_token?: string;
6472
- /** Required. The parent resource shared by all TargetSites being created. `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine`. The parent field in the CreateBookRequest messages must either be empty or match this field. */
6473
- parent: string;
6474
6897
  /** Returns response with indentations and line breaks. */
6475
6898
  prettyPrint?: boolean;
6476
6899
  /** 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. */
@@ -6479,16 +6902,78 @@ declare namespace gapi.client {
6479
6902
  upload_protocol?: string;
6480
6903
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6481
6904
  uploadType?: string;
6482
- /** Request body */
6483
- resource: GoogleCloudDiscoveryengineV1betaBatchCreateTargetSitesRequest;
6484
6905
  }): Request<GoogleLongrunningOperation>;
6485
- batchCreate(
6486
- request: {
6487
- /** V1 error format. */
6488
- '$.xgafv'?: string;
6489
- /** OAuth access token. */
6490
- access_token?: string;
6491
- /** Data format for response. */
6906
+ /** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
6907
+ list(request?: {
6908
+ /** V1 error format. */
6909
+ '$.xgafv'?: string;
6910
+ /** OAuth access token. */
6911
+ access_token?: string;
6912
+ /** Data format for response. */
6913
+ alt?: string;
6914
+ /** JSONP */
6915
+ callback?: string;
6916
+ /** Selector specifying which fields to include in a partial response. */
6917
+ fields?: string;
6918
+ /** The standard list filter. */
6919
+ filter?: string;
6920
+ /** 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. */
6921
+ key?: string;
6922
+ /** The name of the operation's parent resource. */
6923
+ name: string;
6924
+ /** OAuth 2.0 token for the current user. */
6925
+ oauth_token?: string;
6926
+ /** The standard list page size. */
6927
+ pageSize?: number;
6928
+ /** The standard list page token. */
6929
+ pageToken?: string;
6930
+ /** Returns response with indentations and line breaks. */
6931
+ prettyPrint?: boolean;
6932
+ /** 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. */
6933
+ quotaUser?: string;
6934
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
6935
+ upload_protocol?: string;
6936
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6937
+ uploadType?: string;
6938
+ }): Request<GoogleLongrunningListOperationsResponse>;
6939
+ }
6940
+ interface TargetSitesResource {
6941
+ /** Creates TargetSite in a batch. */
6942
+ batchCreate(request: {
6943
+ /** V1 error format. */
6944
+ '$.xgafv'?: string;
6945
+ /** OAuth access token. */
6946
+ access_token?: string;
6947
+ /** Data format for response. */
6948
+ alt?: string;
6949
+ /** JSONP */
6950
+ callback?: string;
6951
+ /** Selector specifying which fields to include in a partial response. */
6952
+ fields?: string;
6953
+ /** 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. */
6954
+ key?: string;
6955
+ /** OAuth 2.0 token for the current user. */
6956
+ oauth_token?: string;
6957
+ /** Required. The parent resource shared by all TargetSites being created. `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine`. The parent field in the CreateBookRequest messages must either be empty or match this field. */
6958
+ parent: string;
6959
+ /** Returns response with indentations and line breaks. */
6960
+ prettyPrint?: boolean;
6961
+ /** 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. */
6962
+ quotaUser?: string;
6963
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
6964
+ upload_protocol?: string;
6965
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6966
+ uploadType?: string;
6967
+ /** Request body */
6968
+ resource: GoogleCloudDiscoveryengineV1betaBatchCreateTargetSitesRequest;
6969
+ }): Request<GoogleLongrunningOperation>;
6970
+ batchCreate(
6971
+ request: {
6972
+ /** V1 error format. */
6973
+ '$.xgafv'?: string;
6974
+ /** OAuth access token. */
6975
+ access_token?: string;
6976
+ /** Data format for response. */
6492
6977
  alt?: string;
6493
6978
  /** JSONP */
6494
6979
  callback?: string;
@@ -6979,6 +7464,7 @@ declare namespace gapi.client {
6979
7464
  body: GoogleCloudDiscoveryengineV1betaRecrawlUrisRequest
6980
7465
  ): Request<GoogleLongrunningOperation>;
6981
7466
  operations: OperationsResource;
7467
+ sitemaps: SitemapsResource;
6982
7468
  targetSites: TargetSitesResource;
6983
7469
  }
6984
7470
  interface SuggestionDenyListEntriesResource {
@@ -7661,6 +8147,7 @@ declare namespace gapi.client {
7661
8147
  body: GoogleCloudDiscoveryengineV1betaTrainCustomModelRequest
7662
8148
  ): Request<GoogleLongrunningOperation>;
7663
8149
  branches: BranchesResource;
8150
+ completionConfig: CompletionConfigResource;
7664
8151
  completionSuggestions: CompletionSuggestionsResource;
7665
8152
  controls: ControlsResource;
7666
8153
  conversations: ConversationsResource;
@@ -7674,6 +8161,66 @@ declare namespace gapi.client {
7674
8161
  suggestionDenyListEntries: SuggestionDenyListEntriesResource;
7675
8162
  userEvents: UserEventsResource;
7676
8163
  }
8164
+ interface CompletionConfigResource {
8165
+ /** Completes the user input with advanced keyword suggestions. */
8166
+ completeQuery(request: {
8167
+ /** V1 error format. */
8168
+ '$.xgafv'?: string;
8169
+ /** OAuth access token. */
8170
+ access_token?: string;
8171
+ /** Data format for response. */
8172
+ alt?: string;
8173
+ /** JSONP */
8174
+ callback?: string;
8175
+ /** Required. The completion_config of the parent dataStore or engine resource name for which the completion is performed, such as `projects/*‍/locations/global/collections/default_collection/dataStores/*‍/completionConfig` `projects/*‍/locations/global/collections/default_collection/engines/*‍/completionConfig`. */
8176
+ completionConfig: string;
8177
+ /** Selector specifying which fields to include in a partial response. */
8178
+ fields?: string;
8179
+ /** 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. */
8180
+ key?: string;
8181
+ /** OAuth 2.0 token for the current user. */
8182
+ oauth_token?: string;
8183
+ /** Returns response with indentations and line breaks. */
8184
+ prettyPrint?: boolean;
8185
+ /** 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. */
8186
+ quotaUser?: string;
8187
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
8188
+ upload_protocol?: string;
8189
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
8190
+ uploadType?: string;
8191
+ /** Request body */
8192
+ resource: GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryRequest;
8193
+ }): Request<GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryResponse>;
8194
+ completeQuery(
8195
+ request: {
8196
+ /** V1 error format. */
8197
+ '$.xgafv'?: string;
8198
+ /** OAuth access token. */
8199
+ access_token?: string;
8200
+ /** Data format for response. */
8201
+ alt?: string;
8202
+ /** JSONP */
8203
+ callback?: string;
8204
+ /** Required. The completion_config of the parent dataStore or engine resource name for which the completion is performed, such as `projects/*‍/locations/global/collections/default_collection/dataStores/*‍/completionConfig` `projects/*‍/locations/global/collections/default_collection/engines/*‍/completionConfig`. */
8205
+ completionConfig: string;
8206
+ /** Selector specifying which fields to include in a partial response. */
8207
+ fields?: string;
8208
+ /** 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. */
8209
+ key?: string;
8210
+ /** OAuth 2.0 token for the current user. */
8211
+ oauth_token?: string;
8212
+ /** Returns response with indentations and line breaks. */
8213
+ prettyPrint?: boolean;
8214
+ /** 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. */
8215
+ quotaUser?: string;
8216
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
8217
+ upload_protocol?: string;
8218
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
8219
+ uploadType?: string;
8220
+ },
8221
+ body: GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryRequest
8222
+ ): Request<GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryResponse>;
8223
+ }
7677
8224
  interface ControlsResource {
7678
8225
  /** Creates a Control. By default 1000 controls are allowed for a data store. A request can be submitted to adjust this limit. If the Control to create already exists, an ALREADY_EXISTS error is returned. */
7679
8226
  create(request: {
@@ -8513,6 +9060,64 @@ declare namespace gapi.client {
8513
9060
  },
8514
9061
  body: GoogleCloudDiscoveryengineV1betaSearchRequest
8515
9062
  ): Request<GoogleCloudDiscoveryengineV1betaSearchResponse>;
9063
+ /** Performs a search. Similar to the SearchService.Search method, but a lite version that allows API key for authentication, where OAuth and IAM checks are not required. Only public website search is supported by this method. If data stores and engines not associated with public website search are specified, a `FAILED_PRECONDITION` error is returned. This method can be used for easy onboarding without having to implement an authentication backend. However, it is strongly recommended to use SearchService.Search instead with required OAuth and IAM checks to provide better data security. */
9064
+ searchLite(request: {
9065
+ /** V1 error format. */
9066
+ '$.xgafv'?: string;
9067
+ /** OAuth access token. */
9068
+ access_token?: string;
9069
+ /** Data format for response. */
9070
+ alt?: string;
9071
+ /** JSONP */
9072
+ callback?: string;
9073
+ /** Selector specifying which fields to include in a partial response. */
9074
+ fields?: string;
9075
+ /** 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. */
9076
+ key?: string;
9077
+ /** OAuth 2.0 token for the current user. */
9078
+ oauth_token?: string;
9079
+ /** Returns response with indentations and line breaks. */
9080
+ prettyPrint?: boolean;
9081
+ /** 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. */
9082
+ quotaUser?: string;
9083
+ /** Required. The resource name of the Search serving config, such as `projects/*‍/locations/global/collections/default_collection/engines/*‍/servingConfigs/default_serving_config`, or `projects/*‍/locations/global/collections/default_collection/dataStores/default_data_store/servingConfigs/default_serving_config`. This field is used to identify the serving configuration name, set of models used to make the search. */
9084
+ servingConfig: string;
9085
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
9086
+ upload_protocol?: string;
9087
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
9088
+ uploadType?: string;
9089
+ /** Request body */
9090
+ resource: GoogleCloudDiscoveryengineV1betaSearchRequest;
9091
+ }): Request<GoogleCloudDiscoveryengineV1betaSearchResponse>;
9092
+ searchLite(
9093
+ request: {
9094
+ /** V1 error format. */
9095
+ '$.xgafv'?: string;
9096
+ /** OAuth access token. */
9097
+ access_token?: string;
9098
+ /** Data format for response. */
9099
+ alt?: string;
9100
+ /** JSONP */
9101
+ callback?: string;
9102
+ /** Selector specifying which fields to include in a partial response. */
9103
+ fields?: string;
9104
+ /** 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. */
9105
+ key?: string;
9106
+ /** OAuth 2.0 token for the current user. */
9107
+ oauth_token?: string;
9108
+ /** Returns response with indentations and line breaks. */
9109
+ prettyPrint?: boolean;
9110
+ /** 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. */
9111
+ quotaUser?: string;
9112
+ /** Required. The resource name of the Search serving config, such as `projects/*‍/locations/global/collections/default_collection/engines/*‍/servingConfigs/default_serving_config`, or `projects/*‍/locations/global/collections/default_collection/dataStores/default_data_store/servingConfigs/default_serving_config`. This field is used to identify the serving configuration name, set of models used to make the search. */
9113
+ servingConfig: string;
9114
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
9115
+ upload_protocol?: string;
9116
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
9117
+ uploadType?: string;
9118
+ },
9119
+ body: GoogleCloudDiscoveryengineV1betaSearchRequest
9120
+ ): Request<GoogleCloudDiscoveryengineV1betaSearchResponse>;
8516
9121
  }
8517
9122
  interface AnswersResource {
8518
9123
  /** Gets a Answer. */
@@ -9141,6 +9746,7 @@ declare namespace gapi.client {
9141
9746
  },
9142
9747
  body: GoogleCloudDiscoveryengineV1betaTuneEngineRequest
9143
9748
  ): Request<GoogleLongrunningOperation>;
9749
+ completionConfig: CompletionConfigResource;
9144
9750
  controls: ControlsResource;
9145
9751
  conversations: ConversationsResource;
9146
9752
  operations: OperationsResource;
@@ -9701,6 +10307,66 @@ declare namespace gapi.client {
9701
10307
  documents: DocumentsResource;
9702
10308
  operations: OperationsResource;
9703
10309
  }
10310
+ interface CompletionConfigResource {
10311
+ /** Completes the user input with advanced keyword suggestions. */
10312
+ completeQuery(request: {
10313
+ /** V1 error format. */
10314
+ '$.xgafv'?: string;
10315
+ /** OAuth access token. */
10316
+ access_token?: string;
10317
+ /** Data format for response. */
10318
+ alt?: string;
10319
+ /** JSONP */
10320
+ callback?: string;
10321
+ /** Required. The completion_config of the parent dataStore or engine resource name for which the completion is performed, such as `projects/*‍/locations/global/collections/default_collection/dataStores/*‍/completionConfig` `projects/*‍/locations/global/collections/default_collection/engines/*‍/completionConfig`. */
10322
+ completionConfig: string;
10323
+ /** Selector specifying which fields to include in a partial response. */
10324
+ fields?: string;
10325
+ /** 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. */
10326
+ key?: string;
10327
+ /** OAuth 2.0 token for the current user. */
10328
+ oauth_token?: string;
10329
+ /** Returns response with indentations and line breaks. */
10330
+ prettyPrint?: boolean;
10331
+ /** 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. */
10332
+ quotaUser?: string;
10333
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
10334
+ upload_protocol?: string;
10335
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
10336
+ uploadType?: string;
10337
+ /** Request body */
10338
+ resource: GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryRequest;
10339
+ }): Request<GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryResponse>;
10340
+ completeQuery(
10341
+ request: {
10342
+ /** V1 error format. */
10343
+ '$.xgafv'?: string;
10344
+ /** OAuth access token. */
10345
+ access_token?: string;
10346
+ /** Data format for response. */
10347
+ alt?: string;
10348
+ /** JSONP */
10349
+ callback?: string;
10350
+ /** Required. The completion_config of the parent dataStore or engine resource name for which the completion is performed, such as `projects/*‍/locations/global/collections/default_collection/dataStores/*‍/completionConfig` `projects/*‍/locations/global/collections/default_collection/engines/*‍/completionConfig`. */
10351
+ completionConfig: string;
10352
+ /** Selector specifying which fields to include in a partial response. */
10353
+ fields?: string;
10354
+ /** 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. */
10355
+ key?: string;
10356
+ /** OAuth 2.0 token for the current user. */
10357
+ oauth_token?: string;
10358
+ /** Returns response with indentations and line breaks. */
10359
+ prettyPrint?: boolean;
10360
+ /** 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. */
10361
+ quotaUser?: string;
10362
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
10363
+ upload_protocol?: string;
10364
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
10365
+ uploadType?: string;
10366
+ },
10367
+ body: GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryRequest
10368
+ ): Request<GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryResponse>;
10369
+ }
9704
10370
  interface CompletionSuggestionsResource {
9705
10371
  /** Imports CompletionSuggestions for a DataStore. */
9706
10372
  import(request: {
@@ -10934,6 +11600,64 @@ declare namespace gapi.client {
10934
11600
  },
10935
11601
  body: GoogleCloudDiscoveryengineV1betaSearchRequest
10936
11602
  ): Request<GoogleCloudDiscoveryengineV1betaSearchResponse>;
11603
+ /** Performs a search. Similar to the SearchService.Search method, but a lite version that allows API key for authentication, where OAuth and IAM checks are not required. Only public website search is supported by this method. If data stores and engines not associated with public website search are specified, a `FAILED_PRECONDITION` error is returned. This method can be used for easy onboarding without having to implement an authentication backend. However, it is strongly recommended to use SearchService.Search instead with required OAuth and IAM checks to provide better data security. */
11604
+ searchLite(request: {
11605
+ /** V1 error format. */
11606
+ '$.xgafv'?: string;
11607
+ /** OAuth access token. */
11608
+ access_token?: string;
11609
+ /** Data format for response. */
11610
+ alt?: string;
11611
+ /** JSONP */
11612
+ callback?: string;
11613
+ /** Selector specifying which fields to include in a partial response. */
11614
+ fields?: string;
11615
+ /** 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. */
11616
+ key?: string;
11617
+ /** OAuth 2.0 token for the current user. */
11618
+ oauth_token?: string;
11619
+ /** Returns response with indentations and line breaks. */
11620
+ prettyPrint?: boolean;
11621
+ /** 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. */
11622
+ quotaUser?: string;
11623
+ /** Required. The resource name of the Search serving config, such as `projects/*‍/locations/global/collections/default_collection/engines/*‍/servingConfigs/default_serving_config`, or `projects/*‍/locations/global/collections/default_collection/dataStores/default_data_store/servingConfigs/default_serving_config`. This field is used to identify the serving configuration name, set of models used to make the search. */
11624
+ servingConfig: string;
11625
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
11626
+ upload_protocol?: string;
11627
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
11628
+ uploadType?: string;
11629
+ /** Request body */
11630
+ resource: GoogleCloudDiscoveryengineV1betaSearchRequest;
11631
+ }): Request<GoogleCloudDiscoveryengineV1betaSearchResponse>;
11632
+ searchLite(
11633
+ request: {
11634
+ /** V1 error format. */
11635
+ '$.xgafv'?: string;
11636
+ /** OAuth access token. */
11637
+ access_token?: string;
11638
+ /** Data format for response. */
11639
+ alt?: string;
11640
+ /** JSONP */
11641
+ callback?: string;
11642
+ /** Selector specifying which fields to include in a partial response. */
11643
+ fields?: string;
11644
+ /** 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. */
11645
+ key?: string;
11646
+ /** OAuth 2.0 token for the current user. */
11647
+ oauth_token?: string;
11648
+ /** Returns response with indentations and line breaks. */
11649
+ prettyPrint?: boolean;
11650
+ /** 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. */
11651
+ quotaUser?: string;
11652
+ /** Required. The resource name of the Search serving config, such as `projects/*‍/locations/global/collections/default_collection/engines/*‍/servingConfigs/default_serving_config`, or `projects/*‍/locations/global/collections/default_collection/dataStores/default_data_store/servingConfigs/default_serving_config`. This field is used to identify the serving configuration name, set of models used to make the search. */
11653
+ servingConfig: string;
11654
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
11655
+ upload_protocol?: string;
11656
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
11657
+ uploadType?: string;
11658
+ },
11659
+ body: GoogleCloudDiscoveryengineV1betaSearchRequest
11660
+ ): Request<GoogleCloudDiscoveryengineV1betaSearchResponse>;
10937
11661
  }
10938
11662
  interface AnswersResource {
10939
11663
  /** Gets a Answer. */
@@ -11176,6 +11900,122 @@ declare namespace gapi.client {
11176
11900
  ): Request<GoogleCloudDiscoveryengineV1betaSession>;
11177
11901
  answers: AnswersResource;
11178
11902
  }
11903
+ interface SitemapsResource {
11904
+ /** Creates a Sitemap. */
11905
+ create(request: {
11906
+ /** V1 error format. */
11907
+ '$.xgafv'?: string;
11908
+ /** OAuth access token. */
11909
+ access_token?: string;
11910
+ /** Data format for response. */
11911
+ alt?: string;
11912
+ /** JSONP */
11913
+ callback?: string;
11914
+ /** Selector specifying which fields to include in a partial response. */
11915
+ fields?: string;
11916
+ /** 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. */
11917
+ key?: string;
11918
+ /** OAuth 2.0 token for the current user. */
11919
+ oauth_token?: string;
11920
+ /** Required. Parent resource name of the SiteSearchEngine, such as `projects/*‍/locations/*‍/collections/*‍/dataStores/*‍/siteSearchEngine`. */
11921
+ parent: string;
11922
+ /** Returns response with indentations and line breaks. */
11923
+ prettyPrint?: boolean;
11924
+ /** 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. */
11925
+ quotaUser?: string;
11926
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
11927
+ upload_protocol?: string;
11928
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
11929
+ uploadType?: string;
11930
+ /** Request body */
11931
+ resource: GoogleCloudDiscoveryengineV1betaSitemap;
11932
+ }): Request<GoogleLongrunningOperation>;
11933
+ create(
11934
+ request: {
11935
+ /** V1 error format. */
11936
+ '$.xgafv'?: string;
11937
+ /** OAuth access token. */
11938
+ access_token?: string;
11939
+ /** Data format for response. */
11940
+ alt?: string;
11941
+ /** JSONP */
11942
+ callback?: string;
11943
+ /** Selector specifying which fields to include in a partial response. */
11944
+ fields?: string;
11945
+ /** 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. */
11946
+ key?: string;
11947
+ /** OAuth 2.0 token for the current user. */
11948
+ oauth_token?: string;
11949
+ /** Required. Parent resource name of the SiteSearchEngine, such as `projects/*‍/locations/*‍/collections/*‍/dataStores/*‍/siteSearchEngine`. */
11950
+ parent: string;
11951
+ /** Returns response with indentations and line breaks. */
11952
+ prettyPrint?: boolean;
11953
+ /** 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. */
11954
+ quotaUser?: string;
11955
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
11956
+ upload_protocol?: string;
11957
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
11958
+ uploadType?: string;
11959
+ },
11960
+ body: GoogleCloudDiscoveryengineV1betaSitemap
11961
+ ): Request<GoogleLongrunningOperation>;
11962
+ /** Deletes a Sitemap. */
11963
+ delete(request?: {
11964
+ /** V1 error format. */
11965
+ '$.xgafv'?: string;
11966
+ /** OAuth access token. */
11967
+ access_token?: string;
11968
+ /** Data format for response. */
11969
+ alt?: string;
11970
+ /** JSONP */
11971
+ callback?: string;
11972
+ /** Selector specifying which fields to include in a partial response. */
11973
+ fields?: string;
11974
+ /** 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. */
11975
+ key?: string;
11976
+ /** Required. Full resource name of Sitemap, such as `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}`. If the caller does not have permission to access the Sitemap, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. If the requested Sitemap does not exist, a NOT_FOUND error is returned. */
11977
+ name: string;
11978
+ /** OAuth 2.0 token for the current user. */
11979
+ oauth_token?: string;
11980
+ /** Returns response with indentations and line breaks. */
11981
+ prettyPrint?: boolean;
11982
+ /** 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. */
11983
+ quotaUser?: string;
11984
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
11985
+ upload_protocol?: string;
11986
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
11987
+ uploadType?: string;
11988
+ }): Request<GoogleLongrunningOperation>;
11989
+ /** Fetch Sitemaps in a DataStore. */
11990
+ fetch(request?: {
11991
+ /** V1 error format. */
11992
+ '$.xgafv'?: string;
11993
+ /** OAuth access token. */
11994
+ access_token?: string;
11995
+ /** Data format for response. */
11996
+ alt?: string;
11997
+ /** JSONP */
11998
+ callback?: string;
11999
+ /** Selector specifying which fields to include in a partial response. */
12000
+ fields?: string;
12001
+ /** 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. */
12002
+ key?: string;
12003
+ /** The Sitemap uris. */
12004
+ 'matcher.urisMatcher.uris'?: string | string[];
12005
+ /** OAuth 2.0 token for the current user. */
12006
+ oauth_token?: string;
12007
+ /** Required. Parent resource name of the SiteSearchEngine, such as `projects/*‍/locations/*‍/collections/*‍/dataStores/*‍/siteSearchEngine`. */
12008
+ parent: string;
12009
+ /** Returns response with indentations and line breaks. */
12010
+ prettyPrint?: boolean;
12011
+ /** 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. */
12012
+ quotaUser?: string;
12013
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
12014
+ upload_protocol?: string;
12015
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
12016
+ uploadType?: string;
12017
+ }): Request<GoogleCloudDiscoveryengineV1betaFetchSitemapsResponse>;
12018
+ }
11179
12019
  interface TargetSitesResource {
11180
12020
  /** Creates TargetSite in a batch. */
11181
12021
  batchCreate(request: {
@@ -11612,6 +12452,7 @@ declare namespace gapi.client {
11612
12452
  },
11613
12453
  body: GoogleCloudDiscoveryengineV1betaRecrawlUrisRequest
11614
12454
  ): Request<GoogleLongrunningOperation>;
12455
+ sitemaps: SitemapsResource;
11615
12456
  targetSites: TargetSitesResource;
11616
12457
  }
11617
12458
  interface SuggestionDenyListEntriesResource {
@@ -12236,6 +13077,7 @@ declare namespace gapi.client {
12236
13077
  body: GoogleCloudDiscoveryengineV1betaDataStore
12237
13078
  ): Request<GoogleCloudDiscoveryengineV1betaDataStore>;
12238
13079
  branches: BranchesResource;
13080
+ completionConfig: CompletionConfigResource;
12239
13081
  completionSuggestions: CompletionSuggestionsResource;
12240
13082
  controls: ControlsResource;
12241
13083
  conversations: ConversationsResource;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.discoveryengine-v1beta",
3
- "version": "0.0.20241020",
3
+ "version": "0.0.20241030",
4
4
  "description": "TypeScript typings for Discovery Engine API v1beta",
5
5
  "repository": {
6
6
  "type": "git",