@maxim_mazurok/gapi.client.discoveryengine-v1beta 0.0.20241025 → 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 +262 -1
  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: 20241030
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;
@@ -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;
@@ -2525,6 +2565,14 @@ declare namespace gapi.client {
2525
2565
  /** The total number of items matching the request. This will always be populated in the response. */
2526
2566
  totalSize?: number;
2527
2567
  }
2568
+ interface GoogleCloudDiscoveryengineV1betaFetchSitemapsResponse {
2569
+ /** List of Sitemaps fetched. */
2570
+ sitemapsMetadata?: GoogleCloudDiscoveryengineV1betaFetchSitemapsResponseSitemapMetadata[];
2571
+ }
2572
+ interface GoogleCloudDiscoveryengineV1betaFetchSitemapsResponseSitemapMetadata {
2573
+ /** The Sitemap. */
2574
+ sitemap?: GoogleCloudDiscoveryengineV1betaSitemap;
2575
+ }
2528
2576
  interface GoogleCloudDiscoveryengineV1betaFhirStoreSource {
2529
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}`. */
2530
2578
  fhirStore?: string;
@@ -3649,6 +3697,14 @@ declare namespace gapi.client {
3649
3697
  /** The user query. */
3650
3698
  query?: GoogleCloudDiscoveryengineV1betaQuery;
3651
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
+ }
3652
3708
  interface GoogleCloudDiscoveryengineV1betaSiteSearchEngine {
3653
3709
  /** The fully qualified resource name of the site search engine. Format: `projects/*‍/locations/*‍/dataStores/*‍/siteSearchEngine` */
3654
3710
  name?: string;
@@ -6732,6 +6788,93 @@ declare namespace gapi.client {
6732
6788
  uploadType?: string;
6733
6789
  }): Request<GoogleLongrunningListOperationsResponse>;
6734
6790
  }
6791
+ interface SitemapsResource {
6792
+ /** Creates a Sitemap. */
6793
+ create(request: {
6794
+ /** V1 error format. */
6795
+ '$.xgafv'?: string;
6796
+ /** OAuth access token. */
6797
+ access_token?: string;
6798
+ /** Data format for response. */
6799
+ alt?: string;
6800
+ /** JSONP */
6801
+ callback?: string;
6802
+ /** Selector specifying which fields to include in a partial response. */
6803
+ fields?: string;
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. */
6805
+ key?: string;
6806
+ /** OAuth 2.0 token for the current user. */
6807
+ oauth_token?: string;
6808
+ /** Required. Parent resource name of the SiteSearchEngine, such as `projects/*‍/locations/*‍/collections/*‍/dataStores/*‍/siteSearchEngine`. */
6809
+ parent: string;
6810
+ /** Returns response with indentations and line breaks. */
6811
+ prettyPrint?: boolean;
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. */
6813
+ quotaUser?: string;
6814
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
6815
+ upload_protocol?: string;
6816
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6817
+ uploadType?: string;
6818
+ /** Request body */
6819
+ resource: GoogleCloudDiscoveryengineV1betaSitemap;
6820
+ }): Request<GoogleLongrunningOperation>;
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?: {
6852
+ /** V1 error format. */
6853
+ '$.xgafv'?: string;
6854
+ /** OAuth access token. */
6855
+ access_token?: string;
6856
+ /** Data format for response. */
6857
+ alt?: string;
6858
+ /** JSONP */
6859
+ callback?: string;
6860
+ /** Selector specifying which fields to include in a partial response. */
6861
+ fields?: string;
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. */
6863
+ key?: string;
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. */
6865
+ name: string;
6866
+ /** OAuth 2.0 token for the current user. */
6867
+ oauth_token?: string;
6868
+ /** Returns response with indentations and line breaks. */
6869
+ prettyPrint?: boolean;
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. */
6871
+ quotaUser?: string;
6872
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
6873
+ upload_protocol?: string;
6874
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6875
+ uploadType?: string;
6876
+ }): Request<GoogleLongrunningOperation>;
6877
+ }
6735
6878
  interface OperationsResource {
6736
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. */
6737
6880
  get(request?: {
@@ -7321,6 +7464,7 @@ declare namespace gapi.client {
7321
7464
  body: GoogleCloudDiscoveryengineV1betaRecrawlUrisRequest
7322
7465
  ): Request<GoogleLongrunningOperation>;
7323
7466
  operations: OperationsResource;
7467
+ sitemaps: SitemapsResource;
7324
7468
  targetSites: TargetSitesResource;
7325
7469
  }
7326
7470
  interface SuggestionDenyListEntriesResource {
@@ -11756,6 +11900,122 @@ declare namespace gapi.client {
11756
11900
  ): Request<GoogleCloudDiscoveryengineV1betaSession>;
11757
11901
  answers: AnswersResource;
11758
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
+ }
11759
12019
  interface TargetSitesResource {
11760
12020
  /** Creates TargetSite in a batch. */
11761
12021
  batchCreate(request: {
@@ -12192,6 +12452,7 @@ declare namespace gapi.client {
12192
12452
  },
12193
12453
  body: GoogleCloudDiscoveryengineV1betaRecrawlUrisRequest
12194
12454
  ): Request<GoogleLongrunningOperation>;
12455
+ sitemaps: SitemapsResource;
12195
12456
  targetSites: TargetSitesResource;
12196
12457
  }
12197
12458
  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.20241030",
4
4
  "description": "TypeScript typings for Discovery Engine API v1beta",
5
5
  "repository": {
6
6
  "type": "git",