@maxim_mazurok/gapi.client.discoveryengine-v1beta 0.3.20260823 → 0.3.20260831
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.
- package/index.d.ts +122 -4
- 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:
|
|
12
|
+
// Revision: 20260831
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -1724,7 +1724,7 @@ declare namespace gapi.client {
|
|
|
1724
1724
|
disableAnalytics?: boolean;
|
|
1725
1725
|
/** Required. The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters. */
|
|
1726
1726
|
displayName?: string;
|
|
1727
|
-
/** Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `speech-to-text` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` * `in-app-notifications` */
|
|
1727
|
+
/** Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `speech-to-text` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `canvas-app-builder` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` * `in-app-notifications` */
|
|
1728
1728
|
features?: {
|
|
1729
1729
|
[P in string]:
|
|
1730
1730
|
| 'FEATURE_STATE_UNSPECIFIED'
|
|
@@ -5180,7 +5180,7 @@ declare namespace gapi.client {
|
|
|
5180
5180
|
disableAnalytics?: boolean;
|
|
5181
5181
|
/** Required. The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters. */
|
|
5182
5182
|
displayName?: string;
|
|
5183
|
-
/** Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `speech-to-text` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` * `in-app-notifications` */
|
|
5183
|
+
/** Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `speech-to-text` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `canvas-app-builder` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` * `in-app-notifications` */
|
|
5184
5184
|
features?: {
|
|
5185
5185
|
[P in string]:
|
|
5186
5186
|
| 'FEATURE_STATE_UNSPECIFIED'
|
|
@@ -8225,7 +8225,7 @@ declare namespace gapi.client {
|
|
|
8225
8225
|
disableAnalytics?: boolean;
|
|
8226
8226
|
/** Required. The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters. */
|
|
8227
8227
|
displayName?: string;
|
|
8228
|
-
/** Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `speech-to-text` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` * `in-app-notifications` */
|
|
8228
|
+
/** Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `speech-to-text` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `canvas-app-builder` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` * `in-app-notifications` */
|
|
8229
8229
|
features?: {
|
|
8230
8230
|
[P in string]:
|
|
8231
8231
|
| 'FEATURE_STATE_UNSPECIFIED'
|
|
@@ -13098,6 +13098,35 @@ declare namespace gapi.client {
|
|
|
13098
13098
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
13099
13099
|
uploadType?: string;
|
|
13100
13100
|
}): Request<GoogleCloudDiscoveryengineV1betaDataStore>;
|
|
13101
|
+
/** Gets the IAM access control policy for a DataStore. A `NOT_FOUND` error is returned if the resource does not exist. An empty policy is returned if the resource exists but does not have a policy set on it. */
|
|
13102
|
+
getIamPolicy(request?: {
|
|
13103
|
+
/** V1 error format. */
|
|
13104
|
+
'$.xgafv'?: '1' | '2';
|
|
13105
|
+
/** OAuth access token. */
|
|
13106
|
+
access_token?: string;
|
|
13107
|
+
/** Data format for response. */
|
|
13108
|
+
alt?: 'json' | 'media' | 'proto';
|
|
13109
|
+
/** JSONP */
|
|
13110
|
+
callback?: string;
|
|
13111
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
13112
|
+
fields?: string;
|
|
13113
|
+
/** 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. */
|
|
13114
|
+
key?: string;
|
|
13115
|
+
/** OAuth 2.0 token for the current user. */
|
|
13116
|
+
oauth_token?: string;
|
|
13117
|
+
/** Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). */
|
|
13118
|
+
'options.requestedPolicyVersion'?: number;
|
|
13119
|
+
/** Returns response with indentations and line breaks. */
|
|
13120
|
+
prettyPrint?: boolean;
|
|
13121
|
+
/** 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. */
|
|
13122
|
+
quotaUser?: string;
|
|
13123
|
+
/** REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. */
|
|
13124
|
+
resource: string;
|
|
13125
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
13126
|
+
upload_protocol?: string;
|
|
13127
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
13128
|
+
uploadType?: string;
|
|
13129
|
+
}): Request<GoogleIamV1Policy>;
|
|
13101
13130
|
/** Gets the SiteSearchEngine. */
|
|
13102
13131
|
getSiteSearchEngine(request?: {
|
|
13103
13132
|
/** V1 error format. */
|
|
@@ -13220,6 +13249,36 @@ declare namespace gapi.client {
|
|
|
13220
13249
|
},
|
|
13221
13250
|
body: GoogleCloudDiscoveryengineV1betaDataStore,
|
|
13222
13251
|
): Request<GoogleCloudDiscoveryengineV1betaDataStore>;
|
|
13252
|
+
/** Sets the IAM access control policy for a DataStore. A `NOT_FOUND` error is returned if the resource does not exist. **Important:** When setting a policy directly on a DataStore resource, the only recommended roles in the bindings are: `roles/discoveryengine.admin` `roles/discoveryengine.agentspaceAdmin` `roles/discoveryengine.viewer` `roles/discoveryengine.agentspaceViewer` `roles/discoveryengine.user` `roles/discoveryengine.agentspaceUser` Attempting to grant any other role will result in a warning in logging. */
|
|
13253
|
+
setIamPolicy(
|
|
13254
|
+
request: {
|
|
13255
|
+
/** V1 error format. */
|
|
13256
|
+
'$.xgafv'?: '1' | '2';
|
|
13257
|
+
/** OAuth access token. */
|
|
13258
|
+
access_token?: string;
|
|
13259
|
+
/** Data format for response. */
|
|
13260
|
+
alt?: 'json' | 'media' | 'proto';
|
|
13261
|
+
/** JSONP */
|
|
13262
|
+
callback?: string;
|
|
13263
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
13264
|
+
fields?: string;
|
|
13265
|
+
/** 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. */
|
|
13266
|
+
key?: string;
|
|
13267
|
+
/** OAuth 2.0 token for the current user. */
|
|
13268
|
+
oauth_token?: string;
|
|
13269
|
+
/** Returns response with indentations and line breaks. */
|
|
13270
|
+
prettyPrint?: boolean;
|
|
13271
|
+
/** 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. */
|
|
13272
|
+
quotaUser?: string;
|
|
13273
|
+
/** REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. */
|
|
13274
|
+
resource: string;
|
|
13275
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
13276
|
+
upload_protocol?: string;
|
|
13277
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
13278
|
+
uploadType?: string;
|
|
13279
|
+
},
|
|
13280
|
+
body: GoogleIamV1SetIamPolicyRequest,
|
|
13281
|
+
): Request<GoogleIamV1Policy>;
|
|
13223
13282
|
/** Trains a custom model. */
|
|
13224
13283
|
trainCustomModel(request: {
|
|
13225
13284
|
/** V1 error format. */
|
|
@@ -18822,6 +18881,35 @@ declare namespace gapi.client {
|
|
|
18822
18881
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
18823
18882
|
uploadType?: string;
|
|
18824
18883
|
}): Request<GoogleCloudDiscoveryengineV1betaDataStore>;
|
|
18884
|
+
/** Gets the IAM access control policy for a DataStore. A `NOT_FOUND` error is returned if the resource does not exist. An empty policy is returned if the resource exists but does not have a policy set on it. */
|
|
18885
|
+
getIamPolicy(request?: {
|
|
18886
|
+
/** V1 error format. */
|
|
18887
|
+
'$.xgafv'?: '1' | '2';
|
|
18888
|
+
/** OAuth access token. */
|
|
18889
|
+
access_token?: string;
|
|
18890
|
+
/** Data format for response. */
|
|
18891
|
+
alt?: 'json' | 'media' | 'proto';
|
|
18892
|
+
/** JSONP */
|
|
18893
|
+
callback?: string;
|
|
18894
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
18895
|
+
fields?: string;
|
|
18896
|
+
/** 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. */
|
|
18897
|
+
key?: string;
|
|
18898
|
+
/** OAuth 2.0 token for the current user. */
|
|
18899
|
+
oauth_token?: string;
|
|
18900
|
+
/** Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). */
|
|
18901
|
+
'options.requestedPolicyVersion'?: number;
|
|
18902
|
+
/** Returns response with indentations and line breaks. */
|
|
18903
|
+
prettyPrint?: boolean;
|
|
18904
|
+
/** 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. */
|
|
18905
|
+
quotaUser?: string;
|
|
18906
|
+
/** REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. */
|
|
18907
|
+
resource: string;
|
|
18908
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
18909
|
+
upload_protocol?: string;
|
|
18910
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
18911
|
+
uploadType?: string;
|
|
18912
|
+
}): Request<GoogleIamV1Policy>;
|
|
18825
18913
|
/** Gets the SiteSearchEngine. */
|
|
18826
18914
|
getSiteSearchEngine(request?: {
|
|
18827
18915
|
/** V1 error format. */
|
|
@@ -18944,6 +19032,36 @@ declare namespace gapi.client {
|
|
|
18944
19032
|
},
|
|
18945
19033
|
body: GoogleCloudDiscoveryengineV1betaDataStore,
|
|
18946
19034
|
): Request<GoogleCloudDiscoveryengineV1betaDataStore>;
|
|
19035
|
+
/** Sets the IAM access control policy for a DataStore. A `NOT_FOUND` error is returned if the resource does not exist. **Important:** When setting a policy directly on a DataStore resource, the only recommended roles in the bindings are: `roles/discoveryengine.admin` `roles/discoveryengine.agentspaceAdmin` `roles/discoveryengine.viewer` `roles/discoveryengine.agentspaceViewer` `roles/discoveryengine.user` `roles/discoveryengine.agentspaceUser` Attempting to grant any other role will result in a warning in logging. */
|
|
19036
|
+
setIamPolicy(
|
|
19037
|
+
request: {
|
|
19038
|
+
/** V1 error format. */
|
|
19039
|
+
'$.xgafv'?: '1' | '2';
|
|
19040
|
+
/** OAuth access token. */
|
|
19041
|
+
access_token?: string;
|
|
19042
|
+
/** Data format for response. */
|
|
19043
|
+
alt?: 'json' | 'media' | 'proto';
|
|
19044
|
+
/** JSONP */
|
|
19045
|
+
callback?: string;
|
|
19046
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
19047
|
+
fields?: string;
|
|
19048
|
+
/** 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. */
|
|
19049
|
+
key?: string;
|
|
19050
|
+
/** OAuth 2.0 token for the current user. */
|
|
19051
|
+
oauth_token?: string;
|
|
19052
|
+
/** Returns response with indentations and line breaks. */
|
|
19053
|
+
prettyPrint?: boolean;
|
|
19054
|
+
/** 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. */
|
|
19055
|
+
quotaUser?: string;
|
|
19056
|
+
/** REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. */
|
|
19057
|
+
resource: string;
|
|
19058
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
19059
|
+
upload_protocol?: string;
|
|
19060
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
19061
|
+
uploadType?: string;
|
|
19062
|
+
},
|
|
19063
|
+
body: GoogleIamV1SetIamPolicyRequest,
|
|
19064
|
+
): Request<GoogleIamV1Policy>;
|
|
18947
19065
|
branches: BranchesResource;
|
|
18948
19066
|
completionConfig: CompletionConfigResource;
|
|
18949
19067
|
completionSuggestions: CompletionSuggestionsResource;
|