@maxim_mazurok/gapi.client.discoveryengine-v1alpha 0.1.20251007 → 0.1.20251023
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 +839 -105
- package/package.json +1 -1
- package/readme.md +6 -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://discoveryengine.googleapis.com/$discovery/rest?version=v1alpha
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20251023
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -420,24 +420,6 @@ declare namespace gapi.client {
|
|
|
420
420
|
/** Required. The enrollment status of a customer. */
|
|
421
421
|
enrollState?: string;
|
|
422
422
|
}
|
|
423
|
-
interface GoogleCloudDiscoveryengineV1AlertPolicyResourceConfig {
|
|
424
|
-
/** Optional. The enrollment state of each alert. */
|
|
425
|
-
alertEnrollments?: GoogleCloudDiscoveryengineV1AlertPolicyResourceConfigAlertEnrollment[];
|
|
426
|
-
/** Immutable. The fully qualified resource name of the AlertPolicy. */
|
|
427
|
-
alertPolicy?: string;
|
|
428
|
-
/** Optional. The contact details for each alert policy. */
|
|
429
|
-
contactDetails?: GoogleCloudDiscoveryengineV1ContactDetails[];
|
|
430
|
-
/** Optional. The language code used for notifications */
|
|
431
|
-
languageCode?: string;
|
|
432
|
-
}
|
|
433
|
-
interface GoogleCloudDiscoveryengineV1AlertPolicyResourceConfigAlertEnrollment {
|
|
434
|
-
/** Immutable. The id of an alert. */
|
|
435
|
-
alertId?: string;
|
|
436
|
-
/** Required. The enrollment status of a customer. */
|
|
437
|
-
enrollState?: string;
|
|
438
|
-
/** Optional. Parameters used to instantiate a notification. Used for notifications that are triggered when registered. Not stored. * Gemini Business welcome emails. * Gemini Business user invitation emails. */
|
|
439
|
-
notificationParams?: {[P in string]: string};
|
|
440
|
-
}
|
|
441
423
|
interface GoogleCloudDiscoveryengineV1alphaAclConfig {
|
|
442
424
|
/** Identity provider config. */
|
|
443
425
|
idpConfig?: GoogleCloudDiscoveryengineV1alphaIdpConfig;
|
|
@@ -1162,6 +1144,8 @@ declare namespace gapi.client {
|
|
|
1162
1144
|
additionalSystemInstruction?: string;
|
|
1163
1145
|
}
|
|
1164
1146
|
interface GoogleCloudDiscoveryengineV1alphaAssistantGroundedContent {
|
|
1147
|
+
/** Source attribution of the generated content. See also https://cloud.google.com/vertex-ai/generative-ai/docs/learn/overview#citation_check */
|
|
1148
|
+
citationMetadata?: GoogleCloudDiscoveryengineV1alphaCitationMetadata;
|
|
1165
1149
|
/** The content. */
|
|
1166
1150
|
content?: GoogleCloudDiscoveryengineV1alphaAssistantContent;
|
|
1167
1151
|
/** Metadata for grounding based on text sources. */
|
|
@@ -1364,6 +1348,40 @@ declare namespace gapi.client {
|
|
|
1364
1348
|
/** The number of documents in a given branch. The key is a group representing a set of documents, and the value is the number of document in that group. Note: keys in this map may change over time. Supported keys: ['all']. */
|
|
1365
1349
|
documentCounts?: {[P in string]: string};
|
|
1366
1350
|
}
|
|
1351
|
+
interface GoogleCloudDiscoveryengineV1alphaCannedQuery {
|
|
1352
|
+
/** Required. The default (non-localized) values for the text attributes. */
|
|
1353
|
+
defaultTexts?: GoogleCloudDiscoveryengineV1alphaCannedQueryCannedQueryTexts;
|
|
1354
|
+
/** The display name of the canned query. It must be a UTF-8 encoded string with a length limit of 128 characters. */
|
|
1355
|
+
displayName?: string;
|
|
1356
|
+
/** Whether this canned query is enabled. */
|
|
1357
|
+
enabled?: boolean;
|
|
1358
|
+
/** Output only. Whether this is a Google-defined, read-only canned query. */
|
|
1359
|
+
googleDefined?: boolean;
|
|
1360
|
+
/** Optional. The translations of the text attributes. The keys should be BCP-47 language codes. */
|
|
1361
|
+
localizedTexts?: {
|
|
1362
|
+
[P in string]: GoogleCloudDiscoveryengineV1alphaCannedQueryCannedQueryTexts;
|
|
1363
|
+
};
|
|
1364
|
+
/** Immutable. Resource name of the canned query. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}/cannedQueries/{canned_query}` It must be a UTF-8 encoded string with a length limit of 1024 characters. */
|
|
1365
|
+
name?: string;
|
|
1366
|
+
/** Optional. The capabilities the Assistant needs to have to use this canned query. */
|
|
1367
|
+
requiredCapabilities?: GoogleCloudDiscoveryengineV1alphaCannedQueryAssistantCapability[];
|
|
1368
|
+
}
|
|
1369
|
+
interface GoogleCloudDiscoveryengineV1alphaCannedQueryAssistantCapability {
|
|
1370
|
+
/** The name of the action that the Assistant needs to have set up to use this canned query. */
|
|
1371
|
+
actionName?: string;
|
|
1372
|
+
}
|
|
1373
|
+
interface GoogleCloudDiscoveryengineV1alphaCannedQueryCannedQueryTexts {
|
|
1374
|
+
/** Optional. The prefix that `suggested_prompts` should start with. */
|
|
1375
|
+
prefix?: string;
|
|
1376
|
+
/** Required. The prompts the canned query will offer to the user. */
|
|
1377
|
+
suggestedPrompts?: GoogleCloudDiscoveryengineV1alphaCannedQuerySuggestedPrompt[];
|
|
1378
|
+
/** Required. The title that is for the end user. */
|
|
1379
|
+
title?: string;
|
|
1380
|
+
}
|
|
1381
|
+
interface GoogleCloudDiscoveryengineV1alphaCannedQuerySuggestedPrompt {
|
|
1382
|
+
/** Required. The text of the suggested prompt. */
|
|
1383
|
+
promptText?: string;
|
|
1384
|
+
}
|
|
1367
1385
|
interface GoogleCloudDiscoveryengineV1alphaCheckGroundingRequest {
|
|
1368
1386
|
/** Answer candidate to check. It can have a maximum length of 4096 tokens. */
|
|
1369
1387
|
answerCandidate?: string;
|
|
@@ -1408,6 +1426,10 @@ declare namespace gapi.client {
|
|
|
1408
1426
|
/** The control flag that enables claim-level grounding score in the response. */
|
|
1409
1427
|
enableClaimLevelScore?: boolean;
|
|
1410
1428
|
}
|
|
1429
|
+
interface GoogleCloudDiscoveryengineV1alphaCheckRefreshTokenResponse {
|
|
1430
|
+
/** Info about the stored refresh token. */
|
|
1431
|
+
refreshTokenInfo?: GoogleCloudDiscoveryengineV1alphaRefreshTokenInfo;
|
|
1432
|
+
}
|
|
1411
1433
|
interface GoogleCloudDiscoveryengineV1alphaCheckRequirementRequest {
|
|
1412
1434
|
/** The type specifying the requirement to check. The supported types are: * `discoveryengine.googleapis.com/media_recs/general/all/warning` * `discoveryengine.googleapis.com/media_recs/oyml/cvr/warning` * `discoveryengine.googleapis.com/media_recs/rfy/cvr/warning` * `discoveryengine.googleapis.com/media_recs/mlt/cvr/warning` * `discoveryengine.googleapis.com/media_recs/mp/cvr/warning` * `discoveryengine.googleapis.com/media_recs/oyml/wdps/warning` * `discoveryengine.googleapis.com/media_recs/rfy/wdps/warning` * `discoveryengine.googleapis.com/media_recs/mlt/wdps/warning` */
|
|
1413
1435
|
requirementType?: string;
|
|
@@ -1496,6 +1518,24 @@ declare namespace gapi.client {
|
|
|
1496
1518
|
/** Output only. The structure type of the structured content. */
|
|
1497
1519
|
structureType?: string;
|
|
1498
1520
|
}
|
|
1521
|
+
interface GoogleCloudDiscoveryengineV1alphaCitation {
|
|
1522
|
+
/** Output only. End index into the content. */
|
|
1523
|
+
endIndex?: number;
|
|
1524
|
+
/** Output only. License of the attribution. */
|
|
1525
|
+
license?: string;
|
|
1526
|
+
/** Output only. Publication date of the attribution. */
|
|
1527
|
+
publicationDate?: GoogleTypeDate;
|
|
1528
|
+
/** Output only. Start index into the content. */
|
|
1529
|
+
startIndex?: number;
|
|
1530
|
+
/** Output only. Title of the attribution. */
|
|
1531
|
+
title?: string;
|
|
1532
|
+
/** Output only. Url reference of the attribution. */
|
|
1533
|
+
uri?: string;
|
|
1534
|
+
}
|
|
1535
|
+
interface GoogleCloudDiscoveryengineV1alphaCitationMetadata {
|
|
1536
|
+
/** Output only. List of citations. */
|
|
1537
|
+
citations?: GoogleCloudDiscoveryengineV1alphaCitation[];
|
|
1538
|
+
}
|
|
1499
1539
|
interface GoogleCloudDiscoveryengineV1alphaCloudSqlSource {
|
|
1500
1540
|
/** Required. The Cloud SQL database to copy the data from with a length limit of 256 characters. */
|
|
1501
1541
|
databaseId?: string;
|
|
@@ -1592,6 +1632,26 @@ declare namespace gapi.client {
|
|
|
1592
1632
|
/** Start of time range. Range is inclusive. */
|
|
1593
1633
|
startTime?: string;
|
|
1594
1634
|
}
|
|
1635
|
+
interface GoogleCloudDiscoveryengineV1alphaConfigurablePricingUsageStats {
|
|
1636
|
+
/** A list of metric usages, one for each requested resource type that has data in the requested time range. */
|
|
1637
|
+
metricUsages?: GoogleCloudDiscoveryengineV1alphaConfigurablePricingUsageStatsMetricUsage[];
|
|
1638
|
+
/** Identifier. The name of the ConfigurablePricingUsageStats. Format: projects/{project}/locations/{location}/configurablePricingUsageStats */
|
|
1639
|
+
name?: string;
|
|
1640
|
+
}
|
|
1641
|
+
interface GoogleCloudDiscoveryengineV1alphaConfigurablePricingUsageStatsDatedUsage {
|
|
1642
|
+
/** The date of the usage. */
|
|
1643
|
+
date?: GoogleTypeDate;
|
|
1644
|
+
/** The usage value on the date. */
|
|
1645
|
+
usage?: number;
|
|
1646
|
+
}
|
|
1647
|
+
interface GoogleCloudDiscoveryengineV1alphaConfigurablePricingUsageStatsMetricUsage {
|
|
1648
|
+
/** The list of usages for this resource type, chronologically sorted by date. This is populated for metrics with daily aggregation like DAILY_MDN_QPM. */
|
|
1649
|
+
datedUsages?: GoogleCloudDiscoveryengineV1alphaConfigurablePricingUsageStatsDatedUsage[];
|
|
1650
|
+
/** The metric type. */
|
|
1651
|
+
metricType?: string;
|
|
1652
|
+
/** The list of total usages for this resource type */
|
|
1653
|
+
totalUsages?: number[];
|
|
1654
|
+
}
|
|
1595
1655
|
interface GoogleCloudDiscoveryengineV1alphaConnectorRun {
|
|
1596
1656
|
/** Output only. The time when the connector run ended. */
|
|
1597
1657
|
endTime?: string;
|
|
@@ -2105,6 +2165,12 @@ declare namespace gapi.client {
|
|
|
2105
2165
|
/** Operation last update time. If the operation is done, this is also the finish time. */
|
|
2106
2166
|
updateTime?: string;
|
|
2107
2167
|
}
|
|
2168
|
+
interface GoogleCloudDiscoveryengineV1alphaDeleteUserStoreMetadata {
|
|
2169
|
+
/** The number of end users under the user store that failed to be deleted. */
|
|
2170
|
+
failureCount?: string;
|
|
2171
|
+
/** The number of end users under the user store that were successfully deleted. */
|
|
2172
|
+
successCount?: string;
|
|
2173
|
+
}
|
|
2108
2174
|
interface GoogleCloudDiscoveryengineV1alphaDestinationConfig {
|
|
2109
2175
|
/** Optional. The destinations for the corresponding key. */
|
|
2110
2176
|
destinations?: GoogleCloudDiscoveryengineV1alphaDestinationConfigDestination[];
|
|
@@ -2129,6 +2195,20 @@ declare namespace gapi.client {
|
|
|
2129
2195
|
}
|
|
2130
2196
|
interface GoogleCloudDiscoveryengineV1alphaDisableAdvancedSiteSearchRequest {}
|
|
2131
2197
|
interface GoogleCloudDiscoveryengineV1alphaDisableAdvancedSiteSearchResponse {}
|
|
2198
|
+
interface GoogleCloudDiscoveryengineV1alphaDistributeLicenseConfigRequest {
|
|
2199
|
+
/** Optional. Distribute seats to this license config instead of creating a new one. If not specified, a new license config will be created from the billing account license config. */
|
|
2200
|
+
licenseConfigId?: string;
|
|
2201
|
+
/** Required. The number of licenses to distribute. */
|
|
2202
|
+
licenseCount?: string;
|
|
2203
|
+
/** Required. The target GCP project region to distribute the license config to. */
|
|
2204
|
+
location?: string;
|
|
2205
|
+
/** Required. The target GCP project number to distribute the license config to. */
|
|
2206
|
+
projectNumber?: string;
|
|
2207
|
+
}
|
|
2208
|
+
interface GoogleCloudDiscoveryengineV1alphaDistributeLicenseConfigResponse {
|
|
2209
|
+
/** The updated or created LicenseConfig. */
|
|
2210
|
+
licenseConfig?: GoogleCloudDiscoveryengineV1alphaLicenseConfig;
|
|
2211
|
+
}
|
|
2132
2212
|
interface GoogleCloudDiscoveryengineV1alphaDocument {
|
|
2133
2213
|
/** Access control information for the document. */
|
|
2134
2214
|
aclInfo?: GoogleCloudDiscoveryengineV1alphaDocumentAclInfo;
|
|
@@ -2899,6 +2979,8 @@ declare namespace gapi.client {
|
|
|
2899
2979
|
endDate?: GoogleTypeDate;
|
|
2900
2980
|
/** Optional. Whether the license config is for free trial. */
|
|
2901
2981
|
freeTrial?: boolean;
|
|
2982
|
+
/** Output only. Whether the license config is for Gemini bundle. */
|
|
2983
|
+
geminiBundle?: boolean;
|
|
2902
2984
|
/** Required. Number of licenses purchased. */
|
|
2903
2985
|
licenseCount?: string;
|
|
2904
2986
|
/** Immutable. Identifier. The fully qualified resource name of the license config. Format: `projects/{project}/locations/{location}/licenseConfigs/{license_config}` */
|
|
@@ -2916,6 +2998,12 @@ declare namespace gapi.client {
|
|
|
2916
2998
|
/** The Branches. */
|
|
2917
2999
|
branches?: GoogleCloudDiscoveryengineV1alphaBranch[];
|
|
2918
3000
|
}
|
|
3001
|
+
interface GoogleCloudDiscoveryengineV1alphaListCannedQueriesResponse {
|
|
3002
|
+
/** The list of CannedQuerys matching the request. */
|
|
3003
|
+
cannedQueries?: GoogleCloudDiscoveryengineV1alphaCannedQuery[];
|
|
3004
|
+
/** A token that can be sent as ListCannedQueriesRequest.page_token to retrieve the next page. If this field is omitted, there are no subsequent pages. */
|
|
3005
|
+
nextPageToken?: string;
|
|
3006
|
+
}
|
|
2919
3007
|
interface GoogleCloudDiscoveryengineV1alphaListChunksResponse {
|
|
2920
3008
|
/** The Chunks. */
|
|
2921
3009
|
chunks?: GoogleCloudDiscoveryengineV1alphaChunk[];
|
|
@@ -3156,6 +3244,8 @@ declare namespace gapi.client {
|
|
|
3156
3244
|
interface GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfig {
|
|
3157
3245
|
/** Model Armor configuration to be used for sanitizing user prompts and LLM responses. */
|
|
3158
3246
|
modelArmorConfig?: GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig;
|
|
3247
|
+
/** Optional. Whether to disable the notebook sharing feature for the project. Default to false if not specified. */
|
|
3248
|
+
optOutNotebookSharing?: boolean;
|
|
3159
3249
|
}
|
|
3160
3250
|
interface GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig {
|
|
3161
3251
|
/** Optional. The resource name of the Model Armor Template for sanitizing LLM responses. Format: projects/{project}/locations/{location}/templates/{template_id} If not specified, no sanitization will be applied to the LLM response. */
|
|
@@ -3538,6 +3628,18 @@ declare namespace gapi.client {
|
|
|
3538
3628
|
variableId?: string;
|
|
3539
3629
|
}
|
|
3540
3630
|
interface GoogleCloudDiscoveryengineV1alphaResumeEngineRequest {}
|
|
3631
|
+
interface GoogleCloudDiscoveryengineV1alphaRetractLicenseConfigRequest {
|
|
3632
|
+
/** Optional. If set to true, retract the entire license config. Otherwise, retract the specified license count. */
|
|
3633
|
+
fullRetract?: boolean;
|
|
3634
|
+
/** Required. Full resource name of LicenseConfig. Format: `projects/{project}/locations/{location}/licenseConfigs/{license_config_id}`. */
|
|
3635
|
+
licenseConfig?: string;
|
|
3636
|
+
/** Optional. The number of licenses to retract. Only used when full_retract is false. */
|
|
3637
|
+
licenseCount?: string;
|
|
3638
|
+
}
|
|
3639
|
+
interface GoogleCloudDiscoveryengineV1alphaRetractLicenseConfigResponse {
|
|
3640
|
+
/** The updated LicenseConfig. */
|
|
3641
|
+
licenseConfig?: GoogleCloudDiscoveryengineV1alphaLicenseConfig;
|
|
3642
|
+
}
|
|
3541
3643
|
interface GoogleCloudDiscoveryengineV1alphaSafetyRating {
|
|
3542
3644
|
/** Output only. Indicates whether the content was filtered out because of this rating. */
|
|
3543
3645
|
blocked?: boolean;
|
|
@@ -4232,6 +4334,8 @@ declare namespace gapi.client {
|
|
|
4232
4334
|
endTime?: string;
|
|
4233
4335
|
/** Optional. Whether the session is pinned, pinned session will be displayed on the top of the session list. */
|
|
4234
4336
|
isPinned?: boolean;
|
|
4337
|
+
/** Optional. The labels for the session. Can be set as filter in ListSessionsRequest. */
|
|
4338
|
+
labels?: string[];
|
|
4235
4339
|
/** Immutable. Fully qualified name `projects/{project}/locations/global/collections/{collection}/engines/{engine}/sessions/*` */
|
|
4236
4340
|
name?: string;
|
|
4237
4341
|
/** Output only. The time the session started. */
|
|
@@ -4387,7 +4491,7 @@ declare namespace gapi.client {
|
|
|
4387
4491
|
answer?: GoogleCloudDiscoveryengineV1alphaAssistAnswer;
|
|
4388
4492
|
/** A global unique ID that identifies the current pair of request and stream of responses. Used for feedback and support. */
|
|
4389
4493
|
assistToken?: string;
|
|
4390
|
-
/** Session information. */
|
|
4494
|
+
/** Session information. Only included in the final StreamAssistResponse of the response stream. */
|
|
4391
4495
|
sessionInfo?: GoogleCloudDiscoveryengineV1alphaStreamAssistResponseSessionInfo;
|
|
4392
4496
|
}
|
|
4393
4497
|
interface GoogleCloudDiscoveryengineV1alphaStreamAssistResponseSessionInfo {
|
|
@@ -4616,6 +4720,18 @@ declare namespace gapi.client {
|
|
|
4616
4720
|
/** Optional. The user profile. We user user full name(First name + Last name) as user profile. */
|
|
4617
4721
|
userProfile?: string;
|
|
4618
4722
|
}
|
|
4723
|
+
interface GoogleCloudDiscoveryengineV1alphaUserStore {
|
|
4724
|
+
/** Optional. The default subscription LicenseConfig for the UserStore, if UserStore.enable_license_auto_register is true, new users will automatically register under the default subscription. If default LicenseConfig doesn't have remaining license seats left, new users will not be assigned with license and will be blocked for Vertex AI Search features. This is used if `license_assignment_tier_rules` is not configured. */
|
|
4725
|
+
defaultLicenseConfig?: string;
|
|
4726
|
+
/** The display name of the User Store. */
|
|
4727
|
+
displayName?: string;
|
|
4728
|
+
/** Optional. Whether to enable license auto update for users in this User Store. If true, users with expired licenses will automatically be updated to use the default license config as long as the default license config has seats left. */
|
|
4729
|
+
enableExpiredLicenseAutoUpdate?: boolean;
|
|
4730
|
+
/** Optional. Whether to enable license auto register for users in this User Store. If true, new users will automatically register under the default license config as long as the default license config has seats left. */
|
|
4731
|
+
enableLicenseAutoRegister?: boolean;
|
|
4732
|
+
/** Immutable. The full resource name of the User Store, in the format of `projects/{project}/locations/{location}/userStores/{user_store}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters. */
|
|
4733
|
+
name?: string;
|
|
4734
|
+
}
|
|
4619
4735
|
interface GoogleCloudDiscoveryengineV1alphaVideoCharacteristics {
|
|
4620
4736
|
/** Output only. Bitrate of the audio in kbps. */
|
|
4621
4737
|
audioBitrateKbps?: number;
|
|
@@ -4689,6 +4805,8 @@ declare namespace gapi.client {
|
|
|
4689
4805
|
fieldsUiComponentsMap?: {
|
|
4690
4806
|
[P in string]: GoogleCloudDiscoveryengineV1alphaWidgetConfigUIComponentField;
|
|
4691
4807
|
};
|
|
4808
|
+
/** Output only. Whether the subscription is gemini bundle or not. */
|
|
4809
|
+
geminiBundle?: boolean;
|
|
4692
4810
|
/** Optional. Describes the homepage settings of the widget. */
|
|
4693
4811
|
homepageSetting?: GoogleCloudDiscoveryengineV1alphaWidgetConfigHomepageSetting;
|
|
4694
4812
|
/** Output only. The industry vertical that the WidgetConfig registers. The WidgetConfig industry vertical is based on the associated Engine. */
|
|
@@ -4787,7 +4905,7 @@ declare namespace gapi.client {
|
|
|
4787
4905
|
field?: string;
|
|
4788
4906
|
}
|
|
4789
4907
|
interface GoogleCloudDiscoveryengineV1alphaWidgetConfigHomepageSetting {
|
|
4790
|
-
/** Optional. The shortcuts to display on the homepage. LINT.IfChange(max_shortcuts_number) LINT.ThenChange(//depot/google3/cloud/console/web/ai/unified_cloud_search/components/widget_preview/widget_homepage_shortcut_config_form.ts:max_shortcuts_number) */
|
|
4908
|
+
/** Optional. The shortcuts to display on the homepage. LINT.IfChange(max_shortcuts_number) LINT.ThenChange( //depot/google3/cloud/console/web/ai/unified_cloud_search/components/widget_preview/widget_homepage_shortcut_config_form.ts:max_shortcuts_number ) */
|
|
4791
4909
|
shortcuts?: GoogleCloudDiscoveryengineV1alphaWidgetConfigHomepageSettingShortcut[];
|
|
4792
4910
|
}
|
|
4793
4911
|
interface GoogleCloudDiscoveryengineV1alphaWidgetConfigHomepageSettingShortcut {
|
|
@@ -4876,6 +4994,10 @@ declare namespace gapi.client {
|
|
|
4876
4994
|
/** The Google Workspace data source. */
|
|
4877
4995
|
type?: string;
|
|
4878
4996
|
}
|
|
4997
|
+
interface GoogleCloudDiscoveryengineV1alphaWorkspaceSettings {
|
|
4998
|
+
/** Whether an end user has workspace access enabled. */
|
|
4999
|
+
workspaceAccessEnabled?: boolean;
|
|
5000
|
+
}
|
|
4879
5001
|
interface GoogleCloudDiscoveryengineV1AnswerGenerationSpec {
|
|
4880
5002
|
/** Optional. The specification for user specified classifier spec. */
|
|
4881
5003
|
userDefinedClassifierSpec?: GoogleCloudDiscoveryengineV1AnswerGenerationSpecUserDefinedClassifierSpec;
|
|
@@ -4998,24 +5120,6 @@ declare namespace gapi.client {
|
|
|
4998
5120
|
/** If set true, initial indexing is disabled for the DataStore. */
|
|
4999
5121
|
disableInitialIndex?: boolean;
|
|
5000
5122
|
}
|
|
5001
|
-
interface GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfig {
|
|
5002
|
-
/** Optional. The enrollment state of each alert. */
|
|
5003
|
-
alertEnrollments?: GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfigAlertEnrollment[];
|
|
5004
|
-
/** Immutable. The fully qualified resource name of the AlertPolicy. */
|
|
5005
|
-
alertPolicy?: string;
|
|
5006
|
-
/** Optional. The contact details for each alert policy. */
|
|
5007
|
-
contactDetails?: GoogleCloudDiscoveryengineV1betaContactDetails[];
|
|
5008
|
-
/** Optional. The language code used for notifications */
|
|
5009
|
-
languageCode?: string;
|
|
5010
|
-
}
|
|
5011
|
-
interface GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfigAlertEnrollment {
|
|
5012
|
-
/** Immutable. The id of an alert. */
|
|
5013
|
-
alertId?: string;
|
|
5014
|
-
/** Required. The enrollment status of a customer. */
|
|
5015
|
-
enrollState?: string;
|
|
5016
|
-
/** Optional. Parameters used to instantiate a notification. Used for notifications that are triggered when registered. Not stored. * Gemini Business welcome emails. * Gemini Business user invitation emails. */
|
|
5017
|
-
notificationParams?: {[P in string]: string};
|
|
5018
|
-
}
|
|
5019
5123
|
interface GoogleCloudDiscoveryengineV1betaBatchCreateTargetSiteMetadata {
|
|
5020
5124
|
/** Operation create time. */
|
|
5021
5125
|
createTime?: string;
|
|
@@ -5080,10 +5184,6 @@ declare namespace gapi.client {
|
|
|
5080
5184
|
/** Start of time range. Range is inclusive. */
|
|
5081
5185
|
startTime?: string;
|
|
5082
5186
|
}
|
|
5083
|
-
interface GoogleCloudDiscoveryengineV1betaContactDetails {
|
|
5084
|
-
/** Optional. The email address of the contact. */
|
|
5085
|
-
emailAddress?: string;
|
|
5086
|
-
}
|
|
5087
5187
|
interface GoogleCloudDiscoveryengineV1betaControl {
|
|
5088
5188
|
/** Output only. List of all ServingConfig IDs this control is attached to. May take up to 10 minutes to update after changes. */
|
|
5089
5189
|
associatedServingConfigIds?: string[];
|
|
@@ -5633,14 +5733,14 @@ declare namespace gapi.client {
|
|
|
5633
5733
|
region?: string;
|
|
5634
5734
|
}
|
|
5635
5735
|
interface GoogleCloudDiscoveryengineV1betaLicenseConfig {
|
|
5636
|
-
/** Optional. The alert policy config for this license config. */
|
|
5637
|
-
alertPolicyResourceConfig?: GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfig;
|
|
5638
5736
|
/** Optional. Whether the license config should be auto renewed when it reaches the end date. */
|
|
5639
5737
|
autoRenew?: boolean;
|
|
5640
5738
|
/** Optional. The planed end date. */
|
|
5641
5739
|
endDate?: GoogleTypeDate;
|
|
5642
5740
|
/** Optional. Whether the license config is for free trial. */
|
|
5643
5741
|
freeTrial?: boolean;
|
|
5742
|
+
/** Output only. Whether the license config is for Gemini bundle. */
|
|
5743
|
+
geminiBundle?: boolean;
|
|
5644
5744
|
/** Required. Number of licenses purchased. */
|
|
5645
5745
|
licenseCount?: string;
|
|
5646
5746
|
/** Immutable. Identifier. The fully qualified resource name of the license config. Format: `projects/{project}/locations/{location}/licenseConfigs/{license_config}` */
|
|
@@ -5695,6 +5795,8 @@ declare namespace gapi.client {
|
|
|
5695
5795
|
interface GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfig {
|
|
5696
5796
|
/** Model Armor configuration to be used for sanitizing user prompts and LLM responses. */
|
|
5697
5797
|
modelArmorConfig?: GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig;
|
|
5798
|
+
/** Optional. Whether to disable the notebook sharing feature for the project. Default to false if not specified. */
|
|
5799
|
+
optOutNotebookSharing?: boolean;
|
|
5698
5800
|
}
|
|
5699
5801
|
interface GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig {
|
|
5700
5802
|
/** Optional. The resource name of the Model Armor Template for sanitizing LLM responses. Format: projects/{project}/locations/{location}/templates/{template_id} If not specified, no sanitization will be applied to the LLM response. */
|
|
@@ -6196,6 +6298,18 @@ declare namespace gapi.client {
|
|
|
6196
6298
|
/** Optional. The user profile. We user user full name(First name + Last name) as user profile. */
|
|
6197
6299
|
userProfile?: string;
|
|
6198
6300
|
}
|
|
6301
|
+
interface GoogleCloudDiscoveryengineV1betaUserStore {
|
|
6302
|
+
/** Optional. The default subscription LicenseConfig for the UserStore, if UserStore.enable_license_auto_register is true, new users will automatically register under the default subscription. If default LicenseConfig doesn't have remaining license seats left, new users will not be assigned with license and will be blocked for Vertex AI Search features. This is used if `license_assignment_tier_rules` is not configured. */
|
|
6303
|
+
defaultLicenseConfig?: string;
|
|
6304
|
+
/** The display name of the User Store. */
|
|
6305
|
+
displayName?: string;
|
|
6306
|
+
/** Optional. Whether to enable license auto update for users in this User Store. If true, users with expired licenses will automatically be updated to use the default license config as long as the default license config has seats left. */
|
|
6307
|
+
enableExpiredLicenseAutoUpdate?: boolean;
|
|
6308
|
+
/** Optional. Whether to enable license auto register for users in this User Store. If true, new users will automatically register under the default license config as long as the default license config has seats left. */
|
|
6309
|
+
enableLicenseAutoRegister?: boolean;
|
|
6310
|
+
/** Immutable. The full resource name of the User Store, in the format of `projects/{project}/locations/{location}/userStores/{user_store}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters. */
|
|
6311
|
+
name?: string;
|
|
6312
|
+
}
|
|
6199
6313
|
interface GoogleCloudDiscoveryengineV1betaWorkspaceConfig {
|
|
6200
6314
|
/** Obfuscated Dasher customer ID. */
|
|
6201
6315
|
dasherCustomerId?: string;
|
|
@@ -6252,10 +6366,6 @@ declare namespace gapi.client {
|
|
|
6252
6366
|
/** Start of time range. Range is inclusive. */
|
|
6253
6367
|
startTime?: string;
|
|
6254
6368
|
}
|
|
6255
|
-
interface GoogleCloudDiscoveryengineV1ContactDetails {
|
|
6256
|
-
/** Optional. The email address of the contact. */
|
|
6257
|
-
emailAddress?: string;
|
|
6258
|
-
}
|
|
6259
6369
|
interface GoogleCloudDiscoveryengineV1Control {
|
|
6260
6370
|
/** Output only. List of all ServingConfig IDs this control is attached to. May take up to 10 minutes to update after changes. */
|
|
6261
6371
|
associatedServingConfigIds?: string[];
|
|
@@ -6882,14 +6992,14 @@ declare namespace gapi.client {
|
|
|
6882
6992
|
unjoinedEventsCount?: string;
|
|
6883
6993
|
}
|
|
6884
6994
|
interface GoogleCloudDiscoveryengineV1LicenseConfig {
|
|
6885
|
-
/** Optional. The alert policy config for this license config. */
|
|
6886
|
-
alertPolicyResourceConfig?: GoogleCloudDiscoveryengineV1AlertPolicyResourceConfig;
|
|
6887
6995
|
/** Optional. Whether the license config should be auto renewed when it reaches the end date. */
|
|
6888
6996
|
autoRenew?: boolean;
|
|
6889
6997
|
/** Optional. The planed end date. */
|
|
6890
6998
|
endDate?: GoogleTypeDate;
|
|
6891
6999
|
/** Optional. Whether the license config is for free trial. */
|
|
6892
7000
|
freeTrial?: boolean;
|
|
7001
|
+
/** Output only. Whether the license config is for Gemini bundle. */
|
|
7002
|
+
geminiBundle?: boolean;
|
|
6893
7003
|
/** Required. Number of licenses purchased. */
|
|
6894
7004
|
licenseCount?: string;
|
|
6895
7005
|
/** Immutable. Identifier. The fully qualified resource name of the license config. Format: `projects/{project}/locations/{location}/licenseConfigs/{license_config}` */
|
|
@@ -6924,6 +7034,8 @@ declare namespace gapi.client {
|
|
|
6924
7034
|
interface GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfig {
|
|
6925
7035
|
/** Model Armor configuration to be used for sanitizing user prompts and LLM responses. */
|
|
6926
7036
|
modelArmorConfig?: GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig;
|
|
7037
|
+
/** Optional. Whether to disable the notebook sharing feature for the project. Default to false if not specified. */
|
|
7038
|
+
optOutNotebookSharing?: boolean;
|
|
6927
7039
|
}
|
|
6928
7040
|
interface GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig {
|
|
6929
7041
|
/** Optional. The resource name of the Model Armor Template for sanitizing LLM responses. Format: projects/{project}/locations/{location}/templates/{template_id} If not specified, no sanitization will be applied to the LLM response. */
|
|
@@ -7243,6 +7355,18 @@ declare namespace gapi.client {
|
|
|
7243
7355
|
/** Optional. The user profile. We user user full name(First name + Last name) as user profile. */
|
|
7244
7356
|
userProfile?: string;
|
|
7245
7357
|
}
|
|
7358
|
+
interface GoogleCloudDiscoveryengineV1UserStore {
|
|
7359
|
+
/** Optional. The default subscription LicenseConfig for the UserStore, if UserStore.enable_license_auto_register is true, new users will automatically register under the default subscription. If default LicenseConfig doesn't have remaining license seats left, new users will not be assigned with license and will be blocked for Vertex AI Search features. This is used if `license_assignment_tier_rules` is not configured. */
|
|
7360
|
+
defaultLicenseConfig?: string;
|
|
7361
|
+
/** The display name of the User Store. */
|
|
7362
|
+
displayName?: string;
|
|
7363
|
+
/** Optional. Whether to enable license auto update for users in this User Store. If true, users with expired licenses will automatically be updated to use the default license config as long as the default license config has seats left. */
|
|
7364
|
+
enableExpiredLicenseAutoUpdate?: boolean;
|
|
7365
|
+
/** Optional. Whether to enable license auto register for users in this User Store. If true, new users will automatically register under the default license config as long as the default license config has seats left. */
|
|
7366
|
+
enableLicenseAutoRegister?: boolean;
|
|
7367
|
+
/** Immutable. The full resource name of the User Store, in the format of `projects/{project}/locations/{location}/userStores/{user_store}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters. */
|
|
7368
|
+
name?: string;
|
|
7369
|
+
}
|
|
7246
7370
|
interface GoogleCloudDiscoveryengineV1WorkspaceConfig {
|
|
7247
7371
|
/** Obfuscated Dasher customer ID. */
|
|
7248
7372
|
dasherCustomerId?: string;
|
|
@@ -7637,6 +7761,127 @@ declare namespace gapi.client {
|
|
|
7637
7761
|
/** Optional. IANA Time Zone Database version number. For example "2019a". */
|
|
7638
7762
|
version?: string;
|
|
7639
7763
|
}
|
|
7764
|
+
interface BillingAccountLicenseConfigsResource {
|
|
7765
|
+
/** Distributes a LicenseConfig from billing account level to project level. */
|
|
7766
|
+
distributeLicenseConfig(request: {
|
|
7767
|
+
/** V1 error format. */
|
|
7768
|
+
'$.xgafv'?: string;
|
|
7769
|
+
/** OAuth access token. */
|
|
7770
|
+
access_token?: string;
|
|
7771
|
+
/** Data format for response. */
|
|
7772
|
+
alt?: string;
|
|
7773
|
+
/** Required. Full resource name of BillingAccountLicenseConfig. Format: `billingAccounts/{billing_account}/billingAccountLicenseConfigs/{billing_account_license_config_id}`. */
|
|
7774
|
+
billingAccountLicenseConfig: string;
|
|
7775
|
+
/** JSONP */
|
|
7776
|
+
callback?: string;
|
|
7777
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
7778
|
+
fields?: string;
|
|
7779
|
+
/** 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. */
|
|
7780
|
+
key?: string;
|
|
7781
|
+
/** OAuth 2.0 token for the current user. */
|
|
7782
|
+
oauth_token?: string;
|
|
7783
|
+
/** Returns response with indentations and line breaks. */
|
|
7784
|
+
prettyPrint?: boolean;
|
|
7785
|
+
/** 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. */
|
|
7786
|
+
quotaUser?: string;
|
|
7787
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
7788
|
+
upload_protocol?: string;
|
|
7789
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
7790
|
+
uploadType?: string;
|
|
7791
|
+
/** Request body */
|
|
7792
|
+
resource: GoogleCloudDiscoveryengineV1alphaDistributeLicenseConfigRequest;
|
|
7793
|
+
}): Request<GoogleCloudDiscoveryengineV1alphaDistributeLicenseConfigResponse>;
|
|
7794
|
+
distributeLicenseConfig(
|
|
7795
|
+
request: {
|
|
7796
|
+
/** V1 error format. */
|
|
7797
|
+
'$.xgafv'?: string;
|
|
7798
|
+
/** OAuth access token. */
|
|
7799
|
+
access_token?: string;
|
|
7800
|
+
/** Data format for response. */
|
|
7801
|
+
alt?: string;
|
|
7802
|
+
/** Required. Full resource name of BillingAccountLicenseConfig. Format: `billingAccounts/{billing_account}/billingAccountLicenseConfigs/{billing_account_license_config_id}`. */
|
|
7803
|
+
billingAccountLicenseConfig: string;
|
|
7804
|
+
/** JSONP */
|
|
7805
|
+
callback?: string;
|
|
7806
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
7807
|
+
fields?: string;
|
|
7808
|
+
/** 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. */
|
|
7809
|
+
key?: string;
|
|
7810
|
+
/** OAuth 2.0 token for the current user. */
|
|
7811
|
+
oauth_token?: string;
|
|
7812
|
+
/** Returns response with indentations and line breaks. */
|
|
7813
|
+
prettyPrint?: boolean;
|
|
7814
|
+
/** 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. */
|
|
7815
|
+
quotaUser?: string;
|
|
7816
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
7817
|
+
upload_protocol?: string;
|
|
7818
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
7819
|
+
uploadType?: string;
|
|
7820
|
+
},
|
|
7821
|
+
body: GoogleCloudDiscoveryengineV1alphaDistributeLicenseConfigRequest,
|
|
7822
|
+
): Request<GoogleCloudDiscoveryengineV1alphaDistributeLicenseConfigResponse>;
|
|
7823
|
+
/** This method is called from the billing account side to retract the LicenseConfig from the given project back to the billing account. */
|
|
7824
|
+
retractLicenseConfig(request: {
|
|
7825
|
+
/** V1 error format. */
|
|
7826
|
+
'$.xgafv'?: string;
|
|
7827
|
+
/** OAuth access token. */
|
|
7828
|
+
access_token?: string;
|
|
7829
|
+
/** Data format for response. */
|
|
7830
|
+
alt?: string;
|
|
7831
|
+
/** Required. Full resource name of BillingAccountLicenseConfig. Format: `billingAccounts/{billing_account}/billingAccountLicenseConfigs/{billing_account_license_config_id}`. */
|
|
7832
|
+
billingAccountLicenseConfig: string;
|
|
7833
|
+
/** JSONP */
|
|
7834
|
+
callback?: string;
|
|
7835
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
7836
|
+
fields?: string;
|
|
7837
|
+
/** 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. */
|
|
7838
|
+
key?: string;
|
|
7839
|
+
/** OAuth 2.0 token for the current user. */
|
|
7840
|
+
oauth_token?: string;
|
|
7841
|
+
/** Returns response with indentations and line breaks. */
|
|
7842
|
+
prettyPrint?: boolean;
|
|
7843
|
+
/** 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. */
|
|
7844
|
+
quotaUser?: string;
|
|
7845
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
7846
|
+
upload_protocol?: string;
|
|
7847
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
7848
|
+
uploadType?: string;
|
|
7849
|
+
/** Request body */
|
|
7850
|
+
resource: GoogleCloudDiscoveryengineV1alphaRetractLicenseConfigRequest;
|
|
7851
|
+
}): Request<GoogleCloudDiscoveryengineV1alphaRetractLicenseConfigResponse>;
|
|
7852
|
+
retractLicenseConfig(
|
|
7853
|
+
request: {
|
|
7854
|
+
/** V1 error format. */
|
|
7855
|
+
'$.xgafv'?: string;
|
|
7856
|
+
/** OAuth access token. */
|
|
7857
|
+
access_token?: string;
|
|
7858
|
+
/** Data format for response. */
|
|
7859
|
+
alt?: string;
|
|
7860
|
+
/** Required. Full resource name of BillingAccountLicenseConfig. Format: `billingAccounts/{billing_account}/billingAccountLicenseConfigs/{billing_account_license_config_id}`. */
|
|
7861
|
+
billingAccountLicenseConfig: string;
|
|
7862
|
+
/** JSONP */
|
|
7863
|
+
callback?: string;
|
|
7864
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
7865
|
+
fields?: string;
|
|
7866
|
+
/** 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. */
|
|
7867
|
+
key?: string;
|
|
7868
|
+
/** OAuth 2.0 token for the current user. */
|
|
7869
|
+
oauth_token?: string;
|
|
7870
|
+
/** Returns response with indentations and line breaks. */
|
|
7871
|
+
prettyPrint?: boolean;
|
|
7872
|
+
/** 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. */
|
|
7873
|
+
quotaUser?: string;
|
|
7874
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
7875
|
+
upload_protocol?: string;
|
|
7876
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
7877
|
+
uploadType?: string;
|
|
7878
|
+
},
|
|
7879
|
+
body: GoogleCloudDiscoveryengineV1alphaRetractLicenseConfigRequest,
|
|
7880
|
+
): Request<GoogleCloudDiscoveryengineV1alphaRetractLicenseConfigResponse>;
|
|
7881
|
+
}
|
|
7882
|
+
interface BillingAccountsResource {
|
|
7883
|
+
billingAccountLicenseConfigs: BillingAccountLicenseConfigsResource;
|
|
7884
|
+
}
|
|
7640
7885
|
interface MediaResource {
|
|
7641
7886
|
/** Downloads a file from the session. */
|
|
7642
7887
|
download(request?: {
|
|
@@ -7971,6 +8216,33 @@ declare namespace gapi.client {
|
|
|
7971
8216
|
},
|
|
7972
8217
|
body: GoogleCloudDiscoveryengineV1alphaAcquireAccessTokenRequest,
|
|
7973
8218
|
): Request<GoogleCloudDiscoveryengineV1alphaAcquireAccessTokenResponse>;
|
|
8219
|
+
/** Deprecated: Checks the existence of a refresh token for the EUC user for a given connection and returns its details. Use AcquireAccessToken instead and then check the validity of the returned token by asking the 3rd party system. There's no way to know for sure if a refresh token is valid without asking the 3rd party system. */
|
|
8220
|
+
checkRefreshToken(request?: {
|
|
8221
|
+
/** V1 error format. */
|
|
8222
|
+
'$.xgafv'?: string;
|
|
8223
|
+
/** OAuth access token. */
|
|
8224
|
+
access_token?: string;
|
|
8225
|
+
/** Data format for response. */
|
|
8226
|
+
alt?: string;
|
|
8227
|
+
/** JSONP */
|
|
8228
|
+
callback?: string;
|
|
8229
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
8230
|
+
fields?: string;
|
|
8231
|
+
/** 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. */
|
|
8232
|
+
key?: string;
|
|
8233
|
+
/** Required. The resource name of the connector for which a token is queried. */
|
|
8234
|
+
name: string;
|
|
8235
|
+
/** OAuth 2.0 token for the current user. */
|
|
8236
|
+
oauth_token?: string;
|
|
8237
|
+
/** Returns response with indentations and line breaks. */
|
|
8238
|
+
prettyPrint?: boolean;
|
|
8239
|
+
/** 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. */
|
|
8240
|
+
quotaUser?: string;
|
|
8241
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
8242
|
+
upload_protocol?: string;
|
|
8243
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
8244
|
+
uploadType?: string;
|
|
8245
|
+
}): Request<GoogleCloudDiscoveryengineV1alphaCheckRefreshTokenResponse>;
|
|
7974
8246
|
/** Get the secret for the associated connector. */
|
|
7975
8247
|
getConnectorSecret(request?: {
|
|
7976
8248
|
/** V1 error format. */
|
|
@@ -12186,36 +12458,9 @@ declare namespace gapi.client {
|
|
|
12186
12458
|
body: GoogleCloudDiscoveryengineV1alphaExportMetricsRequest,
|
|
12187
12459
|
): Request<GoogleLongrunningOperation>;
|
|
12188
12460
|
}
|
|
12189
|
-
interface
|
|
12190
|
-
/**
|
|
12191
|
-
|
|
12192
|
-
/** V1 error format. */
|
|
12193
|
-
'$.xgafv'?: string;
|
|
12194
|
-
/** OAuth access token. */
|
|
12195
|
-
access_token?: string;
|
|
12196
|
-
/** Data format for response. */
|
|
12197
|
-
alt?: string;
|
|
12198
|
-
/** JSONP */
|
|
12199
|
-
callback?: string;
|
|
12200
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
12201
|
-
fields?: string;
|
|
12202
|
-
/** 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. */
|
|
12203
|
-
key?: string;
|
|
12204
|
-
/** Required. Resource name of Assistant. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}` */
|
|
12205
|
-
name: string;
|
|
12206
|
-
/** OAuth 2.0 token for the current user. */
|
|
12207
|
-
oauth_token?: string;
|
|
12208
|
-
/** Returns response with indentations and line breaks. */
|
|
12209
|
-
prettyPrint?: boolean;
|
|
12210
|
-
/** 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. */
|
|
12211
|
-
quotaUser?: string;
|
|
12212
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
12213
|
-
upload_protocol?: string;
|
|
12214
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
12215
|
-
uploadType?: string;
|
|
12216
|
-
}): Request<GoogleCloudDiscoveryengineV1alphaAssistant>;
|
|
12217
|
-
/** Updates an Assistant */
|
|
12218
|
-
patch(request: {
|
|
12461
|
+
interface CannedQueriesResource {
|
|
12462
|
+
/** Creates a CannedQuery. */
|
|
12463
|
+
create(request: {
|
|
12219
12464
|
/** V1 error format. */
|
|
12220
12465
|
'$.xgafv'?: string;
|
|
12221
12466
|
/** OAuth access token. */
|
|
@@ -12224,28 +12469,28 @@ declare namespace gapi.client {
|
|
|
12224
12469
|
alt?: string;
|
|
12225
12470
|
/** JSONP */
|
|
12226
12471
|
callback?: string;
|
|
12472
|
+
/** Required. The ID to use for the canned query, which will become the final component of the canned query's resource name. This field must conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) with a length limit of 63 characters. */
|
|
12473
|
+
cannedQueryId?: string;
|
|
12227
12474
|
/** Selector specifying which fields to include in a partial response. */
|
|
12228
12475
|
fields?: string;
|
|
12229
12476
|
/** 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. */
|
|
12230
12477
|
key?: string;
|
|
12231
|
-
/** Immutable. Resource name of the assistant. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}` It must be a UTF-8 encoded string with a length limit of 1024 characters. */
|
|
12232
|
-
name: string;
|
|
12233
12478
|
/** OAuth 2.0 token for the current user. */
|
|
12234
12479
|
oauth_token?: string;
|
|
12480
|
+
/** Required. The parent resource name. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}` */
|
|
12481
|
+
parent: string;
|
|
12235
12482
|
/** Returns response with indentations and line breaks. */
|
|
12236
12483
|
prettyPrint?: boolean;
|
|
12237
12484
|
/** 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. */
|
|
12238
12485
|
quotaUser?: string;
|
|
12239
|
-
/** The list of fields to update. */
|
|
12240
|
-
updateMask?: string;
|
|
12241
12486
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
12242
12487
|
upload_protocol?: string;
|
|
12243
12488
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
12244
12489
|
uploadType?: string;
|
|
12245
12490
|
/** Request body */
|
|
12246
|
-
resource:
|
|
12247
|
-
}): Request<
|
|
12248
|
-
|
|
12491
|
+
resource: GoogleCloudDiscoveryengineV1alphaCannedQuery;
|
|
12492
|
+
}): Request<GoogleCloudDiscoveryengineV1alphaCannedQuery>;
|
|
12493
|
+
create(
|
|
12249
12494
|
request: {
|
|
12250
12495
|
/** V1 error format. */
|
|
12251
12496
|
'$.xgafv'?: string;
|
|
@@ -12255,29 +12500,29 @@ declare namespace gapi.client {
|
|
|
12255
12500
|
alt?: string;
|
|
12256
12501
|
/** JSONP */
|
|
12257
12502
|
callback?: string;
|
|
12503
|
+
/** Required. The ID to use for the canned query, which will become the final component of the canned query's resource name. This field must conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) with a length limit of 63 characters. */
|
|
12504
|
+
cannedQueryId?: string;
|
|
12258
12505
|
/** Selector specifying which fields to include in a partial response. */
|
|
12259
12506
|
fields?: string;
|
|
12260
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. */
|
|
12261
12508
|
key?: string;
|
|
12262
|
-
/** Immutable. Resource name of the assistant. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}` It must be a UTF-8 encoded string with a length limit of 1024 characters. */
|
|
12263
|
-
name: string;
|
|
12264
12509
|
/** OAuth 2.0 token for the current user. */
|
|
12265
12510
|
oauth_token?: string;
|
|
12511
|
+
/** Required. The parent resource name. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}` */
|
|
12512
|
+
parent: string;
|
|
12266
12513
|
/** Returns response with indentations and line breaks. */
|
|
12267
12514
|
prettyPrint?: boolean;
|
|
12268
12515
|
/** 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. */
|
|
12269
12516
|
quotaUser?: string;
|
|
12270
|
-
/** The list of fields to update. */
|
|
12271
|
-
updateMask?: string;
|
|
12272
12517
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
12273
12518
|
upload_protocol?: string;
|
|
12274
12519
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
12275
12520
|
uploadType?: string;
|
|
12276
12521
|
},
|
|
12277
|
-
body:
|
|
12278
|
-
): Request<
|
|
12279
|
-
/**
|
|
12280
|
-
|
|
12522
|
+
body: GoogleCloudDiscoveryengineV1alphaCannedQuery,
|
|
12523
|
+
): Request<GoogleCloudDiscoveryengineV1alphaCannedQuery>;
|
|
12524
|
+
/** Deletes a CannedQuery. */
|
|
12525
|
+
delete(request?: {
|
|
12281
12526
|
/** V1 error format. */
|
|
12282
12527
|
'$.xgafv'?: string;
|
|
12283
12528
|
/** OAuth access token. */
|
|
@@ -12290,7 +12535,7 @@ declare namespace gapi.client {
|
|
|
12290
12535
|
fields?: string;
|
|
12291
12536
|
/** 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. */
|
|
12292
12537
|
key?: string;
|
|
12293
|
-
/** Required.
|
|
12538
|
+
/** Required. Resource name of CannedQuery. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}/cannedQueries/{canned_query}` If the caller does not have permission to delete the canned query, regardless of whether or not it exists, a `PERMISSION_DENIED` error is returned. If the canned query to delete does not exist, a `NOT_FOUND` error is returned. */
|
|
12294
12539
|
name: string;
|
|
12295
12540
|
/** OAuth 2.0 token for the current user. */
|
|
12296
12541
|
oauth_token?: string;
|
|
@@ -12302,14 +12547,254 @@ declare namespace gapi.client {
|
|
|
12302
12547
|
upload_protocol?: string;
|
|
12303
12548
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
12304
12549
|
uploadType?: string;
|
|
12305
|
-
|
|
12306
|
-
|
|
12307
|
-
|
|
12308
|
-
|
|
12309
|
-
|
|
12310
|
-
|
|
12311
|
-
|
|
12312
|
-
|
|
12550
|
+
}): Request<{}>;
|
|
12551
|
+
/** Gets a CannedQuery. */
|
|
12552
|
+
get(request?: {
|
|
12553
|
+
/** V1 error format. */
|
|
12554
|
+
'$.xgafv'?: string;
|
|
12555
|
+
/** OAuth access token. */
|
|
12556
|
+
access_token?: string;
|
|
12557
|
+
/** Data format for response. */
|
|
12558
|
+
alt?: string;
|
|
12559
|
+
/** JSONP */
|
|
12560
|
+
callback?: string;
|
|
12561
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
12562
|
+
fields?: string;
|
|
12563
|
+
/** 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. */
|
|
12564
|
+
key?: string;
|
|
12565
|
+
/** Required. Resource name of CannedQuery. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}/cannedQueries/{canned_query}` */
|
|
12566
|
+
name: string;
|
|
12567
|
+
/** OAuth 2.0 token for the current user. */
|
|
12568
|
+
oauth_token?: string;
|
|
12569
|
+
/** Returns response with indentations and line breaks. */
|
|
12570
|
+
prettyPrint?: boolean;
|
|
12571
|
+
/** 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. */
|
|
12572
|
+
quotaUser?: string;
|
|
12573
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
12574
|
+
upload_protocol?: string;
|
|
12575
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
12576
|
+
uploadType?: string;
|
|
12577
|
+
}): Request<GoogleCloudDiscoveryengineV1alphaCannedQuery>;
|
|
12578
|
+
/** Lists all CannedQuerys under an Assistant. */
|
|
12579
|
+
list(request?: {
|
|
12580
|
+
/** V1 error format. */
|
|
12581
|
+
'$.xgafv'?: string;
|
|
12582
|
+
/** OAuth access token. */
|
|
12583
|
+
access_token?: string;
|
|
12584
|
+
/** Data format for response. */
|
|
12585
|
+
alt?: string;
|
|
12586
|
+
/** JSONP */
|
|
12587
|
+
callback?: string;
|
|
12588
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
12589
|
+
fields?: string;
|
|
12590
|
+
/** Optional. The filter expression. Supported fields: * `enabled` * `google_defined` Examples: * `enabled=true` * `google_defined=true` * `enabled=true AND google_defined=true` */
|
|
12591
|
+
filter?: string;
|
|
12592
|
+
/** 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. */
|
|
12593
|
+
key?: string;
|
|
12594
|
+
/** OAuth 2.0 token for the current user. */
|
|
12595
|
+
oauth_token?: string;
|
|
12596
|
+
/** Maximum number of canned queries to return. If unspecified, defaults to 100. The maximum allowed value is 1000; anything above that will be coerced down to 1000. */
|
|
12597
|
+
pageSize?: number;
|
|
12598
|
+
/** A page token received from a previous CannedQueryService.ListCannedQueries call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to CannedQueryService.ListCannedQueries must match the call that provided the page token. */
|
|
12599
|
+
pageToken?: string;
|
|
12600
|
+
/** Required. The parent resource name. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}` */
|
|
12601
|
+
parent: string;
|
|
12602
|
+
/** Returns response with indentations and line breaks. */
|
|
12603
|
+
prettyPrint?: boolean;
|
|
12604
|
+
/** 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. */
|
|
12605
|
+
quotaUser?: string;
|
|
12606
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
12607
|
+
upload_protocol?: string;
|
|
12608
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
12609
|
+
uploadType?: string;
|
|
12610
|
+
}): Request<GoogleCloudDiscoveryengineV1alphaListCannedQueriesResponse>;
|
|
12611
|
+
/** Updates a CannedQuery. */
|
|
12612
|
+
patch(request: {
|
|
12613
|
+
/** V1 error format. */
|
|
12614
|
+
'$.xgafv'?: string;
|
|
12615
|
+
/** OAuth access token. */
|
|
12616
|
+
access_token?: string;
|
|
12617
|
+
/** Data format for response. */
|
|
12618
|
+
alt?: string;
|
|
12619
|
+
/** JSONP */
|
|
12620
|
+
callback?: string;
|
|
12621
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
12622
|
+
fields?: string;
|
|
12623
|
+
/** 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. */
|
|
12624
|
+
key?: string;
|
|
12625
|
+
/** Immutable. Resource name of the canned query. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}/cannedQueries/{canned_query}` It must be a UTF-8 encoded string with a length limit of 1024 characters. */
|
|
12626
|
+
name: string;
|
|
12627
|
+
/** OAuth 2.0 token for the current user. */
|
|
12628
|
+
oauth_token?: string;
|
|
12629
|
+
/** Returns response with indentations and line breaks. */
|
|
12630
|
+
prettyPrint?: boolean;
|
|
12631
|
+
/** 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. */
|
|
12632
|
+
quotaUser?: string;
|
|
12633
|
+
/** The list of fields to update. */
|
|
12634
|
+
updateMask?: string;
|
|
12635
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
12636
|
+
upload_protocol?: string;
|
|
12637
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
12638
|
+
uploadType?: string;
|
|
12639
|
+
/** Request body */
|
|
12640
|
+
resource: GoogleCloudDiscoveryengineV1alphaCannedQuery;
|
|
12641
|
+
}): Request<GoogleCloudDiscoveryengineV1alphaCannedQuery>;
|
|
12642
|
+
patch(
|
|
12643
|
+
request: {
|
|
12644
|
+
/** V1 error format. */
|
|
12645
|
+
'$.xgafv'?: string;
|
|
12646
|
+
/** OAuth access token. */
|
|
12647
|
+
access_token?: string;
|
|
12648
|
+
/** Data format for response. */
|
|
12649
|
+
alt?: string;
|
|
12650
|
+
/** JSONP */
|
|
12651
|
+
callback?: string;
|
|
12652
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
12653
|
+
fields?: string;
|
|
12654
|
+
/** 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. */
|
|
12655
|
+
key?: string;
|
|
12656
|
+
/** Immutable. Resource name of the canned query. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}/cannedQueries/{canned_query}` It must be a UTF-8 encoded string with a length limit of 1024 characters. */
|
|
12657
|
+
name: string;
|
|
12658
|
+
/** OAuth 2.0 token for the current user. */
|
|
12659
|
+
oauth_token?: string;
|
|
12660
|
+
/** Returns response with indentations and line breaks. */
|
|
12661
|
+
prettyPrint?: boolean;
|
|
12662
|
+
/** 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. */
|
|
12663
|
+
quotaUser?: string;
|
|
12664
|
+
/** The list of fields to update. */
|
|
12665
|
+
updateMask?: string;
|
|
12666
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
12667
|
+
upload_protocol?: string;
|
|
12668
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
12669
|
+
uploadType?: string;
|
|
12670
|
+
},
|
|
12671
|
+
body: GoogleCloudDiscoveryengineV1alphaCannedQuery,
|
|
12672
|
+
): Request<GoogleCloudDiscoveryengineV1alphaCannedQuery>;
|
|
12673
|
+
}
|
|
12674
|
+
interface AssistantsResource {
|
|
12675
|
+
/** Gets an Assistant. */
|
|
12676
|
+
get(request?: {
|
|
12677
|
+
/** V1 error format. */
|
|
12678
|
+
'$.xgafv'?: string;
|
|
12679
|
+
/** OAuth access token. */
|
|
12680
|
+
access_token?: string;
|
|
12681
|
+
/** Data format for response. */
|
|
12682
|
+
alt?: string;
|
|
12683
|
+
/** JSONP */
|
|
12684
|
+
callback?: string;
|
|
12685
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
12686
|
+
fields?: string;
|
|
12687
|
+
/** 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. */
|
|
12688
|
+
key?: string;
|
|
12689
|
+
/** Required. Resource name of Assistant. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}` */
|
|
12690
|
+
name: string;
|
|
12691
|
+
/** OAuth 2.0 token for the current user. */
|
|
12692
|
+
oauth_token?: string;
|
|
12693
|
+
/** Returns response with indentations and line breaks. */
|
|
12694
|
+
prettyPrint?: boolean;
|
|
12695
|
+
/** 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. */
|
|
12696
|
+
quotaUser?: string;
|
|
12697
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
12698
|
+
upload_protocol?: string;
|
|
12699
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
12700
|
+
uploadType?: string;
|
|
12701
|
+
}): Request<GoogleCloudDiscoveryengineV1alphaAssistant>;
|
|
12702
|
+
/** Updates an Assistant */
|
|
12703
|
+
patch(request: {
|
|
12704
|
+
/** V1 error format. */
|
|
12705
|
+
'$.xgafv'?: string;
|
|
12706
|
+
/** OAuth access token. */
|
|
12707
|
+
access_token?: string;
|
|
12708
|
+
/** Data format for response. */
|
|
12709
|
+
alt?: string;
|
|
12710
|
+
/** JSONP */
|
|
12711
|
+
callback?: string;
|
|
12712
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
12713
|
+
fields?: string;
|
|
12714
|
+
/** 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. */
|
|
12715
|
+
key?: string;
|
|
12716
|
+
/** Immutable. Resource name of the assistant. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}` It must be a UTF-8 encoded string with a length limit of 1024 characters. */
|
|
12717
|
+
name: string;
|
|
12718
|
+
/** OAuth 2.0 token for the current user. */
|
|
12719
|
+
oauth_token?: string;
|
|
12720
|
+
/** Returns response with indentations and line breaks. */
|
|
12721
|
+
prettyPrint?: boolean;
|
|
12722
|
+
/** 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. */
|
|
12723
|
+
quotaUser?: string;
|
|
12724
|
+
/** The list of fields to update. */
|
|
12725
|
+
updateMask?: string;
|
|
12726
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
12727
|
+
upload_protocol?: string;
|
|
12728
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
12729
|
+
uploadType?: string;
|
|
12730
|
+
/** Request body */
|
|
12731
|
+
resource: GoogleCloudDiscoveryengineV1alphaAssistant;
|
|
12732
|
+
}): Request<GoogleCloudDiscoveryengineV1alphaAssistant>;
|
|
12733
|
+
patch(
|
|
12734
|
+
request: {
|
|
12735
|
+
/** V1 error format. */
|
|
12736
|
+
'$.xgafv'?: string;
|
|
12737
|
+
/** OAuth access token. */
|
|
12738
|
+
access_token?: string;
|
|
12739
|
+
/** Data format for response. */
|
|
12740
|
+
alt?: string;
|
|
12741
|
+
/** JSONP */
|
|
12742
|
+
callback?: string;
|
|
12743
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
12744
|
+
fields?: string;
|
|
12745
|
+
/** 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. */
|
|
12746
|
+
key?: string;
|
|
12747
|
+
/** Immutable. Resource name of the assistant. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}` It must be a UTF-8 encoded string with a length limit of 1024 characters. */
|
|
12748
|
+
name: string;
|
|
12749
|
+
/** OAuth 2.0 token for the current user. */
|
|
12750
|
+
oauth_token?: string;
|
|
12751
|
+
/** Returns response with indentations and line breaks. */
|
|
12752
|
+
prettyPrint?: boolean;
|
|
12753
|
+
/** 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. */
|
|
12754
|
+
quotaUser?: string;
|
|
12755
|
+
/** The list of fields to update. */
|
|
12756
|
+
updateMask?: string;
|
|
12757
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
12758
|
+
upload_protocol?: string;
|
|
12759
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
12760
|
+
uploadType?: string;
|
|
12761
|
+
},
|
|
12762
|
+
body: GoogleCloudDiscoveryengineV1alphaAssistant,
|
|
12763
|
+
): Request<GoogleCloudDiscoveryengineV1alphaAssistant>;
|
|
12764
|
+
/** Assists the user with a query in a streaming fashion. */
|
|
12765
|
+
streamAssist(request: {
|
|
12766
|
+
/** V1 error format. */
|
|
12767
|
+
'$.xgafv'?: string;
|
|
12768
|
+
/** OAuth access token. */
|
|
12769
|
+
access_token?: string;
|
|
12770
|
+
/** Data format for response. */
|
|
12771
|
+
alt?: string;
|
|
12772
|
+
/** JSONP */
|
|
12773
|
+
callback?: string;
|
|
12774
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
12775
|
+
fields?: string;
|
|
12776
|
+
/** 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. */
|
|
12777
|
+
key?: string;
|
|
12778
|
+
/** Required. The resource name of the Assistant. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}` */
|
|
12779
|
+
name: string;
|
|
12780
|
+
/** OAuth 2.0 token for the current user. */
|
|
12781
|
+
oauth_token?: string;
|
|
12782
|
+
/** Returns response with indentations and line breaks. */
|
|
12783
|
+
prettyPrint?: boolean;
|
|
12784
|
+
/** 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. */
|
|
12785
|
+
quotaUser?: string;
|
|
12786
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
12787
|
+
upload_protocol?: string;
|
|
12788
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
12789
|
+
uploadType?: string;
|
|
12790
|
+
/** Request body */
|
|
12791
|
+
resource: GoogleCloudDiscoveryengineV1alphaStreamAssistRequest;
|
|
12792
|
+
}): Request<GoogleCloudDiscoveryengineV1alphaStreamAssistResponse>;
|
|
12793
|
+
streamAssist(
|
|
12794
|
+
request: {
|
|
12795
|
+
/** V1 error format. */
|
|
12796
|
+
'$.xgafv'?: string;
|
|
12797
|
+
/** OAuth access token. */
|
|
12313
12798
|
access_token?: string;
|
|
12314
12799
|
/** Data format for response. */
|
|
12315
12800
|
alt?: string;
|
|
@@ -12334,6 +12819,7 @@ declare namespace gapi.client {
|
|
|
12334
12819
|
},
|
|
12335
12820
|
body: GoogleCloudDiscoveryengineV1alphaStreamAssistRequest,
|
|
12336
12821
|
): Request<GoogleCloudDiscoveryengineV1alphaStreamAssistResponse>;
|
|
12822
|
+
cannedQueries: CannedQueriesResource;
|
|
12337
12823
|
}
|
|
12338
12824
|
interface CompletionConfigResource {
|
|
12339
12825
|
/** Completes the user input with advanced keyword suggestions. */
|
|
@@ -13842,6 +14328,33 @@ declare namespace gapi.client {
|
|
|
13842
14328
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
13843
14329
|
uploadType?: string;
|
|
13844
14330
|
}): Request<GoogleCloudDiscoveryengineV1alphaEngine>;
|
|
14331
|
+
/** Get Workspace settings for the end user. */
|
|
14332
|
+
getWorkspaceSettings(request?: {
|
|
14333
|
+
/** V1 error format. */
|
|
14334
|
+
'$.xgafv'?: string;
|
|
14335
|
+
/** OAuth access token. */
|
|
14336
|
+
access_token?: string;
|
|
14337
|
+
/** Data format for response. */
|
|
14338
|
+
alt?: string;
|
|
14339
|
+
/** JSONP */
|
|
14340
|
+
callback?: string;
|
|
14341
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
14342
|
+
fields?: string;
|
|
14343
|
+
/** 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. */
|
|
14344
|
+
key?: string;
|
|
14345
|
+
/** Required. Full Engine resource name. Format: `projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}` */
|
|
14346
|
+
name: string;
|
|
14347
|
+
/** OAuth 2.0 token for the current user. */
|
|
14348
|
+
oauth_token?: string;
|
|
14349
|
+
/** Returns response with indentations and line breaks. */
|
|
14350
|
+
prettyPrint?: boolean;
|
|
14351
|
+
/** 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. */
|
|
14352
|
+
quotaUser?: string;
|
|
14353
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
14354
|
+
upload_protocol?: string;
|
|
14355
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
14356
|
+
uploadType?: string;
|
|
14357
|
+
}): Request<GoogleCloudDiscoveryengineV1alphaWorkspaceSettings>;
|
|
13845
14358
|
/** Lists all the Engines associated with the project. */
|
|
13846
14359
|
list(request?: {
|
|
13847
14360
|
/** V1 error format. */
|
|
@@ -20370,6 +20883,184 @@ declare namespace gapi.client {
|
|
|
20370
20883
|
},
|
|
20371
20884
|
body: GoogleCloudDiscoveryengineV1alphaBatchUpdateUserLicensesRequest,
|
|
20372
20885
|
): Request<GoogleLongrunningOperation>;
|
|
20886
|
+
/** Creates a new User Store. */
|
|
20887
|
+
create(request: {
|
|
20888
|
+
/** V1 error format. */
|
|
20889
|
+
'$.xgafv'?: string;
|
|
20890
|
+
/** OAuth access token. */
|
|
20891
|
+
access_token?: string;
|
|
20892
|
+
/** Data format for response. */
|
|
20893
|
+
alt?: string;
|
|
20894
|
+
/** JSONP */
|
|
20895
|
+
callback?: string;
|
|
20896
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
20897
|
+
fields?: string;
|
|
20898
|
+
/** 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. */
|
|
20899
|
+
key?: string;
|
|
20900
|
+
/** OAuth 2.0 token for the current user. */
|
|
20901
|
+
oauth_token?: string;
|
|
20902
|
+
/** Required. The parent collection resource name, such as `projects/{project}/locations/{location}`. */
|
|
20903
|
+
parent: string;
|
|
20904
|
+
/** Returns response with indentations and line breaks. */
|
|
20905
|
+
prettyPrint?: boolean;
|
|
20906
|
+
/** 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. */
|
|
20907
|
+
quotaUser?: string;
|
|
20908
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
20909
|
+
upload_protocol?: string;
|
|
20910
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
20911
|
+
uploadType?: string;
|
|
20912
|
+
/** Required. The ID of the User Store to create. The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 63 characters. */
|
|
20913
|
+
userStoreId?: string;
|
|
20914
|
+
/** Request body */
|
|
20915
|
+
resource: GoogleCloudDiscoveryengineV1alphaUserStore;
|
|
20916
|
+
}): Request<GoogleCloudDiscoveryengineV1alphaUserStore>;
|
|
20917
|
+
create(
|
|
20918
|
+
request: {
|
|
20919
|
+
/** V1 error format. */
|
|
20920
|
+
'$.xgafv'?: string;
|
|
20921
|
+
/** OAuth access token. */
|
|
20922
|
+
access_token?: string;
|
|
20923
|
+
/** Data format for response. */
|
|
20924
|
+
alt?: string;
|
|
20925
|
+
/** JSONP */
|
|
20926
|
+
callback?: string;
|
|
20927
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
20928
|
+
fields?: string;
|
|
20929
|
+
/** 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. */
|
|
20930
|
+
key?: string;
|
|
20931
|
+
/** OAuth 2.0 token for the current user. */
|
|
20932
|
+
oauth_token?: string;
|
|
20933
|
+
/** Required. The parent collection resource name, such as `projects/{project}/locations/{location}`. */
|
|
20934
|
+
parent: string;
|
|
20935
|
+
/** Returns response with indentations and line breaks. */
|
|
20936
|
+
prettyPrint?: boolean;
|
|
20937
|
+
/** 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. */
|
|
20938
|
+
quotaUser?: string;
|
|
20939
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
20940
|
+
upload_protocol?: string;
|
|
20941
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
20942
|
+
uploadType?: string;
|
|
20943
|
+
/** Required. The ID of the User Store to create. The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 63 characters. */
|
|
20944
|
+
userStoreId?: string;
|
|
20945
|
+
},
|
|
20946
|
+
body: GoogleCloudDiscoveryengineV1alphaUserStore,
|
|
20947
|
+
): Request<GoogleCloudDiscoveryengineV1alphaUserStore>;
|
|
20948
|
+
/** Deletes the User Store. */
|
|
20949
|
+
delete(request?: {
|
|
20950
|
+
/** V1 error format. */
|
|
20951
|
+
'$.xgafv'?: string;
|
|
20952
|
+
/** OAuth access token. */
|
|
20953
|
+
access_token?: string;
|
|
20954
|
+
/** Data format for response. */
|
|
20955
|
+
alt?: string;
|
|
20956
|
+
/** JSONP */
|
|
20957
|
+
callback?: string;
|
|
20958
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
20959
|
+
fields?: string;
|
|
20960
|
+
/** 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. */
|
|
20961
|
+
key?: string;
|
|
20962
|
+
/** Required. The name of the User Store to delete. Format: `projects/{project}/locations/{location}/userStores/{user_store_id}` */
|
|
20963
|
+
name: string;
|
|
20964
|
+
/** OAuth 2.0 token for the current user. */
|
|
20965
|
+
oauth_token?: string;
|
|
20966
|
+
/** Returns response with indentations and line breaks. */
|
|
20967
|
+
prettyPrint?: boolean;
|
|
20968
|
+
/** 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. */
|
|
20969
|
+
quotaUser?: string;
|
|
20970
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
20971
|
+
upload_protocol?: string;
|
|
20972
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
20973
|
+
uploadType?: string;
|
|
20974
|
+
}): Request<GoogleLongrunningOperation>;
|
|
20975
|
+
/** Gets the User Store. */
|
|
20976
|
+
get(request?: {
|
|
20977
|
+
/** V1 error format. */
|
|
20978
|
+
'$.xgafv'?: string;
|
|
20979
|
+
/** OAuth access token. */
|
|
20980
|
+
access_token?: string;
|
|
20981
|
+
/** Data format for response. */
|
|
20982
|
+
alt?: string;
|
|
20983
|
+
/** JSONP */
|
|
20984
|
+
callback?: string;
|
|
20985
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
20986
|
+
fields?: string;
|
|
20987
|
+
/** 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. */
|
|
20988
|
+
key?: string;
|
|
20989
|
+
/** Required. The name of the User Store to get. Format: `projects/{project}/locations/{location}/userStores/{user_store_id}` */
|
|
20990
|
+
name: string;
|
|
20991
|
+
/** OAuth 2.0 token for the current user. */
|
|
20992
|
+
oauth_token?: string;
|
|
20993
|
+
/** Returns response with indentations and line breaks. */
|
|
20994
|
+
prettyPrint?: boolean;
|
|
20995
|
+
/** 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. */
|
|
20996
|
+
quotaUser?: string;
|
|
20997
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
20998
|
+
upload_protocol?: string;
|
|
20999
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
21000
|
+
uploadType?: string;
|
|
21001
|
+
}): Request<GoogleCloudDiscoveryengineV1alphaUserStore>;
|
|
21002
|
+
/** Updates the User Store. */
|
|
21003
|
+
patch(request: {
|
|
21004
|
+
/** V1 error format. */
|
|
21005
|
+
'$.xgafv'?: string;
|
|
21006
|
+
/** OAuth access token. */
|
|
21007
|
+
access_token?: string;
|
|
21008
|
+
/** Data format for response. */
|
|
21009
|
+
alt?: string;
|
|
21010
|
+
/** JSONP */
|
|
21011
|
+
callback?: string;
|
|
21012
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
21013
|
+
fields?: string;
|
|
21014
|
+
/** 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. */
|
|
21015
|
+
key?: string;
|
|
21016
|
+
/** Immutable. The full resource name of the User Store, in the format of `projects/{project}/locations/{location}/userStores/{user_store}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters. */
|
|
21017
|
+
name: string;
|
|
21018
|
+
/** OAuth 2.0 token for the current user. */
|
|
21019
|
+
oauth_token?: string;
|
|
21020
|
+
/** Returns response with indentations and line breaks. */
|
|
21021
|
+
prettyPrint?: boolean;
|
|
21022
|
+
/** 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. */
|
|
21023
|
+
quotaUser?: string;
|
|
21024
|
+
/** Optional. The list of fields to update. */
|
|
21025
|
+
updateMask?: string;
|
|
21026
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
21027
|
+
upload_protocol?: string;
|
|
21028
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
21029
|
+
uploadType?: string;
|
|
21030
|
+
/** Request body */
|
|
21031
|
+
resource: GoogleCloudDiscoveryengineV1alphaUserStore;
|
|
21032
|
+
}): Request<GoogleCloudDiscoveryengineV1alphaUserStore>;
|
|
21033
|
+
patch(
|
|
21034
|
+
request: {
|
|
21035
|
+
/** V1 error format. */
|
|
21036
|
+
'$.xgafv'?: string;
|
|
21037
|
+
/** OAuth access token. */
|
|
21038
|
+
access_token?: string;
|
|
21039
|
+
/** Data format for response. */
|
|
21040
|
+
alt?: string;
|
|
21041
|
+
/** JSONP */
|
|
21042
|
+
callback?: string;
|
|
21043
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
21044
|
+
fields?: string;
|
|
21045
|
+
/** 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. */
|
|
21046
|
+
key?: string;
|
|
21047
|
+
/** Immutable. The full resource name of the User Store, in the format of `projects/{project}/locations/{location}/userStores/{user_store}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters. */
|
|
21048
|
+
name: string;
|
|
21049
|
+
/** OAuth 2.0 token for the current user. */
|
|
21050
|
+
oauth_token?: string;
|
|
21051
|
+
/** Returns response with indentations and line breaks. */
|
|
21052
|
+
prettyPrint?: boolean;
|
|
21053
|
+
/** 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. */
|
|
21054
|
+
quotaUser?: string;
|
|
21055
|
+
/** Optional. The list of fields to update. */
|
|
21056
|
+
updateMask?: string;
|
|
21057
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
21058
|
+
upload_protocol?: string;
|
|
21059
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
21060
|
+
uploadType?: string;
|
|
21061
|
+
},
|
|
21062
|
+
body: GoogleCloudDiscoveryengineV1alphaUserStore,
|
|
21063
|
+
): Request<GoogleCloudDiscoveryengineV1alphaUserStore>;
|
|
20373
21064
|
operations: OperationsResource;
|
|
20374
21065
|
userLicenses: UserLicensesResource;
|
|
20375
21066
|
}
|
|
@@ -20486,6 +21177,47 @@ declare namespace gapi.client {
|
|
|
20486
21177
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
20487
21178
|
uploadType?: string;
|
|
20488
21179
|
}): Request<GoogleCloudDiscoveryengineV1alphaCmekConfig>;
|
|
21180
|
+
/** Gets configurable pricing usage stats. */
|
|
21181
|
+
getConfigurablePricingUsageStats(request?: {
|
|
21182
|
+
/** V1 error format. */
|
|
21183
|
+
'$.xgafv'?: string;
|
|
21184
|
+
/** OAuth access token. */
|
|
21185
|
+
access_token?: string;
|
|
21186
|
+
/** Data format for response. */
|
|
21187
|
+
alt?: string;
|
|
21188
|
+
/** JSONP */
|
|
21189
|
+
callback?: string;
|
|
21190
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
21191
|
+
fields?: string;
|
|
21192
|
+
/** 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. */
|
|
21193
|
+
key?: string;
|
|
21194
|
+
/** Optional. The metric types to return usage for. */
|
|
21195
|
+
metricTypes?: string | string[];
|
|
21196
|
+
/** Required. The name of the ConfigurablePricingUsageStats to retrieve. Format: projects/{project}/locations/{location}/configurablePricingUsageStats */
|
|
21197
|
+
name: string;
|
|
21198
|
+
/** OAuth 2.0 token for the current user. */
|
|
21199
|
+
oauth_token?: string;
|
|
21200
|
+
/** Returns response with indentations and line breaks. */
|
|
21201
|
+
prettyPrint?: boolean;
|
|
21202
|
+
/** 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. */
|
|
21203
|
+
quotaUser?: string;
|
|
21204
|
+
/** Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant. */
|
|
21205
|
+
'timeRange.endDate.day'?: number;
|
|
21206
|
+
/** Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day. */
|
|
21207
|
+
'timeRange.endDate.month'?: number;
|
|
21208
|
+
/** Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year. */
|
|
21209
|
+
'timeRange.endDate.year'?: number;
|
|
21210
|
+
/** Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant. */
|
|
21211
|
+
'timeRange.startDate.day'?: number;
|
|
21212
|
+
/** Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day. */
|
|
21213
|
+
'timeRange.startDate.month'?: number;
|
|
21214
|
+
/** Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year. */
|
|
21215
|
+
'timeRange.startDate.year'?: number;
|
|
21216
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
21217
|
+
upload_protocol?: string;
|
|
21218
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
21219
|
+
uploadType?: string;
|
|
21220
|
+
}): Request<GoogleCloudDiscoveryengineV1alphaConfigurablePricingUsageStats>;
|
|
20489
21221
|
/** Obtains the time series data of organic or dedicated crawl rate for monitoring. When dedicated crawl rate is not set, it will return vertex AI's organic crawl rate time series. Organic crawl means Google automatically crawl the internet at its own convenience. When dedicated crawl rate is set, it will return vertex AI's dedicated crawl rate time series. */
|
|
20490
21222
|
obtainCrawlRate(request: {
|
|
20491
21223
|
/** V1 error format. */
|
|
@@ -21194,6 +21926,8 @@ declare namespace gapi.client {
|
|
|
21194
21926
|
operations: OperationsResource;
|
|
21195
21927
|
}
|
|
21196
21928
|
|
|
21929
|
+
const billingAccounts: BillingAccountsResource;
|
|
21930
|
+
|
|
21197
21931
|
const media: MediaResource;
|
|
21198
21932
|
|
|
21199
21933
|
const projects: ProjectsResource;
|
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -53,6 +53,12 @@ var client_id = '',
|
|
|
53
53
|
|
|
54
54
|
// See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.
|
|
55
55
|
'https://www.googleapis.com/auth/cloud-platform',
|
|
56
|
+
|
|
57
|
+
// View your Agentspace chat history, including uploaded files and generated reports and visualizations, and interact with the Agentspace assistant on your behalf.
|
|
58
|
+
'https://www.googleapis.com/auth/discoveryengine.assist.readwrite',
|
|
59
|
+
|
|
60
|
+
// View, edit, create, and delete all your data associated with any Discovery Engine API product, such as Agentspace, Vertex AI Search, or NotebookLM Enterprise, including both end user data and administration or configuration data.
|
|
61
|
+
'https://www.googleapis.com/auth/discoveryengine.readwrite',
|
|
56
62
|
],
|
|
57
63
|
immediate = true;
|
|
58
64
|
// ...
|