@maxim_mazurok/gapi.client.discoveryengine-v1alpha 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=v1alpha
12
- // Revision: 20241025
12
+ // Revision: 20241030
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -979,6 +979,12 @@ declare namespace gapi.client {
979
979
  /** Operation last update time. If the operation is done, this is also the finish time. */
980
980
  updateTime?: string;
981
981
  }
982
+ interface GoogleCloudDiscoveryengineV1alphaCreateSitemapMetadata {
983
+ /** Operation create time. */
984
+ createTime?: string;
985
+ /** Operation last update time. If the operation is done, this is also the finish time. */
986
+ updateTime?: string;
987
+ }
982
988
  interface GoogleCloudDiscoveryengineV1alphaCreateTargetSiteMetadata {
983
989
  /** Operation create time. */
984
990
  createTime?: string;
@@ -1101,6 +1107,12 @@ declare namespace gapi.client {
1101
1107
  /** Operation last update time. If the operation is done, this is also the finish time. */
1102
1108
  updateTime?: string;
1103
1109
  }
1110
+ interface GoogleCloudDiscoveryengineV1alphaDeleteSitemapMetadata {
1111
+ /** Operation create time. */
1112
+ createTime?: string;
1113
+ /** Operation last update time. If the operation is done, this is also the finish time. */
1114
+ updateTime?: string;
1115
+ }
1104
1116
  interface GoogleCloudDiscoveryengineV1alphaDeleteTargetSiteMetadata {
1105
1117
  /** Operation create time. */
1106
1118
  createTime?: string;
@@ -1390,6 +1402,14 @@ declare namespace gapi.client {
1390
1402
  /** The total number of items matching the request. This will always be populated in the response. */
1391
1403
  totalSize?: number;
1392
1404
  }
1405
+ interface GoogleCloudDiscoveryengineV1alphaFetchSitemapsResponse {
1406
+ /** List of Sitemaps fetched. */
1407
+ sitemapsMetadata?: GoogleCloudDiscoveryengineV1alphaFetchSitemapsResponseSitemapMetadata[];
1408
+ }
1409
+ interface GoogleCloudDiscoveryengineV1alphaFetchSitemapsResponseSitemapMetadata {
1410
+ /** The Sitemap. */
1411
+ sitemap?: GoogleCloudDiscoveryengineV1alphaSitemap;
1412
+ }
1393
1413
  interface GoogleCloudDiscoveryengineV1alphaFhirStoreSource {
1394
1414
  /** 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}`. */
1395
1415
  fhirStore?: string;
@@ -2745,6 +2765,14 @@ declare namespace gapi.client {
2745
2765
  schema?: {[P in string]: any};
2746
2766
  }
2747
2767
  interface GoogleCloudDiscoveryengineV1alphaSetUriPatternDocumentDataResponse {}
2768
+ interface GoogleCloudDiscoveryengineV1alphaSitemap {
2769
+ /** Output only. The sitemap's creation time. */
2770
+ createTime?: string;
2771
+ /** Output only. The fully qualified resource name of the sitemap. `projects/*‍/locations/*‍/collections/*‍/dataStores/*‍/siteSearchEngine/sitemaps/*` The `sitemap_id` suffix is system-generated. */
2772
+ name?: string;
2773
+ /** Public URI for the sitemap, e.g. `www.example.com/sitemap.xml`. */
2774
+ uri?: string;
2775
+ }
2748
2776
  interface GoogleCloudDiscoveryengineV1alphaSiteSearchEngine {
2749
2777
  /** The fully qualified resource name of the site search engine. Format: `projects/*‍/locations/*‍/dataStores/*‍/siteSearchEngine` */
2750
2778
  name?: string;
@@ -3063,6 +3091,12 @@ declare namespace gapi.client {
3063
3091
  /** Operation last update time. If the operation is done, this is also the finish time. */
3064
3092
  updateTime?: string;
3065
3093
  }
3094
+ interface GoogleCloudDiscoveryengineV1betaCreateSitemapMetadata {
3095
+ /** Operation create time. */
3096
+ createTime?: string;
3097
+ /** Operation last update time. If the operation is done, this is also the finish time. */
3098
+ updateTime?: string;
3099
+ }
3066
3100
  interface GoogleCloudDiscoveryengineV1betaCreateTargetSiteMetadata {
3067
3101
  /** Operation create time. */
3068
3102
  createTime?: string;
@@ -3159,6 +3193,12 @@ declare namespace gapi.client {
3159
3193
  /** Operation last update time. If the operation is done, this is also the finish time. */
3160
3194
  updateTime?: string;
3161
3195
  }
3196
+ interface GoogleCloudDiscoveryengineV1betaDeleteSitemapMetadata {
3197
+ /** Operation create time. */
3198
+ createTime?: string;
3199
+ /** Operation last update time. If the operation is done, this is also the finish time. */
3200
+ updateTime?: string;
3201
+ }
3162
3202
  interface GoogleCloudDiscoveryengineV1betaDeleteTargetSiteMetadata {
3163
3203
  /** Operation create time. */
3164
3204
  createTime?: string;
@@ -3301,6 +3341,14 @@ declare namespace gapi.client {
3301
3341
  /** Required. The full resource name of the SampleQuerySet used for the evaluation, in the format of `projects/{project}/locations/{location}/sampleQuerySets/{sampleQuerySet}`. */
3302
3342
  sampleQuerySet?: string;
3303
3343
  }
3344
+ interface GoogleCloudDiscoveryengineV1betaFetchSitemapsResponse {
3345
+ /** List of Sitemaps fetched. */
3346
+ sitemapsMetadata?: GoogleCloudDiscoveryengineV1betaFetchSitemapsResponseSitemapMetadata[];
3347
+ }
3348
+ interface GoogleCloudDiscoveryengineV1betaFetchSitemapsResponseSitemapMetadata {
3349
+ /** The Sitemap. */
3350
+ sitemap?: GoogleCloudDiscoveryengineV1betaSitemap;
3351
+ }
3304
3352
  interface GoogleCloudDiscoveryengineV1betaImportCompletionSuggestionsMetadata {
3305
3353
  /** Operation create time. */
3306
3354
  createTime?: string;
@@ -3742,6 +3790,14 @@ declare namespace gapi.client {
3742
3790
  /** The mode under which spell correction replaces the original search query. Defaults to Mode.AUTO. */
3743
3791
  mode?: string;
3744
3792
  }
3793
+ interface GoogleCloudDiscoveryengineV1betaSitemap {
3794
+ /** Output only. The sitemap's creation time. */
3795
+ createTime?: string;
3796
+ /** Output only. The fully qualified resource name of the sitemap. `projects/*‍/locations/*‍/collections/*‍/dataStores/*‍/siteSearchEngine/sitemaps/*` The `sitemap_id` suffix is system-generated. */
3797
+ name?: string;
3798
+ /** Public URI for the sitemap, e.g. `www.example.com/sitemap.xml`. */
3799
+ uri?: string;
3800
+ }
3745
3801
  interface GoogleCloudDiscoveryengineV1betaSiteVerificationInfo {
3746
3802
  /** Site verification state indicating the ownership and validity. */
3747
3803
  siteVerificationState?: string;
@@ -6938,6 +6994,93 @@ declare namespace gapi.client {
6938
6994
  uploadType?: string;
6939
6995
  }): Request<GoogleLongrunningListOperationsResponse>;
6940
6996
  }
6997
+ interface SitemapsResource {
6998
+ /** Creates a Sitemap. */
6999
+ create(request: {
7000
+ /** V1 error format. */
7001
+ '$.xgafv'?: string;
7002
+ /** OAuth access token. */
7003
+ access_token?: string;
7004
+ /** Data format for response. */
7005
+ alt?: string;
7006
+ /** JSONP */
7007
+ callback?: string;
7008
+ /** Selector specifying which fields to include in a partial response. */
7009
+ fields?: string;
7010
+ /** 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. */
7011
+ key?: string;
7012
+ /** OAuth 2.0 token for the current user. */
7013
+ oauth_token?: string;
7014
+ /** Required. Parent resource name of the SiteSearchEngine, such as `projects/*‍/locations/*‍/collections/*‍/dataStores/*‍/siteSearchEngine`. */
7015
+ parent: string;
7016
+ /** Returns response with indentations and line breaks. */
7017
+ prettyPrint?: boolean;
7018
+ /** 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. */
7019
+ quotaUser?: string;
7020
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
7021
+ upload_protocol?: string;
7022
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7023
+ uploadType?: string;
7024
+ /** Request body */
7025
+ resource: GoogleCloudDiscoveryengineV1alphaSitemap;
7026
+ }): Request<GoogleLongrunningOperation>;
7027
+ create(
7028
+ request: {
7029
+ /** V1 error format. */
7030
+ '$.xgafv'?: string;
7031
+ /** OAuth access token. */
7032
+ access_token?: string;
7033
+ /** Data format for response. */
7034
+ alt?: string;
7035
+ /** JSONP */
7036
+ callback?: string;
7037
+ /** Selector specifying which fields to include in a partial response. */
7038
+ fields?: string;
7039
+ /** 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. */
7040
+ key?: string;
7041
+ /** OAuth 2.0 token for the current user. */
7042
+ oauth_token?: string;
7043
+ /** Required. Parent resource name of the SiteSearchEngine, such as `projects/*‍/locations/*‍/collections/*‍/dataStores/*‍/siteSearchEngine`. */
7044
+ parent: string;
7045
+ /** Returns response with indentations and line breaks. */
7046
+ prettyPrint?: boolean;
7047
+ /** 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. */
7048
+ quotaUser?: string;
7049
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
7050
+ upload_protocol?: string;
7051
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7052
+ uploadType?: string;
7053
+ },
7054
+ body: GoogleCloudDiscoveryengineV1alphaSitemap
7055
+ ): Request<GoogleLongrunningOperation>;
7056
+ /** Deletes a Sitemap. */
7057
+ delete(request?: {
7058
+ /** V1 error format. */
7059
+ '$.xgafv'?: string;
7060
+ /** OAuth access token. */
7061
+ access_token?: string;
7062
+ /** Data format for response. */
7063
+ alt?: string;
7064
+ /** JSONP */
7065
+ callback?: string;
7066
+ /** Selector specifying which fields to include in a partial response. */
7067
+ fields?: string;
7068
+ /** 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. */
7069
+ key?: string;
7070
+ /** 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. */
7071
+ name: string;
7072
+ /** OAuth 2.0 token for the current user. */
7073
+ oauth_token?: string;
7074
+ /** Returns response with indentations and line breaks. */
7075
+ prettyPrint?: boolean;
7076
+ /** 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. */
7077
+ quotaUser?: string;
7078
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
7079
+ upload_protocol?: string;
7080
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7081
+ uploadType?: string;
7082
+ }): Request<GoogleLongrunningOperation>;
7083
+ }
6941
7084
  interface OperationsResource {
6942
7085
  /** 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. */
6943
7086
  get(request?: {
@@ -7612,6 +7755,7 @@ declare namespace gapi.client {
7612
7755
  body: GoogleCloudDiscoveryengineV1alphaSetUriPatternDocumentDataRequest
7613
7756
  ): Request<GoogleLongrunningOperation>;
7614
7757
  operations: OperationsResource;
7758
+ sitemaps: SitemapsResource;
7615
7759
  targetSites: TargetSitesResource;
7616
7760
  }
7617
7761
  interface SuggestionDenyListEntriesResource {
@@ -12228,6 +12372,122 @@ declare namespace gapi.client {
12228
12372
  ): Request<GoogleCloudDiscoveryengineV1alphaSession>;
12229
12373
  answers: AnswersResource;
12230
12374
  }
12375
+ interface SitemapsResource {
12376
+ /** Creates a Sitemap. */
12377
+ create(request: {
12378
+ /** V1 error format. */
12379
+ '$.xgafv'?: string;
12380
+ /** OAuth access token. */
12381
+ access_token?: string;
12382
+ /** Data format for response. */
12383
+ alt?: string;
12384
+ /** JSONP */
12385
+ callback?: string;
12386
+ /** Selector specifying which fields to include in a partial response. */
12387
+ fields?: string;
12388
+ /** 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. */
12389
+ key?: string;
12390
+ /** OAuth 2.0 token for the current user. */
12391
+ oauth_token?: string;
12392
+ /** Required. Parent resource name of the SiteSearchEngine, such as `projects/*‍/locations/*‍/collections/*‍/dataStores/*‍/siteSearchEngine`. */
12393
+ parent: string;
12394
+ /** Returns response with indentations and line breaks. */
12395
+ prettyPrint?: boolean;
12396
+ /** 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. */
12397
+ quotaUser?: string;
12398
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
12399
+ upload_protocol?: string;
12400
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
12401
+ uploadType?: string;
12402
+ /** Request body */
12403
+ resource: GoogleCloudDiscoveryengineV1alphaSitemap;
12404
+ }): Request<GoogleLongrunningOperation>;
12405
+ create(
12406
+ request: {
12407
+ /** V1 error format. */
12408
+ '$.xgafv'?: string;
12409
+ /** OAuth access token. */
12410
+ access_token?: string;
12411
+ /** Data format for response. */
12412
+ alt?: string;
12413
+ /** JSONP */
12414
+ callback?: string;
12415
+ /** Selector specifying which fields to include in a partial response. */
12416
+ fields?: string;
12417
+ /** 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. */
12418
+ key?: string;
12419
+ /** OAuth 2.0 token for the current user. */
12420
+ oauth_token?: string;
12421
+ /** Required. Parent resource name of the SiteSearchEngine, such as `projects/*‍/locations/*‍/collections/*‍/dataStores/*‍/siteSearchEngine`. */
12422
+ parent: string;
12423
+ /** Returns response with indentations and line breaks. */
12424
+ prettyPrint?: boolean;
12425
+ /** 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. */
12426
+ quotaUser?: string;
12427
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
12428
+ upload_protocol?: string;
12429
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
12430
+ uploadType?: string;
12431
+ },
12432
+ body: GoogleCloudDiscoveryengineV1alphaSitemap
12433
+ ): Request<GoogleLongrunningOperation>;
12434
+ /** Deletes a Sitemap. */
12435
+ delete(request?: {
12436
+ /** V1 error format. */
12437
+ '$.xgafv'?: string;
12438
+ /** OAuth access token. */
12439
+ access_token?: string;
12440
+ /** Data format for response. */
12441
+ alt?: string;
12442
+ /** JSONP */
12443
+ callback?: string;
12444
+ /** Selector specifying which fields to include in a partial response. */
12445
+ fields?: string;
12446
+ /** 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. */
12447
+ key?: string;
12448
+ /** 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. */
12449
+ name: string;
12450
+ /** OAuth 2.0 token for the current user. */
12451
+ oauth_token?: string;
12452
+ /** Returns response with indentations and line breaks. */
12453
+ prettyPrint?: boolean;
12454
+ /** 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. */
12455
+ quotaUser?: string;
12456
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
12457
+ upload_protocol?: string;
12458
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
12459
+ uploadType?: string;
12460
+ }): Request<GoogleLongrunningOperation>;
12461
+ /** Fetch Sitemaps in a DataStore. */
12462
+ fetch(request?: {
12463
+ /** V1 error format. */
12464
+ '$.xgafv'?: string;
12465
+ /** OAuth access token. */
12466
+ access_token?: string;
12467
+ /** Data format for response. */
12468
+ alt?: string;
12469
+ /** JSONP */
12470
+ callback?: string;
12471
+ /** Selector specifying which fields to include in a partial response. */
12472
+ fields?: string;
12473
+ /** 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. */
12474
+ key?: string;
12475
+ /** The Sitemap uris. */
12476
+ 'matcher.urisMatcher.uris'?: string | string[];
12477
+ /** OAuth 2.0 token for the current user. */
12478
+ oauth_token?: string;
12479
+ /** Required. Parent resource name of the SiteSearchEngine, such as `projects/*‍/locations/*‍/collections/*‍/dataStores/*‍/siteSearchEngine`. */
12480
+ parent: string;
12481
+ /** Returns response with indentations and line breaks. */
12482
+ prettyPrint?: boolean;
12483
+ /** 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. */
12484
+ quotaUser?: string;
12485
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
12486
+ upload_protocol?: string;
12487
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
12488
+ uploadType?: string;
12489
+ }): Request<GoogleCloudDiscoveryengineV1alphaFetchSitemapsResponse>;
12490
+ }
12231
12491
  interface TargetSitesResource {
12232
12492
  /** Creates TargetSite in a batch. */
12233
12493
  batchCreate(request: {
@@ -12664,6 +12924,7 @@ declare namespace gapi.client {
12664
12924
  },
12665
12925
  body: GoogleCloudDiscoveryengineV1alphaRecrawlUrisRequest
12666
12926
  ): Request<GoogleLongrunningOperation>;
12927
+ sitemaps: SitemapsResource;
12667
12928
  targetSites: TargetSitesResource;
12668
12929
  }
12669
12930
  interface SuggestionDenyListEntriesResource {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.discoveryengine-v1alpha",
3
- "version": "0.0.20241025",
3
+ "version": "0.0.20241030",
4
4
  "description": "TypeScript typings for Discovery Engine API v1alpha",
5
5
  "repository": {
6
6
  "type": "git",