@maxim_mazurok/gapi.client.discoveryengine-v1beta 0.0.20240108 → 0.0.20240118
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 +2631 -583
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
10
10
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
11
11
|
// Generated from: https://discoveryengine.googleapis.com/$discovery/rest?version=v1beta
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20240118
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -185,7 +185,7 @@ declare namespace gapi.client {
|
|
|
185
185
|
commonConfig?: GoogleCloudDiscoveryengineV1alphaEngineCommonConfig;
|
|
186
186
|
/** Output only. Timestamp the Recommendation Engine was created at. */
|
|
187
187
|
createTime?: string;
|
|
188
|
-
/** The data stores associated with this engine. For SOLUTION_TYPE_SEARCH and SOLUTION_TYPE_RECOMMENDATION type of engines, they can only associate with at most one data store. If solution_type is SOLUTION_TYPE_CHAT, multiple DataStores in the same Collection can be associated here. Note that when used in CreateEngineRequest, one DataStore id must be provided as the system will use it for necessary
|
|
188
|
+
/** The data stores associated with this engine. For SOLUTION_TYPE_SEARCH and SOLUTION_TYPE_RECOMMENDATION type of engines, they can only associate with at most one data store. If solution_type is SOLUTION_TYPE_CHAT, multiple DataStores in the same Collection can be associated here. Note that when used in CreateEngineRequest, one DataStore id must be provided as the system will use it for necessary initializations. */
|
|
189
189
|
dataStoreIds?: string[];
|
|
190
190
|
/** Required. The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters. */
|
|
191
191
|
displayName?: string;
|
|
@@ -227,17 +227,17 @@ declare namespace gapi.client {
|
|
|
227
227
|
dialogflowAgent?: string;
|
|
228
228
|
}
|
|
229
229
|
interface GoogleCloudDiscoveryengineV1alphaEngineCommonConfig {
|
|
230
|
-
/** The name of the company, business or entity that is associated with the engine. Setting this may help improve LLM related features. */
|
|
230
|
+
/** Immutable. The name of the company, business or entity that is associated with the engine. Setting this may help improve LLM related features. */
|
|
231
231
|
companyName?: string;
|
|
232
232
|
}
|
|
233
233
|
interface GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfig {
|
|
234
|
-
/** The optimization objective e.g
|
|
234
|
+
/** The optimization objective. e.g., `cvr`. This field together with optimization_objective describe engine metadata to use to control engine training and serving. Currently supported values: `ctr`, `cvr`. If not specified, we choose default based on engine type. Default depends on type of recommendation: `recommended-for-you` => `ctr` `others-you-may-like` => `ctr` */
|
|
235
235
|
optimizationObjective?: string;
|
|
236
236
|
/** Name and value of the custom threshold for cvr optimization_objective. For target_field `watch-time`, target_field_value must be an integer value indicating the media progress time in seconds between (0, 86400] (excludes 0, includes 86400) (e.g., 90). For target_field `watch-percentage`, the target_field_value must be a valid float value between (0, 1.0] (excludes 0, includes 1.0) (e.g., 0.5). */
|
|
237
237
|
optimizationObjectiveConfig?: GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigOptimizationObjectiveConfig;
|
|
238
238
|
/** The training state that the engine is in (e.g. `TRAINING` or `PAUSED`). Since part of the cost of running the service is frequency of training - this can be used to determine when to train engine in order to control cost. If not specified: the default value for `CreateEngine` method is `TRAINING`. The default value for `UpdateEngine` method is to keep the state the same as before. */
|
|
239
239
|
trainingState?: string;
|
|
240
|
-
/** Required. The type of engine e.g
|
|
240
|
+
/** Required. The type of engine. e.g., `recommended-for-you`. This field together with optimization_objective describe engine metadata to use to control engine training and serving. Currently supported values: `recommended-for-you`, `others-you-may-like`, `more-like-this`, `most-popular-items`. */
|
|
241
241
|
type?: string;
|
|
242
242
|
}
|
|
243
243
|
interface GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigOptimizationObjectiveConfig {
|
|
@@ -462,16 +462,19 @@ declare namespace gapi.client {
|
|
|
462
462
|
providedUriPattern?: string;
|
|
463
463
|
/** Output only. Site ownership and validity verification status. */
|
|
464
464
|
siteVerificationInfo?: GoogleCloudDiscoveryengineV1alphaSiteVerificationInfo;
|
|
465
|
-
/** The type of the target site, e.g
|
|
465
|
+
/** The type of the target site, e.g., whether the site is to be included or excluded. */
|
|
466
466
|
type?: string;
|
|
467
467
|
/** Output only. The target site's last updated time. */
|
|
468
468
|
updateTime?: string;
|
|
469
469
|
}
|
|
470
470
|
interface GoogleCloudDiscoveryengineV1alphaTargetSiteFailureReason {
|
|
471
471
|
/** Failed due to insufficient quota. */
|
|
472
|
-
quotaFailure?:
|
|
472
|
+
quotaFailure?: GoogleCloudDiscoveryengineV1alphaTargetSiteFailureReasonQuotaFailure;
|
|
473
|
+
}
|
|
474
|
+
interface GoogleCloudDiscoveryengineV1alphaTargetSiteFailureReasonQuotaFailure {
|
|
475
|
+
/** This number is an estimation on how much total quota this project needs to successfully complete indexing. */
|
|
476
|
+
totalRequiredQuota?: string;
|
|
473
477
|
}
|
|
474
|
-
interface GoogleCloudDiscoveryengineV1alphaTargetSiteFailureReasonQuotaFailure {}
|
|
475
478
|
interface GoogleCloudDiscoveryengineV1alphaTrainCustomModelMetadata {
|
|
476
479
|
/** Operation create time. */
|
|
477
480
|
createTime?: string;
|
|
@@ -503,6 +506,31 @@ declare namespace gapi.client {
|
|
|
503
506
|
/** Operation last update time. If the operation is done, this is also the finish time. */
|
|
504
507
|
updateTime?: string;
|
|
505
508
|
}
|
|
509
|
+
interface GoogleCloudDiscoveryengineV1BatchCreateTargetSiteMetadata {
|
|
510
|
+
/** Operation create time. */
|
|
511
|
+
createTime?: string;
|
|
512
|
+
/** Operation last update time. If the operation is done, this is also the finish time. */
|
|
513
|
+
updateTime?: string;
|
|
514
|
+
}
|
|
515
|
+
interface GoogleCloudDiscoveryengineV1BatchCreateTargetSitesResponse {
|
|
516
|
+
/** TargetSites created. */
|
|
517
|
+
targetSites?: GoogleCloudDiscoveryengineV1TargetSite[];
|
|
518
|
+
}
|
|
519
|
+
interface GoogleCloudDiscoveryengineV1betaBatchCreateTargetSiteMetadata {
|
|
520
|
+
/** Operation create time. */
|
|
521
|
+
createTime?: string;
|
|
522
|
+
/** Operation last update time. If the operation is done, this is also the finish time. */
|
|
523
|
+
updateTime?: string;
|
|
524
|
+
}
|
|
525
|
+
interface GoogleCloudDiscoveryengineV1betaBatchCreateTargetSitesRequest {
|
|
526
|
+
/** Required. The request message specifying the resources to create. A maximum of 20 TargetSites can be created in a batch. */
|
|
527
|
+
requests?: GoogleCloudDiscoveryengineV1betaCreateTargetSiteRequest[];
|
|
528
|
+
}
|
|
529
|
+
interface GoogleCloudDiscoveryengineV1betaBatchCreateTargetSitesResponse {
|
|
530
|
+
/** TargetSites created. */
|
|
531
|
+
targetSites?: GoogleCloudDiscoveryengineV1betaTargetSite[];
|
|
532
|
+
}
|
|
533
|
+
interface GoogleCloudDiscoveryengineV1betaBatchVerifyTargetSitesRequest {}
|
|
506
534
|
interface GoogleCloudDiscoveryengineV1betaBigQuerySource {
|
|
507
535
|
/** The schema to use when parsing the data from the source. Supported values for user event imports: * `user_event` (default): One UserEvent per row. Supported values for document imports: * `document` (default): One Document format per row. Each document must have a valid Document.id and one of Document.json_data or Document.struct_data. * `custom`: One custom data per row in arbitrary format that conforms to the defined Schema of the data store. This can only be used by Gen App Builder. */
|
|
508
536
|
dataSchema?: string;
|
|
@@ -589,24 +617,90 @@ declare namespace gapi.client {
|
|
|
589
617
|
/** Search Results. */
|
|
590
618
|
searchResults?: GoogleCloudDiscoveryengineV1betaSearchResponseSearchResult[];
|
|
591
619
|
}
|
|
620
|
+
interface GoogleCloudDiscoveryengineV1betaCreateDataStoreMetadata {
|
|
621
|
+
/** Operation create time. */
|
|
622
|
+
createTime?: string;
|
|
623
|
+
/** Operation last update time. If the operation is done, this is also the finish time. */
|
|
624
|
+
updateTime?: string;
|
|
625
|
+
}
|
|
626
|
+
interface GoogleCloudDiscoveryengineV1betaCreateEngineMetadata {
|
|
627
|
+
/** Operation create time. */
|
|
628
|
+
createTime?: string;
|
|
629
|
+
/** Operation last update time. If the operation is done, this is also the finish time. */
|
|
630
|
+
updateTime?: string;
|
|
631
|
+
}
|
|
592
632
|
interface GoogleCloudDiscoveryengineV1betaCreateSchemaMetadata {
|
|
593
633
|
/** Operation create time. */
|
|
594
634
|
createTime?: string;
|
|
595
635
|
/** Operation last update time. If the operation is done, this is also the finish time. */
|
|
596
636
|
updateTime?: string;
|
|
597
637
|
}
|
|
638
|
+
interface GoogleCloudDiscoveryengineV1betaCreateTargetSiteMetadata {
|
|
639
|
+
/** Operation create time. */
|
|
640
|
+
createTime?: string;
|
|
641
|
+
/** Operation last update time. If the operation is done, this is also the finish time. */
|
|
642
|
+
updateTime?: string;
|
|
643
|
+
}
|
|
644
|
+
interface GoogleCloudDiscoveryengineV1betaCreateTargetSiteRequest {
|
|
645
|
+
/** Required. Parent resource name of TargetSite, such as `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine`. */
|
|
646
|
+
parent?: string;
|
|
647
|
+
/** Required. The TargetSite to create. */
|
|
648
|
+
targetSite?: GoogleCloudDiscoveryengineV1betaTargetSite;
|
|
649
|
+
}
|
|
598
650
|
interface GoogleCloudDiscoveryengineV1betaCustomAttribute {
|
|
599
651
|
/** The numerical values of this custom attribute. For example, `[2.3, 15.4]` when the key is "lengths_cm". Exactly one of CustomAttribute.text or CustomAttribute.numbers should be set. Otherwise, an `INVALID_ARGUMENT` error is returned. */
|
|
600
652
|
numbers?: number[];
|
|
601
653
|
/** The textual values of this custom attribute. For example, `["yellow", "green"]` when the key is "color". Empty string is not allowed. Otherwise, an `INVALID_ARGUMENT` error is returned. Exactly one of CustomAttribute.text or CustomAttribute.numbers should be set. Otherwise, an `INVALID_ARGUMENT` error is returned. */
|
|
602
654
|
text?: string[];
|
|
603
655
|
}
|
|
656
|
+
interface GoogleCloudDiscoveryengineV1betaDataStore {
|
|
657
|
+
/** Immutable. The content config of the data store. If this field is unset, the server behavior defaults to ContentConfig.NO_CONTENT. */
|
|
658
|
+
contentConfig?: string;
|
|
659
|
+
/** Output only. Timestamp the DataStore was created at. */
|
|
660
|
+
createTime?: string;
|
|
661
|
+
/** Output only. The id of the default Schema asscociated to this data store. */
|
|
662
|
+
defaultSchemaId?: string;
|
|
663
|
+
/** Required. The data store display name. This field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned. */
|
|
664
|
+
displayName?: string;
|
|
665
|
+
/** Immutable. The industry vertical that the data store registers. */
|
|
666
|
+
industryVertical?: string;
|
|
667
|
+
/** Immutable. The full resource name of the data store. Format: `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters. */
|
|
668
|
+
name?: string;
|
|
669
|
+
/** The solutions that the data store enrolls. Available solutions for each industry_vertical: * `MEDIA`: `SOLUTION_TYPE_RECOMMENDATION` and `SOLUTION_TYPE_SEARCH`. * `SITE_SEARCH`: `SOLUTION_TYPE_SEARCH` is automatically enrolled. Other solutions cannot be enrolled. */
|
|
670
|
+
solutionTypes?: string[];
|
|
671
|
+
}
|
|
672
|
+
interface GoogleCloudDiscoveryengineV1betaDeleteDataStoreMetadata {
|
|
673
|
+
/** Operation create time. */
|
|
674
|
+
createTime?: string;
|
|
675
|
+
/** Operation last update time. If the operation is done, this is also the finish time. */
|
|
676
|
+
updateTime?: string;
|
|
677
|
+
}
|
|
678
|
+
interface GoogleCloudDiscoveryengineV1betaDeleteEngineMetadata {
|
|
679
|
+
/** Operation create time. */
|
|
680
|
+
createTime?: string;
|
|
681
|
+
/** Operation last update time. If the operation is done, this is also the finish time. */
|
|
682
|
+
updateTime?: string;
|
|
683
|
+
}
|
|
604
684
|
interface GoogleCloudDiscoveryengineV1betaDeleteSchemaMetadata {
|
|
605
685
|
/** Operation create time. */
|
|
606
686
|
createTime?: string;
|
|
607
687
|
/** Operation last update time. If the operation is done, this is also the finish time. */
|
|
608
688
|
updateTime?: string;
|
|
609
689
|
}
|
|
690
|
+
interface GoogleCloudDiscoveryengineV1betaDeleteTargetSiteMetadata {
|
|
691
|
+
/** Operation create time. */
|
|
692
|
+
createTime?: string;
|
|
693
|
+
/** Operation last update time. If the operation is done, this is also the finish time. */
|
|
694
|
+
updateTime?: string;
|
|
695
|
+
}
|
|
696
|
+
interface GoogleCloudDiscoveryengineV1betaDisableAdvancedSiteSearchMetadata {
|
|
697
|
+
/** Operation create time. */
|
|
698
|
+
createTime?: string;
|
|
699
|
+
/** Operation last update time. If the operation is done, this is also the finish time. */
|
|
700
|
+
updateTime?: string;
|
|
701
|
+
}
|
|
702
|
+
interface GoogleCloudDiscoveryengineV1betaDisableAdvancedSiteSearchRequest {}
|
|
703
|
+
interface GoogleCloudDiscoveryengineV1betaDisableAdvancedSiteSearchResponse {}
|
|
610
704
|
interface GoogleCloudDiscoveryengineV1betaDocument {
|
|
611
705
|
/** The unstructured data linked to this document. Content must be set if this document is under a `CONTENT_REQUIRED` data store. */
|
|
612
706
|
content?: GoogleCloudDiscoveryengineV1betaDocumentContent;
|
|
@@ -649,6 +743,76 @@ declare namespace gapi.client {
|
|
|
649
743
|
/** Double values. */
|
|
650
744
|
values?: number[];
|
|
651
745
|
}
|
|
746
|
+
interface GoogleCloudDiscoveryengineV1betaEnableAdvancedSiteSearchMetadata {
|
|
747
|
+
/** Operation create time. */
|
|
748
|
+
createTime?: string;
|
|
749
|
+
/** Operation last update time. If the operation is done, this is also the finish time. */
|
|
750
|
+
updateTime?: string;
|
|
751
|
+
}
|
|
752
|
+
interface GoogleCloudDiscoveryengineV1betaEnableAdvancedSiteSearchRequest {}
|
|
753
|
+
interface GoogleCloudDiscoveryengineV1betaEnableAdvancedSiteSearchResponse {}
|
|
754
|
+
interface GoogleCloudDiscoveryengineV1betaEngine {
|
|
755
|
+
/** Configurations for the Chat Engine. Only applicable if solution_type is SOLUTION_TYPE_CHAT. */
|
|
756
|
+
chatEngineConfig?: GoogleCloudDiscoveryengineV1betaEngineChatEngineConfig;
|
|
757
|
+
/** Output only. Additional information of the Chat Engine. Only applicable if solution_type is SOLUTION_TYPE_CHAT. */
|
|
758
|
+
chatEngineMetadata?: GoogleCloudDiscoveryengineV1betaEngineChatEngineMetadata;
|
|
759
|
+
/** Common config spec that specifies the metadata of the engine. */
|
|
760
|
+
commonConfig?: GoogleCloudDiscoveryengineV1betaEngineCommonConfig;
|
|
761
|
+
/** Output only. Timestamp the Recommendation Engine was created at. */
|
|
762
|
+
createTime?: string;
|
|
763
|
+
/** The data stores associated with this engine. For SOLUTION_TYPE_SEARCH and SOLUTION_TYPE_RECOMMENDATION type of engines, they can only associate with at most one data store. If solution_type is SOLUTION_TYPE_CHAT, multiple DataStores in the same Collection can be associated here. Note that when used in CreateEngineRequest, one DataStore id must be provided as the system will use it for necessary initializations. */
|
|
764
|
+
dataStoreIds?: string[];
|
|
765
|
+
/** Required. The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters. */
|
|
766
|
+
displayName?: string;
|
|
767
|
+
/** The industry vertical that the engine registers. The restriction of the Engine industry vertical is based on DataStore: If unspecified, default to `GENERIC`. Vertical on Engine has to match vertical of the DataStore liniked to the engine. */
|
|
768
|
+
industryVertical?: string;
|
|
769
|
+
/** Immutable. 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_number}/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. */
|
|
770
|
+
name?: string;
|
|
771
|
+
/** Configurations for the Search Engine. Only applicable if solution_type is SOLUTION_TYPE_SEARCH. */
|
|
772
|
+
searchEngineConfig?: GoogleCloudDiscoveryengineV1betaEngineSearchEngineConfig;
|
|
773
|
+
/** Required. The solutions of the engine. */
|
|
774
|
+
solutionType?: string;
|
|
775
|
+
/** Output only. Timestamp the Recommendation Engine was last updated. */
|
|
776
|
+
updateTime?: string;
|
|
777
|
+
}
|
|
778
|
+
interface GoogleCloudDiscoveryengineV1betaEngineChatEngineConfig {
|
|
779
|
+
/** The configurationt generate the Dialogflow agent that is associated to this Engine. Note that these configurations are one-time consumed by and passed to Dialogflow service. It means they cannot be retrieved using EngineService.GetEngine or EngineService.ListEngines API after engine creation. */
|
|
780
|
+
agentCreationConfig?: GoogleCloudDiscoveryengineV1betaEngineChatEngineConfigAgentCreationConfig;
|
|
781
|
+
/** The resource name of an exist Dialogflow agent to link to this Chat Engine. Customers can either provide `agent_creation_config` to create agent or provide an agent name that links the agent with the Chat engine. Format: `projects//locations//agents/`. Note that the `dialogflow_agent_to_link` are one-time consumed by and passed to Dialogflow service. It means they cannot be retrieved using EngineService.GetEngine or EngineService.ListEngines API after engine creation. Please use ChatEngineMetadata.dialogflow_agent for actual agent association after Engine is created. */
|
|
782
|
+
dialogflowAgentToLink?: string;
|
|
783
|
+
}
|
|
784
|
+
interface GoogleCloudDiscoveryengineV1betaEngineChatEngineConfigAgentCreationConfig {
|
|
785
|
+
/** Name of the company, organization or other entity that the agent represents. Used for knowledge connector LLM prompt and for knowledge search. */
|
|
786
|
+
business?: string;
|
|
787
|
+
/** Required. The default language of the agent as a language tag. See [Language Support](https://cloud.google.com/dialogflow/docs/reference/language) for a list of the currently supported language codes. */
|
|
788
|
+
defaultLanguageCode?: string;
|
|
789
|
+
/** Agent location for Agent creation, supported values: global/us/eu. If not provided, us Engine will create Agent using us-central-1 by default; eu Engine will create Agent using eu-west-1 by default. */
|
|
790
|
+
location?: string;
|
|
791
|
+
/** Required. The time zone of the agent from the [time zone database](https://www.iana.org/time-zones), e.g., America/New_York, Europe/Paris. */
|
|
792
|
+
timeZone?: string;
|
|
793
|
+
}
|
|
794
|
+
interface GoogleCloudDiscoveryengineV1betaEngineChatEngineMetadata {
|
|
795
|
+
/** The resource name of a Dialogflow agent, that this Chat Engine refers to. Format: `projects//locations//agents/`. */
|
|
796
|
+
dialogflowAgent?: string;
|
|
797
|
+
}
|
|
798
|
+
interface GoogleCloudDiscoveryengineV1betaEngineCommonConfig {
|
|
799
|
+
/** Immutable. The name of the company, business or entity that is associated with the engine. Setting this may help improve LLM related features. */
|
|
800
|
+
companyName?: string;
|
|
801
|
+
}
|
|
802
|
+
interface GoogleCloudDiscoveryengineV1betaEngineSearchEngineConfig {
|
|
803
|
+
/** The add-on that this search engine enables. */
|
|
804
|
+
searchAddOns?: string[];
|
|
805
|
+
/** The search feature tier of this engine. Different tiers might have different pricing. To learn more, please check the pricing documentation. Defaults to SearchTier.SEARCH_TIER_STANDARD if not specified. */
|
|
806
|
+
searchTier?: string;
|
|
807
|
+
}
|
|
808
|
+
interface GoogleCloudDiscoveryengineV1betaFetchDomainVerificationStatusResponse {
|
|
809
|
+
/** A token that can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
|
|
810
|
+
nextPageToken?: string;
|
|
811
|
+
/** List of TargetSites containing the site verification status. */
|
|
812
|
+
targetSites?: GoogleCloudDiscoveryengineV1betaTargetSite[];
|
|
813
|
+
/** The total number of items matching the request. This will always be populated in the response. */
|
|
814
|
+
totalSize?: number;
|
|
815
|
+
}
|
|
652
816
|
interface GoogleCloudDiscoveryengineV1betaGcsSource {
|
|
653
817
|
/** The schema to use when parsing the data from the source. Supported values for document imports: * `document` (default): One JSON Document per line. Each document must have a valid Document.id. * `content`: Unstructured data (e.g. PDF, HTML). Each file matched by `input_uris` becomes a document, with the ID set to the first 128 bits of SHA256(URI) encoded as a hex string. * `custom`: One custom data JSON per row in arbitrary format that conforms to the defined Schema of the data store. This can only be used by Gen App Builder. * `csv`: A CSV file with header conforming to the defined Schema of the data store. Each entry after the header is imported as a Document. This can only be used by Gen App Builder. Supported values for user even imports: * `user_event` (default): One JSON UserEvent per line. */
|
|
654
818
|
dataSchema?: string;
|
|
@@ -769,18 +933,38 @@ declare namespace gapi.client {
|
|
|
769
933
|
/** Pagination token, if not returned indicates the last page. */
|
|
770
934
|
nextPageToken?: string;
|
|
771
935
|
}
|
|
936
|
+
interface GoogleCloudDiscoveryengineV1betaListDataStoresResponse {
|
|
937
|
+
/** All the customer's DataStores. */
|
|
938
|
+
dataStores?: GoogleCloudDiscoveryengineV1betaDataStore[];
|
|
939
|
+
/** A token that can be sent as ListDataStoresRequest.page_token to retrieve the next page. If this field is omitted, there are no subsequent pages. */
|
|
940
|
+
nextPageToken?: string;
|
|
941
|
+
}
|
|
772
942
|
interface GoogleCloudDiscoveryengineV1betaListDocumentsResponse {
|
|
773
943
|
/** The Documents. */
|
|
774
944
|
documents?: GoogleCloudDiscoveryengineV1betaDocument[];
|
|
775
945
|
/** A token that can be sent as ListDocumentsRequest.page_token to retrieve the next page. If this field is omitted, there are no subsequent pages. */
|
|
776
946
|
nextPageToken?: string;
|
|
777
947
|
}
|
|
948
|
+
interface GoogleCloudDiscoveryengineV1betaListEnginesResponse {
|
|
949
|
+
/** All the customer's Engines. */
|
|
950
|
+
engines?: GoogleCloudDiscoveryengineV1betaEngine[];
|
|
951
|
+
/** Not supported. */
|
|
952
|
+
nextPageToken?: string;
|
|
953
|
+
}
|
|
778
954
|
interface GoogleCloudDiscoveryengineV1betaListSchemasResponse {
|
|
779
955
|
/** A token that can be sent as ListSchemasRequest.page_token to retrieve the next page. If this field is omitted, there are no subsequent pages. */
|
|
780
956
|
nextPageToken?: string;
|
|
781
957
|
/** The Schemas. */
|
|
782
958
|
schemas?: GoogleCloudDiscoveryengineV1betaSchema[];
|
|
783
959
|
}
|
|
960
|
+
interface GoogleCloudDiscoveryengineV1betaListTargetSitesResponse {
|
|
961
|
+
/** A token that can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
|
|
962
|
+
nextPageToken?: string;
|
|
963
|
+
/** List of TargetSites. */
|
|
964
|
+
targetSites?: GoogleCloudDiscoveryengineV1betaTargetSite[];
|
|
965
|
+
/** The total number of items matching the request. This will always be populated in the response. */
|
|
966
|
+
totalSize?: number;
|
|
967
|
+
}
|
|
784
968
|
interface GoogleCloudDiscoveryengineV1betaMediaInfo {
|
|
785
969
|
/** The media progress time in seconds, if applicable. For example, if the end user has finished 90 seconds of a playback video, then MediaInfo.media_progress_duration.seconds should be set to 90. */
|
|
786
970
|
mediaProgressDuration?: string;
|
|
@@ -874,6 +1058,10 @@ declare namespace gapi.client {
|
|
|
874
1058
|
/** Additional Document metadata / annotations. Possible values: * `score`: Recommendation score in double value. Is set if `returnScore` is set to true in RecommendRequest.params. */
|
|
875
1059
|
metadata?: {[P in string]: any};
|
|
876
1060
|
}
|
|
1061
|
+
interface GoogleCloudDiscoveryengineV1betaRecrawlUrisRequest {
|
|
1062
|
+
/** Required. List of URIs to crawl. At most 10K URIs are supported, otherwise an INVALID_ARGUMENT error is thrown. Each URI should match at least one TargetSite in `site_search_engine`. */
|
|
1063
|
+
uris?: string[];
|
|
1064
|
+
}
|
|
877
1065
|
interface GoogleCloudDiscoveryengineV1betaReply {
|
|
878
1066
|
/** References in the reply. */
|
|
879
1067
|
references?: GoogleCloudDiscoveryengineV1betaReplyReference[];
|
|
@@ -1182,12 +1370,50 @@ declare namespace gapi.client {
|
|
|
1182
1370
|
/** Summary text with no citation information. */
|
|
1183
1371
|
summary?: string;
|
|
1184
1372
|
}
|
|
1373
|
+
interface GoogleCloudDiscoveryengineV1betaSiteSearchEngine {
|
|
1374
|
+
/** The fully qualified resource name of the site search engine. Format: `projects/*/locations/*/dataStores/*/siteSearchEngine` */
|
|
1375
|
+
name?: string;
|
|
1376
|
+
}
|
|
1377
|
+
interface GoogleCloudDiscoveryengineV1betaSiteVerificationInfo {
|
|
1378
|
+
/** Site verification state indicating the ownership and validity. */
|
|
1379
|
+
siteVerificationState?: string;
|
|
1380
|
+
/** Latest site verification time. */
|
|
1381
|
+
verifyTime?: string;
|
|
1382
|
+
}
|
|
1185
1383
|
interface GoogleCloudDiscoveryengineV1betaSuggestionDenyListEntry {
|
|
1186
1384
|
/** Required. Phrase to block from suggestions served. Can be maximum 125 characters. */
|
|
1187
1385
|
blockPhrase?: string;
|
|
1188
1386
|
/** Required. The match operator to apply for this phrase. Whether to block the exact phrase, or block any suggestions containing this phrase. */
|
|
1189
1387
|
matchOperator?: string;
|
|
1190
1388
|
}
|
|
1389
|
+
interface GoogleCloudDiscoveryengineV1betaTargetSite {
|
|
1390
|
+
/** Input only. If set to false, a uri_pattern is generated to include all pages whose address contains the provided_uri_pattern. If set to true, an uri_pattern is generated to try to be an exact match of the provided_uri_pattern or just the specific page if the provided_uri_pattern is a specific one. provided_uri_pattern is always normalized to generate the URI pattern to be used by the search engine. */
|
|
1391
|
+
exactMatch?: boolean;
|
|
1392
|
+
/** Output only. Failure reason. */
|
|
1393
|
+
failureReason?: GoogleCloudDiscoveryengineV1betaTargetSiteFailureReason;
|
|
1394
|
+
/** Output only. This is system-generated based on the provided_uri_pattern. */
|
|
1395
|
+
generatedUriPattern?: string;
|
|
1396
|
+
/** Output only. Indexing status. */
|
|
1397
|
+
indexingStatus?: string;
|
|
1398
|
+
/** Output only. The fully qualified resource name of the target site. `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}` The `target_site_id` is system-generated. */
|
|
1399
|
+
name?: string;
|
|
1400
|
+
/** Required. Input only. The user provided URI pattern from which the `generated_uri_pattern` is generated. */
|
|
1401
|
+
providedUriPattern?: string;
|
|
1402
|
+
/** Output only. Site ownership and validity verification status. */
|
|
1403
|
+
siteVerificationInfo?: GoogleCloudDiscoveryengineV1betaSiteVerificationInfo;
|
|
1404
|
+
/** The type of the target site, e.g., whether the site is to be included or excluded. */
|
|
1405
|
+
type?: string;
|
|
1406
|
+
/** Output only. The target site's last updated time. */
|
|
1407
|
+
updateTime?: string;
|
|
1408
|
+
}
|
|
1409
|
+
interface GoogleCloudDiscoveryengineV1betaTargetSiteFailureReason {
|
|
1410
|
+
/** Failed due to insufficient quota. */
|
|
1411
|
+
quotaFailure?: GoogleCloudDiscoveryengineV1betaTargetSiteFailureReasonQuotaFailure;
|
|
1412
|
+
}
|
|
1413
|
+
interface GoogleCloudDiscoveryengineV1betaTargetSiteFailureReasonQuotaFailure {
|
|
1414
|
+
/** This number is an estimation on how much total quota this project needs to successfully complete indexing. */
|
|
1415
|
+
totalRequiredQuota?: string;
|
|
1416
|
+
}
|
|
1191
1417
|
interface GoogleCloudDiscoveryengineV1betaTextInput {
|
|
1192
1418
|
/** Conversation context of the input. */
|
|
1193
1419
|
context?: GoogleCloudDiscoveryengineV1betaConversationContext;
|
|
@@ -1214,6 +1440,12 @@ declare namespace gapi.client {
|
|
|
1214
1440
|
/** Operation last update time. If the operation is done, this is also the finish time. */
|
|
1215
1441
|
updateTime?: string;
|
|
1216
1442
|
}
|
|
1443
|
+
interface GoogleCloudDiscoveryengineV1betaUpdateTargetSiteMetadata {
|
|
1444
|
+
/** Operation create time. */
|
|
1445
|
+
createTime?: string;
|
|
1446
|
+
/** Operation last update time. If the operation is done, this is also the finish time. */
|
|
1447
|
+
updateTime?: string;
|
|
1448
|
+
}
|
|
1217
1449
|
interface GoogleCloudDiscoveryengineV1betaUserEvent {
|
|
1218
1450
|
/** 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. */
|
|
1219
1451
|
attributes?: {
|
|
@@ -1260,18 +1492,138 @@ declare namespace gapi.client {
|
|
|
1260
1492
|
/** Highly recommended for logged-in users. Unique identifier for logged-in user, such as a user name. Don't set for anonymous users. Always use a hashed value for this ID. Don't set the field to the same fixed ID for different users. This mixes the event history of those users together, which results in degraded model quality. The field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an `INVALID_ARGUMENT` error is returned. */
|
|
1261
1493
|
userId?: string;
|
|
1262
1494
|
}
|
|
1495
|
+
interface GoogleCloudDiscoveryengineV1CreateDataStoreMetadata {
|
|
1496
|
+
/** Operation create time. */
|
|
1497
|
+
createTime?: string;
|
|
1498
|
+
/** Operation last update time. If the operation is done, this is also the finish time. */
|
|
1499
|
+
updateTime?: string;
|
|
1500
|
+
}
|
|
1501
|
+
interface GoogleCloudDiscoveryengineV1CreateEngineMetadata {
|
|
1502
|
+
/** Operation create time. */
|
|
1503
|
+
createTime?: string;
|
|
1504
|
+
/** Operation last update time. If the operation is done, this is also the finish time. */
|
|
1505
|
+
updateTime?: string;
|
|
1506
|
+
}
|
|
1263
1507
|
interface GoogleCloudDiscoveryengineV1CreateSchemaMetadata {
|
|
1264
1508
|
/** Operation create time. */
|
|
1265
1509
|
createTime?: string;
|
|
1266
1510
|
/** Operation last update time. If the operation is done, this is also the finish time. */
|
|
1267
1511
|
updateTime?: string;
|
|
1268
1512
|
}
|
|
1513
|
+
interface GoogleCloudDiscoveryengineV1CreateTargetSiteMetadata {
|
|
1514
|
+
/** Operation create time. */
|
|
1515
|
+
createTime?: string;
|
|
1516
|
+
/** Operation last update time. If the operation is done, this is also the finish time. */
|
|
1517
|
+
updateTime?: string;
|
|
1518
|
+
}
|
|
1519
|
+
interface GoogleCloudDiscoveryengineV1DataStore {
|
|
1520
|
+
/** Immutable. The content config of the data store. If this field is unset, the server behavior defaults to ContentConfig.NO_CONTENT. */
|
|
1521
|
+
contentConfig?: string;
|
|
1522
|
+
/** Output only. Timestamp the DataStore was created at. */
|
|
1523
|
+
createTime?: string;
|
|
1524
|
+
/** Output only. The id of the default Schema asscociated to this data store. */
|
|
1525
|
+
defaultSchemaId?: string;
|
|
1526
|
+
/** Required. The data store display name. This field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned. */
|
|
1527
|
+
displayName?: string;
|
|
1528
|
+
/** Immutable. The industry vertical that the data store registers. */
|
|
1529
|
+
industryVertical?: string;
|
|
1530
|
+
/** Immutable. The full resource name of the data store. Format: `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters. */
|
|
1531
|
+
name?: string;
|
|
1532
|
+
/** The solutions that the data store enrolls. Available solutions for each industry_vertical: * `MEDIA`: `SOLUTION_TYPE_RECOMMENDATION` and `SOLUTION_TYPE_SEARCH`. * `SITE_SEARCH`: `SOLUTION_TYPE_SEARCH` is automatically enrolled. Other solutions cannot be enrolled. */
|
|
1533
|
+
solutionTypes?: string[];
|
|
1534
|
+
}
|
|
1535
|
+
interface GoogleCloudDiscoveryengineV1DeleteDataStoreMetadata {
|
|
1536
|
+
/** Operation create time. */
|
|
1537
|
+
createTime?: string;
|
|
1538
|
+
/** Operation last update time. If the operation is done, this is also the finish time. */
|
|
1539
|
+
updateTime?: string;
|
|
1540
|
+
}
|
|
1541
|
+
interface GoogleCloudDiscoveryengineV1DeleteEngineMetadata {
|
|
1542
|
+
/** Operation create time. */
|
|
1543
|
+
createTime?: string;
|
|
1544
|
+
/** Operation last update time. If the operation is done, this is also the finish time. */
|
|
1545
|
+
updateTime?: string;
|
|
1546
|
+
}
|
|
1269
1547
|
interface GoogleCloudDiscoveryengineV1DeleteSchemaMetadata {
|
|
1270
1548
|
/** Operation create time. */
|
|
1271
1549
|
createTime?: string;
|
|
1272
1550
|
/** Operation last update time. If the operation is done, this is also the finish time. */
|
|
1273
1551
|
updateTime?: string;
|
|
1274
1552
|
}
|
|
1553
|
+
interface GoogleCloudDiscoveryengineV1DeleteTargetSiteMetadata {
|
|
1554
|
+
/** Operation create time. */
|
|
1555
|
+
createTime?: string;
|
|
1556
|
+
/** Operation last update time. If the operation is done, this is also the finish time. */
|
|
1557
|
+
updateTime?: string;
|
|
1558
|
+
}
|
|
1559
|
+
interface GoogleCloudDiscoveryengineV1DisableAdvancedSiteSearchMetadata {
|
|
1560
|
+
/** Operation create time. */
|
|
1561
|
+
createTime?: string;
|
|
1562
|
+
/** Operation last update time. If the operation is done, this is also the finish time. */
|
|
1563
|
+
updateTime?: string;
|
|
1564
|
+
}
|
|
1565
|
+
interface GoogleCloudDiscoveryengineV1DisableAdvancedSiteSearchResponse {}
|
|
1566
|
+
interface GoogleCloudDiscoveryengineV1EnableAdvancedSiteSearchMetadata {
|
|
1567
|
+
/** Operation create time. */
|
|
1568
|
+
createTime?: string;
|
|
1569
|
+
/** Operation last update time. If the operation is done, this is also the finish time. */
|
|
1570
|
+
updateTime?: string;
|
|
1571
|
+
}
|
|
1572
|
+
interface GoogleCloudDiscoveryengineV1EnableAdvancedSiteSearchResponse {}
|
|
1573
|
+
interface GoogleCloudDiscoveryengineV1Engine {
|
|
1574
|
+
/** Configurations for the Chat Engine. Only applicable if solution_type is SOLUTION_TYPE_CHAT. */
|
|
1575
|
+
chatEngineConfig?: GoogleCloudDiscoveryengineV1EngineChatEngineConfig;
|
|
1576
|
+
/** Output only. Additional information of the Chat Engine. Only applicable if solution_type is SOLUTION_TYPE_CHAT. */
|
|
1577
|
+
chatEngineMetadata?: GoogleCloudDiscoveryengineV1EngineChatEngineMetadata;
|
|
1578
|
+
/** Common config spec that specifies the metadata of the engine. */
|
|
1579
|
+
commonConfig?: GoogleCloudDiscoveryengineV1EngineCommonConfig;
|
|
1580
|
+
/** Output only. Timestamp the Recommendation Engine was created at. */
|
|
1581
|
+
createTime?: string;
|
|
1582
|
+
/** The data stores associated with this engine. For SOLUTION_TYPE_SEARCH and SOLUTION_TYPE_RECOMMENDATION type of engines, they can only associate with at most one data store. If solution_type is SOLUTION_TYPE_CHAT, multiple DataStores in the same Collection can be associated here. Note that when used in CreateEngineRequest, one DataStore id must be provided as the system will use it for necessary initializations. */
|
|
1583
|
+
dataStoreIds?: string[];
|
|
1584
|
+
/** Required. The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters. */
|
|
1585
|
+
displayName?: string;
|
|
1586
|
+
/** The industry vertical that the engine registers. The restriction of the Engine industry vertical is based on DataStore: If unspecified, default to `GENERIC`. Vertical on Engine has to match vertical of the DataStore liniked to the engine. */
|
|
1587
|
+
industryVertical?: string;
|
|
1588
|
+
/** Immutable. 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_number}/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. */
|
|
1589
|
+
name?: string;
|
|
1590
|
+
/** Configurations for the Search Engine. Only applicable if solution_type is SOLUTION_TYPE_SEARCH. */
|
|
1591
|
+
searchEngineConfig?: GoogleCloudDiscoveryengineV1EngineSearchEngineConfig;
|
|
1592
|
+
/** Required. The solutions of the engine. */
|
|
1593
|
+
solutionType?: string;
|
|
1594
|
+
/** Output only. Timestamp the Recommendation Engine was last updated. */
|
|
1595
|
+
updateTime?: string;
|
|
1596
|
+
}
|
|
1597
|
+
interface GoogleCloudDiscoveryengineV1EngineChatEngineConfig {
|
|
1598
|
+
/** The configurationt generate the Dialogflow agent that is associated to this Engine. Note that these configurations are one-time consumed by and passed to Dialogflow service. It means they cannot be retrieved using EngineService.GetEngine or EngineService.ListEngines API after engine creation. */
|
|
1599
|
+
agentCreationConfig?: GoogleCloudDiscoveryengineV1EngineChatEngineConfigAgentCreationConfig;
|
|
1600
|
+
/** The resource name of an exist Dialogflow agent to link to this Chat Engine. Customers can either provide `agent_creation_config` to create agent or provide an agent name that links the agent with the Chat engine. Format: `projects//locations//agents/`. Note that the `dialogflow_agent_to_link` are one-time consumed by and passed to Dialogflow service. It means they cannot be retrieved using EngineService.GetEngine or EngineService.ListEngines API after engine creation. Please use ChatEngineMetadata.dialogflow_agent for actual agent association after Engine is created. */
|
|
1601
|
+
dialogflowAgentToLink?: string;
|
|
1602
|
+
}
|
|
1603
|
+
interface GoogleCloudDiscoveryengineV1EngineChatEngineConfigAgentCreationConfig {
|
|
1604
|
+
/** Name of the company, organization or other entity that the agent represents. Used for knowledge connector LLM prompt and for knowledge search. */
|
|
1605
|
+
business?: string;
|
|
1606
|
+
/** Required. The default language of the agent as a language tag. See [Language Support](https://cloud.google.com/dialogflow/docs/reference/language) for a list of the currently supported language codes. */
|
|
1607
|
+
defaultLanguageCode?: string;
|
|
1608
|
+
/** Agent location for Agent creation, supported values: global/us/eu. If not provided, us Engine will create Agent using us-central-1 by default; eu Engine will create Agent using eu-west-1 by default. */
|
|
1609
|
+
location?: string;
|
|
1610
|
+
/** Required. The time zone of the agent from the [time zone database](https://www.iana.org/time-zones), e.g., America/New_York, Europe/Paris. */
|
|
1611
|
+
timeZone?: string;
|
|
1612
|
+
}
|
|
1613
|
+
interface GoogleCloudDiscoveryengineV1EngineChatEngineMetadata {
|
|
1614
|
+
/** The resource name of a Dialogflow agent, that this Chat Engine refers to. Format: `projects//locations//agents/`. */
|
|
1615
|
+
dialogflowAgent?: string;
|
|
1616
|
+
}
|
|
1617
|
+
interface GoogleCloudDiscoveryengineV1EngineCommonConfig {
|
|
1618
|
+
/** Immutable. The name of the company, business or entity that is associated with the engine. Setting this may help improve LLM related features. */
|
|
1619
|
+
companyName?: string;
|
|
1620
|
+
}
|
|
1621
|
+
interface GoogleCloudDiscoveryengineV1EngineSearchEngineConfig {
|
|
1622
|
+
/** The add-on that this search engine enables. */
|
|
1623
|
+
searchAddOns?: string[];
|
|
1624
|
+
/** The search feature tier of this engine. Different tiers might have different pricing. To learn more, please check the pricing documentation. Defaults to SearchTier.SEARCH_TIER_STANDARD if not specified. */
|
|
1625
|
+
searchTier?: string;
|
|
1626
|
+
}
|
|
1275
1627
|
interface GoogleCloudDiscoveryengineV1ImportDocumentsMetadata {
|
|
1276
1628
|
/** Operation create time. */
|
|
1277
1629
|
createTime?: string;
|
|
@@ -1362,11 +1714,51 @@ declare namespace gapi.client {
|
|
|
1362
1714
|
/** The structured representation of the schema. */
|
|
1363
1715
|
structSchema?: {[P in string]: any};
|
|
1364
1716
|
}
|
|
1365
|
-
interface
|
|
1366
|
-
/**
|
|
1367
|
-
|
|
1368
|
-
/**
|
|
1369
|
-
|
|
1717
|
+
interface GoogleCloudDiscoveryengineV1SiteVerificationInfo {
|
|
1718
|
+
/** Site verification state indicating the ownership and validity. */
|
|
1719
|
+
siteVerificationState?: string;
|
|
1720
|
+
/** Latest site verification time. */
|
|
1721
|
+
verifyTime?: string;
|
|
1722
|
+
}
|
|
1723
|
+
interface GoogleCloudDiscoveryengineV1TargetSite {
|
|
1724
|
+
/** Input only. If set to false, a uri_pattern is generated to include all pages whose address contains the provided_uri_pattern. If set to true, an uri_pattern is generated to try to be an exact match of the provided_uri_pattern or just the specific page if the provided_uri_pattern is a specific one. provided_uri_pattern is always normalized to generate the URI pattern to be used by the search engine. */
|
|
1725
|
+
exactMatch?: boolean;
|
|
1726
|
+
/** Output only. Failure reason. */
|
|
1727
|
+
failureReason?: GoogleCloudDiscoveryengineV1TargetSiteFailureReason;
|
|
1728
|
+
/** Output only. This is system-generated based on the provided_uri_pattern. */
|
|
1729
|
+
generatedUriPattern?: string;
|
|
1730
|
+
/** Output only. Indexing status. */
|
|
1731
|
+
indexingStatus?: string;
|
|
1732
|
+
/** Output only. The fully qualified resource name of the target site. `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}` The `target_site_id` is system-generated. */
|
|
1733
|
+
name?: string;
|
|
1734
|
+
/** Required. Input only. The user provided URI pattern from which the `generated_uri_pattern` is generated. */
|
|
1735
|
+
providedUriPattern?: string;
|
|
1736
|
+
/** Output only. Site ownership and validity verification status. */
|
|
1737
|
+
siteVerificationInfo?: GoogleCloudDiscoveryengineV1SiteVerificationInfo;
|
|
1738
|
+
/** The type of the target site, e.g., whether the site is to be included or excluded. */
|
|
1739
|
+
type?: string;
|
|
1740
|
+
/** Output only. The target site's last updated time. */
|
|
1741
|
+
updateTime?: string;
|
|
1742
|
+
}
|
|
1743
|
+
interface GoogleCloudDiscoveryengineV1TargetSiteFailureReason {
|
|
1744
|
+
/** Failed due to insufficient quota. */
|
|
1745
|
+
quotaFailure?: GoogleCloudDiscoveryengineV1TargetSiteFailureReasonQuotaFailure;
|
|
1746
|
+
}
|
|
1747
|
+
interface GoogleCloudDiscoveryengineV1TargetSiteFailureReasonQuotaFailure {
|
|
1748
|
+
/** This number is an estimation on how much total quota this project needs to successfully complete indexing. */
|
|
1749
|
+
totalRequiredQuota?: string;
|
|
1750
|
+
}
|
|
1751
|
+
interface GoogleCloudDiscoveryengineV1UpdateSchemaMetadata {
|
|
1752
|
+
/** Operation create time. */
|
|
1753
|
+
createTime?: string;
|
|
1754
|
+
/** Operation last update time. If the operation is done, this is also the finish time. */
|
|
1755
|
+
updateTime?: string;
|
|
1756
|
+
}
|
|
1757
|
+
interface GoogleCloudDiscoveryengineV1UpdateTargetSiteMetadata {
|
|
1758
|
+
/** Operation create time. */
|
|
1759
|
+
createTime?: string;
|
|
1760
|
+
/** Operation last update time. If the operation is done, this is also the finish time. */
|
|
1761
|
+
updateTime?: string;
|
|
1370
1762
|
}
|
|
1371
1763
|
interface GoogleLongrunningListOperationsResponse {
|
|
1372
1764
|
/** The standard List next-page token. */
|
|
@@ -2774,15 +3166,8 @@ declare namespace gapi.client {
|
|
|
2774
3166
|
}): Request<GoogleLongrunningListOperationsResponse>;
|
|
2775
3167
|
}
|
|
2776
3168
|
interface TargetSitesResource {
|
|
2777
|
-
|
|
2778
|
-
|
|
2779
|
-
interface SiteSearchEngineResource {
|
|
2780
|
-
operations: OperationsResource;
|
|
2781
|
-
targetSites: TargetSitesResource;
|
|
2782
|
-
}
|
|
2783
|
-
interface SuggestionDenyListEntriesResource {
|
|
2784
|
-
/** Imports all SuggestionDenyListEntry for a DataStore. */
|
|
2785
|
-
import(request: {
|
|
3169
|
+
/** Creates TargetSite in a batch. */
|
|
3170
|
+
batchCreate(request: {
|
|
2786
3171
|
/** V1 error format. */
|
|
2787
3172
|
'$.xgafv'?: string;
|
|
2788
3173
|
/** OAuth access token. */
|
|
@@ -2797,7 +3182,7 @@ declare namespace gapi.client {
|
|
|
2797
3182
|
key?: string;
|
|
2798
3183
|
/** OAuth 2.0 token for the current user. */
|
|
2799
3184
|
oauth_token?: string;
|
|
2800
|
-
/** Required. The parent
|
|
3185
|
+
/** Required. The parent resource shared by all TargetSites being created. `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine`. The parent field in the CreateBookRequest messages must either be empty or match this field. */
|
|
2801
3186
|
parent: string;
|
|
2802
3187
|
/** Returns response with indentations and line breaks. */
|
|
2803
3188
|
prettyPrint?: boolean;
|
|
@@ -2808,9 +3193,9 @@ declare namespace gapi.client {
|
|
|
2808
3193
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2809
3194
|
uploadType?: string;
|
|
2810
3195
|
/** Request body */
|
|
2811
|
-
resource:
|
|
3196
|
+
resource: GoogleCloudDiscoveryengineV1betaBatchCreateTargetSitesRequest;
|
|
2812
3197
|
}): Request<GoogleLongrunningOperation>;
|
|
2813
|
-
|
|
3198
|
+
batchCreate(
|
|
2814
3199
|
request: {
|
|
2815
3200
|
/** V1 error format. */
|
|
2816
3201
|
'$.xgafv'?: string;
|
|
@@ -2826,7 +3211,7 @@ declare namespace gapi.client {
|
|
|
2826
3211
|
key?: string;
|
|
2827
3212
|
/** OAuth 2.0 token for the current user. */
|
|
2828
3213
|
oauth_token?: string;
|
|
2829
|
-
/** Required. The parent
|
|
3214
|
+
/** Required. The parent resource shared by all TargetSites being created. `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine`. The parent field in the CreateBookRequest messages must either be empty or match this field. */
|
|
2830
3215
|
parent: string;
|
|
2831
3216
|
/** Returns response with indentations and line breaks. */
|
|
2832
3217
|
prettyPrint?: boolean;
|
|
@@ -2837,10 +3222,10 @@ declare namespace gapi.client {
|
|
|
2837
3222
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2838
3223
|
uploadType?: string;
|
|
2839
3224
|
},
|
|
2840
|
-
body:
|
|
3225
|
+
body: GoogleCloudDiscoveryengineV1betaBatchCreateTargetSitesRequest
|
|
2841
3226
|
): Request<GoogleLongrunningOperation>;
|
|
2842
|
-
/**
|
|
2843
|
-
|
|
3227
|
+
/** Creates a TargetSite. */
|
|
3228
|
+
create(request: {
|
|
2844
3229
|
/** V1 error format. */
|
|
2845
3230
|
'$.xgafv'?: string;
|
|
2846
3231
|
/** OAuth access token. */
|
|
@@ -2855,7 +3240,7 @@ declare namespace gapi.client {
|
|
|
2855
3240
|
key?: string;
|
|
2856
3241
|
/** OAuth 2.0 token for the current user. */
|
|
2857
3242
|
oauth_token?: string;
|
|
2858
|
-
/** Required.
|
|
3243
|
+
/** Required. Parent resource name of TargetSite, such as `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine`. */
|
|
2859
3244
|
parent: string;
|
|
2860
3245
|
/** Returns response with indentations and line breaks. */
|
|
2861
3246
|
prettyPrint?: boolean;
|
|
@@ -2866,9 +3251,9 @@ declare namespace gapi.client {
|
|
|
2866
3251
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2867
3252
|
uploadType?: string;
|
|
2868
3253
|
/** Request body */
|
|
2869
|
-
resource:
|
|
3254
|
+
resource: GoogleCloudDiscoveryengineV1betaTargetSite;
|
|
2870
3255
|
}): Request<GoogleLongrunningOperation>;
|
|
2871
|
-
|
|
3256
|
+
create(
|
|
2872
3257
|
request: {
|
|
2873
3258
|
/** V1 error format. */
|
|
2874
3259
|
'$.xgafv'?: string;
|
|
@@ -2884,7 +3269,7 @@ declare namespace gapi.client {
|
|
|
2884
3269
|
key?: string;
|
|
2885
3270
|
/** OAuth 2.0 token for the current user. */
|
|
2886
3271
|
oauth_token?: string;
|
|
2887
|
-
/** Required.
|
|
3272
|
+
/** Required. Parent resource name of TargetSite, such as `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine`. */
|
|
2888
3273
|
parent: string;
|
|
2889
3274
|
/** Returns response with indentations and line breaks. */
|
|
2890
3275
|
prettyPrint?: boolean;
|
|
@@ -2895,12 +3280,10 @@ declare namespace gapi.client {
|
|
|
2895
3280
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2896
3281
|
uploadType?: string;
|
|
2897
3282
|
},
|
|
2898
|
-
body:
|
|
3283
|
+
body: GoogleCloudDiscoveryengineV1betaTargetSite
|
|
2899
3284
|
): Request<GoogleLongrunningOperation>;
|
|
2900
|
-
|
|
2901
|
-
|
|
2902
|
-
/** Writes a single user event from the browser. This uses a GET request to due to browser restriction of POST-ing to a third-party domain. This method is used only by the Discovery Engine API JavaScript pixel and Google Tag Manager. Users should not call this method directly. */
|
|
2903
|
-
collect(request?: {
|
|
3285
|
+
/** Deletes a TargetSite. */
|
|
3286
|
+
delete(request?: {
|
|
2904
3287
|
/** V1 error format. */
|
|
2905
3288
|
'$.xgafv'?: string;
|
|
2906
3289
|
/** OAuth access token. */
|
|
@@ -2909,16 +3292,14 @@ declare namespace gapi.client {
|
|
|
2909
3292
|
alt?: string;
|
|
2910
3293
|
/** JSONP */
|
|
2911
3294
|
callback?: string;
|
|
2912
|
-
/** The event timestamp in milliseconds. This prevents browser caching of otherwise identical get requests. The name is abbreviated to reduce the payload bytes. */
|
|
2913
|
-
ets?: string;
|
|
2914
3295
|
/** Selector specifying which fields to include in a partial response. */
|
|
2915
3296
|
fields?: string;
|
|
2916
3297
|
/** 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. */
|
|
2917
3298
|
key?: string;
|
|
3299
|
+
/** Required. Full resource name of TargetSite, such as `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}`. If the caller does not have permission to access the TargetSite, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. If the requested TargetSite does not exist, a NOT_FOUND error is returned. */
|
|
3300
|
+
name: string;
|
|
2918
3301
|
/** OAuth 2.0 token for the current user. */
|
|
2919
3302
|
oauth_token?: string;
|
|
2920
|
-
/** Required. The parent DataStore resource name, such as `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}`. */
|
|
2921
|
-
parent: string;
|
|
2922
3303
|
/** Returns response with indentations and line breaks. */
|
|
2923
3304
|
prettyPrint?: boolean;
|
|
2924
3305
|
/** 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. */
|
|
@@ -2927,13 +3308,9 @@ declare namespace gapi.client {
|
|
|
2927
3308
|
upload_protocol?: string;
|
|
2928
3309
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2929
3310
|
uploadType?: string;
|
|
2930
|
-
|
|
2931
|
-
|
|
2932
|
-
|
|
2933
|
-
userEvent?: string;
|
|
2934
|
-
}): Request<GoogleApiHttpBody>;
|
|
2935
|
-
/** Bulk import of User events. Request processing might be synchronous. Events that already exist are skipped. Use this method for backfilling historical user events. Operation.response is of type ImportResponse. Note that it is possible for a subset of the items to be successfully inserted. Operation.metadata is of type ImportMetadata. */
|
|
2936
|
-
import(request: {
|
|
3311
|
+
}): Request<GoogleLongrunningOperation>;
|
|
3312
|
+
/** Gets a TargetSite. */
|
|
3313
|
+
get(request?: {
|
|
2937
3314
|
/** V1 error format. */
|
|
2938
3315
|
'$.xgafv'?: string;
|
|
2939
3316
|
/** OAuth access token. */
|
|
@@ -2946,9 +3323,40 @@ declare namespace gapi.client {
|
|
|
2946
3323
|
fields?: string;
|
|
2947
3324
|
/** 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. */
|
|
2948
3325
|
key?: string;
|
|
3326
|
+
/** Required. Full resource name of TargetSite, such as `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}`. If the caller does not have permission to access the TargetSite, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. If the requested TargetSite does not exist, a NOT_FOUND error is returned. */
|
|
3327
|
+
name: string;
|
|
2949
3328
|
/** OAuth 2.0 token for the current user. */
|
|
2950
3329
|
oauth_token?: string;
|
|
2951
|
-
/**
|
|
3330
|
+
/** Returns response with indentations and line breaks. */
|
|
3331
|
+
prettyPrint?: boolean;
|
|
3332
|
+
/** 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. */
|
|
3333
|
+
quotaUser?: string;
|
|
3334
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3335
|
+
upload_protocol?: string;
|
|
3336
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3337
|
+
uploadType?: string;
|
|
3338
|
+
}): Request<GoogleCloudDiscoveryengineV1betaTargetSite>;
|
|
3339
|
+
/** Gets a list of TargetSites. */
|
|
3340
|
+
list(request?: {
|
|
3341
|
+
/** V1 error format. */
|
|
3342
|
+
'$.xgafv'?: string;
|
|
3343
|
+
/** OAuth access token. */
|
|
3344
|
+
access_token?: string;
|
|
3345
|
+
/** Data format for response. */
|
|
3346
|
+
alt?: string;
|
|
3347
|
+
/** JSONP */
|
|
3348
|
+
callback?: string;
|
|
3349
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3350
|
+
fields?: string;
|
|
3351
|
+
/** 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. */
|
|
3352
|
+
key?: string;
|
|
3353
|
+
/** OAuth 2.0 token for the current user. */
|
|
3354
|
+
oauth_token?: string;
|
|
3355
|
+
/** Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default. The maximum value is 1000; values above 1000 will be coerced to 1000. If this field is negative, an INVALID_ARGUMENT error is returned. */
|
|
3356
|
+
pageSize?: number;
|
|
3357
|
+
/** A page token, received from a previous `ListTargetSites` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListTargetSites` must match the call that provided the page token. */
|
|
3358
|
+
pageToken?: string;
|
|
3359
|
+
/** Required. The parent site search engine resource name, such as `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine`. If the caller does not have permission to list TargetSites under this site search engine, regardless of whether or not this branch exists, a PERMISSION_DENIED error is returned. */
|
|
2952
3360
|
parent: string;
|
|
2953
3361
|
/** Returns response with indentations and line breaks. */
|
|
2954
3362
|
prettyPrint?: boolean;
|
|
@@ -2958,10 +3366,37 @@ declare namespace gapi.client {
|
|
|
2958
3366
|
upload_protocol?: string;
|
|
2959
3367
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2960
3368
|
uploadType?: string;
|
|
3369
|
+
}): Request<GoogleCloudDiscoveryengineV1betaListTargetSitesResponse>;
|
|
3370
|
+
/** Updates a TargetSite. */
|
|
3371
|
+
patch(request: {
|
|
3372
|
+
/** V1 error format. */
|
|
3373
|
+
'$.xgafv'?: string;
|
|
3374
|
+
/** OAuth access token. */
|
|
3375
|
+
access_token?: string;
|
|
3376
|
+
/** Data format for response. */
|
|
3377
|
+
alt?: string;
|
|
3378
|
+
/** JSONP */
|
|
3379
|
+
callback?: string;
|
|
3380
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3381
|
+
fields?: string;
|
|
3382
|
+
/** 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. */
|
|
3383
|
+
key?: string;
|
|
3384
|
+
/** Output only. The fully qualified resource name of the target site. `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}` The `target_site_id` is system-generated. */
|
|
3385
|
+
name: string;
|
|
3386
|
+
/** OAuth 2.0 token for the current user. */
|
|
3387
|
+
oauth_token?: string;
|
|
3388
|
+
/** Returns response with indentations and line breaks. */
|
|
3389
|
+
prettyPrint?: boolean;
|
|
3390
|
+
/** 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. */
|
|
3391
|
+
quotaUser?: string;
|
|
3392
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3393
|
+
upload_protocol?: string;
|
|
3394
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3395
|
+
uploadType?: string;
|
|
2961
3396
|
/** Request body */
|
|
2962
|
-
resource:
|
|
3397
|
+
resource: GoogleCloudDiscoveryengineV1betaTargetSite;
|
|
2963
3398
|
}): Request<GoogleLongrunningOperation>;
|
|
2964
|
-
|
|
3399
|
+
patch(
|
|
2965
3400
|
request: {
|
|
2966
3401
|
/** V1 error format. */
|
|
2967
3402
|
'$.xgafv'?: string;
|
|
@@ -2975,10 +3410,10 @@ declare namespace gapi.client {
|
|
|
2975
3410
|
fields?: string;
|
|
2976
3411
|
/** 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. */
|
|
2977
3412
|
key?: string;
|
|
3413
|
+
/** Output only. The fully qualified resource name of the target site. `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}` The `target_site_id` is system-generated. */
|
|
3414
|
+
name: string;
|
|
2978
3415
|
/** OAuth 2.0 token for the current user. */
|
|
2979
3416
|
oauth_token?: string;
|
|
2980
|
-
/** Required. Parent DataStore resource name, of the form `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}` */
|
|
2981
|
-
parent: string;
|
|
2982
3417
|
/** Returns response with indentations and line breaks. */
|
|
2983
3418
|
prettyPrint?: boolean;
|
|
2984
3419
|
/** 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. */
|
|
@@ -2988,10 +3423,13 @@ declare namespace gapi.client {
|
|
|
2988
3423
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2989
3424
|
uploadType?: string;
|
|
2990
3425
|
},
|
|
2991
|
-
body:
|
|
3426
|
+
body: GoogleCloudDiscoveryengineV1betaTargetSite
|
|
2992
3427
|
): Request<GoogleLongrunningOperation>;
|
|
2993
|
-
|
|
2994
|
-
|
|
3428
|
+
operations: OperationsResource;
|
|
3429
|
+
}
|
|
3430
|
+
interface SiteSearchEngineResource {
|
|
3431
|
+
/** Verify target sites' ownership and validity. This API sends all the target sites under site search engine for verification. */
|
|
3432
|
+
batchVerifyTargetSites(request: {
|
|
2995
3433
|
/** V1 error format. */
|
|
2996
3434
|
'$.xgafv'?: string;
|
|
2997
3435
|
/** OAuth access token. */
|
|
@@ -3006,7 +3444,7 @@ declare namespace gapi.client {
|
|
|
3006
3444
|
key?: string;
|
|
3007
3445
|
/** OAuth 2.0 token for the current user. */
|
|
3008
3446
|
oauth_token?: string;
|
|
3009
|
-
/** Required. The parent
|
|
3447
|
+
/** Required. The parent resource shared by all TargetSites being verified. `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine`. */
|
|
3010
3448
|
parent: string;
|
|
3011
3449
|
/** Returns response with indentations and line breaks. */
|
|
3012
3450
|
prettyPrint?: boolean;
|
|
@@ -3017,9 +3455,9 @@ declare namespace gapi.client {
|
|
|
3017
3455
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3018
3456
|
uploadType?: string;
|
|
3019
3457
|
/** Request body */
|
|
3020
|
-
resource:
|
|
3021
|
-
}): Request<
|
|
3022
|
-
|
|
3458
|
+
resource: GoogleCloudDiscoveryengineV1betaBatchVerifyTargetSitesRequest;
|
|
3459
|
+
}): Request<GoogleLongrunningOperation>;
|
|
3460
|
+
batchVerifyTargetSites(
|
|
3023
3461
|
request: {
|
|
3024
3462
|
/** V1 error format. */
|
|
3025
3463
|
'$.xgafv'?: string;
|
|
@@ -3035,7 +3473,7 @@ declare namespace gapi.client {
|
|
|
3035
3473
|
key?: string;
|
|
3036
3474
|
/** OAuth 2.0 token for the current user. */
|
|
3037
3475
|
oauth_token?: string;
|
|
3038
|
-
/** Required. The parent
|
|
3476
|
+
/** Required. The parent resource shared by all TargetSites being verified. `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine`. */
|
|
3039
3477
|
parent: string;
|
|
3040
3478
|
/** Returns response with indentations and line breaks. */
|
|
3041
3479
|
prettyPrint?: boolean;
|
|
@@ -3046,58 +3484,10 @@ declare namespace gapi.client {
|
|
|
3046
3484
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3047
3485
|
uploadType?: string;
|
|
3048
3486
|
},
|
|
3049
|
-
body:
|
|
3050
|
-
): Request<
|
|
3051
|
-
|
|
3052
|
-
|
|
3053
|
-
/** Completes the specified user input with keyword suggestions. */
|
|
3054
|
-
completeQuery(request?: {
|
|
3055
|
-
/** V1 error format. */
|
|
3056
|
-
'$.xgafv'?: string;
|
|
3057
|
-
/** OAuth access token. */
|
|
3058
|
-
access_token?: string;
|
|
3059
|
-
/** Data format for response. */
|
|
3060
|
-
alt?: string;
|
|
3061
|
-
/** JSONP */
|
|
3062
|
-
callback?: string;
|
|
3063
|
-
/** Required. The parent data store resource name for which the completion is performed, such as `projects/*/locations/global/collections/default_collection/dataStores/default_data_store`. */
|
|
3064
|
-
dataStore: string;
|
|
3065
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
3066
|
-
fields?: string;
|
|
3067
|
-
/** Indicates if tail suggestions should be returned if there are no suggestions that match the full query. Even if set to true, if there are suggestions that match the full query, those are returned and no tail suggestions are returned. */
|
|
3068
|
-
includeTailSuggestions?: boolean;
|
|
3069
|
-
/** 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. */
|
|
3070
|
-
key?: string;
|
|
3071
|
-
/** OAuth 2.0 token for the current user. */
|
|
3072
|
-
oauth_token?: string;
|
|
3073
|
-
/** Returns response with indentations and line breaks. */
|
|
3074
|
-
prettyPrint?: boolean;
|
|
3075
|
-
/** Required. The typeahead input used to fetch suggestions. Maximum length is 128 characters. */
|
|
3076
|
-
query?: string;
|
|
3077
|
-
/** Selects data model of query suggestions for serving. Currently supported values: * `document` - Using suggestions generated from user-imported documents. * `search-history` - Using suggestions generated from the past history of SearchService.Search API calls. Do not use it when there is no traffic for Search API. * `user-event` - Using suggestions generated from user-imported search events. * `document-completable` - Using suggestions taken directly from user-imported document fields marked as completable. Default values: * `document` is the default model for regular dataStores. * `search-history` is the default model for site search dataStores. */
|
|
3078
|
-
queryModel?: string;
|
|
3079
|
-
/** 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. */
|
|
3080
|
-
quotaUser?: string;
|
|
3081
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3082
|
-
upload_protocol?: string;
|
|
3083
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3084
|
-
uploadType?: string;
|
|
3085
|
-
/** 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. */
|
|
3086
|
-
userPseudoId?: string;
|
|
3087
|
-
}): Request<GoogleCloudDiscoveryengineV1betaCompleteQueryResponse>;
|
|
3088
|
-
branches: BranchesResource;
|
|
3089
|
-
conversations: ConversationsResource;
|
|
3090
|
-
models: ModelsResource;
|
|
3091
|
-
operations: OperationsResource;
|
|
3092
|
-
schemas: SchemasResource;
|
|
3093
|
-
servingConfigs: ServingConfigsResource;
|
|
3094
|
-
siteSearchEngine: SiteSearchEngineResource;
|
|
3095
|
-
suggestionDenyListEntries: SuggestionDenyListEntriesResource;
|
|
3096
|
-
userEvents: UserEventsResource;
|
|
3097
|
-
}
|
|
3098
|
-
interface ConversationsResource {
|
|
3099
|
-
/** Converses a conversation. */
|
|
3100
|
-
converse(request: {
|
|
3487
|
+
body: GoogleCloudDiscoveryengineV1betaBatchVerifyTargetSitesRequest
|
|
3488
|
+
): Request<GoogleLongrunningOperation>;
|
|
3489
|
+
/** Downgrade from advanced site search to basic site search. */
|
|
3490
|
+
disableAdvancedSiteSearch(request: {
|
|
3101
3491
|
/** V1 error format. */
|
|
3102
3492
|
'$.xgafv'?: string;
|
|
3103
3493
|
/** OAuth access token. */
|
|
@@ -3110,22 +3500,22 @@ declare namespace gapi.client {
|
|
|
3110
3500
|
fields?: string;
|
|
3111
3501
|
/** 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. */
|
|
3112
3502
|
key?: string;
|
|
3113
|
-
/** Required. The resource name of the Conversation to get. Format: `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/conversations/{conversation_id}`. Use `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/conversations/-` to activate auto session mode, which automatically creates a new conversation inside a ConverseConversation session. */
|
|
3114
|
-
name: string;
|
|
3115
3503
|
/** OAuth 2.0 token for the current user. */
|
|
3116
3504
|
oauth_token?: string;
|
|
3117
3505
|
/** Returns response with indentations and line breaks. */
|
|
3118
3506
|
prettyPrint?: boolean;
|
|
3119
3507
|
/** 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. */
|
|
3120
3508
|
quotaUser?: string;
|
|
3509
|
+
/** Required. Full resource name of the SiteSearchEngine, such as `projects/{project}/locations/{location}/dataStores/{data_store_id}/siteSearchEngine`. */
|
|
3510
|
+
siteSearchEngine: string;
|
|
3121
3511
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3122
3512
|
upload_protocol?: string;
|
|
3123
3513
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3124
3514
|
uploadType?: string;
|
|
3125
3515
|
/** Request body */
|
|
3126
|
-
resource:
|
|
3127
|
-
}): Request<
|
|
3128
|
-
|
|
3516
|
+
resource: GoogleCloudDiscoveryengineV1betaDisableAdvancedSiteSearchRequest;
|
|
3517
|
+
}): Request<GoogleLongrunningOperation>;
|
|
3518
|
+
disableAdvancedSiteSearch(
|
|
3129
3519
|
request: {
|
|
3130
3520
|
/** V1 error format. */
|
|
3131
3521
|
'$.xgafv'?: string;
|
|
@@ -3139,23 +3529,23 @@ declare namespace gapi.client {
|
|
|
3139
3529
|
fields?: string;
|
|
3140
3530
|
/** 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. */
|
|
3141
3531
|
key?: string;
|
|
3142
|
-
/** Required. The resource name of the Conversation to get. Format: `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/conversations/{conversation_id}`. Use `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/conversations/-` to activate auto session mode, which automatically creates a new conversation inside a ConverseConversation session. */
|
|
3143
|
-
name: string;
|
|
3144
3532
|
/** OAuth 2.0 token for the current user. */
|
|
3145
3533
|
oauth_token?: string;
|
|
3146
3534
|
/** Returns response with indentations and line breaks. */
|
|
3147
3535
|
prettyPrint?: boolean;
|
|
3148
3536
|
/** 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. */
|
|
3149
3537
|
quotaUser?: string;
|
|
3538
|
+
/** Required. Full resource name of the SiteSearchEngine, such as `projects/{project}/locations/{location}/dataStores/{data_store_id}/siteSearchEngine`. */
|
|
3539
|
+
siteSearchEngine: string;
|
|
3150
3540
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3151
3541
|
upload_protocol?: string;
|
|
3152
3542
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3153
3543
|
uploadType?: string;
|
|
3154
3544
|
},
|
|
3155
|
-
body:
|
|
3156
|
-
): Request<
|
|
3157
|
-
/**
|
|
3158
|
-
|
|
3545
|
+
body: GoogleCloudDiscoveryengineV1betaDisableAdvancedSiteSearchRequest
|
|
3546
|
+
): Request<GoogleLongrunningOperation>;
|
|
3547
|
+
/** Upgrade from basic site search to advanced site search. */
|
|
3548
|
+
enableAdvancedSiteSearch(request: {
|
|
3159
3549
|
/** V1 error format. */
|
|
3160
3550
|
'$.xgafv'?: string;
|
|
3161
3551
|
/** OAuth access token. */
|
|
@@ -3170,20 +3560,20 @@ declare namespace gapi.client {
|
|
|
3170
3560
|
key?: string;
|
|
3171
3561
|
/** OAuth 2.0 token for the current user. */
|
|
3172
3562
|
oauth_token?: string;
|
|
3173
|
-
/** Required. Full resource name of parent data store. Format: `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}` */
|
|
3174
|
-
parent: string;
|
|
3175
3563
|
/** Returns response with indentations and line breaks. */
|
|
3176
3564
|
prettyPrint?: boolean;
|
|
3177
3565
|
/** 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. */
|
|
3178
3566
|
quotaUser?: string;
|
|
3567
|
+
/** Required. Full resource name of the SiteSearchEngine, such as `projects/{project}/locations/{location}/dataStores/{data_store_id}/siteSearchEngine`. */
|
|
3568
|
+
siteSearchEngine: string;
|
|
3179
3569
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3180
3570
|
upload_protocol?: string;
|
|
3181
3571
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3182
3572
|
uploadType?: string;
|
|
3183
3573
|
/** Request body */
|
|
3184
|
-
resource:
|
|
3185
|
-
}): Request<
|
|
3186
|
-
|
|
3574
|
+
resource: GoogleCloudDiscoveryengineV1betaEnableAdvancedSiteSearchRequest;
|
|
3575
|
+
}): Request<GoogleLongrunningOperation>;
|
|
3576
|
+
enableAdvancedSiteSearch(
|
|
3187
3577
|
request: {
|
|
3188
3578
|
/** V1 error format. */
|
|
3189
3579
|
'$.xgafv'?: string;
|
|
@@ -3199,21 +3589,21 @@ declare namespace gapi.client {
|
|
|
3199
3589
|
key?: string;
|
|
3200
3590
|
/** OAuth 2.0 token for the current user. */
|
|
3201
3591
|
oauth_token?: string;
|
|
3202
|
-
/** Required. Full resource name of parent data store. Format: `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}` */
|
|
3203
|
-
parent: string;
|
|
3204
3592
|
/** Returns response with indentations and line breaks. */
|
|
3205
3593
|
prettyPrint?: boolean;
|
|
3206
3594
|
/** 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. */
|
|
3207
3595
|
quotaUser?: string;
|
|
3596
|
+
/** Required. Full resource name of the SiteSearchEngine, such as `projects/{project}/locations/{location}/dataStores/{data_store_id}/siteSearchEngine`. */
|
|
3597
|
+
siteSearchEngine: string;
|
|
3208
3598
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3209
3599
|
upload_protocol?: string;
|
|
3210
3600
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3211
3601
|
uploadType?: string;
|
|
3212
3602
|
},
|
|
3213
|
-
body:
|
|
3214
|
-
): Request<
|
|
3215
|
-
/**
|
|
3216
|
-
|
|
3603
|
+
body: GoogleCloudDiscoveryengineV1betaEnableAdvancedSiteSearchRequest
|
|
3604
|
+
): Request<GoogleLongrunningOperation>;
|
|
3605
|
+
/** Returns list of target sites with its domain verification status. This method can only be called under data store with BASIC_SITE_SEARCH state at the moment. */
|
|
3606
|
+
fetchDomainVerificationStatus(request?: {
|
|
3217
3607
|
/** V1 error format. */
|
|
3218
3608
|
'$.xgafv'?: string;
|
|
3219
3609
|
/** OAuth access token. */
|
|
@@ -3226,21 +3616,25 @@ declare namespace gapi.client {
|
|
|
3226
3616
|
fields?: string;
|
|
3227
3617
|
/** 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. */
|
|
3228
3618
|
key?: string;
|
|
3229
|
-
/** Required. The resource name of the Conversation to delete. Format: `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/conversations/{conversation_id}` */
|
|
3230
|
-
name: string;
|
|
3231
3619
|
/** OAuth 2.0 token for the current user. */
|
|
3232
3620
|
oauth_token?: string;
|
|
3621
|
+
/** Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default. The maximum value is 1000; values above 1000 will be coerced to 1000. If this field is negative, an INVALID_ARGUMENT error is returned. */
|
|
3622
|
+
pageSize?: number;
|
|
3623
|
+
/** A page token, received from a previous `FetchDomainVerificationStatus` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `FetchDomainVerificationStatus` must match the call that provided the page token. */
|
|
3624
|
+
pageToken?: string;
|
|
3233
3625
|
/** Returns response with indentations and line breaks. */
|
|
3234
3626
|
prettyPrint?: boolean;
|
|
3235
3627
|
/** 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. */
|
|
3236
3628
|
quotaUser?: string;
|
|
3629
|
+
/** Required. The site search engine resource under which we fetch all the domain verification status. `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine`. */
|
|
3630
|
+
siteSearchEngine: string;
|
|
3237
3631
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3238
3632
|
upload_protocol?: string;
|
|
3239
3633
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3240
3634
|
uploadType?: string;
|
|
3241
|
-
}): Request<
|
|
3242
|
-
/**
|
|
3243
|
-
|
|
3635
|
+
}): Request<GoogleCloudDiscoveryengineV1betaFetchDomainVerificationStatusResponse>;
|
|
3636
|
+
/** Request on-demand recrawl for a list of URIs. */
|
|
3637
|
+
recrawlUris(request: {
|
|
3244
3638
|
/** V1 error format. */
|
|
3245
3639
|
'$.xgafv'?: string;
|
|
3246
3640
|
/** OAuth access token. */
|
|
@@ -3253,44 +3647,1363 @@ declare namespace gapi.client {
|
|
|
3253
3647
|
fields?: string;
|
|
3254
3648
|
/** 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. */
|
|
3255
3649
|
key?: string;
|
|
3256
|
-
/** Required. The resource name of the Conversation to get. Format: `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/conversations/{conversation_id}` */
|
|
3257
|
-
name: string;
|
|
3258
3650
|
/** OAuth 2.0 token for the current user. */
|
|
3259
3651
|
oauth_token?: string;
|
|
3260
3652
|
/** Returns response with indentations and line breaks. */
|
|
3261
3653
|
prettyPrint?: boolean;
|
|
3262
3654
|
/** 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. */
|
|
3263
3655
|
quotaUser?: string;
|
|
3656
|
+
/** Required. Full resource name of the SiteSearchEngine, such as `projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine`. */
|
|
3657
|
+
siteSearchEngine: string;
|
|
3264
3658
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3265
3659
|
upload_protocol?: string;
|
|
3266
3660
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3267
3661
|
uploadType?: string;
|
|
3268
|
-
|
|
3269
|
-
|
|
3270
|
-
|
|
3271
|
-
|
|
3272
|
-
|
|
3273
|
-
|
|
3274
|
-
|
|
3275
|
-
|
|
3276
|
-
|
|
3277
|
-
|
|
3278
|
-
|
|
3279
|
-
|
|
3280
|
-
|
|
3281
|
-
|
|
3282
|
-
|
|
3283
|
-
|
|
3284
|
-
|
|
3285
|
-
|
|
3286
|
-
|
|
3287
|
-
|
|
3288
|
-
|
|
3289
|
-
|
|
3290
|
-
|
|
3291
|
-
|
|
3662
|
+
/** Request body */
|
|
3663
|
+
resource: GoogleCloudDiscoveryengineV1betaRecrawlUrisRequest;
|
|
3664
|
+
}): Request<GoogleLongrunningOperation>;
|
|
3665
|
+
recrawlUris(
|
|
3666
|
+
request: {
|
|
3667
|
+
/** V1 error format. */
|
|
3668
|
+
'$.xgafv'?: string;
|
|
3669
|
+
/** OAuth access token. */
|
|
3670
|
+
access_token?: string;
|
|
3671
|
+
/** Data format for response. */
|
|
3672
|
+
alt?: string;
|
|
3673
|
+
/** JSONP */
|
|
3674
|
+
callback?: string;
|
|
3675
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3676
|
+
fields?: string;
|
|
3677
|
+
/** 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. */
|
|
3678
|
+
key?: string;
|
|
3679
|
+
/** OAuth 2.0 token for the current user. */
|
|
3680
|
+
oauth_token?: string;
|
|
3681
|
+
/** Returns response with indentations and line breaks. */
|
|
3682
|
+
prettyPrint?: boolean;
|
|
3683
|
+
/** 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. */
|
|
3684
|
+
quotaUser?: string;
|
|
3685
|
+
/** Required. Full resource name of the SiteSearchEngine, such as `projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine`. */
|
|
3686
|
+
siteSearchEngine: string;
|
|
3687
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3688
|
+
upload_protocol?: string;
|
|
3689
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3690
|
+
uploadType?: string;
|
|
3691
|
+
},
|
|
3692
|
+
body: GoogleCloudDiscoveryengineV1betaRecrawlUrisRequest
|
|
3693
|
+
): Request<GoogleLongrunningOperation>;
|
|
3694
|
+
operations: OperationsResource;
|
|
3695
|
+
targetSites: TargetSitesResource;
|
|
3696
|
+
}
|
|
3697
|
+
interface SuggestionDenyListEntriesResource {
|
|
3698
|
+
/** Imports all SuggestionDenyListEntry for a DataStore. */
|
|
3699
|
+
import(request: {
|
|
3700
|
+
/** V1 error format. */
|
|
3701
|
+
'$.xgafv'?: string;
|
|
3702
|
+
/** OAuth access token. */
|
|
3703
|
+
access_token?: string;
|
|
3704
|
+
/** Data format for response. */
|
|
3705
|
+
alt?: string;
|
|
3706
|
+
/** JSONP */
|
|
3707
|
+
callback?: string;
|
|
3708
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3709
|
+
fields?: string;
|
|
3710
|
+
/** 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. */
|
|
3711
|
+
key?: string;
|
|
3712
|
+
/** OAuth 2.0 token for the current user. */
|
|
3713
|
+
oauth_token?: string;
|
|
3714
|
+
/** Required. The parent data store resource name for which to import denylist entries. Follows pattern projects/*/locations/*/collections/*/dataStores/*. */
|
|
3715
|
+
parent: string;
|
|
3716
|
+
/** Returns response with indentations and line breaks. */
|
|
3717
|
+
prettyPrint?: boolean;
|
|
3718
|
+
/** 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. */
|
|
3719
|
+
quotaUser?: string;
|
|
3720
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3721
|
+
upload_protocol?: string;
|
|
3722
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3723
|
+
uploadType?: string;
|
|
3724
|
+
/** Request body */
|
|
3725
|
+
resource: GoogleCloudDiscoveryengineV1betaImportSuggestionDenyListEntriesRequest;
|
|
3726
|
+
}): Request<GoogleLongrunningOperation>;
|
|
3727
|
+
import(
|
|
3728
|
+
request: {
|
|
3729
|
+
/** V1 error format. */
|
|
3730
|
+
'$.xgafv'?: string;
|
|
3731
|
+
/** OAuth access token. */
|
|
3732
|
+
access_token?: string;
|
|
3733
|
+
/** Data format for response. */
|
|
3734
|
+
alt?: string;
|
|
3735
|
+
/** JSONP */
|
|
3736
|
+
callback?: string;
|
|
3737
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3738
|
+
fields?: string;
|
|
3739
|
+
/** 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. */
|
|
3740
|
+
key?: string;
|
|
3741
|
+
/** OAuth 2.0 token for the current user. */
|
|
3742
|
+
oauth_token?: string;
|
|
3743
|
+
/** Required. The parent data store resource name for which to import denylist entries. Follows pattern projects/*/locations/*/collections/*/dataStores/*. */
|
|
3744
|
+
parent: string;
|
|
3745
|
+
/** Returns response with indentations and line breaks. */
|
|
3746
|
+
prettyPrint?: boolean;
|
|
3747
|
+
/** 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. */
|
|
3748
|
+
quotaUser?: string;
|
|
3749
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3750
|
+
upload_protocol?: string;
|
|
3751
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3752
|
+
uploadType?: string;
|
|
3753
|
+
},
|
|
3754
|
+
body: GoogleCloudDiscoveryengineV1betaImportSuggestionDenyListEntriesRequest
|
|
3755
|
+
): Request<GoogleLongrunningOperation>;
|
|
3756
|
+
/** Permanently deletes all SuggestionDenyListEntry for a DataStore. */
|
|
3757
|
+
purge(request: {
|
|
3758
|
+
/** V1 error format. */
|
|
3759
|
+
'$.xgafv'?: string;
|
|
3760
|
+
/** OAuth access token. */
|
|
3761
|
+
access_token?: string;
|
|
3762
|
+
/** Data format for response. */
|
|
3763
|
+
alt?: string;
|
|
3764
|
+
/** JSONP */
|
|
3765
|
+
callback?: string;
|
|
3766
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3767
|
+
fields?: string;
|
|
3768
|
+
/** 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. */
|
|
3769
|
+
key?: string;
|
|
3770
|
+
/** OAuth 2.0 token for the current user. */
|
|
3771
|
+
oauth_token?: string;
|
|
3772
|
+
/** Required. The parent data store resource name for which to import denylist entries. Follows pattern projects/*/locations/*/collections/*/dataStores/*. */
|
|
3773
|
+
parent: string;
|
|
3774
|
+
/** Returns response with indentations and line breaks. */
|
|
3775
|
+
prettyPrint?: boolean;
|
|
3776
|
+
/** 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. */
|
|
3777
|
+
quotaUser?: string;
|
|
3778
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3779
|
+
upload_protocol?: string;
|
|
3780
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3781
|
+
uploadType?: string;
|
|
3782
|
+
/** Request body */
|
|
3783
|
+
resource: GoogleCloudDiscoveryengineV1betaPurgeSuggestionDenyListEntriesRequest;
|
|
3784
|
+
}): Request<GoogleLongrunningOperation>;
|
|
3785
|
+
purge(
|
|
3786
|
+
request: {
|
|
3787
|
+
/** V1 error format. */
|
|
3788
|
+
'$.xgafv'?: string;
|
|
3789
|
+
/** OAuth access token. */
|
|
3790
|
+
access_token?: string;
|
|
3791
|
+
/** Data format for response. */
|
|
3792
|
+
alt?: string;
|
|
3793
|
+
/** JSONP */
|
|
3794
|
+
callback?: string;
|
|
3795
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3796
|
+
fields?: string;
|
|
3797
|
+
/** 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. */
|
|
3798
|
+
key?: string;
|
|
3799
|
+
/** OAuth 2.0 token for the current user. */
|
|
3800
|
+
oauth_token?: string;
|
|
3801
|
+
/** Required. The parent data store resource name for which to import denylist entries. Follows pattern projects/*/locations/*/collections/*/dataStores/*. */
|
|
3802
|
+
parent: string;
|
|
3803
|
+
/** Returns response with indentations and line breaks. */
|
|
3804
|
+
prettyPrint?: boolean;
|
|
3805
|
+
/** 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. */
|
|
3806
|
+
quotaUser?: string;
|
|
3807
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3808
|
+
upload_protocol?: string;
|
|
3809
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3810
|
+
uploadType?: string;
|
|
3811
|
+
},
|
|
3812
|
+
body: GoogleCloudDiscoveryengineV1betaPurgeSuggestionDenyListEntriesRequest
|
|
3813
|
+
): Request<GoogleLongrunningOperation>;
|
|
3814
|
+
}
|
|
3815
|
+
interface UserEventsResource {
|
|
3816
|
+
/** Writes a single user event from the browser. This uses a GET request to due to browser restriction of POST-ing to a third-party domain. This method is used only by the Discovery Engine API JavaScript pixel and Google Tag Manager. Users should not call this method directly. */
|
|
3817
|
+
collect(request?: {
|
|
3818
|
+
/** V1 error format. */
|
|
3819
|
+
'$.xgafv'?: string;
|
|
3820
|
+
/** OAuth access token. */
|
|
3821
|
+
access_token?: string;
|
|
3822
|
+
/** Data format for response. */
|
|
3823
|
+
alt?: string;
|
|
3824
|
+
/** JSONP */
|
|
3825
|
+
callback?: string;
|
|
3826
|
+
/** The event timestamp in milliseconds. This prevents browser caching of otherwise identical get requests. The name is abbreviated to reduce the payload bytes. */
|
|
3827
|
+
ets?: string;
|
|
3828
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3829
|
+
fields?: string;
|
|
3830
|
+
/** 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. */
|
|
3831
|
+
key?: string;
|
|
3832
|
+
/** OAuth 2.0 token for the current user. */
|
|
3833
|
+
oauth_token?: string;
|
|
3834
|
+
/** Required. The parent DataStore resource name, such as `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}`. */
|
|
3835
|
+
parent: string;
|
|
3836
|
+
/** Returns response with indentations and line breaks. */
|
|
3837
|
+
prettyPrint?: boolean;
|
|
3838
|
+
/** 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. */
|
|
3839
|
+
quotaUser?: string;
|
|
3840
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3841
|
+
upload_protocol?: string;
|
|
3842
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3843
|
+
uploadType?: string;
|
|
3844
|
+
/** The URL including cgi-parameters but excluding the hash fragment with a length limit of 5,000 characters. This is often more useful than the referer URL, because many browsers only send the domain for third-party requests. */
|
|
3845
|
+
uri?: string;
|
|
3846
|
+
/** Required. URL encoded UserEvent proto with a length limit of 2,000,000 characters. */
|
|
3847
|
+
userEvent?: string;
|
|
3848
|
+
}): Request<GoogleApiHttpBody>;
|
|
3849
|
+
/** Bulk import of User events. Request processing might be synchronous. Events that already exist are skipped. Use this method for backfilling historical user events. Operation.response is of type ImportResponse. Note that it is possible for a subset of the items to be successfully inserted. Operation.metadata is of type ImportMetadata. */
|
|
3850
|
+
import(request: {
|
|
3851
|
+
/** V1 error format. */
|
|
3852
|
+
'$.xgafv'?: string;
|
|
3853
|
+
/** OAuth access token. */
|
|
3854
|
+
access_token?: string;
|
|
3855
|
+
/** Data format for response. */
|
|
3856
|
+
alt?: string;
|
|
3857
|
+
/** JSONP */
|
|
3858
|
+
callback?: string;
|
|
3859
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3860
|
+
fields?: string;
|
|
3861
|
+
/** 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. */
|
|
3862
|
+
key?: string;
|
|
3863
|
+
/** OAuth 2.0 token for the current user. */
|
|
3864
|
+
oauth_token?: string;
|
|
3865
|
+
/** Required. Parent DataStore resource name, of the form `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}` */
|
|
3866
|
+
parent: string;
|
|
3867
|
+
/** Returns response with indentations and line breaks. */
|
|
3868
|
+
prettyPrint?: boolean;
|
|
3869
|
+
/** 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. */
|
|
3870
|
+
quotaUser?: string;
|
|
3871
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3872
|
+
upload_protocol?: string;
|
|
3873
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3874
|
+
uploadType?: string;
|
|
3875
|
+
/** Request body */
|
|
3876
|
+
resource: GoogleCloudDiscoveryengineV1betaImportUserEventsRequest;
|
|
3877
|
+
}): Request<GoogleLongrunningOperation>;
|
|
3878
|
+
import(
|
|
3879
|
+
request: {
|
|
3880
|
+
/** V1 error format. */
|
|
3881
|
+
'$.xgafv'?: string;
|
|
3882
|
+
/** OAuth access token. */
|
|
3883
|
+
access_token?: string;
|
|
3884
|
+
/** Data format for response. */
|
|
3885
|
+
alt?: string;
|
|
3886
|
+
/** JSONP */
|
|
3887
|
+
callback?: string;
|
|
3888
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3889
|
+
fields?: string;
|
|
3890
|
+
/** 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. */
|
|
3891
|
+
key?: string;
|
|
3892
|
+
/** OAuth 2.0 token for the current user. */
|
|
3893
|
+
oauth_token?: string;
|
|
3894
|
+
/** Required. Parent DataStore resource name, of the form `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}` */
|
|
3895
|
+
parent: string;
|
|
3896
|
+
/** Returns response with indentations and line breaks. */
|
|
3897
|
+
prettyPrint?: boolean;
|
|
3898
|
+
/** 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. */
|
|
3899
|
+
quotaUser?: string;
|
|
3900
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3901
|
+
upload_protocol?: string;
|
|
3902
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3903
|
+
uploadType?: string;
|
|
3904
|
+
},
|
|
3905
|
+
body: GoogleCloudDiscoveryengineV1betaImportUserEventsRequest
|
|
3906
|
+
): Request<GoogleLongrunningOperation>;
|
|
3907
|
+
/** Writes a single user event. */
|
|
3908
|
+
write(request: {
|
|
3909
|
+
/** V1 error format. */
|
|
3910
|
+
'$.xgafv'?: string;
|
|
3911
|
+
/** OAuth access token. */
|
|
3912
|
+
access_token?: string;
|
|
3913
|
+
/** Data format for response. */
|
|
3914
|
+
alt?: string;
|
|
3915
|
+
/** JSONP */
|
|
3916
|
+
callback?: string;
|
|
3917
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3918
|
+
fields?: string;
|
|
3919
|
+
/** 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. */
|
|
3920
|
+
key?: string;
|
|
3921
|
+
/** OAuth 2.0 token for the current user. */
|
|
3922
|
+
oauth_token?: string;
|
|
3923
|
+
/** Required. The parent DataStore resource name, such as `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}`. */
|
|
3924
|
+
parent: string;
|
|
3925
|
+
/** Returns response with indentations and line breaks. */
|
|
3926
|
+
prettyPrint?: boolean;
|
|
3927
|
+
/** 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. */
|
|
3928
|
+
quotaUser?: string;
|
|
3929
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3930
|
+
upload_protocol?: string;
|
|
3931
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3932
|
+
uploadType?: string;
|
|
3933
|
+
/** Request body */
|
|
3934
|
+
resource: GoogleCloudDiscoveryengineV1betaUserEvent;
|
|
3935
|
+
}): Request<GoogleCloudDiscoveryengineV1betaUserEvent>;
|
|
3936
|
+
write(
|
|
3937
|
+
request: {
|
|
3938
|
+
/** V1 error format. */
|
|
3939
|
+
'$.xgafv'?: string;
|
|
3940
|
+
/** OAuth access token. */
|
|
3941
|
+
access_token?: string;
|
|
3942
|
+
/** Data format for response. */
|
|
3943
|
+
alt?: string;
|
|
3944
|
+
/** JSONP */
|
|
3945
|
+
callback?: string;
|
|
3946
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3947
|
+
fields?: string;
|
|
3948
|
+
/** 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. */
|
|
3949
|
+
key?: string;
|
|
3950
|
+
/** OAuth 2.0 token for the current user. */
|
|
3951
|
+
oauth_token?: string;
|
|
3952
|
+
/** Required. The parent DataStore resource name, such as `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}`. */
|
|
3953
|
+
parent: string;
|
|
3954
|
+
/** Returns response with indentations and line breaks. */
|
|
3955
|
+
prettyPrint?: boolean;
|
|
3956
|
+
/** 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. */
|
|
3957
|
+
quotaUser?: string;
|
|
3958
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3959
|
+
upload_protocol?: string;
|
|
3960
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3961
|
+
uploadType?: string;
|
|
3962
|
+
},
|
|
3963
|
+
body: GoogleCloudDiscoveryengineV1betaUserEvent
|
|
3964
|
+
): Request<GoogleCloudDiscoveryengineV1betaUserEvent>;
|
|
3965
|
+
}
|
|
3966
|
+
interface DataStoresResource {
|
|
3967
|
+
/** Completes the specified user input with keyword suggestions. */
|
|
3968
|
+
completeQuery(request?: {
|
|
3969
|
+
/** V1 error format. */
|
|
3970
|
+
'$.xgafv'?: string;
|
|
3971
|
+
/** OAuth access token. */
|
|
3972
|
+
access_token?: string;
|
|
3973
|
+
/** Data format for response. */
|
|
3974
|
+
alt?: string;
|
|
3975
|
+
/** JSONP */
|
|
3976
|
+
callback?: string;
|
|
3977
|
+
/** Required. The parent data store resource name for which the completion is performed, such as `projects/*/locations/global/collections/default_collection/dataStores/default_data_store`. */
|
|
3978
|
+
dataStore: string;
|
|
3979
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3980
|
+
fields?: string;
|
|
3981
|
+
/** Indicates if tail suggestions should be returned if there are no suggestions that match the full query. Even if set to true, if there are suggestions that match the full query, those are returned and no tail suggestions are returned. */
|
|
3982
|
+
includeTailSuggestions?: boolean;
|
|
3983
|
+
/** 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. */
|
|
3984
|
+
key?: string;
|
|
3985
|
+
/** OAuth 2.0 token for the current user. */
|
|
3986
|
+
oauth_token?: string;
|
|
3987
|
+
/** Returns response with indentations and line breaks. */
|
|
3988
|
+
prettyPrint?: boolean;
|
|
3989
|
+
/** Required. The typeahead input used to fetch suggestions. Maximum length is 128 characters. */
|
|
3990
|
+
query?: string;
|
|
3991
|
+
/** Specifies the autocomplete data model. This overrides any model specified in the Configuration > Autocomplete section of the Cloud console. Currently supported values: * `document` - Using suggestions generated from user-imported documents. * `search-history` - Using suggestions generated from the past history of SearchService.Search API calls. Do not use it when there is no traffic for Search API. * `user-event` - Using suggestions generated from user-imported search events. * `document-completable` - Using suggestions taken directly from user-imported document fields marked as completable. Default values: * `document` is the default model for regular dataStores. * `search-history` is the default model for site search dataStores. */
|
|
3992
|
+
queryModel?: string;
|
|
3993
|
+
/** 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. */
|
|
3994
|
+
quotaUser?: string;
|
|
3995
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3996
|
+
upload_protocol?: string;
|
|
3997
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3998
|
+
uploadType?: string;
|
|
3999
|
+
/** 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. */
|
|
4000
|
+
userPseudoId?: string;
|
|
4001
|
+
}): Request<GoogleCloudDiscoveryengineV1betaCompleteQueryResponse>;
|
|
4002
|
+
/** 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. */
|
|
4003
|
+
create(request: {
|
|
4004
|
+
/** V1 error format. */
|
|
4005
|
+
'$.xgafv'?: string;
|
|
4006
|
+
/** OAuth access token. */
|
|
4007
|
+
access_token?: string;
|
|
4008
|
+
/** Data format for response. */
|
|
4009
|
+
alt?: string;
|
|
4010
|
+
/** JSONP */
|
|
4011
|
+
callback?: string;
|
|
4012
|
+
/** A boolean flag indicating whether user want to directly create an advanced data store for site search. If the data store is not configured as site search (GENERIC vertical and PUBLIC_WEBSITE content_config), this flag will be ignored. */
|
|
4013
|
+
createAdvancedSiteSearch?: boolean;
|
|
4014
|
+
/** Required. The ID to use for the DataStore, which will become the final component of the DataStore's resource name. This field must conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) standard with a length limit of 63 characters. Otherwise, an INVALID_ARGUMENT error is returned. */
|
|
4015
|
+
dataStoreId?: string;
|
|
4016
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
4017
|
+
fields?: string;
|
|
4018
|
+
/** 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. */
|
|
4019
|
+
key?: string;
|
|
4020
|
+
/** OAuth 2.0 token for the current user. */
|
|
4021
|
+
oauth_token?: string;
|
|
4022
|
+
/** Required. The parent resource name, such as `projects/{project}/locations/{location}/collections/{collection}`. */
|
|
4023
|
+
parent: string;
|
|
4024
|
+
/** Returns response with indentations and line breaks. */
|
|
4025
|
+
prettyPrint?: boolean;
|
|
4026
|
+
/** 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. */
|
|
4027
|
+
quotaUser?: string;
|
|
4028
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
4029
|
+
upload_protocol?: string;
|
|
4030
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4031
|
+
uploadType?: string;
|
|
4032
|
+
/** Request body */
|
|
4033
|
+
resource: GoogleCloudDiscoveryengineV1betaDataStore;
|
|
4034
|
+
}): Request<GoogleLongrunningOperation>;
|
|
4035
|
+
create(
|
|
4036
|
+
request: {
|
|
4037
|
+
/** V1 error format. */
|
|
4038
|
+
'$.xgafv'?: string;
|
|
4039
|
+
/** OAuth access token. */
|
|
4040
|
+
access_token?: string;
|
|
4041
|
+
/** Data format for response. */
|
|
4042
|
+
alt?: string;
|
|
4043
|
+
/** JSONP */
|
|
4044
|
+
callback?: string;
|
|
4045
|
+
/** A boolean flag indicating whether user want to directly create an advanced data store for site search. If the data store is not configured as site search (GENERIC vertical and PUBLIC_WEBSITE content_config), this flag will be ignored. */
|
|
4046
|
+
createAdvancedSiteSearch?: boolean;
|
|
4047
|
+
/** Required. The ID to use for the DataStore, which will become the final component of the DataStore's resource name. This field must conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) standard with a length limit of 63 characters. Otherwise, an INVALID_ARGUMENT error is returned. */
|
|
4048
|
+
dataStoreId?: string;
|
|
4049
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
4050
|
+
fields?: string;
|
|
4051
|
+
/** 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. */
|
|
4052
|
+
key?: string;
|
|
4053
|
+
/** OAuth 2.0 token for the current user. */
|
|
4054
|
+
oauth_token?: string;
|
|
4055
|
+
/** Required. The parent resource name, such as `projects/{project}/locations/{location}/collections/{collection}`. */
|
|
4056
|
+
parent: string;
|
|
4057
|
+
/** Returns response with indentations and line breaks. */
|
|
4058
|
+
prettyPrint?: boolean;
|
|
4059
|
+
/** 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. */
|
|
4060
|
+
quotaUser?: string;
|
|
4061
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
4062
|
+
upload_protocol?: string;
|
|
4063
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4064
|
+
uploadType?: string;
|
|
4065
|
+
},
|
|
4066
|
+
body: GoogleCloudDiscoveryengineV1betaDataStore
|
|
4067
|
+
): Request<GoogleLongrunningOperation>;
|
|
4068
|
+
/** Deletes a DataStore. */
|
|
4069
|
+
delete(request?: {
|
|
4070
|
+
/** V1 error format. */
|
|
4071
|
+
'$.xgafv'?: string;
|
|
4072
|
+
/** OAuth access token. */
|
|
4073
|
+
access_token?: string;
|
|
4074
|
+
/** Data format for response. */
|
|
4075
|
+
alt?: string;
|
|
4076
|
+
/** JSONP */
|
|
4077
|
+
callback?: string;
|
|
4078
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
4079
|
+
fields?: string;
|
|
4080
|
+
/** 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. */
|
|
4081
|
+
key?: string;
|
|
4082
|
+
/** Required. Full resource name of DataStore, such as `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`. If the caller does not have permission to delete the DataStore, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. If the DataStore to delete does not exist, a NOT_FOUND error is returned. */
|
|
4083
|
+
name: string;
|
|
4084
|
+
/** OAuth 2.0 token for the current user. */
|
|
4085
|
+
oauth_token?: string;
|
|
4086
|
+
/** Returns response with indentations and line breaks. */
|
|
4087
|
+
prettyPrint?: boolean;
|
|
4088
|
+
/** 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. */
|
|
4089
|
+
quotaUser?: string;
|
|
4090
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
4091
|
+
upload_protocol?: string;
|
|
4092
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4093
|
+
uploadType?: string;
|
|
4094
|
+
}): Request<GoogleLongrunningOperation>;
|
|
4095
|
+
/** Gets a DataStore. */
|
|
4096
|
+
get(request?: {
|
|
4097
|
+
/** V1 error format. */
|
|
4098
|
+
'$.xgafv'?: string;
|
|
4099
|
+
/** OAuth access token. */
|
|
4100
|
+
access_token?: string;
|
|
4101
|
+
/** Data format for response. */
|
|
4102
|
+
alt?: string;
|
|
4103
|
+
/** JSONP */
|
|
4104
|
+
callback?: string;
|
|
4105
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
4106
|
+
fields?: string;
|
|
4107
|
+
/** 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. */
|
|
4108
|
+
key?: string;
|
|
4109
|
+
/** Required. Full resource name of DataStore, such as `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`. If the caller does not have permission to access the DataStore, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. If the requested DataStore does not exist, a NOT_FOUND error is returned. */
|
|
4110
|
+
name: string;
|
|
4111
|
+
/** OAuth 2.0 token for the current user. */
|
|
4112
|
+
oauth_token?: string;
|
|
4113
|
+
/** Returns response with indentations and line breaks. */
|
|
4114
|
+
prettyPrint?: boolean;
|
|
4115
|
+
/** 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. */
|
|
4116
|
+
quotaUser?: string;
|
|
4117
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
4118
|
+
upload_protocol?: string;
|
|
4119
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4120
|
+
uploadType?: string;
|
|
4121
|
+
}): Request<GoogleCloudDiscoveryengineV1betaDataStore>;
|
|
4122
|
+
/** Gets the SiteSearchEngine. */
|
|
4123
|
+
getSiteSearchEngine(request?: {
|
|
4124
|
+
/** V1 error format. */
|
|
4125
|
+
'$.xgafv'?: string;
|
|
4126
|
+
/** OAuth access token. */
|
|
4127
|
+
access_token?: string;
|
|
4128
|
+
/** Data format for response. */
|
|
4129
|
+
alt?: string;
|
|
4130
|
+
/** JSONP */
|
|
4131
|
+
callback?: string;
|
|
4132
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
4133
|
+
fields?: string;
|
|
4134
|
+
/** 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. */
|
|
4135
|
+
key?: string;
|
|
4136
|
+
/** Required. Resource name of SiteSearchEngine, such as `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine`. If the caller does not have permission to access the [SiteSearchEngine], regardless of whether or not it exists, a PERMISSION_DENIED error is returned. */
|
|
4137
|
+
name: string;
|
|
4138
|
+
/** OAuth 2.0 token for the current user. */
|
|
4139
|
+
oauth_token?: string;
|
|
4140
|
+
/** Returns response with indentations and line breaks. */
|
|
4141
|
+
prettyPrint?: boolean;
|
|
4142
|
+
/** 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. */
|
|
4143
|
+
quotaUser?: string;
|
|
4144
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
4145
|
+
upload_protocol?: string;
|
|
4146
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4147
|
+
uploadType?: string;
|
|
4148
|
+
}): Request<GoogleCloudDiscoveryengineV1betaSiteSearchEngine>;
|
|
4149
|
+
/** Lists all the DataStores associated with the project. */
|
|
4150
|
+
list(request?: {
|
|
4151
|
+
/** V1 error format. */
|
|
4152
|
+
'$.xgafv'?: string;
|
|
4153
|
+
/** OAuth access token. */
|
|
4154
|
+
access_token?: string;
|
|
4155
|
+
/** Data format for response. */
|
|
4156
|
+
alt?: string;
|
|
4157
|
+
/** JSONP */
|
|
4158
|
+
callback?: string;
|
|
4159
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
4160
|
+
fields?: string;
|
|
4161
|
+
/** Filter by solution type. For example: filter = 'solution_type:SOLUTION_TYPE_SEARCH' */
|
|
4162
|
+
filter?: string;
|
|
4163
|
+
/** 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. */
|
|
4164
|
+
key?: string;
|
|
4165
|
+
/** OAuth 2.0 token for the current user. */
|
|
4166
|
+
oauth_token?: string;
|
|
4167
|
+
/** Maximum number of DataStores to return. If unspecified, defaults to 10. The maximum allowed value is 50. Values above 50 will be coerced to 50. If this field is negative, an INVALID_ARGUMENT is returned. */
|
|
4168
|
+
pageSize?: number;
|
|
4169
|
+
/** A page token ListDataStoresResponse.next_page_token, received from a previous DataStoreService.ListDataStores call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to DataStoreService.ListDataStores must match the call that provided the page token. Otherwise, an INVALID_ARGUMENT error is returned. */
|
|
4170
|
+
pageToken?: string;
|
|
4171
|
+
/** Required. The parent branch resource name, such as `projects/{project}/locations/{location}/collections/{collection_id}`. If the caller does not have permission to list DataStores under this location, regardless of whether or not this data store exists, a PERMISSION_DENIED error is returned. */
|
|
4172
|
+
parent: string;
|
|
4173
|
+
/** Returns response with indentations and line breaks. */
|
|
4174
|
+
prettyPrint?: boolean;
|
|
4175
|
+
/** 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. */
|
|
4176
|
+
quotaUser?: string;
|
|
4177
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
4178
|
+
upload_protocol?: string;
|
|
4179
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4180
|
+
uploadType?: string;
|
|
4181
|
+
}): Request<GoogleCloudDiscoveryengineV1betaListDataStoresResponse>;
|
|
4182
|
+
/** Updates a DataStore */
|
|
4183
|
+
patch(request: {
|
|
4184
|
+
/** V1 error format. */
|
|
4185
|
+
'$.xgafv'?: string;
|
|
4186
|
+
/** OAuth access token. */
|
|
4187
|
+
access_token?: string;
|
|
4188
|
+
/** Data format for response. */
|
|
4189
|
+
alt?: string;
|
|
4190
|
+
/** JSONP */
|
|
4191
|
+
callback?: string;
|
|
4192
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
4193
|
+
fields?: string;
|
|
4194
|
+
/** 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. */
|
|
4195
|
+
key?: string;
|
|
4196
|
+
/** Immutable. The full resource name of the data store. Format: `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters. */
|
|
4197
|
+
name: string;
|
|
4198
|
+
/** OAuth 2.0 token for the current user. */
|
|
4199
|
+
oauth_token?: string;
|
|
4200
|
+
/** Returns response with indentations and line breaks. */
|
|
4201
|
+
prettyPrint?: boolean;
|
|
4202
|
+
/** 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. */
|
|
4203
|
+
quotaUser?: string;
|
|
4204
|
+
/** Indicates which fields in the provided DataStore to update. If an unsupported or unknown field is provided, an INVALID_ARGUMENT error is returned. */
|
|
4205
|
+
updateMask?: string;
|
|
4206
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
4207
|
+
upload_protocol?: string;
|
|
4208
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4209
|
+
uploadType?: string;
|
|
4210
|
+
/** Request body */
|
|
4211
|
+
resource: GoogleCloudDiscoveryengineV1betaDataStore;
|
|
4212
|
+
}): Request<GoogleCloudDiscoveryengineV1betaDataStore>;
|
|
4213
|
+
patch(
|
|
4214
|
+
request: {
|
|
4215
|
+
/** V1 error format. */
|
|
4216
|
+
'$.xgafv'?: string;
|
|
4217
|
+
/** OAuth access token. */
|
|
4218
|
+
access_token?: string;
|
|
4219
|
+
/** Data format for response. */
|
|
4220
|
+
alt?: string;
|
|
4221
|
+
/** JSONP */
|
|
4222
|
+
callback?: string;
|
|
4223
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
4224
|
+
fields?: string;
|
|
4225
|
+
/** 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. */
|
|
4226
|
+
key?: string;
|
|
4227
|
+
/** Immutable. The full resource name of the data store. Format: `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters. */
|
|
4228
|
+
name: string;
|
|
4229
|
+
/** OAuth 2.0 token for the current user. */
|
|
4230
|
+
oauth_token?: string;
|
|
4231
|
+
/** Returns response with indentations and line breaks. */
|
|
4232
|
+
prettyPrint?: boolean;
|
|
4233
|
+
/** 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. */
|
|
4234
|
+
quotaUser?: string;
|
|
4235
|
+
/** Indicates which fields in the provided DataStore to update. If an unsupported or unknown field is provided, an INVALID_ARGUMENT error is returned. */
|
|
4236
|
+
updateMask?: string;
|
|
4237
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
4238
|
+
upload_protocol?: string;
|
|
4239
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4240
|
+
uploadType?: string;
|
|
4241
|
+
},
|
|
4242
|
+
body: GoogleCloudDiscoveryengineV1betaDataStore
|
|
4243
|
+
): Request<GoogleCloudDiscoveryengineV1betaDataStore>;
|
|
4244
|
+
branches: BranchesResource;
|
|
4245
|
+
conversations: ConversationsResource;
|
|
4246
|
+
models: ModelsResource;
|
|
4247
|
+
operations: OperationsResource;
|
|
4248
|
+
schemas: SchemasResource;
|
|
4249
|
+
servingConfigs: ServingConfigsResource;
|
|
4250
|
+
siteSearchEngine: SiteSearchEngineResource;
|
|
4251
|
+
suggestionDenyListEntries: SuggestionDenyListEntriesResource;
|
|
4252
|
+
userEvents: UserEventsResource;
|
|
4253
|
+
}
|
|
4254
|
+
interface ConversationsResource {
|
|
4255
|
+
/** Converses a conversation. */
|
|
4256
|
+
converse(request: {
|
|
4257
|
+
/** V1 error format. */
|
|
4258
|
+
'$.xgafv'?: string;
|
|
4259
|
+
/** OAuth access token. */
|
|
4260
|
+
access_token?: string;
|
|
4261
|
+
/** Data format for response. */
|
|
4262
|
+
alt?: string;
|
|
4263
|
+
/** JSONP */
|
|
4264
|
+
callback?: string;
|
|
4265
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
4266
|
+
fields?: string;
|
|
4267
|
+
/** 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. */
|
|
4268
|
+
key?: string;
|
|
4269
|
+
/** Required. The resource name of the Conversation to get. Format: `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/conversations/{conversation_id}`. Use `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/conversations/-` to activate auto session mode, which automatically creates a new conversation inside a ConverseConversation session. */
|
|
4270
|
+
name: string;
|
|
4271
|
+
/** OAuth 2.0 token for the current user. */
|
|
4272
|
+
oauth_token?: string;
|
|
4273
|
+
/** Returns response with indentations and line breaks. */
|
|
4274
|
+
prettyPrint?: boolean;
|
|
4275
|
+
/** 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. */
|
|
4276
|
+
quotaUser?: string;
|
|
4277
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
4278
|
+
upload_protocol?: string;
|
|
4279
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4280
|
+
uploadType?: string;
|
|
4281
|
+
/** Request body */
|
|
4282
|
+
resource: GoogleCloudDiscoveryengineV1betaConverseConversationRequest;
|
|
4283
|
+
}): Request<GoogleCloudDiscoveryengineV1betaConverseConversationResponse>;
|
|
4284
|
+
converse(
|
|
4285
|
+
request: {
|
|
4286
|
+
/** V1 error format. */
|
|
4287
|
+
'$.xgafv'?: string;
|
|
4288
|
+
/** OAuth access token. */
|
|
4289
|
+
access_token?: string;
|
|
4290
|
+
/** Data format for response. */
|
|
4291
|
+
alt?: string;
|
|
4292
|
+
/** JSONP */
|
|
4293
|
+
callback?: string;
|
|
4294
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
4295
|
+
fields?: string;
|
|
4296
|
+
/** 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. */
|
|
4297
|
+
key?: string;
|
|
4298
|
+
/** Required. The resource name of the Conversation to get. Format: `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/conversations/{conversation_id}`. Use `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/conversations/-` to activate auto session mode, which automatically creates a new conversation inside a ConverseConversation session. */
|
|
4299
|
+
name: string;
|
|
4300
|
+
/** OAuth 2.0 token for the current user. */
|
|
4301
|
+
oauth_token?: string;
|
|
4302
|
+
/** Returns response with indentations and line breaks. */
|
|
4303
|
+
prettyPrint?: boolean;
|
|
4304
|
+
/** 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. */
|
|
4305
|
+
quotaUser?: string;
|
|
4306
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
4307
|
+
upload_protocol?: string;
|
|
4308
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4309
|
+
uploadType?: string;
|
|
4310
|
+
},
|
|
4311
|
+
body: GoogleCloudDiscoveryengineV1betaConverseConversationRequest
|
|
4312
|
+
): Request<GoogleCloudDiscoveryengineV1betaConverseConversationResponse>;
|
|
4313
|
+
/** Creates a Conversation. If the Conversation to create already exists, an ALREADY_EXISTS error is returned. */
|
|
4314
|
+
create(request: {
|
|
4315
|
+
/** V1 error format. */
|
|
4316
|
+
'$.xgafv'?: string;
|
|
4317
|
+
/** OAuth access token. */
|
|
4318
|
+
access_token?: string;
|
|
4319
|
+
/** Data format for response. */
|
|
4320
|
+
alt?: string;
|
|
4321
|
+
/** JSONP */
|
|
4322
|
+
callback?: string;
|
|
4323
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
4324
|
+
fields?: string;
|
|
4325
|
+
/** 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. */
|
|
4326
|
+
key?: string;
|
|
4327
|
+
/** OAuth 2.0 token for the current user. */
|
|
4328
|
+
oauth_token?: string;
|
|
4329
|
+
/** Required. Full resource name of parent data store. Format: `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}` */
|
|
4330
|
+
parent: string;
|
|
4331
|
+
/** Returns response with indentations and line breaks. */
|
|
4332
|
+
prettyPrint?: boolean;
|
|
4333
|
+
/** 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. */
|
|
4334
|
+
quotaUser?: string;
|
|
4335
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
4336
|
+
upload_protocol?: string;
|
|
4337
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4338
|
+
uploadType?: string;
|
|
4339
|
+
/** Request body */
|
|
4340
|
+
resource: GoogleCloudDiscoveryengineV1betaConversation;
|
|
4341
|
+
}): Request<GoogleCloudDiscoveryengineV1betaConversation>;
|
|
4342
|
+
create(
|
|
4343
|
+
request: {
|
|
4344
|
+
/** V1 error format. */
|
|
4345
|
+
'$.xgafv'?: string;
|
|
4346
|
+
/** OAuth access token. */
|
|
4347
|
+
access_token?: string;
|
|
4348
|
+
/** Data format for response. */
|
|
4349
|
+
alt?: string;
|
|
4350
|
+
/** JSONP */
|
|
4351
|
+
callback?: string;
|
|
4352
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
4353
|
+
fields?: string;
|
|
4354
|
+
/** 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. */
|
|
4355
|
+
key?: string;
|
|
4356
|
+
/** OAuth 2.0 token for the current user. */
|
|
4357
|
+
oauth_token?: string;
|
|
4358
|
+
/** Required. Full resource name of parent data store. Format: `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}` */
|
|
4359
|
+
parent: string;
|
|
4360
|
+
/** Returns response with indentations and line breaks. */
|
|
4361
|
+
prettyPrint?: boolean;
|
|
4362
|
+
/** 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. */
|
|
4363
|
+
quotaUser?: string;
|
|
4364
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
4365
|
+
upload_protocol?: string;
|
|
4366
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4367
|
+
uploadType?: string;
|
|
4368
|
+
},
|
|
4369
|
+
body: GoogleCloudDiscoveryengineV1betaConversation
|
|
4370
|
+
): Request<GoogleCloudDiscoveryengineV1betaConversation>;
|
|
4371
|
+
/** Deletes a Conversation. If the Conversation to delete does not exist, a NOT_FOUND error is returned. */
|
|
4372
|
+
delete(request?: {
|
|
4373
|
+
/** V1 error format. */
|
|
4374
|
+
'$.xgafv'?: string;
|
|
4375
|
+
/** OAuth access token. */
|
|
4376
|
+
access_token?: string;
|
|
4377
|
+
/** Data format for response. */
|
|
4378
|
+
alt?: string;
|
|
4379
|
+
/** JSONP */
|
|
4380
|
+
callback?: string;
|
|
4381
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
4382
|
+
fields?: string;
|
|
4383
|
+
/** 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. */
|
|
4384
|
+
key?: string;
|
|
4385
|
+
/** Required. The resource name of the Conversation to delete. Format: `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/conversations/{conversation_id}` */
|
|
4386
|
+
name: string;
|
|
4387
|
+
/** OAuth 2.0 token for the current user. */
|
|
4388
|
+
oauth_token?: string;
|
|
4389
|
+
/** Returns response with indentations and line breaks. */
|
|
4390
|
+
prettyPrint?: boolean;
|
|
4391
|
+
/** 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. */
|
|
4392
|
+
quotaUser?: string;
|
|
4393
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
4394
|
+
upload_protocol?: string;
|
|
4395
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4396
|
+
uploadType?: string;
|
|
4397
|
+
}): Request<{}>;
|
|
4398
|
+
/** Gets a Conversation. */
|
|
4399
|
+
get(request?: {
|
|
4400
|
+
/** V1 error format. */
|
|
4401
|
+
'$.xgafv'?: string;
|
|
4402
|
+
/** OAuth access token. */
|
|
4403
|
+
access_token?: string;
|
|
4404
|
+
/** Data format for response. */
|
|
4405
|
+
alt?: string;
|
|
4406
|
+
/** JSONP */
|
|
4407
|
+
callback?: string;
|
|
4408
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
4409
|
+
fields?: string;
|
|
4410
|
+
/** 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. */
|
|
4411
|
+
key?: string;
|
|
4412
|
+
/** Required. The resource name of the Conversation to get. Format: `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/conversations/{conversation_id}` */
|
|
4413
|
+
name: string;
|
|
4414
|
+
/** OAuth 2.0 token for the current user. */
|
|
4415
|
+
oauth_token?: string;
|
|
4416
|
+
/** Returns response with indentations and line breaks. */
|
|
4417
|
+
prettyPrint?: boolean;
|
|
4418
|
+
/** 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. */
|
|
4419
|
+
quotaUser?: string;
|
|
4420
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
4421
|
+
upload_protocol?: string;
|
|
4422
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4423
|
+
uploadType?: string;
|
|
4424
|
+
}): Request<GoogleCloudDiscoveryengineV1betaConversation>;
|
|
4425
|
+
/** Lists all Conversations by their parent DataStore. */
|
|
4426
|
+
list(request?: {
|
|
4427
|
+
/** V1 error format. */
|
|
4428
|
+
'$.xgafv'?: string;
|
|
4429
|
+
/** OAuth access token. */
|
|
4430
|
+
access_token?: string;
|
|
4431
|
+
/** Data format for response. */
|
|
4432
|
+
alt?: string;
|
|
4433
|
+
/** JSONP */
|
|
4434
|
+
callback?: string;
|
|
4435
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
4436
|
+
fields?: string;
|
|
4437
|
+
/** A filter to apply on the list results. The supported features are: user_pseudo_id, state. Example: "user_pseudo_id = some_id" */
|
|
4438
|
+
filter?: string;
|
|
4439
|
+
/** 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. */
|
|
4440
|
+
key?: string;
|
|
4441
|
+
/** OAuth 2.0 token for the current user. */
|
|
4442
|
+
oauth_token?: string;
|
|
4443
|
+
/** 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` * `create_time` * `conversation_name` Example: "update_time desc" "create_time" */
|
|
4444
|
+
orderBy?: string;
|
|
4445
|
+
/** Maximum number of results to return. If unspecified, defaults to 50. Max allowed value is 1000. */
|
|
4446
|
+
pageSize?: number;
|
|
4447
|
+
/** A page token, received from a previous `ListConversations` call. Provide this to retrieve the subsequent page. */
|
|
4448
|
+
pageToken?: string;
|
|
4449
|
+
/** Required. The data store resource name. Format: `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}` */
|
|
4450
|
+
parent: string;
|
|
4451
|
+
/** Returns response with indentations and line breaks. */
|
|
4452
|
+
prettyPrint?: boolean;
|
|
4453
|
+
/** 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. */
|
|
4454
|
+
quotaUser?: string;
|
|
4455
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
4456
|
+
upload_protocol?: string;
|
|
4457
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4458
|
+
uploadType?: string;
|
|
4459
|
+
}): Request<GoogleCloudDiscoveryengineV1betaListConversationsResponse>;
|
|
4460
|
+
/** Updates a Conversation. Conversation action type cannot be changed. If the Conversation to update does not exist, a NOT_FOUND error is returned. */
|
|
4461
|
+
patch(request: {
|
|
4462
|
+
/** V1 error format. */
|
|
4463
|
+
'$.xgafv'?: string;
|
|
4464
|
+
/** OAuth access token. */
|
|
4465
|
+
access_token?: string;
|
|
4466
|
+
/** Data format for response. */
|
|
4467
|
+
alt?: string;
|
|
4468
|
+
/** JSONP */
|
|
4469
|
+
callback?: string;
|
|
4470
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
4471
|
+
fields?: string;
|
|
4472
|
+
/** 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. */
|
|
4473
|
+
key?: string;
|
|
4474
|
+
/** Immutable. Fully qualified name `project/*/locations/global/collections/{collection}/dataStore/*/conversations/*` or `project/*/locations/global/collections/{collection}/engines/*/conversations/*`. */
|
|
4475
|
+
name: string;
|
|
4476
|
+
/** OAuth 2.0 token for the current user. */
|
|
4477
|
+
oauth_token?: string;
|
|
4478
|
+
/** Returns response with indentations and line breaks. */
|
|
4479
|
+
prettyPrint?: boolean;
|
|
4480
|
+
/** 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. */
|
|
4481
|
+
quotaUser?: string;
|
|
4482
|
+
/** Indicates which fields in the provided Conversation to update. The following are NOT supported: * Conversation.name If not set or empty, all supported fields are updated. */
|
|
4483
|
+
updateMask?: string;
|
|
4484
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
4485
|
+
upload_protocol?: string;
|
|
4486
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4487
|
+
uploadType?: string;
|
|
4488
|
+
/** Request body */
|
|
4489
|
+
resource: GoogleCloudDiscoveryengineV1betaConversation;
|
|
4490
|
+
}): Request<GoogleCloudDiscoveryengineV1betaConversation>;
|
|
4491
|
+
patch(
|
|
4492
|
+
request: {
|
|
4493
|
+
/** V1 error format. */
|
|
4494
|
+
'$.xgafv'?: string;
|
|
4495
|
+
/** OAuth access token. */
|
|
4496
|
+
access_token?: string;
|
|
4497
|
+
/** Data format for response. */
|
|
4498
|
+
alt?: string;
|
|
4499
|
+
/** JSONP */
|
|
4500
|
+
callback?: string;
|
|
4501
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
4502
|
+
fields?: string;
|
|
4503
|
+
/** 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. */
|
|
4504
|
+
key?: string;
|
|
4505
|
+
/** Immutable. Fully qualified name `project/*/locations/global/collections/{collection}/dataStore/*/conversations/*` or `project/*/locations/global/collections/{collection}/engines/*/conversations/*`. */
|
|
4506
|
+
name: string;
|
|
4507
|
+
/** OAuth 2.0 token for the current user. */
|
|
4508
|
+
oauth_token?: string;
|
|
4509
|
+
/** Returns response with indentations and line breaks. */
|
|
4510
|
+
prettyPrint?: boolean;
|
|
4511
|
+
/** 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. */
|
|
4512
|
+
quotaUser?: string;
|
|
4513
|
+
/** Indicates which fields in the provided Conversation to update. The following are NOT supported: * Conversation.name If not set or empty, all supported fields are updated. */
|
|
4514
|
+
updateMask?: string;
|
|
4515
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
4516
|
+
upload_protocol?: string;
|
|
4517
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4518
|
+
uploadType?: string;
|
|
4519
|
+
},
|
|
4520
|
+
body: GoogleCloudDiscoveryengineV1betaConversation
|
|
4521
|
+
): Request<GoogleCloudDiscoveryengineV1betaConversation>;
|
|
4522
|
+
}
|
|
4523
|
+
interface OperationsResource {
|
|
4524
|
+
/** 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. */
|
|
4525
|
+
get(request?: {
|
|
4526
|
+
/** V1 error format. */
|
|
4527
|
+
'$.xgafv'?: string;
|
|
4528
|
+
/** OAuth access token. */
|
|
4529
|
+
access_token?: string;
|
|
4530
|
+
/** Data format for response. */
|
|
4531
|
+
alt?: string;
|
|
4532
|
+
/** JSONP */
|
|
4533
|
+
callback?: string;
|
|
4534
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
4535
|
+
fields?: string;
|
|
4536
|
+
/** 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. */
|
|
4537
|
+
key?: string;
|
|
4538
|
+
/** The name of the operation resource. */
|
|
4539
|
+
name: string;
|
|
4540
|
+
/** OAuth 2.0 token for the current user. */
|
|
4541
|
+
oauth_token?: string;
|
|
4542
|
+
/** Returns response with indentations and line breaks. */
|
|
4543
|
+
prettyPrint?: boolean;
|
|
4544
|
+
/** 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. */
|
|
4545
|
+
quotaUser?: string;
|
|
4546
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
4547
|
+
upload_protocol?: string;
|
|
4548
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4549
|
+
uploadType?: string;
|
|
4550
|
+
}): Request<GoogleLongrunningOperation>;
|
|
4551
|
+
/** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
|
|
4552
|
+
list(request?: {
|
|
4553
|
+
/** V1 error format. */
|
|
4554
|
+
'$.xgafv'?: string;
|
|
4555
|
+
/** OAuth access token. */
|
|
4556
|
+
access_token?: string;
|
|
4557
|
+
/** Data format for response. */
|
|
4558
|
+
alt?: string;
|
|
4559
|
+
/** JSONP */
|
|
4560
|
+
callback?: string;
|
|
4561
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
4562
|
+
fields?: string;
|
|
4563
|
+
/** The standard list filter. */
|
|
4564
|
+
filter?: string;
|
|
4565
|
+
/** 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. */
|
|
4566
|
+
key?: string;
|
|
4567
|
+
/** The name of the operation's parent resource. */
|
|
4568
|
+
name: string;
|
|
4569
|
+
/** OAuth 2.0 token for the current user. */
|
|
4570
|
+
oauth_token?: string;
|
|
4571
|
+
/** The standard list page size. */
|
|
4572
|
+
pageSize?: number;
|
|
4573
|
+
/** The standard list page token. */
|
|
4574
|
+
pageToken?: string;
|
|
4575
|
+
/** Returns response with indentations and line breaks. */
|
|
4576
|
+
prettyPrint?: boolean;
|
|
4577
|
+
/** 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. */
|
|
4578
|
+
quotaUser?: string;
|
|
4579
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
4580
|
+
upload_protocol?: string;
|
|
4581
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4582
|
+
uploadType?: string;
|
|
4583
|
+
}): Request<GoogleLongrunningListOperationsResponse>;
|
|
4584
|
+
}
|
|
4585
|
+
interface ServingConfigsResource {
|
|
4586
|
+
/** Makes a recommendation, which requires a contextual user event. */
|
|
4587
|
+
recommend(request: {
|
|
4588
|
+
/** V1 error format. */
|
|
4589
|
+
'$.xgafv'?: string;
|
|
4590
|
+
/** OAuth access token. */
|
|
4591
|
+
access_token?: string;
|
|
4592
|
+
/** Data format for response. */
|
|
4593
|
+
alt?: string;
|
|
4594
|
+
/** JSONP */
|
|
4595
|
+
callback?: string;
|
|
4596
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
4597
|
+
fields?: string;
|
|
4598
|
+
/** 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. */
|
|
4599
|
+
key?: string;
|
|
4600
|
+
/** OAuth 2.0 token for the current user. */
|
|
4601
|
+
oauth_token?: string;
|
|
4602
|
+
/** Returns response with indentations and line breaks. */
|
|
4603
|
+
prettyPrint?: boolean;
|
|
4604
|
+
/** 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. */
|
|
4605
|
+
quotaUser?: string;
|
|
4606
|
+
/** Required. Full resource name of a ServingConfig: `projects/*/locations/global/collections/*/engines/*/servingConfigs/*`, or `projects/*/locations/global/collections/*/dataStores/*/servingConfigs/*` One default serving config is created along with your recommendation engine creation. The engine ID will be used as the ID of the default serving config. For example, for Engine `projects/*/locations/global/collections/*/engines/my-engine`, you can use `projects/*/locations/global/collections/*/engines/my-engine/servingConfigs/my-engine` for your RecommendationService.Recommend requests. */
|
|
4607
|
+
servingConfig: string;
|
|
4608
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
4609
|
+
upload_protocol?: string;
|
|
4610
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4611
|
+
uploadType?: string;
|
|
4612
|
+
/** Request body */
|
|
4613
|
+
resource: GoogleCloudDiscoveryengineV1betaRecommendRequest;
|
|
4614
|
+
}): Request<GoogleCloudDiscoveryengineV1betaRecommendResponse>;
|
|
4615
|
+
recommend(
|
|
4616
|
+
request: {
|
|
4617
|
+
/** V1 error format. */
|
|
4618
|
+
'$.xgafv'?: string;
|
|
4619
|
+
/** OAuth access token. */
|
|
4620
|
+
access_token?: string;
|
|
4621
|
+
/** Data format for response. */
|
|
4622
|
+
alt?: string;
|
|
4623
|
+
/** JSONP */
|
|
4624
|
+
callback?: string;
|
|
4625
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
4626
|
+
fields?: string;
|
|
4627
|
+
/** 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. */
|
|
4628
|
+
key?: string;
|
|
4629
|
+
/** OAuth 2.0 token for the current user. */
|
|
4630
|
+
oauth_token?: string;
|
|
4631
|
+
/** Returns response with indentations and line breaks. */
|
|
4632
|
+
prettyPrint?: boolean;
|
|
4633
|
+
/** 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. */
|
|
4634
|
+
quotaUser?: string;
|
|
4635
|
+
/** Required. Full resource name of a ServingConfig: `projects/*/locations/global/collections/*/engines/*/servingConfigs/*`, or `projects/*/locations/global/collections/*/dataStores/*/servingConfigs/*` One default serving config is created along with your recommendation engine creation. The engine ID will be used as the ID of the default serving config. For example, for Engine `projects/*/locations/global/collections/*/engines/my-engine`, you can use `projects/*/locations/global/collections/*/engines/my-engine/servingConfigs/my-engine` for your RecommendationService.Recommend requests. */
|
|
4636
|
+
servingConfig: string;
|
|
4637
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
4638
|
+
upload_protocol?: string;
|
|
4639
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4640
|
+
uploadType?: string;
|
|
4641
|
+
},
|
|
4642
|
+
body: GoogleCloudDiscoveryengineV1betaRecommendRequest
|
|
4643
|
+
): Request<GoogleCloudDiscoveryengineV1betaRecommendResponse>;
|
|
4644
|
+
/** Performs a search. */
|
|
4645
|
+
search(request: {
|
|
4646
|
+
/** V1 error format. */
|
|
4647
|
+
'$.xgafv'?: string;
|
|
4648
|
+
/** OAuth access token. */
|
|
4649
|
+
access_token?: string;
|
|
4650
|
+
/** Data format for response. */
|
|
4651
|
+
alt?: string;
|
|
4652
|
+
/** JSONP */
|
|
4653
|
+
callback?: string;
|
|
4654
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
4655
|
+
fields?: string;
|
|
4656
|
+
/** 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. */
|
|
4657
|
+
key?: string;
|
|
4658
|
+
/** OAuth 2.0 token for the current user. */
|
|
4659
|
+
oauth_token?: string;
|
|
4660
|
+
/** Returns response with indentations and line breaks. */
|
|
4661
|
+
prettyPrint?: boolean;
|
|
4662
|
+
/** 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. */
|
|
4663
|
+
quotaUser?: string;
|
|
4664
|
+
/** Required. The resource name of the Search serving config, such as `projects/*/locations/global/collections/default_collection/engines/*/servingConfigs/default_serving_config`, or `projects/*/locations/global/collections/default_collection/dataStores/default_data_store/servingConfigs/default_serving_config`. This field is used to identify the serving configuration name, set of models used to make the search. */
|
|
4665
|
+
servingConfig: string;
|
|
4666
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
4667
|
+
upload_protocol?: string;
|
|
4668
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4669
|
+
uploadType?: string;
|
|
4670
|
+
/** Request body */
|
|
4671
|
+
resource: GoogleCloudDiscoveryengineV1betaSearchRequest;
|
|
4672
|
+
}): Request<GoogleCloudDiscoveryengineV1betaSearchResponse>;
|
|
4673
|
+
search(
|
|
4674
|
+
request: {
|
|
4675
|
+
/** V1 error format. */
|
|
4676
|
+
'$.xgafv'?: string;
|
|
4677
|
+
/** OAuth access token. */
|
|
4678
|
+
access_token?: string;
|
|
4679
|
+
/** Data format for response. */
|
|
4680
|
+
alt?: string;
|
|
4681
|
+
/** JSONP */
|
|
4682
|
+
callback?: string;
|
|
4683
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
4684
|
+
fields?: string;
|
|
4685
|
+
/** 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. */
|
|
4686
|
+
key?: string;
|
|
4687
|
+
/** OAuth 2.0 token for the current user. */
|
|
4688
|
+
oauth_token?: string;
|
|
4689
|
+
/** Returns response with indentations and line breaks. */
|
|
4690
|
+
prettyPrint?: boolean;
|
|
4691
|
+
/** 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. */
|
|
4692
|
+
quotaUser?: string;
|
|
4693
|
+
/** Required. The resource name of the Search serving config, such as `projects/*/locations/global/collections/default_collection/engines/*/servingConfigs/default_serving_config`, or `projects/*/locations/global/collections/default_collection/dataStores/default_data_store/servingConfigs/default_serving_config`. This field is used to identify the serving configuration name, set of models used to make the search. */
|
|
4694
|
+
servingConfig: string;
|
|
4695
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
4696
|
+
upload_protocol?: string;
|
|
4697
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4698
|
+
uploadType?: string;
|
|
4699
|
+
},
|
|
4700
|
+
body: GoogleCloudDiscoveryengineV1betaSearchRequest
|
|
4701
|
+
): Request<GoogleCloudDiscoveryengineV1betaSearchResponse>;
|
|
4702
|
+
}
|
|
4703
|
+
interface EnginesResource {
|
|
4704
|
+
/** Creates a Engine. */
|
|
4705
|
+
create(request: {
|
|
4706
|
+
/** V1 error format. */
|
|
4707
|
+
'$.xgafv'?: string;
|
|
4708
|
+
/** OAuth access token. */
|
|
4709
|
+
access_token?: string;
|
|
4710
|
+
/** Data format for response. */
|
|
4711
|
+
alt?: string;
|
|
4712
|
+
/** JSONP */
|
|
4713
|
+
callback?: string;
|
|
4714
|
+
/** Required. The ID to use for the Engine, which will become the final component of the Engine's resource name. This field must conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) standard with a length limit of 63 characters. Otherwise, an INVALID_ARGUMENT error is returned. */
|
|
4715
|
+
engineId?: string;
|
|
4716
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
4717
|
+
fields?: string;
|
|
4718
|
+
/** 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. */
|
|
4719
|
+
key?: string;
|
|
4720
|
+
/** OAuth 2.0 token for the current user. */
|
|
4721
|
+
oauth_token?: string;
|
|
4722
|
+
/** Required. The parent resource name, such as `projects/{project}/locations/{location}/collections/{collection}`. */
|
|
4723
|
+
parent: string;
|
|
4724
|
+
/** Returns response with indentations and line breaks. */
|
|
4725
|
+
prettyPrint?: boolean;
|
|
4726
|
+
/** 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. */
|
|
4727
|
+
quotaUser?: string;
|
|
4728
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
4729
|
+
upload_protocol?: string;
|
|
4730
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4731
|
+
uploadType?: string;
|
|
4732
|
+
/** Request body */
|
|
4733
|
+
resource: GoogleCloudDiscoveryengineV1betaEngine;
|
|
4734
|
+
}): Request<GoogleLongrunningOperation>;
|
|
4735
|
+
create(
|
|
4736
|
+
request: {
|
|
4737
|
+
/** V1 error format. */
|
|
4738
|
+
'$.xgafv'?: string;
|
|
4739
|
+
/** OAuth access token. */
|
|
4740
|
+
access_token?: string;
|
|
4741
|
+
/** Data format for response. */
|
|
4742
|
+
alt?: string;
|
|
4743
|
+
/** JSONP */
|
|
4744
|
+
callback?: string;
|
|
4745
|
+
/** Required. The ID to use for the Engine, which will become the final component of the Engine's resource name. This field must conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) standard with a length limit of 63 characters. Otherwise, an INVALID_ARGUMENT error is returned. */
|
|
4746
|
+
engineId?: string;
|
|
4747
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
4748
|
+
fields?: string;
|
|
4749
|
+
/** 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. */
|
|
4750
|
+
key?: string;
|
|
4751
|
+
/** OAuth 2.0 token for the current user. */
|
|
4752
|
+
oauth_token?: string;
|
|
4753
|
+
/** Required. The parent resource name, such as `projects/{project}/locations/{location}/collections/{collection}`. */
|
|
4754
|
+
parent: string;
|
|
4755
|
+
/** Returns response with indentations and line breaks. */
|
|
4756
|
+
prettyPrint?: boolean;
|
|
4757
|
+
/** 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. */
|
|
4758
|
+
quotaUser?: string;
|
|
4759
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
4760
|
+
upload_protocol?: string;
|
|
4761
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4762
|
+
uploadType?: string;
|
|
4763
|
+
},
|
|
4764
|
+
body: GoogleCloudDiscoveryengineV1betaEngine
|
|
4765
|
+
): Request<GoogleLongrunningOperation>;
|
|
4766
|
+
/** Deletes a Engine. */
|
|
4767
|
+
delete(request?: {
|
|
4768
|
+
/** V1 error format. */
|
|
4769
|
+
'$.xgafv'?: string;
|
|
4770
|
+
/** OAuth access token. */
|
|
4771
|
+
access_token?: string;
|
|
4772
|
+
/** Data format for response. */
|
|
4773
|
+
alt?: string;
|
|
4774
|
+
/** JSONP */
|
|
4775
|
+
callback?: string;
|
|
4776
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
4777
|
+
fields?: string;
|
|
4778
|
+
/** 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. */
|
|
4779
|
+
key?: string;
|
|
4780
|
+
/** Required. Full resource name of Engine, such as `projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}`. If the caller does not have permission to delete the Engine, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. If the Engine to delete does not exist, a NOT_FOUND error is returned. */
|
|
4781
|
+
name: string;
|
|
4782
|
+
/** OAuth 2.0 token for the current user. */
|
|
4783
|
+
oauth_token?: string;
|
|
4784
|
+
/** Returns response with indentations and line breaks. */
|
|
4785
|
+
prettyPrint?: boolean;
|
|
4786
|
+
/** 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. */
|
|
4787
|
+
quotaUser?: string;
|
|
4788
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
4789
|
+
upload_protocol?: string;
|
|
4790
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4791
|
+
uploadType?: string;
|
|
4792
|
+
}): Request<GoogleLongrunningOperation>;
|
|
4793
|
+
/** Gets a Engine. */
|
|
4794
|
+
get(request?: {
|
|
4795
|
+
/** V1 error format. */
|
|
4796
|
+
'$.xgafv'?: string;
|
|
4797
|
+
/** OAuth access token. */
|
|
4798
|
+
access_token?: string;
|
|
4799
|
+
/** Data format for response. */
|
|
4800
|
+
alt?: string;
|
|
4801
|
+
/** JSONP */
|
|
4802
|
+
callback?: string;
|
|
4803
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
4804
|
+
fields?: string;
|
|
4805
|
+
/** 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. */
|
|
4806
|
+
key?: string;
|
|
4807
|
+
/** Required. Full resource name of Engine, such as `projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}`. */
|
|
4808
|
+
name: string;
|
|
4809
|
+
/** OAuth 2.0 token for the current user. */
|
|
4810
|
+
oauth_token?: string;
|
|
4811
|
+
/** Returns response with indentations and line breaks. */
|
|
4812
|
+
prettyPrint?: boolean;
|
|
4813
|
+
/** 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. */
|
|
4814
|
+
quotaUser?: string;
|
|
4815
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
4816
|
+
upload_protocol?: string;
|
|
4817
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4818
|
+
uploadType?: string;
|
|
4819
|
+
}): Request<GoogleCloudDiscoveryengineV1betaEngine>;
|
|
4820
|
+
/** Lists all the Engines associated with the project. */
|
|
4821
|
+
list(request?: {
|
|
4822
|
+
/** V1 error format. */
|
|
4823
|
+
'$.xgafv'?: string;
|
|
4824
|
+
/** OAuth access token. */
|
|
4825
|
+
access_token?: string;
|
|
4826
|
+
/** Data format for response. */
|
|
4827
|
+
alt?: string;
|
|
4828
|
+
/** JSONP */
|
|
4829
|
+
callback?: string;
|
|
4830
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
4831
|
+
fields?: string;
|
|
4832
|
+
/** Optional. Filter by solution type. For example: solution_type=SOLUTION_TYPE_SEARCH */
|
|
4833
|
+
filter?: string;
|
|
4834
|
+
/** 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. */
|
|
4835
|
+
key?: string;
|
|
4836
|
+
/** OAuth 2.0 token for the current user. */
|
|
4837
|
+
oauth_token?: string;
|
|
4838
|
+
/** Optional. Not supported. */
|
|
4839
|
+
pageSize?: number;
|
|
4840
|
+
/** Optional. Not supported. */
|
|
3292
4841
|
pageToken?: string;
|
|
3293
|
-
/** Required. The
|
|
4842
|
+
/** Required. The parent resource name, such as `projects/{project}/locations/{location}/collections/{collection_id}`. */
|
|
4843
|
+
parent: string;
|
|
4844
|
+
/** Returns response with indentations and line breaks. */
|
|
4845
|
+
prettyPrint?: boolean;
|
|
4846
|
+
/** 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. */
|
|
4847
|
+
quotaUser?: string;
|
|
4848
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
4849
|
+
upload_protocol?: string;
|
|
4850
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4851
|
+
uploadType?: string;
|
|
4852
|
+
}): Request<GoogleCloudDiscoveryengineV1betaListEnginesResponse>;
|
|
4853
|
+
/** Updates an Engine */
|
|
4854
|
+
patch(request: {
|
|
4855
|
+
/** V1 error format. */
|
|
4856
|
+
'$.xgafv'?: string;
|
|
4857
|
+
/** OAuth access token. */
|
|
4858
|
+
access_token?: string;
|
|
4859
|
+
/** Data format for response. */
|
|
4860
|
+
alt?: string;
|
|
4861
|
+
/** JSONP */
|
|
4862
|
+
callback?: string;
|
|
4863
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
4864
|
+
fields?: string;
|
|
4865
|
+
/** 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. */
|
|
4866
|
+
key?: string;
|
|
4867
|
+
/** Immutable. 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_number}/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. */
|
|
4868
|
+
name: string;
|
|
4869
|
+
/** OAuth 2.0 token for the current user. */
|
|
4870
|
+
oauth_token?: string;
|
|
4871
|
+
/** Returns response with indentations and line breaks. */
|
|
4872
|
+
prettyPrint?: boolean;
|
|
4873
|
+
/** 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. */
|
|
4874
|
+
quotaUser?: string;
|
|
4875
|
+
/** Indicates which fields in the provided Engine to update. If an unsupported or unknown field is provided, an INVALID_ARGUMENT error is returned. */
|
|
4876
|
+
updateMask?: string;
|
|
4877
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
4878
|
+
upload_protocol?: string;
|
|
4879
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4880
|
+
uploadType?: string;
|
|
4881
|
+
/** Request body */
|
|
4882
|
+
resource: GoogleCloudDiscoveryengineV1betaEngine;
|
|
4883
|
+
}): Request<GoogleCloudDiscoveryengineV1betaEngine>;
|
|
4884
|
+
patch(
|
|
4885
|
+
request: {
|
|
4886
|
+
/** V1 error format. */
|
|
4887
|
+
'$.xgafv'?: string;
|
|
4888
|
+
/** OAuth access token. */
|
|
4889
|
+
access_token?: string;
|
|
4890
|
+
/** Data format for response. */
|
|
4891
|
+
alt?: string;
|
|
4892
|
+
/** JSONP */
|
|
4893
|
+
callback?: string;
|
|
4894
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
4895
|
+
fields?: string;
|
|
4896
|
+
/** 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. */
|
|
4897
|
+
key?: string;
|
|
4898
|
+
/** Immutable. 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_number}/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. */
|
|
4899
|
+
name: string;
|
|
4900
|
+
/** OAuth 2.0 token for the current user. */
|
|
4901
|
+
oauth_token?: string;
|
|
4902
|
+
/** Returns response with indentations and line breaks. */
|
|
4903
|
+
prettyPrint?: boolean;
|
|
4904
|
+
/** 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. */
|
|
4905
|
+
quotaUser?: string;
|
|
4906
|
+
/** Indicates which fields in the provided Engine to update. If an unsupported or unknown field is provided, an INVALID_ARGUMENT error is returned. */
|
|
4907
|
+
updateMask?: string;
|
|
4908
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
4909
|
+
upload_protocol?: string;
|
|
4910
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4911
|
+
uploadType?: string;
|
|
4912
|
+
},
|
|
4913
|
+
body: GoogleCloudDiscoveryengineV1betaEngine
|
|
4914
|
+
): Request<GoogleCloudDiscoveryengineV1betaEngine>;
|
|
4915
|
+
conversations: ConversationsResource;
|
|
4916
|
+
operations: OperationsResource;
|
|
4917
|
+
servingConfigs: ServingConfigsResource;
|
|
4918
|
+
}
|
|
4919
|
+
interface OperationsResource {
|
|
4920
|
+
/** 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. */
|
|
4921
|
+
get(request?: {
|
|
4922
|
+
/** V1 error format. */
|
|
4923
|
+
'$.xgafv'?: string;
|
|
4924
|
+
/** OAuth access token. */
|
|
4925
|
+
access_token?: string;
|
|
4926
|
+
/** Data format for response. */
|
|
4927
|
+
alt?: string;
|
|
4928
|
+
/** JSONP */
|
|
4929
|
+
callback?: string;
|
|
4930
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
4931
|
+
fields?: string;
|
|
4932
|
+
/** 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. */
|
|
4933
|
+
key?: string;
|
|
4934
|
+
/** The name of the operation resource. */
|
|
4935
|
+
name: string;
|
|
4936
|
+
/** OAuth 2.0 token for the current user. */
|
|
4937
|
+
oauth_token?: string;
|
|
4938
|
+
/** Returns response with indentations and line breaks. */
|
|
4939
|
+
prettyPrint?: boolean;
|
|
4940
|
+
/** 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. */
|
|
4941
|
+
quotaUser?: string;
|
|
4942
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
4943
|
+
upload_protocol?: string;
|
|
4944
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4945
|
+
uploadType?: string;
|
|
4946
|
+
}): Request<GoogleLongrunningOperation>;
|
|
4947
|
+
/** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
|
|
4948
|
+
list(request?: {
|
|
4949
|
+
/** V1 error format. */
|
|
4950
|
+
'$.xgafv'?: string;
|
|
4951
|
+
/** OAuth access token. */
|
|
4952
|
+
access_token?: string;
|
|
4953
|
+
/** Data format for response. */
|
|
4954
|
+
alt?: string;
|
|
4955
|
+
/** JSONP */
|
|
4956
|
+
callback?: string;
|
|
4957
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
4958
|
+
fields?: string;
|
|
4959
|
+
/** The standard list filter. */
|
|
4960
|
+
filter?: string;
|
|
4961
|
+
/** 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. */
|
|
4962
|
+
key?: string;
|
|
4963
|
+
/** The name of the operation's parent resource. */
|
|
4964
|
+
name: string;
|
|
4965
|
+
/** OAuth 2.0 token for the current user. */
|
|
4966
|
+
oauth_token?: string;
|
|
4967
|
+
/** The standard list page size. */
|
|
4968
|
+
pageSize?: number;
|
|
4969
|
+
/** The standard list page token. */
|
|
4970
|
+
pageToken?: string;
|
|
4971
|
+
/** Returns response with indentations and line breaks. */
|
|
4972
|
+
prettyPrint?: boolean;
|
|
4973
|
+
/** 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. */
|
|
4974
|
+
quotaUser?: string;
|
|
4975
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
4976
|
+
upload_protocol?: string;
|
|
4977
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4978
|
+
uploadType?: string;
|
|
4979
|
+
}): Request<GoogleLongrunningListOperationsResponse>;
|
|
4980
|
+
}
|
|
4981
|
+
interface CollectionsResource {
|
|
4982
|
+
dataConnector: DataConnectorResource;
|
|
4983
|
+
dataStores: DataStoresResource;
|
|
4984
|
+
engines: EnginesResource;
|
|
4985
|
+
operations: OperationsResource;
|
|
4986
|
+
}
|
|
4987
|
+
interface DocumentsResource {
|
|
4988
|
+
/** Creates a Document. */
|
|
4989
|
+
create(request: {
|
|
4990
|
+
/** V1 error format. */
|
|
4991
|
+
'$.xgafv'?: string;
|
|
4992
|
+
/** OAuth access token. */
|
|
4993
|
+
access_token?: string;
|
|
4994
|
+
/** Data format for response. */
|
|
4995
|
+
alt?: string;
|
|
4996
|
+
/** JSONP */
|
|
4997
|
+
callback?: string;
|
|
4998
|
+
/** Required. The ID to use for the Document, which will become the final component of the Document.name. If the caller does not have permission to create the Document, regardless of whether or not it exists, a `PERMISSION_DENIED` error is returned. This field must be unique among all Documents with the same parent. Otherwise, an `ALREADY_EXISTS` error is returned. This field must conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) standard with a length limit of 63 characters. Otherwise, an `INVALID_ARGUMENT` error is returned. */
|
|
4999
|
+
documentId?: string;
|
|
5000
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
5001
|
+
fields?: string;
|
|
5002
|
+
/** 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. */
|
|
5003
|
+
key?: string;
|
|
5004
|
+
/** OAuth 2.0 token for the current user. */
|
|
5005
|
+
oauth_token?: string;
|
|
5006
|
+
/** Required. The parent resource name, such as `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}`. */
|
|
3294
5007
|
parent: string;
|
|
3295
5008
|
/** Returns response with indentations and line breaks. */
|
|
3296
5009
|
prettyPrint?: boolean;
|
|
@@ -3300,9 +5013,69 @@ declare namespace gapi.client {
|
|
|
3300
5013
|
upload_protocol?: string;
|
|
3301
5014
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3302
5015
|
uploadType?: string;
|
|
3303
|
-
|
|
3304
|
-
|
|
3305
|
-
|
|
5016
|
+
/** Request body */
|
|
5017
|
+
resource: GoogleCloudDiscoveryengineV1betaDocument;
|
|
5018
|
+
}): Request<GoogleCloudDiscoveryengineV1betaDocument>;
|
|
5019
|
+
create(
|
|
5020
|
+
request: {
|
|
5021
|
+
/** V1 error format. */
|
|
5022
|
+
'$.xgafv'?: string;
|
|
5023
|
+
/** OAuth access token. */
|
|
5024
|
+
access_token?: string;
|
|
5025
|
+
/** Data format for response. */
|
|
5026
|
+
alt?: string;
|
|
5027
|
+
/** JSONP */
|
|
5028
|
+
callback?: string;
|
|
5029
|
+
/** Required. The ID to use for the Document, which will become the final component of the Document.name. If the caller does not have permission to create the Document, regardless of whether or not it exists, a `PERMISSION_DENIED` error is returned. This field must be unique among all Documents with the same parent. Otherwise, an `ALREADY_EXISTS` error is returned. This field must conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) standard with a length limit of 63 characters. Otherwise, an `INVALID_ARGUMENT` error is returned. */
|
|
5030
|
+
documentId?: string;
|
|
5031
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
5032
|
+
fields?: string;
|
|
5033
|
+
/** 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. */
|
|
5034
|
+
key?: string;
|
|
5035
|
+
/** OAuth 2.0 token for the current user. */
|
|
5036
|
+
oauth_token?: string;
|
|
5037
|
+
/** Required. The parent resource name, such as `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}`. */
|
|
5038
|
+
parent: string;
|
|
5039
|
+
/** Returns response with indentations and line breaks. */
|
|
5040
|
+
prettyPrint?: boolean;
|
|
5041
|
+
/** 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. */
|
|
5042
|
+
quotaUser?: string;
|
|
5043
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
5044
|
+
upload_protocol?: string;
|
|
5045
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
5046
|
+
uploadType?: string;
|
|
5047
|
+
},
|
|
5048
|
+
body: GoogleCloudDiscoveryengineV1betaDocument
|
|
5049
|
+
): Request<GoogleCloudDiscoveryengineV1betaDocument>;
|
|
5050
|
+
/** Deletes a Document. */
|
|
5051
|
+
delete(request?: {
|
|
5052
|
+
/** V1 error format. */
|
|
5053
|
+
'$.xgafv'?: string;
|
|
5054
|
+
/** OAuth access token. */
|
|
5055
|
+
access_token?: string;
|
|
5056
|
+
/** Data format for response. */
|
|
5057
|
+
alt?: string;
|
|
5058
|
+
/** JSONP */
|
|
5059
|
+
callback?: string;
|
|
5060
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
5061
|
+
fields?: string;
|
|
5062
|
+
/** 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. */
|
|
5063
|
+
key?: string;
|
|
5064
|
+
/** Required. Full resource name of Document, such as `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}`. If the caller does not have permission to delete the Document, regardless of whether or not it exists, a `PERMISSION_DENIED` error is returned. If the Document to delete does not exist, a `NOT_FOUND` error is returned. */
|
|
5065
|
+
name: string;
|
|
5066
|
+
/** OAuth 2.0 token for the current user. */
|
|
5067
|
+
oauth_token?: string;
|
|
5068
|
+
/** Returns response with indentations and line breaks. */
|
|
5069
|
+
prettyPrint?: boolean;
|
|
5070
|
+
/** 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. */
|
|
5071
|
+
quotaUser?: string;
|
|
5072
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
5073
|
+
upload_protocol?: string;
|
|
5074
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
5075
|
+
uploadType?: string;
|
|
5076
|
+
}): Request<{}>;
|
|
5077
|
+
/** Gets a Document. */
|
|
5078
|
+
get(request?: {
|
|
3306
5079
|
/** V1 error format. */
|
|
3307
5080
|
'$.xgafv'?: string;
|
|
3308
5081
|
/** OAuth access token. */
|
|
@@ -3315,7 +5088,7 @@ declare namespace gapi.client {
|
|
|
3315
5088
|
fields?: string;
|
|
3316
5089
|
/** 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. */
|
|
3317
5090
|
key?: string;
|
|
3318
|
-
/**
|
|
5091
|
+
/** Required. Full resource name of Document, such as `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}`. If the caller does not have permission to access the Document, regardless of whether or not it exists, a `PERMISSION_DENIED` error is returned. If the requested Document does not exist, a `NOT_FOUND` error is returned. */
|
|
3319
5092
|
name: string;
|
|
3320
5093
|
/** OAuth 2.0 token for the current user. */
|
|
3321
5094
|
oauth_token?: string;
|
|
@@ -3323,16 +5096,41 @@ declare namespace gapi.client {
|
|
|
3323
5096
|
prettyPrint?: boolean;
|
|
3324
5097
|
/** 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. */
|
|
3325
5098
|
quotaUser?: string;
|
|
3326
|
-
/**
|
|
3327
|
-
|
|
5099
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
5100
|
+
upload_protocol?: string;
|
|
5101
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
5102
|
+
uploadType?: string;
|
|
5103
|
+
}): Request<GoogleCloudDiscoveryengineV1betaDocument>;
|
|
5104
|
+
/** Bulk import of multiple Documents. Request processing may be synchronous. Non-existing items will be created. Note: It is possible for a subset of the Documents to be successfully updated. */
|
|
5105
|
+
import(request: {
|
|
5106
|
+
/** V1 error format. */
|
|
5107
|
+
'$.xgafv'?: string;
|
|
5108
|
+
/** OAuth access token. */
|
|
5109
|
+
access_token?: string;
|
|
5110
|
+
/** Data format for response. */
|
|
5111
|
+
alt?: string;
|
|
5112
|
+
/** JSONP */
|
|
5113
|
+
callback?: string;
|
|
5114
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
5115
|
+
fields?: string;
|
|
5116
|
+
/** 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. */
|
|
5117
|
+
key?: string;
|
|
5118
|
+
/** OAuth 2.0 token for the current user. */
|
|
5119
|
+
oauth_token?: string;
|
|
5120
|
+
/** Required. The parent branch resource name, such as `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}`. Requires create/update permission. */
|
|
5121
|
+
parent: string;
|
|
5122
|
+
/** Returns response with indentations and line breaks. */
|
|
5123
|
+
prettyPrint?: boolean;
|
|
5124
|
+
/** 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. */
|
|
5125
|
+
quotaUser?: string;
|
|
3328
5126
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3329
5127
|
upload_protocol?: string;
|
|
3330
5128
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3331
5129
|
uploadType?: string;
|
|
3332
5130
|
/** Request body */
|
|
3333
|
-
resource:
|
|
3334
|
-
}): Request<
|
|
3335
|
-
|
|
5131
|
+
resource: GoogleCloudDiscoveryengineV1betaImportDocumentsRequest;
|
|
5132
|
+
}): Request<GoogleLongrunningOperation>;
|
|
5133
|
+
import(
|
|
3336
5134
|
request: {
|
|
3337
5135
|
/** V1 error format. */
|
|
3338
5136
|
'$.xgafv'?: string;
|
|
@@ -3346,53 +5144,22 @@ declare namespace gapi.client {
|
|
|
3346
5144
|
fields?: string;
|
|
3347
5145
|
/** 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. */
|
|
3348
5146
|
key?: string;
|
|
3349
|
-
/** Immutable. Fully qualified name `project/*/locations/global/collections/{collection}/dataStore/*/conversations/*` or `project/*/locations/global/collections/{collection}/engines/*/conversations/*`. */
|
|
3350
|
-
name: string;
|
|
3351
5147
|
/** OAuth 2.0 token for the current user. */
|
|
3352
5148
|
oauth_token?: string;
|
|
5149
|
+
/** Required. The parent branch resource name, such as `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}`. Requires create/update permission. */
|
|
5150
|
+
parent: string;
|
|
3353
5151
|
/** Returns response with indentations and line breaks. */
|
|
3354
5152
|
prettyPrint?: boolean;
|
|
3355
5153
|
/** 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. */
|
|
3356
5154
|
quotaUser?: string;
|
|
3357
|
-
/** Indicates which fields in the provided Conversation to update. The following are NOT supported: * Conversation.name If not set or empty, all supported fields are updated. */
|
|
3358
|
-
updateMask?: string;
|
|
3359
5155
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3360
5156
|
upload_protocol?: string;
|
|
3361
5157
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3362
5158
|
uploadType?: string;
|
|
3363
5159
|
},
|
|
3364
|
-
body:
|
|
3365
|
-
): Request<
|
|
3366
|
-
|
|
3367
|
-
interface OperationsResource {
|
|
3368
|
-
/** 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. */
|
|
3369
|
-
get(request?: {
|
|
3370
|
-
/** V1 error format. */
|
|
3371
|
-
'$.xgafv'?: string;
|
|
3372
|
-
/** OAuth access token. */
|
|
3373
|
-
access_token?: string;
|
|
3374
|
-
/** Data format for response. */
|
|
3375
|
-
alt?: string;
|
|
3376
|
-
/** JSONP */
|
|
3377
|
-
callback?: string;
|
|
3378
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
3379
|
-
fields?: string;
|
|
3380
|
-
/** 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. */
|
|
3381
|
-
key?: string;
|
|
3382
|
-
/** The name of the operation resource. */
|
|
3383
|
-
name: string;
|
|
3384
|
-
/** OAuth 2.0 token for the current user. */
|
|
3385
|
-
oauth_token?: string;
|
|
3386
|
-
/** Returns response with indentations and line breaks. */
|
|
3387
|
-
prettyPrint?: boolean;
|
|
3388
|
-
/** 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. */
|
|
3389
|
-
quotaUser?: string;
|
|
3390
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3391
|
-
upload_protocol?: string;
|
|
3392
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3393
|
-
uploadType?: string;
|
|
3394
|
-
}): Request<GoogleLongrunningOperation>;
|
|
3395
|
-
/** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
|
|
5160
|
+
body: GoogleCloudDiscoveryengineV1betaImportDocumentsRequest
|
|
5161
|
+
): Request<GoogleLongrunningOperation>;
|
|
5162
|
+
/** Gets a list of Documents. */
|
|
3396
5163
|
list(request?: {
|
|
3397
5164
|
/** V1 error format. */
|
|
3398
5165
|
'$.xgafv'?: string;
|
|
@@ -3404,18 +5171,16 @@ declare namespace gapi.client {
|
|
|
3404
5171
|
callback?: string;
|
|
3405
5172
|
/** Selector specifying which fields to include in a partial response. */
|
|
3406
5173
|
fields?: string;
|
|
3407
|
-
/** The standard list filter. */
|
|
3408
|
-
filter?: string;
|
|
3409
5174
|
/** 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. */
|
|
3410
5175
|
key?: string;
|
|
3411
|
-
/** The name of the operation's parent resource. */
|
|
3412
|
-
name: string;
|
|
3413
5176
|
/** OAuth 2.0 token for the current user. */
|
|
3414
5177
|
oauth_token?: string;
|
|
3415
|
-
/** The
|
|
5178
|
+
/** Maximum number of Documents to return. If unspecified, defaults to 100. The maximum allowed value is 1000. Values above 1000 will be coerced to 1000. If this field is negative, an `INVALID_ARGUMENT` error is returned. */
|
|
3416
5179
|
pageSize?: number;
|
|
3417
|
-
/**
|
|
5180
|
+
/** A page token ListDocumentsResponse.next_page_token, received from a previous DocumentService.ListDocuments call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to DocumentService.ListDocuments must match the call that provided the page token. Otherwise, an `INVALID_ARGUMENT` error is returned. */
|
|
3418
5181
|
pageToken?: string;
|
|
5182
|
+
/** Required. The parent branch resource name, such as `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}`. Use `default_branch` as the branch ID, to list documents under the default branch. If the caller does not have permission to list Documents under this branch, regardless of whether or not this branch exists, a `PERMISSION_DENIED` error is returned. */
|
|
5183
|
+
parent: string;
|
|
3419
5184
|
/** Returns response with indentations and line breaks. */
|
|
3420
5185
|
prettyPrint?: boolean;
|
|
3421
5186
|
/** 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. */
|
|
@@ -3424,15 +5189,15 @@ declare namespace gapi.client {
|
|
|
3424
5189
|
upload_protocol?: string;
|
|
3425
5190
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3426
5191
|
uploadType?: string;
|
|
3427
|
-
}): Request<
|
|
3428
|
-
|
|
3429
|
-
|
|
3430
|
-
/** Makes a recommendation, which requires a contextual user event. */
|
|
3431
|
-
recommend(request: {
|
|
5192
|
+
}): Request<GoogleCloudDiscoveryengineV1betaListDocumentsResponse>;
|
|
5193
|
+
/** Updates a Document. */
|
|
5194
|
+
patch(request: {
|
|
3432
5195
|
/** V1 error format. */
|
|
3433
5196
|
'$.xgafv'?: string;
|
|
3434
5197
|
/** OAuth access token. */
|
|
3435
5198
|
access_token?: string;
|
|
5199
|
+
/** If set to true, and the Document is not found, a new Document will be created. */
|
|
5200
|
+
allowMissing?: boolean;
|
|
3436
5201
|
/** Data format for response. */
|
|
3437
5202
|
alt?: string;
|
|
3438
5203
|
/** JSONP */
|
|
@@ -3441,27 +5206,29 @@ declare namespace gapi.client {
|
|
|
3441
5206
|
fields?: string;
|
|
3442
5207
|
/** 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. */
|
|
3443
5208
|
key?: string;
|
|
5209
|
+
/** Immutable. The full resource name of the document. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document_id}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters. */
|
|
5210
|
+
name: string;
|
|
3444
5211
|
/** OAuth 2.0 token for the current user. */
|
|
3445
5212
|
oauth_token?: string;
|
|
3446
5213
|
/** Returns response with indentations and line breaks. */
|
|
3447
5214
|
prettyPrint?: boolean;
|
|
3448
5215
|
/** 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. */
|
|
3449
5216
|
quotaUser?: string;
|
|
3450
|
-
/** Required. Full resource name of a ServingConfig: `projects/*/locations/global/collections/*/engines/*/servingConfigs/*`, or `projects/*/locations/global/collections/*/dataStores/*/servingConfigs/*` One default serving config is created along with your recommendation engine creation. The engine ID will be used as the ID of the default serving config. For example, for Engine `projects/*/locations/global/collections/*/engines/my-engine`, you can use `projects/*/locations/global/collections/*/engines/my-engine/servingConfigs/my-engine` for your RecommendationService.Recommend requests. */
|
|
3451
|
-
servingConfig: string;
|
|
3452
5217
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3453
5218
|
upload_protocol?: string;
|
|
3454
5219
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3455
5220
|
uploadType?: string;
|
|
3456
5221
|
/** Request body */
|
|
3457
|
-
resource:
|
|
3458
|
-
}): Request<
|
|
3459
|
-
|
|
5222
|
+
resource: GoogleCloudDiscoveryengineV1betaDocument;
|
|
5223
|
+
}): Request<GoogleCloudDiscoveryengineV1betaDocument>;
|
|
5224
|
+
patch(
|
|
3460
5225
|
request: {
|
|
3461
5226
|
/** V1 error format. */
|
|
3462
5227
|
'$.xgafv'?: string;
|
|
3463
5228
|
/** OAuth access token. */
|
|
3464
5229
|
access_token?: string;
|
|
5230
|
+
/** If set to true, and the Document is not found, a new Document will be created. */
|
|
5231
|
+
allowMissing?: boolean;
|
|
3465
5232
|
/** Data format for response. */
|
|
3466
5233
|
alt?: string;
|
|
3467
5234
|
/** JSONP */
|
|
@@ -3470,23 +5237,23 @@ declare namespace gapi.client {
|
|
|
3470
5237
|
fields?: string;
|
|
3471
5238
|
/** 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. */
|
|
3472
5239
|
key?: string;
|
|
5240
|
+
/** Immutable. The full resource name of the document. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document_id}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters. */
|
|
5241
|
+
name: string;
|
|
3473
5242
|
/** OAuth 2.0 token for the current user. */
|
|
3474
5243
|
oauth_token?: string;
|
|
3475
5244
|
/** Returns response with indentations and line breaks. */
|
|
3476
5245
|
prettyPrint?: boolean;
|
|
3477
5246
|
/** 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. */
|
|
3478
5247
|
quotaUser?: string;
|
|
3479
|
-
/** Required. Full resource name of a ServingConfig: `projects/*/locations/global/collections/*/engines/*/servingConfigs/*`, or `projects/*/locations/global/collections/*/dataStores/*/servingConfigs/*` One default serving config is created along with your recommendation engine creation. The engine ID will be used as the ID of the default serving config. For example, for Engine `projects/*/locations/global/collections/*/engines/my-engine`, you can use `projects/*/locations/global/collections/*/engines/my-engine/servingConfigs/my-engine` for your RecommendationService.Recommend requests. */
|
|
3480
|
-
servingConfig: string;
|
|
3481
5248
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3482
5249
|
upload_protocol?: string;
|
|
3483
5250
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3484
5251
|
uploadType?: string;
|
|
3485
5252
|
},
|
|
3486
|
-
body:
|
|
3487
|
-
): Request<
|
|
3488
|
-
/**
|
|
3489
|
-
|
|
5253
|
+
body: GoogleCloudDiscoveryengineV1betaDocument
|
|
5254
|
+
): Request<GoogleCloudDiscoveryengineV1betaDocument>;
|
|
5255
|
+
/** Permanently deletes all selected Documents in a branch. This process is asynchronous. Depending on the number of Documents to be deleted, this operation can take hours to complete. Before the delete operation completes, some Documents might still be returned by DocumentService.GetDocument or DocumentService.ListDocuments. To get a list of the Documents to be deleted, set PurgeDocumentsRequest.force to false. */
|
|
5256
|
+
purge(request: {
|
|
3490
5257
|
/** V1 error format. */
|
|
3491
5258
|
'$.xgafv'?: string;
|
|
3492
5259
|
/** OAuth access token. */
|
|
@@ -3501,20 +5268,20 @@ declare namespace gapi.client {
|
|
|
3501
5268
|
key?: string;
|
|
3502
5269
|
/** OAuth 2.0 token for the current user. */
|
|
3503
5270
|
oauth_token?: string;
|
|
5271
|
+
/** Required. The parent resource name, such as `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}`. */
|
|
5272
|
+
parent: string;
|
|
3504
5273
|
/** Returns response with indentations and line breaks. */
|
|
3505
5274
|
prettyPrint?: boolean;
|
|
3506
5275
|
/** 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. */
|
|
3507
5276
|
quotaUser?: string;
|
|
3508
|
-
/** Required. The resource name of the Search serving config, such as `projects/*/locations/global/collections/default_collection/engines/*/servingConfigs/default_serving_config`, or `projects/*/locations/global/collections/default_collection/dataStores/default_data_store/servingConfigs/default_serving_config`. This field is used to identify the serving configuration name, set of models used to make the search. */
|
|
3509
|
-
servingConfig: string;
|
|
3510
5277
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3511
5278
|
upload_protocol?: string;
|
|
3512
5279
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3513
5280
|
uploadType?: string;
|
|
3514
5281
|
/** Request body */
|
|
3515
|
-
resource:
|
|
3516
|
-
}): Request<
|
|
3517
|
-
|
|
5282
|
+
resource: GoogleCloudDiscoveryengineV1betaPurgeDocumentsRequest;
|
|
5283
|
+
}): Request<GoogleLongrunningOperation>;
|
|
5284
|
+
purge(
|
|
3518
5285
|
request: {
|
|
3519
5286
|
/** V1 error format. */
|
|
3520
5287
|
'$.xgafv'?: string;
|
|
@@ -3530,24 +5297,19 @@ declare namespace gapi.client {
|
|
|
3530
5297
|
key?: string;
|
|
3531
5298
|
/** OAuth 2.0 token for the current user. */
|
|
3532
5299
|
oauth_token?: string;
|
|
5300
|
+
/** Required. The parent resource name, such as `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}`. */
|
|
5301
|
+
parent: string;
|
|
3533
5302
|
/** Returns response with indentations and line breaks. */
|
|
3534
5303
|
prettyPrint?: boolean;
|
|
3535
5304
|
/** 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. */
|
|
3536
5305
|
quotaUser?: string;
|
|
3537
|
-
/** Required. The resource name of the Search serving config, such as `projects/*/locations/global/collections/default_collection/engines/*/servingConfigs/default_serving_config`, or `projects/*/locations/global/collections/default_collection/dataStores/default_data_store/servingConfigs/default_serving_config`. This field is used to identify the serving configuration name, set of models used to make the search. */
|
|
3538
|
-
servingConfig: string;
|
|
3539
5306
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3540
5307
|
upload_protocol?: string;
|
|
3541
5308
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3542
5309
|
uploadType?: string;
|
|
3543
5310
|
},
|
|
3544
|
-
body:
|
|
3545
|
-
): Request<
|
|
3546
|
-
}
|
|
3547
|
-
interface EnginesResource {
|
|
3548
|
-
conversations: ConversationsResource;
|
|
3549
|
-
operations: OperationsResource;
|
|
3550
|
-
servingConfigs: ServingConfigsResource;
|
|
5311
|
+
body: GoogleCloudDiscoveryengineV1betaPurgeDocumentsRequest
|
|
5312
|
+
): Request<GoogleLongrunningOperation>;
|
|
3551
5313
|
}
|
|
3552
5314
|
interface OperationsResource {
|
|
3553
5315
|
/** 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. */
|
|
@@ -3611,15 +5373,13 @@ declare namespace gapi.client {
|
|
|
3611
5373
|
uploadType?: string;
|
|
3612
5374
|
}): Request<GoogleLongrunningListOperationsResponse>;
|
|
3613
5375
|
}
|
|
3614
|
-
interface
|
|
3615
|
-
|
|
3616
|
-
dataStores: DataStoresResource;
|
|
3617
|
-
engines: EnginesResource;
|
|
5376
|
+
interface BranchesResource {
|
|
5377
|
+
documents: DocumentsResource;
|
|
3618
5378
|
operations: OperationsResource;
|
|
3619
5379
|
}
|
|
3620
|
-
interface
|
|
3621
|
-
/**
|
|
3622
|
-
|
|
5380
|
+
interface ConversationsResource {
|
|
5381
|
+
/** Converses a conversation. */
|
|
5382
|
+
converse(request: {
|
|
3623
5383
|
/** V1 error format. */
|
|
3624
5384
|
'$.xgafv'?: string;
|
|
3625
5385
|
/** OAuth access token. */
|
|
@@ -3628,16 +5388,14 @@ declare namespace gapi.client {
|
|
|
3628
5388
|
alt?: string;
|
|
3629
5389
|
/** JSONP */
|
|
3630
5390
|
callback?: string;
|
|
3631
|
-
/** Required. The ID to use for the Document, which will become the final component of the Document.name. If the caller does not have permission to create the Document, regardless of whether or not it exists, a `PERMISSION_DENIED` error is returned. This field must be unique among all Documents with the same parent. Otherwise, an `ALREADY_EXISTS` error is returned. This field must conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) standard with a length limit of 63 characters. Otherwise, an `INVALID_ARGUMENT` error is returned. */
|
|
3632
|
-
documentId?: string;
|
|
3633
5391
|
/** Selector specifying which fields to include in a partial response. */
|
|
3634
5392
|
fields?: string;
|
|
3635
5393
|
/** 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. */
|
|
3636
5394
|
key?: string;
|
|
5395
|
+
/** Required. The resource name of the Conversation to get. Format: `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/conversations/{conversation_id}`. Use `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/conversations/-` to activate auto session mode, which automatically creates a new conversation inside a ConverseConversation session. */
|
|
5396
|
+
name: string;
|
|
3637
5397
|
/** OAuth 2.0 token for the current user. */
|
|
3638
5398
|
oauth_token?: string;
|
|
3639
|
-
/** Required. The parent resource name, such as `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}`. */
|
|
3640
|
-
parent: string;
|
|
3641
5399
|
/** Returns response with indentations and line breaks. */
|
|
3642
5400
|
prettyPrint?: boolean;
|
|
3643
5401
|
/** 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. */
|
|
@@ -3647,9 +5405,9 @@ declare namespace gapi.client {
|
|
|
3647
5405
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3648
5406
|
uploadType?: string;
|
|
3649
5407
|
/** Request body */
|
|
3650
|
-
resource:
|
|
3651
|
-
}): Request<
|
|
3652
|
-
|
|
5408
|
+
resource: GoogleCloudDiscoveryengineV1betaConverseConversationRequest;
|
|
5409
|
+
}): Request<GoogleCloudDiscoveryengineV1betaConverseConversationResponse>;
|
|
5410
|
+
converse(
|
|
3653
5411
|
request: {
|
|
3654
5412
|
/** V1 error format. */
|
|
3655
5413
|
'$.xgafv'?: string;
|
|
@@ -3659,83 +5417,27 @@ declare namespace gapi.client {
|
|
|
3659
5417
|
alt?: string;
|
|
3660
5418
|
/** JSONP */
|
|
3661
5419
|
callback?: string;
|
|
3662
|
-
/** Required. The ID to use for the Document, which will become the final component of the Document.name. If the caller does not have permission to create the Document, regardless of whether or not it exists, a `PERMISSION_DENIED` error is returned. This field must be unique among all Documents with the same parent. Otherwise, an `ALREADY_EXISTS` error is returned. This field must conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) standard with a length limit of 63 characters. Otherwise, an `INVALID_ARGUMENT` error is returned. */
|
|
3663
|
-
documentId?: string;
|
|
3664
5420
|
/** Selector specifying which fields to include in a partial response. */
|
|
3665
5421
|
fields?: string;
|
|
3666
5422
|
/** 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. */
|
|
3667
5423
|
key?: string;
|
|
5424
|
+
/** Required. The resource name of the Conversation to get. Format: `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/conversations/{conversation_id}`. Use `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/conversations/-` to activate auto session mode, which automatically creates a new conversation inside a ConverseConversation session. */
|
|
5425
|
+
name: string;
|
|
3668
5426
|
/** OAuth 2.0 token for the current user. */
|
|
3669
5427
|
oauth_token?: string;
|
|
3670
|
-
/** Required. The parent resource name, such as `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}`. */
|
|
3671
|
-
parent: string;
|
|
3672
5428
|
/** Returns response with indentations and line breaks. */
|
|
3673
5429
|
prettyPrint?: boolean;
|
|
3674
5430
|
/** 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. */
|
|
3675
5431
|
quotaUser?: string;
|
|
3676
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3677
|
-
upload_protocol?: string;
|
|
3678
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3679
|
-
uploadType?: string;
|
|
3680
|
-
},
|
|
3681
|
-
body:
|
|
3682
|
-
): Request<
|
|
3683
|
-
/**
|
|
3684
|
-
|
|
3685
|
-
/** V1 error format. */
|
|
3686
|
-
'$.xgafv'?: string;
|
|
3687
|
-
/** OAuth access token. */
|
|
3688
|
-
access_token?: string;
|
|
3689
|
-
/** Data format for response. */
|
|
3690
|
-
alt?: string;
|
|
3691
|
-
/** JSONP */
|
|
3692
|
-
callback?: string;
|
|
3693
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
3694
|
-
fields?: string;
|
|
3695
|
-
/** 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. */
|
|
3696
|
-
key?: string;
|
|
3697
|
-
/** Required. Full resource name of Document, such as `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}`. If the caller does not have permission to delete the Document, regardless of whether or not it exists, a `PERMISSION_DENIED` error is returned. If the Document to delete does not exist, a `NOT_FOUND` error is returned. */
|
|
3698
|
-
name: string;
|
|
3699
|
-
/** OAuth 2.0 token for the current user. */
|
|
3700
|
-
oauth_token?: string;
|
|
3701
|
-
/** Returns response with indentations and line breaks. */
|
|
3702
|
-
prettyPrint?: boolean;
|
|
3703
|
-
/** 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. */
|
|
3704
|
-
quotaUser?: string;
|
|
3705
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3706
|
-
upload_protocol?: string;
|
|
3707
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3708
|
-
uploadType?: string;
|
|
3709
|
-
}): Request<{}>;
|
|
3710
|
-
/** Gets a Document. */
|
|
3711
|
-
get(request?: {
|
|
3712
|
-
/** V1 error format. */
|
|
3713
|
-
'$.xgafv'?: string;
|
|
3714
|
-
/** OAuth access token. */
|
|
3715
|
-
access_token?: string;
|
|
3716
|
-
/** Data format for response. */
|
|
3717
|
-
alt?: string;
|
|
3718
|
-
/** JSONP */
|
|
3719
|
-
callback?: string;
|
|
3720
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
3721
|
-
fields?: string;
|
|
3722
|
-
/** 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. */
|
|
3723
|
-
key?: string;
|
|
3724
|
-
/** Required. Full resource name of Document, such as `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}`. If the caller does not have permission to access the Document, regardless of whether or not it exists, a `PERMISSION_DENIED` error is returned. If the requested Document does not exist, a `NOT_FOUND` error is returned. */
|
|
3725
|
-
name: string;
|
|
3726
|
-
/** OAuth 2.0 token for the current user. */
|
|
3727
|
-
oauth_token?: string;
|
|
3728
|
-
/** Returns response with indentations and line breaks. */
|
|
3729
|
-
prettyPrint?: boolean;
|
|
3730
|
-
/** 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. */
|
|
3731
|
-
quotaUser?: string;
|
|
3732
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3733
|
-
upload_protocol?: string;
|
|
3734
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3735
|
-
uploadType?: string;
|
|
3736
|
-
}): Request<GoogleCloudDiscoveryengineV1betaDocument>;
|
|
3737
|
-
/** Bulk import of multiple Documents. Request processing may be synchronous. Non-existing items will be created. Note: It is possible for a subset of the Documents to be successfully updated. */
|
|
3738
|
-
import(request: {
|
|
5432
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
5433
|
+
upload_protocol?: string;
|
|
5434
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
5435
|
+
uploadType?: string;
|
|
5436
|
+
},
|
|
5437
|
+
body: GoogleCloudDiscoveryengineV1betaConverseConversationRequest
|
|
5438
|
+
): Request<GoogleCloudDiscoveryengineV1betaConverseConversationResponse>;
|
|
5439
|
+
/** Creates a Conversation. If the Conversation to create already exists, an ALREADY_EXISTS error is returned. */
|
|
5440
|
+
create(request: {
|
|
3739
5441
|
/** V1 error format. */
|
|
3740
5442
|
'$.xgafv'?: string;
|
|
3741
5443
|
/** OAuth access token. */
|
|
@@ -3750,7 +5452,7 @@ declare namespace gapi.client {
|
|
|
3750
5452
|
key?: string;
|
|
3751
5453
|
/** OAuth 2.0 token for the current user. */
|
|
3752
5454
|
oauth_token?: string;
|
|
3753
|
-
/** Required.
|
|
5455
|
+
/** Required. Full resource name of parent data store. Format: `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}` */
|
|
3754
5456
|
parent: string;
|
|
3755
5457
|
/** Returns response with indentations and line breaks. */
|
|
3756
5458
|
prettyPrint?: boolean;
|
|
@@ -3761,9 +5463,9 @@ declare namespace gapi.client {
|
|
|
3761
5463
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3762
5464
|
uploadType?: string;
|
|
3763
5465
|
/** Request body */
|
|
3764
|
-
resource:
|
|
3765
|
-
}): Request<
|
|
3766
|
-
|
|
5466
|
+
resource: GoogleCloudDiscoveryengineV1betaConversation;
|
|
5467
|
+
}): Request<GoogleCloudDiscoveryengineV1betaConversation>;
|
|
5468
|
+
create(
|
|
3767
5469
|
request: {
|
|
3768
5470
|
/** V1 error format. */
|
|
3769
5471
|
'$.xgafv'?: string;
|
|
@@ -3779,7 +5481,7 @@ declare namespace gapi.client {
|
|
|
3779
5481
|
key?: string;
|
|
3780
5482
|
/** OAuth 2.0 token for the current user. */
|
|
3781
5483
|
oauth_token?: string;
|
|
3782
|
-
/** Required.
|
|
5484
|
+
/** Required. Full resource name of parent data store. Format: `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}` */
|
|
3783
5485
|
parent: string;
|
|
3784
5486
|
/** Returns response with indentations and line breaks. */
|
|
3785
5487
|
prettyPrint?: boolean;
|
|
@@ -3790,10 +5492,10 @@ declare namespace gapi.client {
|
|
|
3790
5492
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3791
5493
|
uploadType?: string;
|
|
3792
5494
|
},
|
|
3793
|
-
body:
|
|
3794
|
-
): Request<
|
|
3795
|
-
/**
|
|
3796
|
-
|
|
5495
|
+
body: GoogleCloudDiscoveryengineV1betaConversation
|
|
5496
|
+
): Request<GoogleCloudDiscoveryengineV1betaConversation>;
|
|
5497
|
+
/** Deletes a Conversation. If the Conversation to delete does not exist, a NOT_FOUND error is returned. */
|
|
5498
|
+
delete(request?: {
|
|
3797
5499
|
/** V1 error format. */
|
|
3798
5500
|
'$.xgafv'?: string;
|
|
3799
5501
|
/** OAuth access token. */
|
|
@@ -3806,14 +5508,10 @@ declare namespace gapi.client {
|
|
|
3806
5508
|
fields?: string;
|
|
3807
5509
|
/** 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. */
|
|
3808
5510
|
key?: string;
|
|
5511
|
+
/** Required. The resource name of the Conversation to delete. Format: `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/conversations/{conversation_id}` */
|
|
5512
|
+
name: string;
|
|
3809
5513
|
/** OAuth 2.0 token for the current user. */
|
|
3810
5514
|
oauth_token?: string;
|
|
3811
|
-
/** Maximum number of Documents to return. If unspecified, defaults to 100. The maximum allowed value is 1000. Values above 1000 will be coerced to 1000. If this field is negative, an `INVALID_ARGUMENT` error is returned. */
|
|
3812
|
-
pageSize?: number;
|
|
3813
|
-
/** A page token ListDocumentsResponse.next_page_token, received from a previous DocumentService.ListDocuments call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to DocumentService.ListDocuments must match the call that provided the page token. Otherwise, an `INVALID_ARGUMENT` error is returned. */
|
|
3814
|
-
pageToken?: string;
|
|
3815
|
-
/** Required. The parent branch resource name, such as `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}`. Use `default_branch` as the branch ID, to list documents under the default branch. If the caller does not have permission to list Documents under this branch, regardless of whether or not this branch exists, a `PERMISSION_DENIED` error is returned. */
|
|
3816
|
-
parent: string;
|
|
3817
5515
|
/** Returns response with indentations and line breaks. */
|
|
3818
5516
|
prettyPrint?: boolean;
|
|
3819
5517
|
/** 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. */
|
|
@@ -3822,15 +5520,13 @@ declare namespace gapi.client {
|
|
|
3822
5520
|
upload_protocol?: string;
|
|
3823
5521
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3824
5522
|
uploadType?: string;
|
|
3825
|
-
}): Request<
|
|
3826
|
-
/**
|
|
3827
|
-
|
|
5523
|
+
}): Request<{}>;
|
|
5524
|
+
/** Gets a Conversation. */
|
|
5525
|
+
get(request?: {
|
|
3828
5526
|
/** V1 error format. */
|
|
3829
5527
|
'$.xgafv'?: string;
|
|
3830
5528
|
/** OAuth access token. */
|
|
3831
5529
|
access_token?: string;
|
|
3832
|
-
/** If set to true, and the Document is not found, a new Document will be created. */
|
|
3833
|
-
allowMissing?: boolean;
|
|
3834
5530
|
/** Data format for response. */
|
|
3835
5531
|
alt?: string;
|
|
3836
5532
|
/** JSONP */
|
|
@@ -3839,7 +5535,7 @@ declare namespace gapi.client {
|
|
|
3839
5535
|
fields?: string;
|
|
3840
5536
|
/** 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. */
|
|
3841
5537
|
key?: string;
|
|
3842
|
-
/**
|
|
5538
|
+
/** Required. The resource name of the Conversation to get. Format: `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/conversations/{conversation_id}` */
|
|
3843
5539
|
name: string;
|
|
3844
5540
|
/** OAuth 2.0 token for the current user. */
|
|
3845
5541
|
oauth_token?: string;
|
|
@@ -3851,42 +5547,9 @@ declare namespace gapi.client {
|
|
|
3851
5547
|
upload_protocol?: string;
|
|
3852
5548
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3853
5549
|
uploadType?: string;
|
|
3854
|
-
|
|
3855
|
-
|
|
3856
|
-
|
|
3857
|
-
patch(
|
|
3858
|
-
request: {
|
|
3859
|
-
/** V1 error format. */
|
|
3860
|
-
'$.xgafv'?: string;
|
|
3861
|
-
/** OAuth access token. */
|
|
3862
|
-
access_token?: string;
|
|
3863
|
-
/** If set to true, and the Document is not found, a new Document will be created. */
|
|
3864
|
-
allowMissing?: boolean;
|
|
3865
|
-
/** Data format for response. */
|
|
3866
|
-
alt?: string;
|
|
3867
|
-
/** JSONP */
|
|
3868
|
-
callback?: string;
|
|
3869
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
3870
|
-
fields?: string;
|
|
3871
|
-
/** 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. */
|
|
3872
|
-
key?: string;
|
|
3873
|
-
/** Immutable. The full resource name of the document. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document_id}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters. */
|
|
3874
|
-
name: string;
|
|
3875
|
-
/** OAuth 2.0 token for the current user. */
|
|
3876
|
-
oauth_token?: string;
|
|
3877
|
-
/** Returns response with indentations and line breaks. */
|
|
3878
|
-
prettyPrint?: boolean;
|
|
3879
|
-
/** 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. */
|
|
3880
|
-
quotaUser?: string;
|
|
3881
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3882
|
-
upload_protocol?: string;
|
|
3883
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3884
|
-
uploadType?: string;
|
|
3885
|
-
},
|
|
3886
|
-
body: GoogleCloudDiscoveryengineV1betaDocument
|
|
3887
|
-
): Request<GoogleCloudDiscoveryengineV1betaDocument>;
|
|
3888
|
-
/** Permanently deletes all selected Documents in a branch. This process is asynchronous. Depending on the number of Documents to be deleted, this operation can take hours to complete. Before the delete operation completes, some Documents might still be returned by DocumentService.GetDocument or DocumentService.ListDocuments. To get a list of the Documents to be deleted, set PurgeDocumentsRequest.force to false. */
|
|
3889
|
-
purge(request: {
|
|
5550
|
+
}): Request<GoogleCloudDiscoveryengineV1betaConversation>;
|
|
5551
|
+
/** Lists all Conversations by their parent DataStore. */
|
|
5552
|
+
list(request?: {
|
|
3890
5553
|
/** V1 error format. */
|
|
3891
5554
|
'$.xgafv'?: string;
|
|
3892
5555
|
/** OAuth access token. */
|
|
@@ -3897,11 +5560,19 @@ declare namespace gapi.client {
|
|
|
3897
5560
|
callback?: string;
|
|
3898
5561
|
/** Selector specifying which fields to include in a partial response. */
|
|
3899
5562
|
fields?: string;
|
|
5563
|
+
/** A filter to apply on the list results. The supported features are: user_pseudo_id, state. Example: "user_pseudo_id = some_id" */
|
|
5564
|
+
filter?: string;
|
|
3900
5565
|
/** 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. */
|
|
3901
5566
|
key?: string;
|
|
3902
5567
|
/** OAuth 2.0 token for the current user. */
|
|
3903
5568
|
oauth_token?: string;
|
|
3904
|
-
/**
|
|
5569
|
+
/** 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` * `create_time` * `conversation_name` Example: "update_time desc" "create_time" */
|
|
5570
|
+
orderBy?: string;
|
|
5571
|
+
/** Maximum number of results to return. If unspecified, defaults to 50. Max allowed value is 1000. */
|
|
5572
|
+
pageSize?: number;
|
|
5573
|
+
/** A page token, received from a previous `ListConversations` call. Provide this to retrieve the subsequent page. */
|
|
5574
|
+
pageToken?: string;
|
|
5575
|
+
/** Required. The data store resource name. Format: `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}` */
|
|
3905
5576
|
parent: string;
|
|
3906
5577
|
/** Returns response with indentations and line breaks. */
|
|
3907
5578
|
prettyPrint?: boolean;
|
|
@@ -3911,10 +5582,39 @@ declare namespace gapi.client {
|
|
|
3911
5582
|
upload_protocol?: string;
|
|
3912
5583
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3913
5584
|
uploadType?: string;
|
|
5585
|
+
}): Request<GoogleCloudDiscoveryengineV1betaListConversationsResponse>;
|
|
5586
|
+
/** Updates a Conversation. Conversation action type cannot be changed. If the Conversation to update does not exist, a NOT_FOUND error is returned. */
|
|
5587
|
+
patch(request: {
|
|
5588
|
+
/** V1 error format. */
|
|
5589
|
+
'$.xgafv'?: string;
|
|
5590
|
+
/** OAuth access token. */
|
|
5591
|
+
access_token?: string;
|
|
5592
|
+
/** Data format for response. */
|
|
5593
|
+
alt?: string;
|
|
5594
|
+
/** JSONP */
|
|
5595
|
+
callback?: string;
|
|
5596
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
5597
|
+
fields?: string;
|
|
5598
|
+
/** 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. */
|
|
5599
|
+
key?: string;
|
|
5600
|
+
/** Immutable. Fully qualified name `project/*/locations/global/collections/{collection}/dataStore/*/conversations/*` or `project/*/locations/global/collections/{collection}/engines/*/conversations/*`. */
|
|
5601
|
+
name: string;
|
|
5602
|
+
/** OAuth 2.0 token for the current user. */
|
|
5603
|
+
oauth_token?: string;
|
|
5604
|
+
/** Returns response with indentations and line breaks. */
|
|
5605
|
+
prettyPrint?: boolean;
|
|
5606
|
+
/** 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. */
|
|
5607
|
+
quotaUser?: string;
|
|
5608
|
+
/** Indicates which fields in the provided Conversation to update. The following are NOT supported: * Conversation.name If not set or empty, all supported fields are updated. */
|
|
5609
|
+
updateMask?: string;
|
|
5610
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
5611
|
+
upload_protocol?: string;
|
|
5612
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
5613
|
+
uploadType?: string;
|
|
3914
5614
|
/** Request body */
|
|
3915
|
-
resource:
|
|
3916
|
-
}): Request<
|
|
3917
|
-
|
|
5615
|
+
resource: GoogleCloudDiscoveryengineV1betaConversation;
|
|
5616
|
+
}): Request<GoogleCloudDiscoveryengineV1betaConversation>;
|
|
5617
|
+
patch(
|
|
3918
5618
|
request: {
|
|
3919
5619
|
/** V1 error format. */
|
|
3920
5620
|
'$.xgafv'?: string;
|
|
@@ -3928,21 +5628,23 @@ declare namespace gapi.client {
|
|
|
3928
5628
|
fields?: string;
|
|
3929
5629
|
/** 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. */
|
|
3930
5630
|
key?: string;
|
|
5631
|
+
/** Immutable. Fully qualified name `project/*/locations/global/collections/{collection}/dataStore/*/conversations/*` or `project/*/locations/global/collections/{collection}/engines/*/conversations/*`. */
|
|
5632
|
+
name: string;
|
|
3931
5633
|
/** OAuth 2.0 token for the current user. */
|
|
3932
5634
|
oauth_token?: string;
|
|
3933
|
-
/** Required. The parent resource name, such as `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}`. */
|
|
3934
|
-
parent: string;
|
|
3935
5635
|
/** Returns response with indentations and line breaks. */
|
|
3936
5636
|
prettyPrint?: boolean;
|
|
3937
5637
|
/** 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. */
|
|
3938
5638
|
quotaUser?: string;
|
|
5639
|
+
/** Indicates which fields in the provided Conversation to update. The following are NOT supported: * Conversation.name If not set or empty, all supported fields are updated. */
|
|
5640
|
+
updateMask?: string;
|
|
3939
5641
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3940
5642
|
upload_protocol?: string;
|
|
3941
5643
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3942
5644
|
uploadType?: string;
|
|
3943
5645
|
},
|
|
3944
|
-
body:
|
|
3945
|
-
): Request<
|
|
5646
|
+
body: GoogleCloudDiscoveryengineV1betaConversation
|
|
5647
|
+
): Request<GoogleCloudDiscoveryengineV1betaConversation>;
|
|
3946
5648
|
}
|
|
3947
5649
|
interface OperationsResource {
|
|
3948
5650
|
/** 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. */
|
|
@@ -4006,13 +5708,12 @@ declare namespace gapi.client {
|
|
|
4006
5708
|
uploadType?: string;
|
|
4007
5709
|
}): Request<GoogleLongrunningListOperationsResponse>;
|
|
4008
5710
|
}
|
|
4009
|
-
interface
|
|
4010
|
-
documents: DocumentsResource;
|
|
5711
|
+
interface ModelsResource {
|
|
4011
5712
|
operations: OperationsResource;
|
|
4012
5713
|
}
|
|
4013
|
-
interface
|
|
4014
|
-
/**
|
|
4015
|
-
|
|
5714
|
+
interface OperationsResource {
|
|
5715
|
+
/** 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. */
|
|
5716
|
+
get(request?: {
|
|
4016
5717
|
/** V1 error format. */
|
|
4017
5718
|
'$.xgafv'?: string;
|
|
4018
5719
|
/** OAuth access token. */
|
|
@@ -4025,7 +5726,7 @@ declare namespace gapi.client {
|
|
|
4025
5726
|
fields?: string;
|
|
4026
5727
|
/** 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. */
|
|
4027
5728
|
key?: string;
|
|
4028
|
-
/**
|
|
5729
|
+
/** The name of the operation resource. */
|
|
4029
5730
|
name: string;
|
|
4030
5731
|
/** OAuth 2.0 token for the current user. */
|
|
4031
5732
|
oauth_token?: string;
|
|
@@ -4037,39 +5738,43 @@ declare namespace gapi.client {
|
|
|
4037
5738
|
upload_protocol?: string;
|
|
4038
5739
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4039
5740
|
uploadType?: string;
|
|
4040
|
-
|
|
4041
|
-
|
|
4042
|
-
|
|
4043
|
-
|
|
4044
|
-
|
|
4045
|
-
|
|
4046
|
-
|
|
4047
|
-
|
|
4048
|
-
|
|
4049
|
-
|
|
4050
|
-
|
|
4051
|
-
|
|
4052
|
-
|
|
4053
|
-
|
|
4054
|
-
|
|
4055
|
-
|
|
4056
|
-
|
|
4057
|
-
|
|
4058
|
-
|
|
4059
|
-
|
|
4060
|
-
|
|
4061
|
-
|
|
4062
|
-
|
|
4063
|
-
|
|
4064
|
-
|
|
4065
|
-
|
|
4066
|
-
|
|
4067
|
-
|
|
4068
|
-
|
|
4069
|
-
|
|
4070
|
-
|
|
4071
|
-
|
|
4072
|
-
|
|
5741
|
+
}): Request<GoogleLongrunningOperation>;
|
|
5742
|
+
/** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
|
|
5743
|
+
list(request?: {
|
|
5744
|
+
/** V1 error format. */
|
|
5745
|
+
'$.xgafv'?: string;
|
|
5746
|
+
/** OAuth access token. */
|
|
5747
|
+
access_token?: string;
|
|
5748
|
+
/** Data format for response. */
|
|
5749
|
+
alt?: string;
|
|
5750
|
+
/** JSONP */
|
|
5751
|
+
callback?: string;
|
|
5752
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
5753
|
+
fields?: string;
|
|
5754
|
+
/** The standard list filter. */
|
|
5755
|
+
filter?: string;
|
|
5756
|
+
/** 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. */
|
|
5757
|
+
key?: string;
|
|
5758
|
+
/** The name of the operation's parent resource. */
|
|
5759
|
+
name: string;
|
|
5760
|
+
/** OAuth 2.0 token for the current user. */
|
|
5761
|
+
oauth_token?: string;
|
|
5762
|
+
/** The standard list page size. */
|
|
5763
|
+
pageSize?: number;
|
|
5764
|
+
/** The standard list page token. */
|
|
5765
|
+
pageToken?: string;
|
|
5766
|
+
/** Returns response with indentations and line breaks. */
|
|
5767
|
+
prettyPrint?: boolean;
|
|
5768
|
+
/** 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. */
|
|
5769
|
+
quotaUser?: string;
|
|
5770
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
5771
|
+
upload_protocol?: string;
|
|
5772
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
5773
|
+
uploadType?: string;
|
|
5774
|
+
}): Request<GoogleLongrunningListOperationsResponse>;
|
|
5775
|
+
}
|
|
5776
|
+
interface SchemasResource {
|
|
5777
|
+
/** Creates a Schema. */
|
|
4073
5778
|
create(request: {
|
|
4074
5779
|
/** V1 error format. */
|
|
4075
5780
|
'$.xgafv'?: string;
|
|
@@ -4085,19 +5790,21 @@ declare namespace gapi.client {
|
|
|
4085
5790
|
key?: string;
|
|
4086
5791
|
/** OAuth 2.0 token for the current user. */
|
|
4087
5792
|
oauth_token?: string;
|
|
4088
|
-
/** Required.
|
|
5793
|
+
/** Required. The parent data store resource name, in the format of `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}`. */
|
|
4089
5794
|
parent: string;
|
|
4090
5795
|
/** Returns response with indentations and line breaks. */
|
|
4091
5796
|
prettyPrint?: boolean;
|
|
4092
5797
|
/** 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. */
|
|
4093
5798
|
quotaUser?: string;
|
|
5799
|
+
/** Required. The ID to use for the Schema, which will become the final component of the Schema.name. This field should conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) standard with a length limit of 63 characters. */
|
|
5800
|
+
schemaId?: string;
|
|
4094
5801
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
4095
5802
|
upload_protocol?: string;
|
|
4096
5803
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4097
5804
|
uploadType?: string;
|
|
4098
5805
|
/** Request body */
|
|
4099
|
-
resource:
|
|
4100
|
-
}): Request<
|
|
5806
|
+
resource: GoogleCloudDiscoveryengineV1betaSchema;
|
|
5807
|
+
}): Request<GoogleLongrunningOperation>;
|
|
4101
5808
|
create(
|
|
4102
5809
|
request: {
|
|
4103
5810
|
/** V1 error format. */
|
|
@@ -4114,20 +5821,22 @@ declare namespace gapi.client {
|
|
|
4114
5821
|
key?: string;
|
|
4115
5822
|
/** OAuth 2.0 token for the current user. */
|
|
4116
5823
|
oauth_token?: string;
|
|
4117
|
-
/** Required.
|
|
5824
|
+
/** Required. The parent data store resource name, in the format of `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}`. */
|
|
4118
5825
|
parent: string;
|
|
4119
5826
|
/** Returns response with indentations and line breaks. */
|
|
4120
5827
|
prettyPrint?: boolean;
|
|
4121
5828
|
/** 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. */
|
|
4122
5829
|
quotaUser?: string;
|
|
5830
|
+
/** Required. The ID to use for the Schema, which will become the final component of the Schema.name. This field should conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) standard with a length limit of 63 characters. */
|
|
5831
|
+
schemaId?: string;
|
|
4123
5832
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
4124
5833
|
upload_protocol?: string;
|
|
4125
5834
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4126
5835
|
uploadType?: string;
|
|
4127
5836
|
},
|
|
4128
|
-
body:
|
|
4129
|
-
): Request<
|
|
4130
|
-
/** Deletes a
|
|
5837
|
+
body: GoogleCloudDiscoveryengineV1betaSchema
|
|
5838
|
+
): Request<GoogleLongrunningOperation>;
|
|
5839
|
+
/** Deletes a Schema. */
|
|
4131
5840
|
delete(request?: {
|
|
4132
5841
|
/** V1 error format. */
|
|
4133
5842
|
'$.xgafv'?: string;
|
|
@@ -4141,7 +5850,7 @@ declare namespace gapi.client {
|
|
|
4141
5850
|
fields?: string;
|
|
4142
5851
|
/** 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. */
|
|
4143
5852
|
key?: string;
|
|
4144
|
-
/** Required. The resource name of the
|
|
5853
|
+
/** Required. The full resource name of the schema, in the format of `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}`. */
|
|
4145
5854
|
name: string;
|
|
4146
5855
|
/** OAuth 2.0 token for the current user. */
|
|
4147
5856
|
oauth_token?: string;
|
|
@@ -4153,8 +5862,8 @@ declare namespace gapi.client {
|
|
|
4153
5862
|
upload_protocol?: string;
|
|
4154
5863
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4155
5864
|
uploadType?: string;
|
|
4156
|
-
}): Request<
|
|
4157
|
-
/** Gets a
|
|
5865
|
+
}): Request<GoogleLongrunningOperation>;
|
|
5866
|
+
/** Gets a Schema. */
|
|
4158
5867
|
get(request?: {
|
|
4159
5868
|
/** V1 error format. */
|
|
4160
5869
|
'$.xgafv'?: string;
|
|
@@ -4168,7 +5877,7 @@ declare namespace gapi.client {
|
|
|
4168
5877
|
fields?: string;
|
|
4169
5878
|
/** 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. */
|
|
4170
5879
|
key?: string;
|
|
4171
|
-
/** Required. The resource name of the
|
|
5880
|
+
/** Required. The full resource name of the schema, in the format of `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}`. */
|
|
4172
5881
|
name: string;
|
|
4173
5882
|
/** OAuth 2.0 token for the current user. */
|
|
4174
5883
|
oauth_token?: string;
|
|
@@ -4180,8 +5889,8 @@ declare namespace gapi.client {
|
|
|
4180
5889
|
upload_protocol?: string;
|
|
4181
5890
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4182
5891
|
uploadType?: string;
|
|
4183
|
-
}): Request<
|
|
4184
|
-
/**
|
|
5892
|
+
}): Request<GoogleCloudDiscoveryengineV1betaSchema>;
|
|
5893
|
+
/** Gets a list of Schemas. */
|
|
4185
5894
|
list(request?: {
|
|
4186
5895
|
/** V1 error format. */
|
|
4187
5896
|
'$.xgafv'?: string;
|
|
@@ -4193,19 +5902,15 @@ declare namespace gapi.client {
|
|
|
4193
5902
|
callback?: string;
|
|
4194
5903
|
/** Selector specifying which fields to include in a partial response. */
|
|
4195
5904
|
fields?: string;
|
|
4196
|
-
/** A filter to apply on the list results. The supported features are: user_pseudo_id, state. Example: "user_pseudo_id = some_id" */
|
|
4197
|
-
filter?: string;
|
|
4198
5905
|
/** 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. */
|
|
4199
5906
|
key?: string;
|
|
4200
5907
|
/** OAuth 2.0 token for the current user. */
|
|
4201
|
-
oauth_token?: string;
|
|
4202
|
-
/**
|
|
4203
|
-
orderBy?: string;
|
|
4204
|
-
/** Maximum number of results to return. If unspecified, defaults to 50. Max allowed value is 1000. */
|
|
5908
|
+
oauth_token?: string;
|
|
5909
|
+
/** The maximum number of Schemas to return. The service may return fewer than this value. If unspecified, at most 100 Schemas will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. */
|
|
4205
5910
|
pageSize?: number;
|
|
4206
|
-
/** A page token, received from a previous
|
|
5911
|
+
/** A page token, received from a previous SchemaService.ListSchemas call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to SchemaService.ListSchemas must match the call that provided the page token. */
|
|
4207
5912
|
pageToken?: string;
|
|
4208
|
-
/** Required. The data store resource name
|
|
5913
|
+
/** Required. The parent data store resource name, in the format of `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}`. */
|
|
4209
5914
|
parent: string;
|
|
4210
5915
|
/** Returns response with indentations and line breaks. */
|
|
4211
5916
|
prettyPrint?: boolean;
|
|
@@ -4215,13 +5920,15 @@ declare namespace gapi.client {
|
|
|
4215
5920
|
upload_protocol?: string;
|
|
4216
5921
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4217
5922
|
uploadType?: string;
|
|
4218
|
-
}): Request<
|
|
4219
|
-
/** Updates a
|
|
5923
|
+
}): Request<GoogleCloudDiscoveryengineV1betaListSchemasResponse>;
|
|
5924
|
+
/** Updates a Schema. */
|
|
4220
5925
|
patch(request: {
|
|
4221
5926
|
/** V1 error format. */
|
|
4222
5927
|
'$.xgafv'?: string;
|
|
4223
5928
|
/** OAuth access token. */
|
|
4224
5929
|
access_token?: string;
|
|
5930
|
+
/** If set to true, and the Schema is not found, a new Schema will be created. In this situation, `update_mask` is ignored. */
|
|
5931
|
+
allowMissing?: boolean;
|
|
4225
5932
|
/** Data format for response. */
|
|
4226
5933
|
alt?: string;
|
|
4227
5934
|
/** JSONP */
|
|
@@ -4230,7 +5937,7 @@ declare namespace gapi.client {
|
|
|
4230
5937
|
fields?: string;
|
|
4231
5938
|
/** 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. */
|
|
4232
5939
|
key?: string;
|
|
4233
|
-
/** Immutable.
|
|
5940
|
+
/** Immutable. The full resource name of the schema, in the format of `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters. */
|
|
4234
5941
|
name: string;
|
|
4235
5942
|
/** OAuth 2.0 token for the current user. */
|
|
4236
5943
|
oauth_token?: string;
|
|
@@ -4238,21 +5945,21 @@ declare namespace gapi.client {
|
|
|
4238
5945
|
prettyPrint?: boolean;
|
|
4239
5946
|
/** 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. */
|
|
4240
5947
|
quotaUser?: string;
|
|
4241
|
-
/** Indicates which fields in the provided Conversation to update. The following are NOT supported: * Conversation.name If not set or empty, all supported fields are updated. */
|
|
4242
|
-
updateMask?: string;
|
|
4243
5948
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
4244
5949
|
upload_protocol?: string;
|
|
4245
5950
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4246
5951
|
uploadType?: string;
|
|
4247
5952
|
/** Request body */
|
|
4248
|
-
resource:
|
|
4249
|
-
}): Request<
|
|
5953
|
+
resource: GoogleCloudDiscoveryengineV1betaSchema;
|
|
5954
|
+
}): Request<GoogleLongrunningOperation>;
|
|
4250
5955
|
patch(
|
|
4251
5956
|
request: {
|
|
4252
5957
|
/** V1 error format. */
|
|
4253
5958
|
'$.xgafv'?: string;
|
|
4254
5959
|
/** OAuth access token. */
|
|
4255
5960
|
access_token?: string;
|
|
5961
|
+
/** If set to true, and the Schema is not found, a new Schema will be created. In this situation, `update_mask` is ignored. */
|
|
5962
|
+
allowMissing?: boolean;
|
|
4256
5963
|
/** Data format for response. */
|
|
4257
5964
|
alt?: string;
|
|
4258
5965
|
/** JSONP */
|
|
@@ -4261,7 +5968,7 @@ declare namespace gapi.client {
|
|
|
4261
5968
|
fields?: string;
|
|
4262
5969
|
/** 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. */
|
|
4263
5970
|
key?: string;
|
|
4264
|
-
/** Immutable.
|
|
5971
|
+
/** Immutable. The full resource name of the schema, in the format of `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters. */
|
|
4265
5972
|
name: string;
|
|
4266
5973
|
/** OAuth 2.0 token for the current user. */
|
|
4267
5974
|
oauth_token?: string;
|
|
@@ -4269,19 +5976,17 @@ declare namespace gapi.client {
|
|
|
4269
5976
|
prettyPrint?: boolean;
|
|
4270
5977
|
/** 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. */
|
|
4271
5978
|
quotaUser?: string;
|
|
4272
|
-
/** Indicates which fields in the provided Conversation to update. The following are NOT supported: * Conversation.name If not set or empty, all supported fields are updated. */
|
|
4273
|
-
updateMask?: string;
|
|
4274
5979
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
4275
5980
|
upload_protocol?: string;
|
|
4276
5981
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4277
5982
|
uploadType?: string;
|
|
4278
5983
|
},
|
|
4279
|
-
body:
|
|
4280
|
-
): Request<
|
|
5984
|
+
body: GoogleCloudDiscoveryengineV1betaSchema
|
|
5985
|
+
): Request<GoogleLongrunningOperation>;
|
|
4281
5986
|
}
|
|
4282
|
-
interface
|
|
4283
|
-
/**
|
|
4284
|
-
|
|
5987
|
+
interface ServingConfigsResource {
|
|
5988
|
+
/** Makes a recommendation, which requires a contextual user event. */
|
|
5989
|
+
recommend(request: {
|
|
4285
5990
|
/** V1 error format. */
|
|
4286
5991
|
'$.xgafv'?: string;
|
|
4287
5992
|
/** OAuth access token. */
|
|
@@ -4294,21 +5999,52 @@ declare namespace gapi.client {
|
|
|
4294
5999
|
fields?: string;
|
|
4295
6000
|
/** 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. */
|
|
4296
6001
|
key?: string;
|
|
4297
|
-
/** The name of the operation resource. */
|
|
4298
|
-
name: string;
|
|
4299
6002
|
/** OAuth 2.0 token for the current user. */
|
|
4300
6003
|
oauth_token?: string;
|
|
4301
6004
|
/** Returns response with indentations and line breaks. */
|
|
4302
6005
|
prettyPrint?: boolean;
|
|
4303
6006
|
/** 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. */
|
|
4304
6007
|
quotaUser?: string;
|
|
6008
|
+
/** Required. Full resource name of a ServingConfig: `projects/*/locations/global/collections/*/engines/*/servingConfigs/*`, or `projects/*/locations/global/collections/*/dataStores/*/servingConfigs/*` One default serving config is created along with your recommendation engine creation. The engine ID will be used as the ID of the default serving config. For example, for Engine `projects/*/locations/global/collections/*/engines/my-engine`, you can use `projects/*/locations/global/collections/*/engines/my-engine/servingConfigs/my-engine` for your RecommendationService.Recommend requests. */
|
|
6009
|
+
servingConfig: string;
|
|
4305
6010
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
4306
6011
|
upload_protocol?: string;
|
|
4307
6012
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4308
6013
|
uploadType?: string;
|
|
4309
|
-
|
|
4310
|
-
|
|
4311
|
-
|
|
6014
|
+
/** Request body */
|
|
6015
|
+
resource: GoogleCloudDiscoveryengineV1betaRecommendRequest;
|
|
6016
|
+
}): Request<GoogleCloudDiscoveryengineV1betaRecommendResponse>;
|
|
6017
|
+
recommend(
|
|
6018
|
+
request: {
|
|
6019
|
+
/** V1 error format. */
|
|
6020
|
+
'$.xgafv'?: string;
|
|
6021
|
+
/** OAuth access token. */
|
|
6022
|
+
access_token?: string;
|
|
6023
|
+
/** Data format for response. */
|
|
6024
|
+
alt?: string;
|
|
6025
|
+
/** JSONP */
|
|
6026
|
+
callback?: string;
|
|
6027
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
6028
|
+
fields?: string;
|
|
6029
|
+
/** 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. */
|
|
6030
|
+
key?: string;
|
|
6031
|
+
/** OAuth 2.0 token for the current user. */
|
|
6032
|
+
oauth_token?: string;
|
|
6033
|
+
/** Returns response with indentations and line breaks. */
|
|
6034
|
+
prettyPrint?: boolean;
|
|
6035
|
+
/** 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. */
|
|
6036
|
+
quotaUser?: string;
|
|
6037
|
+
/** Required. Full resource name of a ServingConfig: `projects/*/locations/global/collections/*/engines/*/servingConfigs/*`, or `projects/*/locations/global/collections/*/dataStores/*/servingConfigs/*` One default serving config is created along with your recommendation engine creation. The engine ID will be used as the ID of the default serving config. For example, for Engine `projects/*/locations/global/collections/*/engines/my-engine`, you can use `projects/*/locations/global/collections/*/engines/my-engine/servingConfigs/my-engine` for your RecommendationService.Recommend requests. */
|
|
6038
|
+
servingConfig: string;
|
|
6039
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
6040
|
+
upload_protocol?: string;
|
|
6041
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
6042
|
+
uploadType?: string;
|
|
6043
|
+
},
|
|
6044
|
+
body: GoogleCloudDiscoveryengineV1betaRecommendRequest
|
|
6045
|
+
): Request<GoogleCloudDiscoveryengineV1betaRecommendResponse>;
|
|
6046
|
+
/** Performs a search. */
|
|
6047
|
+
search(request: {
|
|
4312
6048
|
/** V1 error format. */
|
|
4313
6049
|
'$.xgafv'?: string;
|
|
4314
6050
|
/** OAuth access token. */
|
|
@@ -4319,34 +6055,56 @@ declare namespace gapi.client {
|
|
|
4319
6055
|
callback?: string;
|
|
4320
6056
|
/** Selector specifying which fields to include in a partial response. */
|
|
4321
6057
|
fields?: string;
|
|
4322
|
-
/** The standard list filter. */
|
|
4323
|
-
filter?: string;
|
|
4324
6058
|
/** 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. */
|
|
4325
6059
|
key?: string;
|
|
4326
|
-
/** The name of the operation's parent resource. */
|
|
4327
|
-
name: string;
|
|
4328
6060
|
/** OAuth 2.0 token for the current user. */
|
|
4329
6061
|
oauth_token?: string;
|
|
4330
|
-
/** The standard list page size. */
|
|
4331
|
-
pageSize?: number;
|
|
4332
|
-
/** The standard list page token. */
|
|
4333
|
-
pageToken?: string;
|
|
4334
6062
|
/** Returns response with indentations and line breaks. */
|
|
4335
6063
|
prettyPrint?: boolean;
|
|
4336
6064
|
/** 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. */
|
|
4337
6065
|
quotaUser?: string;
|
|
6066
|
+
/** Required. The resource name of the Search serving config, such as `projects/*/locations/global/collections/default_collection/engines/*/servingConfigs/default_serving_config`, or `projects/*/locations/global/collections/default_collection/dataStores/default_data_store/servingConfigs/default_serving_config`. This field is used to identify the serving configuration name, set of models used to make the search. */
|
|
6067
|
+
servingConfig: string;
|
|
4338
6068
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
4339
6069
|
upload_protocol?: string;
|
|
4340
6070
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4341
6071
|
uploadType?: string;
|
|
4342
|
-
|
|
4343
|
-
|
|
4344
|
-
|
|
4345
|
-
|
|
6072
|
+
/** Request body */
|
|
6073
|
+
resource: GoogleCloudDiscoveryengineV1betaSearchRequest;
|
|
6074
|
+
}): Request<GoogleCloudDiscoveryengineV1betaSearchResponse>;
|
|
6075
|
+
search(
|
|
6076
|
+
request: {
|
|
6077
|
+
/** V1 error format. */
|
|
6078
|
+
'$.xgafv'?: string;
|
|
6079
|
+
/** OAuth access token. */
|
|
6080
|
+
access_token?: string;
|
|
6081
|
+
/** Data format for response. */
|
|
6082
|
+
alt?: string;
|
|
6083
|
+
/** JSONP */
|
|
6084
|
+
callback?: string;
|
|
6085
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
6086
|
+
fields?: string;
|
|
6087
|
+
/** 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. */
|
|
6088
|
+
key?: string;
|
|
6089
|
+
/** OAuth 2.0 token for the current user. */
|
|
6090
|
+
oauth_token?: string;
|
|
6091
|
+
/** Returns response with indentations and line breaks. */
|
|
6092
|
+
prettyPrint?: boolean;
|
|
6093
|
+
/** 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. */
|
|
6094
|
+
quotaUser?: string;
|
|
6095
|
+
/** Required. The resource name of the Search serving config, such as `projects/*/locations/global/collections/default_collection/engines/*/servingConfigs/default_serving_config`, or `projects/*/locations/global/collections/default_collection/dataStores/default_data_store/servingConfigs/default_serving_config`. This field is used to identify the serving configuration name, set of models used to make the search. */
|
|
6096
|
+
servingConfig: string;
|
|
6097
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
6098
|
+
upload_protocol?: string;
|
|
6099
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
6100
|
+
uploadType?: string;
|
|
6101
|
+
},
|
|
6102
|
+
body: GoogleCloudDiscoveryengineV1betaSearchRequest
|
|
6103
|
+
): Request<GoogleCloudDiscoveryengineV1betaSearchResponse>;
|
|
4346
6104
|
}
|
|
4347
|
-
interface
|
|
4348
|
-
/**
|
|
4349
|
-
|
|
6105
|
+
interface TargetSitesResource {
|
|
6106
|
+
/** Creates TargetSite in a batch. */
|
|
6107
|
+
batchCreate(request: {
|
|
4350
6108
|
/** V1 error format. */
|
|
4351
6109
|
'$.xgafv'?: string;
|
|
4352
6110
|
/** OAuth access token. */
|
|
@@ -4359,10 +6117,10 @@ declare namespace gapi.client {
|
|
|
4359
6117
|
fields?: string;
|
|
4360
6118
|
/** 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. */
|
|
4361
6119
|
key?: string;
|
|
4362
|
-
/** The name of the operation resource. */
|
|
4363
|
-
name: string;
|
|
4364
6120
|
/** OAuth 2.0 token for the current user. */
|
|
4365
6121
|
oauth_token?: string;
|
|
6122
|
+
/** Required. The parent resource shared by all TargetSites being created. `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine`. The parent field in the CreateBookRequest messages must either be empty or match this field. */
|
|
6123
|
+
parent: string;
|
|
4366
6124
|
/** Returns response with indentations and line breaks. */
|
|
4367
6125
|
prettyPrint?: boolean;
|
|
4368
6126
|
/** 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. */
|
|
@@ -4371,43 +6129,39 @@ declare namespace gapi.client {
|
|
|
4371
6129
|
upload_protocol?: string;
|
|
4372
6130
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4373
6131
|
uploadType?: string;
|
|
6132
|
+
/** Request body */
|
|
6133
|
+
resource: GoogleCloudDiscoveryengineV1betaBatchCreateTargetSitesRequest;
|
|
4374
6134
|
}): Request<GoogleLongrunningOperation>;
|
|
4375
|
-
|
|
4376
|
-
|
|
4377
|
-
|
|
4378
|
-
|
|
4379
|
-
|
|
4380
|
-
|
|
4381
|
-
|
|
4382
|
-
|
|
4383
|
-
|
|
4384
|
-
|
|
4385
|
-
|
|
4386
|
-
|
|
4387
|
-
|
|
4388
|
-
|
|
4389
|
-
|
|
4390
|
-
|
|
4391
|
-
|
|
4392
|
-
|
|
4393
|
-
|
|
4394
|
-
|
|
4395
|
-
|
|
4396
|
-
|
|
4397
|
-
|
|
4398
|
-
|
|
4399
|
-
|
|
4400
|
-
|
|
4401
|
-
|
|
4402
|
-
|
|
4403
|
-
|
|
4404
|
-
|
|
4405
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4406
|
-
uploadType?: string;
|
|
4407
|
-
}): Request<GoogleLongrunningListOperationsResponse>;
|
|
4408
|
-
}
|
|
4409
|
-
interface SchemasResource {
|
|
4410
|
-
/** Creates a Schema. */
|
|
6135
|
+
batchCreate(
|
|
6136
|
+
request: {
|
|
6137
|
+
/** V1 error format. */
|
|
6138
|
+
'$.xgafv'?: string;
|
|
6139
|
+
/** OAuth access token. */
|
|
6140
|
+
access_token?: string;
|
|
6141
|
+
/** Data format for response. */
|
|
6142
|
+
alt?: string;
|
|
6143
|
+
/** JSONP */
|
|
6144
|
+
callback?: string;
|
|
6145
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
6146
|
+
fields?: string;
|
|
6147
|
+
/** 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. */
|
|
6148
|
+
key?: string;
|
|
6149
|
+
/** OAuth 2.0 token for the current user. */
|
|
6150
|
+
oauth_token?: string;
|
|
6151
|
+
/** Required. The parent resource shared by all TargetSites being created. `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine`. The parent field in the CreateBookRequest messages must either be empty or match this field. */
|
|
6152
|
+
parent: string;
|
|
6153
|
+
/** Returns response with indentations and line breaks. */
|
|
6154
|
+
prettyPrint?: boolean;
|
|
6155
|
+
/** 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. */
|
|
6156
|
+
quotaUser?: string;
|
|
6157
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
6158
|
+
upload_protocol?: string;
|
|
6159
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
6160
|
+
uploadType?: string;
|
|
6161
|
+
},
|
|
6162
|
+
body: GoogleCloudDiscoveryengineV1betaBatchCreateTargetSitesRequest
|
|
6163
|
+
): Request<GoogleLongrunningOperation>;
|
|
6164
|
+
/** Creates a TargetSite. */
|
|
4411
6165
|
create(request: {
|
|
4412
6166
|
/** V1 error format. */
|
|
4413
6167
|
'$.xgafv'?: string;
|
|
@@ -4423,20 +6177,18 @@ declare namespace gapi.client {
|
|
|
4423
6177
|
key?: string;
|
|
4424
6178
|
/** OAuth 2.0 token for the current user. */
|
|
4425
6179
|
oauth_token?: string;
|
|
4426
|
-
/** Required.
|
|
6180
|
+
/** Required. Parent resource name of TargetSite, such as `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine`. */
|
|
4427
6181
|
parent: string;
|
|
4428
6182
|
/** Returns response with indentations and line breaks. */
|
|
4429
6183
|
prettyPrint?: boolean;
|
|
4430
6184
|
/** 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. */
|
|
4431
6185
|
quotaUser?: string;
|
|
4432
|
-
/** Required. The ID to use for the Schema, which will become the final component of the Schema.name. This field should conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) standard with a length limit of 63 characters. */
|
|
4433
|
-
schemaId?: string;
|
|
4434
6186
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
4435
6187
|
upload_protocol?: string;
|
|
4436
6188
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4437
6189
|
uploadType?: string;
|
|
4438
6190
|
/** Request body */
|
|
4439
|
-
resource:
|
|
6191
|
+
resource: GoogleCloudDiscoveryengineV1betaTargetSite;
|
|
4440
6192
|
}): Request<GoogleLongrunningOperation>;
|
|
4441
6193
|
create(
|
|
4442
6194
|
request: {
|
|
@@ -4454,22 +6206,20 @@ declare namespace gapi.client {
|
|
|
4454
6206
|
key?: string;
|
|
4455
6207
|
/** OAuth 2.0 token for the current user. */
|
|
4456
6208
|
oauth_token?: string;
|
|
4457
|
-
/** Required.
|
|
6209
|
+
/** Required. Parent resource name of TargetSite, such as `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine`. */
|
|
4458
6210
|
parent: string;
|
|
4459
6211
|
/** Returns response with indentations and line breaks. */
|
|
4460
6212
|
prettyPrint?: boolean;
|
|
4461
6213
|
/** 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. */
|
|
4462
6214
|
quotaUser?: string;
|
|
4463
|
-
/** Required. The ID to use for the Schema, which will become the final component of the Schema.name. This field should conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) standard with a length limit of 63 characters. */
|
|
4464
|
-
schemaId?: string;
|
|
4465
6215
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
4466
6216
|
upload_protocol?: string;
|
|
4467
6217
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4468
6218
|
uploadType?: string;
|
|
4469
6219
|
},
|
|
4470
|
-
body:
|
|
6220
|
+
body: GoogleCloudDiscoveryengineV1betaTargetSite
|
|
4471
6221
|
): Request<GoogleLongrunningOperation>;
|
|
4472
|
-
/** Deletes a
|
|
6222
|
+
/** Deletes a TargetSite. */
|
|
4473
6223
|
delete(request?: {
|
|
4474
6224
|
/** V1 error format. */
|
|
4475
6225
|
'$.xgafv'?: string;
|
|
@@ -4483,7 +6233,7 @@ declare namespace gapi.client {
|
|
|
4483
6233
|
fields?: string;
|
|
4484
6234
|
/** 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. */
|
|
4485
6235
|
key?: string;
|
|
4486
|
-
/** Required.
|
|
6236
|
+
/** Required. Full resource name of TargetSite, such as `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}`. If the caller does not have permission to access the TargetSite, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. If the requested TargetSite does not exist, a NOT_FOUND error is returned. */
|
|
4487
6237
|
name: string;
|
|
4488
6238
|
/** OAuth 2.0 token for the current user. */
|
|
4489
6239
|
oauth_token?: string;
|
|
@@ -4496,7 +6246,7 @@ declare namespace gapi.client {
|
|
|
4496
6246
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4497
6247
|
uploadType?: string;
|
|
4498
6248
|
}): Request<GoogleLongrunningOperation>;
|
|
4499
|
-
/** Gets a
|
|
6249
|
+
/** Gets a TargetSite. */
|
|
4500
6250
|
get(request?: {
|
|
4501
6251
|
/** V1 error format. */
|
|
4502
6252
|
'$.xgafv'?: string;
|
|
@@ -4510,7 +6260,7 @@ declare namespace gapi.client {
|
|
|
4510
6260
|
fields?: string;
|
|
4511
6261
|
/** 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. */
|
|
4512
6262
|
key?: string;
|
|
4513
|
-
/** Required.
|
|
6263
|
+
/** Required. Full resource name of TargetSite, such as `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}`. If the caller does not have permission to access the TargetSite, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. If the requested TargetSite does not exist, a NOT_FOUND error is returned. */
|
|
4514
6264
|
name: string;
|
|
4515
6265
|
/** OAuth 2.0 token for the current user. */
|
|
4516
6266
|
oauth_token?: string;
|
|
@@ -4522,8 +6272,8 @@ declare namespace gapi.client {
|
|
|
4522
6272
|
upload_protocol?: string;
|
|
4523
6273
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4524
6274
|
uploadType?: string;
|
|
4525
|
-
}): Request<
|
|
4526
|
-
/** Gets a list of
|
|
6275
|
+
}): Request<GoogleCloudDiscoveryengineV1betaTargetSite>;
|
|
6276
|
+
/** Gets a list of TargetSites. */
|
|
4527
6277
|
list(request?: {
|
|
4528
6278
|
/** V1 error format. */
|
|
4529
6279
|
'$.xgafv'?: string;
|
|
@@ -4539,11 +6289,11 @@ declare namespace gapi.client {
|
|
|
4539
6289
|
key?: string;
|
|
4540
6290
|
/** OAuth 2.0 token for the current user. */
|
|
4541
6291
|
oauth_token?: string;
|
|
4542
|
-
/**
|
|
6292
|
+
/** Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default. The maximum value is 1000; values above 1000 will be coerced to 1000. If this field is negative, an INVALID_ARGUMENT error is returned. */
|
|
4543
6293
|
pageSize?: number;
|
|
4544
|
-
/** A page token, received from a previous
|
|
6294
|
+
/** A page token, received from a previous `ListTargetSites` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListTargetSites` must match the call that provided the page token. */
|
|
4545
6295
|
pageToken?: string;
|
|
4546
|
-
/** Required. The parent
|
|
6296
|
+
/** Required. The parent site search engine resource name, such as `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine`. If the caller does not have permission to list TargetSites under this site search engine, regardless of whether or not this branch exists, a PERMISSION_DENIED error is returned. */
|
|
4547
6297
|
parent: string;
|
|
4548
6298
|
/** Returns response with indentations and line breaks. */
|
|
4549
6299
|
prettyPrint?: boolean;
|
|
@@ -4553,15 +6303,13 @@ declare namespace gapi.client {
|
|
|
4553
6303
|
upload_protocol?: string;
|
|
4554
6304
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4555
6305
|
uploadType?: string;
|
|
4556
|
-
}): Request<
|
|
4557
|
-
/** Updates a
|
|
6306
|
+
}): Request<GoogleCloudDiscoveryengineV1betaListTargetSitesResponse>;
|
|
6307
|
+
/** Updates a TargetSite. */
|
|
4558
6308
|
patch(request: {
|
|
4559
6309
|
/** V1 error format. */
|
|
4560
6310
|
'$.xgafv'?: string;
|
|
4561
6311
|
/** OAuth access token. */
|
|
4562
6312
|
access_token?: string;
|
|
4563
|
-
/** If set to true, and the Schema is not found, a new Schema will be created. In this situation, `update_mask` is ignored. */
|
|
4564
|
-
allowMissing?: boolean;
|
|
4565
6313
|
/** Data format for response. */
|
|
4566
6314
|
alt?: string;
|
|
4567
6315
|
/** JSONP */
|
|
@@ -4570,29 +6318,87 @@ declare namespace gapi.client {
|
|
|
4570
6318
|
fields?: string;
|
|
4571
6319
|
/** 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. */
|
|
4572
6320
|
key?: string;
|
|
4573
|
-
/**
|
|
4574
|
-
name: string;
|
|
6321
|
+
/** Output only. The fully qualified resource name of the target site. `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}` The `target_site_id` is system-generated. */
|
|
6322
|
+
name: string;
|
|
6323
|
+
/** OAuth 2.0 token for the current user. */
|
|
6324
|
+
oauth_token?: string;
|
|
6325
|
+
/** Returns response with indentations and line breaks. */
|
|
6326
|
+
prettyPrint?: boolean;
|
|
6327
|
+
/** 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. */
|
|
6328
|
+
quotaUser?: string;
|
|
6329
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
6330
|
+
upload_protocol?: string;
|
|
6331
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
6332
|
+
uploadType?: string;
|
|
6333
|
+
/** Request body */
|
|
6334
|
+
resource: GoogleCloudDiscoveryengineV1betaTargetSite;
|
|
6335
|
+
}): Request<GoogleLongrunningOperation>;
|
|
6336
|
+
patch(
|
|
6337
|
+
request: {
|
|
6338
|
+
/** V1 error format. */
|
|
6339
|
+
'$.xgafv'?: string;
|
|
6340
|
+
/** OAuth access token. */
|
|
6341
|
+
access_token?: string;
|
|
6342
|
+
/** Data format for response. */
|
|
6343
|
+
alt?: string;
|
|
6344
|
+
/** JSONP */
|
|
6345
|
+
callback?: string;
|
|
6346
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
6347
|
+
fields?: string;
|
|
6348
|
+
/** 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. */
|
|
6349
|
+
key?: string;
|
|
6350
|
+
/** Output only. The fully qualified resource name of the target site. `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}` The `target_site_id` is system-generated. */
|
|
6351
|
+
name: string;
|
|
6352
|
+
/** OAuth 2.0 token for the current user. */
|
|
6353
|
+
oauth_token?: string;
|
|
6354
|
+
/** Returns response with indentations and line breaks. */
|
|
6355
|
+
prettyPrint?: boolean;
|
|
6356
|
+
/** 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. */
|
|
6357
|
+
quotaUser?: string;
|
|
6358
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
6359
|
+
upload_protocol?: string;
|
|
6360
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
6361
|
+
uploadType?: string;
|
|
6362
|
+
},
|
|
6363
|
+
body: GoogleCloudDiscoveryengineV1betaTargetSite
|
|
6364
|
+
): Request<GoogleLongrunningOperation>;
|
|
6365
|
+
}
|
|
6366
|
+
interface SiteSearchEngineResource {
|
|
6367
|
+
/** Downgrade from advanced site search to basic site search. */
|
|
6368
|
+
disableAdvancedSiteSearch(request: {
|
|
6369
|
+
/** V1 error format. */
|
|
6370
|
+
'$.xgafv'?: string;
|
|
6371
|
+
/** OAuth access token. */
|
|
6372
|
+
access_token?: string;
|
|
6373
|
+
/** Data format for response. */
|
|
6374
|
+
alt?: string;
|
|
6375
|
+
/** JSONP */
|
|
6376
|
+
callback?: string;
|
|
6377
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
6378
|
+
fields?: string;
|
|
6379
|
+
/** 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. */
|
|
6380
|
+
key?: string;
|
|
4575
6381
|
/** OAuth 2.0 token for the current user. */
|
|
4576
6382
|
oauth_token?: string;
|
|
4577
6383
|
/** Returns response with indentations and line breaks. */
|
|
4578
6384
|
prettyPrint?: boolean;
|
|
4579
6385
|
/** 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. */
|
|
4580
6386
|
quotaUser?: string;
|
|
6387
|
+
/** Required. Full resource name of the SiteSearchEngine, such as `projects/{project}/locations/{location}/dataStores/{data_store_id}/siteSearchEngine`. */
|
|
6388
|
+
siteSearchEngine: string;
|
|
4581
6389
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
4582
6390
|
upload_protocol?: string;
|
|
4583
6391
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4584
6392
|
uploadType?: string;
|
|
4585
6393
|
/** Request body */
|
|
4586
|
-
resource:
|
|
6394
|
+
resource: GoogleCloudDiscoveryengineV1betaDisableAdvancedSiteSearchRequest;
|
|
4587
6395
|
}): Request<GoogleLongrunningOperation>;
|
|
4588
|
-
|
|
6396
|
+
disableAdvancedSiteSearch(
|
|
4589
6397
|
request: {
|
|
4590
6398
|
/** V1 error format. */
|
|
4591
6399
|
'$.xgafv'?: string;
|
|
4592
6400
|
/** OAuth access token. */
|
|
4593
6401
|
access_token?: string;
|
|
4594
|
-
/** If set to true, and the Schema is not found, a new Schema will be created. In this situation, `update_mask` is ignored. */
|
|
4595
|
-
allowMissing?: boolean;
|
|
4596
6402
|
/** Data format for response. */
|
|
4597
6403
|
alt?: string;
|
|
4598
6404
|
/** JSONP */
|
|
@@ -4601,25 +6407,23 @@ declare namespace gapi.client {
|
|
|
4601
6407
|
fields?: string;
|
|
4602
6408
|
/** 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. */
|
|
4603
6409
|
key?: string;
|
|
4604
|
-
/** Immutable. The full resource name of the schema, in the format of `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters. */
|
|
4605
|
-
name: string;
|
|
4606
6410
|
/** OAuth 2.0 token for the current user. */
|
|
4607
6411
|
oauth_token?: string;
|
|
4608
6412
|
/** Returns response with indentations and line breaks. */
|
|
4609
6413
|
prettyPrint?: boolean;
|
|
4610
6414
|
/** 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. */
|
|
4611
6415
|
quotaUser?: string;
|
|
6416
|
+
/** Required. Full resource name of the SiteSearchEngine, such as `projects/{project}/locations/{location}/dataStores/{data_store_id}/siteSearchEngine`. */
|
|
6417
|
+
siteSearchEngine: string;
|
|
4612
6418
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
4613
6419
|
upload_protocol?: string;
|
|
4614
6420
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4615
6421
|
uploadType?: string;
|
|
4616
6422
|
},
|
|
4617
|
-
body:
|
|
6423
|
+
body: GoogleCloudDiscoveryengineV1betaDisableAdvancedSiteSearchRequest
|
|
4618
6424
|
): Request<GoogleLongrunningOperation>;
|
|
4619
|
-
|
|
4620
|
-
|
|
4621
|
-
/** Makes a recommendation, which requires a contextual user event. */
|
|
4622
|
-
recommend(request: {
|
|
6425
|
+
/** Upgrade from basic site search to advanced site search. */
|
|
6426
|
+
enableAdvancedSiteSearch(request: {
|
|
4623
6427
|
/** V1 error format. */
|
|
4624
6428
|
'$.xgafv'?: string;
|
|
4625
6429
|
/** OAuth access token. */
|
|
@@ -4638,16 +6442,16 @@ declare namespace gapi.client {
|
|
|
4638
6442
|
prettyPrint?: boolean;
|
|
4639
6443
|
/** 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. */
|
|
4640
6444
|
quotaUser?: string;
|
|
4641
|
-
/** Required. Full resource name of
|
|
4642
|
-
|
|
6445
|
+
/** Required. Full resource name of the SiteSearchEngine, such as `projects/{project}/locations/{location}/dataStores/{data_store_id}/siteSearchEngine`. */
|
|
6446
|
+
siteSearchEngine: string;
|
|
4643
6447
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
4644
6448
|
upload_protocol?: string;
|
|
4645
6449
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4646
6450
|
uploadType?: string;
|
|
4647
6451
|
/** Request body */
|
|
4648
|
-
resource:
|
|
4649
|
-
}): Request<
|
|
4650
|
-
|
|
6452
|
+
resource: GoogleCloudDiscoveryengineV1betaEnableAdvancedSiteSearchRequest;
|
|
6453
|
+
}): Request<GoogleLongrunningOperation>;
|
|
6454
|
+
enableAdvancedSiteSearch(
|
|
4651
6455
|
request: {
|
|
4652
6456
|
/** V1 error format. */
|
|
4653
6457
|
'$.xgafv'?: string;
|
|
@@ -4667,17 +6471,17 @@ declare namespace gapi.client {
|
|
|
4667
6471
|
prettyPrint?: boolean;
|
|
4668
6472
|
/** 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. */
|
|
4669
6473
|
quotaUser?: string;
|
|
4670
|
-
/** Required. Full resource name of
|
|
4671
|
-
|
|
6474
|
+
/** Required. Full resource name of the SiteSearchEngine, such as `projects/{project}/locations/{location}/dataStores/{data_store_id}/siteSearchEngine`. */
|
|
6475
|
+
siteSearchEngine: string;
|
|
4672
6476
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
4673
6477
|
upload_protocol?: string;
|
|
4674
6478
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4675
6479
|
uploadType?: string;
|
|
4676
6480
|
},
|
|
4677
|
-
body:
|
|
4678
|
-
): Request<
|
|
4679
|
-
/**
|
|
4680
|
-
|
|
6481
|
+
body: GoogleCloudDiscoveryengineV1betaEnableAdvancedSiteSearchRequest
|
|
6482
|
+
): Request<GoogleLongrunningOperation>;
|
|
6483
|
+
/** Request on-demand recrawl for a list of URIs. */
|
|
6484
|
+
recrawlUris(request: {
|
|
4681
6485
|
/** V1 error format. */
|
|
4682
6486
|
'$.xgafv'?: string;
|
|
4683
6487
|
/** OAuth access token. */
|
|
@@ -4696,16 +6500,16 @@ declare namespace gapi.client {
|
|
|
4696
6500
|
prettyPrint?: boolean;
|
|
4697
6501
|
/** 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. */
|
|
4698
6502
|
quotaUser?: string;
|
|
4699
|
-
/** Required.
|
|
4700
|
-
|
|
6503
|
+
/** Required. Full resource name of the SiteSearchEngine, such as `projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine`. */
|
|
6504
|
+
siteSearchEngine: string;
|
|
4701
6505
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
4702
6506
|
upload_protocol?: string;
|
|
4703
6507
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4704
6508
|
uploadType?: string;
|
|
4705
6509
|
/** Request body */
|
|
4706
|
-
resource:
|
|
4707
|
-
}): Request<
|
|
4708
|
-
|
|
6510
|
+
resource: GoogleCloudDiscoveryengineV1betaRecrawlUrisRequest;
|
|
6511
|
+
}): Request<GoogleLongrunningOperation>;
|
|
6512
|
+
recrawlUris(
|
|
4709
6513
|
request: {
|
|
4710
6514
|
/** V1 error format. */
|
|
4711
6515
|
'$.xgafv'?: string;
|
|
@@ -4725,15 +6529,16 @@ declare namespace gapi.client {
|
|
|
4725
6529
|
prettyPrint?: boolean;
|
|
4726
6530
|
/** 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. */
|
|
4727
6531
|
quotaUser?: string;
|
|
4728
|
-
/** Required.
|
|
4729
|
-
|
|
6532
|
+
/** Required. Full resource name of the SiteSearchEngine, such as `projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine`. */
|
|
6533
|
+
siteSearchEngine: string;
|
|
4730
6534
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
4731
6535
|
upload_protocol?: string;
|
|
4732
6536
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4733
6537
|
uploadType?: string;
|
|
4734
6538
|
},
|
|
4735
|
-
body:
|
|
4736
|
-
): Request<
|
|
6539
|
+
body: GoogleCloudDiscoveryengineV1betaRecrawlUrisRequest
|
|
6540
|
+
): Request<GoogleLongrunningOperation>;
|
|
6541
|
+
targetSites: TargetSitesResource;
|
|
4737
6542
|
}
|
|
4738
6543
|
interface SuggestionDenyListEntriesResource {
|
|
4739
6544
|
/** Imports all SuggestionDenyListEntry for a DataStore. */
|
|
@@ -5029,7 +6834,7 @@ declare namespace gapi.client {
|
|
|
5029
6834
|
prettyPrint?: boolean;
|
|
5030
6835
|
/** Required. The typeahead input used to fetch suggestions. Maximum length is 128 characters. */
|
|
5031
6836
|
query?: string;
|
|
5032
|
-
/**
|
|
6837
|
+
/** Specifies the autocomplete data model. This overrides any model specified in the Configuration > Autocomplete section of the Cloud console. Currently supported values: * `document` - Using suggestions generated from user-imported documents. * `search-history` - Using suggestions generated from the past history of SearchService.Search API calls. Do not use it when there is no traffic for Search API. * `user-event` - Using suggestions generated from user-imported search events. * `document-completable` - Using suggestions taken directly from user-imported document fields marked as completable. Default values: * `document` is the default model for regular dataStores. * `search-history` is the default model for site search dataStores. */
|
|
5033
6838
|
queryModel?: string;
|
|
5034
6839
|
/** 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. */
|
|
5035
6840
|
quotaUser?: string;
|
|
@@ -5040,12 +6845,255 @@ declare namespace gapi.client {
|
|
|
5040
6845
|
/** 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. */
|
|
5041
6846
|
userPseudoId?: string;
|
|
5042
6847
|
}): Request<GoogleCloudDiscoveryengineV1betaCompleteQueryResponse>;
|
|
6848
|
+
/** 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. */
|
|
6849
|
+
create(request: {
|
|
6850
|
+
/** V1 error format. */
|
|
6851
|
+
'$.xgafv'?: string;
|
|
6852
|
+
/** OAuth access token. */
|
|
6853
|
+
access_token?: string;
|
|
6854
|
+
/** Data format for response. */
|
|
6855
|
+
alt?: string;
|
|
6856
|
+
/** JSONP */
|
|
6857
|
+
callback?: string;
|
|
6858
|
+
/** A boolean flag indicating whether user want to directly create an advanced data store for site search. If the data store is not configured as site search (GENERIC vertical and PUBLIC_WEBSITE content_config), this flag will be ignored. */
|
|
6859
|
+
createAdvancedSiteSearch?: boolean;
|
|
6860
|
+
/** Required. The ID to use for the DataStore, which will become the final component of the DataStore's resource name. This field must conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) standard with a length limit of 63 characters. Otherwise, an INVALID_ARGUMENT error is returned. */
|
|
6861
|
+
dataStoreId?: string;
|
|
6862
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
6863
|
+
fields?: string;
|
|
6864
|
+
/** 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. */
|
|
6865
|
+
key?: string;
|
|
6866
|
+
/** OAuth 2.0 token for the current user. */
|
|
6867
|
+
oauth_token?: string;
|
|
6868
|
+
/** Required. The parent resource name, such as `projects/{project}/locations/{location}/collections/{collection}`. */
|
|
6869
|
+
parent: string;
|
|
6870
|
+
/** Returns response with indentations and line breaks. */
|
|
6871
|
+
prettyPrint?: boolean;
|
|
6872
|
+
/** 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. */
|
|
6873
|
+
quotaUser?: string;
|
|
6874
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
6875
|
+
upload_protocol?: string;
|
|
6876
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
6877
|
+
uploadType?: string;
|
|
6878
|
+
/** Request body */
|
|
6879
|
+
resource: GoogleCloudDiscoveryengineV1betaDataStore;
|
|
6880
|
+
}): Request<GoogleLongrunningOperation>;
|
|
6881
|
+
create(
|
|
6882
|
+
request: {
|
|
6883
|
+
/** V1 error format. */
|
|
6884
|
+
'$.xgafv'?: string;
|
|
6885
|
+
/** OAuth access token. */
|
|
6886
|
+
access_token?: string;
|
|
6887
|
+
/** Data format for response. */
|
|
6888
|
+
alt?: string;
|
|
6889
|
+
/** JSONP */
|
|
6890
|
+
callback?: string;
|
|
6891
|
+
/** A boolean flag indicating whether user want to directly create an advanced data store for site search. If the data store is not configured as site search (GENERIC vertical and PUBLIC_WEBSITE content_config), this flag will be ignored. */
|
|
6892
|
+
createAdvancedSiteSearch?: boolean;
|
|
6893
|
+
/** Required. The ID to use for the DataStore, which will become the final component of the DataStore's resource name. This field must conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) standard with a length limit of 63 characters. Otherwise, an INVALID_ARGUMENT error is returned. */
|
|
6894
|
+
dataStoreId?: string;
|
|
6895
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
6896
|
+
fields?: string;
|
|
6897
|
+
/** 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. */
|
|
6898
|
+
key?: string;
|
|
6899
|
+
/** OAuth 2.0 token for the current user. */
|
|
6900
|
+
oauth_token?: string;
|
|
6901
|
+
/** Required. The parent resource name, such as `projects/{project}/locations/{location}/collections/{collection}`. */
|
|
6902
|
+
parent: string;
|
|
6903
|
+
/** Returns response with indentations and line breaks. */
|
|
6904
|
+
prettyPrint?: boolean;
|
|
6905
|
+
/** 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. */
|
|
6906
|
+
quotaUser?: string;
|
|
6907
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
6908
|
+
upload_protocol?: string;
|
|
6909
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
6910
|
+
uploadType?: string;
|
|
6911
|
+
},
|
|
6912
|
+
body: GoogleCloudDiscoveryengineV1betaDataStore
|
|
6913
|
+
): Request<GoogleLongrunningOperation>;
|
|
6914
|
+
/** Deletes a DataStore. */
|
|
6915
|
+
delete(request?: {
|
|
6916
|
+
/** V1 error format. */
|
|
6917
|
+
'$.xgafv'?: string;
|
|
6918
|
+
/** OAuth access token. */
|
|
6919
|
+
access_token?: string;
|
|
6920
|
+
/** Data format for response. */
|
|
6921
|
+
alt?: string;
|
|
6922
|
+
/** JSONP */
|
|
6923
|
+
callback?: string;
|
|
6924
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
6925
|
+
fields?: string;
|
|
6926
|
+
/** 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. */
|
|
6927
|
+
key?: string;
|
|
6928
|
+
/** Required. Full resource name of DataStore, such as `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`. If the caller does not have permission to delete the DataStore, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. If the DataStore to delete does not exist, a NOT_FOUND error is returned. */
|
|
6929
|
+
name: string;
|
|
6930
|
+
/** OAuth 2.0 token for the current user. */
|
|
6931
|
+
oauth_token?: string;
|
|
6932
|
+
/** Returns response with indentations and line breaks. */
|
|
6933
|
+
prettyPrint?: boolean;
|
|
6934
|
+
/** 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. */
|
|
6935
|
+
quotaUser?: string;
|
|
6936
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
6937
|
+
upload_protocol?: string;
|
|
6938
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
6939
|
+
uploadType?: string;
|
|
6940
|
+
}): Request<GoogleLongrunningOperation>;
|
|
6941
|
+
/** Gets a DataStore. */
|
|
6942
|
+
get(request?: {
|
|
6943
|
+
/** V1 error format. */
|
|
6944
|
+
'$.xgafv'?: string;
|
|
6945
|
+
/** OAuth access token. */
|
|
6946
|
+
access_token?: string;
|
|
6947
|
+
/** Data format for response. */
|
|
6948
|
+
alt?: string;
|
|
6949
|
+
/** JSONP */
|
|
6950
|
+
callback?: string;
|
|
6951
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
6952
|
+
fields?: string;
|
|
6953
|
+
/** 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. */
|
|
6954
|
+
key?: string;
|
|
6955
|
+
/** Required. Full resource name of DataStore, such as `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`. If the caller does not have permission to access the DataStore, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. If the requested DataStore does not exist, a NOT_FOUND error is returned. */
|
|
6956
|
+
name: string;
|
|
6957
|
+
/** OAuth 2.0 token for the current user. */
|
|
6958
|
+
oauth_token?: string;
|
|
6959
|
+
/** Returns response with indentations and line breaks. */
|
|
6960
|
+
prettyPrint?: boolean;
|
|
6961
|
+
/** 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. */
|
|
6962
|
+
quotaUser?: string;
|
|
6963
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
6964
|
+
upload_protocol?: string;
|
|
6965
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
6966
|
+
uploadType?: string;
|
|
6967
|
+
}): Request<GoogleCloudDiscoveryengineV1betaDataStore>;
|
|
6968
|
+
/** Gets the SiteSearchEngine. */
|
|
6969
|
+
getSiteSearchEngine(request?: {
|
|
6970
|
+
/** V1 error format. */
|
|
6971
|
+
'$.xgafv'?: string;
|
|
6972
|
+
/** OAuth access token. */
|
|
6973
|
+
access_token?: string;
|
|
6974
|
+
/** Data format for response. */
|
|
6975
|
+
alt?: string;
|
|
6976
|
+
/** JSONP */
|
|
6977
|
+
callback?: string;
|
|
6978
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
6979
|
+
fields?: string;
|
|
6980
|
+
/** 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. */
|
|
6981
|
+
key?: string;
|
|
6982
|
+
/** Required. Resource name of SiteSearchEngine, such as `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine`. If the caller does not have permission to access the [SiteSearchEngine], regardless of whether or not it exists, a PERMISSION_DENIED error is returned. */
|
|
6983
|
+
name: string;
|
|
6984
|
+
/** OAuth 2.0 token for the current user. */
|
|
6985
|
+
oauth_token?: string;
|
|
6986
|
+
/** Returns response with indentations and line breaks. */
|
|
6987
|
+
prettyPrint?: boolean;
|
|
6988
|
+
/** 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. */
|
|
6989
|
+
quotaUser?: string;
|
|
6990
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
6991
|
+
upload_protocol?: string;
|
|
6992
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
6993
|
+
uploadType?: string;
|
|
6994
|
+
}): Request<GoogleCloudDiscoveryengineV1betaSiteSearchEngine>;
|
|
6995
|
+
/** Lists all the DataStores associated with the project. */
|
|
6996
|
+
list(request?: {
|
|
6997
|
+
/** V1 error format. */
|
|
6998
|
+
'$.xgafv'?: string;
|
|
6999
|
+
/** OAuth access token. */
|
|
7000
|
+
access_token?: string;
|
|
7001
|
+
/** Data format for response. */
|
|
7002
|
+
alt?: string;
|
|
7003
|
+
/** JSONP */
|
|
7004
|
+
callback?: string;
|
|
7005
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
7006
|
+
fields?: string;
|
|
7007
|
+
/** Filter by solution type. For example: filter = 'solution_type:SOLUTION_TYPE_SEARCH' */
|
|
7008
|
+
filter?: string;
|
|
7009
|
+
/** 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. */
|
|
7010
|
+
key?: string;
|
|
7011
|
+
/** OAuth 2.0 token for the current user. */
|
|
7012
|
+
oauth_token?: string;
|
|
7013
|
+
/** Maximum number of DataStores to return. If unspecified, defaults to 10. The maximum allowed value is 50. Values above 50 will be coerced to 50. If this field is negative, an INVALID_ARGUMENT is returned. */
|
|
7014
|
+
pageSize?: number;
|
|
7015
|
+
/** A page token ListDataStoresResponse.next_page_token, received from a previous DataStoreService.ListDataStores call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to DataStoreService.ListDataStores must match the call that provided the page token. Otherwise, an INVALID_ARGUMENT error is returned. */
|
|
7016
|
+
pageToken?: string;
|
|
7017
|
+
/** Required. The parent branch resource name, such as `projects/{project}/locations/{location}/collections/{collection_id}`. If the caller does not have permission to list DataStores under this location, regardless of whether or not this data store exists, a PERMISSION_DENIED error is returned. */
|
|
7018
|
+
parent: string;
|
|
7019
|
+
/** Returns response with indentations and line breaks. */
|
|
7020
|
+
prettyPrint?: boolean;
|
|
7021
|
+
/** 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. */
|
|
7022
|
+
quotaUser?: string;
|
|
7023
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
7024
|
+
upload_protocol?: string;
|
|
7025
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
7026
|
+
uploadType?: string;
|
|
7027
|
+
}): Request<GoogleCloudDiscoveryengineV1betaListDataStoresResponse>;
|
|
7028
|
+
/** Updates a DataStore */
|
|
7029
|
+
patch(request: {
|
|
7030
|
+
/** V1 error format. */
|
|
7031
|
+
'$.xgafv'?: string;
|
|
7032
|
+
/** OAuth access token. */
|
|
7033
|
+
access_token?: string;
|
|
7034
|
+
/** Data format for response. */
|
|
7035
|
+
alt?: string;
|
|
7036
|
+
/** JSONP */
|
|
7037
|
+
callback?: string;
|
|
7038
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
7039
|
+
fields?: string;
|
|
7040
|
+
/** 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. */
|
|
7041
|
+
key?: string;
|
|
7042
|
+
/** Immutable. The full resource name of the data store. Format: `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters. */
|
|
7043
|
+
name: string;
|
|
7044
|
+
/** OAuth 2.0 token for the current user. */
|
|
7045
|
+
oauth_token?: string;
|
|
7046
|
+
/** Returns response with indentations and line breaks. */
|
|
7047
|
+
prettyPrint?: boolean;
|
|
7048
|
+
/** 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. */
|
|
7049
|
+
quotaUser?: string;
|
|
7050
|
+
/** Indicates which fields in the provided DataStore to update. If an unsupported or unknown field is provided, an INVALID_ARGUMENT error is returned. */
|
|
7051
|
+
updateMask?: string;
|
|
7052
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
7053
|
+
upload_protocol?: string;
|
|
7054
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
7055
|
+
uploadType?: string;
|
|
7056
|
+
/** Request body */
|
|
7057
|
+
resource: GoogleCloudDiscoveryengineV1betaDataStore;
|
|
7058
|
+
}): Request<GoogleCloudDiscoveryengineV1betaDataStore>;
|
|
7059
|
+
patch(
|
|
7060
|
+
request: {
|
|
7061
|
+
/** V1 error format. */
|
|
7062
|
+
'$.xgafv'?: string;
|
|
7063
|
+
/** OAuth access token. */
|
|
7064
|
+
access_token?: string;
|
|
7065
|
+
/** Data format for response. */
|
|
7066
|
+
alt?: string;
|
|
7067
|
+
/** JSONP */
|
|
7068
|
+
callback?: string;
|
|
7069
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
7070
|
+
fields?: string;
|
|
7071
|
+
/** 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. */
|
|
7072
|
+
key?: string;
|
|
7073
|
+
/** Immutable. The full resource name of the data store. Format: `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters. */
|
|
7074
|
+
name: string;
|
|
7075
|
+
/** OAuth 2.0 token for the current user. */
|
|
7076
|
+
oauth_token?: string;
|
|
7077
|
+
/** Returns response with indentations and line breaks. */
|
|
7078
|
+
prettyPrint?: boolean;
|
|
7079
|
+
/** 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. */
|
|
7080
|
+
quotaUser?: string;
|
|
7081
|
+
/** Indicates which fields in the provided DataStore to update. If an unsupported or unknown field is provided, an INVALID_ARGUMENT error is returned. */
|
|
7082
|
+
updateMask?: string;
|
|
7083
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
7084
|
+
upload_protocol?: string;
|
|
7085
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
7086
|
+
uploadType?: string;
|
|
7087
|
+
},
|
|
7088
|
+
body: GoogleCloudDiscoveryengineV1betaDataStore
|
|
7089
|
+
): Request<GoogleCloudDiscoveryengineV1betaDataStore>;
|
|
5043
7090
|
branches: BranchesResource;
|
|
5044
7091
|
conversations: ConversationsResource;
|
|
5045
7092
|
models: ModelsResource;
|
|
5046
7093
|
operations: OperationsResource;
|
|
5047
7094
|
schemas: SchemasResource;
|
|
5048
7095
|
servingConfigs: ServingConfigsResource;
|
|
7096
|
+
siteSearchEngine: SiteSearchEngineResource;
|
|
5049
7097
|
suggestionDenyListEntries: SuggestionDenyListEntriesResource;
|
|
5050
7098
|
userEvents: UserEventsResource;
|
|
5051
7099
|
}
|