@maxim_mazurok/gapi.client.discoveryengine-v1alpha 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=v1alpha
12
- // Revision: 20241025
12
+ // Revision: 20241031
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -678,12 +678,18 @@ declare namespace gapi.client {
678
678
  }
679
679
  interface GoogleCloudDiscoveryengineV1alphaCheckGroundingResponse {
680
680
  /** List of facts cited across all claims in the answer candidate. These are derived from the facts supplied in the request. */
681
- citedChunks?: GoogleCloudDiscoveryengineV1alphaCheckGroundingResponseFactChunk[];
681
+ citedChunks?: GoogleCloudDiscoveryengineV1alphaFactChunk[];
682
+ /** List of facts cited across all claims in the answer candidate. These are derived from the facts supplied in the request. */
683
+ citedFacts?: GoogleCloudDiscoveryengineV1alphaCheckGroundingResponseCheckGroundingFactChunk[];
682
684
  /** Claim texts and citation info across all claims in the answer candidate. */
683
685
  claims?: GoogleCloudDiscoveryengineV1alphaCheckGroundingResponseClaim[];
684
686
  /** 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. */
685
687
  supportScore?: number;
686
688
  }
689
+ interface GoogleCloudDiscoveryengineV1alphaCheckGroundingResponseCheckGroundingFactChunk {
690
+ /** Text content of the fact chunk. Can be at most 10K characters long. */
691
+ chunkText?: string;
692
+ }
687
693
  interface GoogleCloudDiscoveryengineV1alphaCheckGroundingResponseClaim {
688
694
  /** 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. */
689
695
  citationIndices?: number[];
@@ -696,12 +702,6 @@ declare namespace gapi.client {
696
702
  /** Position indicating the start of the claim in the answer candidate, measured in bytes. */
697
703
  startPos?: number;
698
704
  }
699
- interface GoogleCloudDiscoveryengineV1alphaCheckGroundingResponseFactChunk {
700
- /** Text content of the fact chunk. Can be at most 10K characters long. */
701
- chunkText?: string;
702
- /** 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. */
703
- source?: string;
704
- }
705
705
  interface GoogleCloudDiscoveryengineV1alphaCheckGroundingSpec {
706
706
  /** 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. */
707
707
  citationThreshold?: number;
@@ -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;
@@ -1382,6 +1394,34 @@ declare namespace gapi.client {
1382
1394
  /** Required. The full resource name of the SampleQuerySet used for the evaluation, in the format of `projects/{project}/locations/{location}/sampleQuerySets/{sampleQuerySet}`. */
1383
1395
  sampleQuerySet?: string;
1384
1396
  }
1397
+ interface GoogleCloudDiscoveryengineV1alphaFactChunk {
1398
+ /** Text content of the fact chunk. Can be at most 10K characters long. */
1399
+ chunkText?: string;
1400
+ /** The index of this chunk. Currently, only used for the streaming mode. */
1401
+ index?: number;
1402
+ /** 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. */
1403
+ source?: string;
1404
+ /** More fine-grained information for the source reference. */
1405
+ sourceMetadata?: {[P in string]: string};
1406
+ }
1407
+ interface GoogleCloudDiscoveryengineV1alphaFeedback {
1408
+ /** Optional. The additional user comment of the feedback if user gives a thumb down. */
1409
+ comment?: string;
1410
+ /** The related conversation information when user gives feedback. */
1411
+ conversationInfo?: GoogleCloudDiscoveryengineV1alphaFeedbackConversationInfo;
1412
+ /** Required. Indicate whether the user gives a positive or negative feedback. If the user gives a negative feedback, there might be more feedback details. */
1413
+ feedbackType?: string;
1414
+ /** The version of the LLM model that was used to generate the response. */
1415
+ llmModelVersion?: string;
1416
+ /** Optional. The reason if user gives a thumb down. */
1417
+ reasons?: string[];
1418
+ }
1419
+ interface GoogleCloudDiscoveryengineV1alphaFeedbackConversationInfo {
1420
+ /** The index of the user input within the conversation messages. */
1421
+ questionIndex?: number;
1422
+ /** Name of the newly generated or continued session. */
1423
+ session?: string;
1424
+ }
1385
1425
  interface GoogleCloudDiscoveryengineV1alphaFetchDomainVerificationStatusResponse {
1386
1426
  /** A token that can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
1387
1427
  nextPageToken?: string;
@@ -1390,6 +1430,14 @@ declare namespace gapi.client {
1390
1430
  /** The total number of items matching the request. This will always be populated in the response. */
1391
1431
  totalSize?: number;
1392
1432
  }
1433
+ interface GoogleCloudDiscoveryengineV1alphaFetchSitemapsResponse {
1434
+ /** List of Sitemaps fetched. */
1435
+ sitemapsMetadata?: GoogleCloudDiscoveryengineV1alphaFetchSitemapsResponseSitemapMetadata[];
1436
+ }
1437
+ interface GoogleCloudDiscoveryengineV1alphaFetchSitemapsResponseSitemapMetadata {
1438
+ /** The Sitemap. */
1439
+ sitemap?: GoogleCloudDiscoveryengineV1alphaSitemap;
1440
+ }
1393
1441
  interface GoogleCloudDiscoveryengineV1alphaFhirStoreSource {
1394
1442
  /** 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
1443
  fhirStore?: string;
@@ -1803,6 +1851,8 @@ declare namespace gapi.client {
1803
1851
  interface GoogleCloudDiscoveryengineV1alphaPanelInfo {
1804
1852
  /** The display name of the panel. */
1805
1853
  displayName?: string;
1854
+ /** Optional. The document IDs associated with this panel. */
1855
+ documents?: GoogleCloudDiscoveryengineV1alphaDocumentInfo[];
1806
1856
  /** Required. The panel ID. */
1807
1857
  panelId?: string;
1808
1858
  /** The ordered position of the panel, if shown to the user with other panels. If set, then total_panels must also be set. */
@@ -2745,6 +2795,14 @@ declare namespace gapi.client {
2745
2795
  schema?: {[P in string]: any};
2746
2796
  }
2747
2797
  interface GoogleCloudDiscoveryengineV1alphaSetUriPatternDocumentDataResponse {}
2798
+ interface GoogleCloudDiscoveryengineV1alphaSitemap {
2799
+ /** Output only. The sitemap's creation time. */
2800
+ createTime?: string;
2801
+ /** Output only. The fully qualified resource name of the sitemap. `projects/*‍/locations/*‍/collections/*‍/dataStores/*‍/siteSearchEngine/sitemaps/*` The `sitemap_id` suffix is system-generated. */
2802
+ name?: string;
2803
+ /** Public URI for the sitemap, e.g. `www.example.com/sitemap.xml`. */
2804
+ uri?: string;
2805
+ }
2748
2806
  interface GoogleCloudDiscoveryengineV1alphaSiteSearchEngine {
2749
2807
  /** The fully qualified resource name of the site search engine. Format: `projects/*‍/locations/*‍/dataStores/*‍/siteSearchEngine` */
2750
2808
  name?: string;
@@ -2906,6 +2964,8 @@ declare namespace gapi.client {
2906
2964
  eventTime?: string;
2907
2965
  /** 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. */
2908
2966
  eventType?: string;
2967
+ /** Optional. This field is optional except for the `add-feedback` event types. */
2968
+ feedback?: GoogleCloudDiscoveryengineV1alphaFeedback;
2909
2969
  /** 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. */
2910
2970
  filter?: string;
2911
2971
  /** Media-specific info. */
@@ -2914,6 +2974,8 @@ declare namespace gapi.client {
2914
2974
  pageInfo?: GoogleCloudDiscoveryengineV1alphaPageInfo;
2915
2975
  /** Panel metadata associated with this user event. */
2916
2976
  panel?: GoogleCloudDiscoveryengineV1alphaPanelInfo;
2977
+ /** Optional. List of panels associated with this event. Used for page-level impression data. */
2978
+ panels?: GoogleCloudDiscoveryengineV1alphaPanelInfo[];
2917
2979
  /** The promotion IDs if this is an event associated with promotions. Currently, this field is restricted to at most one ID. */
2918
2980
  promotionIds?: string[];
2919
2981
  /** SearchService.Search details related to the event. This field should be set for `search` event. */
@@ -3063,6 +3125,12 @@ declare namespace gapi.client {
3063
3125
  /** Operation last update time. If the operation is done, this is also the finish time. */
3064
3126
  updateTime?: string;
3065
3127
  }
3128
+ interface GoogleCloudDiscoveryengineV1betaCreateSitemapMetadata {
3129
+ /** Operation create time. */
3130
+ createTime?: string;
3131
+ /** Operation last update time. If the operation is done, this is also the finish time. */
3132
+ updateTime?: string;
3133
+ }
3066
3134
  interface GoogleCloudDiscoveryengineV1betaCreateTargetSiteMetadata {
3067
3135
  /** Operation create time. */
3068
3136
  createTime?: string;
@@ -3159,6 +3227,12 @@ declare namespace gapi.client {
3159
3227
  /** Operation last update time. If the operation is done, this is also the finish time. */
3160
3228
  updateTime?: string;
3161
3229
  }
3230
+ interface GoogleCloudDiscoveryengineV1betaDeleteSitemapMetadata {
3231
+ /** Operation create time. */
3232
+ createTime?: string;
3233
+ /** Operation last update time. If the operation is done, this is also the finish time. */
3234
+ updateTime?: string;
3235
+ }
3162
3236
  interface GoogleCloudDiscoveryengineV1betaDeleteTargetSiteMetadata {
3163
3237
  /** Operation create time. */
3164
3238
  createTime?: string;
@@ -3301,6 +3375,14 @@ declare namespace gapi.client {
3301
3375
  /** Required. The full resource name of the SampleQuerySet used for the evaluation, in the format of `projects/{project}/locations/{location}/sampleQuerySets/{sampleQuerySet}`. */
3302
3376
  sampleQuerySet?: string;
3303
3377
  }
3378
+ interface GoogleCloudDiscoveryengineV1betaFetchSitemapsResponse {
3379
+ /** List of Sitemaps fetched. */
3380
+ sitemapsMetadata?: GoogleCloudDiscoveryengineV1betaFetchSitemapsResponseSitemapMetadata[];
3381
+ }
3382
+ interface GoogleCloudDiscoveryengineV1betaFetchSitemapsResponseSitemapMetadata {
3383
+ /** The Sitemap. */
3384
+ sitemap?: GoogleCloudDiscoveryengineV1betaSitemap;
3385
+ }
3304
3386
  interface GoogleCloudDiscoveryengineV1betaImportCompletionSuggestionsMetadata {
3305
3387
  /** Operation create time. */
3306
3388
  createTime?: string;
@@ -3742,6 +3824,14 @@ declare namespace gapi.client {
3742
3824
  /** The mode under which spell correction replaces the original search query. Defaults to Mode.AUTO. */
3743
3825
  mode?: string;
3744
3826
  }
3827
+ interface GoogleCloudDiscoveryengineV1betaSitemap {
3828
+ /** Output only. The sitemap's creation time. */
3829
+ createTime?: string;
3830
+ /** Output only. The fully qualified resource name of the sitemap. `projects/*‍/locations/*‍/collections/*‍/dataStores/*‍/siteSearchEngine/sitemaps/*` The `sitemap_id` suffix is system-generated. */
3831
+ name?: string;
3832
+ /** Public URI for the sitemap, e.g. `www.example.com/sitemap.xml`. */
3833
+ uri?: string;
3834
+ }
3745
3835
  interface GoogleCloudDiscoveryengineV1betaSiteVerificationInfo {
3746
3836
  /** Site verification state indicating the ownership and validity. */
3747
3837
  siteVerificationState?: string;
@@ -6938,6 +7028,93 @@ declare namespace gapi.client {
6938
7028
  uploadType?: string;
6939
7029
  }): Request<GoogleLongrunningListOperationsResponse>;
6940
7030
  }
7031
+ interface SitemapsResource {
7032
+ /** Creates a Sitemap. */
7033
+ create(request: {
7034
+ /** V1 error format. */
7035
+ '$.xgafv'?: string;
7036
+ /** OAuth access token. */
7037
+ access_token?: string;
7038
+ /** Data format for response. */
7039
+ alt?: string;
7040
+ /** JSONP */
7041
+ callback?: string;
7042
+ /** Selector specifying which fields to include in a partial response. */
7043
+ fields?: string;
7044
+ /** 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. */
7045
+ key?: string;
7046
+ /** OAuth 2.0 token for the current user. */
7047
+ oauth_token?: string;
7048
+ /** Required. Parent resource name of the SiteSearchEngine, such as `projects/*‍/locations/*‍/collections/*‍/dataStores/*‍/siteSearchEngine`. */
7049
+ parent: string;
7050
+ /** Returns response with indentations and line breaks. */
7051
+ prettyPrint?: boolean;
7052
+ /** 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. */
7053
+ quotaUser?: string;
7054
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
7055
+ upload_protocol?: string;
7056
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7057
+ uploadType?: string;
7058
+ /** Request body */
7059
+ resource: GoogleCloudDiscoveryengineV1alphaSitemap;
7060
+ }): Request<GoogleLongrunningOperation>;
7061
+ create(
7062
+ request: {
7063
+ /** V1 error format. */
7064
+ '$.xgafv'?: string;
7065
+ /** OAuth access token. */
7066
+ access_token?: string;
7067
+ /** Data format for response. */
7068
+ alt?: string;
7069
+ /** JSONP */
7070
+ callback?: string;
7071
+ /** Selector specifying which fields to include in a partial response. */
7072
+ fields?: string;
7073
+ /** 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. */
7074
+ key?: string;
7075
+ /** OAuth 2.0 token for the current user. */
7076
+ oauth_token?: string;
7077
+ /** Required. Parent resource name of the SiteSearchEngine, such as `projects/*‍/locations/*‍/collections/*‍/dataStores/*‍/siteSearchEngine`. */
7078
+ parent: string;
7079
+ /** Returns response with indentations and line breaks. */
7080
+ prettyPrint?: boolean;
7081
+ /** 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. */
7082
+ quotaUser?: string;
7083
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
7084
+ upload_protocol?: string;
7085
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7086
+ uploadType?: string;
7087
+ },
7088
+ body: GoogleCloudDiscoveryengineV1alphaSitemap
7089
+ ): Request<GoogleLongrunningOperation>;
7090
+ /** Deletes a Sitemap. */
7091
+ delete(request?: {
7092
+ /** V1 error format. */
7093
+ '$.xgafv'?: string;
7094
+ /** OAuth access token. */
7095
+ access_token?: string;
7096
+ /** Data format for response. */
7097
+ alt?: string;
7098
+ /** JSONP */
7099
+ callback?: string;
7100
+ /** Selector specifying which fields to include in a partial response. */
7101
+ fields?: string;
7102
+ /** 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. */
7103
+ key?: string;
7104
+ /** 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. */
7105
+ name: string;
7106
+ /** OAuth 2.0 token for the current user. */
7107
+ oauth_token?: string;
7108
+ /** Returns response with indentations and line breaks. */
7109
+ prettyPrint?: boolean;
7110
+ /** 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. */
7111
+ quotaUser?: string;
7112
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
7113
+ upload_protocol?: string;
7114
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7115
+ uploadType?: string;
7116
+ }): Request<GoogleLongrunningOperation>;
7117
+ }
6941
7118
  interface OperationsResource {
6942
7119
  /** 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
7120
  get(request?: {
@@ -7612,6 +7789,7 @@ declare namespace gapi.client {
7612
7789
  body: GoogleCloudDiscoveryengineV1alphaSetUriPatternDocumentDataRequest
7613
7790
  ): Request<GoogleLongrunningOperation>;
7614
7791
  operations: OperationsResource;
7792
+ sitemaps: SitemapsResource;
7615
7793
  targetSites: TargetSitesResource;
7616
7794
  }
7617
7795
  interface SuggestionDenyListEntriesResource {
@@ -12228,6 +12406,122 @@ declare namespace gapi.client {
12228
12406
  ): Request<GoogleCloudDiscoveryengineV1alphaSession>;
12229
12407
  answers: AnswersResource;
12230
12408
  }
12409
+ interface SitemapsResource {
12410
+ /** Creates a Sitemap. */
12411
+ create(request: {
12412
+ /** V1 error format. */
12413
+ '$.xgafv'?: string;
12414
+ /** OAuth access token. */
12415
+ access_token?: string;
12416
+ /** Data format for response. */
12417
+ alt?: string;
12418
+ /** JSONP */
12419
+ callback?: string;
12420
+ /** Selector specifying which fields to include in a partial response. */
12421
+ fields?: string;
12422
+ /** 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. */
12423
+ key?: string;
12424
+ /** OAuth 2.0 token for the current user. */
12425
+ oauth_token?: string;
12426
+ /** Required. Parent resource name of the SiteSearchEngine, such as `projects/*‍/locations/*‍/collections/*‍/dataStores/*‍/siteSearchEngine`. */
12427
+ parent: string;
12428
+ /** Returns response with indentations and line breaks. */
12429
+ prettyPrint?: boolean;
12430
+ /** 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. */
12431
+ quotaUser?: string;
12432
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
12433
+ upload_protocol?: string;
12434
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
12435
+ uploadType?: string;
12436
+ /** Request body */
12437
+ resource: GoogleCloudDiscoveryengineV1alphaSitemap;
12438
+ }): Request<GoogleLongrunningOperation>;
12439
+ create(
12440
+ request: {
12441
+ /** V1 error format. */
12442
+ '$.xgafv'?: string;
12443
+ /** OAuth access token. */
12444
+ access_token?: string;
12445
+ /** Data format for response. */
12446
+ alt?: string;
12447
+ /** JSONP */
12448
+ callback?: string;
12449
+ /** Selector specifying which fields to include in a partial response. */
12450
+ fields?: string;
12451
+ /** 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. */
12452
+ key?: string;
12453
+ /** OAuth 2.0 token for the current user. */
12454
+ oauth_token?: string;
12455
+ /** Required. Parent resource name of the SiteSearchEngine, such as `projects/*‍/locations/*‍/collections/*‍/dataStores/*‍/siteSearchEngine`. */
12456
+ parent: string;
12457
+ /** Returns response with indentations and line breaks. */
12458
+ prettyPrint?: boolean;
12459
+ /** 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. */
12460
+ quotaUser?: string;
12461
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
12462
+ upload_protocol?: string;
12463
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
12464
+ uploadType?: string;
12465
+ },
12466
+ body: GoogleCloudDiscoveryengineV1alphaSitemap
12467
+ ): Request<GoogleLongrunningOperation>;
12468
+ /** Deletes a Sitemap. */
12469
+ delete(request?: {
12470
+ /** V1 error format. */
12471
+ '$.xgafv'?: string;
12472
+ /** OAuth access token. */
12473
+ access_token?: string;
12474
+ /** Data format for response. */
12475
+ alt?: string;
12476
+ /** JSONP */
12477
+ callback?: string;
12478
+ /** Selector specifying which fields to include in a partial response. */
12479
+ fields?: string;
12480
+ /** 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. */
12481
+ key?: string;
12482
+ /** 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. */
12483
+ name: string;
12484
+ /** OAuth 2.0 token for the current user. */
12485
+ oauth_token?: string;
12486
+ /** Returns response with indentations and line breaks. */
12487
+ prettyPrint?: boolean;
12488
+ /** 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. */
12489
+ quotaUser?: string;
12490
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
12491
+ upload_protocol?: string;
12492
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
12493
+ uploadType?: string;
12494
+ }): Request<GoogleLongrunningOperation>;
12495
+ /** Fetch Sitemaps in a DataStore. */
12496
+ fetch(request?: {
12497
+ /** V1 error format. */
12498
+ '$.xgafv'?: string;
12499
+ /** OAuth access token. */
12500
+ access_token?: string;
12501
+ /** Data format for response. */
12502
+ alt?: string;
12503
+ /** JSONP */
12504
+ callback?: string;
12505
+ /** Selector specifying which fields to include in a partial response. */
12506
+ fields?: string;
12507
+ /** 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. */
12508
+ key?: string;
12509
+ /** The Sitemap uris. */
12510
+ 'matcher.urisMatcher.uris'?: string | string[];
12511
+ /** OAuth 2.0 token for the current user. */
12512
+ oauth_token?: string;
12513
+ /** Required. Parent resource name of the SiteSearchEngine, such as `projects/*‍/locations/*‍/collections/*‍/dataStores/*‍/siteSearchEngine`. */
12514
+ parent: string;
12515
+ /** Returns response with indentations and line breaks. */
12516
+ prettyPrint?: boolean;
12517
+ /** 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. */
12518
+ quotaUser?: string;
12519
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
12520
+ upload_protocol?: string;
12521
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
12522
+ uploadType?: string;
12523
+ }): Request<GoogleCloudDiscoveryengineV1alphaFetchSitemapsResponse>;
12524
+ }
12231
12525
  interface TargetSitesResource {
12232
12526
  /** Creates TargetSite in a batch. */
12233
12527
  batchCreate(request: {
@@ -12664,6 +12958,7 @@ declare namespace gapi.client {
12664
12958
  },
12665
12959
  body: GoogleCloudDiscoveryengineV1alphaRecrawlUrisRequest
12666
12960
  ): Request<GoogleLongrunningOperation>;
12961
+ sitemaps: SitemapsResource;
12667
12962
  targetSites: TargetSitesResource;
12668
12963
  }
12669
12964
  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.20241031",
4
4
  "description": "TypeScript typings for Discovery Engine API v1alpha",
5
5
  "repository": {
6
6
  "type": "git",