@maxim_mazurok/gapi.client.discoveryengine-v1alpha 0.1.20251026 → 0.1.20251109
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 +1120 -27
- package/package.json +1 -1
- package/readme.md +5 -0
package/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
10
10
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
11
11
|
// Generated from: https://discoveryengine.googleapis.com/$discovery/rest?version=v1alpha
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20251109
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -420,6 +420,10 @@ declare namespace gapi.client {
|
|
|
420
420
|
/** Required. The enrollment status of a customer. */
|
|
421
421
|
enrollState?: string;
|
|
422
422
|
}
|
|
423
|
+
interface GoogleCloudDiscoveryengineV1alphaA2AAgentDefinition {
|
|
424
|
+
/** Optional. The agent card is a JSON string. */
|
|
425
|
+
jsonAgentCard?: string;
|
|
426
|
+
}
|
|
423
427
|
interface GoogleCloudDiscoveryengineV1alphaAclConfig {
|
|
424
428
|
/** Identity provider config. */
|
|
425
429
|
idpConfig?: GoogleCloudDiscoveryengineV1alphaIdpConfig;
|
|
@@ -445,6 +449,14 @@ declare namespace gapi.client {
|
|
|
445
449
|
/** Optional. Whether to use static secrets for the connector. If true, the secrets provided in the action_params will be ignored. */
|
|
446
450
|
useStaticSecrets?: boolean;
|
|
447
451
|
}
|
|
452
|
+
interface GoogleCloudDiscoveryengineV1alphaAdkAgentDefinition {
|
|
453
|
+
/** Optional. The reasoning engine that the agent is connected to. */
|
|
454
|
+
provisionedReasoningEngine?: GoogleCloudDiscoveryengineV1alphaAdkAgentDefinitionProvisionedReasoningEngine;
|
|
455
|
+
}
|
|
456
|
+
interface GoogleCloudDiscoveryengineV1alphaAdkAgentDefinitionProvisionedReasoningEngine {
|
|
457
|
+
/** Required. The reasoning engine that the agent is connected to. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` */
|
|
458
|
+
reasoningEngine?: string;
|
|
459
|
+
}
|
|
448
460
|
interface GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryRequest {
|
|
449
461
|
/** Optional. Specification to boost suggestions matching the condition. */
|
|
450
462
|
boostSpec?: GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryRequestBoostSpec;
|
|
@@ -462,7 +474,7 @@ declare namespace gapi.client {
|
|
|
462
474
|
suggestionTypeSpecs?: GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryRequestSuggestionTypeSpec[];
|
|
463
475
|
/** Optional. Information about the end user. This should be the same identifier information as UserEvent.user_info and SearchRequest.user_info. */
|
|
464
476
|
userInfo?: GoogleCloudDiscoveryengineV1alphaUserInfo;
|
|
465
|
-
/** A unique identifier for tracking visitors. For example, this could be implemented with an HTTP cookie, which should be able to uniquely identify a visitor on a single device. This unique identifier should not change if the visitor logs in or out of the website. This field should NOT have a fixed value such as `unknown_visitor`. This should be the same identifier as UserEvent.user_pseudo_id and SearchRequest.user_pseudo_id. The field must be a UTF-8 encoded string with a length limit of 128 */
|
|
477
|
+
/** Optional. A unique identifier for tracking visitors. For example, this could be implemented with an HTTP cookie, which should be able to uniquely identify a visitor on a single device. This unique identifier should not change if the visitor logs in or out of the website. This field should NOT have a fixed value such as `unknown_visitor`. This should be the same identifier as UserEvent.user_pseudo_id and SearchRequest.user_pseudo_id. The field must be a UTF-8 encoded string with a length limit of 128 */
|
|
466
478
|
userPseudoId?: string;
|
|
467
479
|
}
|
|
468
480
|
interface GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryRequestBoostSpec {
|
|
@@ -549,6 +561,118 @@ declare namespace gapi.client {
|
|
|
549
561
|
/** If set true, initial indexing is disabled for the DataStore. */
|
|
550
562
|
disableInitialIndex?: boolean;
|
|
551
563
|
}
|
|
564
|
+
interface GoogleCloudDiscoveryengineV1alphaAgent {
|
|
565
|
+
/** Optional. The behavior of the agent is defined as an A2A agent. */
|
|
566
|
+
a2aAgentDefinition?: GoogleCloudDiscoveryengineV1alphaA2AAgentDefinition;
|
|
567
|
+
/** Optional. The behavior of the agent is defined as an ADK agent. */
|
|
568
|
+
adkAgentDefinition?: GoogleCloudDiscoveryengineV1alphaAdkAgentDefinition;
|
|
569
|
+
/** Optional. The authorizations that are required by the agent. */
|
|
570
|
+
authorizationConfig?: GoogleCloudDiscoveryengineV1alphaAuthorizationConfig;
|
|
571
|
+
/** Output only. Timestamp when this Agent was created. */
|
|
572
|
+
createTime?: string;
|
|
573
|
+
/** Optional. The custom placeholder text that appears in the text box before the user enters any text. */
|
|
574
|
+
customPlaceholderText?: string;
|
|
575
|
+
/** Output only. The reason why the agent deployment failed. Only set if the state is DEPLOYMENT_FAILED. */
|
|
576
|
+
deploymentFailureReason?: string;
|
|
577
|
+
/** Required. Human-readable description of the agent. This might be used by an LLM to automatically select an agent to respond to a user query. */
|
|
578
|
+
description?: string;
|
|
579
|
+
/** Optional. The behavior of the agent is defined as a Dialogflow agent. */
|
|
580
|
+
dialogflowAgentDefinition?: GoogleCloudDiscoveryengineV1alphaDialogflowAgentDefinition;
|
|
581
|
+
/** Required. Display name of the agent. This might be used by an LLM to automatically select an agent to respond to a user query. */
|
|
582
|
+
displayName?: string;
|
|
583
|
+
/** Optional. The icon that represents the agent on the UI. */
|
|
584
|
+
icon?: GoogleCloudDiscoveryengineV1alphaAgentImage;
|
|
585
|
+
/** Optional. The code of the language of the text in the description, display_name and starter_prompts fields. */
|
|
586
|
+
languageCode?: string;
|
|
587
|
+
/** Identifier. Resource name of the agent. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}/agents/{agent}` */
|
|
588
|
+
name?: string;
|
|
589
|
+
/** Output only. The reason why the agent was rejected. Only set if the state is PRIVATE, and got there via rejection. */
|
|
590
|
+
rejectionReason?: string;
|
|
591
|
+
/** Optional. The sharing config of the agent. */
|
|
592
|
+
sharingConfig?: GoogleCloudDiscoveryengineV1alphaAgentSharingConfig;
|
|
593
|
+
/** Optional. The starter prompt suggestions to show the user on the landing page of the agent. */
|
|
594
|
+
starterPrompts?: GoogleCloudDiscoveryengineV1alphaAgentStarterPrompt[];
|
|
595
|
+
/** Output only. The lifecycle state of the agent. */
|
|
596
|
+
state?: string;
|
|
597
|
+
/** Output only. The reason why the agent was suspended. Only set if the state is SUSPENDED. */
|
|
598
|
+
suspensionReason?: string;
|
|
599
|
+
/** Output only. Timestamp when this Agent was most recently updated. */
|
|
600
|
+
updateTime?: string;
|
|
601
|
+
}
|
|
602
|
+
interface GoogleCloudDiscoveryengineV1alphaAgentFile {
|
|
603
|
+
/** Required. The name of the file. */
|
|
604
|
+
fileName?: string;
|
|
605
|
+
/** Immutable. The content type of the file. */
|
|
606
|
+
mimeType?: string;
|
|
607
|
+
/** Identifier. The resource name of the file. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}/agents/{agent}/files/{file}` */
|
|
608
|
+
name?: string;
|
|
609
|
+
}
|
|
610
|
+
interface GoogleCloudDiscoveryengineV1alphaAgentImage {
|
|
611
|
+
/** Base64-encoded image file contents. */
|
|
612
|
+
content?: string;
|
|
613
|
+
/** Image URI. */
|
|
614
|
+
uri?: string;
|
|
615
|
+
}
|
|
616
|
+
interface GoogleCloudDiscoveryengineV1alphaAgentSharingConfig {
|
|
617
|
+
/** Optional. The sharing scope of the agent. */
|
|
618
|
+
scope?: string;
|
|
619
|
+
}
|
|
620
|
+
interface GoogleCloudDiscoveryengineV1alphaAgentStarterPrompt {
|
|
621
|
+
/** Required. The text of the starter prompt. */
|
|
622
|
+
text?: string;
|
|
623
|
+
}
|
|
624
|
+
interface GoogleCloudDiscoveryengineV1alphaAgentView {
|
|
625
|
+
/** Immutable. The origin of the Agent. */
|
|
626
|
+
agentOrigin?: string;
|
|
627
|
+
/** Output only. The sharing state of the agent. */
|
|
628
|
+
agentSharingState?: string;
|
|
629
|
+
/** Output only. The type of the agent. */
|
|
630
|
+
agentType?: string;
|
|
631
|
+
/** The custom placeholder text that appears in the text box before the user enters any text. */
|
|
632
|
+
customPlaceholderText?: string;
|
|
633
|
+
/** The reason why the agent deployment failed. Only set if the state is DEPLOYMENT_FAILED. */
|
|
634
|
+
deploymentFailureReason?: string;
|
|
635
|
+
/** Required. Human-readable description of the agent. This might be used by an LLM to automatically select an agent to respond to a user query and to generate the first version of the steps for the agent that can be modified by the user. The language of this is either Agent.language_code, or ListAvailableAgentViewsRequest.language_code if translations are enabled. */
|
|
636
|
+
description?: string;
|
|
637
|
+
/** Required. Display name of the agent. The language of this is either Agent.language_code, or ListAvailableAgentViewsRequest.language_code if translations are enabled. */
|
|
638
|
+
displayName?: string;
|
|
639
|
+
/** Optional. The icon that represents the agent on the UI. */
|
|
640
|
+
icon?: GoogleCloudDiscoveryengineV1alphaAgentImage;
|
|
641
|
+
/** Resource name of the agent. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}/agents/{agent}` */
|
|
642
|
+
name?: string;
|
|
643
|
+
/** The reason why the agent was rejected. Only set if the state is PRIVATE, and got there via rejection. */
|
|
644
|
+
rejectionReason?: string;
|
|
645
|
+
/** Output only. The state of the Agent. */
|
|
646
|
+
state?: string;
|
|
647
|
+
/** Optional. The suggested prompts for the agent, to be shown on the agent landing page. */
|
|
648
|
+
suggestedPrompts?: GoogleCloudDiscoveryengineV1alphaAgentViewSuggestedPrompt[];
|
|
649
|
+
/** The reason why the agent was suspended. Only set if the state is SUSPENDED. */
|
|
650
|
+
suspensionReason?: string;
|
|
651
|
+
/** Optional. Per-user annotations of the current caller for the agent. */
|
|
652
|
+
userAnnotations?: GoogleCloudDiscoveryengineV1alphaUserAnnotations;
|
|
653
|
+
/** The permissions of the user for this Agent. */
|
|
654
|
+
userPermissions?: GoogleCloudDiscoveryengineV1alphaAgentViewUserPermissions;
|
|
655
|
+
}
|
|
656
|
+
interface GoogleCloudDiscoveryengineV1alphaAgentViewSuggestedPrompt {
|
|
657
|
+
/** Required. The text of the suggested prompt. The language of this is either Agent.language_code, or ListAvailableAgentViewsRequest.language_code if translations are enabled. */
|
|
658
|
+
text?: string;
|
|
659
|
+
}
|
|
660
|
+
interface GoogleCloudDiscoveryengineV1alphaAgentViewUserPermissions {
|
|
661
|
+
/** If the user can delete this Agent. */
|
|
662
|
+
canDelete?: boolean;
|
|
663
|
+
/** If the user can edit this Agent. */
|
|
664
|
+
canEdit?: boolean;
|
|
665
|
+
/** If the user can propose other users to share the Agent with. */
|
|
666
|
+
canProposeUsers?: boolean;
|
|
667
|
+
/** If the user can request a review for this Agent. */
|
|
668
|
+
canRequestReview?: boolean;
|
|
669
|
+
/** If the user can run this Agent. */
|
|
670
|
+
canRun?: boolean;
|
|
671
|
+
/** If the user can view the source of this Agent. */
|
|
672
|
+
canView?: boolean;
|
|
673
|
+
/** If the user can withdraw this Agent. */
|
|
674
|
+
canWithdraw?: boolean;
|
|
675
|
+
}
|
|
552
676
|
interface GoogleCloudDiscoveryengineV1alphaAlertPolicyConfig {
|
|
553
677
|
/** Optional. The enrollment states of each alert. */
|
|
554
678
|
alertEnrollments?: GoogleCloudDiscoveryengineV1alphaAlertPolicyConfigAlertEnrollment[];
|
|
@@ -1213,6 +1337,12 @@ declare namespace gapi.client {
|
|
|
1213
1337
|
/** Server-side OAuth2 configuration. */
|
|
1214
1338
|
serverSideOauth2?: GoogleCloudDiscoveryengineV1alphaAuthorizationServerSideOAuth2;
|
|
1215
1339
|
}
|
|
1340
|
+
interface GoogleCloudDiscoveryengineV1alphaAuthorizationConfig {
|
|
1341
|
+
/** Optional. The authorization that is required to invoke the agent. Auth tokens will be passed to the agent as part of the request auth header. */
|
|
1342
|
+
agentAuthorization?: string;
|
|
1343
|
+
/** Optional. List of required authorizations for agent to access other resources. Auth tokens will be passed to the agent as part of the request body. */
|
|
1344
|
+
toolAuthorizations?: string[];
|
|
1345
|
+
}
|
|
1216
1346
|
interface GoogleCloudDiscoveryengineV1alphaAuthorizationServerSideOAuth2 {
|
|
1217
1347
|
/** Required. The URI the user is directed to when they need to authorize. Should include everything required for a successful authorization: OAuth ID, extra flags, etc. Example: `https://accounts.google.com/o/oauth2/v2/auth?client_id=OAUTH_ID&scope=https://www.googleapis.com/auth/calendar.events&response_type=code&access_type=offline&prompt=consent` The `redirect_uri` parameter will be overwritten by the Vertex AI Search frontend. */
|
|
1218
1348
|
authorizationUri?: string;
|
|
@@ -1352,6 +1482,34 @@ declare namespace gapi.client {
|
|
|
1352
1482
|
/** Required. The table ID of the Cloud Bigtable that needs to be imported. */
|
|
1353
1483
|
tableId?: string;
|
|
1354
1484
|
}
|
|
1485
|
+
interface GoogleCloudDiscoveryengineV1alphaBillingAccountLicenseConfig {
|
|
1486
|
+
/** Whether the BillingAccountLicenseConfig is auto renewed when it reaches the end date. */
|
|
1487
|
+
autoRenew?: boolean;
|
|
1488
|
+
/** Optional. The planed subscription end date. */
|
|
1489
|
+
endDate?: GoogleTypeDate;
|
|
1490
|
+
/** Whether the license config is for Gemini bundle. */
|
|
1491
|
+
geminiBundle?: boolean;
|
|
1492
|
+
/** A map of LicenseConfig names to the number of licenses distributed to each. The key is the full resource name of the LicenseConfig, such as `projects/{project}/locations/{location}/licenseConfigs/{license_config}`. The value is the count of licenses allocated to it. */
|
|
1493
|
+
licenseConfigDistributions?: {[P in string]: string};
|
|
1494
|
+
/** Required. The number of licenses purchased under this billing account license config. */
|
|
1495
|
+
licenseCount?: string;
|
|
1496
|
+
/** Immutable. Identifier. The fully qualified resource name of the billing account license config. Format: `billingAccounts/{billing_account}/billingAccountLicenseConfigs/{billing_account_license_config}`. */
|
|
1497
|
+
name?: string;
|
|
1498
|
+
/** The procurement entitlement id of the subscription. */
|
|
1499
|
+
procurementEntitlementId?: string;
|
|
1500
|
+
/** Required. The subscription start date. */
|
|
1501
|
+
startDate?: GoogleTypeDate;
|
|
1502
|
+
/** Output only. The state of the BillingAccountLicenseConfig. */
|
|
1503
|
+
state?: string;
|
|
1504
|
+
/** The subscription display name. */
|
|
1505
|
+
subscriptionDisplayName?: string;
|
|
1506
|
+
/** Output only. The corresponding SubV3 subscription name. */
|
|
1507
|
+
subscriptionName?: string;
|
|
1508
|
+
/** Required. The subscription term. */
|
|
1509
|
+
subscriptionTerm?: string;
|
|
1510
|
+
/** Required. The subscription tier. */
|
|
1511
|
+
subscriptionTier?: string;
|
|
1512
|
+
}
|
|
1355
1513
|
interface GoogleCloudDiscoveryengineV1alphaBranch {
|
|
1356
1514
|
/** Output only. Stistics describing a branch. This field is not populated in BranchView.BASIC view. */
|
|
1357
1515
|
branchStats?: GoogleCloudDiscoveryengineV1alphaBranchBranchStats;
|
|
@@ -2135,6 +2293,12 @@ declare namespace gapi.client {
|
|
|
2135
2293
|
/** Vertex AI's dedicated crawl rate time series of user triggered crawl, which is the crawl rate of Google-CloudVertexBot when dedicate crawl is set, and user triggered crawl rate is for deterministic use cases like crawling urls or sitemaps specified by users. */
|
|
2136
2294
|
userTriggeredCrawlRate?: GoogleCloudDiscoveryengineV1alphaCrawlRateTimeSeries;
|
|
2137
2295
|
}
|
|
2296
|
+
interface GoogleCloudDiscoveryengineV1alphaDeleteAgentMetadata {
|
|
2297
|
+
/** Operation create time. */
|
|
2298
|
+
createTime?: string;
|
|
2299
|
+
/** Operation last update time. If the operation is done, this is also the finish time. */
|
|
2300
|
+
updateTime?: string;
|
|
2301
|
+
}
|
|
2138
2302
|
interface GoogleCloudDiscoveryengineV1alphaDeleteCmekConfigMetadata {
|
|
2139
2303
|
/** Operation create time. */
|
|
2140
2304
|
createTime?: string;
|
|
@@ -2209,6 +2373,10 @@ declare namespace gapi.client {
|
|
|
2209
2373
|
/** Optional. Target port number accepted by the destination. */
|
|
2210
2374
|
port?: number;
|
|
2211
2375
|
}
|
|
2376
|
+
interface GoogleCloudDiscoveryengineV1alphaDialogflowAgentDefinition {
|
|
2377
|
+
/** Required. Resource name of the underlying Dialogflow Agent. Format: `projects/{project}/locations/{location}/agents/{agent}` */
|
|
2378
|
+
dialogflowAgent?: string;
|
|
2379
|
+
}
|
|
2212
2380
|
interface GoogleCloudDiscoveryengineV1alphaDisableAdvancedSiteSearchMetadata {
|
|
2213
2381
|
/** Operation create time. */
|
|
2214
2382
|
createTime?: string;
|
|
@@ -2333,6 +2501,8 @@ declare namespace gapi.client {
|
|
|
2333
2501
|
enableGetProcessedDocument?: boolean;
|
|
2334
2502
|
/** Optional. If true, the LLM based annotation is added to the image during parsing. */
|
|
2335
2503
|
enableImageAnnotation?: boolean;
|
|
2504
|
+
/** Optional. If true, the pdf layout will be refined using an LLM. */
|
|
2505
|
+
enableLlmLayoutParsing?: boolean;
|
|
2336
2506
|
/** Optional. If true, the LLM based annotation is added to the table during parsing. */
|
|
2337
2507
|
enableTableAnnotation?: boolean;
|
|
2338
2508
|
/** Optional. List of HTML classes to exclude from the parsed content. */
|
|
@@ -2373,6 +2543,8 @@ declare namespace gapi.client {
|
|
|
2373
2543
|
chatEngineConfig?: GoogleCloudDiscoveryengineV1alphaEngineChatEngineConfig;
|
|
2374
2544
|
/** Output only. Additional information of the Chat Engine. Only applicable if solution_type is SOLUTION_TYPE_CHAT. */
|
|
2375
2545
|
chatEngineMetadata?: GoogleCloudDiscoveryengineV1alphaEngineChatEngineMetadata;
|
|
2546
|
+
/** Output only. CMEK-related information for the Engine. */
|
|
2547
|
+
cmekConfig?: GoogleCloudDiscoveryengineV1alphaCmekConfig;
|
|
2376
2548
|
/** Common config spec that specifies the metadata of the engine. */
|
|
2377
2549
|
commonConfig?: GoogleCloudDiscoveryengineV1alphaEngineCommonConfig;
|
|
2378
2550
|
/** Optional. Configuration for configurable billing approach. */
|
|
@@ -2391,6 +2563,8 @@ declare namespace gapi.client {
|
|
|
2391
2563
|
industryVertical?: string;
|
|
2392
2564
|
/** Configurations for the Media Engine. Only applicable on the data stores with solution_type SOLUTION_TYPE_RECOMMENDATION and IndustryVertical.MEDIA vertical. */
|
|
2393
2565
|
mediaRecommendationEngineConfig?: GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfig;
|
|
2566
|
+
/** Optional. Maps a model name to its specific configuration for this engine. This allows admin users to turn on/off individual models. This only stores models whose states are overridden by the admin. When the state is unspecified, or model_configs is empty for this model, the system will decide if this model should be available or not based on the default configuration. For example, a preview model should be disabled by default if the admin has not chosen to enable it. */
|
|
2567
|
+
modelConfigs?: {[P in string]: string};
|
|
2394
2568
|
/** Immutable. Identifier. The fully qualified resource name of the engine. This field must be a UTF-8 encoded string with a length limit of 1024 characters. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}` engine should be 1-63 characters, and valid characters are /a-z0-9*/. Otherwise, an INVALID_ARGUMENT error is returned. */
|
|
2395
2569
|
name?: string;
|
|
2396
2570
|
/** Output only. Additional information of a recommendation engine. Only applicable if solution_type is SOLUTION_TYPE_RECOMMENDATION. */
|
|
@@ -2686,6 +2860,10 @@ declare namespace gapi.client {
|
|
|
2686
2860
|
/** Required. Cloud Storage URIs to input files. Each URI can be up to 2000 characters long. URIs can match the full object path (for example, `gs://bucket/directory/object.json`) or a pattern matching one or more files, such as `gs://bucket/directory/*.json`. A request can contain at most 100 files (or 100,000 files if `data_schema` is `content`). Each file can be up to 2 GB (or 100 MB if `data_schema` is `content`). */
|
|
2687
2861
|
inputUris?: string[];
|
|
2688
2862
|
}
|
|
2863
|
+
interface GoogleCloudDiscoveryengineV1alphaGetAgentViewResponse {
|
|
2864
|
+
/** The data for displaying an Agent. */
|
|
2865
|
+
agentView?: GoogleCloudDiscoveryengineV1alphaAgentView;
|
|
2866
|
+
}
|
|
2689
2867
|
interface GoogleCloudDiscoveryengineV1alphaGetConnectorSecretResponse {
|
|
2690
2868
|
/** The app name of the associated Connector. */
|
|
2691
2869
|
app?: string;
|
|
@@ -2782,6 +2960,16 @@ declare namespace gapi.client {
|
|
|
2782
2960
|
/** Output only. Image width in pixels. */
|
|
2783
2961
|
width?: number;
|
|
2784
2962
|
}
|
|
2963
|
+
interface GoogleCloudDiscoveryengineV1alphaImportAgentFileRequest {
|
|
2964
|
+
/** Required. The name of the file. */
|
|
2965
|
+
fileName?: string;
|
|
2966
|
+
/** Optional. The content type of the file, see https://www.iana.org/assignments/media-types/media-types.xhtml. This field is required when the data source does not provide the content type. */
|
|
2967
|
+
mimeType?: string;
|
|
2968
|
+
}
|
|
2969
|
+
interface GoogleCloudDiscoveryengineV1alphaImportAgentFileResponse {
|
|
2970
|
+
/** The imported AgentFile. */
|
|
2971
|
+
agentFile?: GoogleCloudDiscoveryengineV1alphaAgentFile;
|
|
2972
|
+
}
|
|
2785
2973
|
interface GoogleCloudDiscoveryengineV1alphaImportCompletionSuggestionsMetadata {
|
|
2786
2974
|
/** Operation create time. */
|
|
2787
2975
|
createTime?: string;
|
|
@@ -3016,12 +3204,36 @@ declare namespace gapi.client {
|
|
|
3016
3204
|
/** Required. Subscription tier information for the license config. */
|
|
3017
3205
|
subscriptionTier?: string;
|
|
3018
3206
|
}
|
|
3207
|
+
interface GoogleCloudDiscoveryengineV1alphaLicenseConfigUsageStats {
|
|
3208
|
+
/** Required. The LicenseConfig name. */
|
|
3209
|
+
licenseConfig?: string;
|
|
3210
|
+
/** Required. The number of licenses used. */
|
|
3211
|
+
usedLicenseCount?: string;
|
|
3212
|
+
}
|
|
3213
|
+
interface GoogleCloudDiscoveryengineV1alphaListAgentsResponse {
|
|
3214
|
+
/** The agents visible to the caller under the parent Assistant. */
|
|
3215
|
+
agents?: GoogleCloudDiscoveryengineV1alphaAgent[];
|
|
3216
|
+
/** A token that can be sent as ListAgentsRequest.page_token to retrieve the next page. If this field is omitted, there are no subsequent pages. */
|
|
3217
|
+
nextPageToken?: string;
|
|
3218
|
+
}
|
|
3019
3219
|
interface GoogleCloudDiscoveryengineV1alphaListAuthorizationsResponse {
|
|
3020
3220
|
/** All the customer's Authorizations. */
|
|
3021
3221
|
authorizations?: GoogleCloudDiscoveryengineV1alphaAuthorization[];
|
|
3022
3222
|
/** A token that can be sent as ListAuthorizationsRequest.page_token to retrieve the next page. If this field is omitted, there are no subsequent pages. */
|
|
3023
3223
|
nextPageToken?: string;
|
|
3024
3224
|
}
|
|
3225
|
+
interface GoogleCloudDiscoveryengineV1alphaListAvailableAgentViewsResponse {
|
|
3226
|
+
/** The agent sources visible to the caller under the parent Assistant. */
|
|
3227
|
+
agentViews?: GoogleCloudDiscoveryengineV1alphaAgentView[];
|
|
3228
|
+
/** A token that can be sent as ListAvailableAgentViewsRequest.page_token to retrieve the next page. If this field is omitted, there are no subsequent pages. */
|
|
3229
|
+
nextPageToken?: string;
|
|
3230
|
+
}
|
|
3231
|
+
interface GoogleCloudDiscoveryengineV1alphaListBillingAccountLicenseConfigsResponse {
|
|
3232
|
+
/** All BillingAccountLicenseConfigs for the given billing account. */
|
|
3233
|
+
billingAccountLicenseConfigs?: GoogleCloudDiscoveryengineV1alphaBillingAccountLicenseConfig[];
|
|
3234
|
+
/** A token that can be sent as ListBillingAccountLicenseConfigsRequest.page_token to retrieve the next page. If this field is omitted, there are no subsequent pages. */
|
|
3235
|
+
nextPageToken?: string;
|
|
3236
|
+
}
|
|
3025
3237
|
interface GoogleCloudDiscoveryengineV1alphaListBranchesResponse {
|
|
3026
3238
|
/** The Branches. */
|
|
3027
3239
|
branches?: GoogleCloudDiscoveryengineV1alphaBranch[];
|
|
@@ -3124,6 +3336,10 @@ declare namespace gapi.client {
|
|
|
3124
3336
|
/** A token that can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
|
|
3125
3337
|
nextPageToken?: string;
|
|
3126
3338
|
}
|
|
3339
|
+
interface GoogleCloudDiscoveryengineV1alphaListLicenseConfigsUsageStatsResponse {
|
|
3340
|
+
/** All the customer's LicenseConfigUsageStats. */
|
|
3341
|
+
licenseConfigUsageStats?: GoogleCloudDiscoveryengineV1alphaLicenseConfigUsageStats[];
|
|
3342
|
+
}
|
|
3127
3343
|
interface GoogleCloudDiscoveryengineV1alphaListSampleQueriesResponse {
|
|
3128
3344
|
/** A token that can be sent as ListSampleQueriesRequest.page_token to retrieve the next page. If this field is omitted, there are no subsequent pages. */
|
|
3129
3345
|
nextPageToken?: string;
|
|
@@ -3831,7 +4047,7 @@ declare namespace gapi.client {
|
|
|
3831
4047
|
userInfo?: GoogleCloudDiscoveryengineV1alphaUserInfo;
|
|
3832
4048
|
/** The user labels applied to a resource must meet the following requirements: * Each resource can have multiple labels, up to a maximum of 64. * Each label must be a key-value pair. * Keys have a minimum length of 1 character and a maximum length of 63 characters and cannot be empty. Values can be empty and have a maximum length of 63 characters. * Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes. All characters must use UTF-8 encoding, and international characters are allowed. * The key portion of a label must be unique. However, you can use the same key with multiple resources. * Keys must start with a lowercase letter or international character. See [Google Cloud Document](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements) for more details. */
|
|
3833
4049
|
userLabels?: {[P in string]: string};
|
|
3834
|
-
/** A unique identifier for tracking visitors. For example, this could be implemented with an HTTP cookie, which should be able to uniquely identify a visitor on a single device. This unique identifier should not change if the visitor logs in or out of the website. This field should NOT have a fixed value such as `unknown_visitor`. This should be the same identifier as UserEvent.user_pseudo_id and CompleteQueryRequest.user_pseudo_id The field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an `INVALID_ARGUMENT` error is returned. */
|
|
4050
|
+
/** Optional. A unique identifier for tracking visitors. For example, this could be implemented with an HTTP cookie, which should be able to uniquely identify a visitor on a single device. This unique identifier should not change if the visitor logs in or out of the website. This field should NOT have a fixed value such as `unknown_visitor`. This should be the same identifier as UserEvent.user_pseudo_id and CompleteQueryRequest.user_pseudo_id The field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an `INVALID_ARGUMENT` error is returned. */
|
|
3835
4051
|
userPseudoId?: string;
|
|
3836
4052
|
}
|
|
3837
4053
|
interface GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpec {
|
|
@@ -4674,6 +4890,18 @@ declare namespace gapi.client {
|
|
|
4674
4890
|
/** Operation last update time. If the operation is done, this is also the finish time. */
|
|
4675
4891
|
updateTime?: string;
|
|
4676
4892
|
}
|
|
4893
|
+
interface GoogleCloudDiscoveryengineV1alphaUploadAgentFileRequest {
|
|
4894
|
+
/** Information about the file being uploaded. */
|
|
4895
|
+
blob?: GdataMedia;
|
|
4896
|
+
/** Media upload request metadata. */
|
|
4897
|
+
mediaRequestInfo?: ApiservingMediaRequestInfo;
|
|
4898
|
+
}
|
|
4899
|
+
interface GoogleCloudDiscoveryengineV1alphaUploadAgentFileResponse {
|
|
4900
|
+
/** The uploaded AgentFile. */
|
|
4901
|
+
agentFile?: GoogleCloudDiscoveryengineV1alphaAgentFile;
|
|
4902
|
+
/** Media upload response metadata. */
|
|
4903
|
+
mediaResponseInfo?: ApiservingMediaResponseInfo;
|
|
4904
|
+
}
|
|
4677
4905
|
interface GoogleCloudDiscoveryengineV1alphaUploadSessionFileRequest {
|
|
4678
4906
|
/** Information about the file being uploaded. */
|
|
4679
4907
|
blob?: GdataMedia;
|
|
@@ -4686,6 +4914,12 @@ declare namespace gapi.client {
|
|
|
4686
4914
|
/** Media upload response metadata. */
|
|
4687
4915
|
mediaResponseInfo?: ApiservingMediaResponseInfo;
|
|
4688
4916
|
}
|
|
4917
|
+
interface GoogleCloudDiscoveryengineV1alphaUserAnnotations {
|
|
4918
|
+
/** Optional. Whether the agent is pinned, pinned agent will be displayed on the top of the agent list. */
|
|
4919
|
+
pinned?: boolean;
|
|
4920
|
+
/** Optional. Whether the agent has been viewed by the user. */
|
|
4921
|
+
viewed?: boolean;
|
|
4922
|
+
}
|
|
4689
4923
|
interface GoogleCloudDiscoveryengineV1alphaUserEvent {
|
|
4690
4924
|
/** Extra user event features to include in the recommendation model. These attributes must NOT contain data that needs to be parsed or processed further, e.g. JSON or other encodings. If you provide custom attributes for ingested user events, also include them in the user events that you associate with prediction requests. Custom attribute formatting must be consistent between imported events and events provided with prediction requests. This lets the Discovery Engine API use those custom attributes when training models and serving predictions, which helps improve recommendation quality. This field needs to pass all below criteria, otherwise an `INVALID_ARGUMENT` error is returned: * The key must be a UTF-8 encoded string with a length limit of 5,000 characters. * For text attributes, at most 400 values are allowed. Empty values are not allowed. Each value must be a UTF-8 encoded string with a length limit of 256 characters. * For number attributes, at most 400 values are allowed. For product recommendations, an example of extra user information is `traffic_channel`, which is how a user arrives at the site. Users can arrive at the site by coming to the site directly, coming through Google search, or in other ways. */
|
|
4691
4925
|
attributes?: {
|
|
@@ -4835,8 +5069,6 @@ declare namespace gapi.client {
|
|
|
4835
5069
|
enableSummarization?: boolean;
|
|
4836
5070
|
/** Whether to enable standalone web app. */
|
|
4837
5071
|
enableWebApp?: boolean;
|
|
4838
|
-
/** Allows to toggle unstable/experimental features in the widget (or web app) */
|
|
4839
|
-
experimentalFeatures?: {[P in string]: string};
|
|
4840
5072
|
/** The configuration and appearance of facets in the end user view. */
|
|
4841
5073
|
facetField?: GoogleCloudDiscoveryengineV1alphaWidgetConfigFacetField[];
|
|
4842
5074
|
/** The key is the UI component. Mock. Currently supported `title`, `thumbnail`, `url`, `custom1`, `custom2`, `custom3`. The value is the name of the field along with its device visibility. The 3 custom fields are optional and can be added or removed. `title`, `thumbnail`, `url` are required UI components that cannot be removed. */
|
|
@@ -4943,7 +5175,7 @@ declare namespace gapi.client {
|
|
|
4943
5175
|
field?: string;
|
|
4944
5176
|
}
|
|
4945
5177
|
interface GoogleCloudDiscoveryengineV1alphaWidgetConfigHomepageSetting {
|
|
4946
|
-
/** Optional. The shortcuts to display on the homepage.
|
|
5178
|
+
/** Optional. The shortcuts to display on the homepage. */
|
|
4947
5179
|
shortcuts?: GoogleCloudDiscoveryengineV1alphaWidgetConfigHomepageSettingShortcut[];
|
|
4948
5180
|
}
|
|
4949
5181
|
interface GoogleCloudDiscoveryengineV1alphaWidgetConfigHomepageSettingShortcut {
|
|
@@ -4997,8 +5229,12 @@ declare namespace gapi.client {
|
|
|
4997
5229
|
generativeAnswerConfig?: GoogleCloudDiscoveryengineV1alphaWidgetConfigUiSettingsGenerativeAnswerConfig;
|
|
4998
5230
|
/** Describes widget (or web app) interaction type */
|
|
4999
5231
|
interactionType?: string;
|
|
5232
|
+
/** Output only. Maps a model name to its specific configuration for this engine. This allows admin users to turn on/off individual models. This only stores models whose states are overridden by the admin. When the state is unspecified, or model_configs is empty for this model, the system will decide if this model should be available or not based on the default configuration. For example, a preview model should be disabled by default if the admin has not chosen to enable it. */
|
|
5233
|
+
modelConfigs?: {[P in string]: string};
|
|
5000
5234
|
/** Controls whether result extract is display and how (snippet or extractive answer). Default to no result if unspecified. */
|
|
5001
5235
|
resultDescriptionType?: string;
|
|
5236
|
+
/** Optional. SearchAddonSpec is used to disable add-ons for search. This field is only supported for search requests. */
|
|
5237
|
+
searchAddonSpec?: GoogleCloudDiscoveryengineV1alphaWidgetConfigUiSettingsSearchAddonSpec;
|
|
5002
5238
|
}
|
|
5003
5239
|
interface GoogleCloudDiscoveryengineV1alphaWidgetConfigUiSettingsGenerativeAnswerConfig {
|
|
5004
5240
|
/** Whether generated answer contains suggested related questions. */
|
|
@@ -5022,6 +5258,14 @@ declare namespace gapi.client {
|
|
|
5022
5258
|
/** The number of top results to generate the answer from. Up to 10. */
|
|
5023
5259
|
resultCount?: number;
|
|
5024
5260
|
}
|
|
5261
|
+
interface GoogleCloudDiscoveryengineV1alphaWidgetConfigUiSettingsSearchAddonSpec {
|
|
5262
|
+
/** Optional. If true, generative answer add-on is disabled. Generative answer add-on includes natural language to filters and simple answers. */
|
|
5263
|
+
generativeAnswerAddOnDisabled?: boolean;
|
|
5264
|
+
/** Optional. If true, disables event re-ranking and personalization to optimize KPIs & personalize results. */
|
|
5265
|
+
kpiPersonalizationAddOnDisabled?: boolean;
|
|
5266
|
+
/** Optional. If true, semantic add-on is disabled. Semantic add-on includes embeddings and jetstream. */
|
|
5267
|
+
semanticAddOnDisabled?: boolean;
|
|
5268
|
+
}
|
|
5025
5269
|
interface GoogleCloudDiscoveryengineV1alphaWorkspaceConfig {
|
|
5026
5270
|
/** Obfuscated Dasher customer ID. */
|
|
5027
5271
|
dasherCustomerId?: string;
|
|
@@ -5484,6 +5728,8 @@ declare namespace gapi.client {
|
|
|
5484
5728
|
enableGetProcessedDocument?: boolean;
|
|
5485
5729
|
/** Optional. If true, the LLM based annotation is added to the image during parsing. */
|
|
5486
5730
|
enableImageAnnotation?: boolean;
|
|
5731
|
+
/** Optional. If true, the pdf layout will be refined using an LLM. */
|
|
5732
|
+
enableLlmLayoutParsing?: boolean;
|
|
5487
5733
|
/** Optional. If true, the LLM based annotation is added to the table during parsing. */
|
|
5488
5734
|
enableTableAnnotation?: boolean;
|
|
5489
5735
|
/** Optional. List of HTML classes to exclude from the parsed content. */
|
|
@@ -5515,6 +5761,8 @@ declare namespace gapi.client {
|
|
|
5515
5761
|
chatEngineConfig?: GoogleCloudDiscoveryengineV1betaEngineChatEngineConfig;
|
|
5516
5762
|
/** Output only. Additional information of the Chat Engine. Only applicable if solution_type is SOLUTION_TYPE_CHAT. */
|
|
5517
5763
|
chatEngineMetadata?: GoogleCloudDiscoveryengineV1betaEngineChatEngineMetadata;
|
|
5764
|
+
/** Output only. CMEK-related information for the Engine. */
|
|
5765
|
+
cmekConfig?: GoogleCloudDiscoveryengineV1betaCmekConfig;
|
|
5518
5766
|
/** Common config spec that specifies the metadata of the engine. */
|
|
5519
5767
|
commonConfig?: GoogleCloudDiscoveryengineV1betaEngineCommonConfig;
|
|
5520
5768
|
/** Optional. Configuration for configurable billing approach. */
|
|
@@ -5533,6 +5781,8 @@ declare namespace gapi.client {
|
|
|
5533
5781
|
industryVertical?: string;
|
|
5534
5782
|
/** Configurations for the Media Engine. Only applicable on the data stores with solution_type SOLUTION_TYPE_RECOMMENDATION and IndustryVertical.MEDIA vertical. */
|
|
5535
5783
|
mediaRecommendationEngineConfig?: GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfig;
|
|
5784
|
+
/** Optional. Maps a model name to its specific configuration for this engine. This allows admin users to turn on/off individual models. This only stores models whose states are overridden by the admin. When the state is unspecified, or model_configs is empty for this model, the system will decide if this model should be available or not based on the default configuration. For example, a preview model should be disabled by default if the admin has not chosen to enable it. */
|
|
5785
|
+
modelConfigs?: {[P in string]: string};
|
|
5536
5786
|
/** Immutable. Identifier. The fully qualified resource name of the engine. This field must be a UTF-8 encoded string with a length limit of 1024 characters. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}` engine should be 1-63 characters, and valid characters are /a-z0-9*/. Otherwise, an INVALID_ARGUMENT error is returned. */
|
|
5537
5787
|
name?: string;
|
|
5538
5788
|
/** Configurations for the Search Engine. Only applicable if solution_type is SOLUTION_TYPE_SEARCH. */
|
|
@@ -6024,7 +6274,7 @@ declare namespace gapi.client {
|
|
|
6024
6274
|
userInfo?: GoogleCloudDiscoveryengineV1betaUserInfo;
|
|
6025
6275
|
/** The user labels applied to a resource must meet the following requirements: * Each resource can have multiple labels, up to a maximum of 64. * Each label must be a key-value pair. * Keys have a minimum length of 1 character and a maximum length of 63 characters and cannot be empty. Values can be empty and have a maximum length of 63 characters. * Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes. All characters must use UTF-8 encoding, and international characters are allowed. * The key portion of a label must be unique. However, you can use the same key with multiple resources. * Keys must start with a lowercase letter or international character. See [Google Cloud Document](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements) for more details. */
|
|
6026
6276
|
userLabels?: {[P in string]: string};
|
|
6027
|
-
/** A unique identifier for tracking visitors. For example, this could be implemented with an HTTP cookie, which should be able to uniquely identify a visitor on a single device. This unique identifier should not change if the visitor logs in or out of the website. This field should NOT have a fixed value such as `unknown_visitor`. This should be the same identifier as UserEvent.user_pseudo_id and CompleteQueryRequest.user_pseudo_id The field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an `INVALID_ARGUMENT` error is returned. */
|
|
6277
|
+
/** Optional. A unique identifier for tracking visitors. For example, this could be implemented with an HTTP cookie, which should be able to uniquely identify a visitor on a single device. This unique identifier should not change if the visitor logs in or out of the website. This field should NOT have a fixed value such as `unknown_visitor`. This should be the same identifier as UserEvent.user_pseudo_id and CompleteQueryRequest.user_pseudo_id The field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an `INVALID_ARGUMENT` error is returned. */
|
|
6028
6278
|
userPseudoId?: string;
|
|
6029
6279
|
}
|
|
6030
6280
|
interface GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpec {
|
|
@@ -6815,6 +7065,8 @@ declare namespace gapi.client {
|
|
|
6815
7065
|
enableGetProcessedDocument?: boolean;
|
|
6816
7066
|
/** Optional. If true, the LLM based annotation is added to the image during parsing. */
|
|
6817
7067
|
enableImageAnnotation?: boolean;
|
|
7068
|
+
/** Optional. If true, the pdf layout will be refined using an LLM. */
|
|
7069
|
+
enableLlmLayoutParsing?: boolean;
|
|
6818
7070
|
/** Optional. If true, the LLM based annotation is added to the table during parsing. */
|
|
6819
7071
|
enableTableAnnotation?: boolean;
|
|
6820
7072
|
/** Optional. List of HTML classes to exclude from the parsed content. */
|
|
@@ -6846,6 +7098,8 @@ declare namespace gapi.client {
|
|
|
6846
7098
|
chatEngineConfig?: GoogleCloudDiscoveryengineV1EngineChatEngineConfig;
|
|
6847
7099
|
/** Output only. Additional information of the Chat Engine. Only applicable if solution_type is SOLUTION_TYPE_CHAT. */
|
|
6848
7100
|
chatEngineMetadata?: GoogleCloudDiscoveryengineV1EngineChatEngineMetadata;
|
|
7101
|
+
/** Output only. CMEK-related information for the Engine. */
|
|
7102
|
+
cmekConfig?: GoogleCloudDiscoveryengineV1CmekConfig;
|
|
6849
7103
|
/** Common config spec that specifies the metadata of the engine. */
|
|
6850
7104
|
commonConfig?: GoogleCloudDiscoveryengineV1EngineCommonConfig;
|
|
6851
7105
|
/** Optional. Configuration for configurable billing approach. */
|
|
@@ -6864,6 +7118,8 @@ declare namespace gapi.client {
|
|
|
6864
7118
|
industryVertical?: string;
|
|
6865
7119
|
/** Configurations for the Media Engine. Only applicable on the data stores with solution_type SOLUTION_TYPE_RECOMMENDATION and IndustryVertical.MEDIA vertical. */
|
|
6866
7120
|
mediaRecommendationEngineConfig?: GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfig;
|
|
7121
|
+
/** Optional. Maps a model name to its specific configuration for this engine. This allows admin users to turn on/off individual models. This only stores models whose states are overridden by the admin. When the state is unspecified, or model_configs is empty for this model, the system will decide if this model should be available or not based on the default configuration. For example, a preview model should be disabled by default if the admin has not chosen to enable it. */
|
|
7122
|
+
modelConfigs?: {[P in string]: string};
|
|
6867
7123
|
/** Immutable. Identifier. The fully qualified resource name of the engine. This field must be a UTF-8 encoded string with a length limit of 1024 characters. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}` engine should be 1-63 characters, and valid characters are /a-z0-9*/. Otherwise, an INVALID_ARGUMENT error is returned. */
|
|
6868
7124
|
name?: string;
|
|
6869
7125
|
/** Configurations for the Search Engine. Only applicable if solution_type is SOLUTION_TYPE_SEARCH. */
|
|
@@ -7707,6 +7963,26 @@ declare namespace gapi.client {
|
|
|
7707
7963
|
/** Output only. The id of the youtube video. */
|
|
7708
7964
|
videoId?: string;
|
|
7709
7965
|
}
|
|
7966
|
+
interface GoogleIamV1Binding {
|
|
7967
|
+
/** The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). */
|
|
7968
|
+
condition?: GoogleTypeExpr;
|
|
7969
|
+
/** Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workforce identity pool. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`: All workforce identities in a group. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All workforce identities with a specific attribute value. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/*`: All identities in a workforce identity pool. * `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workload identity pool. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: A workload identity pool group. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All identities in a workload identity pool with a certain attribute. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/*`: All identities in a workload identity pool. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: Deleted single identity in a workforce identity pool. For example, `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`. */
|
|
7970
|
+
members?: string[];
|
|
7971
|
+
/** Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM roles and permissions, see the [IAM documentation](https://cloud.google.com/iam/docs/roles-overview). For a list of the available pre-defined roles, see [here](https://cloud.google.com/iam/docs/understanding-roles). */
|
|
7972
|
+
role?: string;
|
|
7973
|
+
}
|
|
7974
|
+
interface GoogleIamV1Policy {
|
|
7975
|
+
/** Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. */
|
|
7976
|
+
bindings?: GoogleIamV1Binding[];
|
|
7977
|
+
/** `etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. */
|
|
7978
|
+
etag?: string;
|
|
7979
|
+
/** Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). */
|
|
7980
|
+
version?: number;
|
|
7981
|
+
}
|
|
7982
|
+
interface GoogleIamV1SetIamPolicyRequest {
|
|
7983
|
+
/** REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Google Cloud services (such as Projects) might reject them. */
|
|
7984
|
+
policy?: GoogleIamV1Policy;
|
|
7985
|
+
}
|
|
7710
7986
|
interface GoogleLongrunningCancelOperationRequest {}
|
|
7711
7987
|
interface GoogleLongrunningListOperationsResponse {
|
|
7712
7988
|
/** The standard List next-page token. */
|
|
@@ -7882,6 +8158,64 @@ declare namespace gapi.client {
|
|
|
7882
8158
|
},
|
|
7883
8159
|
body: GoogleCloudDiscoveryengineV1alphaDistributeLicenseConfigRequest,
|
|
7884
8160
|
): Request<GoogleCloudDiscoveryengineV1alphaDistributeLicenseConfigResponse>;
|
|
8161
|
+
/** Gets a BillingAccountLicenseConfig. */
|
|
8162
|
+
get(request?: {
|
|
8163
|
+
/** V1 error format. */
|
|
8164
|
+
'$.xgafv'?: string;
|
|
8165
|
+
/** OAuth access token. */
|
|
8166
|
+
access_token?: string;
|
|
8167
|
+
/** Data format for response. */
|
|
8168
|
+
alt?: string;
|
|
8169
|
+
/** JSONP */
|
|
8170
|
+
callback?: string;
|
|
8171
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
8172
|
+
fields?: string;
|
|
8173
|
+
/** 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. */
|
|
8174
|
+
key?: string;
|
|
8175
|
+
/** Required. Full resource name of BillingAccountLicenseConfig. Format: `billingAccounts/{billing_account}/billingAccountLicenseConfigs/{billing_account_license_config_id}`. */
|
|
8176
|
+
name: string;
|
|
8177
|
+
/** OAuth 2.0 token for the current user. */
|
|
8178
|
+
oauth_token?: string;
|
|
8179
|
+
/** Returns response with indentations and line breaks. */
|
|
8180
|
+
prettyPrint?: boolean;
|
|
8181
|
+
/** 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. */
|
|
8182
|
+
quotaUser?: string;
|
|
8183
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
8184
|
+
upload_protocol?: string;
|
|
8185
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
8186
|
+
uploadType?: string;
|
|
8187
|
+
}): Request<GoogleCloudDiscoveryengineV1alphaBillingAccountLicenseConfig>;
|
|
8188
|
+
/** Lists all BillingAccountLicenseConfigs for a given billing account. */
|
|
8189
|
+
list(request?: {
|
|
8190
|
+
/** V1 error format. */
|
|
8191
|
+
'$.xgafv'?: string;
|
|
8192
|
+
/** OAuth access token. */
|
|
8193
|
+
access_token?: string;
|
|
8194
|
+
/** Data format for response. */
|
|
8195
|
+
alt?: string;
|
|
8196
|
+
/** JSONP */
|
|
8197
|
+
callback?: string;
|
|
8198
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
8199
|
+
fields?: string;
|
|
8200
|
+
/** 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. */
|
|
8201
|
+
key?: string;
|
|
8202
|
+
/** OAuth 2.0 token for the current user. */
|
|
8203
|
+
oauth_token?: string;
|
|
8204
|
+
/** Optional. Not supported. */
|
|
8205
|
+
pageSize?: number;
|
|
8206
|
+
/** Optional. Not supported. */
|
|
8207
|
+
pageToken?: string;
|
|
8208
|
+
/** Required. Format: `billingAccounts/{billing_account}`. */
|
|
8209
|
+
parent: string;
|
|
8210
|
+
/** Returns response with indentations and line breaks. */
|
|
8211
|
+
prettyPrint?: boolean;
|
|
8212
|
+
/** 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. */
|
|
8213
|
+
quotaUser?: string;
|
|
8214
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
8215
|
+
upload_protocol?: string;
|
|
8216
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
8217
|
+
uploadType?: string;
|
|
8218
|
+
}): Request<GoogleCloudDiscoveryengineV1alphaListBillingAccountLicenseConfigsResponse>;
|
|
7885
8219
|
/** This method is called from the billing account side to retract the LicenseConfig from the given project back to the billing account. */
|
|
7886
8220
|
retractLicenseConfig(request: {
|
|
7887
8221
|
/** V1 error format. */
|
|
@@ -7976,6 +8310,64 @@ declare namespace gapi.client {
|
|
|
7976
8310
|
/** Optional. The ID of the view to be downloaded. */
|
|
7977
8311
|
viewId?: string;
|
|
7978
8312
|
}): Request<GdataMedia>;
|
|
8313
|
+
/** Uploads a file for the assistant to use as a source of information within the session. */
|
|
8314
|
+
upload(request: {
|
|
8315
|
+
/** V1 error format. */
|
|
8316
|
+
'$.xgafv'?: string;
|
|
8317
|
+
/** OAuth access token. */
|
|
8318
|
+
access_token?: string;
|
|
8319
|
+
/** Data format for response. */
|
|
8320
|
+
alt?: string;
|
|
8321
|
+
/** JSONP */
|
|
8322
|
+
callback?: string;
|
|
8323
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
8324
|
+
fields?: string;
|
|
8325
|
+
/** 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. */
|
|
8326
|
+
key?: string;
|
|
8327
|
+
/** Required. The resource name of the Session. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}` */
|
|
8328
|
+
name: string;
|
|
8329
|
+
/** OAuth 2.0 token for the current user. */
|
|
8330
|
+
oauth_token?: string;
|
|
8331
|
+
/** Returns response with indentations and line breaks. */
|
|
8332
|
+
prettyPrint?: boolean;
|
|
8333
|
+
/** 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. */
|
|
8334
|
+
quotaUser?: string;
|
|
8335
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
8336
|
+
upload_protocol?: string;
|
|
8337
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
8338
|
+
uploadType?: string;
|
|
8339
|
+
/** Request body */
|
|
8340
|
+
resource: GoogleCloudDiscoveryengineV1alphaUploadSessionFileRequest;
|
|
8341
|
+
}): Request<GoogleCloudDiscoveryengineV1alphaUploadSessionFileResponse>;
|
|
8342
|
+
upload(
|
|
8343
|
+
request: {
|
|
8344
|
+
/** V1 error format. */
|
|
8345
|
+
'$.xgafv'?: string;
|
|
8346
|
+
/** OAuth access token. */
|
|
8347
|
+
access_token?: string;
|
|
8348
|
+
/** Data format for response. */
|
|
8349
|
+
alt?: string;
|
|
8350
|
+
/** JSONP */
|
|
8351
|
+
callback?: string;
|
|
8352
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
8353
|
+
fields?: string;
|
|
8354
|
+
/** 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. */
|
|
8355
|
+
key?: string;
|
|
8356
|
+
/** Required. The resource name of the Session. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}` */
|
|
8357
|
+
name: string;
|
|
8358
|
+
/** OAuth 2.0 token for the current user. */
|
|
8359
|
+
oauth_token?: string;
|
|
8360
|
+
/** Returns response with indentations and line breaks. */
|
|
8361
|
+
prettyPrint?: boolean;
|
|
8362
|
+
/** 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. */
|
|
8363
|
+
quotaUser?: string;
|
|
8364
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
8365
|
+
upload_protocol?: string;
|
|
8366
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
8367
|
+
uploadType?: string;
|
|
8368
|
+
},
|
|
8369
|
+
body: GoogleCloudDiscoveryengineV1alphaUploadSessionFileRequest,
|
|
8370
|
+
): Request<GoogleCloudDiscoveryengineV1alphaUploadSessionFileResponse>;
|
|
7979
8371
|
}
|
|
7980
8372
|
interface AuthorizationsResource {
|
|
7981
8373
|
/** Creates an Authorization. */
|
|
@@ -12217,6 +12609,68 @@ declare namespace gapi.client {
|
|
|
12217
12609
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
12218
12610
|
uploadType?: string;
|
|
12219
12611
|
}): Request<GoogleCloudDiscoveryengineV1alphaWidgetConfig>;
|
|
12612
|
+
/** Update a WidgetConfig. */
|
|
12613
|
+
patch(request: {
|
|
12614
|
+
/** V1 error format. */
|
|
12615
|
+
'$.xgafv'?: string;
|
|
12616
|
+
/** OAuth access token. */
|
|
12617
|
+
access_token?: string;
|
|
12618
|
+
/** Data format for response. */
|
|
12619
|
+
alt?: string;
|
|
12620
|
+
/** JSONP */
|
|
12621
|
+
callback?: string;
|
|
12622
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
12623
|
+
fields?: string;
|
|
12624
|
+
/** 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. */
|
|
12625
|
+
key?: string;
|
|
12626
|
+
/** Immutable. The full resource name of the widget config. Format: `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/widgetConfigs/{widget_config_id}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters. */
|
|
12627
|
+
name: string;
|
|
12628
|
+
/** OAuth 2.0 token for the current user. */
|
|
12629
|
+
oauth_token?: string;
|
|
12630
|
+
/** Returns response with indentations and line breaks. */
|
|
12631
|
+
prettyPrint?: boolean;
|
|
12632
|
+
/** 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. */
|
|
12633
|
+
quotaUser?: string;
|
|
12634
|
+
/** Indicates which fields in the provided WidgetConfig to update. The following are the only supported fields: * WidgetConfig.enable_autocomplete If not set, all supported fields are updated. */
|
|
12635
|
+
updateMask?: string;
|
|
12636
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
12637
|
+
upload_protocol?: string;
|
|
12638
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
12639
|
+
uploadType?: string;
|
|
12640
|
+
/** Request body */
|
|
12641
|
+
resource: GoogleCloudDiscoveryengineV1alphaWidgetConfig;
|
|
12642
|
+
}): Request<GoogleCloudDiscoveryengineV1alphaWidgetConfig>;
|
|
12643
|
+
patch(
|
|
12644
|
+
request: {
|
|
12645
|
+
/** V1 error format. */
|
|
12646
|
+
'$.xgafv'?: string;
|
|
12647
|
+
/** OAuth access token. */
|
|
12648
|
+
access_token?: string;
|
|
12649
|
+
/** Data format for response. */
|
|
12650
|
+
alt?: string;
|
|
12651
|
+
/** JSONP */
|
|
12652
|
+
callback?: string;
|
|
12653
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
12654
|
+
fields?: string;
|
|
12655
|
+
/** 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. */
|
|
12656
|
+
key?: string;
|
|
12657
|
+
/** Immutable. The full resource name of the widget config. Format: `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/widgetConfigs/{widget_config_id}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters. */
|
|
12658
|
+
name: string;
|
|
12659
|
+
/** OAuth 2.0 token for the current user. */
|
|
12660
|
+
oauth_token?: string;
|
|
12661
|
+
/** Returns response with indentations and line breaks. */
|
|
12662
|
+
prettyPrint?: boolean;
|
|
12663
|
+
/** 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. */
|
|
12664
|
+
quotaUser?: string;
|
|
12665
|
+
/** Indicates which fields in the provided WidgetConfig to update. The following are the only supported fields: * WidgetConfig.enable_autocomplete If not set, all supported fields are updated. */
|
|
12666
|
+
updateMask?: string;
|
|
12667
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
12668
|
+
upload_protocol?: string;
|
|
12669
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
12670
|
+
uploadType?: string;
|
|
12671
|
+
},
|
|
12672
|
+
body: GoogleCloudDiscoveryengineV1alphaWidgetConfig,
|
|
12673
|
+
): Request<GoogleCloudDiscoveryengineV1alphaWidgetConfig>;
|
|
12220
12674
|
}
|
|
12221
12675
|
interface DataStoresResource {
|
|
12222
12676
|
/** Completes the specified user input with keyword suggestions. */
|
|
@@ -12251,7 +12705,7 @@ declare namespace gapi.client {
|
|
|
12251
12705
|
upload_protocol?: string;
|
|
12252
12706
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
12253
12707
|
uploadType?: string;
|
|
12254
|
-
/** A unique identifier for tracking visitors. For example, this could be implemented with an HTTP cookie, which should be able to uniquely identify a visitor on a single device. This unique identifier should not change if the visitor logs in or out of the website. This field should NOT have a fixed value such as `unknown_visitor`. This should be the same identifier as UserEvent.user_pseudo_id and SearchRequest.user_pseudo_id. The field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an `INVALID_ARGUMENT` error is returned. */
|
|
12708
|
+
/** Optional. A unique identifier for tracking visitors. For example, this could be implemented with an HTTP cookie, which should be able to uniquely identify a visitor on a single device. This unique identifier should not change if the visitor logs in or out of the website. This field should NOT have a fixed value such as `unknown_visitor`. This should be the same identifier as UserEvent.user_pseudo_id and SearchRequest.user_pseudo_id. The field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an `INVALID_ARGUMENT` error is returned. */
|
|
12255
12709
|
userPseudoId?: string;
|
|
12256
12710
|
}): Request<GoogleCloudDiscoveryengineV1alphaCompleteQueryResponse>;
|
|
12257
12711
|
/** Creates a DataStore. DataStore is for storing Documents. To serve these documents for Search, or Recommendation use case, an Engine needs to be created separately. */
|
|
@@ -12731,9 +13185,9 @@ declare namespace gapi.client {
|
|
|
12731
13185
|
body: GoogleCloudDiscoveryengineV1alphaExportMetricsRequest,
|
|
12732
13186
|
): Request<GoogleLongrunningOperation>;
|
|
12733
13187
|
}
|
|
12734
|
-
interface
|
|
12735
|
-
/**
|
|
12736
|
-
|
|
13188
|
+
interface FilesResource {
|
|
13189
|
+
/** Imports a file to an Agent. Currently only No-Code agents are supported. */
|
|
13190
|
+
import(request: {
|
|
12737
13191
|
/** V1 error format. */
|
|
12738
13192
|
'$.xgafv'?: string;
|
|
12739
13193
|
/** OAuth access token. */
|
|
@@ -12742,15 +13196,13 @@ declare namespace gapi.client {
|
|
|
12742
13196
|
alt?: string;
|
|
12743
13197
|
/** JSONP */
|
|
12744
13198
|
callback?: string;
|
|
12745
|
-
/** 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. */
|
|
12746
|
-
cannedQueryId?: string;
|
|
12747
13199
|
/** Selector specifying which fields to include in a partial response. */
|
|
12748
13200
|
fields?: string;
|
|
12749
13201
|
/** 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. */
|
|
12750
13202
|
key?: string;
|
|
12751
13203
|
/** OAuth 2.0 token for the current user. */
|
|
12752
13204
|
oauth_token?: string;
|
|
12753
|
-
/** Required. The
|
|
13205
|
+
/** Required. The resource name of the Agent. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}/agents/{agent}` */
|
|
12754
13206
|
parent: string;
|
|
12755
13207
|
/** Returns response with indentations and line breaks. */
|
|
12756
13208
|
prettyPrint?: boolean;
|
|
@@ -12761,9 +13213,9 @@ declare namespace gapi.client {
|
|
|
12761
13213
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
12762
13214
|
uploadType?: string;
|
|
12763
13215
|
/** Request body */
|
|
12764
|
-
resource:
|
|
12765
|
-
}): Request<
|
|
12766
|
-
|
|
13216
|
+
resource: GoogleCloudDiscoveryengineV1alphaImportAgentFileRequest;
|
|
13217
|
+
}): Request<GoogleCloudDiscoveryengineV1alphaImportAgentFileResponse>;
|
|
13218
|
+
import(
|
|
12767
13219
|
request: {
|
|
12768
13220
|
/** V1 error format. */
|
|
12769
13221
|
'$.xgafv'?: string;
|
|
@@ -12773,15 +13225,13 @@ declare namespace gapi.client {
|
|
|
12773
13225
|
alt?: string;
|
|
12774
13226
|
/** JSONP */
|
|
12775
13227
|
callback?: string;
|
|
12776
|
-
/** 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. */
|
|
12777
|
-
cannedQueryId?: string;
|
|
12778
13228
|
/** Selector specifying which fields to include in a partial response. */
|
|
12779
13229
|
fields?: string;
|
|
12780
13230
|
/** 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. */
|
|
12781
13231
|
key?: string;
|
|
12782
13232
|
/** OAuth 2.0 token for the current user. */
|
|
12783
13233
|
oauth_token?: string;
|
|
12784
|
-
/** Required. The
|
|
13234
|
+
/** Required. The resource name of the Agent. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}/agents/{agent}` */
|
|
12785
13235
|
parent: string;
|
|
12786
13236
|
/** Returns response with indentations and line breaks. */
|
|
12787
13237
|
prettyPrint?: boolean;
|
|
@@ -12792,11 +13242,458 @@ declare namespace gapi.client {
|
|
|
12792
13242
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
12793
13243
|
uploadType?: string;
|
|
12794
13244
|
},
|
|
12795
|
-
body:
|
|
12796
|
-
): Request<
|
|
12797
|
-
|
|
12798
|
-
|
|
12799
|
-
|
|
13245
|
+
body: GoogleCloudDiscoveryengineV1alphaImportAgentFileRequest,
|
|
13246
|
+
): Request<GoogleCloudDiscoveryengineV1alphaImportAgentFileResponse>;
|
|
13247
|
+
}
|
|
13248
|
+
interface AgentsResource {
|
|
13249
|
+
/** Creates an Agent. */
|
|
13250
|
+
create(request: {
|
|
13251
|
+
/** V1 error format. */
|
|
13252
|
+
'$.xgafv'?: string;
|
|
13253
|
+
/** OAuth access token. */
|
|
13254
|
+
access_token?: string;
|
|
13255
|
+
/** Data format for response. */
|
|
13256
|
+
alt?: string;
|
|
13257
|
+
/** JSONP */
|
|
13258
|
+
callback?: string;
|
|
13259
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
13260
|
+
fields?: string;
|
|
13261
|
+
/** 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. */
|
|
13262
|
+
key?: string;
|
|
13263
|
+
/** OAuth 2.0 token for the current user. */
|
|
13264
|
+
oauth_token?: string;
|
|
13265
|
+
/** Required. The parent resource name. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}` */
|
|
13266
|
+
parent: string;
|
|
13267
|
+
/** Returns response with indentations and line breaks. */
|
|
13268
|
+
prettyPrint?: boolean;
|
|
13269
|
+
/** 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. */
|
|
13270
|
+
quotaUser?: string;
|
|
13271
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
13272
|
+
upload_protocol?: string;
|
|
13273
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
13274
|
+
uploadType?: string;
|
|
13275
|
+
/** Request body */
|
|
13276
|
+
resource: GoogleCloudDiscoveryengineV1alphaAgent;
|
|
13277
|
+
}): Request<GoogleCloudDiscoveryengineV1alphaAgent>;
|
|
13278
|
+
create(
|
|
13279
|
+
request: {
|
|
13280
|
+
/** V1 error format. */
|
|
13281
|
+
'$.xgafv'?: string;
|
|
13282
|
+
/** OAuth access token. */
|
|
13283
|
+
access_token?: string;
|
|
13284
|
+
/** Data format for response. */
|
|
13285
|
+
alt?: string;
|
|
13286
|
+
/** JSONP */
|
|
13287
|
+
callback?: string;
|
|
13288
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
13289
|
+
fields?: string;
|
|
13290
|
+
/** 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. */
|
|
13291
|
+
key?: string;
|
|
13292
|
+
/** OAuth 2.0 token for the current user. */
|
|
13293
|
+
oauth_token?: string;
|
|
13294
|
+
/** Required. The parent resource name. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}` */
|
|
13295
|
+
parent: string;
|
|
13296
|
+
/** Returns response with indentations and line breaks. */
|
|
13297
|
+
prettyPrint?: boolean;
|
|
13298
|
+
/** 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. */
|
|
13299
|
+
quotaUser?: string;
|
|
13300
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
13301
|
+
upload_protocol?: string;
|
|
13302
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
13303
|
+
uploadType?: string;
|
|
13304
|
+
},
|
|
13305
|
+
body: GoogleCloudDiscoveryengineV1alphaAgent,
|
|
13306
|
+
): Request<GoogleCloudDiscoveryengineV1alphaAgent>;
|
|
13307
|
+
/** Deletes an Agent. */
|
|
13308
|
+
delete(request?: {
|
|
13309
|
+
/** V1 error format. */
|
|
13310
|
+
'$.xgafv'?: string;
|
|
13311
|
+
/** OAuth access token. */
|
|
13312
|
+
access_token?: string;
|
|
13313
|
+
/** Data format for response. */
|
|
13314
|
+
alt?: string;
|
|
13315
|
+
/** JSONP */
|
|
13316
|
+
callback?: string;
|
|
13317
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
13318
|
+
fields?: string;
|
|
13319
|
+
/** 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. */
|
|
13320
|
+
key?: string;
|
|
13321
|
+
/** Required. Resource name of Agent. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}/agents/{agent}` If the caller does not have permission to delete the agent, regardless of whether or not it exists, a `PERMISSION_DENIED` error is returned. If the agent to delete does not exist, a `NOT_FOUND` error is returned. */
|
|
13322
|
+
name: string;
|
|
13323
|
+
/** OAuth 2.0 token for the current user. */
|
|
13324
|
+
oauth_token?: string;
|
|
13325
|
+
/** Returns response with indentations and line breaks. */
|
|
13326
|
+
prettyPrint?: boolean;
|
|
13327
|
+
/** 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. */
|
|
13328
|
+
quotaUser?: string;
|
|
13329
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
13330
|
+
upload_protocol?: string;
|
|
13331
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
13332
|
+
uploadType?: string;
|
|
13333
|
+
}): Request<GoogleLongrunningOperation>;
|
|
13334
|
+
/** Disables an Agent. The `state` of the Agent becomes `DISABLED`. Can be called on an Agent in the state `ENABLED` or`SUSPENDED`, otherwise it returns an error. */
|
|
13335
|
+
disableAgent(request?: {
|
|
13336
|
+
/** V1 error format. */
|
|
13337
|
+
'$.xgafv'?: string;
|
|
13338
|
+
/** OAuth access token. */
|
|
13339
|
+
access_token?: string;
|
|
13340
|
+
/** Data format for response. */
|
|
13341
|
+
alt?: string;
|
|
13342
|
+
/** JSONP */
|
|
13343
|
+
callback?: string;
|
|
13344
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
13345
|
+
fields?: string;
|
|
13346
|
+
/** 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. */
|
|
13347
|
+
key?: string;
|
|
13348
|
+
/** Required. The name of the Agent to disable. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}/agents/{agent}` */
|
|
13349
|
+
name: string;
|
|
13350
|
+
/** OAuth 2.0 token for the current user. */
|
|
13351
|
+
oauth_token?: string;
|
|
13352
|
+
/** Returns response with indentations and line breaks. */
|
|
13353
|
+
prettyPrint?: boolean;
|
|
13354
|
+
/** 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. */
|
|
13355
|
+
quotaUser?: string;
|
|
13356
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
13357
|
+
upload_protocol?: string;
|
|
13358
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
13359
|
+
uploadType?: string;
|
|
13360
|
+
}): Request<GoogleCloudDiscoveryengineV1alphaAgent>;
|
|
13361
|
+
/** Enables an Agent. The `state` of the Agent becomes `ENABLED`. Can be called on an Agent in the state `DISABLED` or 'SUSPENDED', otherwise it returns an error. */
|
|
13362
|
+
enableAgent(request?: {
|
|
13363
|
+
/** V1 error format. */
|
|
13364
|
+
'$.xgafv'?: string;
|
|
13365
|
+
/** OAuth access token. */
|
|
13366
|
+
access_token?: string;
|
|
13367
|
+
/** Data format for response. */
|
|
13368
|
+
alt?: string;
|
|
13369
|
+
/** JSONP */
|
|
13370
|
+
callback?: string;
|
|
13371
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
13372
|
+
fields?: string;
|
|
13373
|
+
/** 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. */
|
|
13374
|
+
key?: string;
|
|
13375
|
+
/** Required. The name of the Agent to enable. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}/agents/{agent}` */
|
|
13376
|
+
name: string;
|
|
13377
|
+
/** OAuth 2.0 token for the current user. */
|
|
13378
|
+
oauth_token?: string;
|
|
13379
|
+
/** Returns response with indentations and line breaks. */
|
|
13380
|
+
prettyPrint?: boolean;
|
|
13381
|
+
/** 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. */
|
|
13382
|
+
quotaUser?: string;
|
|
13383
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
13384
|
+
upload_protocol?: string;
|
|
13385
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
13386
|
+
uploadType?: string;
|
|
13387
|
+
}): Request<GoogleCloudDiscoveryengineV1alphaAgent>;
|
|
13388
|
+
/** Gets an Agent. */
|
|
13389
|
+
get(request?: {
|
|
13390
|
+
/** V1 error format. */
|
|
13391
|
+
'$.xgafv'?: string;
|
|
13392
|
+
/** OAuth access token. */
|
|
13393
|
+
access_token?: string;
|
|
13394
|
+
/** Data format for response. */
|
|
13395
|
+
alt?: string;
|
|
13396
|
+
/** JSONP */
|
|
13397
|
+
callback?: string;
|
|
13398
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
13399
|
+
fields?: string;
|
|
13400
|
+
/** 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. */
|
|
13401
|
+
key?: string;
|
|
13402
|
+
/** Required. Resource name of Agent. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}/agents/{agent}` */
|
|
13403
|
+
name: string;
|
|
13404
|
+
/** OAuth 2.0 token for the current user. */
|
|
13405
|
+
oauth_token?: string;
|
|
13406
|
+
/** Returns response with indentations and line breaks. */
|
|
13407
|
+
prettyPrint?: boolean;
|
|
13408
|
+
/** 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. */
|
|
13409
|
+
quotaUser?: string;
|
|
13410
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
13411
|
+
upload_protocol?: string;
|
|
13412
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
13413
|
+
uploadType?: string;
|
|
13414
|
+
}): Request<GoogleCloudDiscoveryengineV1alphaAgent>;
|
|
13415
|
+
/** Returns a AgentView for a given Agent, which contains additional information about the Agent. */
|
|
13416
|
+
getAgentView(request?: {
|
|
13417
|
+
/** V1 error format. */
|
|
13418
|
+
'$.xgafv'?: string;
|
|
13419
|
+
/** OAuth access token. */
|
|
13420
|
+
access_token?: string;
|
|
13421
|
+
/** Data format for response. */
|
|
13422
|
+
alt?: string;
|
|
13423
|
+
/** JSONP */
|
|
13424
|
+
callback?: string;
|
|
13425
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
13426
|
+
fields?: string;
|
|
13427
|
+
/** 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. */
|
|
13428
|
+
key?: string;
|
|
13429
|
+
/** Optional. The UI language currently shown to the user. Specifying this field request that the texts in the AgentView in the response should be translated to this language. */
|
|
13430
|
+
languageCode?: string;
|
|
13431
|
+
/** Optional. The maximum number of suggested prompts to return per agent. */
|
|
13432
|
+
maxSuggestedPrompts?: number;
|
|
13433
|
+
/** Required. The name of the Agent to get. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}/agents/{agent}` */
|
|
13434
|
+
name: string;
|
|
13435
|
+
/** OAuth 2.0 token for the current user. */
|
|
13436
|
+
oauth_token?: string;
|
|
13437
|
+
/** Returns response with indentations and line breaks. */
|
|
13438
|
+
prettyPrint?: boolean;
|
|
13439
|
+
/** 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. */
|
|
13440
|
+
quotaUser?: string;
|
|
13441
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
13442
|
+
upload_protocol?: string;
|
|
13443
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
13444
|
+
uploadType?: string;
|
|
13445
|
+
}): Request<GoogleCloudDiscoveryengineV1alphaGetAgentViewResponse>;
|
|
13446
|
+
/** Gets the access control policy for an agent resource. A `NOT_FOUND` error is returned if the resource does not exist. An empty policy is returned if the resource exists but does not have a policy set on it. */
|
|
13447
|
+
getIamPolicy(request?: {
|
|
13448
|
+
/** V1 error format. */
|
|
13449
|
+
'$.xgafv'?: string;
|
|
13450
|
+
/** OAuth access token. */
|
|
13451
|
+
access_token?: string;
|
|
13452
|
+
/** Data format for response. */
|
|
13453
|
+
alt?: string;
|
|
13454
|
+
/** JSONP */
|
|
13455
|
+
callback?: string;
|
|
13456
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
13457
|
+
fields?: string;
|
|
13458
|
+
/** 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. */
|
|
13459
|
+
key?: string;
|
|
13460
|
+
/** OAuth 2.0 token for the current user. */
|
|
13461
|
+
oauth_token?: string;
|
|
13462
|
+
/** Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). */
|
|
13463
|
+
'options.requestedPolicyVersion'?: number;
|
|
13464
|
+
/** Returns response with indentations and line breaks. */
|
|
13465
|
+
prettyPrint?: boolean;
|
|
13466
|
+
/** 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. */
|
|
13467
|
+
quotaUser?: string;
|
|
13468
|
+
/** REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. */
|
|
13469
|
+
resource: string;
|
|
13470
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
13471
|
+
upload_protocol?: string;
|
|
13472
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
13473
|
+
uploadType?: string;
|
|
13474
|
+
}): Request<GoogleIamV1Policy>;
|
|
13475
|
+
/** Lists all Agents under an Assistant which were created by the caller. */
|
|
13476
|
+
list(request?: {
|
|
13477
|
+
/** V1 error format. */
|
|
13478
|
+
'$.xgafv'?: string;
|
|
13479
|
+
/** OAuth access token. */
|
|
13480
|
+
access_token?: string;
|
|
13481
|
+
/** Data format for response. */
|
|
13482
|
+
alt?: string;
|
|
13483
|
+
/** JSONP */
|
|
13484
|
+
callback?: string;
|
|
13485
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
13486
|
+
fields?: string;
|
|
13487
|
+
/** 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. */
|
|
13488
|
+
key?: string;
|
|
13489
|
+
/** OAuth 2.0 token for the current user. */
|
|
13490
|
+
oauth_token?: string;
|
|
13491
|
+
/** Optional. A comma-separated list of fields to order by, sorted in ascending order. Use "desc" after a field name for descending. Supported fields: * `update_time` * `is_pinned` Example: * "update_time desc" * "is_pinned desc,update_time desc": list agents by is_pinned first, then by update_time. */
|
|
13492
|
+
orderBy?: string;
|
|
13493
|
+
/** Optional. Maximum number of Agents to return. If unspecified, defaults to 100. The maximum allowed value is 1000; anything above that will be coerced down to 1000. */
|
|
13494
|
+
pageSize?: number;
|
|
13495
|
+
/** Optional. A page token ListAgentsResponse.next_page_token, received from a previous AgentService.ListAgents call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to ListAgents must match the call that provided the page token. */
|
|
13496
|
+
pageToken?: string;
|
|
13497
|
+
/** Required. The parent resource name. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}` */
|
|
13498
|
+
parent: string;
|
|
13499
|
+
/** Returns response with indentations and line breaks. */
|
|
13500
|
+
prettyPrint?: boolean;
|
|
13501
|
+
/** 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. */
|
|
13502
|
+
quotaUser?: string;
|
|
13503
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
13504
|
+
upload_protocol?: string;
|
|
13505
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
13506
|
+
uploadType?: string;
|
|
13507
|
+
}): Request<GoogleCloudDiscoveryengineV1alphaListAgentsResponse>;
|
|
13508
|
+
/** Updates an Agent */
|
|
13509
|
+
patch(request: {
|
|
13510
|
+
/** V1 error format. */
|
|
13511
|
+
'$.xgafv'?: string;
|
|
13512
|
+
/** OAuth access token. */
|
|
13513
|
+
access_token?: string;
|
|
13514
|
+
/** Data format for response. */
|
|
13515
|
+
alt?: string;
|
|
13516
|
+
/** JSONP */
|
|
13517
|
+
callback?: string;
|
|
13518
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
13519
|
+
fields?: string;
|
|
13520
|
+
/** 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. */
|
|
13521
|
+
key?: string;
|
|
13522
|
+
/** Identifier. Resource name of the agent. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}/agents/{agent}` */
|
|
13523
|
+
name: string;
|
|
13524
|
+
/** OAuth 2.0 token for the current user. */
|
|
13525
|
+
oauth_token?: string;
|
|
13526
|
+
/** Returns response with indentations and line breaks. */
|
|
13527
|
+
prettyPrint?: boolean;
|
|
13528
|
+
/** 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. */
|
|
13529
|
+
quotaUser?: string;
|
|
13530
|
+
/** Optional. The list of fields to update. */
|
|
13531
|
+
updateMask?: string;
|
|
13532
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
13533
|
+
upload_protocol?: string;
|
|
13534
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
13535
|
+
uploadType?: string;
|
|
13536
|
+
/** Request body */
|
|
13537
|
+
resource: GoogleCloudDiscoveryengineV1alphaAgent;
|
|
13538
|
+
}): Request<GoogleCloudDiscoveryengineV1alphaAgent>;
|
|
13539
|
+
patch(
|
|
13540
|
+
request: {
|
|
13541
|
+
/** V1 error format. */
|
|
13542
|
+
'$.xgafv'?: string;
|
|
13543
|
+
/** OAuth access token. */
|
|
13544
|
+
access_token?: string;
|
|
13545
|
+
/** Data format for response. */
|
|
13546
|
+
alt?: string;
|
|
13547
|
+
/** JSONP */
|
|
13548
|
+
callback?: string;
|
|
13549
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
13550
|
+
fields?: string;
|
|
13551
|
+
/** 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. */
|
|
13552
|
+
key?: string;
|
|
13553
|
+
/** Identifier. Resource name of the agent. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}/agents/{agent}` */
|
|
13554
|
+
name: string;
|
|
13555
|
+
/** OAuth 2.0 token for the current user. */
|
|
13556
|
+
oauth_token?: string;
|
|
13557
|
+
/** Returns response with indentations and line breaks. */
|
|
13558
|
+
prettyPrint?: boolean;
|
|
13559
|
+
/** 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. */
|
|
13560
|
+
quotaUser?: string;
|
|
13561
|
+
/** Optional. The list of fields to update. */
|
|
13562
|
+
updateMask?: string;
|
|
13563
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
13564
|
+
upload_protocol?: string;
|
|
13565
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
13566
|
+
uploadType?: string;
|
|
13567
|
+
},
|
|
13568
|
+
body: GoogleCloudDiscoveryengineV1alphaAgent,
|
|
13569
|
+
): Request<GoogleCloudDiscoveryengineV1alphaAgent>;
|
|
13570
|
+
/** Sets the access control policy for an agent resource. A `NOT_FOUND` error is returned if the resource does not exist. Policy can only contain `roles/discoveryengine.agentUser`, `roles/discoveryengine.agentViewer` and `roles/discoveryengine.agentEditor` roles. */
|
|
13571
|
+
setIamPolicy(
|
|
13572
|
+
request: {
|
|
13573
|
+
/** V1 error format. */
|
|
13574
|
+
'$.xgafv'?: string;
|
|
13575
|
+
/** OAuth access token. */
|
|
13576
|
+
access_token?: string;
|
|
13577
|
+
/** Data format for response. */
|
|
13578
|
+
alt?: string;
|
|
13579
|
+
/** JSONP */
|
|
13580
|
+
callback?: string;
|
|
13581
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
13582
|
+
fields?: string;
|
|
13583
|
+
/** 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. */
|
|
13584
|
+
key?: string;
|
|
13585
|
+
/** OAuth 2.0 token for the current user. */
|
|
13586
|
+
oauth_token?: string;
|
|
13587
|
+
/** Returns response with indentations and line breaks. */
|
|
13588
|
+
prettyPrint?: boolean;
|
|
13589
|
+
/** 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. */
|
|
13590
|
+
quotaUser?: string;
|
|
13591
|
+
/** REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. */
|
|
13592
|
+
resource: string;
|
|
13593
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
13594
|
+
upload_protocol?: string;
|
|
13595
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
13596
|
+
uploadType?: string;
|
|
13597
|
+
},
|
|
13598
|
+
body: GoogleIamV1SetIamPolicyRequest,
|
|
13599
|
+
): Request<GoogleIamV1Policy>;
|
|
13600
|
+
/** Suspends an Agent. It is still available for viewing but not for use. The `state` of the Agent becomes `SUSPENDED`. Can be called on an Agent in the state `ENABLED`, otherwise it returns an error. */
|
|
13601
|
+
suspendAgent(request?: {
|
|
13602
|
+
/** V1 error format. */
|
|
13603
|
+
'$.xgafv'?: string;
|
|
13604
|
+
/** OAuth access token. */
|
|
13605
|
+
access_token?: string;
|
|
13606
|
+
/** Data format for response. */
|
|
13607
|
+
alt?: string;
|
|
13608
|
+
/** JSONP */
|
|
13609
|
+
callback?: string;
|
|
13610
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
13611
|
+
fields?: string;
|
|
13612
|
+
/** 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. */
|
|
13613
|
+
key?: string;
|
|
13614
|
+
/** Required. The name of the Agent to suspend. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}/agents/{agent}` */
|
|
13615
|
+
name: string;
|
|
13616
|
+
/** OAuth 2.0 token for the current user. */
|
|
13617
|
+
oauth_token?: string;
|
|
13618
|
+
/** Returns response with indentations and line breaks. */
|
|
13619
|
+
prettyPrint?: boolean;
|
|
13620
|
+
/** 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. */
|
|
13621
|
+
quotaUser?: string;
|
|
13622
|
+
/** Required. The reason for suspending the Agent. This will be shown to the users of the Agent. */
|
|
13623
|
+
suspensionReason?: string;
|
|
13624
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
13625
|
+
upload_protocol?: string;
|
|
13626
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
13627
|
+
uploadType?: string;
|
|
13628
|
+
}): Request<GoogleCloudDiscoveryengineV1alphaAgent>;
|
|
13629
|
+
files: FilesResource;
|
|
13630
|
+
}
|
|
13631
|
+
interface CannedQueriesResource {
|
|
13632
|
+
/** Creates a CannedQuery. */
|
|
13633
|
+
create(request: {
|
|
13634
|
+
/** V1 error format. */
|
|
13635
|
+
'$.xgafv'?: string;
|
|
13636
|
+
/** OAuth access token. */
|
|
13637
|
+
access_token?: string;
|
|
13638
|
+
/** Data format for response. */
|
|
13639
|
+
alt?: string;
|
|
13640
|
+
/** JSONP */
|
|
13641
|
+
callback?: string;
|
|
13642
|
+
/** 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. */
|
|
13643
|
+
cannedQueryId?: string;
|
|
13644
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
13645
|
+
fields?: string;
|
|
13646
|
+
/** 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. */
|
|
13647
|
+
key?: string;
|
|
13648
|
+
/** OAuth 2.0 token for the current user. */
|
|
13649
|
+
oauth_token?: string;
|
|
13650
|
+
/** Required. The parent resource name. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}` */
|
|
13651
|
+
parent: string;
|
|
13652
|
+
/** Returns response with indentations and line breaks. */
|
|
13653
|
+
prettyPrint?: boolean;
|
|
13654
|
+
/** 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. */
|
|
13655
|
+
quotaUser?: string;
|
|
13656
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
13657
|
+
upload_protocol?: string;
|
|
13658
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
13659
|
+
uploadType?: string;
|
|
13660
|
+
/** Request body */
|
|
13661
|
+
resource: GoogleCloudDiscoveryengineV1alphaCannedQuery;
|
|
13662
|
+
}): Request<GoogleCloudDiscoveryengineV1alphaCannedQuery>;
|
|
13663
|
+
create(
|
|
13664
|
+
request: {
|
|
13665
|
+
/** V1 error format. */
|
|
13666
|
+
'$.xgafv'?: string;
|
|
13667
|
+
/** OAuth access token. */
|
|
13668
|
+
access_token?: string;
|
|
13669
|
+
/** Data format for response. */
|
|
13670
|
+
alt?: string;
|
|
13671
|
+
/** JSONP */
|
|
13672
|
+
callback?: string;
|
|
13673
|
+
/** 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. */
|
|
13674
|
+
cannedQueryId?: string;
|
|
13675
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
13676
|
+
fields?: string;
|
|
13677
|
+
/** 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. */
|
|
13678
|
+
key?: string;
|
|
13679
|
+
/** OAuth 2.0 token for the current user. */
|
|
13680
|
+
oauth_token?: string;
|
|
13681
|
+
/** Required. The parent resource name. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}` */
|
|
13682
|
+
parent: string;
|
|
13683
|
+
/** Returns response with indentations and line breaks. */
|
|
13684
|
+
prettyPrint?: boolean;
|
|
13685
|
+
/** 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. */
|
|
13686
|
+
quotaUser?: string;
|
|
13687
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
13688
|
+
upload_protocol?: string;
|
|
13689
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
13690
|
+
uploadType?: string;
|
|
13691
|
+
},
|
|
13692
|
+
body: GoogleCloudDiscoveryengineV1alphaCannedQuery,
|
|
13693
|
+
): Request<GoogleCloudDiscoveryengineV1alphaCannedQuery>;
|
|
13694
|
+
/** Deletes a CannedQuery. */
|
|
13695
|
+
delete(request?: {
|
|
13696
|
+
/** V1 error format. */
|
|
12800
13697
|
'$.xgafv'?: string;
|
|
12801
13698
|
/** OAuth access token. */
|
|
12802
13699
|
access_token?: string;
|
|
@@ -12972,6 +13869,47 @@ declare namespace gapi.client {
|
|
|
12972
13869
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
12973
13870
|
uploadType?: string;
|
|
12974
13871
|
}): Request<GoogleCloudDiscoveryengineV1alphaAssistant>;
|
|
13872
|
+
/** Lists the data for displaying the Agents under an Assistant which are available to the caller. */
|
|
13873
|
+
listAvailableAgentViews(request?: {
|
|
13874
|
+
/** V1 error format. */
|
|
13875
|
+
'$.xgafv'?: string;
|
|
13876
|
+
/** OAuth access token. */
|
|
13877
|
+
access_token?: string;
|
|
13878
|
+
/** Optional. The origin of the Agent. */
|
|
13879
|
+
agentOrigin?: string;
|
|
13880
|
+
/** Data format for response. */
|
|
13881
|
+
alt?: string;
|
|
13882
|
+
/** JSONP */
|
|
13883
|
+
callback?: string;
|
|
13884
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
13885
|
+
fields?: string;
|
|
13886
|
+
/** Optional. The filter syntax consists of an expression language for constructing a predicate from one or more fields of the files being filtered. Filter expression is case-sensitive. Allowed fields are: * `display_name` * `state` Some examples of filters would be: * `display_name = 'agent_1'` * `display_name = 'agent_1' AND state = ENABLED` For a full description of the filter format, please see https://google.aip.dev/160. */
|
|
13887
|
+
filter?: string;
|
|
13888
|
+
/** 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. */
|
|
13889
|
+
key?: string;
|
|
13890
|
+
/** Optional. The UI language currently shown to the user. Specifying this field request that the texts in the AgentViews in the response should be translated to this language. */
|
|
13891
|
+
languageCode?: string;
|
|
13892
|
+
/** Optional. The maximum number of suggested prompts to return per agent. */
|
|
13893
|
+
maxSuggestedPrompts?: number;
|
|
13894
|
+
/** OAuth 2.0 token for the current user. */
|
|
13895
|
+
oauth_token?: string;
|
|
13896
|
+
/** Optional. Maximum number of AgentViewss to return. If unspecified, defaults to 100. The maximum allowed value is 1000; anything above that will be coerced down to 1000. */
|
|
13897
|
+
pageSize?: number;
|
|
13898
|
+
/** Optional. A page token ListAvailableAgentViewsResponse.next_page_token, received from a previous AgentService.ListAvailableAgentViews call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to ListAvailableAgentViews must match the call that provided the page token. */
|
|
13899
|
+
pageToken?: string;
|
|
13900
|
+
/** Required. The parent resource name. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}` */
|
|
13901
|
+
parent: string;
|
|
13902
|
+
/** Returns response with indentations and line breaks. */
|
|
13903
|
+
prettyPrint?: boolean;
|
|
13904
|
+
/** 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. */
|
|
13905
|
+
quotaUser?: string;
|
|
13906
|
+
/** Optional. The field to sort by. Can have the following values: - display-name: The display name of the agent. - description: The description of the agent. - create-time: The creation time of the agent. - state: The state of the agent. */
|
|
13907
|
+
sortBy?: string;
|
|
13908
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
13909
|
+
upload_protocol?: string;
|
|
13910
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
13911
|
+
uploadType?: string;
|
|
13912
|
+
}): Request<GoogleCloudDiscoveryengineV1alphaListAvailableAgentViewsResponse>;
|
|
12975
13913
|
/** Updates an Assistant */
|
|
12976
13914
|
patch(request: {
|
|
12977
13915
|
/** V1 error format. */
|
|
@@ -13092,6 +14030,7 @@ declare namespace gapi.client {
|
|
|
13092
14030
|
},
|
|
13093
14031
|
body: GoogleCloudDiscoveryengineV1alphaStreamAssistRequest,
|
|
13094
14032
|
): Request<GoogleCloudDiscoveryengineV1alphaStreamAssistResponse>;
|
|
14033
|
+
agents: AgentsResource;
|
|
13095
14034
|
cannedQueries: CannedQueriesResource;
|
|
13096
14035
|
}
|
|
13097
14036
|
interface CompletionConfigResource {
|
|
@@ -14483,6 +15422,68 @@ declare namespace gapi.client {
|
|
|
14483
15422
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
14484
15423
|
uploadType?: string;
|
|
14485
15424
|
}): Request<GoogleCloudDiscoveryengineV1alphaWidgetConfig>;
|
|
15425
|
+
/** Update a WidgetConfig. */
|
|
15426
|
+
patch(request: {
|
|
15427
|
+
/** V1 error format. */
|
|
15428
|
+
'$.xgafv'?: string;
|
|
15429
|
+
/** OAuth access token. */
|
|
15430
|
+
access_token?: string;
|
|
15431
|
+
/** Data format for response. */
|
|
15432
|
+
alt?: string;
|
|
15433
|
+
/** JSONP */
|
|
15434
|
+
callback?: string;
|
|
15435
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
15436
|
+
fields?: string;
|
|
15437
|
+
/** 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. */
|
|
15438
|
+
key?: string;
|
|
15439
|
+
/** Immutable. The full resource name of the widget config. Format: `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/widgetConfigs/{widget_config_id}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters. */
|
|
15440
|
+
name: string;
|
|
15441
|
+
/** OAuth 2.0 token for the current user. */
|
|
15442
|
+
oauth_token?: string;
|
|
15443
|
+
/** Returns response with indentations and line breaks. */
|
|
15444
|
+
prettyPrint?: boolean;
|
|
15445
|
+
/** 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. */
|
|
15446
|
+
quotaUser?: string;
|
|
15447
|
+
/** Indicates which fields in the provided WidgetConfig to update. The following are the only supported fields: * WidgetConfig.enable_autocomplete If not set, all supported fields are updated. */
|
|
15448
|
+
updateMask?: string;
|
|
15449
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
15450
|
+
upload_protocol?: string;
|
|
15451
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
15452
|
+
uploadType?: string;
|
|
15453
|
+
/** Request body */
|
|
15454
|
+
resource: GoogleCloudDiscoveryengineV1alphaWidgetConfig;
|
|
15455
|
+
}): Request<GoogleCloudDiscoveryengineV1alphaWidgetConfig>;
|
|
15456
|
+
patch(
|
|
15457
|
+
request: {
|
|
15458
|
+
/** V1 error format. */
|
|
15459
|
+
'$.xgafv'?: string;
|
|
15460
|
+
/** OAuth access token. */
|
|
15461
|
+
access_token?: string;
|
|
15462
|
+
/** Data format for response. */
|
|
15463
|
+
alt?: string;
|
|
15464
|
+
/** JSONP */
|
|
15465
|
+
callback?: string;
|
|
15466
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
15467
|
+
fields?: string;
|
|
15468
|
+
/** 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. */
|
|
15469
|
+
key?: string;
|
|
15470
|
+
/** Immutable. The full resource name of the widget config. Format: `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/widgetConfigs/{widget_config_id}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters. */
|
|
15471
|
+
name: string;
|
|
15472
|
+
/** OAuth 2.0 token for the current user. */
|
|
15473
|
+
oauth_token?: string;
|
|
15474
|
+
/** Returns response with indentations and line breaks. */
|
|
15475
|
+
prettyPrint?: boolean;
|
|
15476
|
+
/** 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. */
|
|
15477
|
+
quotaUser?: string;
|
|
15478
|
+
/** Indicates which fields in the provided WidgetConfig to update. The following are the only supported fields: * WidgetConfig.enable_autocomplete If not set, all supported fields are updated. */
|
|
15479
|
+
updateMask?: string;
|
|
15480
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
15481
|
+
upload_protocol?: string;
|
|
15482
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
15483
|
+
uploadType?: string;
|
|
15484
|
+
},
|
|
15485
|
+
body: GoogleCloudDiscoveryengineV1alphaWidgetConfig,
|
|
15486
|
+
): Request<GoogleCloudDiscoveryengineV1alphaWidgetConfig>;
|
|
14486
15487
|
}
|
|
14487
15488
|
interface EnginesResource {
|
|
14488
15489
|
/** Creates a Engine. */
|
|
@@ -18430,6 +19431,68 @@ declare namespace gapi.client {
|
|
|
18430
19431
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
18431
19432
|
uploadType?: string;
|
|
18432
19433
|
}): Request<GoogleCloudDiscoveryengineV1alphaWidgetConfig>;
|
|
19434
|
+
/** Update a WidgetConfig. */
|
|
19435
|
+
patch(request: {
|
|
19436
|
+
/** V1 error format. */
|
|
19437
|
+
'$.xgafv'?: string;
|
|
19438
|
+
/** OAuth access token. */
|
|
19439
|
+
access_token?: string;
|
|
19440
|
+
/** Data format for response. */
|
|
19441
|
+
alt?: string;
|
|
19442
|
+
/** JSONP */
|
|
19443
|
+
callback?: string;
|
|
19444
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
19445
|
+
fields?: string;
|
|
19446
|
+
/** 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. */
|
|
19447
|
+
key?: string;
|
|
19448
|
+
/** Immutable. The full resource name of the widget config. Format: `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/widgetConfigs/{widget_config_id}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters. */
|
|
19449
|
+
name: string;
|
|
19450
|
+
/** OAuth 2.0 token for the current user. */
|
|
19451
|
+
oauth_token?: string;
|
|
19452
|
+
/** Returns response with indentations and line breaks. */
|
|
19453
|
+
prettyPrint?: boolean;
|
|
19454
|
+
/** 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. */
|
|
19455
|
+
quotaUser?: string;
|
|
19456
|
+
/** Indicates which fields in the provided WidgetConfig to update. The following are the only supported fields: * WidgetConfig.enable_autocomplete If not set, all supported fields are updated. */
|
|
19457
|
+
updateMask?: string;
|
|
19458
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
19459
|
+
upload_protocol?: string;
|
|
19460
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
19461
|
+
uploadType?: string;
|
|
19462
|
+
/** Request body */
|
|
19463
|
+
resource: GoogleCloudDiscoveryengineV1alphaWidgetConfig;
|
|
19464
|
+
}): Request<GoogleCloudDiscoveryengineV1alphaWidgetConfig>;
|
|
19465
|
+
patch(
|
|
19466
|
+
request: {
|
|
19467
|
+
/** V1 error format. */
|
|
19468
|
+
'$.xgafv'?: string;
|
|
19469
|
+
/** OAuth access token. */
|
|
19470
|
+
access_token?: string;
|
|
19471
|
+
/** Data format for response. */
|
|
19472
|
+
alt?: string;
|
|
19473
|
+
/** JSONP */
|
|
19474
|
+
callback?: string;
|
|
19475
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
19476
|
+
fields?: string;
|
|
19477
|
+
/** 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. */
|
|
19478
|
+
key?: string;
|
|
19479
|
+
/** Immutable. The full resource name of the widget config. Format: `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/widgetConfigs/{widget_config_id}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters. */
|
|
19480
|
+
name: string;
|
|
19481
|
+
/** OAuth 2.0 token for the current user. */
|
|
19482
|
+
oauth_token?: string;
|
|
19483
|
+
/** Returns response with indentations and line breaks. */
|
|
19484
|
+
prettyPrint?: boolean;
|
|
19485
|
+
/** 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. */
|
|
19486
|
+
quotaUser?: string;
|
|
19487
|
+
/** Indicates which fields in the provided WidgetConfig to update. The following are the only supported fields: * WidgetConfig.enable_autocomplete If not set, all supported fields are updated. */
|
|
19488
|
+
updateMask?: string;
|
|
19489
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
19490
|
+
upload_protocol?: string;
|
|
19491
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
19492
|
+
uploadType?: string;
|
|
19493
|
+
},
|
|
19494
|
+
body: GoogleCloudDiscoveryengineV1alphaWidgetConfig,
|
|
19495
|
+
): Request<GoogleCloudDiscoveryengineV1alphaWidgetConfig>;
|
|
18433
19496
|
}
|
|
18434
19497
|
interface DataStoresResource {
|
|
18435
19498
|
/** Completes the specified user input with keyword suggestions. */
|
|
@@ -18464,7 +19527,7 @@ declare namespace gapi.client {
|
|
|
18464
19527
|
upload_protocol?: string;
|
|
18465
19528
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
18466
19529
|
uploadType?: string;
|
|
18467
|
-
/** A unique identifier for tracking visitors. For example, this could be implemented with an HTTP cookie, which should be able to uniquely identify a visitor on a single device. This unique identifier should not change if the visitor logs in or out of the website. This field should NOT have a fixed value such as `unknown_visitor`. This should be the same identifier as UserEvent.user_pseudo_id and SearchRequest.user_pseudo_id. The field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an `INVALID_ARGUMENT` error is returned. */
|
|
19530
|
+
/** Optional. A unique identifier for tracking visitors. For example, this could be implemented with an HTTP cookie, which should be able to uniquely identify a visitor on a single device. This unique identifier should not change if the visitor logs in or out of the website. This field should NOT have a fixed value such as `unknown_visitor`. This should be the same identifier as UserEvent.user_pseudo_id and SearchRequest.user_pseudo_id. The field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an `INVALID_ARGUMENT` error is returned. */
|
|
18468
19531
|
userPseudoId?: string;
|
|
18469
19532
|
}): Request<GoogleCloudDiscoveryengineV1alphaCompleteQueryResponse>;
|
|
18470
19533
|
/** Creates a DataStore. DataStore is for storing Documents. To serve these documents for Search, or Recommendation use case, an Engine needs to be created separately. */
|
|
@@ -20998,6 +22061,35 @@ declare namespace gapi.client {
|
|
|
20998
22061
|
body: GoogleCloudDiscoveryengineV1alphaUserEvent,
|
|
20999
22062
|
): Request<GoogleCloudDiscoveryengineV1alphaUserEvent>;
|
|
21000
22063
|
}
|
|
22064
|
+
interface LicenseConfigsUsageStatsResource {
|
|
22065
|
+
/** Lists all the LicenseConfigUsageStatss associated with the project. */
|
|
22066
|
+
list(request?: {
|
|
22067
|
+
/** V1 error format. */
|
|
22068
|
+
'$.xgafv'?: string;
|
|
22069
|
+
/** OAuth access token. */
|
|
22070
|
+
access_token?: string;
|
|
22071
|
+
/** Data format for response. */
|
|
22072
|
+
alt?: string;
|
|
22073
|
+
/** JSONP */
|
|
22074
|
+
callback?: string;
|
|
22075
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
22076
|
+
fields?: string;
|
|
22077
|
+
/** 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. */
|
|
22078
|
+
key?: string;
|
|
22079
|
+
/** OAuth 2.0 token for the current user. */
|
|
22080
|
+
oauth_token?: string;
|
|
22081
|
+
/** Required. The parent branch resource name, such as `projects/{project}/locations/{location}/userStores/{user_store_id}`. */
|
|
22082
|
+
parent: string;
|
|
22083
|
+
/** Returns response with indentations and line breaks. */
|
|
22084
|
+
prettyPrint?: boolean;
|
|
22085
|
+
/** 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. */
|
|
22086
|
+
quotaUser?: string;
|
|
22087
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
22088
|
+
upload_protocol?: string;
|
|
22089
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
22090
|
+
uploadType?: string;
|
|
22091
|
+
}): Request<GoogleCloudDiscoveryengineV1alphaListLicenseConfigsUsageStatsResponse>;
|
|
22092
|
+
}
|
|
21001
22093
|
interface OperationsResource {
|
|
21002
22094
|
/** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */
|
|
21003
22095
|
get(request?: {
|
|
@@ -21075,7 +22167,7 @@ declare namespace gapi.client {
|
|
|
21075
22167
|
callback?: string;
|
|
21076
22168
|
/** Selector specifying which fields to include in a partial response. */
|
|
21077
22169
|
fields?: string;
|
|
21078
|
-
/** Optional. Filter for the list request. Supported fields: * `
|
|
22170
|
+
/** Optional. Filter for the list request. Supported fields: * `license`_`assignment`_`state` * `user_principal` * `user_profile` Examples: * `license`_`assignment`_`state = ASSIGNED` to list assigned user licenses. * `license`_`assignment`_`state = NO_LICENSE` to list not licensed users. * `license`_`assignment`_`state = NO_LICENSE_ATTEMPTED_LOGIN` to list users who attempted login but no license assigned. * `license`_`assignment`_`state != NO_LICENSE_ATTEMPTED_LOGIN` to filter out users who attempted login but no license assigned. */
|
|
21079
22171
|
filter?: string;
|
|
21080
22172
|
/** 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. */
|
|
21081
22173
|
key?: string;
|
|
@@ -21334,6 +22426,7 @@ declare namespace gapi.client {
|
|
|
21334
22426
|
},
|
|
21335
22427
|
body: GoogleCloudDiscoveryengineV1alphaUserStore,
|
|
21336
22428
|
): Request<GoogleCloudDiscoveryengineV1alphaUserStore>;
|
|
22429
|
+
licenseConfigsUsageStats: LicenseConfigsUsageStatsResource;
|
|
21337
22430
|
operations: OperationsResource;
|
|
21338
22431
|
userLicenses: UserLicensesResource;
|
|
21339
22432
|
}
|