@maxim_mazurok/gapi.client.discoveryengine-v1beta 0.0.20241025 → 0.0.20241031

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 +303 -8
  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: 20241025
12
+ // Revision: 20241031
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -436,6 +436,12 @@ declare namespace gapi.client {
436
436
  /** Operation last update time. If the operation is done, this is also the finish time. */
437
437
  updateTime?: string;
438
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
+ }
439
445
  interface GoogleCloudDiscoveryengineV1alphaCreateTargetSiteMetadata {
440
446
  /** Operation create time. */
441
447
  createTime?: string;
@@ -546,6 +552,12 @@ declare namespace gapi.client {
546
552
  /** Operation last update time. If the operation is done, this is also the finish time. */
547
553
  updateTime?: string;
548
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
+ }
549
561
  interface GoogleCloudDiscoveryengineV1alphaDeleteTargetSiteMetadata {
550
562
  /** Operation create time. */
551
563
  createTime?: string;
@@ -731,6 +743,14 @@ declare namespace gapi.client {
731
743
  /** Required. The full resource name of the SampleQuerySet used for the evaluation, in the format of `projects/{project}/locations/{location}/sampleQuerySets/{sampleQuerySet}`. */
732
744
  sampleQuerySet?: string;
733
745
  }
746
+ interface GoogleCloudDiscoveryengineV1alphaFetchSitemapsResponse {
747
+ /** List of Sitemaps fetched. */
748
+ sitemapsMetadata?: GoogleCloudDiscoveryengineV1alphaFetchSitemapsResponseSitemapMetadata[];
749
+ }
750
+ interface GoogleCloudDiscoveryengineV1alphaFetchSitemapsResponseSitemapMetadata {
751
+ /** The Sitemap. */
752
+ sitemap?: GoogleCloudDiscoveryengineV1alphaSitemap;
753
+ }
734
754
  interface GoogleCloudDiscoveryengineV1alphaFieldConfig {
735
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 ``. */
736
756
  advancedSiteSearchDataSources?: string[];
@@ -1331,6 +1351,14 @@ declare namespace gapi.client {
1331
1351
  updateTime?: string;
1332
1352
  }
1333
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
+ }
1334
1362
  interface GoogleCloudDiscoveryengineV1alphaSiteVerificationInfo {
1335
1363
  /** Site verification state indicating the ownership and validity. */
1336
1364
  siteVerificationState?: string;
@@ -1940,12 +1968,18 @@ declare namespace gapi.client {
1940
1968
  }
1941
1969
  interface GoogleCloudDiscoveryengineV1betaCheckGroundingResponse {
1942
1970
  /** List of facts cited across all claims in the answer candidate. These are derived from the facts supplied in the request. */
1943
- citedChunks?: GoogleCloudDiscoveryengineV1betaCheckGroundingResponseFactChunk[];
1971
+ citedChunks?: GoogleCloudDiscoveryengineV1betaFactChunk[];
1972
+ /** List of facts cited across all claims in the answer candidate. These are derived from the facts supplied in the request. */
1973
+ citedFacts?: GoogleCloudDiscoveryengineV1betaCheckGroundingResponseCheckGroundingFactChunk[];
1944
1974
  /** Claim texts and citation info across all claims in the answer candidate. */
1945
1975
  claims?: GoogleCloudDiscoveryengineV1betaCheckGroundingResponseClaim[];
1946
1976
  /** The support score for the input answer candidate. Higher the score, higher is the fraction of claims that are supported by the provided facts. This is always set when a response is returned. */
1947
1977
  supportScore?: number;
1948
1978
  }
1979
+ interface GoogleCloudDiscoveryengineV1betaCheckGroundingResponseCheckGroundingFactChunk {
1980
+ /** Text content of the fact chunk. Can be at most 10K characters long. */
1981
+ chunkText?: string;
1982
+ }
1949
1983
  interface GoogleCloudDiscoveryengineV1betaCheckGroundingResponseClaim {
1950
1984
  /** A list of indices (into 'cited_chunks') specifying the citations associated with the claim. For instance [1,3,4] means that cited_chunks[1], cited_chunks[3], cited_chunks[4] are the facts cited supporting for the claim. A citation to a fact indicates that the claim is supported by the fact. */
1951
1985
  citationIndices?: number[];
@@ -1958,12 +1992,6 @@ declare namespace gapi.client {
1958
1992
  /** Position indicating the start of the claim in the answer candidate, measured in bytes. */
1959
1993
  startPos?: number;
1960
1994
  }
1961
- interface GoogleCloudDiscoveryengineV1betaCheckGroundingResponseFactChunk {
1962
- /** Text content of the fact chunk. Can be at most 10K characters long. */
1963
- chunkText?: string;
1964
- /** Source from which this fact chunk was retrieved. For a fact chunk retrieved from inline facts, this field will contain the index of the specific fact from which this chunk was retrieved. */
1965
- source?: string;
1966
- }
1967
1995
  interface GoogleCloudDiscoveryengineV1betaCheckGroundingSpec {
1968
1996
  /** The threshold (in [0,1]) used for determining whether a fact must be cited for a claim in the answer candidate. Choosing a higher threshold will lead to fewer but very strong citations, while choosing a lower threshold may lead to more but somewhat weaker citations. If unset, the threshold will default to 0.6. */
1969
1997
  citationThreshold?: number;
@@ -2207,6 +2235,12 @@ declare namespace gapi.client {
2207
2235
  /** Operation last update time. If the operation is done, this is also the finish time. */
2208
2236
  updateTime?: string;
2209
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
+ }
2210
2244
  interface GoogleCloudDiscoveryengineV1betaCreateTargetSiteMetadata {
2211
2245
  /** Operation create time. */
2212
2246
  createTime?: string;
@@ -2315,6 +2349,12 @@ declare namespace gapi.client {
2315
2349
  /** Operation last update time. If the operation is done, this is also the finish time. */
2316
2350
  updateTime?: string;
2317
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
+ }
2318
2358
  interface GoogleCloudDiscoveryengineV1betaDeleteTargetSiteMetadata {
2319
2359
  /** Operation create time. */
2320
2360
  createTime?: string;
@@ -2517,6 +2557,34 @@ declare namespace gapi.client {
2517
2557
  /** Required. The full resource name of the SampleQuerySet used for the evaluation, in the format of `projects/{project}/locations/{location}/sampleQuerySets/{sampleQuerySet}`. */
2518
2558
  sampleQuerySet?: string;
2519
2559
  }
2560
+ interface GoogleCloudDiscoveryengineV1betaFactChunk {
2561
+ /** Text content of the fact chunk. Can be at most 10K characters long. */
2562
+ chunkText?: string;
2563
+ /** The index of this chunk. Currently, only used for the streaming mode. */
2564
+ index?: number;
2565
+ /** Source from which this fact chunk was retrieved. If it was retrieved from the GroundingFacts provided in the request then this field will contain the index of the specific fact from which this chunk was retrieved. */
2566
+ source?: string;
2567
+ /** More fine-grained information for the source reference. */
2568
+ sourceMetadata?: {[P in string]: string};
2569
+ }
2570
+ interface GoogleCloudDiscoveryengineV1betaFeedback {
2571
+ /** Optional. The additional user comment of the feedback if user gives a thumb down. */
2572
+ comment?: string;
2573
+ /** The related conversation information when user gives feedback. */
2574
+ conversationInfo?: GoogleCloudDiscoveryengineV1betaFeedbackConversationInfo;
2575
+ /** Required. Indicate whether the user gives a positive or negative feedback. If the user gives a negative feedback, there might be more feedback details. */
2576
+ feedbackType?: string;
2577
+ /** The version of the LLM model that was used to generate the response. */
2578
+ llmModelVersion?: string;
2579
+ /** Optional. The reason if user gives a thumb down. */
2580
+ reasons?: string[];
2581
+ }
2582
+ interface GoogleCloudDiscoveryengineV1betaFeedbackConversationInfo {
2583
+ /** The index of the user input within the conversation messages. */
2584
+ questionIndex?: number;
2585
+ /** Name of the newly generated or continued session. */
2586
+ session?: string;
2587
+ }
2520
2588
  interface GoogleCloudDiscoveryengineV1betaFetchDomainVerificationStatusResponse {
2521
2589
  /** A token that can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
2522
2590
  nextPageToken?: string;
@@ -2525,6 +2593,14 @@ declare namespace gapi.client {
2525
2593
  /** The total number of items matching the request. This will always be populated in the response. */
2526
2594
  totalSize?: number;
2527
2595
  }
2596
+ interface GoogleCloudDiscoveryengineV1betaFetchSitemapsResponse {
2597
+ /** List of Sitemaps fetched. */
2598
+ sitemapsMetadata?: GoogleCloudDiscoveryengineV1betaFetchSitemapsResponseSitemapMetadata[];
2599
+ }
2600
+ interface GoogleCloudDiscoveryengineV1betaFetchSitemapsResponseSitemapMetadata {
2601
+ /** The Sitemap. */
2602
+ sitemap?: GoogleCloudDiscoveryengineV1betaSitemap;
2603
+ }
2528
2604
  interface GoogleCloudDiscoveryengineV1betaFhirStoreSource {
2529
2605
  /** 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}`. */
2530
2606
  fhirStore?: string;
@@ -2864,6 +2940,8 @@ declare namespace gapi.client {
2864
2940
  interface GoogleCloudDiscoveryengineV1betaPanelInfo {
2865
2941
  /** The display name of the panel. */
2866
2942
  displayName?: string;
2943
+ /** Optional. The document IDs associated with this panel. */
2944
+ documents?: GoogleCloudDiscoveryengineV1betaDocumentInfo[];
2867
2945
  /** Required. The panel ID. */
2868
2946
  panelId?: string;
2869
2947
  /** The ordered position of the panel, if shown to the user with other panels. If set, then total_panels must also be set. */
@@ -3649,6 +3727,14 @@ declare namespace gapi.client {
3649
3727
  /** The user query. */
3650
3728
  query?: GoogleCloudDiscoveryengineV1betaQuery;
3651
3729
  }
3730
+ interface GoogleCloudDiscoveryengineV1betaSitemap {
3731
+ /** Output only. The sitemap's creation time. */
3732
+ createTime?: string;
3733
+ /** Output only. The fully qualified resource name of the sitemap. `projects/*‍/locations/*‍/collections/*‍/dataStores/*‍/siteSearchEngine/sitemaps/*` The `sitemap_id` suffix is system-generated. */
3734
+ name?: string;
3735
+ /** Public URI for the sitemap, e.g. `www.example.com/sitemap.xml`. */
3736
+ uri?: string;
3737
+ }
3652
3738
  interface GoogleCloudDiscoveryengineV1betaSiteSearchEngine {
3653
3739
  /** The fully qualified resource name of the site search engine. Format: `projects/*‍/locations/*‍/dataStores/*‍/siteSearchEngine` */
3654
3740
  name?: string;
@@ -3804,6 +3890,8 @@ declare namespace gapi.client {
3804
3890
  eventTime?: string;
3805
3891
  /** 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. */
3806
3892
  eventType?: string;
3893
+ /** Optional. This field is optional except for the `add-feedback` event types. */
3894
+ feedback?: GoogleCloudDiscoveryengineV1betaFeedback;
3807
3895
  /** 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. */
3808
3896
  filter?: string;
3809
3897
  /** Media-specific info. */
@@ -3812,6 +3900,8 @@ declare namespace gapi.client {
3812
3900
  pageInfo?: GoogleCloudDiscoveryengineV1betaPageInfo;
3813
3901
  /** Panel metadata associated with this user event. */
3814
3902
  panel?: GoogleCloudDiscoveryengineV1betaPanelInfo;
3903
+ /** Optional. List of panels associated with this event. Used for page-level impression data. */
3904
+ panels?: GoogleCloudDiscoveryengineV1betaPanelInfo[];
3815
3905
  /** The promotion IDs if this is an event associated with promotions. Currently, this field is restricted to at most one ID. */
3816
3906
  promotionIds?: string[];
3817
3907
  /** SearchService.Search details related to the event. This field should be set for `search` event. */
@@ -6732,6 +6822,93 @@ declare namespace gapi.client {
6732
6822
  uploadType?: string;
6733
6823
  }): Request<GoogleLongrunningListOperationsResponse>;
6734
6824
  }
6825
+ interface SitemapsResource {
6826
+ /** Creates a Sitemap. */
6827
+ create(request: {
6828
+ /** V1 error format. */
6829
+ '$.xgafv'?: string;
6830
+ /** OAuth access token. */
6831
+ access_token?: string;
6832
+ /** Data format for response. */
6833
+ alt?: string;
6834
+ /** JSONP */
6835
+ callback?: string;
6836
+ /** Selector specifying which fields to include in a partial response. */
6837
+ fields?: string;
6838
+ /** 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. */
6839
+ key?: string;
6840
+ /** OAuth 2.0 token for the current user. */
6841
+ oauth_token?: string;
6842
+ /** Required. Parent resource name of the SiteSearchEngine, such as `projects/*‍/locations/*‍/collections/*‍/dataStores/*‍/siteSearchEngine`. */
6843
+ parent: string;
6844
+ /** Returns response with indentations and line breaks. */
6845
+ prettyPrint?: boolean;
6846
+ /** 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. */
6847
+ quotaUser?: string;
6848
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
6849
+ upload_protocol?: string;
6850
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6851
+ uploadType?: string;
6852
+ /** Request body */
6853
+ resource: GoogleCloudDiscoveryengineV1betaSitemap;
6854
+ }): Request<GoogleLongrunningOperation>;
6855
+ create(
6856
+ request: {
6857
+ /** V1 error format. */
6858
+ '$.xgafv'?: string;
6859
+ /** OAuth access token. */
6860
+ access_token?: string;
6861
+ /** Data format for response. */
6862
+ alt?: string;
6863
+ /** JSONP */
6864
+ callback?: string;
6865
+ /** Selector specifying which fields to include in a partial response. */
6866
+ fields?: string;
6867
+ /** 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. */
6868
+ key?: string;
6869
+ /** OAuth 2.0 token for the current user. */
6870
+ oauth_token?: string;
6871
+ /** Required. Parent resource name of the SiteSearchEngine, such as `projects/*‍/locations/*‍/collections/*‍/dataStores/*‍/siteSearchEngine`. */
6872
+ parent: string;
6873
+ /** Returns response with indentations and line breaks. */
6874
+ prettyPrint?: boolean;
6875
+ /** 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. */
6876
+ quotaUser?: string;
6877
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
6878
+ upload_protocol?: string;
6879
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6880
+ uploadType?: string;
6881
+ },
6882
+ body: GoogleCloudDiscoveryengineV1betaSitemap
6883
+ ): Request<GoogleLongrunningOperation>;
6884
+ /** Deletes a Sitemap. */
6885
+ delete(request?: {
6886
+ /** V1 error format. */
6887
+ '$.xgafv'?: string;
6888
+ /** OAuth access token. */
6889
+ access_token?: string;
6890
+ /** Data format for response. */
6891
+ alt?: string;
6892
+ /** JSONP */
6893
+ callback?: string;
6894
+ /** Selector specifying which fields to include in a partial response. */
6895
+ fields?: string;
6896
+ /** 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. */
6897
+ key?: string;
6898
+ /** 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. */
6899
+ name: string;
6900
+ /** OAuth 2.0 token for the current user. */
6901
+ oauth_token?: string;
6902
+ /** Returns response with indentations and line breaks. */
6903
+ prettyPrint?: boolean;
6904
+ /** 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. */
6905
+ quotaUser?: string;
6906
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
6907
+ upload_protocol?: string;
6908
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6909
+ uploadType?: string;
6910
+ }): Request<GoogleLongrunningOperation>;
6911
+ }
6735
6912
  interface OperationsResource {
6736
6913
  /** 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. */
6737
6914
  get(request?: {
@@ -7321,6 +7498,7 @@ declare namespace gapi.client {
7321
7498
  body: GoogleCloudDiscoveryengineV1betaRecrawlUrisRequest
7322
7499
  ): Request<GoogleLongrunningOperation>;
7323
7500
  operations: OperationsResource;
7501
+ sitemaps: SitemapsResource;
7324
7502
  targetSites: TargetSitesResource;
7325
7503
  }
7326
7504
  interface SuggestionDenyListEntriesResource {
@@ -11756,6 +11934,122 @@ declare namespace gapi.client {
11756
11934
  ): Request<GoogleCloudDiscoveryengineV1betaSession>;
11757
11935
  answers: AnswersResource;
11758
11936
  }
11937
+ interface SitemapsResource {
11938
+ /** Creates a Sitemap. */
11939
+ create(request: {
11940
+ /** V1 error format. */
11941
+ '$.xgafv'?: string;
11942
+ /** OAuth access token. */
11943
+ access_token?: string;
11944
+ /** Data format for response. */
11945
+ alt?: string;
11946
+ /** JSONP */
11947
+ callback?: string;
11948
+ /** Selector specifying which fields to include in a partial response. */
11949
+ fields?: string;
11950
+ /** 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. */
11951
+ key?: string;
11952
+ /** OAuth 2.0 token for the current user. */
11953
+ oauth_token?: string;
11954
+ /** Required. Parent resource name of the SiteSearchEngine, such as `projects/*‍/locations/*‍/collections/*‍/dataStores/*‍/siteSearchEngine`. */
11955
+ parent: string;
11956
+ /** Returns response with indentations and line breaks. */
11957
+ prettyPrint?: boolean;
11958
+ /** 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. */
11959
+ quotaUser?: string;
11960
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
11961
+ upload_protocol?: string;
11962
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
11963
+ uploadType?: string;
11964
+ /** Request body */
11965
+ resource: GoogleCloudDiscoveryengineV1betaSitemap;
11966
+ }): Request<GoogleLongrunningOperation>;
11967
+ create(
11968
+ request: {
11969
+ /** V1 error format. */
11970
+ '$.xgafv'?: string;
11971
+ /** OAuth access token. */
11972
+ access_token?: string;
11973
+ /** Data format for response. */
11974
+ alt?: string;
11975
+ /** JSONP */
11976
+ callback?: string;
11977
+ /** Selector specifying which fields to include in a partial response. */
11978
+ fields?: string;
11979
+ /** 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. */
11980
+ key?: string;
11981
+ /** OAuth 2.0 token for the current user. */
11982
+ oauth_token?: string;
11983
+ /** Required. Parent resource name of the SiteSearchEngine, such as `projects/*‍/locations/*‍/collections/*‍/dataStores/*‍/siteSearchEngine`. */
11984
+ parent: string;
11985
+ /** Returns response with indentations and line breaks. */
11986
+ prettyPrint?: boolean;
11987
+ /** 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. */
11988
+ quotaUser?: string;
11989
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
11990
+ upload_protocol?: string;
11991
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
11992
+ uploadType?: string;
11993
+ },
11994
+ body: GoogleCloudDiscoveryengineV1betaSitemap
11995
+ ): Request<GoogleLongrunningOperation>;
11996
+ /** Deletes a Sitemap. */
11997
+ delete(request?: {
11998
+ /** V1 error format. */
11999
+ '$.xgafv'?: string;
12000
+ /** OAuth access token. */
12001
+ access_token?: string;
12002
+ /** Data format for response. */
12003
+ alt?: string;
12004
+ /** JSONP */
12005
+ callback?: string;
12006
+ /** Selector specifying which fields to include in a partial response. */
12007
+ fields?: string;
12008
+ /** 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. */
12009
+ key?: string;
12010
+ /** 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. */
12011
+ name: string;
12012
+ /** OAuth 2.0 token for the current user. */
12013
+ oauth_token?: string;
12014
+ /** Returns response with indentations and line breaks. */
12015
+ prettyPrint?: boolean;
12016
+ /** 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. */
12017
+ quotaUser?: string;
12018
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
12019
+ upload_protocol?: string;
12020
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
12021
+ uploadType?: string;
12022
+ }): Request<GoogleLongrunningOperation>;
12023
+ /** Fetch Sitemaps in a DataStore. */
12024
+ fetch(request?: {
12025
+ /** V1 error format. */
12026
+ '$.xgafv'?: string;
12027
+ /** OAuth access token. */
12028
+ access_token?: string;
12029
+ /** Data format for response. */
12030
+ alt?: string;
12031
+ /** JSONP */
12032
+ callback?: string;
12033
+ /** Selector specifying which fields to include in a partial response. */
12034
+ fields?: string;
12035
+ /** 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. */
12036
+ key?: string;
12037
+ /** The Sitemap uris. */
12038
+ 'matcher.urisMatcher.uris'?: string | string[];
12039
+ /** OAuth 2.0 token for the current user. */
12040
+ oauth_token?: string;
12041
+ /** Required. Parent resource name of the SiteSearchEngine, such as `projects/*‍/locations/*‍/collections/*‍/dataStores/*‍/siteSearchEngine`. */
12042
+ parent: string;
12043
+ /** Returns response with indentations and line breaks. */
12044
+ prettyPrint?: boolean;
12045
+ /** 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. */
12046
+ quotaUser?: string;
12047
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
12048
+ upload_protocol?: string;
12049
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
12050
+ uploadType?: string;
12051
+ }): Request<GoogleCloudDiscoveryengineV1betaFetchSitemapsResponse>;
12052
+ }
11759
12053
  interface TargetSitesResource {
11760
12054
  /** Creates TargetSite in a batch. */
11761
12055
  batchCreate(request: {
@@ -12192,6 +12486,7 @@ declare namespace gapi.client {
12192
12486
  },
12193
12487
  body: GoogleCloudDiscoveryengineV1betaRecrawlUrisRequest
12194
12488
  ): Request<GoogleLongrunningOperation>;
12489
+ sitemaps: SitemapsResource;
12195
12490
  targetSites: TargetSitesResource;
12196
12491
  }
12197
12492
  interface SuggestionDenyListEntriesResource {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.discoveryengine-v1beta",
3
- "version": "0.0.20241025",
3
+ "version": "0.0.20241031",
4
4
  "description": "TypeScript typings for Discovery Engine API v1beta",
5
5
  "repository": {
6
6
  "type": "git",