@maxim_mazurok/gapi.client.cloudsearch-v1 0.0.20240508 → 0.0.20240529

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 (3) hide show
  1. package/index.d.ts +63 -1
  2. package/package.json +1 -1
  3. package/readme.md +5 -0
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://cloudsearch.googleapis.com/$discovery/rest?version=v1
12
- // Revision: 20240508
12
+ // Revision: 20240529
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -202,6 +202,14 @@ declare namespace gapi.client {
202
202
  /** If you are asked by Google to help with debugging, set this field. Otherwise, ignore this field. */
203
203
  enableDebugging?: boolean;
204
204
  }
205
+ interface DebugResponse {
206
+ /** Serialized string of GenericSearchRequest. */
207
+ gsrRequest?: string;
208
+ /** Serialized string of GenericSearchResponse. */
209
+ gsrResponse?: string;
210
+ /** Search response. */
211
+ searchResponse?: SearchResponse;
212
+ }
205
213
  interface DeleteQueueItemsRequest {
206
214
  /** The name of connector making this call. Format: datasources/{source_id}/connectors/{ID} */
207
215
  connectorName?: string;
@@ -2843,6 +2851,60 @@ declare namespace gapi.client {
2843
2851
  }): Request<ListQuerySourcesResponse>;
2844
2852
  }
2845
2853
  interface QueryResource {
2854
+ /** Returns Debug information for Cloud Search Query API provides the search method. **Note:** This API requires a standard end user account to execute. A service account can't perform Query API requests directly; to use a service account to perform queries, set up [Google Workspace domain-wide delegation of authority](https://developers.google.com/cloud-search/docs/guides/delegation/). */
2855
+ debugSearch(request: {
2856
+ /** V1 error format. */
2857
+ '$.xgafv'?: string;
2858
+ /** OAuth access token. */
2859
+ access_token?: string;
2860
+ /** Data format for response. */
2861
+ alt?: string;
2862
+ /** JSONP */
2863
+ callback?: string;
2864
+ /** Selector specifying which fields to include in a partial response. */
2865
+ fields?: string;
2866
+ /** 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. */
2867
+ key?: string;
2868
+ /** OAuth 2.0 token for the current user. */
2869
+ oauth_token?: string;
2870
+ /** Returns response with indentations and line breaks. */
2871
+ prettyPrint?: boolean;
2872
+ /** 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. */
2873
+ quotaUser?: string;
2874
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2875
+ upload_protocol?: string;
2876
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2877
+ uploadType?: string;
2878
+ /** Request body */
2879
+ resource: SearchRequest;
2880
+ }): Request<DebugResponse>;
2881
+ debugSearch(
2882
+ request: {
2883
+ /** V1 error format. */
2884
+ '$.xgafv'?: string;
2885
+ /** OAuth access token. */
2886
+ access_token?: string;
2887
+ /** Data format for response. */
2888
+ alt?: string;
2889
+ /** JSONP */
2890
+ callback?: string;
2891
+ /** Selector specifying which fields to include in a partial response. */
2892
+ fields?: string;
2893
+ /** 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. */
2894
+ key?: string;
2895
+ /** OAuth 2.0 token for the current user. */
2896
+ oauth_token?: string;
2897
+ /** Returns response with indentations and line breaks. */
2898
+ prettyPrint?: boolean;
2899
+ /** 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. */
2900
+ quotaUser?: string;
2901
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2902
+ upload_protocol?: string;
2903
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2904
+ uploadType?: string;
2905
+ },
2906
+ body: SearchRequest
2907
+ ): Request<DebugResponse>;
2846
2908
  /** Provides functionality to remove logged activity for a user. Currently to be used only for Chat 1p clients **Note:** This API requires a standard end user account to execute. A service account can't perform Remove Activity requests directly; to use a service account to perform queries, set up [Google Workspace domain-wide delegation of authority](https://developers.google.com/cloud-search/docs/guides/delegation/). */
2847
2909
  removeActivity(request: {
2848
2910
  /** V1 error format. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.cloudsearch-v1",
3
- "version": "0.0.20240508",
3
+ "version": "0.0.20240529",
4
4
  "description": "TypeScript typings for Cloud Search API v1",
5
5
  "repository": {
6
6
  "type": "git",
package/readme.md CHANGED
@@ -103,6 +103,11 @@ Gets the latest state of a long-running operation. Clients can use this method t
103
103
  */
104
104
  await gapi.client.cloudsearch.operations.get({name: 'name'});
105
105
 
106
+ /*
107
+ Returns Debug information for Cloud Search Query API provides the search method. **Note:** This API requires a standard end user account to execute. A service account can't perform Query API requests directly; to use a service account to perform queries, set up [Google Workspace domain-wide delegation of authority](https://developers.google.com/cloud-search/docs/guides/delegation/).
108
+ */
109
+ await gapi.client.cloudsearch.query.debugSearch({});
110
+
106
111
  /*
107
112
  Provides functionality to remove logged activity for a user. Currently to be used only for Chat 1p clients **Note:** This API requires a standard end user account to execute. A service account can't perform Remove Activity requests directly; to use a service account to perform queries, set up [Google Workspace domain-wide delegation of authority](https://developers.google.com/cloud-search/docs/guides/delegation/).
108
113
  */