@maxim_mazurok/gapi.client.discoveryengine-v1alpha 0.1.20251008 → 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 +804 -132
- 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;
|
|
@@ -1500,6 +1518,24 @@ declare namespace gapi.client {
|
|
|
1500
1518
|
/** Output only. The structure type of the structured content. */
|
|
1501
1519
|
structureType?: string;
|
|
1502
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
|
+
}
|
|
1503
1539
|
interface GoogleCloudDiscoveryengineV1alphaCloudSqlSource {
|
|
1504
1540
|
/** Required. The Cloud SQL database to copy the data from with a length limit of 256 characters. */
|
|
1505
1541
|
databaseId?: string;
|
|
@@ -1596,6 +1632,26 @@ declare namespace gapi.client {
|
|
|
1596
1632
|
/** Start of time range. Range is inclusive. */
|
|
1597
1633
|
startTime?: string;
|
|
1598
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
|
+
}
|
|
1599
1655
|
interface GoogleCloudDiscoveryengineV1alphaConnectorRun {
|
|
1600
1656
|
/** Output only. The time when the connector run ended. */
|
|
1601
1657
|
endTime?: string;
|
|
@@ -2109,6 +2165,12 @@ declare namespace gapi.client {
|
|
|
2109
2165
|
/** Operation last update time. If the operation is done, this is also the finish time. */
|
|
2110
2166
|
updateTime?: string;
|
|
2111
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
|
+
}
|
|
2112
2174
|
interface GoogleCloudDiscoveryengineV1alphaDestinationConfig {
|
|
2113
2175
|
/** Optional. The destinations for the corresponding key. */
|
|
2114
2176
|
destinations?: GoogleCloudDiscoveryengineV1alphaDestinationConfigDestination[];
|
|
@@ -2133,6 +2195,20 @@ declare namespace gapi.client {
|
|
|
2133
2195
|
}
|
|
2134
2196
|
interface GoogleCloudDiscoveryengineV1alphaDisableAdvancedSiteSearchRequest {}
|
|
2135
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
|
+
}
|
|
2136
2212
|
interface GoogleCloudDiscoveryengineV1alphaDocument {
|
|
2137
2213
|
/** Access control information for the document. */
|
|
2138
2214
|
aclInfo?: GoogleCloudDiscoveryengineV1alphaDocumentAclInfo;
|
|
@@ -2903,6 +2979,8 @@ declare namespace gapi.client {
|
|
|
2903
2979
|
endDate?: GoogleTypeDate;
|
|
2904
2980
|
/** Optional. Whether the license config is for free trial. */
|
|
2905
2981
|
freeTrial?: boolean;
|
|
2982
|
+
/** Output only. Whether the license config is for Gemini bundle. */
|
|
2983
|
+
geminiBundle?: boolean;
|
|
2906
2984
|
/** Required. Number of licenses purchased. */
|
|
2907
2985
|
licenseCount?: string;
|
|
2908
2986
|
/** Immutable. Identifier. The fully qualified resource name of the license config. Format: `projects/{project}/locations/{location}/licenseConfigs/{license_config}` */
|
|
@@ -2920,6 +2998,12 @@ declare namespace gapi.client {
|
|
|
2920
2998
|
/** The Branches. */
|
|
2921
2999
|
branches?: GoogleCloudDiscoveryengineV1alphaBranch[];
|
|
2922
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
|
+
}
|
|
2923
3007
|
interface GoogleCloudDiscoveryengineV1alphaListChunksResponse {
|
|
2924
3008
|
/** The Chunks. */
|
|
2925
3009
|
chunks?: GoogleCloudDiscoveryengineV1alphaChunk[];
|
|
@@ -3160,6 +3244,8 @@ declare namespace gapi.client {
|
|
|
3160
3244
|
interface GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfig {
|
|
3161
3245
|
/** Model Armor configuration to be used for sanitizing user prompts and LLM responses. */
|
|
3162
3246
|
modelArmorConfig?: GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig;
|
|
3247
|
+
/** Optional. Whether to disable the notebook sharing feature for the project. Default to false if not specified. */
|
|
3248
|
+
optOutNotebookSharing?: boolean;
|
|
3163
3249
|
}
|
|
3164
3250
|
interface GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig {
|
|
3165
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. */
|
|
@@ -3542,6 +3628,18 @@ declare namespace gapi.client {
|
|
|
3542
3628
|
variableId?: string;
|
|
3543
3629
|
}
|
|
3544
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
|
+
}
|
|
3545
3643
|
interface GoogleCloudDiscoveryengineV1alphaSafetyRating {
|
|
3546
3644
|
/** Output only. Indicates whether the content was filtered out because of this rating. */
|
|
3547
3645
|
blocked?: boolean;
|
|
@@ -4236,6 +4334,8 @@ declare namespace gapi.client {
|
|
|
4236
4334
|
endTime?: string;
|
|
4237
4335
|
/** Optional. Whether the session is pinned, pinned session will be displayed on the top of the session list. */
|
|
4238
4336
|
isPinned?: boolean;
|
|
4337
|
+
/** Optional. The labels for the session. Can be set as filter in ListSessionsRequest. */
|
|
4338
|
+
labels?: string[];
|
|
4239
4339
|
/** Immutable. Fully qualified name `projects/{project}/locations/global/collections/{collection}/engines/{engine}/sessions/*` */
|
|
4240
4340
|
name?: string;
|
|
4241
4341
|
/** Output only. The time the session started. */
|
|
@@ -4391,7 +4491,7 @@ declare namespace gapi.client {
|
|
|
4391
4491
|
answer?: GoogleCloudDiscoveryengineV1alphaAssistAnswer;
|
|
4392
4492
|
/** A global unique ID that identifies the current pair of request and stream of responses. Used for feedback and support. */
|
|
4393
4493
|
assistToken?: string;
|
|
4394
|
-
/** Session information. */
|
|
4494
|
+
/** Session information. Only included in the final StreamAssistResponse of the response stream. */
|
|
4395
4495
|
sessionInfo?: GoogleCloudDiscoveryengineV1alphaStreamAssistResponseSessionInfo;
|
|
4396
4496
|
}
|
|
4397
4497
|
interface GoogleCloudDiscoveryengineV1alphaStreamAssistResponseSessionInfo {
|
|
@@ -4620,6 +4720,18 @@ declare namespace gapi.client {
|
|
|
4620
4720
|
/** Optional. The user profile. We user user full name(First name + Last name) as user profile. */
|
|
4621
4721
|
userProfile?: string;
|
|
4622
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
|
+
}
|
|
4623
4735
|
interface GoogleCloudDiscoveryengineV1alphaVideoCharacteristics {
|
|
4624
4736
|
/** Output only. Bitrate of the audio in kbps. */
|
|
4625
4737
|
audioBitrateKbps?: number;
|
|
@@ -4693,6 +4805,8 @@ declare namespace gapi.client {
|
|
|
4693
4805
|
fieldsUiComponentsMap?: {
|
|
4694
4806
|
[P in string]: GoogleCloudDiscoveryengineV1alphaWidgetConfigUIComponentField;
|
|
4695
4807
|
};
|
|
4808
|
+
/** Output only. Whether the subscription is gemini bundle or not. */
|
|
4809
|
+
geminiBundle?: boolean;
|
|
4696
4810
|
/** Optional. Describes the homepage settings of the widget. */
|
|
4697
4811
|
homepageSetting?: GoogleCloudDiscoveryengineV1alphaWidgetConfigHomepageSetting;
|
|
4698
4812
|
/** Output only. The industry vertical that the WidgetConfig registers. The WidgetConfig industry vertical is based on the associated Engine. */
|
|
@@ -4791,7 +4905,7 @@ declare namespace gapi.client {
|
|
|
4791
4905
|
field?: string;
|
|
4792
4906
|
}
|
|
4793
4907
|
interface GoogleCloudDiscoveryengineV1alphaWidgetConfigHomepageSetting {
|
|
4794
|
-
/** 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 ) */
|
|
4795
4909
|
shortcuts?: GoogleCloudDiscoveryengineV1alphaWidgetConfigHomepageSettingShortcut[];
|
|
4796
4910
|
}
|
|
4797
4911
|
interface GoogleCloudDiscoveryengineV1alphaWidgetConfigHomepageSettingShortcut {
|
|
@@ -5006,24 +5120,6 @@ declare namespace gapi.client {
|
|
|
5006
5120
|
/** If set true, initial indexing is disabled for the DataStore. */
|
|
5007
5121
|
disableInitialIndex?: boolean;
|
|
5008
5122
|
}
|
|
5009
|
-
interface GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfig {
|
|
5010
|
-
/** Optional. The enrollment state of each alert. */
|
|
5011
|
-
alertEnrollments?: GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfigAlertEnrollment[];
|
|
5012
|
-
/** Immutable. The fully qualified resource name of the AlertPolicy. */
|
|
5013
|
-
alertPolicy?: string;
|
|
5014
|
-
/** Optional. The contact details for each alert policy. */
|
|
5015
|
-
contactDetails?: GoogleCloudDiscoveryengineV1betaContactDetails[];
|
|
5016
|
-
/** Optional. The language code used for notifications */
|
|
5017
|
-
languageCode?: string;
|
|
5018
|
-
}
|
|
5019
|
-
interface GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfigAlertEnrollment {
|
|
5020
|
-
/** Immutable. The id of an alert. */
|
|
5021
|
-
alertId?: string;
|
|
5022
|
-
/** Required. The enrollment status of a customer. */
|
|
5023
|
-
enrollState?: string;
|
|
5024
|
-
/** 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. */
|
|
5025
|
-
notificationParams?: {[P in string]: string};
|
|
5026
|
-
}
|
|
5027
5123
|
interface GoogleCloudDiscoveryengineV1betaBatchCreateTargetSiteMetadata {
|
|
5028
5124
|
/** Operation create time. */
|
|
5029
5125
|
createTime?: string;
|
|
@@ -5088,10 +5184,6 @@ declare namespace gapi.client {
|
|
|
5088
5184
|
/** Start of time range. Range is inclusive. */
|
|
5089
5185
|
startTime?: string;
|
|
5090
5186
|
}
|
|
5091
|
-
interface GoogleCloudDiscoveryengineV1betaContactDetails {
|
|
5092
|
-
/** Optional. The email address of the contact. */
|
|
5093
|
-
emailAddress?: string;
|
|
5094
|
-
}
|
|
5095
5187
|
interface GoogleCloudDiscoveryengineV1betaControl {
|
|
5096
5188
|
/** Output only. List of all ServingConfig IDs this control is attached to. May take up to 10 minutes to update after changes. */
|
|
5097
5189
|
associatedServingConfigIds?: string[];
|
|
@@ -5641,14 +5733,14 @@ declare namespace gapi.client {
|
|
|
5641
5733
|
region?: string;
|
|
5642
5734
|
}
|
|
5643
5735
|
interface GoogleCloudDiscoveryengineV1betaLicenseConfig {
|
|
5644
|
-
/** Optional. The alert policy config for this license config. */
|
|
5645
|
-
alertPolicyResourceConfig?: GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfig;
|
|
5646
5736
|
/** Optional. Whether the license config should be auto renewed when it reaches the end date. */
|
|
5647
5737
|
autoRenew?: boolean;
|
|
5648
5738
|
/** Optional. The planed end date. */
|
|
5649
5739
|
endDate?: GoogleTypeDate;
|
|
5650
5740
|
/** Optional. Whether the license config is for free trial. */
|
|
5651
5741
|
freeTrial?: boolean;
|
|
5742
|
+
/** Output only. Whether the license config is for Gemini bundle. */
|
|
5743
|
+
geminiBundle?: boolean;
|
|
5652
5744
|
/** Required. Number of licenses purchased. */
|
|
5653
5745
|
licenseCount?: string;
|
|
5654
5746
|
/** Immutable. Identifier. The fully qualified resource name of the license config. Format: `projects/{project}/locations/{location}/licenseConfigs/{license_config}` */
|
|
@@ -5703,6 +5795,8 @@ declare namespace gapi.client {
|
|
|
5703
5795
|
interface GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfig {
|
|
5704
5796
|
/** Model Armor configuration to be used for sanitizing user prompts and LLM responses. */
|
|
5705
5797
|
modelArmorConfig?: GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig;
|
|
5798
|
+
/** Optional. Whether to disable the notebook sharing feature for the project. Default to false if not specified. */
|
|
5799
|
+
optOutNotebookSharing?: boolean;
|
|
5706
5800
|
}
|
|
5707
5801
|
interface GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig {
|
|
5708
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. */
|
|
@@ -6204,6 +6298,18 @@ declare namespace gapi.client {
|
|
|
6204
6298
|
/** Optional. The user profile. We user user full name(First name + Last name) as user profile. */
|
|
6205
6299
|
userProfile?: string;
|
|
6206
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
|
+
}
|
|
6207
6313
|
interface GoogleCloudDiscoveryengineV1betaWorkspaceConfig {
|
|
6208
6314
|
/** Obfuscated Dasher customer ID. */
|
|
6209
6315
|
dasherCustomerId?: string;
|
|
@@ -6260,10 +6366,6 @@ declare namespace gapi.client {
|
|
|
6260
6366
|
/** Start of time range. Range is inclusive. */
|
|
6261
6367
|
startTime?: string;
|
|
6262
6368
|
}
|
|
6263
|
-
interface GoogleCloudDiscoveryengineV1ContactDetails {
|
|
6264
|
-
/** Optional. The email address of the contact. */
|
|
6265
|
-
emailAddress?: string;
|
|
6266
|
-
}
|
|
6267
6369
|
interface GoogleCloudDiscoveryengineV1Control {
|
|
6268
6370
|
/** Output only. List of all ServingConfig IDs this control is attached to. May take up to 10 minutes to update after changes. */
|
|
6269
6371
|
associatedServingConfigIds?: string[];
|
|
@@ -6890,14 +6992,14 @@ declare namespace gapi.client {
|
|
|
6890
6992
|
unjoinedEventsCount?: string;
|
|
6891
6993
|
}
|
|
6892
6994
|
interface GoogleCloudDiscoveryengineV1LicenseConfig {
|
|
6893
|
-
/** Optional. The alert policy config for this license config. */
|
|
6894
|
-
alertPolicyResourceConfig?: GoogleCloudDiscoveryengineV1AlertPolicyResourceConfig;
|
|
6895
6995
|
/** Optional. Whether the license config should be auto renewed when it reaches the end date. */
|
|
6896
6996
|
autoRenew?: boolean;
|
|
6897
6997
|
/** Optional. The planed end date. */
|
|
6898
6998
|
endDate?: GoogleTypeDate;
|
|
6899
6999
|
/** Optional. Whether the license config is for free trial. */
|
|
6900
7000
|
freeTrial?: boolean;
|
|
7001
|
+
/** Output only. Whether the license config is for Gemini bundle. */
|
|
7002
|
+
geminiBundle?: boolean;
|
|
6901
7003
|
/** Required. Number of licenses purchased. */
|
|
6902
7004
|
licenseCount?: string;
|
|
6903
7005
|
/** Immutable. Identifier. The fully qualified resource name of the license config. Format: `projects/{project}/locations/{location}/licenseConfigs/{license_config}` */
|
|
@@ -6932,6 +7034,8 @@ declare namespace gapi.client {
|
|
|
6932
7034
|
interface GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfig {
|
|
6933
7035
|
/** Model Armor configuration to be used for sanitizing user prompts and LLM responses. */
|
|
6934
7036
|
modelArmorConfig?: GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig;
|
|
7037
|
+
/** Optional. Whether to disable the notebook sharing feature for the project. Default to false if not specified. */
|
|
7038
|
+
optOutNotebookSharing?: boolean;
|
|
6935
7039
|
}
|
|
6936
7040
|
interface GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig {
|
|
6937
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. */
|
|
@@ -7251,6 +7355,18 @@ declare namespace gapi.client {
|
|
|
7251
7355
|
/** Optional. The user profile. We user user full name(First name + Last name) as user profile. */
|
|
7252
7356
|
userProfile?: string;
|
|
7253
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
|
+
}
|
|
7254
7370
|
interface GoogleCloudDiscoveryengineV1WorkspaceConfig {
|
|
7255
7371
|
/** Obfuscated Dasher customer ID. */
|
|
7256
7372
|
dasherCustomerId?: string;
|
|
@@ -7645,6 +7761,127 @@ declare namespace gapi.client {
|
|
|
7645
7761
|
/** Optional. IANA Time Zone Database version number. For example "2019a". */
|
|
7646
7762
|
version?: string;
|
|
7647
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
|
+
}
|
|
7648
7885
|
interface MediaResource {
|
|
7649
7886
|
/** Downloads a file from the session. */
|
|
7650
7887
|
download(request?: {
|
|
@@ -12221,36 +12458,9 @@ declare namespace gapi.client {
|
|
|
12221
12458
|
body: GoogleCloudDiscoveryengineV1alphaExportMetricsRequest,
|
|
12222
12459
|
): Request<GoogleLongrunningOperation>;
|
|
12223
12460
|
}
|
|
12224
|
-
interface
|
|
12225
|
-
/**
|
|
12226
|
-
|
|
12227
|
-
/** V1 error format. */
|
|
12228
|
-
'$.xgafv'?: string;
|
|
12229
|
-
/** OAuth access token. */
|
|
12230
|
-
access_token?: string;
|
|
12231
|
-
/** Data format for response. */
|
|
12232
|
-
alt?: string;
|
|
12233
|
-
/** JSONP */
|
|
12234
|
-
callback?: string;
|
|
12235
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
12236
|
-
fields?: string;
|
|
12237
|
-
/** 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. */
|
|
12238
|
-
key?: string;
|
|
12239
|
-
/** Required. Resource name of Assistant. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}` */
|
|
12240
|
-
name: string;
|
|
12241
|
-
/** OAuth 2.0 token for the current user. */
|
|
12242
|
-
oauth_token?: string;
|
|
12243
|
-
/** Returns response with indentations and line breaks. */
|
|
12244
|
-
prettyPrint?: boolean;
|
|
12245
|
-
/** 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. */
|
|
12246
|
-
quotaUser?: string;
|
|
12247
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
12248
|
-
upload_protocol?: string;
|
|
12249
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
12250
|
-
uploadType?: string;
|
|
12251
|
-
}): Request<GoogleCloudDiscoveryengineV1alphaAssistant>;
|
|
12252
|
-
/** Updates an Assistant */
|
|
12253
|
-
patch(request: {
|
|
12461
|
+
interface CannedQueriesResource {
|
|
12462
|
+
/** Creates a CannedQuery. */
|
|
12463
|
+
create(request: {
|
|
12254
12464
|
/** V1 error format. */
|
|
12255
12465
|
'$.xgafv'?: string;
|
|
12256
12466
|
/** OAuth access token. */
|
|
@@ -12259,28 +12469,28 @@ declare namespace gapi.client {
|
|
|
12259
12469
|
alt?: string;
|
|
12260
12470
|
/** JSONP */
|
|
12261
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;
|
|
12262
12474
|
/** Selector specifying which fields to include in a partial response. */
|
|
12263
12475
|
fields?: string;
|
|
12264
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. */
|
|
12265
12477
|
key?: string;
|
|
12266
|
-
/** 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. */
|
|
12267
|
-
name: string;
|
|
12268
12478
|
/** OAuth 2.0 token for the current user. */
|
|
12269
12479
|
oauth_token?: string;
|
|
12480
|
+
/** Required. The parent resource name. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}` */
|
|
12481
|
+
parent: string;
|
|
12270
12482
|
/** Returns response with indentations and line breaks. */
|
|
12271
12483
|
prettyPrint?: boolean;
|
|
12272
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. */
|
|
12273
12485
|
quotaUser?: string;
|
|
12274
|
-
/** The list of fields to update. */
|
|
12275
|
-
updateMask?: string;
|
|
12276
12486
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
12277
12487
|
upload_protocol?: string;
|
|
12278
12488
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
12279
12489
|
uploadType?: string;
|
|
12280
12490
|
/** Request body */
|
|
12281
|
-
resource:
|
|
12282
|
-
}): Request<
|
|
12283
|
-
|
|
12491
|
+
resource: GoogleCloudDiscoveryengineV1alphaCannedQuery;
|
|
12492
|
+
}): Request<GoogleCloudDiscoveryengineV1alphaCannedQuery>;
|
|
12493
|
+
create(
|
|
12284
12494
|
request: {
|
|
12285
12495
|
/** V1 error format. */
|
|
12286
12496
|
'$.xgafv'?: string;
|
|
@@ -12290,29 +12500,29 @@ declare namespace gapi.client {
|
|
|
12290
12500
|
alt?: string;
|
|
12291
12501
|
/** JSONP */
|
|
12292
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;
|
|
12293
12505
|
/** Selector specifying which fields to include in a partial response. */
|
|
12294
12506
|
fields?: string;
|
|
12295
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. */
|
|
12296
12508
|
key?: string;
|
|
12297
|
-
/** 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. */
|
|
12298
|
-
name: string;
|
|
12299
12509
|
/** OAuth 2.0 token for the current user. */
|
|
12300
12510
|
oauth_token?: string;
|
|
12511
|
+
/** Required. The parent resource name. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}` */
|
|
12512
|
+
parent: string;
|
|
12301
12513
|
/** Returns response with indentations and line breaks. */
|
|
12302
12514
|
prettyPrint?: boolean;
|
|
12303
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. */
|
|
12304
12516
|
quotaUser?: string;
|
|
12305
|
-
/** The list of fields to update. */
|
|
12306
|
-
updateMask?: string;
|
|
12307
12517
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
12308
12518
|
upload_protocol?: string;
|
|
12309
12519
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
12310
12520
|
uploadType?: string;
|
|
12311
12521
|
},
|
|
12312
|
-
body:
|
|
12313
|
-
): Request<
|
|
12314
|
-
/**
|
|
12315
|
-
|
|
12522
|
+
body: GoogleCloudDiscoveryengineV1alphaCannedQuery,
|
|
12523
|
+
): Request<GoogleCloudDiscoveryengineV1alphaCannedQuery>;
|
|
12524
|
+
/** Deletes a CannedQuery. */
|
|
12525
|
+
delete(request?: {
|
|
12316
12526
|
/** V1 error format. */
|
|
12317
12527
|
'$.xgafv'?: string;
|
|
12318
12528
|
/** OAuth access token. */
|
|
@@ -12325,7 +12535,7 @@ declare namespace gapi.client {
|
|
|
12325
12535
|
fields?: string;
|
|
12326
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. */
|
|
12327
12537
|
key?: string;
|
|
12328
|
-
/** 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. */
|
|
12329
12539
|
name: string;
|
|
12330
12540
|
/** OAuth 2.0 token for the current user. */
|
|
12331
12541
|
oauth_token?: string;
|
|
@@ -12337,41 +12547,282 @@ declare namespace gapi.client {
|
|
|
12337
12547
|
upload_protocol?: string;
|
|
12338
12548
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
12339
12549
|
uploadType?: string;
|
|
12340
|
-
|
|
12341
|
-
|
|
12342
|
-
|
|
12343
|
-
|
|
12344
|
-
|
|
12345
|
-
|
|
12346
|
-
|
|
12347
|
-
|
|
12348
|
-
|
|
12349
|
-
|
|
12350
|
-
|
|
12351
|
-
|
|
12352
|
-
|
|
12353
|
-
|
|
12354
|
-
|
|
12355
|
-
|
|
12356
|
-
|
|
12357
|
-
|
|
12358
|
-
|
|
12359
|
-
|
|
12360
|
-
|
|
12361
|
-
|
|
12362
|
-
|
|
12363
|
-
|
|
12364
|
-
|
|
12365
|
-
|
|
12366
|
-
|
|
12367
|
-
|
|
12368
|
-
|
|
12369
|
-
|
|
12370
|
-
|
|
12371
|
-
|
|
12372
|
-
|
|
12373
|
-
|
|
12374
|
-
|
|
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. */
|
|
12798
|
+
access_token?: string;
|
|
12799
|
+
/** Data format for response. */
|
|
12800
|
+
alt?: string;
|
|
12801
|
+
/** JSONP */
|
|
12802
|
+
callback?: string;
|
|
12803
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
12804
|
+
fields?: string;
|
|
12805
|
+
/** 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. */
|
|
12806
|
+
key?: string;
|
|
12807
|
+
/** Required. The resource name of the Assistant. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}` */
|
|
12808
|
+
name: string;
|
|
12809
|
+
/** OAuth 2.0 token for the current user. */
|
|
12810
|
+
oauth_token?: string;
|
|
12811
|
+
/** Returns response with indentations and line breaks. */
|
|
12812
|
+
prettyPrint?: boolean;
|
|
12813
|
+
/** 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. */
|
|
12814
|
+
quotaUser?: string;
|
|
12815
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
12816
|
+
upload_protocol?: string;
|
|
12817
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
12818
|
+
uploadType?: string;
|
|
12819
|
+
},
|
|
12820
|
+
body: GoogleCloudDiscoveryengineV1alphaStreamAssistRequest,
|
|
12821
|
+
): Request<GoogleCloudDiscoveryengineV1alphaStreamAssistResponse>;
|
|
12822
|
+
cannedQueries: CannedQueriesResource;
|
|
12823
|
+
}
|
|
12824
|
+
interface CompletionConfigResource {
|
|
12825
|
+
/** Completes the user input with advanced keyword suggestions. */
|
|
12375
12826
|
completeQuery(request: {
|
|
12376
12827
|
/** V1 error format. */
|
|
12377
12828
|
'$.xgafv'?: string;
|
|
@@ -20432,6 +20883,184 @@ declare namespace gapi.client {
|
|
|
20432
20883
|
},
|
|
20433
20884
|
body: GoogleCloudDiscoveryengineV1alphaBatchUpdateUserLicensesRequest,
|
|
20434
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>;
|
|
20435
21064
|
operations: OperationsResource;
|
|
20436
21065
|
userLicenses: UserLicensesResource;
|
|
20437
21066
|
}
|
|
@@ -20548,6 +21177,47 @@ declare namespace gapi.client {
|
|
|
20548
21177
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
20549
21178
|
uploadType?: string;
|
|
20550
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>;
|
|
20551
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. */
|
|
20552
21222
|
obtainCrawlRate(request: {
|
|
20553
21223
|
/** V1 error format. */
|
|
@@ -21256,6 +21926,8 @@ declare namespace gapi.client {
|
|
|
21256
21926
|
operations: OperationsResource;
|
|
21257
21927
|
}
|
|
21258
21928
|
|
|
21929
|
+
const billingAccounts: BillingAccountsResource;
|
|
21930
|
+
|
|
21259
21931
|
const media: MediaResource;
|
|
21260
21932
|
|
|
21261
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
|
// ...
|